ServicePrincipalImpl.IWithRoleAssignmentBeta.WithNewRoleInResourceGroup Método

Definição

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

Microsoft.Azure.Management.Graph.RBAC.Fluent.ServicePrincipal.Definition.IWithCreate IWithRoleAssignmentBeta.WithNewRoleInResourceGroup (Microsoft.Azure.Management.Graph.RBAC.Fluent.BuiltInRole role, Microsoft.Azure.Management.ResourceManager.Fluent.IResourceGroup resourceGroup);
abstract member Microsoft.Azure.Management.Graph.RBAC.Fluent.ServicePrincipal.Definition.IWithRoleAssignmentBeta.WithNewRoleInResourceGroup : Microsoft.Azure.Management.Graph.RBAC.Fluent.BuiltInRole * Microsoft.Azure.Management.ResourceManager.Fluent.IResourceGroup -> Microsoft.Azure.Management.Graph.RBAC.Fluent.ServicePrincipal.Definition.IWithCreate
override this.Microsoft.Azure.Management.Graph.RBAC.Fluent.ServicePrincipal.Definition.IWithRoleAssignmentBeta.WithNewRoleInResourceGroup : Microsoft.Azure.Management.Graph.RBAC.Fluent.BuiltInRole * Microsoft.Azure.Management.ResourceManager.Fluent.IResourceGroup -> Microsoft.Azure.Management.Graph.RBAC.Fluent.ServicePrincipal.Definition.IWithCreate
Function WithNewRoleInResourceGroup (role As BuiltInRole, resourceGroup As IResourceGroup) As IWithCreate Implements IWithRoleAssignmentBeta.WithNewRoleInResourceGroup

Parâmetros

role
BuiltInRole

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

resourceGroup
IResourceGroup

O grupo de recursos que a entidade de serviço pode acessar.

Retornos

Implementações

Aplica-se a