StorageDataShareAccessPolicy Constructor
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 StorageDataShareAccessPolicy.
public StorageDataShareAccessPolicy(string principalId, string tenantId, Azure.ResourceManager.Storage.Models.StorageDataShareAccessPolicyPermission permission);
new Azure.ResourceManager.Storage.Models.StorageDataShareAccessPolicy : string * string * Azure.ResourceManager.Storage.Models.StorageDataShareAccessPolicyPermission -> Azure.ResourceManager.Storage.Models.StorageDataShareAccessPolicy
Public Sub New (principalId As String, tenantId As String, permission As StorageDataShareAccessPolicyPermission)
Parameters
- principalId
- String
The AAD principal ID of the Managed Identity.
- tenantId
- String
The AAD tenant ID of the Managed Identity.
- permission
- StorageDataShareAccessPolicyPermission
Allowed permissions. Currently, only supported value is Read.
Exceptions
principalId or tenantId is null.