Classification of API calls for Azure Storage

asked 2021-04-15T04:46:21.557+00:00
Yousha Khalid 1 Reputation point

I am trying to figure out the cost of operations for azure storage accounts and the API calls confuse me.

For general purpose v1, I found this:

*The following API calls are considered write operations: AbortCopyBlob, AppendBlock, BreakBlobLease, BreakContainerLease, ChangeBlobLease, ChangeContainerLease, CopyBlob, CreateContainer, IncrementalCopyBlob, PutBlob, PutBlock, PutBlockList, PutGeoMessage, PutGeoRepairMessageMeasurementEvent, PutGeoVerificationMessageMeasurementEvent, SetBlobMetadata, SetBlobProperties, SetBlobServiceProperties, SetContainerACL, SetContainerMetadata, SnapshotBlob, and UndeleteBlob.

**The following API calls are considered read operations: AcquireBlobLease, AcquireContainerLease, BlobPreflightRequest, GeoBootstrap, GetBlob, GetBlobLeaseInfo, GetBlobMetadata, GetBlobProperties, GetBlobServiceProperties, GetBlobServiceStats, GetBlockList, GetContainerACL, GetContainerMetadata, GetContainerProperties, GetCopyInformation, GetEncryptionKey, ReleaseBlobLease. ReleaseContainerLease, RenewBlobLease, and RenewContainerLease.

But the information is limited for general purpose v2 storage accounts:

1 The following API calls are considered write operations: PutBlob, PutBlock, PutBlockList, AppendBlock, SnapshotBlob, CopyBlob, and SetBlobTier (when it moves a Blob from Hot to Cool, Cool to Archive, or Hot to Archive. Learn more).

2 The following API calls are considered list and create container operations: ListBlobs, ListContainers, FindBlobsByTags, and CreateContainer.

3 The following API calls are considered read operations: GetBlob and SetBlobTier (when it moves a Blob from Archive to Cool, Cool to Hot, or Archive to Hot

Does this mean that GetBlobProperties falls under "All other Operations" for v2 unlike v1 where it is classified as a read operation?

This makes a huge difference in the total costs we are likely to incur since the cost of All other operations is half that of read operations.

Azure Storage Accounts
Azure Storage Accounts
Globally unique resources that provide access to data management services and serve as the parent namespace for the services.
1,534 questions
No comments
{count} votes

1 answer

Sort by: Most helpful
  1. answered 2021-04-16T17:49:50.643+00:00
    Sumarigo-MSFT 30,686 Reputation points Microsoft Employee

    @Yousha Khalid Welcome to Microsoft Q&A platform, Thank you for posting your query!

    Firstly, apologies for the delay in responding here and any inconvenience this issue may have caused.

    You can view in cost analysis metrics option.

    There is similar thread discussion in SO , please refer to the suggestion and if you till find any difficulties and need more detailed information or specialized assistance on this kindly contact Azure Billing support, it's free, and it's the best choice for you. I would recommended to contact the billing team. Billing and Subscription team would be the best to provide more insight and guidance on this scenario. Billing is based on the region specific.

    Hope this helps!

    Kindly let us know if the above helps or you need further assistance on this issue.

    --------------------------------------------------------------------------------------------------------------------------------------------------------

    Please do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.

    No comments