Compartilhar via


ServicePrincipalImpl.IWithRoleAssignmentBeta.WithNewRoleInSubscription Método

Definição

Atribui uma nova função à entidade de serviço.

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

Parâmetros

role
BuiltInRole

A função a ser atribuída à entidade de serviço.

subscriptionId
String

A assinatura que a entidade de serviço pode acessar.

Retornos

Implementações

Aplica-se a