Subnet.DefinitionStages.WithNetworkSecurityGroup<ParentT> Interface
Type Parameters
- ParentT
the stage of the parent definition to return to after attaching this definition
public static interface Subnet.DefinitionStages.WithNetworkSecurityGroup
The stage of the subnet definition allowing to specify the network security group to assign to the subnet.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract
With |
withExistingNetworkSecurityGroup(NetworkSecurityGroup nsg)
Assigns an existing network security group to this subnet. |
abstract
With |
withExistingNetworkSecurityGroup(String resourceId)
Assigns an existing network security group to this subnet. |
Method Details
withExistingNetworkSecurityGroup
public abstract Subnet.DefinitionStages.WithAttach
Assigns an existing network security group to this subnet.
Parameters:
Returns:
withExistingNetworkSecurityGroup
public abstract Subnet.DefinitionStages.WithAttach
Assigns an existing network security group to this subnet.
Parameters:
Returns:
Applies to
Azure SDK for Java
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin