Sdílet prostřednictvím


ArmNetworkModelFactory.NetworkProfileData Method

Definition

Initializes a new instance of NetworkProfileData.

public static Azure.ResourceManager.Network.NetworkProfileData NetworkProfileData (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType? resourceType = default, Azure.Core.AzureLocation? location = default, System.Collections.Generic.IDictionary<string,string> tags = default, Azure.ETag? etag = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.ContainerNetworkInterface> containerNetworkInterfaces = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Network.Models.ContainerNetworkInterfaceConfiguration> containerNetworkInterfaceConfigurations = default, Guid? resourceGuid = default, Azure.ResourceManager.Network.Models.NetworkProvisioningState? provisioningState = default);
static member NetworkProfileData : Azure.Core.ResourceIdentifier * string * Nullable<Azure.Core.ResourceType> * Nullable<Azure.Core.AzureLocation> * System.Collections.Generic.IDictionary<string, string> * Nullable<Azure.ETag> * seq<Azure.ResourceManager.Network.Models.ContainerNetworkInterface> * seq<Azure.ResourceManager.Network.Models.ContainerNetworkInterfaceConfiguration> * Nullable<Guid> * Nullable<Azure.ResourceManager.Network.Models.NetworkProvisioningState> -> Azure.ResourceManager.Network.NetworkProfileData
Public Shared Function NetworkProfileData (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As Nullable(Of ResourceType) = Nothing, Optional location As Nullable(Of AzureLocation) = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional etag As Nullable(Of ETag) = Nothing, Optional containerNetworkInterfaces As IEnumerable(Of ContainerNetworkInterface) = Nothing, Optional containerNetworkInterfaceConfigurations As IEnumerable(Of ContainerNetworkInterfaceConfiguration) = Nothing, Optional resourceGuid As Nullable(Of Guid) = Nothing, Optional provisioningState As Nullable(Of NetworkProvisioningState) = Nothing) As NetworkProfileData

Parameters

id
ResourceIdentifier

Resource ID.

name
String

Resource name.

resourceType
Nullable<ResourceType>

Resource type.

location
Nullable<AzureLocation>

Resource location.

tags
IDictionary<String,String>

Resource tags.

etag
Nullable<ETag>

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

containerNetworkInterfaces
IEnumerable<ContainerNetworkInterface>

List of child container network interfaces.

containerNetworkInterfaceConfigurations
IEnumerable<ContainerNetworkInterfaceConfiguration>

List of chid container network interface configurations.

resourceGuid
Nullable<Guid>

The resource GUID property of the network profile resource.

provisioningState
Nullable<NetworkProvisioningState>

The provisioning state of the network profile resource.

Returns

A new NetworkProfileData instance for mocking.

Applies to