Skip navigation links
  • Overview
  • Package
  • Class
  • Use
  • Tree
  • Deprecated
  • Index
  • Help

Deprecated API

Contents

  • Interfaces
  • Classes
  • Enums
  • Fields
  • Methods
  • Constructors
  • Deprecated Interfaces
    Interface
    Description
    com.azure.storage.blob.ProgressReceiver
    Use ProgressListener.
  • Deprecated Classes
    Class
    Description
    com.azure.storage.blob.ProgressReporter
    Use ProgressReporter
    com.azure.storage.blob.sas.BlobServiceSasQueryParameters
    Please use the generateSas method on the desired blob/container client after initializing BlobServiceSasSignatureValues.
  • Deprecated Enums
    Enum
    Description
    com.azure.storage.blob.sas.BlobSasServiceVersion
    The version is set to the latest version of sas.
  • Deprecated Fields
    Field
    Description
    com.azure.storage.blob.models.BlobErrorCode.SNAPHOT_OPERATION_RATE_EXCEEDED
    Please use BlobErrorCode.SNAPSHOT_OPERATION_RATE_EXCEEDED
    com.azure.storage.blob.specialized.BlockBlobAsyncClient.MAX_STAGE_BLOCK_BYTES
    Use BlockBlobAsyncClient.MAX_STAGE_BLOCK_BYTES_LONG
    com.azure.storage.blob.specialized.BlockBlobAsyncClient.MAX_UPLOAD_BLOB_BYTES
    Use BlockBlobAsyncClient.MAX_STAGE_BLOCK_BYTES_LONG
    com.azure.storage.blob.specialized.BlockBlobClient.MAX_STAGE_BLOCK_BYTES
    Use BlockBlobClient.MAX_STAGE_BLOCK_BYTES_LONG
    com.azure.storage.blob.specialized.BlockBlobClient.MAX_UPLOAD_BLOB_BYTES
    Use BlockBlobClient.MAX_STAGE_BLOCK_BYTES_LONG.
  • Deprecated Methods
    Method
    Description
    com.azure.storage.blob.BlobAsyncClient.uploadFileResourceSupplier(String)
    due to refactoring code to be in the common storage library.
    com.azure.storage.blob.BlobClient.uploadWithResponse(BlobParallelUploadOptions, Context)
    Use uploadWithResponse(BlobParallelUploadOptions, Duration, Context)
    com.azure.storage.blob.BlobClient.uploadWithResponse(InputStream, long, ParallelTransferOptions, BlobHttpHeaders, Map<String, String>, AccessTier, BlobRequestConditions, Duration, Context)
    See uploadWithResponse(BlobParallelUploadOptions, Duration, Context) instead
    com.azure.storage.blob.BlobUrlParts.getSasQueryParameters()
    Please use BlobUrlParts.getCommonSasQueryParameters()
    com.azure.storage.blob.BlobUrlParts.setSasQueryParameters(BlobServiceSasQueryParameters)
    Please use BlobUrlParts.setCommonSasQueryParameters(CommonSasQueryParameters)
    com.azure.storage.blob.models.BlobContainerListDetails.toIncludeType()
    BlobContainerListDetails now contains multiple options. This will only convert result of {BlobContainerListDetails.setRetrieveMetadata(boolean)} for backwards compatibility.
    com.azure.storage.blob.models.Block.getSize()
    Use Block.getSizeLong()
    com.azure.storage.blob.models.Block.setSize(int)
    Use Block.setSizeLong(long)
    com.azure.storage.blob.models.ParallelTransferOptions.getBlockSize()
    Use ParallelTransferOptions.getBlockSizeLong().
    com.azure.storage.blob.models.ParallelTransferOptions.getMaxSingleUploadSize()
    Use ParallelTransferOptions.getMaxSingleUploadSizeLong().
    com.azure.storage.blob.models.ParallelTransferOptions.getNumBuffers()
    Use ParallelTransferOptions.getMaxConcurrency()
    com.azure.storage.blob.models.ParallelTransferOptions.getProgressReceiver()
    Use ParallelTransferOptions.getProgressListener()
    com.azure.storage.blob.models.ParallelTransferOptions.setProgressReceiver(ProgressReceiver)
    Use ParallelTransferOptions.setProgressListener(ProgressListener)
    com.azure.storage.blob.options.BlobParallelUploadOptions.getLength()
    use BlobParallelUploadOptions.getOptionalLength() to have safe access to a length that will not always exist.
    com.azure.storage.blob.options.BlobParallelUploadOptions.getTimeout()
    Use uploadWithResponse(BlobParallelUploadOptions, Duration, Context) to specify timeout.
    com.azure.storage.blob.options.BlobParallelUploadOptions.setTimeout(Duration)
    Use uploadWithResponse(BlobParallelUploadOptions, Duration, Context) to specify timeout.
    com.azure.storage.blob.options.UndeleteBlobContainerOptions.getDestinationContainerName()
    Destination container name must match deleted container name
    com.azure.storage.blob.options.UndeleteBlobContainerOptions.setDestinationContainerName(String)
    Destination container name must match deleted container name
    com.azure.storage.blob.ProgressReporter.addParallelProgressReporting(Flux<ByteBuffer>, ProgressReceiver, Lock, AtomicLong)
    Use ProgressReporter instead.
    com.azure.storage.blob.ProgressReporter.addProgressReporting(Flux<ByteBuffer>, ProgressReceiver)
    Use ProgressReporter instead.
    com.azure.storage.blob.sas.BlobServiceSasQueryParameters.encode()
    Please use the generateSas method on the desired blob/container client after initializing BlobServiceSasSignatureValues.
    com.azure.storage.blob.sas.BlobServiceSasQueryParameters.getCacheControl()
    Please use BlobServiceSasSignatureValues
    com.azure.storage.blob.sas.BlobServiceSasQueryParameters.getContentDisposition()
    Please use BlobServiceSasSignatureValues
    com.azure.storage.blob.sas.BlobServiceSasQueryParameters.getContentEncoding()
    Please use BlobServiceSasSignatureValues
    com.azure.storage.blob.sas.BlobServiceSasQueryParameters.getContentLanguage()
    Please use BlobServiceSasSignatureValues
    com.azure.storage.blob.sas.BlobServiceSasQueryParameters.getContentType()
    Please use BlobServiceSasSignatureValues
    com.azure.storage.blob.sas.BlobServiceSasQueryParameters.getIdentifier()
    Please use BlobServiceSasSignatureValues
    com.azure.storage.blob.sas.BlobServiceSasQueryParameters.getKeyExpiry()
    Please use BlobServiceSasSignatureValues
    com.azure.storage.blob.sas.BlobServiceSasQueryParameters.getKeyObjectId()
    Please use BlobServiceSasSignatureValues
    com.azure.storage.blob.sas.BlobServiceSasQueryParameters.getKeyService()
    Please use BlobServiceSasSignatureValues
    com.azure.storage.blob.sas.BlobServiceSasQueryParameters.getKeyStart()
    Please use BlobServiceSasSignatureValues
    com.azure.storage.blob.sas.BlobServiceSasQueryParameters.getKeyTenantId()
    Please use BlobServiceSasSignatureValues
    com.azure.storage.blob.sas.BlobServiceSasQueryParameters.getKeyVersion()
    Please use BlobServiceSasSignatureValues
    com.azure.storage.blob.sas.BlobServiceSasQueryParameters.getResource()
    Please use BlobServiceSasSignatureValues
    com.azure.storage.blob.sas.BlobServiceSasSignatureValues.generateSasQueryParameters(UserDelegationKey, String)
    Please use the generateUserDelegationSas(BlobServiceSasSignatureValues, UserDelegationKey) method on the desired container/blob client after initializing BlobServiceSasSignatureValues.
    com.azure.storage.blob.sas.BlobServiceSasSignatureValues.generateSasQueryParameters(StorageSharedKeyCredential)
    Please use the generateSas(BlobServiceSasSignatureValues) method on the desired container/blob client after initializing BlobServiceSasSignatureValues.
    com.azure.storage.blob.sas.BlobServiceSasSignatureValues.getBlobName()
    Blob name is now auto-populated by the SAS generation methods provided on the desired blob client.
    com.azure.storage.blob.sas.BlobServiceSasSignatureValues.getContainerName()
    Container name is now auto-populated by the SAS generation methods provided on the desired container/blob client.
    com.azure.storage.blob.sas.BlobServiceSasSignatureValues.getSnapshotId()
    Snapshot id is now auto-populated by the SAS generation methods provided on the desired (snapshot) blob client.
    com.azure.storage.blob.sas.BlobServiceSasSignatureValues.setBlobName(String)
    Please use the SAS generation methods provided on the desired blob client that will auto-populate the blob name.
    com.azure.storage.blob.sas.BlobServiceSasSignatureValues.setContainerName(String)
    Please use the SAS generation methods provided on the desired container/blob client that will auto-populate the container name.
    com.azure.storage.blob.sas.BlobServiceSasSignatureValues.setSnapshotId(String)
    Please use the SAS generation methods provided on the desired (snapshot) blob client that will auto-populate the snapshot id.
    com.azure.storage.blob.sas.BlobServiceSasSignatureValues.setVersion(String)
    The version is set to the latest version of sas. Users should stop calling this API as it is now treated as a no-op.
    com.azure.storage.blob.specialized.BlobAsyncClientBase.download()
    use BlobAsyncClientBase.downloadStream() instead.
    com.azure.storage.blob.specialized.BlobAsyncClientBase.downloadWithResponse(BlobRange, DownloadRetryOptions, BlobRequestConditions, boolean)
    use BlobAsyncClientBase.downloadStreamWithResponse(BlobRange, DownloadRetryOptions, BlobRequestConditions, boolean) instead.
    com.azure.storage.blob.specialized.BlobClientBase.download(OutputStream)
    use BlobClientBase.downloadStream(OutputStream) instead.
    com.azure.storage.blob.specialized.BlobClientBase.downloadWithResponse(OutputStream, BlobRange, DownloadRetryOptions, BlobRequestConditions, boolean, Duration, Context)
    use BlobClientBase.downloadStreamWithResponse(OutputStream, BlobRange, DownloadRetryOptions, BlobRequestConditions, boolean, Duration, Context) instead.
    com.azure.storage.blob.specialized.PageBlobAsyncClient.getPageRanges(BlobRange)
    Use PageBlobAsyncClient.listPageRanges(BlobRange)
    com.azure.storage.blob.specialized.PageBlobAsyncClient.getPageRangesDiff(BlobRange, String)
    See PageBlobAsyncClient.listPageRangesDiff(BlobRange, String)
    com.azure.storage.blob.specialized.PageBlobAsyncClient.getPageRangesDiffWithResponse(BlobRange, String, BlobRequestConditions)
    See PageBlobAsyncClient.listPageRangesDiff(ListPageRangesDiffOptions)
    com.azure.storage.blob.specialized.PageBlobAsyncClient.getPageRangesWithResponse(BlobRange, BlobRequestConditions)
    Use PageBlobAsyncClient.listPageRanges(ListPageRangesOptions)
    com.azure.storage.blob.specialized.PageBlobClient.getPageRanges(BlobRange)
    See PageBlobClient.listPageRanges(BlobRange)
    com.azure.storage.blob.specialized.PageBlobClient.getPageRangesDiff(BlobRange, String)
    See PageBlobClient.listPageRangesDiff(BlobRange, String)
    com.azure.storage.blob.specialized.PageBlobClient.getPageRangesDiffWithResponse(BlobRange, String, BlobRequestConditions, Duration, Context)
    See PageBlobClient.listPageRanges(ListPageRangesOptions,Duration,Context) )}
    com.azure.storage.blob.specialized.PageBlobClient.getPageRangesWithResponse(BlobRange, BlobRequestConditions, Duration, Context)
    See PageBlobClient.listPageRanges(ListPageRangesOptions,Duration,Context)
  • Deprecated Constructors
    Constructor
    Description
    com.azure.storage.blob.models.ParallelTransferOptions(Integer, Integer, ProgressReceiver)
    Use fluent interface to set properties instead.
    com.azure.storage.blob.models.ParallelTransferOptions(Integer, Integer, ProgressReceiver, Integer)
    Use fluent interface to set properties instead.
    com.azure.storage.blob.options.BlobParallelUploadOptions(InputStream, long)
    length is no longer necessary; use BlobParallelUploadOptions(InputStream) instead.
    com.azure.storage.blob.sas.BlobServiceSasQueryParameters(Map<String, String[]>, boolean)
    Please use BlobServiceSasSignatureValues
    com.azure.storage.blob.sas.BlobServiceSasSignatureValues()
    Please use BlobServiceSasSignatureValues(String), BlobServiceSasSignatureValues(OffsetDateTime, BlobSasPermission), or BlobServiceSasSignatureValues(OffsetDateTime, BlobContainerSasPermission)
    com.azure.storage.blob.sas.BlobServiceSasSignatureValues(String, SasProtocol, OffsetDateTime, OffsetDateTime, String, SasIpRange, String, String, String, String, String, String)
    Please use BlobServiceSasSignatureValues(String), BlobServiceSasSignatureValues(OffsetDateTime, BlobSasPermission), or BlobServiceSasSignatureValues(OffsetDateTime, BlobContainerSasPermission) followed by calls to the desired setters.

Visit the Azure for Java Developers site for more Java documentation, including quick starts, tutorials, and code samples.