Interface RuntimeLinks


public interface RuntimeLinks
Resource collection API of RuntimeLinks.
  • Method Details

    • getWithResponse

      com.azure.core.http.rest.Response<RuntimeLink> 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

      RuntimeLink 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.
    • 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<RuntimeLink> 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<RuntimeLink> 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.
    • getById

      RuntimeLink getById(String id)
      Gets a runtime link.
      Parameters:
      id - the resource ID.
      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.
    • getByIdWithResponse

      com.azure.core.http.rest.Response<RuntimeLink> getByIdWithResponse(String id, com.azure.core.util.Context context)
      Gets a runtime link.
      Parameters:
      id - the resource ID.
      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.
    • deleteById

      void deleteById(String id)
      Deletes a runtime link without deleting its runtime bindings.
      Parameters:
      id - the resource ID.
      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.
    • deleteByIdWithResponse

      void deleteByIdWithResponse(String id, com.azure.core.util.Context context)
      Deletes a runtime link without deleting its runtime bindings.
      Parameters:
      id - the resource ID.
      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.
    • define

      Begins definition for a new RuntimeLink resource.
      Parameters:
      name - resource name.
      Returns:
      the first stage of the new RuntimeLink definition.