VirtualMachineScaleSet.UpdateStages.WithRoleAndScopeOrApply Interface
public interface WithRoleAndScopeOrApply extends VirtualMachineScaleSet.UpdateStages.WithApply
The stage of the Managed Service Identity enabled virtual machine allowing to set role assignment for a scope.
Method Summary
Modifier and Type | Method and Description |
---|---|
Virtual |
withRoleBasedAccessTo(String scope, 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 ARM resource identified by the resource ID specified in the scope parameter. |
Virtual |
withRoleBasedAccessToCurrentResourceGroup(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. |
Virtual |
withRoleDefinitionBasedAccessTo(String scope, String roleDefinitionId)
Specifies that applications running on the virtual machine scale set instance requires the access described in the given role definition with scope of access limited to the ARM resource identified by the resource ID specified in the scope parameter. |
Virtual |
withRoleDefinitionBasedAccessToCurrentResourceGroup(String roleDefinitionId)
Specifies that applications running on the virtual machine scale set instance requires the access described in the given role definition with scope of access limited to the current resource group that the virtual machine scale set resides. |
Inherited Members
Method Details
withRoleBasedAccessTo
public WithRoleAndScopeOrApply withRoleBasedAccessTo(String scope, 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 ARM resource identified by the resource ID specified in the scope parameter.
Parameters:
Returns:
withRoleBasedAccessToCurrentResourceGroup
public WithRoleAndScopeOrApply withRoleBasedAccessToCurrentResourceGroup(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.
Parameters:
Returns:
withRoleDefinitionBasedAccessTo
public WithRoleAndScopeOrApply withRoleDefinitionBasedAccessTo(String scope, String roleDefinitionId)
Specifies that applications running on the virtual machine scale set instance requires the access described in the given role definition with scope of access limited to the ARM resource identified by the resource ID specified in the scope parameter.
Parameters:
Returns:
withRoleDefinitionBasedAccessToCurrentResourceGroup
public WithRoleAndScopeOrApply withRoleDefinitionBasedAccessToCurrentResourceGroup(String roleDefinitionId)
Specifies that applications running on the virtual machine scale set instance requires the access described in the given role definition with scope of access limited to the current resource group that the virtual machine scale set resides.
Parameters:
Returns:
Applies to
Azure SDK for Java
Comentarios
https://aka.ms/ContentUserFeedback.
Próximamente: A lo largo de 2024 iremos eliminando gradualmente las Cuestiones de GitHub como mecanismo de retroalimentación para el contenido y lo sustituiremos por un nuevo sistema de retroalimentación. Para más información, consulta:Enviar y ver comentarios de