ArmStorageModelFactory.StorageDataSharePropertiesPatch Method

Definition

The storage datashare properties.

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

Parameters

description
String

Arbitrary description of this Data Share. Max 250 characters.

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.

Returns

A new StorageDataSharePropertiesPatch instance for mocking.

Applies to