Sdílet prostřednictvím


ArmNetworkModelFactory.NetworkIPConfigurationProfile Method

Definition

Initializes a new instance of NetworkIPConfigurationProfile.

public static Azure.ResourceManager.Network.Models.NetworkIPConfigurationProfile NetworkIPConfigurationProfile (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType? resourceType = default, Azure.ETag? etag = default, Azure.ResourceManager.Network.SubnetData subnet = default, Azure.ResourceManager.Network.Models.NetworkProvisioningState? provisioningState = default);
static member NetworkIPConfigurationProfile : Azure.Core.ResourceIdentifier * string * Nullable<Azure.Core.ResourceType> * Nullable<Azure.ETag> * Azure.ResourceManager.Network.SubnetData * Nullable<Azure.ResourceManager.Network.Models.NetworkProvisioningState> -> Azure.ResourceManager.Network.Models.NetworkIPConfigurationProfile
Public Shared Function NetworkIPConfigurationProfile (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As Nullable(Of ResourceType) = Nothing, Optional etag As Nullable(Of ETag) = Nothing, Optional subnet As SubnetData = Nothing, Optional provisioningState As Nullable(Of NetworkProvisioningState) = Nothing) As NetworkIPConfigurationProfile

Parameters

id
ResourceIdentifier

Resource ID.

name
String

Resource name.

resourceType
Nullable<ResourceType>

Resource type.

etag
Nullable<ETag>

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

subnet
SubnetData

The reference to the subnet resource to create a container network interface ip configuration.

provisioningState
Nullable<NetworkProvisioningState>

The provisioning state of the IP configuration profile resource.

Returns

A new NetworkIPConfigurationProfile instance for mocking.

Applies to