VirtualMachineScaleSet.UpdateStages.WithApplicationSecurityGroup Interface

public static interface VirtualMachineScaleSet.UpdateStages.WithApplicationSecurityGroup

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

Method Summary

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

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

abstract WithApply withExistingApplicationSecurityGroupId(String applicationSecurityGroupId)

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

abstract WithApply withoutApplicationSecurityGroup(String applicationSecurityGroupId)

Specifies that provided application security group should be removed from the virtual machine scale set.

Method Details

withExistingApplicationSecurityGroup

public abstract VirtualMachineScaleSet.UpdateStages.WithApply 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 update

withExistingApplicationSecurityGroupId

public abstract VirtualMachineScaleSet.UpdateStages.WithApply 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 update

withoutApplicationSecurityGroup

public abstract VirtualMachineScaleSet.UpdateStages.WithApply withoutApplicationSecurityGroup(String applicationSecurityGroupId)

Specifies that provided application security group should be removed from the virtual machine scale set.

Parameters:

applicationSecurityGroupId - the application security group id

Returns:

the next stage of the update

Applies to