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
フィードバック
https://aka.ms/ContentUserFeedback」を参照してください。
以下は間もなく提供いたします。2024 年を通じて、コンテンツのフィードバック メカニズムとして GitHub の issue を段階的に廃止し、新しいフィードバック システムに置き換えます。 詳細については、「フィードバックの送信と表示