Partager via


ResourceManagerModelFactory.ProviderPermission Méthode

Définition

Initialise une nouvelle instance 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

Paramètres

applicationId
String

ID d’application.

roleDefinition
AzureRoleDefinition

Propriétés de définition de rôle.

managedByRoleDefinition
AzureRoleDefinition

Propriétés de définition de rôle.

providerAuthorizationConsentState
Nullable<ProviderAuthorizationConsentState>

État du consentement d’autorisation du fournisseur.

Retours

Une nouvelle ProviderPermission instance de moqueries.

S’applique à