你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

SubnetInner 构造函数

定义

重载

SubnetInner()

初始化 SubnetInner 类的新实例。

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)

初始化 SubnetInner 类的新实例。

SubnetInner()

初始化 SubnetInner 类的新实例。

public SubnetInner ();
Public Sub New ()

适用于

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)

初始化 SubnetInner 类的新实例。

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)

参数

id
String
addressPrefix
String

子网的地址前缀。

addressPrefixes
IList<String>

子网的地址前缀列表。

networkSecurityGroup
SubResource

NetworkSecurityGroup 资源的引用。

routeTable
SubResource

RouteTable 资源的引用。

natGateway
SubResource

与此子网关联的 Nat 网关。

serviceEndpoints
IList<ServiceEndpointPropertiesFormat>

服务终结点的数组。

serviceEndpointPolicies
IList<ServiceEndpointPolicyInner>

服务终结点策略的数组。

privateEndpoints
IList<PrivateEndpointInner>

对专用终结点的引用数组。

ipConfigurations
IList<IPConfigurationInner>

对使用子网的网络接口 IP 配置的引用数组。

ipConfigurationProfiles
IList<IPConfigurationProfileInner>

引用此子网的 IP 配置文件数组。

resourceNavigationLinks
IList<ResourceNavigationLinkInner>

使用子网对外部资源的引用数组。

serviceAssociationLinks
IList<ServiceAssociationLinkInner>

对注入到此子网中的服务的引用数组。

delegations
IList<DelegationInner>

对子网上的委托的引用数组。

purpose
String

一个只读字符串,根据委托和其他用户定义的属性标识此子网的使用意向。

provisioningState
ProvisioningState

子网资源的预配状态。 可能的值包括:“Succeeded”、“Updating”、“Deleting”、“Failed”

privateEndpointNetworkPolicies
String

启用或禁用在子网中的专用终结点应用网络策略。

privateLinkServiceNetworkPolicies
String

启用或禁用对子网中的专用链接服务应用网络策略。

name
String

资源组中唯一的资源的名称。 此名称可用于访问资源。

etag
String

一个唯一的只读字符串,每当资源更新时都会更改。

适用于