TagRules interface
Interface representing a TagRules.
Methods
begin |
Create a TagRule |
begin |
Create a TagRule |
begin |
Delete a TagRule |
begin |
Delete a TagRule |
get(string, string, string, Tag |
Get a TagRule |
list(string, string, Tag |
List all TagRule by monitorName |
Method Details
beginCreateOrUpdate(string, string, string, TagRule, TagRulesCreateOrUpdateOptionalParams)
Create a TagRule
function beginCreateOrUpdate(resourceGroupName: string, monitorName: string, ruleSetName: string, resource: TagRule, options?: TagRulesCreateOrUpdateOptionalParams): Promise<SimplePollerLike<OperationState<TagRule>, TagRule>>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- monitorName
-
string
Monitor resource name
- ruleSetName
-
string
Monitor resource name
- resource
- TagRule
Resource create parameters.
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<TagRule>, TagRule>>
beginCreateOrUpdateAndWait(string, string, string, TagRule, TagRulesCreateOrUpdateOptionalParams)
Create a TagRule
function beginCreateOrUpdateAndWait(resourceGroupName: string, monitorName: string, ruleSetName: string, resource: TagRule, options?: TagRulesCreateOrUpdateOptionalParams): Promise<TagRule>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- monitorName
-
string
Monitor resource name
- ruleSetName
-
string
Monitor resource name
- resource
- TagRule
Resource create parameters.
The options parameters.
Returns
Promise<TagRule>
beginDelete(string, string, string, TagRulesDeleteOptionalParams)
Delete a TagRule
function beginDelete(resourceGroupName: string, monitorName: string, ruleSetName: string, options?: TagRulesDeleteOptionalParams): Promise<SimplePollerLike<OperationState<void>, void>>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- monitorName
-
string
Monitor resource name
- ruleSetName
-
string
Monitor resource name
- options
- TagRulesDeleteOptionalParams
The options parameters.
Returns
Promise<@azure/core-lro.SimplePollerLike<OperationState<void>, void>>
beginDeleteAndWait(string, string, string, TagRulesDeleteOptionalParams)
Delete a TagRule
function beginDeleteAndWait(resourceGroupName: string, monitorName: string, ruleSetName: string, options?: TagRulesDeleteOptionalParams): Promise<void>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- monitorName
-
string
Monitor resource name
- ruleSetName
-
string
Monitor resource name
- options
- TagRulesDeleteOptionalParams
The options parameters.
Returns
Promise<void>
get(string, string, string, TagRulesGetOptionalParams)
Get a TagRule
function get(resourceGroupName: string, monitorName: string, ruleSetName: string, options?: TagRulesGetOptionalParams): Promise<TagRule>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- monitorName
-
string
Monitor resource name
- ruleSetName
-
string
Monitor resource name
- options
- TagRulesGetOptionalParams
The options parameters.
Returns
Promise<TagRule>
list(string, string, TagRulesListOptionalParams)
List all TagRule by monitorName
function list(resourceGroupName: string, monitorName: string, options?: TagRulesListOptionalParams): PagedAsyncIterableIterator<TagRule, TagRule[], PageSettings>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- monitorName
-
string
Monitor resource name
- options
- TagRulesListOptionalParams
The options parameters.