DataCollectionRules interface
Interface representing a DataCollectionRules.
Methods
create(string, string, Data |
Creates or updates a data collection rule. |
delete(string, string, Data |
Deletes a data collection rule. |
get(string, string, Data |
Returns the specified data collection rule. |
list |
Lists all data collection rules in the specified resource group. |
list |
Lists all data collection rules in the specified subscription. |
update(string, string, Data |
Updates part of a data collection rule. |
Method Details
create(string, string, DataCollectionRulesCreateOptionalParams)
Creates or updates a data collection rule.
function create(resourceGroupName: string, dataCollectionRuleName: string, options?: DataCollectionRulesCreateOptionalParams): Promise<DataCollectionRuleResource>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- dataCollectionRuleName
-
string
The name of the data collection rule. The name is case insensitive.
The options parameters.
Returns
Promise<DataCollectionRuleResource>
delete(string, string, DataCollectionRulesDeleteOptionalParams)
Deletes a data collection rule.
function delete(resourceGroupName: string, dataCollectionRuleName: string, options?: DataCollectionRulesDeleteOptionalParams): Promise<void>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- dataCollectionRuleName
-
string
The name of the data collection rule. The name is case insensitive.
The options parameters.
Returns
Promise<void>
get(string, string, DataCollectionRulesGetOptionalParams)
Returns the specified data collection rule.
function get(resourceGroupName: string, dataCollectionRuleName: string, options?: DataCollectionRulesGetOptionalParams): Promise<DataCollectionRuleResource>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- dataCollectionRuleName
-
string
The name of the data collection rule. The name is case insensitive.
The options parameters.
Returns
Promise<DataCollectionRuleResource>
listByResourceGroup(string, DataCollectionRulesListByResourceGroupOptionalParams)
Lists all data collection rules in the specified resource group.
function listByResourceGroup(resourceGroupName: string, options?: DataCollectionRulesListByResourceGroupOptionalParams): PagedAsyncIterableIterator<DataCollectionRuleResource, DataCollectionRuleResource[], PageSettings>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
The options parameters.
Returns
listBySubscription(DataCollectionRulesListBySubscriptionOptionalParams)
Lists all data collection rules in the specified subscription.
function listBySubscription(options?: DataCollectionRulesListBySubscriptionOptionalParams): PagedAsyncIterableIterator<DataCollectionRuleResource, DataCollectionRuleResource[], PageSettings>
Parameters
The options parameters.
Returns
update(string, string, DataCollectionRulesUpdateOptionalParams)
Updates part of a data collection rule.
function update(resourceGroupName: string, dataCollectionRuleName: string, options?: DataCollectionRulesUpdateOptionalParams): Promise<DataCollectionRuleResource>
Parameters
- resourceGroupName
-
string
The name of the resource group. The name is case insensitive.
- dataCollectionRuleName
-
string
The name of the data collection rule. The name is case insensitive.
The options parameters.
Returns
Promise<DataCollectionRuleResource>