azure-docs-sdk-java/archive/docs-ref-autogen/com.microsoft.azure.managem...

561 строка
44 KiB
YAML

### YamlMime:JavaType
constructors:
- fullName: com.microsoft.azure.management.monitor.implementation.AlertRulesInner.AlertRulesInner(Retrofit retrofit, MonitorManagementClientImpl client)
name: AlertRulesInner(Retrofit retrofit, MonitorManagementClientImpl client)
nameWithType: AlertRulesInner.AlertRulesInner(Retrofit retrofit, MonitorManagementClientImpl client)
parameters:
- description: <p>the Retrofit instance built from a Retrofit Builder. </p>
name: retrofit
type: <xref href="Retrofit?alt=Retrofit&text=Retrofit" data-throw-if-not-resolved="False"/>
- description: <p>the instance of the service client containing this operation class. </p>
name: client
type: <xref href="com.microsoft.azure.management.monitor.implementation.MonitorManagementClientImpl?alt=com.microsoft.azure.management.monitor.implementation.MonitorManagementClientImpl&text=MonitorManagementClientImpl" data-throw-if-not-resolved="False"/>
summary: >-
<p>Initializes an instance of AlertRulesInner.</p>
<p></p>
syntax: public AlertRulesInner(Retrofit retrofit, MonitorManagementClientImpl client)
uid: com.microsoft.azure.management.monitor.implementation.AlertRulesInner.AlertRulesInner(Retrofit,MonitorManagementClientImpl)
inheritances:
- <xref href="java.lang.Object" data-throw-if-not-resolved="False"/>
- <xref href="com.microsoft.azure.management.resources.fluentcore.collection.InnerSupportsGet?alt=com.microsoft.azure.management.resources.fluentcore.collection.InnerSupportsGet&text=InnerSupportsGet%3CInnerT%3E" data-throw-if-not-resolved="False"/>
inheritedMembers:
- com.microsoft.azure.management.resources.fluentcore.collection.InnerSupportsGet.getByResourceGroupAsync(String,String,ServiceCallback<InnerT>)
methods:
- fullName: com.microsoft.azure.management.monitor.implementation.AlertRulesInner.createOrUpdate(String resourceGroupName, String ruleName, AlertRuleResourceInner parameters)
name: createOrUpdate(String resourceGroupName, String ruleName, AlertRuleResourceInner parameters)
nameWithType: AlertRulesInner.createOrUpdate(String resourceGroupName, String ruleName, AlertRuleResourceInner parameters)
parameters:
- description: <p>The name of the resource group. </p>
name: resourceGroupName
type: <xref href="String?alt=String&text=String" data-throw-if-not-resolved="False"/>
- description: <p>The name of the rule. </p>
name: ruleName
type: <xref href="String?alt=String&text=String" data-throw-if-not-resolved="False"/>
- description: <p>The parameters of the rule to create or update. </p>
name: parameters
type: <xref href="com.microsoft.azure.management.monitor.implementation.AlertRuleResourceInner?alt=com.microsoft.azure.management.monitor.implementation.AlertRuleResourceInner&text=AlertRuleResourceInner" data-throw-if-not-resolved="False"/>
exceptions:
- type: <xref href="IllegalArgumentException?alt=IllegalArgumentException&text=IllegalArgumentException" data-throw-if-not-resolved="False"/>
description: <p>thrown if parameters fail the validation </p>
- type: <xref href="ErrorResponseException?alt=ErrorResponseException&text=ErrorResponseException" data-throw-if-not-resolved="False"/>
description: <p>thrown if the request is rejected by server </p>
- type: <xref href="RuntimeException?alt=RuntimeException&text=RuntimeException" data-throw-if-not-resolved="False"/>
description: <p>all other wrapped checked exceptions if the request fails to be sent </p>
returns:
description: <p>the AlertRuleResourceInner object if successful. </p>
type: <xref href="com.microsoft.azure.management.monitor.implementation.AlertRuleResourceInner?alt=com.microsoft.azure.management.monitor.implementation.AlertRuleResourceInner&text=AlertRuleResourceInner" data-throw-if-not-resolved="False"/>
summary: >-
<p>Creates or updates an alert rule.</p>
<p></p>
syntax: public AlertRuleResourceInner createOrUpdate(String resourceGroupName, String ruleName, AlertRuleResourceInner parameters)
uid: com.microsoft.azure.management.monitor.implementation.AlertRulesInner.createOrUpdate(String,String,AlertRuleResourceInner)
- fullName: com.microsoft.azure.management.monitor.implementation.AlertRulesInner.createOrUpdateAsync(String resourceGroupName, String ruleName, AlertRuleResourceInner parameters)
name: createOrUpdateAsync(String resourceGroupName, String ruleName, AlertRuleResourceInner parameters)
nameWithType: AlertRulesInner.createOrUpdateAsync(String resourceGroupName, String ruleName, AlertRuleResourceInner parameters)
parameters:
- description: <p>The name of the resource group. </p>
name: resourceGroupName
type: <xref href="String?alt=String&text=String" data-throw-if-not-resolved="False"/>
- description: <p>The name of the rule. </p>
name: ruleName
type: <xref href="String?alt=String&text=String" data-throw-if-not-resolved="False"/>
- description: <p>The parameters of the rule to create or update. </p>
name: parameters
type: <xref href="com.microsoft.azure.management.monitor.implementation.AlertRuleResourceInner?alt=com.microsoft.azure.management.monitor.implementation.AlertRuleResourceInner&text=AlertRuleResourceInner" data-throw-if-not-resolved="False"/>
exceptions:
- type: <xref href="IllegalArgumentException?alt=IllegalArgumentException&text=IllegalArgumentException" data-throw-if-not-resolved="False"/>
description: <p>thrown if parameters fail the validation </p>
returns:
description: <p>the observable to the AlertRuleResourceInner object </p>
type: Observable&lt;<xref href="com.microsoft.azure.management.monitor.implementation.AlertRuleResourceInner?alt=com.microsoft.azure.management.monitor.implementation.AlertRuleResourceInner&text=AlertRuleResourceInner" data-throw-if-not-resolved="False"/>&gt;
summary: >-
<p>Creates or updates an alert rule.</p>
<p></p>
syntax: public Observable<AlertRuleResourceInner> createOrUpdateAsync(String resourceGroupName, String ruleName, AlertRuleResourceInner parameters)
uid: com.microsoft.azure.management.monitor.implementation.AlertRulesInner.createOrUpdateAsync(String,String,AlertRuleResourceInner)
- fullName: com.microsoft.azure.management.monitor.implementation.AlertRulesInner.createOrUpdateAsync(String resourceGroupName, String ruleName, AlertRuleResourceInner parameters, final ServiceCallback<AlertRuleResourceInner> serviceCallback)
name: createOrUpdateAsync(String resourceGroupName, String ruleName, AlertRuleResourceInner parameters, final ServiceCallback<AlertRuleResourceInner> serviceCallback)
nameWithType: AlertRulesInner.createOrUpdateAsync(String resourceGroupName, String ruleName, AlertRuleResourceInner parameters, final ServiceCallback<AlertRuleResourceInner> serviceCallback)
parameters:
- description: <p>The name of the resource group. </p>
name: resourceGroupName
type: <xref href="String?alt=String&text=String" data-throw-if-not-resolved="False"/>
- description: <p>The name of the rule. </p>
name: ruleName
type: <xref href="String?alt=String&text=String" data-throw-if-not-resolved="False"/>
- description: <p>The parameters of the rule to create or update. </p>
name: parameters
type: <xref href="com.microsoft.azure.management.monitor.implementation.AlertRuleResourceInner?alt=com.microsoft.azure.management.monitor.implementation.AlertRuleResourceInner&text=AlertRuleResourceInner" data-throw-if-not-resolved="False"/>
- description: <p>the async ServiceCallback to handle successful and failed responses. </p>
name: serviceCallback
type: final ServiceCallback&lt;<xref href="com.microsoft.azure.management.monitor.implementation.AlertRuleResourceInner?alt=com.microsoft.azure.management.monitor.implementation.AlertRuleResourceInner&text=AlertRuleResourceInner" data-throw-if-not-resolved="False"/>&gt;
exceptions:
- type: <xref href="IllegalArgumentException?alt=IllegalArgumentException&text=IllegalArgumentException" data-throw-if-not-resolved="False"/>
description: <p>thrown if parameters fail the validation </p>
returns:
description: <p>the <xref uid="" data-throw-if-not-resolved="false" data-raw-source="ServiceFuture"></xref> object </p>
type: ServiceFuture&lt;<xref href="com.microsoft.azure.management.monitor.implementation.AlertRuleResourceInner?alt=com.microsoft.azure.management.monitor.implementation.AlertRuleResourceInner&text=AlertRuleResourceInner" data-throw-if-not-resolved="False"/>&gt;
summary: >-
<p>Creates or updates an alert rule.</p>
<p></p>
syntax: public ServiceFuture<AlertRuleResourceInner> createOrUpdateAsync(String resourceGroupName, String ruleName, AlertRuleResourceInner parameters, final ServiceCallback<AlertRuleResourceInner> serviceCallback)
uid: com.microsoft.azure.management.monitor.implementation.AlertRulesInner.createOrUpdateAsync(String,String,AlertRuleResourceInner,final ServiceCallback<AlertRuleResourceInner>)
- fullName: com.microsoft.azure.management.monitor.implementation.AlertRulesInner.createOrUpdateWithServiceResponseAsync(String resourceGroupName, String ruleName, AlertRuleResourceInner parameters)
name: createOrUpdateWithServiceResponseAsync(String resourceGroupName, String ruleName, AlertRuleResourceInner parameters)
nameWithType: AlertRulesInner.createOrUpdateWithServiceResponseAsync(String resourceGroupName, String ruleName, AlertRuleResourceInner parameters)
parameters:
- description: <p>The name of the resource group. </p>
name: resourceGroupName
type: <xref href="String?alt=String&text=String" data-throw-if-not-resolved="False"/>
- description: <p>The name of the rule. </p>
name: ruleName
type: <xref href="String?alt=String&text=String" data-throw-if-not-resolved="False"/>
- description: <p>The parameters of the rule to create or update. </p>
name: parameters
type: <xref href="com.microsoft.azure.management.monitor.implementation.AlertRuleResourceInner?alt=com.microsoft.azure.management.monitor.implementation.AlertRuleResourceInner&text=AlertRuleResourceInner" data-throw-if-not-resolved="False"/>
exceptions:
- type: <xref href="IllegalArgumentException?alt=IllegalArgumentException&text=IllegalArgumentException" data-throw-if-not-resolved="False"/>
description: <p>thrown if parameters fail the validation </p>
returns:
description: <p>the observable to the AlertRuleResourceInner object </p>
type: Observable&lt;ServiceResponse&lt;<xref href="com.microsoft.azure.management.monitor.implementation.AlertRuleResourceInner?alt=com.microsoft.azure.management.monitor.implementation.AlertRuleResourceInner&text=AlertRuleResourceInner" data-throw-if-not-resolved="False"/>&gt;&gt;
summary: >-
<p>Creates or updates an alert rule.</p>
<p></p>
syntax: public Observable<ServiceResponse<AlertRuleResourceInner>> createOrUpdateWithServiceResponseAsync(String resourceGroupName, String ruleName, AlertRuleResourceInner parameters)
uid: com.microsoft.azure.management.monitor.implementation.AlertRulesInner.createOrUpdateWithServiceResponseAsync(String,String,AlertRuleResourceInner)
- fullName: com.microsoft.azure.management.monitor.implementation.AlertRulesInner.delete(String resourceGroupName, String ruleName)
name: delete(String resourceGroupName, String ruleName)
nameWithType: AlertRulesInner.delete(String resourceGroupName, String ruleName)
parameters:
- description: <p>The name of the resource group. </p>
name: resourceGroupName
type: <xref href="String?alt=String&text=String" data-throw-if-not-resolved="False"/>
- description: <p>The name of the rule. </p>
name: ruleName
type: <xref href="String?alt=String&text=String" data-throw-if-not-resolved="False"/>
exceptions:
- type: <xref href="IllegalArgumentException?alt=IllegalArgumentException&text=IllegalArgumentException" data-throw-if-not-resolved="False"/>
description: <p>thrown if parameters fail the validation </p>
- type: <xref href="CloudException?alt=CloudException&text=CloudException" data-throw-if-not-resolved="False"/>
description: <p>thrown if the request is rejected by server </p>
- type: <xref href="RuntimeException?alt=RuntimeException&text=RuntimeException" data-throw-if-not-resolved="False"/>
description: <p>all other wrapped checked exceptions if the request fails to be sent </p>
summary: >-
<p>Deletes an alert rule.</p>
<p></p>
syntax: public void delete(String resourceGroupName, String ruleName)
uid: com.microsoft.azure.management.monitor.implementation.AlertRulesInner.delete(String,String)
- fullName: com.microsoft.azure.management.monitor.implementation.AlertRulesInner.deleteAsync(String resourceGroupName, String ruleName)
name: deleteAsync(String resourceGroupName, String ruleName)
nameWithType: AlertRulesInner.deleteAsync(String resourceGroupName, String ruleName)
overridden: com.microsoft.azure.management.resources.fluentcore.collection.InnerSupportsDelete.deleteAsync(String,String)
parameters:
- description: <p>The name of the resource group. </p>
name: resourceGroupName
type: <xref href="String?alt=String&text=String" data-throw-if-not-resolved="False"/>
- description: <p>The name of the rule. </p>
name: ruleName
type: <xref href="String?alt=String&text=String" data-throw-if-not-resolved="False"/>
exceptions:
- type: <xref href="IllegalArgumentException?alt=IllegalArgumentException&text=IllegalArgumentException" data-throw-if-not-resolved="False"/>
description: <p>thrown if parameters fail the validation </p>
returns:
description: <p>the <xref uid="" data-throw-if-not-resolved="false" data-raw-source="ServiceResponse"></xref> object if successful. </p>
type: <xref href="Observable%3CVoid%3E?alt=Observable%3CVoid%3E&text=Observable%3CVoid%3E" data-throw-if-not-resolved="False"/>
summary: >-
<p>Deletes an alert rule.</p>
<p></p>
syntax: public Observable<Void> deleteAsync(String resourceGroupName, String ruleName)
uid: com.microsoft.azure.management.monitor.implementation.AlertRulesInner.deleteAsync(String,String)
- fullName: com.microsoft.azure.management.monitor.implementation.AlertRulesInner.deleteAsync(String resourceGroupName, String ruleName, final ServiceCallback<Void> serviceCallback)
name: deleteAsync(String resourceGroupName, String ruleName, final ServiceCallback<Void> serviceCallback)
nameWithType: AlertRulesInner.deleteAsync(String resourceGroupName, String ruleName, final ServiceCallback<Void> serviceCallback)
parameters:
- description: <p>The name of the resource group. </p>
name: resourceGroupName
type: <xref href="String?alt=String&text=String" data-throw-if-not-resolved="False"/>
- description: <p>The name of the rule. </p>
name: ruleName
type: <xref href="String?alt=String&text=String" data-throw-if-not-resolved="False"/>
- description: <p>the async ServiceCallback to handle successful and failed responses. </p>
name: serviceCallback
type: <xref href="final+ServiceCallback%3CVoid%3E?alt=final+ServiceCallback%3CVoid%3E&text=final+ServiceCallback%3CVoid%3E" data-throw-if-not-resolved="False"/>
exceptions:
- type: <xref href="IllegalArgumentException?alt=IllegalArgumentException&text=IllegalArgumentException" data-throw-if-not-resolved="False"/>
description: <p>thrown if parameters fail the validation </p>
returns:
description: <p>the <xref uid="" data-throw-if-not-resolved="false" data-raw-source="ServiceFuture"></xref> object </p>
type: <xref href="ServiceFuture%3CVoid%3E?alt=ServiceFuture%3CVoid%3E&text=ServiceFuture%3CVoid%3E" data-throw-if-not-resolved="False"/>
summary: >-
<p>Deletes an alert rule.</p>
<p></p>
syntax: public ServiceFuture<Void> deleteAsync(String resourceGroupName, String ruleName, final ServiceCallback<Void> serviceCallback)
uid: com.microsoft.azure.management.monitor.implementation.AlertRulesInner.deleteAsync(String,String,final ServiceCallback<Void>)
- fullName: com.microsoft.azure.management.monitor.implementation.AlertRulesInner.deleteWithServiceResponseAsync(String resourceGroupName, String ruleName)
name: deleteWithServiceResponseAsync(String resourceGroupName, String ruleName)
nameWithType: AlertRulesInner.deleteWithServiceResponseAsync(String resourceGroupName, String ruleName)
parameters:
- description: <p>The name of the resource group. </p>
name: resourceGroupName
type: <xref href="String?alt=String&text=String" data-throw-if-not-resolved="False"/>
- description: <p>The name of the rule. </p>
name: ruleName
type: <xref href="String?alt=String&text=String" data-throw-if-not-resolved="False"/>
exceptions:
- type: <xref href="IllegalArgumentException?alt=IllegalArgumentException&text=IllegalArgumentException" data-throw-if-not-resolved="False"/>
description: <p>thrown if parameters fail the validation </p>
returns:
description: <p>the <xref uid="" data-throw-if-not-resolved="false" data-raw-source="ServiceResponse"></xref> object if successful. </p>
type: <xref href="Observable%3CServiceResponse%3CVoid%3E%3E?alt=Observable%3CServiceResponse%3CVoid%3E%3E&text=Observable%3CServiceResponse%3CVoid%3E%3E" data-throw-if-not-resolved="False"/>
summary: >-
<p>Deletes an alert rule.</p>
<p></p>
syntax: public Observable<ServiceResponse<Void>> deleteWithServiceResponseAsync(String resourceGroupName, String ruleName)
uid: com.microsoft.azure.management.monitor.implementation.AlertRulesInner.deleteWithServiceResponseAsync(String,String)
- fullName: com.microsoft.azure.management.monitor.implementation.AlertRulesInner.getByResourceGroup(String resourceGroupName, String ruleName)
name: getByResourceGroup(String resourceGroupName, String ruleName)
nameWithType: AlertRulesInner.getByResourceGroup(String resourceGroupName, String ruleName)
overridden: com.microsoft.azure.management.resources.fluentcore.collection.InnerSupportsGet.getByResourceGroup(String,String)
parameters:
- description: <p>The name of the resource group. </p>
name: resourceGroupName
type: <xref href="String?alt=String&text=String" data-throw-if-not-resolved="False"/>
- description: <p>The name of the rule. </p>
name: ruleName
type: <xref href="String?alt=String&text=String" data-throw-if-not-resolved="False"/>
exceptions:
- type: <xref href="IllegalArgumentException?alt=IllegalArgumentException&text=IllegalArgumentException" data-throw-if-not-resolved="False"/>
description: <p>thrown if parameters fail the validation </p>
- type: <xref href="CloudException?alt=CloudException&text=CloudException" data-throw-if-not-resolved="False"/>
description: <p>thrown if the request is rejected by server </p>
- type: <xref href="RuntimeException?alt=RuntimeException&text=RuntimeException" data-throw-if-not-resolved="False"/>
description: <p>all other wrapped checked exceptions if the request fails to be sent </p>
returns:
description: <p>the AlertRuleResourceInner object if successful. </p>
type: <xref href="com.microsoft.azure.management.monitor.implementation.AlertRuleResourceInner?alt=com.microsoft.azure.management.monitor.implementation.AlertRuleResourceInner&text=AlertRuleResourceInner" data-throw-if-not-resolved="False"/>
summary: >-
<p>Gets an alert rule.</p>
<p></p>
syntax: public AlertRuleResourceInner getByResourceGroup(String resourceGroupName, String ruleName)
uid: com.microsoft.azure.management.monitor.implementation.AlertRulesInner.getByResourceGroup(String,String)
- fullName: com.microsoft.azure.management.monitor.implementation.AlertRulesInner.getByResourceGroupAsync(String resourceGroupName, String ruleName)
name: getByResourceGroupAsync(String resourceGroupName, String ruleName)
nameWithType: AlertRulesInner.getByResourceGroupAsync(String resourceGroupName, String ruleName)
overridden: com.microsoft.azure.management.resources.fluentcore.collection.InnerSupportsGet.getByResourceGroupAsync(String,String)
parameters:
- description: <p>The name of the resource group. </p>
name: resourceGroupName
type: <xref href="String?alt=String&text=String" data-throw-if-not-resolved="False"/>
- description: <p>The name of the rule. </p>
name: ruleName
type: <xref href="String?alt=String&text=String" data-throw-if-not-resolved="False"/>
exceptions:
- type: <xref href="IllegalArgumentException?alt=IllegalArgumentException&text=IllegalArgumentException" data-throw-if-not-resolved="False"/>
description: <p>thrown if parameters fail the validation </p>
returns:
description: <p>the observable to the AlertRuleResourceInner object </p>
type: Observable&lt;<xref href="com.microsoft.azure.management.monitor.implementation.AlertRuleResourceInner?alt=com.microsoft.azure.management.monitor.implementation.AlertRuleResourceInner&text=AlertRuleResourceInner" data-throw-if-not-resolved="False"/>&gt;
summary: >-
<p>Gets an alert rule.</p>
<p></p>
syntax: public Observable<AlertRuleResourceInner> getByResourceGroupAsync(String resourceGroupName, String ruleName)
uid: com.microsoft.azure.management.monitor.implementation.AlertRulesInner.getByResourceGroupAsync(String,String)
- fullName: com.microsoft.azure.management.monitor.implementation.AlertRulesInner.getByResourceGroupAsync(String resourceGroupName, String ruleName, final ServiceCallback<AlertRuleResourceInner> serviceCallback)
name: getByResourceGroupAsync(String resourceGroupName, String ruleName, final ServiceCallback<AlertRuleResourceInner> serviceCallback)
nameWithType: AlertRulesInner.getByResourceGroupAsync(String resourceGroupName, String ruleName, final ServiceCallback<AlertRuleResourceInner> serviceCallback)
parameters:
- description: <p>The name of the resource group. </p>
name: resourceGroupName
type: <xref href="String?alt=String&text=String" data-throw-if-not-resolved="False"/>
- description: <p>The name of the rule. </p>
name: ruleName
type: <xref href="String?alt=String&text=String" data-throw-if-not-resolved="False"/>
- description: <p>the async ServiceCallback to handle successful and failed responses. </p>
name: serviceCallback
type: final ServiceCallback&lt;<xref href="com.microsoft.azure.management.monitor.implementation.AlertRuleResourceInner?alt=com.microsoft.azure.management.monitor.implementation.AlertRuleResourceInner&text=AlertRuleResourceInner" data-throw-if-not-resolved="False"/>&gt;
exceptions:
- type: <xref href="IllegalArgumentException?alt=IllegalArgumentException&text=IllegalArgumentException" data-throw-if-not-resolved="False"/>
description: <p>thrown if parameters fail the validation </p>
returns:
description: <p>the <xref uid="" data-throw-if-not-resolved="false" data-raw-source="ServiceFuture"></xref> object </p>
type: ServiceFuture&lt;<xref href="com.microsoft.azure.management.monitor.implementation.AlertRuleResourceInner?alt=com.microsoft.azure.management.monitor.implementation.AlertRuleResourceInner&text=AlertRuleResourceInner" data-throw-if-not-resolved="False"/>&gt;
summary: >-
<p>Gets an alert rule.</p>
<p></p>
syntax: public ServiceFuture<AlertRuleResourceInner> getByResourceGroupAsync(String resourceGroupName, String ruleName, final ServiceCallback<AlertRuleResourceInner> serviceCallback)
uid: com.microsoft.azure.management.monitor.implementation.AlertRulesInner.getByResourceGroupAsync(String,String,final ServiceCallback<AlertRuleResourceInner>)
- fullName: com.microsoft.azure.management.monitor.implementation.AlertRulesInner.getByResourceGroupWithServiceResponseAsync(String resourceGroupName, String ruleName)
name: getByResourceGroupWithServiceResponseAsync(String resourceGroupName, String ruleName)
nameWithType: AlertRulesInner.getByResourceGroupWithServiceResponseAsync(String resourceGroupName, String ruleName)
parameters:
- description: <p>The name of the resource group. </p>
name: resourceGroupName
type: <xref href="String?alt=String&text=String" data-throw-if-not-resolved="False"/>
- description: <p>The name of the rule. </p>
name: ruleName
type: <xref href="String?alt=String&text=String" data-throw-if-not-resolved="False"/>
exceptions:
- type: <xref href="IllegalArgumentException?alt=IllegalArgumentException&text=IllegalArgumentException" data-throw-if-not-resolved="False"/>
description: <p>thrown if parameters fail the validation </p>
returns:
description: <p>the observable to the AlertRuleResourceInner object </p>
type: Observable&lt;ServiceResponse&lt;<xref href="com.microsoft.azure.management.monitor.implementation.AlertRuleResourceInner?alt=com.microsoft.azure.management.monitor.implementation.AlertRuleResourceInner&text=AlertRuleResourceInner" data-throw-if-not-resolved="False"/>&gt;&gt;
summary: >-
<p>Gets an alert rule.</p>
<p></p>
syntax: public Observable<ServiceResponse<AlertRuleResourceInner>> getByResourceGroupWithServiceResponseAsync(String resourceGroupName, String ruleName)
uid: com.microsoft.azure.management.monitor.implementation.AlertRulesInner.getByResourceGroupWithServiceResponseAsync(String,String)
- fullName: com.microsoft.azure.management.monitor.implementation.AlertRulesInner.list()
name: list()
nameWithType: AlertRulesInner.list()
overridden: com.microsoft.azure.management.resources.fluentcore.collection.InnerSupportsListing.list()
returns:
description: <p>the PagedList&lt;AlertRuleResourceInner&gt; object if successful. </p>
type: PagedList&lt;<xref href="com.microsoft.azure.management.monitor.implementation.AlertRuleResourceInner?alt=com.microsoft.azure.management.monitor.implementation.AlertRuleResourceInner&text=AlertRuleResourceInner" data-throw-if-not-resolved="False"/>&gt;
summary: >-
<p>List the alert rules within a subscription.</p>
<p></p>
syntax: public PagedList<AlertRuleResourceInner> list()
uid: com.microsoft.azure.management.monitor.implementation.AlertRulesInner.list()
- fullName: com.microsoft.azure.management.monitor.implementation.AlertRulesInner.listAsync()
name: listAsync()
nameWithType: AlertRulesInner.listAsync()
overridden: com.microsoft.azure.management.resources.fluentcore.collection.InnerSupportsListing.listAsync()
returns:
description: <p>the observable to the List&lt;AlertRuleResourceInner&gt; object </p>
type: Observable&lt;Page&lt;<xref href="com.microsoft.azure.management.monitor.implementation.AlertRuleResourceInner?alt=com.microsoft.azure.management.monitor.implementation.AlertRuleResourceInner&text=AlertRuleResourceInner" data-throw-if-not-resolved="False"/>&gt;&gt;
summary: >-
<p>List the alert rules within a subscription.</p>
<p></p>
syntax: public Observable<Page<AlertRuleResourceInner>> listAsync()
uid: com.microsoft.azure.management.monitor.implementation.AlertRulesInner.listAsync()
- fullName: com.microsoft.azure.management.monitor.implementation.AlertRulesInner.listAsync(final ServiceCallback<List<AlertRuleResourceInner>> serviceCallback)
name: listAsync(final ServiceCallback<List<AlertRuleResourceInner>> serviceCallback)
nameWithType: AlertRulesInner.listAsync(final ServiceCallback<List<AlertRuleResourceInner>> serviceCallback)
parameters:
- description: <p>the async ServiceCallback to handle successful and failed responses. </p>
name: serviceCallback
type: final ServiceCallback&lt;List&lt;<xref href="com.microsoft.azure.management.monitor.implementation.AlertRuleResourceInner?alt=com.microsoft.azure.management.monitor.implementation.AlertRuleResourceInner&text=AlertRuleResourceInner" data-throw-if-not-resolved="False"/>&gt;&gt;
returns:
description: <p>the <xref uid="" data-throw-if-not-resolved="false" data-raw-source="ServiceFuture"></xref> object </p>
type: ServiceFuture&lt;List&lt;<xref href="com.microsoft.azure.management.monitor.implementation.AlertRuleResourceInner?alt=com.microsoft.azure.management.monitor.implementation.AlertRuleResourceInner&text=AlertRuleResourceInner" data-throw-if-not-resolved="False"/>&gt;&gt;
summary: >-
<p>List the alert rules within a subscription.</p>
<p></p>
syntax: public ServiceFuture<List<AlertRuleResourceInner>> listAsync(final ServiceCallback<List<AlertRuleResourceInner>> serviceCallback)
uid: com.microsoft.azure.management.monitor.implementation.AlertRulesInner.listAsync(final ServiceCallback<List<AlertRuleResourceInner>>)
- fullName: com.microsoft.azure.management.monitor.implementation.AlertRulesInner.listByResourceGroup(String resourceGroupName)
name: listByResourceGroup(String resourceGroupName)
nameWithType: AlertRulesInner.listByResourceGroup(String resourceGroupName)
overridden: com.microsoft.azure.management.resources.fluentcore.collection.InnerSupportsListing.listByResourceGroup(String)
parameters:
- description: <p>The name of the resource group. </p>
name: resourceGroupName
type: <xref href="String?alt=String&text=String" data-throw-if-not-resolved="False"/>
returns:
description: <p>the PagedList&lt;AlertRuleResourceInner&gt; object if successful. </p>
type: PagedList&lt;<xref href="com.microsoft.azure.management.monitor.implementation.AlertRuleResourceInner?alt=com.microsoft.azure.management.monitor.implementation.AlertRuleResourceInner&text=AlertRuleResourceInner" data-throw-if-not-resolved="False"/>&gt;
summary: >-
<p>List the alert rules within a resource group.</p>
<p></p>
syntax: public PagedList<AlertRuleResourceInner> listByResourceGroup(String resourceGroupName)
uid: com.microsoft.azure.management.monitor.implementation.AlertRulesInner.listByResourceGroup(String)
- fullName: com.microsoft.azure.management.monitor.implementation.AlertRulesInner.listByResourceGroupAsync(String resourceGroupName)
name: listByResourceGroupAsync(String resourceGroupName)
nameWithType: AlertRulesInner.listByResourceGroupAsync(String resourceGroupName)
overridden: com.microsoft.azure.management.resources.fluentcore.collection.InnerSupportsListing.listByResourceGroupAsync(String)
parameters:
- description: <p>The name of the resource group. </p>
name: resourceGroupName
type: <xref href="String?alt=String&text=String" data-throw-if-not-resolved="False"/>
returns:
description: <p>the observable to the List&lt;AlertRuleResourceInner&gt; object </p>
type: Observable&lt;Page&lt;<xref href="com.microsoft.azure.management.monitor.implementation.AlertRuleResourceInner?alt=com.microsoft.azure.management.monitor.implementation.AlertRuleResourceInner&text=AlertRuleResourceInner" data-throw-if-not-resolved="False"/>&gt;&gt;
summary: >-
<p>List the alert rules within a resource group.</p>
<p></p>
syntax: public Observable<Page<AlertRuleResourceInner>> listByResourceGroupAsync(String resourceGroupName)
uid: com.microsoft.azure.management.monitor.implementation.AlertRulesInner.listByResourceGroupAsync(String)
- fullName: com.microsoft.azure.management.monitor.implementation.AlertRulesInner.listByResourceGroupAsync(String resourceGroupName, final ServiceCallback<List<AlertRuleResourceInner>> serviceCallback)
name: listByResourceGroupAsync(String resourceGroupName, final ServiceCallback<List<AlertRuleResourceInner>> serviceCallback)
nameWithType: AlertRulesInner.listByResourceGroupAsync(String resourceGroupName, final ServiceCallback<List<AlertRuleResourceInner>> serviceCallback)
parameters:
- description: <p>The name of the resource group. </p>
name: resourceGroupName
type: <xref href="String?alt=String&text=String" data-throw-if-not-resolved="False"/>
- description: <p>the async ServiceCallback to handle successful and failed responses. </p>
name: serviceCallback
type: final ServiceCallback&lt;List&lt;<xref href="com.microsoft.azure.management.monitor.implementation.AlertRuleResourceInner?alt=com.microsoft.azure.management.monitor.implementation.AlertRuleResourceInner&text=AlertRuleResourceInner" data-throw-if-not-resolved="False"/>&gt;&gt;
returns:
description: <p>the <xref uid="" data-throw-if-not-resolved="false" data-raw-source="ServiceFuture"></xref> object </p>
type: ServiceFuture&lt;List&lt;<xref href="com.microsoft.azure.management.monitor.implementation.AlertRuleResourceInner?alt=com.microsoft.azure.management.monitor.implementation.AlertRuleResourceInner&text=AlertRuleResourceInner" data-throw-if-not-resolved="False"/>&gt;&gt;
summary: >-
<p>List the alert rules within a resource group.</p>
<p></p>
syntax: public ServiceFuture<List<AlertRuleResourceInner>> listByResourceGroupAsync(String resourceGroupName, final ServiceCallback<List<AlertRuleResourceInner>> serviceCallback)
uid: com.microsoft.azure.management.monitor.implementation.AlertRulesInner.listByResourceGroupAsync(String,final ServiceCallback<List<AlertRuleResourceInner>>)
- fullName: com.microsoft.azure.management.monitor.implementation.AlertRulesInner.listByResourceGroupWithServiceResponseAsync(String resourceGroupName)
name: listByResourceGroupWithServiceResponseAsync(String resourceGroupName)
nameWithType: AlertRulesInner.listByResourceGroupWithServiceResponseAsync(String resourceGroupName)
parameters:
- description: <p>The name of the resource group. </p>
name: resourceGroupName
type: <xref href="String?alt=String&text=String" data-throw-if-not-resolved="False"/>
returns:
description: <p>the observable to the List&lt;AlertRuleResourceInner&gt; object </p>
type: Observable&lt;ServiceResponse&lt;List&lt;<xref href="com.microsoft.azure.management.monitor.implementation.AlertRuleResourceInner?alt=com.microsoft.azure.management.monitor.implementation.AlertRuleResourceInner&text=AlertRuleResourceInner" data-throw-if-not-resolved="False"/>&gt;&gt;&gt;
summary: >-
<p>List the alert rules within a resource group.</p>
<p></p>
syntax: public Observable<ServiceResponse<List<AlertRuleResourceInner>>> listByResourceGroupWithServiceResponseAsync(String resourceGroupName)
uid: com.microsoft.azure.management.monitor.implementation.AlertRulesInner.listByResourceGroupWithServiceResponseAsync(String)
- fullName: com.microsoft.azure.management.monitor.implementation.AlertRulesInner.listWithServiceResponseAsync()
name: listWithServiceResponseAsync()
nameWithType: AlertRulesInner.listWithServiceResponseAsync()
returns:
description: <p>the observable to the List&lt;AlertRuleResourceInner&gt; object </p>
type: Observable&lt;ServiceResponse&lt;List&lt;<xref href="com.microsoft.azure.management.monitor.implementation.AlertRuleResourceInner?alt=com.microsoft.azure.management.monitor.implementation.AlertRuleResourceInner&text=AlertRuleResourceInner" data-throw-if-not-resolved="False"/>&gt;&gt;&gt;
summary: >-
<p>List the alert rules within a subscription.</p>
<p></p>
syntax: public Observable<ServiceResponse<List<AlertRuleResourceInner>>> listWithServiceResponseAsync()
uid: com.microsoft.azure.management.monitor.implementation.AlertRulesInner.listWithServiceResponseAsync()
- fullName: com.microsoft.azure.management.monitor.implementation.AlertRulesInner.update(String resourceGroupName, String ruleName, AlertRuleResourcePatch alertRulesResource)
name: update(String resourceGroupName, String ruleName, AlertRuleResourcePatch alertRulesResource)
nameWithType: AlertRulesInner.update(String resourceGroupName, String ruleName, AlertRuleResourcePatch alertRulesResource)
parameters:
- description: <p>The name of the resource group. </p>
name: resourceGroupName
type: <xref href="String?alt=String&text=String" data-throw-if-not-resolved="False"/>
- description: <p>The name of the rule. </p>
name: ruleName
type: <xref href="String?alt=String&text=String" data-throw-if-not-resolved="False"/>
- description: <p>Parameters supplied to the operation. </p>
name: alertRulesResource
type: <xref href="com.microsoft.azure.management.monitor.AlertRuleResourcePatch?alt=com.microsoft.azure.management.monitor.AlertRuleResourcePatch&text=AlertRuleResourcePatch" data-throw-if-not-resolved="False"/>
exceptions:
- type: <xref href="IllegalArgumentException?alt=IllegalArgumentException&text=IllegalArgumentException" data-throw-if-not-resolved="False"/>
description: <p>thrown if parameters fail the validation </p>
- type: <xref href="ErrorResponseException?alt=ErrorResponseException&text=ErrorResponseException" data-throw-if-not-resolved="False"/>
description: <p>thrown if the request is rejected by server </p>
- type: <xref href="RuntimeException?alt=RuntimeException&text=RuntimeException" data-throw-if-not-resolved="False"/>
description: <p>all other wrapped checked exceptions if the request fails to be sent </p>
returns:
description: <p>the AlertRuleResourceInner object if successful. </p>
type: <xref href="com.microsoft.azure.management.monitor.implementation.AlertRuleResourceInner?alt=com.microsoft.azure.management.monitor.implementation.AlertRuleResourceInner&text=AlertRuleResourceInner" data-throw-if-not-resolved="False"/>
summary: >-
<p>Updates an existing AlertRuleResource. To update other fields use the CreateOrUpdate method.</p>
<p></p>
syntax: public AlertRuleResourceInner update(String resourceGroupName, String ruleName, AlertRuleResourcePatch alertRulesResource)
uid: com.microsoft.azure.management.monitor.implementation.AlertRulesInner.update(String,String,AlertRuleResourcePatch)
- fullName: com.microsoft.azure.management.monitor.implementation.AlertRulesInner.updateAsync(String resourceGroupName, String ruleName, AlertRuleResourcePatch alertRulesResource)
name: updateAsync(String resourceGroupName, String ruleName, AlertRuleResourcePatch alertRulesResource)
nameWithType: AlertRulesInner.updateAsync(String resourceGroupName, String ruleName, AlertRuleResourcePatch alertRulesResource)
parameters:
- description: <p>The name of the resource group. </p>
name: resourceGroupName
type: <xref href="String?alt=String&text=String" data-throw-if-not-resolved="False"/>
- description: <p>The name of the rule. </p>
name: ruleName
type: <xref href="String?alt=String&text=String" data-throw-if-not-resolved="False"/>
- description: <p>Parameters supplied to the operation. </p>
name: alertRulesResource
type: <xref href="com.microsoft.azure.management.monitor.AlertRuleResourcePatch?alt=com.microsoft.azure.management.monitor.AlertRuleResourcePatch&text=AlertRuleResourcePatch" data-throw-if-not-resolved="False"/>
exceptions:
- type: <xref href="IllegalArgumentException?alt=IllegalArgumentException&text=IllegalArgumentException" data-throw-if-not-resolved="False"/>
description: <p>thrown if parameters fail the validation </p>
returns:
description: <p>the observable to the AlertRuleResourceInner object </p>
type: Observable&lt;<xref href="com.microsoft.azure.management.monitor.implementation.AlertRuleResourceInner?alt=com.microsoft.azure.management.monitor.implementation.AlertRuleResourceInner&text=AlertRuleResourceInner" data-throw-if-not-resolved="False"/>&gt;
summary: >-
<p>Updates an existing AlertRuleResource. To update other fields use the CreateOrUpdate method.</p>
<p></p>
syntax: public Observable<AlertRuleResourceInner> updateAsync(String resourceGroupName, String ruleName, AlertRuleResourcePatch alertRulesResource)
uid: com.microsoft.azure.management.monitor.implementation.AlertRulesInner.updateAsync(String,String,AlertRuleResourcePatch)
- fullName: com.microsoft.azure.management.monitor.implementation.AlertRulesInner.updateAsync(String resourceGroupName, String ruleName, AlertRuleResourcePatch alertRulesResource, final ServiceCallback<AlertRuleResourceInner> serviceCallback)
name: updateAsync(String resourceGroupName, String ruleName, AlertRuleResourcePatch alertRulesResource, final ServiceCallback<AlertRuleResourceInner> serviceCallback)
nameWithType: AlertRulesInner.updateAsync(String resourceGroupName, String ruleName, AlertRuleResourcePatch alertRulesResource, final ServiceCallback<AlertRuleResourceInner> serviceCallback)
parameters:
- description: <p>The name of the resource group. </p>
name: resourceGroupName
type: <xref href="String?alt=String&text=String" data-throw-if-not-resolved="False"/>
- description: <p>The name of the rule. </p>
name: ruleName
type: <xref href="String?alt=String&text=String" data-throw-if-not-resolved="False"/>
- description: <p>Parameters supplied to the operation. </p>
name: alertRulesResource
type: <xref href="com.microsoft.azure.management.monitor.AlertRuleResourcePatch?alt=com.microsoft.azure.management.monitor.AlertRuleResourcePatch&text=AlertRuleResourcePatch" data-throw-if-not-resolved="False"/>
- description: <p>the async ServiceCallback to handle successful and failed responses. </p>
name: serviceCallback
type: final ServiceCallback&lt;<xref href="com.microsoft.azure.management.monitor.implementation.AlertRuleResourceInner?alt=com.microsoft.azure.management.monitor.implementation.AlertRuleResourceInner&text=AlertRuleResourceInner" data-throw-if-not-resolved="False"/>&gt;
exceptions:
- type: <xref href="IllegalArgumentException?alt=IllegalArgumentException&text=IllegalArgumentException" data-throw-if-not-resolved="False"/>
description: <p>thrown if parameters fail the validation </p>
returns:
description: <p>the <xref uid="" data-throw-if-not-resolved="false" data-raw-source="ServiceFuture"></xref> object </p>
type: ServiceFuture&lt;<xref href="com.microsoft.azure.management.monitor.implementation.AlertRuleResourceInner?alt=com.microsoft.azure.management.monitor.implementation.AlertRuleResourceInner&text=AlertRuleResourceInner" data-throw-if-not-resolved="False"/>&gt;
summary: >-
<p>Updates an existing AlertRuleResource. To update other fields use the CreateOrUpdate method.</p>
<p></p>
syntax: public ServiceFuture<AlertRuleResourceInner> updateAsync(String resourceGroupName, String ruleName, AlertRuleResourcePatch alertRulesResource, final ServiceCallback<AlertRuleResourceInner> serviceCallback)
uid: com.microsoft.azure.management.monitor.implementation.AlertRulesInner.updateAsync(String,String,AlertRuleResourcePatch,final ServiceCallback<AlertRuleResourceInner>)
- fullName: com.microsoft.azure.management.monitor.implementation.AlertRulesInner.updateWithServiceResponseAsync(String resourceGroupName, String ruleName, AlertRuleResourcePatch alertRulesResource)
name: updateWithServiceResponseAsync(String resourceGroupName, String ruleName, AlertRuleResourcePatch alertRulesResource)
nameWithType: AlertRulesInner.updateWithServiceResponseAsync(String resourceGroupName, String ruleName, AlertRuleResourcePatch alertRulesResource)
parameters:
- description: <p>The name of the resource group. </p>
name: resourceGroupName
type: <xref href="String?alt=String&text=String" data-throw-if-not-resolved="False"/>
- description: <p>The name of the rule. </p>
name: ruleName
type: <xref href="String?alt=String&text=String" data-throw-if-not-resolved="False"/>
- description: <p>Parameters supplied to the operation. </p>
name: alertRulesResource
type: <xref href="com.microsoft.azure.management.monitor.AlertRuleResourcePatch?alt=com.microsoft.azure.management.monitor.AlertRuleResourcePatch&text=AlertRuleResourcePatch" data-throw-if-not-resolved="False"/>
exceptions:
- type: <xref href="IllegalArgumentException?alt=IllegalArgumentException&text=IllegalArgumentException" data-throw-if-not-resolved="False"/>
description: <p>thrown if parameters fail the validation </p>
returns:
description: <p>the observable to the AlertRuleResourceInner object </p>
type: Observable&lt;ServiceResponse&lt;<xref href="com.microsoft.azure.management.monitor.implementation.AlertRuleResourceInner?alt=com.microsoft.azure.management.monitor.implementation.AlertRuleResourceInner&text=AlertRuleResourceInner" data-throw-if-not-resolved="False"/>&gt;&gt;
summary: >-
<p>Updates an existing AlertRuleResource. To update other fields use the CreateOrUpdate method.</p>
<p></p>
syntax: public Observable<ServiceResponse<AlertRuleResourceInner>> updateWithServiceResponseAsync(String resourceGroupName, String ruleName, AlertRuleResourcePatch alertRulesResource)
uid: com.microsoft.azure.management.monitor.implementation.AlertRulesInner.updateWithServiceResponseAsync(String,String,AlertRuleResourcePatch)
nameWithType: AlertRulesInner
syntax: public class AlertRulesInner implements InnerSupportsGet<AlertRuleResourceInner>,InnerSupportsDelete<Void>,InnerSupportsListing<AlertRuleResourceInner>
type: class
uid: com.microsoft.azure.management.monitor.implementation.AlertRulesInner
fullName: com.microsoft.azure.management.monitor.implementation.AlertRulesInner
name: AlertRulesInner
package: com.microsoft.azure.management.monitor.implementation
summary: <p>An instance of this class provides access to all the operations defined in AlertRules. </p>
metadata: {}