StorageDataShareProperties Class

Definition

The storage datashare properties.

public class StorageDataShareProperties : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.Storage.Models.StorageDataShareProperties>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.Storage.Models.StorageDataShareProperties>
type StorageDataShareProperties = class
    interface IJsonModel<StorageDataShareProperties>
    interface IPersistableModel<StorageDataShareProperties>
Public Class StorageDataShareProperties
Implements IJsonModel(Of StorageDataShareProperties), IPersistableModel(Of StorageDataShareProperties)
Inheritance
StorageDataShareProperties
Implements

Constructors

Name Description
StorageDataShareProperties(IEnumerable<StorageDataShareAccessPolicy>, IEnumerable<StorageDataShareAsset>)

Initializes a new instance of StorageDataShareProperties.

Properties

Name Description
AccessPolicies

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.

Assets

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

The DataShare URI to be shared with the consumer. URI Format - 'azds://<location>:<dataShareName>:<dataShareIdentifier>'.

Description

Arbitrary description of this Data Share. Max 250 characters.

ProvisioningState

Represents the provisioning state of the storage datashare.

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<StorageDataShareProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)
IJsonModel<StorageDataShareProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)
IPersistableModel<StorageDataShareProperties>.Create(BinaryData, ModelReaderWriterOptions)
IPersistableModel<StorageDataShareProperties>.GetFormatFromOptions(ModelReaderWriterOptions)
IPersistableModel<StorageDataShareProperties>.Write(ModelReaderWriterOptions)

Applies to