VirtualMachineScaleSet.DefinitionStages.WithNetworkSecurityGroup Interface

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 Type Method and Description
abstract WithCreate withExistingNetworkSecurityGroup(NetworkSecurityGroup networkSecurityGroup)

Specifies the network security group for the virtual machine scale set.

abstract WithCreate withExistingNetworkSecurityGroupId(String networkSecurityGroupId)

Specifies the network security group for the virtual machine scale set.

Method Details

withExistingNetworkSecurityGroup

public abstract VirtualMachineScaleSet.DefinitionStages.WithCreate 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 definition

withExistingNetworkSecurityGroupId

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

Applies to