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.Update.IUpdate IWithRoleAssignmentBeta.WithNewRoleInSubscription (Microsoft.Azure.Management.Graph.RBAC.Fluent.BuiltInRole role, string subscriptionId);
abstract member Microsoft.Azure.Management.Graph.RBAC.Fluent.ServicePrincipal.Update.IWithRoleAssignmentBeta.WithNewRoleInSubscription : Microsoft.Azure.Management.Graph.RBAC.Fluent.BuiltInRole * string -> Microsoft.Azure.Management.Graph.RBAC.Fluent.ServicePrincipal.Update.IUpdate
override this.Microsoft.Azure.Management.Graph.RBAC.Fluent.ServicePrincipal.Update.IWithRoleAssignmentBeta.WithNewRoleInSubscription : Microsoft.Azure.Management.Graph.RBAC.Fluent.BuiltInRole * string -> Microsoft.Azure.Management.Graph.RBAC.Fluent.ServicePrincipal.Update.IUpdate
Function WithNewRoleInSubscription (role As BuiltInRole, subscriptionId As String) As IUpdate 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