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
Feedback
https://aka.ms/ContentUserFeedback.
Binnenkort beschikbaar: In de loop van 2024 zullen we GitHub-problemen geleidelijk uitfaseren als het feedbackmechanisme voor inhoud en deze vervangen door een nieuw feedbacksysteem. Zie voor meer informatie:Feedback verzenden en weergeven voor