ArmProviderHubModelFactory.ApplicationDataAuthorization 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.
public static Azure.ResourceManager.ProviderHub.Models.ApplicationDataAuthorization ApplicationDataAuthorization(Azure.ResourceManager.ProviderHub.Models.ApplicationOwnershipRole role = default, System.Collections.Generic.IEnumerable<string> resourceTypes = default);
static member ApplicationDataAuthorization : Azure.ResourceManager.ProviderHub.Models.ApplicationOwnershipRole * seq<string> -> Azure.ResourceManager.ProviderHub.Models.ApplicationDataAuthorization
Public Shared Function ApplicationDataAuthorization (Optional role As ApplicationOwnershipRole = Nothing, Optional resourceTypes As IEnumerable(Of String) = Nothing) As ApplicationDataAuthorization
Parameters
The ownership role the application has on the resource types. The service owner role gives the application owner permissions. The limited owner role gives elevated permissions but does not allow all the permissions of a service owner, such as read/write on internal metadata.
- resourceTypes
- IEnumerable<String>
The resource types from the defined resource types in the provider namespace that the application can access. If no resource types are specified and the role is service owner, the default is * which is all resource types.
Returns
A new ApplicationDataAuthorization instance for mocking.