你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
AzureStorageBlob Constructors
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.
Overloads
AzureStorageBlob(CloudBlob)
public AzureStorageBlob (Microsoft.WindowsAzure.Storage.Blob.CloudBlob blob);
new Microsoft.WindowsAzure.Commands.Common.Storage.ResourceModel.AzureStorageBlob : Microsoft.WindowsAzure.Storage.Blob.CloudBlob -> Microsoft.WindowsAzure.Commands.Common.Storage.ResourceModel.AzureStorageBlob
Public Sub New (blob As CloudBlob)
Parameters
- blob
- CloudBlob
Applies to
AzureStorageBlob(CloudBlob, AzureStorageContext, BlobClientOptions)
public AzureStorageBlob (Microsoft.Azure.Storage.Blob.CloudBlob blob, Microsoft.WindowsAzure.Commands.Storage.AzureStorageContext storageContext, Azure.Storage.Blobs.BlobClientOptions options = default);
new Microsoft.WindowsAzure.Commands.Common.Storage.ResourceModel.AzureStorageBlob : Microsoft.Azure.Storage.Blob.CloudBlob * Microsoft.WindowsAzure.Commands.Storage.AzureStorageContext * Azure.Storage.Blobs.BlobClientOptions -> Microsoft.WindowsAzure.Commands.Common.Storage.ResourceModel.AzureStorageBlob
Public Sub New (blob As CloudBlob, storageContext As AzureStorageContext, Optional options As BlobClientOptions = Nothing)
Parameters
- blob
- CloudBlob
- storageContext
- AzureStorageContext
- options
- BlobClientOptions
Applies to
AzureStorageBlob(CloudBlob, AzureStorageContext, BlobClientOptions)
Azure storage blob constructor
public AzureStorageBlob (Microsoft.Azure.Storage.Blob.CloudBlob blob, Microsoft.WindowsAzure.Commands.Storage.Common.AzureStorageContext storageContext, Azure.Storage.Blobs.BlobClientOptions options = default);
new Microsoft.WindowsAzure.Commands.Common.Storage.ResourceModel.AzureStorageBlob : Microsoft.Azure.Storage.Blob.CloudBlob * Microsoft.WindowsAzure.Commands.Storage.Common.AzureStorageContext * Azure.Storage.Blobs.BlobClientOptions -> Microsoft.WindowsAzure.Commands.Common.Storage.ResourceModel.AzureStorageBlob
Public Sub New (blob As CloudBlob, storageContext As AzureStorageContext, Optional options As BlobClientOptions = Nothing)
Parameters
- blob
- CloudBlob
ICloud blob object
- storageContext
- AzureStorageContext
Storage context containing account information used to construct BlobClient.
- options
- BlobClientOptions
Blob client options which should contain powershell user agent.
Applies to
AzureStorageBlob(BlobBaseClient, AzureStorageContext, BlobClientOptions, BlobItem)
public AzureStorageBlob (Azure.Storage.Blobs.Specialized.BlobBaseClient track2BlobClient, Microsoft.WindowsAzure.Commands.Storage.AzureStorageContext storageContext, Azure.Storage.Blobs.BlobClientOptions options = default, Azure.Storage.Blobs.Models.BlobItem listBlobItem = default);
new Microsoft.WindowsAzure.Commands.Common.Storage.ResourceModel.AzureStorageBlob : Azure.Storage.Blobs.Specialized.BlobBaseClient * Microsoft.WindowsAzure.Commands.Storage.AzureStorageContext * Azure.Storage.Blobs.BlobClientOptions * Azure.Storage.Blobs.Models.BlobItem -> Microsoft.WindowsAzure.Commands.Common.Storage.ResourceModel.AzureStorageBlob
Public Sub New (track2BlobClient As BlobBaseClient, storageContext As AzureStorageContext, Optional options As BlobClientOptions = Nothing, Optional listBlobItem As BlobItem = Nothing)
Parameters
- track2BlobClient
- BlobBaseClient
- storageContext
- AzureStorageContext
- options
- BlobClientOptions
- listBlobItem
- BlobItem
Applies to
AzureStorageBlob(BlobBaseClient, AzureStorageContext, BlobProperties, BlobClientOptions)
public AzureStorageBlob (Azure.Storage.Blobs.Specialized.BlobBaseClient track2BlobClient, Microsoft.WindowsAzure.Commands.Storage.AzureStorageContext storageContext, Azure.Storage.Blobs.Models.BlobProperties blobProperties, Azure.Storage.Blobs.BlobClientOptions options = default);
new Microsoft.WindowsAzure.Commands.Common.Storage.ResourceModel.AzureStorageBlob : Azure.Storage.Blobs.Specialized.BlobBaseClient * Microsoft.WindowsAzure.Commands.Storage.AzureStorageContext * Azure.Storage.Blobs.Models.BlobProperties * Azure.Storage.Blobs.BlobClientOptions -> Microsoft.WindowsAzure.Commands.Common.Storage.ResourceModel.AzureStorageBlob
Public Sub New (track2BlobClient As BlobBaseClient, storageContext As AzureStorageContext, blobProperties As BlobProperties, Optional options As BlobClientOptions = Nothing)
Parameters
- track2BlobClient
- BlobBaseClient
- storageContext
- AzureStorageContext
- blobProperties
- BlobProperties
- options
- BlobClientOptions
Applies to
AzureStorageBlob(BlobBaseClient, AzureStorageContext, BlobClientOptions, BlobItem)
Azure storage blob constructor
public AzureStorageBlob (Azure.Storage.Blobs.Specialized.BlobBaseClient track2BlobClient, Microsoft.WindowsAzure.Commands.Storage.Common.AzureStorageContext storageContext, Azure.Storage.Blobs.BlobClientOptions options = default, Azure.Storage.Blobs.Models.BlobItem listBlobItem = default);
new Microsoft.WindowsAzure.Commands.Common.Storage.ResourceModel.AzureStorageBlob : Azure.Storage.Blobs.Specialized.BlobBaseClient * Microsoft.WindowsAzure.Commands.Storage.Common.AzureStorageContext * Azure.Storage.Blobs.BlobClientOptions * Azure.Storage.Blobs.Models.BlobItem -> Microsoft.WindowsAzure.Commands.Common.Storage.ResourceModel.AzureStorageBlob
Public Sub New (track2BlobClient As BlobBaseClient, storageContext As AzureStorageContext, Optional options As BlobClientOptions = Nothing, Optional listBlobItem As BlobItem = Nothing)
Parameters
- track2BlobClient
- BlobBaseClient
- storageContext
- AzureStorageContext
Storage context containing account information used to construct BlobClient.
- options
- BlobClientOptions
Blob client options which should contain powershell user agent.
- listBlobItem
- BlobItem
Applies to
AzureStorageBlob(BlobBaseClient, AzureStorageContext, BlobProperties, BlobClientOptions)
public AzureStorageBlob (Azure.Storage.Blobs.Specialized.BlobBaseClient track2BlobClient, Microsoft.WindowsAzure.Commands.Storage.Common.AzureStorageContext storageContext, Azure.Storage.Blobs.Models.BlobProperties blobProperties, Azure.Storage.Blobs.BlobClientOptions options = default);
new Microsoft.WindowsAzure.Commands.Common.Storage.ResourceModel.AzureStorageBlob : Azure.Storage.Blobs.Specialized.BlobBaseClient * Microsoft.WindowsAzure.Commands.Storage.Common.AzureStorageContext * Azure.Storage.Blobs.Models.BlobProperties * Azure.Storage.Blobs.BlobClientOptions -> Microsoft.WindowsAzure.Commands.Common.Storage.ResourceModel.AzureStorageBlob
Public Sub New (track2BlobClient As BlobBaseClient, storageContext As AzureStorageContext, blobProperties As BlobProperties, Optional options As BlobClientOptions = Nothing)
Parameters
- track2BlobClient
- BlobBaseClient
- storageContext
- AzureStorageContext
- blobProperties
- BlobProperties
- options
- BlobClientOptions
Applies to
AzureStorageBlob(TaggedBlobItem, AzureStorageContext, String, BlobClientOptions, Boolean)
public AzureStorageBlob (Azure.Storage.Blobs.Models.TaggedBlobItem blob, Microsoft.WindowsAzure.Commands.Storage.AzureStorageContext storageContext, string continuationToken = default, Azure.Storage.Blobs.BlobClientOptions options = default, bool getProperties = false);
new Microsoft.WindowsAzure.Commands.Common.Storage.ResourceModel.AzureStorageBlob : Azure.Storage.Blobs.Models.TaggedBlobItem * Microsoft.WindowsAzure.Commands.Storage.AzureStorageContext * string * Azure.Storage.Blobs.BlobClientOptions * bool -> Microsoft.WindowsAzure.Commands.Common.Storage.ResourceModel.AzureStorageBlob
Public Sub New (blob As TaggedBlobItem, storageContext As AzureStorageContext, Optional continuationToken As String = Nothing, Optional options As BlobClientOptions = Nothing, Optional getProperties As Boolean = false)
Parameters
- blob
- TaggedBlobItem
- storageContext
- AzureStorageContext
- continuationToken
- String
- options
- BlobClientOptions
- getProperties
- Boolean
Applies to
AzureStorageBlob(TaggedBlobItem, AzureStorageContext, String, BlobClientOptions, Boolean)
Azure storage blob constructor
public AzureStorageBlob (Azure.Storage.Blobs.Models.TaggedBlobItem blob, Microsoft.WindowsAzure.Commands.Storage.Common.AzureStorageContext storageContext, string continuationToken = default, Azure.Storage.Blobs.BlobClientOptions options = default, bool getProperties = false);
new Microsoft.WindowsAzure.Commands.Common.Storage.ResourceModel.AzureStorageBlob : Azure.Storage.Blobs.Models.TaggedBlobItem * Microsoft.WindowsAzure.Commands.Storage.Common.AzureStorageContext * string * Azure.Storage.Blobs.BlobClientOptions * bool -> Microsoft.WindowsAzure.Commands.Common.Storage.ResourceModel.AzureStorageBlob
Public Sub New (blob As TaggedBlobItem, storageContext As AzureStorageContext, Optional continuationToken As String = Nothing, Optional options As BlobClientOptions = Nothing, Optional getProperties As Boolean = false)
Parameters
- blob
- TaggedBlobItem
ICloud blob object
- storageContext
- AzureStorageContext
Storage context containing account information used to construct BlobClient.
- continuationToken
- String
Continuation token.
- options
- BlobClientOptions
Blob client options which should contain powershell user agent.
- getProperties
- Boolean