DataCollectionRuleAssociations interface   
Interface representing a DataCollectionRuleAssociations.
Methods
| create(string, string, Data | 
	Creates or updates an association.  | 
| delete(string, string, Data | 
	Deletes an association.  | 
| get(string, string, Data | 
	Returns the specified association.  | 
| list | 
	Lists associations for the specified resource.  | 
| list | 
	Lists associations for the specified data collection rule.  | 
Method Details
		create(string, string, DataCollectionRuleAssociationsCreateOptionalParams)
	      
	Creates or updates an association.
function create(resourceUri: string, associationName: string, options?: DataCollectionRuleAssociationsCreateOptionalParams): Promise<DataCollectionRuleAssociationProxyOnlyResource>
				Parameters
- resourceUri
 - 
				
string
 
The identifier of the resource.
- associationName
 - 
				
string
 
The name of the association. The name is case insensitive.
The options parameters.
Returns
		delete(string, string, DataCollectionRuleAssociationsDeleteOptionalParams)
	      
	Deletes an association.
function delete(resourceUri: string, associationName: string, options?: DataCollectionRuleAssociationsDeleteOptionalParams): Promise<void>
				Parameters
- resourceUri
 - 
				
string
 
The identifier of the resource.
- associationName
 - 
				
string
 
The name of the association. The name is case insensitive.
The options parameters.
Returns
Promise<void>
		get(string, string, DataCollectionRuleAssociationsGetOptionalParams)
	      
	Returns the specified association.
function get(resourceUri: string, associationName: string, options?: DataCollectionRuleAssociationsGetOptionalParams): Promise<DataCollectionRuleAssociationProxyOnlyResource>
				Parameters
- resourceUri
 - 
				
string
 
The identifier of the resource.
- associationName
 - 
				
string
 
The name of the association. The name is case insensitive.
The options parameters.
Returns
		listByResource(string, DataCollectionRuleAssociationsListByResourceOptionalParams)
	        
	Lists associations for the specified resource.
function listByResource(resourceUri: string, options?: DataCollectionRuleAssociationsListByResourceOptionalParams): PagedAsyncIterableIterator<DataCollectionRuleAssociationProxyOnlyResource, DataCollectionRuleAssociationProxyOnlyResource[], PageSettings>
				Parameters
- resourceUri
 - 
				
string
 
The identifier of the resource.
The options parameters.
Returns
		listByRule(string, string, DataCollectionRuleAssociationsListByRuleOptionalParams)
	        
	Lists associations for the specified data collection rule.
function listByRule(resourceGroupName: string, dataCollectionRuleName: string, options?: DataCollectionRuleAssociationsListByRuleOptionalParams): PagedAsyncIterableIterator<DataCollectionRuleAssociationProxyOnlyResource, DataCollectionRuleAssociationProxyOnlyResource[], PageSettings>
				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.