Subnet.DefinitionStages.WithNetworkSecurityGroup<ParentT> Interface

定义

The stage of the subnet definition allowing to specify the network security group to assign to the subnet.

public interface WithNetworkSecurityGroup<ParentT>

类型参数

ParentT

the stage of the parent definition to return to after attaching this definition

方法

withExistingNetworkSecurityGroup(NetworkSecurityGroup nsg)

Assigns an existing network security group to this subnet.

withExistingNetworkSecurityGroup(String resourceId)

Assigns an existing network security group to this subnet.

适用于