StorageDataShareProperties Class

Definition

The storage datashare properties

[System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.StorageDataSharePropertiesTypeConverter))]
public class StorageDataShareProperties : Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.IStorageDataShareProperties
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.StorageDataSharePropertiesTypeConverter))>]
type StorageDataShareProperties = class
    interface IStorageDataShareProperties
    interface IJsonSerializable
Public Class StorageDataShareProperties
Implements IStorageDataShareProperties
Inheritance
StorageDataShareProperties
Attributes
Implements

Constructors

Name Description
StorageDataShareProperties()

Creates an new StorageDataShareProperties instance.

Properties

Name Description
AccessPolicy

List of access policies that specify the permission allowed to a managed identity. For Create - This property is required and cannot be null. If no access policies are provided at creation time, specify an empty array. For Update - This property is optional. If set to null or not passed, the existing access policies are left unchanged. If provided with a non-null value, the existing access policies are replaced with the specified list.

Asset

List of assets that specify the properties of the shared resources. For Create - This property is required and cannot be null. If no assets are provided at creation time, specify an empty array. For Update - This property is optional. If set to null or not passed, the existing assets are left unchanged. If provided with a non-null value, the existing assets are replaced with the specified list.

DataShareIdentifier

System-generated GUID identifier for the Storage DataShare. Not a valid input parameter when creating.

DataShareUri
Description

Arbitrary description of this Data Share. Max 250 characters.

ProvisioningState

Represents the provisioning state of the storage datashare.

Methods

Name Description
DeserializeFromDictionary(IDictionary)

Deserializes a IDictionary into an instance of StorageDataShareProperties.

DeserializeFromPSObject(PSObject)

Deserializes a PSObject into an instance of StorageDataShareProperties.

FromJson(JsonNode)

Deserializes a JsonNode into an instance of Microsoft.Azure.PowerShell.Cmdlets.Storage.Models.IStorageDataShareProperties.

FromJsonString(String)

Creates a new instance of StorageDataShareProperties, deserializing the content from a json string.

ToJson(JsonObject, SerializationMode)

Serializes this instance of StorageDataShareProperties into a JsonNode.

ToJsonString()

Serializes this instance to a json string.

ToString()

Applies to