Subnet.UpdateStages.WithNetworkSecurityGroup Interface
public static interface Subnet.UpdateStages.WithNetworkSecurityGroup
The stage of the subnet update allowing to change the network security group to assign to the subnet.
Method Summary
Modifier and Type | Method and Description |
---|---|
abstract Update |
withExistingNetworkSecurityGroup(NetworkSecurityGroup nsg)
Assigns an existing network security group to this subnet. |
abstract Update |
withExistingNetworkSecurityGroup(String resourceId)
Assigns an existing network security group to this subnet. |
abstract Update |
withoutNetworkSecurityGroup()
Removes the association of this subnet with any network security group. |
Method Details
withExistingNetworkSecurityGroup
public abstract Subnet.Update withExistingNetworkSecurityGroup(NetworkSecurityGroup nsg)
Assigns an existing network security group to this subnet.
Parameters:
Returns:
withExistingNetworkSecurityGroup
public abstract Subnet.Update withExistingNetworkSecurityGroup(String resourceId)
Assigns an existing network security group to this subnet.
Parameters:
Returns:
withoutNetworkSecurityGroup
public abstract Subnet.Update withoutNetworkSecurityGroup()
Removes the association of this subnet with any network security group.
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