StorageDataShareProperties Constructor
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.
Initializes a new instance of StorageDataShareProperties.
public StorageDataShareProperties(System.Collections.Generic.IEnumerable<Azure.ResourceManager.Storage.Models.StorageDataShareAccessPolicy> accessPolicies, System.Collections.Generic.IEnumerable<Azure.ResourceManager.Storage.Models.StorageDataShareAsset> assets);
new Azure.ResourceManager.Storage.Models.StorageDataShareProperties : seq<Azure.ResourceManager.Storage.Models.StorageDataShareAccessPolicy> * seq<Azure.ResourceManager.Storage.Models.StorageDataShareAsset> -> Azure.ResourceManager.Storage.Models.StorageDataShareProperties
Public Sub New (accessPolicies As IEnumerable(Of StorageDataShareAccessPolicy), assets As IEnumerable(Of StorageDataShareAsset))
Parameters
- 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.
Exceptions
accessPolicies or assets is null.