Package | Description |
---|---|
com.microsoft.azure.storage.blob |
This package contains the storage service blob classes.
|
Modifier and Type | Method and Description |
---|---|
PremiumPageBlobTier |
BlobProperties.getPremiumPageBlobTier()
If using a premium account and the blob is a page blob, gets the tier of the blob.
|
static PremiumPageBlobTier |
PremiumPageBlobTier.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PremiumPageBlobTier[] |
PremiumPageBlobTier.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
CloudPageBlob.create(long length,
PremiumPageBlobTier premiumBlobTier,
AccessCondition accessCondition,
BlobRequestOptions options,
OperationContext opContext)
Creates a page blob using the specified request options and operation context.
|
BlobOutputStream |
CloudPageBlob.openWriteNew(long length,
PremiumPageBlobTier premiumBlobTier,
AccessCondition accessCondition,
BlobRequestOptions options,
OperationContext opContext)
Opens an output stream object to write data to the page blob, using the specified lease ID, request options and
operation context.
|
String |
CloudPageBlob.startCopy(CloudPageBlob sourceBlob,
PremiumPageBlobTier premiumBlobTier,
AccessCondition sourceAccessCondition,
AccessCondition destinationAccessCondition,
BlobRequestOptions options,
OperationContext opContext)
Requests the service to start copying a blob's contents, properties, and metadata to a new blob, using the
specified blob tier, access conditions, lease ID, request options, and operation context.
|
void |
CloudPageBlob.upload(InputStream sourceStream,
long length,
PremiumPageBlobTier premiumBlobTier,
AccessCondition accessCondition,
BlobRequestOptions options,
OperationContext opContext)
Uploads the source stream data to the page blob using the specified lease ID, request options, and operation
context.
|
void |
CloudPageBlob.uploadFromByteArray(byte[] buffer,
int offset,
int length,
PremiumPageBlobTier premiumBlobTier,
AccessCondition accessCondition,
BlobRequestOptions options,
OperationContext opContext)
Uploads a blob from data in a byte array.
|
void |
CloudPageBlob.uploadFromFile(String path,
PremiumPageBlobTier premiumBlobTier,
AccessCondition accessCondition,
BlobRequestOptions options,
OperationContext opContext)
Uploads a blob from a file.
|
void |
CloudPageBlob.uploadPremiumPageBlobTier(PremiumPageBlobTier premiumBlobTier)
Sets the blob tier on a page blob on a premium storage account.
|
void |
CloudPageBlob.uploadPremiumPageBlobTier(PremiumPageBlobTier premiumBlobTier,
BlobRequestOptions options,
OperationContext opContext)
Sets the tier on a page blob on a premium storage account.
|
/**
* Copyright Microsoft Corporation
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/