Dela via


ServicePrincipalImpl.WithNewRoleInResourceGroup Method

Definition

public Microsoft.Azure.Management.Graph.RBAC.Fluent.ServicePrincipalImpl WithNewRoleInResourceGroup (Microsoft.Azure.Management.Graph.RBAC.Fluent.BuiltInRole role, Microsoft.Azure.Management.ResourceManager.Fluent.IResourceGroup resourceGroup);
member this.WithNewRoleInResourceGroup : Microsoft.Azure.Management.Graph.RBAC.Fluent.BuiltInRole * Microsoft.Azure.Management.ResourceManager.Fluent.IResourceGroup -> Microsoft.Azure.Management.Graph.RBAC.Fluent.ServicePrincipalImpl
Public Function WithNewRoleInResourceGroup (role As BuiltInRole, resourceGroup As IResourceGroup) As ServicePrincipalImpl

Parameters

resourceGroup
IResourceGroup

Returns

Applies to