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