Interface ProviderInstancesClient


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

    • list

      com.azure.core.http.rest.PagedIterable<ProviderInstanceInner> list(String resourceGroupName, String monitorName)
      Gets a list of provider instances in the specified SAP monitor. The operations returns various properties of each provider instances.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      monitorName - Name of the SAP monitor resource.
      Returns:
      a list of provider instances in the specified SAP monitor 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.
    • list

      com.azure.core.http.rest.PagedIterable<ProviderInstanceInner> list(String resourceGroupName, String monitorName, com.azure.core.util.Context context)
      Gets a list of provider instances in the specified SAP monitor. The operations returns various properties of each provider instances.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      monitorName - Name of the SAP monitor resource.
      context - The context to associate with this operation.
      Returns:
      a list of provider instances in the specified SAP monitor 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.
    • get

      ProviderInstanceInner get(String resourceGroupName, String monitorName, String providerInstanceName)
      Gets properties of a provider instance for the specified subscription, resource group, SAP monitor name, and resource name.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      monitorName - Name of the SAP monitor resource.
      providerInstanceName - Name of the provider instance.
      Returns:
      properties of a provider instance for the specified subscription, resource group, SAP monitor name, and resource name.
      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.
    • getWithResponse

      com.azure.core.http.rest.Response<ProviderInstanceInner> getWithResponse(String resourceGroupName, String monitorName, String providerInstanceName, com.azure.core.util.Context context)
      Gets properties of a provider instance for the specified subscription, resource group, SAP monitor name, and resource name.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      monitorName - Name of the SAP monitor resource.
      providerInstanceName - Name of the provider instance.
      context - The context to associate with this operation.
      Returns:
      properties of a provider instance for the specified subscription, resource group, SAP monitor name, and resource name 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.
    • beginCreate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ProviderInstanceInner>,ProviderInstanceInner> beginCreate(String resourceGroupName, String monitorName, String providerInstanceName, ProviderInstanceInner providerInstanceParameter)
      Creates a provider instance for the specified subscription, resource group, SAP monitor name, and resource name.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      monitorName - Name of the SAP monitor resource.
      providerInstanceName - Name of the provider instance.
      providerInstanceParameter - Request body representing a provider instance.
      Returns:
      the SyncPoller for polling of a provider instance associated with SAP monitor.
      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.
    • beginCreate

      com.azure.core.util.polling.SyncPoller<com.azure.core.management.polling.PollResult<ProviderInstanceInner>,ProviderInstanceInner> beginCreate(String resourceGroupName, String monitorName, String providerInstanceName, ProviderInstanceInner providerInstanceParameter, com.azure.core.util.Context context)
      Creates a provider instance for the specified subscription, resource group, SAP monitor name, and resource name.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      monitorName - Name of the SAP monitor resource.
      providerInstanceName - Name of the provider instance.
      providerInstanceParameter - Request body representing a provider instance.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of a provider instance associated with SAP monitor.
      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.
    • create

      ProviderInstanceInner create(String resourceGroupName, String monitorName, String providerInstanceName, ProviderInstanceInner providerInstanceParameter)
      Creates a provider instance for the specified subscription, resource group, SAP monitor name, and resource name.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      monitorName - Name of the SAP monitor resource.
      providerInstanceName - Name of the provider instance.
      providerInstanceParameter - Request body representing a provider instance.
      Returns:
      a provider instance associated with SAP monitor.
      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.
    • create

      ProviderInstanceInner create(String resourceGroupName, String monitorName, String providerInstanceName, ProviderInstanceInner providerInstanceParameter, com.azure.core.util.Context context)
      Creates a provider instance for the specified subscription, resource group, SAP monitor name, and resource name.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      monitorName - Name of the SAP monitor resource.
      providerInstanceName - Name of the provider instance.
      providerInstanceParameter - Request body representing a provider instance.
      context - The context to associate with this operation.
      Returns:
      a provider instance associated with SAP monitor.
      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<OperationStatusResultInner>,OperationStatusResultInner> beginDelete(String resourceGroupName, String monitorName, String providerInstanceName)
      Deletes a provider instance for the specified subscription, resource group, SAP monitor name, and resource name.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      monitorName - Name of the SAP monitor resource.
      providerInstanceName - Name of the provider instance.
      Returns:
      the SyncPoller for polling of the current status of an async 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<OperationStatusResultInner>,OperationStatusResultInner> beginDelete(String resourceGroupName, String monitorName, String providerInstanceName, com.azure.core.util.Context context)
      Deletes a provider instance for the specified subscription, resource group, SAP monitor name, and resource name.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      monitorName - Name of the SAP monitor resource.
      providerInstanceName - Name of the provider instance.
      context - The context to associate with this operation.
      Returns:
      the SyncPoller for polling of the current status of an async 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

      OperationStatusResultInner delete(String resourceGroupName, String monitorName, String providerInstanceName)
      Deletes a provider instance for the specified subscription, resource group, SAP monitor name, and resource name.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      monitorName - Name of the SAP monitor resource.
      providerInstanceName - Name of the provider instance.
      Returns:
      the current status of an async 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

      OperationStatusResultInner delete(String resourceGroupName, String monitorName, String providerInstanceName, com.azure.core.util.Context context)
      Deletes a provider instance for the specified subscription, resource group, SAP monitor name, and resource name.
      Parameters:
      resourceGroupName - The name of the resource group. The name is case insensitive.
      monitorName - Name of the SAP monitor resource.
      providerInstanceName - Name of the provider instance.
      context - The context to associate with this operation.
      Returns:
      the current status of an async 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.