Machine Scale Set. Update Stages. With Role And Scope OrApply. with Role Based Access ToCurrent Resource Group(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)
access role to assigned to the virtual machine scale set
the next stage of the update