VirtualMachine.DefinitionStages.WithRoleAndScopeOrCreate.withRoleDefinitionBasedAccessToCurrentResourceGroup(String roleDefinitionId) 方法

定义

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

public WithRoleAndScopeOrCreate withRoleDefinitionBasedAccessToCurrentResourceGroup(String roleDefinitionId)

参数

roleDefinitionId
String

access role definition to assigned to the virtual machine

返回

适用于