Interface VirtualMachineScaleSet.UpdateStages.WithNetworkSecurityGroup

All Known Subinterfaces:
VirtualMachineScaleSet.Update, VirtualMachineScaleSet.UpdateStages.WithApply, VirtualMachineScaleSet.UpdateStages.WithPrimaryInternalLoadBalancer, VirtualMachineScaleSet.UpdateStages.WithPrimaryInternalLoadBalancerBackendOrNatPool, VirtualMachineScaleSet.UpdateStages.WithPrimaryInternalLoadBalancerNatPool, VirtualMachineScaleSet.UpdateStages.WithPrimaryInternetFacingLoadBalancerBackendOrNatPool, VirtualMachineScaleSet.UpdateStages.WithPrimaryInternetFacingLoadBalancerNatPool, VirtualMachineScaleSet.UpdateStages.WithPrimaryLoadBalancer, VirtualMachineScaleSet.UpdateStages.WithSystemAssignedIdentityBasedAccessOrApply
Enclosing interface:
VirtualMachineScaleSet.UpdateStages

public static interface VirtualMachineScaleSet.UpdateStages.WithNetworkSecurityGroup
The stage of the virtual machine scale set update allowing to configure network security group.
  • Method Details

    • withExistingNetworkSecurityGroup

      VirtualMachineScaleSet.UpdateStages.WithApply withExistingNetworkSecurityGroup(NetworkSecurityGroup networkSecurityGroup)
      Specifies the network security group for the virtual machine scale set.
      Parameters:
      networkSecurityGroup - the network security group to associate
      Returns:
      the next stage of the update
    • withExistingNetworkSecurityGroupId

      VirtualMachineScaleSet.UpdateStages.WithApply withExistingNetworkSecurityGroupId(String networkSecurityGroupId)
      Specifies the network security group for the virtual machine scale set.
      Parameters:
      networkSecurityGroupId - the network security group to associate
      Returns:
      the next stage of the update
    • withoutNetworkSecurityGroup

      VirtualMachineScaleSet.UpdateStages.WithApply withoutNetworkSecurityGroup()
      Specifies that network security group association should be removed if exists.
      Returns:
      the next stage of the update