BlobsModelFactory.BlobItem Method
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.
Creates a new BlobItem instance for mocking.
public static Azure.Storage.Blobs.Models.BlobItem BlobItem (string name = default, bool deleted = false, Azure.Storage.Blobs.Models.BlobItemProperties properties = default, string snapshot = default, string versionId = default, bool? isLatestVersion = default, System.Collections.Generic.IDictionary<string,string> metadata = default, System.Collections.Generic.IDictionary<string,string> tags = default, System.Collections.Generic.List<Azure.Storage.Blobs.Models.ObjectReplicationPolicy> objectReplicationSourcePolicies = default, bool? hasVersionsOnly = default);
static member BlobItem : string * bool * Azure.Storage.Blobs.Models.BlobItemProperties * string * string * Nullable<bool> * System.Collections.Generic.IDictionary<string, string> * System.Collections.Generic.IDictionary<string, string> * System.Collections.Generic.List<Azure.Storage.Blobs.Models.ObjectReplicationPolicy> * Nullable<bool> -> Azure.Storage.Blobs.Models.BlobItem
Public Shared Function BlobItem (Optional name As String = Nothing, Optional deleted As Boolean = false, Optional properties As BlobItemProperties = Nothing, Optional snapshot As String = Nothing, Optional versionId As String = Nothing, Optional isLatestVersion As Nullable(Of Boolean) = Nothing, Optional metadata As IDictionary(Of String, String) = Nothing, Optional tags As IDictionary(Of String, String) = Nothing, Optional objectReplicationSourcePolicies As List(Of ObjectReplicationPolicy) = Nothing, Optional hasVersionsOnly As Nullable(Of Boolean) = Nothing) As BlobItem
Parameters
- name
- String
- deleted
- Boolean
- properties
- BlobItemProperties
- snapshot
- String
- versionId
- String
- metadata
- IDictionary<String,String>
- tags
- IDictionary<String,String>
- objectReplicationSourcePolicies
- List<ObjectReplicationPolicy>
Returns
Applies to
GitHub에서 Microsoft와 공동 작업
이 콘텐츠의 원본은 GitHub에서 찾을 수 있으며, 여기서 문제와 끌어오기 요청을 만들고 검토할 수도 있습니다. 자세한 내용은 참여자 가이드를 참조하세요.
Azure SDK for .NET