Machine. Definition Stages. With Role And Scope OrCreate. with Role Definition Based Access ToCurrent Resource Group(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)
access role definition to assigned to the virtual machine
the next stage of the definition