Interface ProviderInstances
public interface ProviderInstances
Resource collection API of ProviderInstances.
-
Method Summary
Modifier and TypeMethodDescriptionBegins definition for a new ProviderInstance resource.Deletes a provider instance for the specified subscription, resource group, SAP monitor name, and resource name.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.deleteById
(String id) Deletes a provider instance for the specified subscription, resource group, SAP monitor name, and resource name.deleteByIdWithResponse
(String id, com.azure.core.util.Context context) Deletes a provider instance for the specified subscription, resource group, SAP monitor name, and resource name.Gets properties of a provider instance for the specified subscription, resource group, SAP monitor name, and resource name.Gets properties of a provider instance for the specified subscription, resource group, SAP monitor name, and resource name.com.azure.core.http.rest.Response<ProviderInstance>
getByIdWithResponse
(String id, com.azure.core.util.Context context) Gets properties of a provider instance for the specified subscription, resource group, SAP monitor name, and resource name.com.azure.core.http.rest.Response<ProviderInstance>
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.com.azure.core.http.rest.PagedIterable<ProviderInstance>
Gets a list of provider instances in the specified SAP monitor.com.azure.core.http.rest.PagedIterable<ProviderInstance>
Gets a list of provider instances in the specified SAP monitor.
-
Method Details
-
list
com.azure.core.http.rest.PagedIterable<ProviderInstance> 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<ProviderInstance> 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
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<ProviderInstance> 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.
-
delete
OperationStatusResult 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
OperationStatusResult 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.
-
getById
Gets properties of a provider instance for the specified subscription, resource group, SAP monitor name, and resource name.- Parameters:
id
- the resource ID.- 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.
-
getByIdWithResponse
com.azure.core.http.rest.Response<ProviderInstance> getByIdWithResponse(String id, 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:
id
- the resource ID.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.
-
deleteById
Deletes a provider instance for the specified subscription, resource group, SAP monitor name, and resource name.- Parameters:
id
- the resource ID.- 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.
-
deleteByIdWithResponse
Deletes a provider instance for the specified subscription, resource group, SAP monitor name, and resource name.- Parameters:
id
- the resource ID.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.
-
define
Begins definition for a new ProviderInstance resource.- Parameters:
name
- resource name.- Returns:
- the first stage of the new ProviderInstance definition.
-