RoleAssignmentHelper.WithAccessToCurrentResourceGroup Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
WithAccessToCurrentResourceGroup(BuiltInRole) |
Specifies that applications running on an Azure service with this identity requires the given access role with scope of access limited to the current resource group that the identity resides. |
WithAccessToCurrentResourceGroup(String) |
Specifies that applications running on an Azure service with this identity requires the given access role with scope of access limited to the current resource group that the identity resides. |
WithAccessToCurrentResourceGroup(BuiltInRole)
Specifies that applications running on an Azure service with this identity requires the given access role with scope of access limited to the current resource group that the identity resides.
public Microsoft.Azure.Management.Graph.RBAC.Fluent.RoleAssignmentHelper WithAccessToCurrentResourceGroup (Microsoft.Azure.Management.Graph.RBAC.Fluent.BuiltInRole role);
member this.WithAccessToCurrentResourceGroup : Microsoft.Azure.Management.Graph.RBAC.Fluent.BuiltInRole -> Microsoft.Azure.Management.Graph.RBAC.Fluent.RoleAssignmentHelper
Public Function WithAccessToCurrentResourceGroup (role As BuiltInRole) As RoleAssignmentHelper
Parameters
- role
- BuiltInRole
Access role to assigned to the identity.
Returns
Applies to
WithAccessToCurrentResourceGroup(String)
Specifies that applications running on an Azure service with this identity requires the given access role with scope of access limited to the current resource group that the identity resides.
public Microsoft.Azure.Management.Graph.RBAC.Fluent.RoleAssignmentHelper WithAccessToCurrentResourceGroup (string roleDefinitionId);
member this.WithAccessToCurrentResourceGroup : string -> Microsoft.Azure.Management.Graph.RBAC.Fluent.RoleAssignmentHelper
Public Function WithAccessToCurrentResourceGroup (roleDefinitionId As String) As RoleAssignmentHelper
Parameters
- roleDefinitionId
- String
access role definition to assigned to the identity.
Returns
Applies to
Azure SDK for .NET
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for