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.
Initializes a new instance of DataCollectionRuleAssociationData.
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, Azure.ETag? etag = 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);
static member DataCollectionRuleAssociationData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * Nullable<Azure.ETag> * string * Azure.Core.ResourceIdentifier * Azure.Core.ResourceIdentifier * Nullable<Azure.ResourceManager.Monitor.Models.DataCollectionRuleAssociationProvisioningState> * Azure.ResourceManager.Monitor.Models.DataCollectionRuleAssociationMetadata -> 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 etag As Nullable(Of ETag) = 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) As DataCollectionRuleAssociationData
Parameters
The id.
- name
- String
The name.
- resourceType
- ResourceType
The resourceType.
- systemData
- SystemData
The systemData.
- 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.