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 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