ResourceManagerModelFactory.ProviderPermission Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of 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
Parameters
- applicationId
- String
The application id.
- roleDefinition
- AzureRoleDefinition
Role definition properties.
- managedByRoleDefinition
- AzureRoleDefinition
Role definition properties.
- providerAuthorizationConsentState
- Nullable<ProviderAuthorizationConsentState>
The provider authorization consent state.
Returns
A new ProviderPermission instance for mocking.
Applies to
Dolgozzon együtt velünk a GitHubon
A tartalom forrása a GitHubon található, ahol létrehozhat és áttekinthet problémákat és lekéréses kérelmeket is. További információért tekintse meg a közreműködői útmutatónkat.
Azure SDK for .NET