Interface Monitors
-
Method Summary
Modifier and TypeMethodDescriptionBegins definition for a new Monitor resource.Deletes a SAP monitor.deleteById
(String id) Deletes a SAP monitor.deleteByIdWithResponse
(String id, com.azure.core.util.Context context) Deletes a SAP monitor.deleteByResourceGroup
(String resourceGroupName, String monitorName) Deletes a SAP monitor.Gets properties of a SAP monitor.com.azure.core.http.rest.Response<Monitor>
getByIdWithResponse
(String id, com.azure.core.util.Context context) Gets properties of a SAP monitor.getByResourceGroup
(String resourceGroupName, String monitorName) Gets properties of a SAP monitor.com.azure.core.http.rest.Response<Monitor>
getByResourceGroupWithResponse
(String resourceGroupName, String monitorName, com.azure.core.util.Context context) Gets properties of a SAP monitor.com.azure.core.http.rest.PagedIterable<Monitor>
list()
Gets a list of SAP monitors in the specified subscription.com.azure.core.http.rest.PagedIterable<Monitor>
list
(com.azure.core.util.Context context) Gets a list of SAP monitors in the specified subscription.com.azure.core.http.rest.PagedIterable<Monitor>
listByResourceGroup
(String resourceGroupName) Gets a list of SAP monitorscom.azure.core.http.rest.PagedIterable<Monitor>
listByResourceGroup
(String resourceGroupName, com.azure.core.util.Context context) Gets a list of SAP monitors
-
Method Details
-
list
com.azure.core.http.rest.PagedIterable<Monitor> list()Gets a list of SAP monitors in the specified subscription.Gets a list of SAP monitors in the specified subscription. The operations returns various properties of each SAP monitor.
- Returns:
- a list of SAP monitors in the specified subscription as paginated response with
PagedIterable
. - Throws:
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
Gets a list of SAP monitors in the specified subscription.Gets a list of SAP monitors in the specified subscription. The operations returns various properties of each SAP monitor.
- Parameters:
context
- The context to associate with this operation.- Returns:
- a list of SAP monitors in the specified subscription 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.
-
listByResourceGroup
Gets a list of SAP monitorsGets a list of SAP monitors in the specified resource group.
- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.- Returns:
- a list of SAP monitors in the specified resource group 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.
-
listByResourceGroup
com.azure.core.http.rest.PagedIterable<Monitor> listByResourceGroup(String resourceGroupName, com.azure.core.util.Context context) Gets a list of SAP monitorsGets a list of SAP monitors in the specified resource group.
- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.context
- The context to associate with this operation.- Returns:
- a list of SAP monitors in the specified resource group 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.
-
getByResourceGroupWithResponse
com.azure.core.http.rest.Response<Monitor> getByResourceGroupWithResponse(String resourceGroupName, String monitorName, com.azure.core.util.Context context) Gets properties of a SAP monitor.Gets properties of a SAP monitor for the specified subscription, resource group, and resource name.
- 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:
- properties of a SAP monitor for the specified subscription, resource group, 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.
-
getByResourceGroup
Gets properties of a SAP monitor.Gets properties of a SAP monitor for the specified subscription, resource group, and resource name.
- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.monitorName
- Name of the SAP monitor resource.- Returns:
- properties of a SAP monitor for the specified subscription, resource group, 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.
-
deleteByResourceGroup
Deletes a SAP monitor.Deletes a SAP monitor with the specified subscription, resource group, and SAP monitor name.
- Parameters:
resourceGroupName
- The name of the resource group. The name is case insensitive.monitorName
- Name of the SAP monitor resource.- 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, com.azure.core.util.Context context) Deletes a SAP monitor.Deletes a SAP monitor with the specified subscription, resource group, and SAP monitor name.
- 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:
- 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 SAP monitor.Gets properties of a SAP monitor for the specified subscription, resource group, and resource name.
- Parameters:
id
- the resource ID.- Returns:
- properties of a SAP monitor for the specified subscription, resource group, 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<Monitor> getByIdWithResponse(String id, com.azure.core.util.Context context) Gets properties of a SAP monitor.Gets properties of a SAP monitor for the specified subscription, resource group, and resource name.
- Parameters:
id
- the resource ID.context
- The context to associate with this operation.- Returns:
- properties of a SAP monitor for the specified subscription, resource group, 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 SAP monitor.Deletes a SAP monitor with the specified subscription, resource group, and SAP monitor 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 SAP monitor.Deletes a SAP monitor with the specified subscription, resource group, and SAP monitor 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 Monitor resource.- Parameters:
name
- resource name.- Returns:
- the first stage of the new Monitor definition.
-