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