共用方式為


SubnetInner Constructors

Definition

Overloads

SubnetInner()

Initializes a new instance of the SubnetInner class.

SubnetInner(String, String, IList<String>, SubResource, SubResource, SubResource, IList<ServiceEndpointPropertiesFormat>, IList<ServiceEndpointPolicyInner>, IList<PrivateEndpointInner>, IList<IPConfigurationInner>, IList<IPConfigurationProfileInner>, IList<ResourceNavigationLinkInner>, IList<ServiceAssociationLinkInner>, IList<DelegationInner>, String, ProvisioningState, String, String, String, String)

Initializes a new instance of the SubnetInner class.

SubnetInner()

Initializes a new instance of the SubnetInner class.

public SubnetInner ();
Public Sub New ()

Applies to

SubnetInner(String, String, IList<String>, SubResource, SubResource, SubResource, IList<ServiceEndpointPropertiesFormat>, IList<ServiceEndpointPolicyInner>, IList<PrivateEndpointInner>, IList<IPConfigurationInner>, IList<IPConfigurationProfileInner>, IList<ResourceNavigationLinkInner>, IList<ServiceAssociationLinkInner>, IList<DelegationInner>, String, ProvisioningState, String, String, String, String)

Initializes a new instance of the SubnetInner class.

public SubnetInner (string id = default, string addressPrefix = default, System.Collections.Generic.IList<string> addressPrefixes = default, Microsoft.Azure.Management.ResourceManager.Fluent.SubResource networkSecurityGroup = default, Microsoft.Azure.Management.ResourceManager.Fluent.SubResource routeTable = default, Microsoft.Azure.Management.ResourceManager.Fluent.SubResource natGateway = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Fluent.Models.ServiceEndpointPropertiesFormat> serviceEndpoints = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Fluent.Models.ServiceEndpointPolicyInner> serviceEndpointPolicies = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Fluent.Models.PrivateEndpointInner> privateEndpoints = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Fluent.Models.IPConfigurationInner> ipConfigurations = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Fluent.Models.IPConfigurationProfileInner> ipConfigurationProfiles = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Fluent.Models.ResourceNavigationLinkInner> resourceNavigationLinks = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Fluent.Models.ServiceAssociationLinkInner> serviceAssociationLinks = default, System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Fluent.Models.DelegationInner> delegations = default, string purpose = default, Microsoft.Azure.Management.Network.Fluent.Models.ProvisioningState provisioningState = default, string privateEndpointNetworkPolicies = default, string privateLinkServiceNetworkPolicies = default, string name = default, string etag = default);
new Microsoft.Azure.Management.Network.Fluent.Models.SubnetInner : string * string * System.Collections.Generic.IList<string> * Microsoft.Azure.Management.ResourceManager.Fluent.SubResource * Microsoft.Azure.Management.ResourceManager.Fluent.SubResource * Microsoft.Azure.Management.ResourceManager.Fluent.SubResource * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Fluent.Models.ServiceEndpointPropertiesFormat> * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Fluent.Models.ServiceEndpointPolicyInner> * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Fluent.Models.PrivateEndpointInner> * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Fluent.Models.IPConfigurationInner> * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Fluent.Models.IPConfigurationProfileInner> * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Fluent.Models.ResourceNavigationLinkInner> * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Fluent.Models.ServiceAssociationLinkInner> * System.Collections.Generic.IList<Microsoft.Azure.Management.Network.Fluent.Models.DelegationInner> * string * Microsoft.Azure.Management.Network.Fluent.Models.ProvisioningState * string * string * string * string -> Microsoft.Azure.Management.Network.Fluent.Models.SubnetInner
Public Sub New (Optional id As String = Nothing, Optional addressPrefix As String = Nothing, Optional addressPrefixes As IList(Of String) = Nothing, Optional networkSecurityGroup As SubResource = Nothing, Optional routeTable As SubResource = Nothing, Optional natGateway As SubResource = Nothing, Optional serviceEndpoints As IList(Of ServiceEndpointPropertiesFormat) = Nothing, Optional serviceEndpointPolicies As IList(Of ServiceEndpointPolicyInner) = Nothing, Optional privateEndpoints As IList(Of PrivateEndpointInner) = Nothing, Optional ipConfigurations As IList(Of IPConfigurationInner) = Nothing, Optional ipConfigurationProfiles As IList(Of IPConfigurationProfileInner) = Nothing, Optional resourceNavigationLinks As IList(Of ResourceNavigationLinkInner) = Nothing, Optional serviceAssociationLinks As IList(Of ServiceAssociationLinkInner) = Nothing, Optional delegations As IList(Of DelegationInner) = Nothing, Optional purpose As String = Nothing, Optional provisioningState As ProvisioningState = Nothing, Optional privateEndpointNetworkPolicies As String = Nothing, Optional privateLinkServiceNetworkPolicies As String = Nothing, Optional name As String = Nothing, Optional etag As String = Nothing)

Parameters

id
String
addressPrefix
String

The address prefix for the subnet.

addressPrefixes
IList<String>

List of address prefixes for the subnet.

networkSecurityGroup
SubResource

The reference of the NetworkSecurityGroup resource.

routeTable
SubResource

The reference of the RouteTable resource.

natGateway
SubResource

Nat gateway associated with this subnet.

serviceEndpoints
IList<ServiceEndpointPropertiesFormat>

An array of service endpoints.

serviceEndpointPolicies
IList<ServiceEndpointPolicyInner>

An array of service endpoint policies.

privateEndpoints
IList<PrivateEndpointInner>

An array of references to private endpoints.

ipConfigurations
IList<IPConfigurationInner>

An array of references to the network interface IP configurations using subnet.

ipConfigurationProfiles
IList<IPConfigurationProfileInner>

Array of IP configuration profiles which reference this subnet.

resourceNavigationLinks
IList<ResourceNavigationLinkInner>

An array of references to the external resources using subnet.

serviceAssociationLinks
IList<ServiceAssociationLinkInner>

An array of references to services injecting into this subnet.

delegations
IList<DelegationInner>

An array of references to the delegations on the subnet.

purpose
String

A read-only string identifying the intention of use for this subnet based on delegations and other user-defined properties.

provisioningState
ProvisioningState

The provisioning state of the subnet resource. Possible values include: 'Succeeded', 'Updating', 'Deleting', 'Failed'

privateEndpointNetworkPolicies
String

Enable or Disable apply network policies on private end point in the subnet.

privateLinkServiceNetworkPolicies
String

Enable or Disable apply network policies on private link service in the subnet.

name
String

The name of the resource that is unique within a resource group. This name can be used to access the resource.

etag
String

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

Applies to