共用方式為


DataCollectionRuleAssociationCollection Class

Definition

A class representing a collection of DataCollectionRuleAssociationResource and their operations. Each DataCollectionRuleAssociationResource in the collection will belong to the same instance of ArmResource. To get a DataCollectionRuleAssociationCollection instance call the GetDataCollectionRuleAssociations method from an instance of ArmResource.

public class DataCollectionRuleAssociationCollection : Azure.ResourceManager.ArmCollection, System.Collections.Generic.IAsyncEnumerable<Azure.ResourceManager.Monitor.DataCollectionRuleAssociationResource>, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Monitor.DataCollectionRuleAssociationResource>
type DataCollectionRuleAssociationCollection = class
    inherit ArmCollection
    interface seq<DataCollectionRuleAssociationResource>
    interface IEnumerable
    interface IAsyncEnumerable<DataCollectionRuleAssociationResource>
Public Class DataCollectionRuleAssociationCollection
Inherits ArmCollection
Implements IAsyncEnumerable(Of DataCollectionRuleAssociationResource), IEnumerable(Of DataCollectionRuleAssociationResource)
Inheritance
DataCollectionRuleAssociationCollection
Implements

Constructors

DataCollectionRuleAssociationCollection()

Initializes a new instance of the DataCollectionRuleAssociationCollection class for mocking.

Properties

Client

Gets the ArmClient this resource client was created from.

(Inherited from ArmCollection)
Diagnostics

Gets the diagnostic options for this resource client.

(Inherited from ArmCollection)
Endpoint

Gets the base uri for this resource client.

(Inherited from ArmCollection)
Id

Gets the resource identifier.

(Inherited from ArmCollection)
Pipeline

Gets the pipeline for this resource client.

(Inherited from ArmCollection)

Methods

CreateOrUpdate(WaitUntil, String, DataCollectionRuleAssociationData, CancellationToken)

Creates or updates an association.

  • Request Path: /{resourceUri}/providers/Microsoft.Insights/dataCollectionRuleAssociations/{associationName}
  • Operation Id: DataCollectionRuleAssociations_Create
  • Default Api Version: 2022-06-01
  • Resource: DataCollectionRuleAssociationResource
CreateOrUpdateAsync(WaitUntil, String, DataCollectionRuleAssociationData, CancellationToken)

Creates or updates an association.

  • Request Path: /{resourceUri}/providers/Microsoft.Insights/dataCollectionRuleAssociations/{associationName}
  • Operation Id: DataCollectionRuleAssociations_Create
  • Default Api Version: 2022-06-01
  • Resource: DataCollectionRuleAssociationResource
Exists(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /{resourceUri}/providers/Microsoft.Insights/dataCollectionRuleAssociations/{associationName}
  • Operation Id: DataCollectionRuleAssociations_Get
  • Default Api Version: 2022-06-01
  • Resource: DataCollectionRuleAssociationResource
ExistsAsync(String, CancellationToken)

Checks to see if the resource exists in azure.

  • Request Path: /{resourceUri}/providers/Microsoft.Insights/dataCollectionRuleAssociations/{associationName}
  • Operation Id: DataCollectionRuleAssociations_Get
  • Default Api Version: 2022-06-01
  • Resource: DataCollectionRuleAssociationResource
Get(String, CancellationToken)

Returns the specified association.

  • Request Path: /{resourceUri}/providers/Microsoft.Insights/dataCollectionRuleAssociations/{associationName}
  • Operation Id: DataCollectionRuleAssociations_Get
  • Default Api Version: 2022-06-01
  • Resource: DataCollectionRuleAssociationResource
GetAll(CancellationToken)

Lists associations for the specified resource.

  • Request Path: /{resourceUri}/providers/Microsoft.Insights/dataCollectionRuleAssociations
  • Operation Id: DataCollectionRuleAssociations_ListByResource
  • Default Api Version: 2022-06-01
  • Resource: DataCollectionRuleAssociationResource
GetAllAsync(CancellationToken)

Lists associations for the specified resource.

  • Request Path: /{resourceUri}/providers/Microsoft.Insights/dataCollectionRuleAssociations
  • Operation Id: DataCollectionRuleAssociations_ListByResource
  • Default Api Version: 2022-06-01
  • Resource: DataCollectionRuleAssociationResource
GetAsync(String, CancellationToken)

Returns the specified association.

  • Request Path: /{resourceUri}/providers/Microsoft.Insights/dataCollectionRuleAssociations/{associationName}
  • Operation Id: DataCollectionRuleAssociations_Get
  • Default Api Version: 2022-06-01
  • Resource: DataCollectionRuleAssociationResource
GetIfExists(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /{resourceUri}/providers/Microsoft.Insights/dataCollectionRuleAssociations/{associationName}
  • Operation Id: DataCollectionRuleAssociations_Get
  • Default Api Version: 2022-06-01
  • Resource: DataCollectionRuleAssociationResource
GetIfExistsAsync(String, CancellationToken)

Tries to get details for this resource from the service.

  • Request Path: /{resourceUri}/providers/Microsoft.Insights/dataCollectionRuleAssociations/{associationName}
  • Operation Id: DataCollectionRuleAssociations_Get
  • Default Api Version: 2022-06-01
  • Resource: DataCollectionRuleAssociationResource
TryGetApiVersion(ResourceType, String)

Gets the api version override if it has been set for the current client options.

(Inherited from ArmCollection)

Explicit Interface Implementations

IAsyncEnumerable<DataCollectionRuleAssociationResource>.GetAsyncEnumerator(CancellationToken)

Returns an enumerator that iterates asynchronously through the collection.

IEnumerable.GetEnumerator()

Returns an enumerator that iterates through a collection.

IEnumerable<DataCollectionRuleAssociationResource>.GetEnumerator()

Returns an enumerator that iterates through the collection.

Applies to