ArmMonitorModelFactory.DataCollectionRuleAssociationData Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public static Azure.ResourceManager.Monitor.DataCollectionRuleAssociationData DataCollectionRuleAssociationData(Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, string description = default, Azure.Core.ResourceIdentifier dataCollectionRuleId = default, Azure.Core.ResourceIdentifier dataCollectionEndpointId = default, Azure.ResourceManager.Monitor.Models.DataCollectionRuleAssociationProvisioningState? provisioningState = default, Azure.ResourceManager.Monitor.Models.DataCollectionRuleAssociationMetadata metadata = default, Azure.ETag? eTag = default);
static member DataCollectionRuleAssociationData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * string * Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier * Nullable<Azure.ResourceManager.Monitor.Models.DataCollectionRuleAssociationProvisioningState> * Azure.ResourceManager.Monitor.Models.DataCollectionRuleAssociationMetadata * Nullable<Azure.ETag> -> Azure.ResourceManager.Monitor.DataCollectionRuleAssociationData
Public Shared Function DataCollectionRuleAssociationData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional description As String = Nothing, Optional dataCollectionRuleId As ResourceIdentifier = Nothing, Optional dataCollectionEndpointId As ResourceIdentifier = Nothing, Optional provisioningState As Nullable(Of DataCollectionRuleAssociationProvisioningState) = Nothing, Optional metadata As DataCollectionRuleAssociationMetadata = Nothing, Optional eTag As Nullable(Of ETag) = Nothing) As DataCollectionRuleAssociationData
Parameters
Fully qualified resource ID for the resource. Ex - /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}.
- name
- String
The name of the resource.
- resourceType
- ResourceType
The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts".
- systemData
- SystemData
Azure Resource Manager metadata containing createdBy and modifiedBy information.
- description
- String
Description of the association.
- dataCollectionRuleId
- ResourceIdentifier
The resource ID of the data collection rule that is to be associated.
- dataCollectionEndpointId
- ResourceIdentifier
The resource ID of the data collection endpoint that is to be associated.
- provisioningState
- Nullable<DataCollectionRuleAssociationProvisioningState>
The resource provisioning state.
Metadata about the resource.
Returns
A new DataCollectionRuleAssociationData instance for mocking.