ArmStorageModelFactory.StorageDataShareProperties Method

Definition

The storage datashare properties.

public static Azure.ResourceManager.Storage.Models.StorageDataShareProperties StorageDataShareProperties(string dataShareIdentifier = default, string description = default, string dataShareUri = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Storage.Models.StorageDataShareAccessPolicy> accessPolicies = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Storage.Models.StorageDataShareAsset> assets = default, Azure.ResourceManager.Storage.Models.NativeDataSharingProvisioningState? provisioningState = default);
static member StorageDataShareProperties : string * string * string * seq<Azure.ResourceManager.Storage.Models.StorageDataShareAccessPolicy> * seq<Azure.ResourceManager.Storage.Models.StorageDataShareAsset> * Nullable<Azure.ResourceManager.Storage.Models.NativeDataSharingProvisioningState> -> Azure.ResourceManager.Storage.Models.StorageDataShareProperties
Public Shared Function StorageDataShareProperties (Optional dataShareIdentifier As String = Nothing, Optional description As String = Nothing, Optional dataShareUri As String = Nothing, Optional accessPolicies As IEnumerable(Of StorageDataShareAccessPolicy) = Nothing, Optional assets As IEnumerable(Of StorageDataShareAsset) = Nothing, Optional provisioningState As Nullable(Of NativeDataSharingProvisioningState) = Nothing) As StorageDataShareProperties

Parameters

dataShareIdentifier
String

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

description
String

Arbitrary description of this Data Share. Max 250 characters.

dataShareUri
String

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

accessPolicies
IEnumerable<StorageDataShareAccessPolicy>

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
IEnumerable<StorageDataShareAsset>

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.

provisioningState
Nullable<NativeDataSharingProvisioningState>

Represents the provisioning state of the storage datashare.

Returns

A new StorageDataShareProperties instance for mocking.

Applies to