Compartilhar via


ServicePrincipalImpl.IWithRoleAssignmentBeta.WithNewRole Método

Definição

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

Microsoft.Azure.Management.Graph.RBAC.Fluent.ServicePrincipal.Definition.IWithCreate IWithRoleAssignmentBeta.WithNewRole (Microsoft.Azure.Management.Graph.RBAC.Fluent.BuiltInRole role, string scope);
abstract member Microsoft.Azure.Management.Graph.RBAC.Fluent.ServicePrincipal.Definition.IWithRoleAssignmentBeta.WithNewRole : 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.WithNewRole : Microsoft.Azure.Management.Graph.RBAC.Fluent.BuiltInRole * string -> Microsoft.Azure.Management.Graph.RBAC.Fluent.ServicePrincipal.Definition.IWithCreate
Function WithNewRole (role As BuiltInRole, scope As String) As IWithCreate Implements IWithRoleAssignmentBeta.WithNewRole

Parâmetros

role
BuiltInRole

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

scope
String

O escopo que a entidade de serviço pode acessar.

Retornos

Implementações

Aplica-se a