Compartilhar via


ResourceManagerModelFactory.ProviderPermission Método

Definição

Inicializa uma nova instância de ProviderPermission.

public static Azure.ResourceManager.Resources.Models.ProviderPermission ProviderPermission (string applicationId = default, Azure.ResourceManager.Resources.Models.AzureRoleDefinition roleDefinition = default, Azure.ResourceManager.Resources.Models.AzureRoleDefinition managedByRoleDefinition = default, Azure.ResourceManager.Resources.Models.ProviderAuthorizationConsentState? providerAuthorizationConsentState = default);
static member ProviderPermission : string * Azure.ResourceManager.Resources.Models.AzureRoleDefinition * Azure.ResourceManager.Resources.Models.AzureRoleDefinition * Nullable<Azure.ResourceManager.Resources.Models.ProviderAuthorizationConsentState> -> Azure.ResourceManager.Resources.Models.ProviderPermission
Public Shared Function ProviderPermission (Optional applicationId As String = Nothing, Optional roleDefinition As AzureRoleDefinition = Nothing, Optional managedByRoleDefinition As AzureRoleDefinition = Nothing, Optional providerAuthorizationConsentState As Nullable(Of ProviderAuthorizationConsentState) = Nothing) As ProviderPermission

Parâmetros

applicationId
String

A ID do aplicativo.

roleDefinition
AzureRoleDefinition

Propriedades de definição de função.

managedByRoleDefinition
AzureRoleDefinition

Propriedades de definição de função.

providerAuthorizationConsentState
Nullable<ProviderAuthorizationConsentState>

O estado de consentimento de autorização do provedor.

Retornos

Uma nova ProviderPermission instância para simulação.

Aplica-se a