Interface Subnet.UpdateStages.WithNetworkSecurityGroup
-
- All Known Subinterfaces:
Subnet.Update
- Enclosing interface:
- Subnet.UpdateStages
public static interface Subnet.UpdateStages.WithNetworkSecurityGroupThe stage of the subnet update allowing to change the network security group to assign to the subnet.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Subnet.UpdatewithExistingNetworkSecurityGroup(NetworkSecurityGroup nsg)Assigns an existing network security group to this subnet.Subnet.UpdatewithExistingNetworkSecurityGroup(String resourceId)Assigns an existing network security group to this subnet.Subnet.UpdatewithoutNetworkSecurityGroup()Removes the association of this subnet with any network security group.
-
-
-
Method Detail
-
withExistingNetworkSecurityGroup
Subnet.Update withExistingNetworkSecurityGroup(String resourceId)
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
Subnet.Update withExistingNetworkSecurityGroup(NetworkSecurityGroup nsg)
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
-
-