Interface RuntimeBindings


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

    • getWithResponse

      com.azure.core.http.rest.Response<RuntimeBinding> getWithResponse(String resourceGroupName, String spaceName, String bindingName, com.azure.core.util.Context context)
      Gets a runtime binding.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      spaceName - The name of the WorkloadSpace.
      bindingName - The name of the RuntimeBinding.
      context - The context to associate with this operation.
      Returns:
      a runtime binding 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

      RuntimeBinding get(String resourceGroupName, String spaceName, String bindingName)
      Gets a runtime binding.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      spaceName - The name of the WorkloadSpace.
      bindingName - The name of the RuntimeBinding.
      Returns:
      a runtime binding.
      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 bindingName)
      Deletes a runtime binding without deleting customer-owned referenced resources.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      spaceName - The name of the WorkloadSpace.
      bindingName - The name of the RuntimeBinding.
      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 bindingName, com.azure.core.util.Context context)
      Deletes a runtime binding without deleting customer-owned referenced resources.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      spaceName - The name of the WorkloadSpace.
      bindingName - The name of the RuntimeBinding.
      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<RuntimeBinding> listByWorkloadSpace(String resourceGroupName, String spaceName)
      Lists runtime bindings 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 RuntimeBinding 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<RuntimeBinding> listByWorkloadSpace(String resourceGroupName, String spaceName, com.azure.core.util.Context context)
      Lists runtime bindings 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 RuntimeBinding 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

      RuntimeBinding getById(String id)
      Gets a runtime binding.
      Parameters:
      id - the resource ID.
      Returns:
      a runtime binding 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<RuntimeBinding> getByIdWithResponse(String id, com.azure.core.util.Context context)
      Gets a runtime binding.
      Parameters:
      id - the resource ID.
      context - The context to associate with this operation.
      Returns:
      a runtime binding 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 binding without deleting customer-owned referenced resources.
      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 binding without deleting customer-owned referenced resources.
      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 RuntimeBinding resource.
      Parameters:
      name - resource name.
      Returns:
      the first stage of the new RuntimeBinding definition.