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
Dolgozzon együtt velünk a GitHubon
A tartalom forrása a GitHubon található, ahol létrehozhat és áttekinthet problémákat és lekéréses kérelmeket is. További információért tekintse meg a közreműködői útmutatónkat.
Azure SDK for .NET