Interface VirtualMachineScaleSet.DefinitionStages.WithNetworkSecurityGroup
- All Known Subinterfaces:
VirtualMachineScaleSet.DefinitionManaged, VirtualMachineScaleSet.DefinitionManagedOrUnmanaged, VirtualMachineScaleSet.DefinitionShared, VirtualMachineScaleSet.DefinitionStages.WithCreate, VirtualMachineScaleSet.DefinitionStages.WithLinuxCreateManaged, VirtualMachineScaleSet.DefinitionStages.WithLinuxCreateManagedOrUnmanaged, VirtualMachineScaleSet.DefinitionStages.WithLinuxCreateUnmanaged, VirtualMachineScaleSet.DefinitionStages.WithManagedCreate, VirtualMachineScaleSet.DefinitionStages.WithSystemAssignedIdentityBasedAccessOrCreate, VirtualMachineScaleSet.DefinitionStages.WithUnmanagedCreate, VirtualMachineScaleSet.DefinitionStages.WithWindowsCreateManaged, VirtualMachineScaleSet.DefinitionStages.WithWindowsCreateManagedOrUnmanaged, VirtualMachineScaleSet.DefinitionStages.WithWindowsCreateUnmanaged, VirtualMachineScaleSet.DefinitionUnmanaged
- Enclosing interface:
VirtualMachineScaleSet.DefinitionStages
public static interface VirtualMachineScaleSet.DefinitionStages.WithNetworkSecurityGroup
The stage of the virtual machine scale set definition 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.
-
Method Details
-
withExistingNetworkSecurityGroup
VirtualMachineScaleSet.DefinitionStages.WithCreate 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 definition
-
withExistingNetworkSecurityGroupId
VirtualMachineScaleSet.DefinitionStages.WithCreate 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 definition
-