Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Storage-blob] rename BlockClient setTier() to setAccessTier() #5323

Merged
merged 3 commits into from
Oct 1, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions sdk/storage/storage-blob/ChangeLog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

## 2019.09 12.0.0-preview.4

- Rename `BlobClient.setTier()` to `BlobClient.setAccessTier()`.
- [Breaking] Fixed typo - `chanageLease` -> `changeLease`, a method on LeaseClient.
- Library tries to load the proxy settings from the environment variables like HTTP_PROXY if the proxy settings are not provided when clients like BlobServiceClient or BlobClient are instantiated.
- Added development connection string support to connect to the storage emulator [Azurite - Extension for VS Code](https://marketplace.visualstudio.com/items?itemName=Azurite.azurite)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,161 +2,161 @@
"recordings": [
{
"method": "PUT",
"url": "https://fakestorageaccount.blob.core.windows.net/container156816880823602924",
"url": "https://fakestorageaccount.blob.core.windows.net/container156988747169908738",
"query": {
"restype": "container"
},
"requestBody": null,
"status": 201,
"response": "",
"responseHeaders": {
"date": "Wed, 11 Sep 2019 02:26:47 GMT",
"last-modified": "Wed, 11 Sep 2019 02:26:48 GMT",
"date": "Mon, 30 Sep 2019 23:51:10 GMT",
"last-modified": "Mon, 30 Sep 2019 23:51:11 GMT",
"server": "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0",
"etag": "\"0x8D7365F7F6AC4BF\"",
"x-ms-request-id": "96e519dc-201e-0061-6648-682223000000",
"etag": "\"0x8D74601129B1EC5\"",
"x-ms-request-id": "be25519c-d01e-0130-70e9-772c09000000",
"x-ms-version": "2019-02-02",
"x-ms-client-request-id": "2175117e-3513-4a52-8f86-93c458999a0d",
"x-ms-client-request-id": "b957e779-66f2-44f6-aba6-8b850e137f52",
"content-length": "0"
}
},
{
"method": "PUT",
"url": "https://fakestorageaccount.blob.core.windows.net/container156816880823602924/blob156816880844704274",
"url": "https://fakestorageaccount.blob.core.windows.net/container156988747169908738/blob156988747177207270",
"query": {},
"requestBody": "Hello World",
"status": 201,
"response": "",
"responseHeaders": {
"x-ms-content-crc64": "YeJLfssylmU=",
"date": "Wed, 11 Sep 2019 02:26:47 GMT",
"last-modified": "Wed, 11 Sep 2019 02:26:48 GMT",
"date": "Mon, 30 Sep 2019 23:51:11 GMT",
"last-modified": "Mon, 30 Sep 2019 23:51:11 GMT",
"server": "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0",
"content-md5": "sQqNsWTgdUEFt6mb5y4/5Q==",
"etag": "\"0x8D7365F7F8B0647\"",
"x-ms-request-id": "96e51a5c-201e-0061-6048-682223000000",
"etag": "\"0x8D7460112A611D9\"",
"x-ms-request-id": "be2551a9-d01e-0130-7be9-772c09000000",
"x-ms-version": "2019-02-02",
"x-ms-client-request-id": "da52b561-0993-49ab-86a2-e932e706c834",
"x-ms-client-request-id": "a4eb7c9b-de1b-4eee-8978-3e989a1e75c2",
"x-ms-request-server-encrypted": "true",
"content-length": "0"
}
},
{
"method": "PUT",
"url": "https://fakestorageaccount.blob.core.windows.net/container156816880823602924/blob156816880844704274",
"url": "https://fakestorageaccount.blob.core.windows.net/container156988747169908738/blob156988747177207270",
"query": {
"comp": "tier"
},
"requestBody": null,
"status": 200,
"response": "",
"responseHeaders": {
"date": "Wed, 11 Sep 2019 02:26:48 GMT",
"date": "Mon, 30 Sep 2019 23:51:11 GMT",
"server": "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0",
"x-ms-request-id": "96e51aad-201e-0061-2d48-682223000000",
"x-ms-request-id": "be2551ce-d01e-0130-1de9-772c09000000",
"x-ms-version": "2019-02-02",
"x-ms-client-request-id": "63a14657-47ca-4ba5-a409-4100e18d2adf",
"x-ms-client-request-id": "ce8c4020-a3ae-445a-8ef9-0f72a25ccffd",
"content-length": "0"
}
},
{
"method": "HEAD",
"url": "https://fakestorageaccount.blob.core.windows.net/container156816880823602924/blob156816880844704274",
"url": "https://fakestorageaccount.blob.core.windows.net/container156988747169908738/blob156988747177207270",
"query": {},
"requestBody": null,
"status": 200,
"response": "",
"responseHeaders": {
"x-ms-blob-type": "BlockBlob",
"date": "Wed, 11 Sep 2019 02:26:48 GMT",
"x-ms-access-tier-change-time": "Wed, 11 Sep 2019 02:26:48 GMT",
"date": "Mon, 30 Sep 2019 23:51:11 GMT",
"x-ms-access-tier-change-time": "Mon, 30 Sep 2019 23:51:11 GMT",
"content-md5": "sQqNsWTgdUEFt6mb5y4/5Q==",
"x-ms-tag-count": "0",
"x-ms-server-encrypted": "true",
"x-ms-access-tier": "Archive",
"x-ms-client-request-id": "9b89ae4e-023c-44c2-8574-da1268cb2f88",
"x-ms-client-request-id": "1f6a2c71-65de-45e2-9649-c92c88a8641d",
"content-length": "11",
"x-ms-lease-state": "available",
"x-ms-lease-status": "unlocked",
"x-ms-creation-time": "Wed, 11 Sep 2019 02:26:48 GMT",
"last-modified": "Wed, 11 Sep 2019 02:26:48 GMT",
"x-ms-creation-time": "Mon, 30 Sep 2019 23:51:11 GMT",
"last-modified": "Mon, 30 Sep 2019 23:51:11 GMT",
"server": "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0",
"etag": "\"0x8D7365F7F8B0647\"",
"etag": "\"0x8D7460112A611D9\"",
"content-type": "application/octet-stream",
"x-ms-request-id": "96e51aff-201e-0061-7948-682223000000",
"x-ms-request-id": "be2551fa-d01e-0130-47e9-772c09000000",
"x-ms-version": "2019-02-02",
"accept-ranges": "bytes"
}
},
{
"method": "PUT",
"url": "https://fakestorageaccount.blob.core.windows.net/container156816880823602924/blob156816880844704274",
"url": "https://fakestorageaccount.blob.core.windows.net/container156988747169908738/blob156988747177207270",
"query": {
"comp": "tier"
},
"requestBody": null,
"status": 202,
"response": "",
"responseHeaders": {
"date": "Wed, 11 Sep 2019 02:26:48 GMT",
"date": "Mon, 30 Sep 2019 23:51:11 GMT",
"server": "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0",
"x-ms-request-id": "96e51b49-201e-0061-4048-682223000000",
"x-ms-request-id": "be255202-d01e-0130-4ee9-772c09000000",
"x-ms-version": "2019-02-02",
"x-ms-client-request-id": "cbef66b6-b69b-4327-b738-946153430d51",
"x-ms-client-request-id": "2d793911-5b75-4e48-8abf-ab429ed3c12f",
"content-length": "0"
}
},
{
"method": "HEAD",
"url": "https://fakestorageaccount.blob.core.windows.net/container156816880823602924/blob156816880844704274",
"url": "https://fakestorageaccount.blob.core.windows.net/container156988747169908738/blob156988747177207270",
"query": {},
"requestBody": null,
"status": 200,
"response": "",
"responseHeaders": {
"x-ms-blob-type": "BlockBlob",
"date": "Wed, 11 Sep 2019 02:26:48 GMT",
"x-ms-access-tier-change-time": "Wed, 11 Sep 2019 02:26:49 GMT",
"date": "Mon, 30 Sep 2019 23:51:11 GMT",
"x-ms-access-tier-change-time": "Mon, 30 Sep 2019 23:51:12 GMT",
"content-md5": "sQqNsWTgdUEFt6mb5y4/5Q==",
"x-ms-tag-count": "0",
"x-ms-server-encrypted": "true",
"x-ms-access-tier": "Archive",
"x-ms-client-request-id": "d581d2e0-9daa-4687-b2db-0d5d375f03db",
"x-ms-client-request-id": "d42cd5e1-019c-4b42-9fb3-3e7cc510d61a",
"x-ms-archive-status": "rehydrate-pending-to-hot",
"content-length": "11",
"x-ms-lease-state": "available",
"x-ms-lease-status": "unlocked",
"x-ms-creation-time": "Wed, 11 Sep 2019 02:26:48 GMT",
"last-modified": "Wed, 11 Sep 2019 02:26:48 GMT",
"x-ms-creation-time": "Mon, 30 Sep 2019 23:51:11 GMT",
"last-modified": "Mon, 30 Sep 2019 23:51:11 GMT",
"server": "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0",
"etag": "\"0x8D7365F7F8B0647\"",
"etag": "\"0x8D7460112A611D9\"",
"content-type": "application/octet-stream",
"x-ms-request-id": "96e51bab-201e-0061-1d48-682223000000",
"x-ms-request-id": "be255225-d01e-0130-6ae9-772c09000000",
"x-ms-version": "2019-02-02",
"accept-ranges": "bytes"
}
},
{
"method": "DELETE",
"url": "https://fakestorageaccount.blob.core.windows.net/container156816880823602924",
"url": "https://fakestorageaccount.blob.core.windows.net/container156988747169908738",
"query": {
"restype": "container"
},
"requestBody": null,
"status": 202,
"response": "",
"responseHeaders": {
"date": "Wed, 11 Sep 2019 02:26:48 GMT",
"date": "Mon, 30 Sep 2019 23:51:11 GMT",
"server": "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0",
"x-ms-request-id": "96e51bfd-201e-0061-6948-682223000000",
"x-ms-request-id": "be25523b-d01e-0130-7de9-772c09000000",
"x-ms-version": "2019-02-02",
"x-ms-client-request-id": "6efe3c9d-49b1-4a21-a58d-4136f9d162e0",
"x-ms-client-request-id": "a6b9ab2e-e124-42ba-b822-008e5b53d7e2",
"content-length": "0"
}
}
],
"uniqueTestInfo": {
"container": "container156816880823602924",
"blob": "blob156816880844704274"
"container": "container156988747169908738",
"blob": "blob156988747177207270"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,113 +2,113 @@
"recordings": [
{
"method": "PUT",
"url": "https://fakestorageaccount.blob.core.windows.net/container156816880717007654",
"url": "https://fakestorageaccount.blob.core.windows.net/container156988747129208854",
"query": {
"restype": "container"
},
"requestBody": null,
"status": 201,
"response": "",
"responseHeaders": {
"date": "Wed, 11 Sep 2019 02:26:46 GMT",
"last-modified": "Wed, 11 Sep 2019 02:26:47 GMT",
"date": "Mon, 30 Sep 2019 23:51:10 GMT",
"last-modified": "Mon, 30 Sep 2019 23:51:11 GMT",
"server": "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0",
"etag": "\"0x8D7365F7EC84CB1\"",
"x-ms-request-id": "96e51799-201e-0061-4748-682223000000",
"etag": "\"0x8D74601125FB4C9\"",
"x-ms-request-id": "be255127-d01e-0130-0ae9-772c09000000",
"x-ms-version": "2019-02-02",
"x-ms-client-request-id": "d4add70b-ed2e-41b2-8802-d823287bca51",
"x-ms-client-request-id": "c80eb733-c059-4d50-b6c7-fc7c86c01d35",
"content-length": "0"
}
},
{
"method": "PUT",
"url": "https://fakestorageaccount.blob.core.windows.net/container156816880717007654/blob156816880738203090",
"url": "https://fakestorageaccount.blob.core.windows.net/container156988747129208854/blob156988747138105272",
"query": {},
"requestBody": "Hello World",
"status": 201,
"response": "",
"responseHeaders": {
"x-ms-content-crc64": "YeJLfssylmU=",
"date": "Wed, 11 Sep 2019 02:26:46 GMT",
"last-modified": "Wed, 11 Sep 2019 02:26:47 GMT",
"date": "Mon, 30 Sep 2019 23:51:10 GMT",
"last-modified": "Mon, 30 Sep 2019 23:51:11 GMT",
"server": "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0",
"content-md5": "sQqNsWTgdUEFt6mb5y4/5Q==",
"etag": "\"0x8D7365F7EE8DCA2\"",
"x-ms-request-id": "96e51819-201e-0061-3e48-682223000000",
"etag": "\"0x8D74601126A32EC\"",
"x-ms-request-id": "be255150-d01e-0130-2be9-772c09000000",
"x-ms-version": "2019-02-02",
"x-ms-client-request-id": "75c73388-3b53-4f01-b73b-23bb4a8b8476",
"x-ms-client-request-id": "7fb06858-a48b-4f36-b142-9851aa68d005",
"x-ms-request-server-encrypted": "true",
"content-length": "0"
}
},
{
"method": "PUT",
"url": "https://fakestorageaccount.blob.core.windows.net/container156816880717007654/blob156816880738203090",
"url": "https://fakestorageaccount.blob.core.windows.net/container156988747129208854/blob156988747138105272",
"query": {
"comp": "tier"
},
"requestBody": null,
"status": 200,
"response": "",
"responseHeaders": {
"date": "Wed, 11 Sep 2019 02:26:47 GMT",
"date": "Mon, 30 Sep 2019 23:51:10 GMT",
"server": "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0",
"x-ms-request-id": "96e5188c-201e-0061-2b48-682223000000",
"x-ms-request-id": "be25516a-d01e-0130-43e9-772c09000000",
"x-ms-version": "2019-02-02",
"x-ms-client-request-id": "6654bc63-8c05-4e83-81cf-d1383bc454af",
"x-ms-client-request-id": "342e6d7c-0858-496e-a406-29e8e7b889fd",
"content-length": "0"
}
},
{
"method": "HEAD",
"url": "https://fakestorageaccount.blob.core.windows.net/container156816880717007654/blob156816880738203090",
"url": "https://fakestorageaccount.blob.core.windows.net/container156988747129208854/blob156988747138105272",
"query": {},
"requestBody": null,
"status": 200,
"response": "",
"responseHeaders": {
"x-ms-blob-type": "BlockBlob",
"date": "Wed, 11 Sep 2019 02:26:47 GMT",
"x-ms-access-tier-change-time": "Wed, 11 Sep 2019 02:26:47 GMT",
"date": "Mon, 30 Sep 2019 23:51:10 GMT",
"x-ms-access-tier-change-time": "Mon, 30 Sep 2019 23:51:11 GMT",
"content-md5": "sQqNsWTgdUEFt6mb5y4/5Q==",
"x-ms-tag-count": "0",
"x-ms-server-encrypted": "true",
"x-ms-access-tier": "Cool",
"x-ms-client-request-id": "9081fe41-016d-4003-9332-f6afb05497c3",
"x-ms-client-request-id": "24822a2c-694a-4b68-8c1c-02e35bce7091",
"content-length": "11",
"x-ms-lease-state": "available",
"x-ms-lease-status": "unlocked",
"x-ms-creation-time": "Wed, 11 Sep 2019 02:26:47 GMT",
"last-modified": "Wed, 11 Sep 2019 02:26:47 GMT",
"x-ms-creation-time": "Mon, 30 Sep 2019 23:51:11 GMT",
"last-modified": "Mon, 30 Sep 2019 23:51:11 GMT",
"server": "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0",
"etag": "\"0x8D7365F7EE8DCA2\"",
"etag": "\"0x8D74601126A32EC\"",
"content-type": "application/octet-stream",
"x-ms-request-id": "96e518e7-201e-0061-7f48-682223000000",
"x-ms-request-id": "be255177-d01e-0130-4fe9-772c09000000",
"x-ms-version": "2019-02-02",
"accept-ranges": "bytes"
}
},
{
"method": "DELETE",
"url": "https://fakestorageaccount.blob.core.windows.net/container156816880717007654",
"url": "https://fakestorageaccount.blob.core.windows.net/container156988747129208854",
"query": {
"restype": "container"
},
"requestBody": null,
"status": 202,
"response": "",
"responseHeaders": {
"date": "Wed, 11 Sep 2019 02:26:47 GMT",
"date": "Mon, 30 Sep 2019 23:51:10 GMT",
"server": "Windows-Azure-Blob/1.0 Microsoft-HTTPAPI/2.0",
"x-ms-request-id": "96e51963-201e-0061-7448-682223000000",
"x-ms-request-id": "be255186-d01e-0130-5ce9-772c09000000",
"x-ms-version": "2019-02-02",
"x-ms-client-request-id": "1c8de5a9-89cd-4d82-80ba-bf7ed88397e7",
"x-ms-client-request-id": "d98e01b6-67d5-4b1c-b09f-0c9b41c8a23c",
"content-length": "0"
}
}
],
"uniqueTestInfo": {
"container": "container156816880717007654",
"blob": "blob156816880738203090"
"container": "container156988747129208854",
"blob": "blob156988747138105272"
}
}
Loading