Interface RuntimeBindingsClient


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

    • getWithResponse

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

      RuntimeBindingInner 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.
    • beginCreateOrUpdate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<RuntimeBindingInner>, RuntimeBindingInner> beginCreateOrUpdate(String resourceGroupName, String spaceName, String bindingName, RuntimeBindingInner resource)
      Creates or replaces 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.
      resource - Resource create parameters.
      Returns:
      the SyncPoller for polling of a runtime participant in a workload space.
      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<RuntimeBindingInner>, RuntimeBindingInner> beginCreateOrUpdate(String resourceGroupName, String spaceName, String bindingName, RuntimeBindingInner resource, com.azure.core.util.Context context)
      Creates or replaces 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.
      resource - Resource create parameters.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of a runtime participant in a workload space.
      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

      RuntimeBindingInner createOrUpdate(String resourceGroupName, String spaceName, String bindingName, RuntimeBindingInner resource)
      Creates or replaces 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.
      resource - Resource create parameters.
      Returns:
      a runtime participant in a workload space.
      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

      RuntimeBindingInner createOrUpdate(String resourceGroupName, String spaceName, String bindingName, RuntimeBindingInner resource, com.azure.core.util.Context context)
      Creates or replaces 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.
      resource - Resource create parameters.
      context - The context to associate with this operation.
      Returns:
      a runtime participant in a workload space.
      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<RuntimeBindingInner>, RuntimeBindingInner> beginUpdate(String resourceGroupName, String spaceName, String bindingName, RuntimeBindingUpdate properties)
      Updates mutable runtime binding properties.
      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.
      properties - The resource properties to be updated.
      Returns:
      the SyncPoller for polling of a runtime participant in a workload space.
      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<RuntimeBindingInner>, RuntimeBindingInner> beginUpdate(String resourceGroupName, String spaceName, String bindingName, RuntimeBindingUpdate properties, com.azure.core.util.Context context)
      Updates mutable runtime binding properties.
      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.
      properties - The resource properties to be updated.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of a runtime participant in a workload space.
      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

      RuntimeBindingInner update(String resourceGroupName, String spaceName, String bindingName, RuntimeBindingUpdate properties)
      Updates mutable runtime binding properties.
      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.
      properties - The resource properties to be updated.
      Returns:
      a runtime participant in a workload space.
      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

      RuntimeBindingInner update(String resourceGroupName, String spaceName, String bindingName, RuntimeBindingUpdate properties, com.azure.core.util.Context context)
      Updates mutable runtime binding properties.
      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.
      properties - The resource properties to be updated.
      context - The context to associate with this operation.
      Returns:
      a runtime participant in a workload space.
      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 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.
      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 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.
      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 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<RuntimeBindingInner> 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<RuntimeBindingInner> 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.