共用方式為


ArmHDInsightModelFactory.HDInsightIPConfiguration Method

Definition

Initializes a new instance of HDInsightIPConfiguration.

public static Azure.ResourceManager.HDInsight.Models.HDInsightIPConfiguration HDInsightIPConfiguration (Azure.Core.ResourceIdentifier id = default, string name = default, Azure.Core.ResourceType? resourceType = default, Azure.ResourceManager.HDInsight.Models.HDInsightPrivateLinkConfigurationProvisioningState? provisioningState = default, bool? isPrimary = default, System.Net.IPAddress privateIPAddress = default, Azure.ResourceManager.HDInsight.Models.HDInsightPrivateIPAllocationMethod? privateIPAllocationMethod = default, Azure.Core.ResourceIdentifier subnetId = default);
static member HDInsightIPConfiguration : Azure.Core.ResourceIdentifier * string * Nullable<Azure.Core.ResourceType> * Nullable<Azure.ResourceManager.HDInsight.Models.HDInsightPrivateLinkConfigurationProvisioningState> * Nullable<bool> * System.Net.IPAddress * Nullable<Azure.ResourceManager.HDInsight.Models.HDInsightPrivateIPAllocationMethod> * Azure.Core.ResourceIdentifier -> Azure.ResourceManager.HDInsight.Models.HDInsightIPConfiguration
Public Shared Function HDInsightIPConfiguration (Optional id As ResourceIdentifier = Nothing, Optional name As String = Nothing, Optional resourceType As Nullable(Of ResourceType) = Nothing, Optional provisioningState As Nullable(Of HDInsightPrivateLinkConfigurationProvisioningState) = Nothing, Optional isPrimary As Nullable(Of Boolean) = Nothing, Optional privateIPAddress As IPAddress = Nothing, Optional privateIPAllocationMethod As Nullable(Of HDInsightPrivateIPAllocationMethod) = Nothing, Optional subnetId As ResourceIdentifier = Nothing) As HDInsightIPConfiguration

Parameters

id
ResourceIdentifier

The private link IP configuration id.

name
String

The name of private link IP configuration.

resourceType
Nullable<ResourceType>

The type of the private link IP configuration.

provisioningState
Nullable<HDInsightPrivateLinkConfigurationProvisioningState>

The private link configuration provisioning state, which only appears in the response.

isPrimary
Nullable<Boolean>

Indicates whether this IP configuration is primary for the corresponding NIC.

privateIPAddress
IPAddress

The IP address.

privateIPAllocationMethod
Nullable<HDInsightPrivateIPAllocationMethod>

The method that private IP address is allocated.

subnetId
ResourceIdentifier

The subnet resource id.

Returns

A new HDInsightIPConfiguration instance for mocking.

Applies to