StorageDataShareAccessPolicy Class
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.
Policy that specify the permission allowed to a managed identity
[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.StorageDataShareAccessPolicyTypeConverter))]
public class StorageDataShareAccessPolicy : Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.IStorageDataShareAccessPolicy
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.StorageDataShareAccessPolicyTypeConverter))>]
type StorageDataShareAccessPolicy = class
interface IStorageDataShareAccessPolicy
interface IJsonSerializable
Public Class StorageDataShareAccessPolicy
Implements IStorageDataShareAccessPolicy
- Inheritance
-
StorageDataShareAccessPolicy
- Attributes
- Implements
Constructors
| Name | Description |
|---|---|
| StorageDataShareAccessPolicy() |
Creates an new StorageDataShareAccessPolicy instance. |
Properties
| Name | Description |
|---|---|
| Permission |
Allowed permissions. Currently, only supported value is Read. |
| PrincipalId |
The AAD principal ID of the Managed Identity. |
| TenantId |
The AAD tenant ID of the Managed Identity. |
Methods
| Name | Description |
|---|---|
| DeserializeFromDictionary(IDictionary) |
Deserializes a IDictionary into an instance of StorageDataShareAccessPolicy. |
| DeserializeFromPSObject(PSObject) |
Deserializes a PSObject into an instance of StorageDataShareAccessPolicy. |
| FromJson(JsonNode) |
Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.IStorageDataShareAccessPolicy. |
| FromJsonString(String) |
Creates a new instance of StorageDataShareAccessPolicy, deserializing the content from a json string. |
| ToJson(JsonObject, SerializationMode) |
Serializes this instance of StorageDataShareAccessPolicy into a JsonNode. |
| ToJsonString() |
Serializes this instance to a json string. |
| ToString() | |