Share via


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

IWithAttach<ParentT> 接口

定义

子网定义的最后一个阶段。 在此阶段,可以指定任何剩余的可选设置,也可以将子网定义附加到父虚拟网络定义。

public interface 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 IWithAttach<'ParentT> = interface
    interface IInDefinition<'ParentT>
    interface IWithNetworkSecurityGroup<'ParentT>
    interface IWithRouteTable<'ParentT>
    interface IWithServiceEndpoint<'ParentT>
    interface IBeta
    interface IWithDelegation<'ParentT>
Public Interface IWithAttach(Of ParentT)
Implements IBeta, IInDefinition(Of ParentT), IWithDelegation(Of ParentT), IWithNetworkSecurityGroup(Of ParentT), IWithRouteTable(Of ParentT), IWithServiceEndpoint(Of ParentT)

类型参数

ParentT

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

派生
实现

方法

Attach()

子网定义的最后一个阶段。 在此阶段,可以指定任何剩余的可选设置,也可以将子网定义附加到父虚拟网络定义。

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

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

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

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

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

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

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

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

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

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

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

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

(继承自 IWithRouteTable<ParentT>)

适用于