Partager via


ServicePrincipalImpl.IWithRoleAssignmentBeta.WithNewRoleInSubscription Méthode

Définition

Attribue un nouveau rôle au principal de service.

Microsoft.Azure.Management.Graph.RBAC.Fluent.ServicePrincipal.Definition.IWithCreate IWithRoleAssignmentBeta.WithNewRoleInSubscription (Microsoft.Azure.Management.Graph.RBAC.Fluent.BuiltInRole role, string subscriptionId);
abstract member Microsoft.Azure.Management.Graph.RBAC.Fluent.ServicePrincipal.Definition.IWithRoleAssignmentBeta.WithNewRoleInSubscription : Microsoft.Azure.Management.Graph.RBAC.Fluent.BuiltInRole * string -> Microsoft.Azure.Management.Graph.RBAC.Fluent.ServicePrincipal.Definition.IWithCreate
override this.Microsoft.Azure.Management.Graph.RBAC.Fluent.ServicePrincipal.Definition.IWithRoleAssignmentBeta.WithNewRoleInSubscription : Microsoft.Azure.Management.Graph.RBAC.Fluent.BuiltInRole * string -> Microsoft.Azure.Management.Graph.RBAC.Fluent.ServicePrincipal.Definition.IWithCreate
Function WithNewRoleInSubscription (role As BuiltInRole, subscriptionId As String) As IWithCreate Implements IWithRoleAssignmentBeta.WithNewRoleInSubscription

Paramètres

role
BuiltInRole

Rôle à attribuer au principal de service.

subscriptionId
String

Abonnement auquel le principal de service peut accéder.

Retours

Implémente

S’applique à