VirtualMachineScaleSet.DefinitionStages.WithApplicationSecurityGroup Interface

public static interface VirtualMachineScaleSet.DefinitionStages.WithApplicationSecurityGroup

The stage of the virtual machine scale set definition allowing to configure application security group.

Method Summary

Modifier and Type Method and Description
abstract WithCreate withExistingApplicationSecurityGroup(ApplicationSecurityGroup applicationSecurityGroup)

Specifies that provided application security group should be associated with the virtual machine scale set.

abstract WithCreate withExistingApplicationSecurityGroupId(String applicationSecurityGroupId)

Specifies that provided application security group should be associated with the virtual machine scale set.

Method Details

withExistingApplicationSecurityGroup

public abstract VirtualMachineScaleSet.DefinitionStages.WithCreate withExistingApplicationSecurityGroup(ApplicationSecurityGroup applicationSecurityGroup)

Specifies that provided application security group should be associated with the virtual machine scale set.

Parameters:

applicationSecurityGroup - the application security group

Returns:

the next stage of the definition

withExistingApplicationSecurityGroupId

public abstract VirtualMachineScaleSet.DefinitionStages.WithCreate withExistingApplicationSecurityGroupId(String applicationSecurityGroupId)

Specifies that provided application security group should be associated with the virtual machine scale set.

Parameters:

applicationSecurityGroupId - the application security group id

Returns:

the next stage of the definition

Applies to