Share via


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

IWithAttach<ParentT> 接口

定义

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

public interface IWithAttach<ParentT> : Microsoft.Azure.Management.Network.Fluent.Subnet.UpdateDefinition.IWithNetworkSecurityGroup<ParentT>, Microsoft.Azure.Management.Network.Fluent.Subnet.UpdateDefinition.IWithRouteTable<ParentT>, Microsoft.Azure.Management.Network.Fluent.Subnet.UpdateDefinition.IWithServiceEndpoint<ParentT>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.ChildResource.Update.IInUpdate<ParentT>, Microsoft.Azure.Management.ResourceManager.Fluent.Core.IBeta
type IWithAttach<'ParentT> = interface
    interface IInUpdate<'ParentT>
    interface IWithNetworkSecurityGroup<'ParentT>
    interface IWithRouteTable<'ParentT>
    interface IWithServiceEndpoint<'ParentT>
    interface IBeta
Public Interface IWithAttach(Of ParentT)
Implements IBeta, IInUpdate(Of ParentT), IWithNetworkSecurityGroup(Of ParentT), IWithRouteTable(Of ParentT), IWithServiceEndpoint(Of ParentT)

类型参数

ParentT

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

派生
实现

方法

Attach()

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

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

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

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

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

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

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

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

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

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

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

(继承自 IWithRouteTable<ParentT>)

适用于