Share via


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

IDefinition<ParentT> 接口

定义

子网定义的全部。

public interface IDefinition<ParentT> : Microsoft.Azure.Management.Network.Fluent.Subnet.Definition.IBlank<ParentT>, Microsoft.Azure.Management.Network.Fluent.Subnet.Definition.IWithAddressPrefix<ParentT>, Microsoft.Azure.Management.Network.Fluent.Subnet.Definition.IWithAttach<ParentT>, Microsoft.Azure.Management.Network.Fluent.Subnet.Definition.IWithDelegation<ParentT>, Microsoft.Azure.Management.Network.Fluent.Subnet.Definition.IWithNetworkSecurityGroup<ParentT>, Microsoft.Azure.Management.Network.Fluent.Subnet.Definition.IWithRouteTable<ParentT>, Microsoft.Azure.Management.Network.Fluent.Subnet.Definition.IWithServiceEndpoint<ParentT>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ChildResource.Definition.IInDefinition<ParentT>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IBeta
type IDefinition<'ParentT> = interface
    interface IBlank<'ParentT>
    interface IWithAddressPrefix<'ParentT>
    interface IWithAttach<'ParentT>
    interface IInDefinition<'ParentT>
    interface IWithNetworkSecurityGroup<'ParentT>
    interface IWithRouteTable<'ParentT>
    interface IWithServiceEndpoint<'ParentT>
    interface IBeta
    interface IWithDelegation<'ParentT>
Public Interface IDefinition(Of ParentT)
Implements IBeta, IBlank(Of ParentT), IInDefinition(Of ParentT), IWithAddressPrefix(Of ParentT), IWithAttach(Of ParentT), IWithDelegation(Of ParentT), IWithNetworkSecurityGroup(Of ParentT), IWithRouteTable(Of ParentT), IWithServiceEndpoint(Of ParentT)

类型参数

ParentT

附加此定义后要返回到的父定义的阶段。

实现

方法

Attach()

子网定义的全部。

(继承自 IInDefinition<ParentT>)
WithAccessFromService(ServiceEndpointType)

指定要从中启用访问的服务终结点。

(继承自 IWithServiceEndpoint<ParentT>)
WithAddressPrefix(String)

指定子网在网络地址空间内的 IP 地址空间。

(继承自 IWithAddressPrefix<ParentT>)
WithDelegation(String)

指定子网委派的服务名称。

(继承自 IWithDelegation<ParentT>)
WithExistingNetworkSecurityGroup(INetworkSecurityGroup)

将现有网络安全组分配给此子网。

(继承自 IWithNetworkSecurityGroup<ParentT>)
WithExistingNetworkSecurityGroup(String)

将现有网络安全组分配给此子网。

(继承自 IWithNetworkSecurityGroup<ParentT>)
WithExistingRouteTable(IRouteTable)

指定要与子网关联的现有路由表。

(继承自 IWithRouteTable<ParentT>)
WithExistingRouteTable(String)

指定要与子网关联的现有路由表。

(继承自 IWithRouteTable<ParentT>)

适用于