VirtualMachineScaleSet.UpdateStages.WithRoleAndScopeOrApply.withRoleBasedAccessToCurrentResourceGroup(BuiltInRole asRole) 方法

定义

Specifies that applications running on the virtual machine scale set instance requires the given access role with scope of access limited to the current resource group that the virtual machine scale set resides.

public WithRoleAndScopeOrApply withRoleBasedAccessToCurrentResourceGroup(BuiltInRole asRole)

参数

asRole
BuiltInRole

access role to assigned to the virtual machine scale set

返回

适用于