共用方式為


ArmNetworkFunctionModelFactory.AzureTrafficCollectorData Method

Definition

Initializes a new instance of AzureTrafficCollectorData.

public static Azure.ResourceManager.NetworkFunction.AzureTrafficCollectorData AzureTrafficCollectorData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType resourceType = default, Azure.ResourceManager.Models.SystemData systemData = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.Core.AzureLocation location = default, Azure.ETag? etag = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Resources.Models.SubResource> collectorPolicies = default, Azure.Core.ResourceIdentifier virtualHubId = default, Azure.ResourceManager.NetworkFunction.Models.CollectorProvisioningState? provisioningState = default);
static member AzureTrafficCollectorData : Azure.Core.ResourceIdentifier * string * Azure.Core.ResourceType * Azure.ResourceManager.Models.SystemData * System.Collections.Generic.IDictionary<string, string> * Azure.Core.AzureLocation * Nullable<Azure.ETag> * seq<Azure.ResourceManager.Resources.Models.SubResource> * Azure.Core.ResourceIdentifier * Nullable<Azure.ResourceManager.NetworkFunction.Models.CollectorProvisioningState> -> Azure.ResourceManager.NetworkFunction.AzureTrafficCollectorData
Public Shared Function AzureTrafficCollectorData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As ResourceType = Nothing, Optional systemData As SystemData = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional location As AzureLocation = Nothing, Optional etag As Nullable(Of ETag) = Nothing, Optional collectorPolicies As IEnumerable(Of SubResource) = Nothing, Optional virtualHubId As ResourceIdentifier = Nothing, Optional provisioningState As Nullable(Of CollectorProvisioningState) = Nothing) As AzureTrafficCollectorData

Parameters

id
ResourceIdentifier

The id.

name
String

The name.

resourceType
ResourceType

The resourceType.

systemData
SystemData

The systemData.

tags
IDictionary<String,String>

The tags.

location
AzureLocation

The location.

etag
Nullable<ETag>

A unique read-only string that changes whenever the resource is updated.

collectorPolicies
IEnumerable<SubResource>

Collector Policies for Azure Traffic Collector.

virtualHubId
ResourceIdentifier

The virtualHub to which the Azure Traffic Collector belongs.

provisioningState
Nullable<CollectorProvisioningState>

The provisioning state of the application rule collection resource.

Returns

A new AzureTrafficCollectorData instance for mocking.

Applies to