Interface RuntimeLinksClient


public interface RuntimeLinksClient
An instance of this class provides access to all the operations defined in RuntimeLinksClient.
  • Method Details

    • getWithResponse

      com.azure.core.http.rest.Response<RuntimeLinkInner> getWithResponse(String resourceGroupName, String spaceName, String linkName, com.azure.core.util.Context context)
      Gets a runtime link.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      spaceName - The name of the WorkloadSpace.
      linkName - The name of the RuntimeLink.
      context - The context to associate with this operation.
      Returns:
      a runtime link along with Response.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • get

      RuntimeLinkInner get(String resourceGroupName, String spaceName, String linkName)
      Gets a runtime link.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      spaceName - The name of the WorkloadSpace.
      linkName - The name of the RuntimeLink.
      Returns:
      a runtime link.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginCreateOrUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<RuntimeLinkInner>, RuntimeLinkInner> beginCreateOrUpdate(String resourceGroupName, String spaceName, String linkName, RuntimeLinkInner resource)
      Creates or replaces a runtime link.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      spaceName - The name of the WorkloadSpace.
      linkName - The name of the RuntimeLink.
      resource - Resource create parameters.
      Returns:
      the SyncPoller for polling of a relationship between an orchestrator runtime and an optional execution runtime.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginCreateOrUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<RuntimeLinkInner>, RuntimeLinkInner> beginCreateOrUpdate(String resourceGroupName, String spaceName, String linkName, RuntimeLinkInner resource, com.azure.core.util.Context context)
      Creates or replaces a runtime link.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      spaceName - The name of the WorkloadSpace.
      linkName - The name of the RuntimeLink.
      resource - Resource create parameters.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of a relationship between an orchestrator runtime and an optional execution runtime.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • createOrUpdate

      RuntimeLinkInner createOrUpdate(String resourceGroupName, String spaceName, String linkName, RuntimeLinkInner resource)
      Creates or replaces a runtime link.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      spaceName - The name of the WorkloadSpace.
      linkName - The name of the RuntimeLink.
      resource - Resource create parameters.
      Returns:
      a relationship between an orchestrator runtime and an optional execution runtime.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • createOrUpdate

      RuntimeLinkInner createOrUpdate(String resourceGroupName, String spaceName, String linkName, RuntimeLinkInner resource, com.azure.core.util.Context context)
      Creates or replaces a runtime link.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      spaceName - The name of the WorkloadSpace.
      linkName - The name of the RuntimeLink.
      resource - Resource create parameters.
      context - The context to associate with this operation.
      Returns:
      a relationship between an orchestrator runtime and an optional execution runtime.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<RuntimeLinkInner>, RuntimeLinkInner> beginUpdate(String resourceGroupName, String spaceName, String linkName, RuntimeLinkUpdate properties)
      Updates mutable runtime link properties.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      spaceName - The name of the WorkloadSpace.
      linkName - The name of the RuntimeLink.
      properties - The resource properties to be updated.
      Returns:
      the SyncPoller for polling of a relationship between an orchestrator runtime and an optional execution runtime.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<RuntimeLinkInner>, RuntimeLinkInner> beginUpdate(String resourceGroupName, String spaceName, String linkName, RuntimeLinkUpdate properties, com.azure.core.util.Context context)
      Updates mutable runtime link properties.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      spaceName - The name of the WorkloadSpace.
      linkName - The name of the RuntimeLink.
      properties - The resource properties to be updated.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of a relationship between an orchestrator runtime and an optional execution runtime.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • update

      RuntimeLinkInner update(String resourceGroupName, String spaceName, String linkName, RuntimeLinkUpdate properties)
      Updates mutable runtime link properties.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      spaceName - The name of the WorkloadSpace.
      linkName - The name of the RuntimeLink.
      properties - The resource properties to be updated.
      Returns:
      a relationship between an orchestrator runtime and an optional execution runtime.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • update

      RuntimeLinkInner update(String resourceGroupName, String spaceName, String linkName, RuntimeLinkUpdate properties, com.azure.core.util.Context context)
      Updates mutable runtime link properties.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      spaceName - The name of the WorkloadSpace.
      linkName - The name of the RuntimeLink.
      properties - The resource properties to be updated.
      context - The context to associate with this operation.
      Returns:
      a relationship between an orchestrator runtime and an optional execution runtime.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginDelete

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>, Void> beginDelete(String resourceGroupName, String spaceName, String linkName)
      Deletes a runtime link without deleting its runtime bindings.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      spaceName - The name of the WorkloadSpace.
      linkName - The name of the RuntimeLink.
      Returns:
      the SyncPoller for polling of long-running operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • beginDelete

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<Void>, Void> beginDelete(String resourceGroupName, String spaceName, String linkName, com.azure.core.util.Context context)
      Deletes a runtime link without deleting its runtime bindings.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      spaceName - The name of the WorkloadSpace.
      linkName - The name of the RuntimeLink.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of long-running operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • delete

      void delete(String resourceGroupName, String spaceName, String linkName)
      Deletes a runtime link without deleting its runtime bindings.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      spaceName - The name of the WorkloadSpace.
      linkName - The name of the RuntimeLink.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • delete

      void delete(String resourceGroupName, String spaceName, String linkName, com.azure.core.util.Context context)
      Deletes a runtime link without deleting its runtime bindings.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      spaceName - The name of the WorkloadSpace.
      linkName - The name of the RuntimeLink.
      context - The context to associate with this operation.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • listByWorkloadSpace

      com.azure.core.http.rest.PagedIterable<RuntimeLinkInner> listByWorkloadSpace(String resourceGroupName, String spaceName)
      Lists runtime links in a workload space.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      spaceName - The name of the WorkloadSpace.
      Returns:
      the response of a RuntimeLink list operation as paginated response with PagedIterable.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.
    • listByWorkloadSpace

      com.azure.core.http.rest.PagedIterable<RuntimeLinkInner> listByWorkloadSpace(String resourceGroupName, String spaceName, com.azure.core.util.Context context)
      Lists runtime links in a workload space.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      spaceName - The name of the WorkloadSpace.
      context - The context to associate with this operation.
      Returns:
      the response of a RuntimeLink list operation as paginated response with PagedIterable.
      Throws:
      IllegalArgumentException - thrown if parameters fail the validation.
      com.azure.core.management.exception.ManagementException - thrown if the request is rejected by server.
      RuntimeException - all other wrapped checked exceptions if the request fails to be sent.