IWithRoleAssignmentBeta.WithNewRoleInResourceGroup Method
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.
Assigns a new role to the service principal.
public Microsoft.Azure.Management.Graph.RBAC.Fluent.ServicePrincipal.Update.IUpdate WithNewRoleInResourceGroup (Microsoft.Azure.Management.Graph.RBAC.Fluent.BuiltInRole role, Microsoft.Azure.Management.ResourceManager.Fluent.IResourceGroup resourceGroup);
abstract member WithNewRoleInResourceGroup : Microsoft.Azure.Management.Graph.RBAC.Fluent.BuiltInRole * Microsoft.Azure.Management.ResourceManager.Fluent.IResourceGroup -> Microsoft.Azure.Management.Graph.RBAC.Fluent.ServicePrincipal.Update.IUpdate
Public Function WithNewRoleInResourceGroup (role As BuiltInRole, resourceGroup As IResourceGroup) As IUpdate
- role
- BuiltInRole
The role to assign to the service principal.
- resourceGroup
- IResourceGroup
The resource group the service principal can access.
Feedback su Azure SDK for .NET
Azure SDK for .NET è un progetto di open source. Selezionare un collegamento per fornire feedback: