ParentT - the stage of the parent definition to return to after attaching this definitionpublic static interface Subnet.UpdateDefinitionStages.WithNetworkSecurityGroup<ParentT>
| Modifier and Type | Method and Description |
|---|---|
Subnet.UpdateDefinitionStages.WithAttach<ParentT> |
withExistingNetworkSecurityGroup(NetworkSecurityGroup nsg)
Assigns an existing network security group to this subnet.
|
Subnet.UpdateDefinitionStages.WithAttach<ParentT> |
withExistingNetworkSecurityGroup(String resourceId)
Assigns an existing network security group to this subnet.
|
Subnet.UpdateDefinitionStages.WithAttach<ParentT> withExistingNetworkSecurityGroup(String resourceId)
resourceId - the resource ID of the network security groupSubnet.UpdateDefinitionStages.WithAttach<ParentT> withExistingNetworkSecurityGroup(NetworkSecurityGroup nsg)
nsg - the network security group to assignCopyright © 2020 Microsoft Corporation. All rights reserved.