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.WithNetworkSecurityGroupThe stage of the virtual machine scale set update allowing to configure network security group.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description VirtualMachineScaleSet.UpdateStages.WithApplywithExistingNetworkSecurityGroup(NetworkSecurityGroup networkSecurityGroup)Specifies the network security group for the virtual machine scale set.VirtualMachineScaleSet.UpdateStages.WithApplywithExistingNetworkSecurityGroupId(String networkSecurityGroupId)Specifies the network security group for the virtual machine scale set.VirtualMachineScaleSet.UpdateStages.WithApplywithoutNetworkSecurityGroup()Specifies that network security group association should be removed if exists.
-
-
-
Method Detail
-
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
-
-