Subnet.UpdateDefinitionStages.WithNetworkSecurityGroup<ParentT> Interface
Type Parameters
- ParentT
the stage of the parent definition to return to after attaching this definition
public static interface Subnet.UpdateDefinitionStages.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.UpdateDefinitionStages.WithAttach
Assigns an existing network security group to this subnet.
Parameters:
Returns:
withExistingNetworkSecurityGroup
public abstract Subnet.UpdateDefinitionStages.WithAttach
Assigns an existing network security group to this subnet.
Parameters:
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for