Share via


ArmStorageActionsModelFactory.StorageTaskPreviewBlobProperties Method

Definition

Initializes a new instance of StorageTaskPreviewBlobProperties.

public static Azure.ResourceManager.StorageActions.Models.StorageTaskPreviewBlobProperties StorageTaskPreviewBlobProperties (string name = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.StorageActions.Models.StorageTaskPreviewKeyValueProperties> properties = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.StorageActions.Models.StorageTaskPreviewKeyValueProperties> metadata = default, System.Collections.Generic.IEnumerable<Azure.ResourceManager.StorageActions.Models.StorageTaskPreviewKeyValueProperties> tags = default, Azure.ResourceManager.StorageActions.Models.MatchedBlockName? matchedBlock = default);
static member StorageTaskPreviewBlobProperties : string * seq<Azure.ResourceManager.StorageActions.Models.StorageTaskPreviewKeyValueProperties> * seq<Azure.ResourceManager.StorageActions.Models.StorageTaskPreviewKeyValueProperties> * seq<Azure.ResourceManager.StorageActions.Models.StorageTaskPreviewKeyValueProperties> * Nullable<Azure.ResourceManager.StorageActions.Models.MatchedBlockName> -> Azure.ResourceManager.StorageActions.Models.StorageTaskPreviewBlobProperties
Public Shared Function StorageTaskPreviewBlobProperties (Optional name As String = Nothing, Optional properties As IEnumerable(Of StorageTaskPreviewKeyValueProperties) = Nothing, Optional metadata As IEnumerable(Of StorageTaskPreviewKeyValueProperties) = Nothing, Optional tags As IEnumerable(Of StorageTaskPreviewKeyValueProperties) = Nothing, Optional matchedBlock As Nullable(Of MatchedBlockName) = Nothing) As StorageTaskPreviewBlobProperties

Parameters

name
String

Name of test blob.

properties
IEnumerable<StorageTaskPreviewKeyValueProperties>

properties key value pairs to be tested for a match against the provided condition.

metadata
IEnumerable<StorageTaskPreviewKeyValueProperties>

metadata key value pairs to be tested for a match against the provided condition.

tags
IEnumerable<StorageTaskPreviewKeyValueProperties>

tags key value pairs to be tested for a match against the provided condition.

matchedBlock
Nullable<MatchedBlockName>

Represents the condition block name that matched blob properties.

Returns

A new StorageTaskPreviewBlobProperties instance for mocking.

Applies to