VirtualMachine.DefinitionStages.WithRoleAndScopeOrCreate.withRoleBasedAccessToCurrentResourceGroup(BuiltInRole asRole) 方法

定义

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

public WithRoleAndScopeOrCreate withRoleBasedAccessToCurrentResourceGroup(BuiltInRole asRole)

参数

asRole
BuiltInRole

access role to assigned to the virtual machine

返回

适用于