Interface Subnet.UpdateStages.WithNetworkSecurityGroup
- All Known Subinterfaces:
Subnet.Update
- Enclosing interface:
- Subnet.UpdateStages
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 TypeMethodDescriptionAssigns an existing network security group to this subnet.withExistingNetworkSecurityGroup(String resourceId) Assigns an existing network security group to this subnet.Removes the association of this subnet with any network security group.
-
Method Details
-
withExistingNetworkSecurityGroup
Assigns an existing network security group to this subnet.- Parameters:
resourceId- the resource ID of the network security group- Returns:
- the next stage of the update
-
withExistingNetworkSecurityGroup
Assigns an existing network security group to this subnet.- Parameters:
nsg- the network security group to assign- Returns:
- the next stage of the update
-
withoutNetworkSecurityGroup
Subnet.Update withoutNetworkSecurityGroup()Removes the association of this subnet with any network security group.- Returns:
- the next stage of the update
-