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 Summary
Modifier and TypeMethodDescriptionwithExistingNetworkSecurityGroup(com.azure.resourcemanager.network.models.NetworkSecurityGroup networkSecurityGroup) Specifies the network security group for the virtual machine scale set.withExistingNetworkSecurityGroupId(String networkSecurityGroupId) Specifies the network security group for the virtual machine scale set.Specifies that network security group association should be removed if exists.
-
Method Details
-
withExistingNetworkSecurityGroup
VirtualMachineScaleSet.UpdateStages.WithApply withExistingNetworkSecurityGroup(com.azure.resourcemanager.network.models.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
-