ArmNetworkModelFactory.NetworkIPConfiguration 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 NetworkIPConfiguration.
public static Azure.ResourceManager.Network.Models.NetworkIPConfiguration NetworkIPConfiguration (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType? resourceType = default, Azure.ETag? etag = default, string privateIPAddress = default, Azure.ResourceManager.Network.Models.NetworkIPAllocationMethod? privateIPAllocationMethod = default, Azure.ResourceManager.Network.SubnetData subnet = default, Azure.ResourceManager.Network.PublicIPAddressData publicIPAddress = default, Azure.ResourceManager.Network.Models.NetworkProvisioningState? provisioningState = default);
static member NetworkIPConfiguration : Azure.Core.ResourceIdentifier * string * Nullable<Azure.Core.ResourceType> * Nullable<Azure.ETag> * string * Nullable<Azure.ResourceManager.Network.Models.NetworkIPAllocationMethod> * Azure.ResourceManager.Network.SubnetData * Azure.ResourceManager.Network.PublicIPAddressData * Nullable<Azure.ResourceManager.Network.Models.NetworkProvisioningState> -> Azure.ResourceManager.Network.Models.NetworkIPConfiguration
Public Shared Function NetworkIPConfiguration (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 privateIPAddress As String = Nothing, Optional privateIPAllocationMethod As Nullable(Of NetworkIPAllocationMethod) = Nothing, Optional subnet As SubnetData = Nothing, Optional publicIPAddress As PublicIPAddressData = Nothing, Optional provisioningState As Nullable(Of NetworkProvisioningState) = Nothing) As NetworkIPConfiguration
Parameters
Resource ID.
- name
- String
Resource name.
- resourceType
- Nullable<ResourceType>
Resource type.
- privateIPAddress
- String
The private IP address of the IP configuration.
- privateIPAllocationMethod
- Nullable<NetworkIPAllocationMethod>
The private IP address allocation method.
- subnet
- SubnetData
The reference to the subnet resource.
- publicIPAddress
- PublicIPAddressData
The reference to the public IP resource.
- provisioningState
- Nullable<NetworkProvisioningState>
The provisioning state of the IP configuration resource.
Returns
A new NetworkIPConfiguration instance for mocking.
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for .NET