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 |
List TagRule resources by NewRelicMonitorResource |
update(string, string, string, Tag |
Update a TagRule |
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
Name of the Monitors resource
- ruleSetName
-
string
Name of the TagRule
- 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
Name of the Monitors resource
- ruleSetName
-
string
Name of the TagRule
- 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
Name of the Monitors resource
- ruleSetName
-
string
Name of the TagRule
- 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
Name of the Monitors resource
- ruleSetName
-
string
Name of the TagRule
- 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
Name of the Monitors resource
- ruleSetName
-
string
Name of the TagRule
- options
- TagRulesGetOptionalParams
The options parameters.
Returns
Promise<TagRule>
listByNewRelicMonitorResource(string, string, TagRulesListByNewRelicMonitorResourceOptionalParams)
List TagRule resources by NewRelicMonitorResource
function listByNewRelicMonitorResource(resourceGroupName: string, monitorName: string, options?: TagRulesListByNewRelicMonitorResourceOptionalParams): PagedAsyncIterableIterator<TagRule, TagRule[], PageSettings>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- monitorName
-
string
Name of the Monitors resource
The options parameters.
Returns
update(string, string, string, TagRuleUpdate, TagRulesUpdateOptionalParams)
Update a TagRule
function update(resourceGroupName: string, monitorName: string, ruleSetName: string, properties: TagRuleUpdate, options?: TagRulesUpdateOptionalParams): Promise<TagRule>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- monitorName
-
string
Name of the Monitors resource
- ruleSetName
-
string
Name of the TagRule
- properties
- TagRuleUpdate
The resource properties to be updated.
- options
- TagRulesUpdateOptionalParams
The options parameters.
Returns
Promise<TagRule>