From e50161c0e3d88b00c17eaa93a3b9e039afb78304 Mon Sep 17 00:00:00 2001 From: Zhenfeng Date: Wed, 30 Sep 2020 09:04:09 -0700 Subject: [PATCH 1/3] Add last access time and smb multichannel feature into Aug2020 preview --- .../preview/2020-08-01-preview/blob.json | 41 +++++++ ...ervicesPutLastAccessTimeBasedTracking.json | 41 +++++++ ...FileServicesPut_EnableSMBMultichannel.json | 43 ++++++++ ...Policy_LastAccessTimeBasedBlobActions.json | 102 ++++++++++++++++++ .../preview/2020-08-01-preview/file.json | 31 ++++++ .../preview/2020-08-01-preview/storage.json | 16 ++- 6 files changed, 271 insertions(+), 3 deletions(-) create mode 100644 specification/storage/resource-manager/Microsoft.Storage/preview/2020-08-01-preview/examples/BlobServicesPutLastAccessTimeBasedTracking.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/preview/2020-08-01-preview/examples/FileServicesPut_EnableSMBMultichannel.json create mode 100644 specification/storage/resource-manager/Microsoft.Storage/preview/2020-08-01-preview/examples/StorageAccountSetMangementPolicy_LastAccessTimeBasedBlobActions.json diff --git a/specification/storage/resource-manager/Microsoft.Storage/preview/2020-08-01-preview/blob.json b/specification/storage/resource-manager/Microsoft.Storage/preview/2020-08-01-preview/blob.json index b07b7afda9ad..42ea9ee1aeb9 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/preview/2020-08-01-preview/blob.json +++ b/specification/storage/resource-manager/Microsoft.Storage/preview/2020-08-01-preview/blob.json @@ -64,6 +64,9 @@ "x-ms-examples": { "PutBlobServices": { "$ref": "./examples/BlobServicesPut.json" + }, + "BlobServicesPutLastAccessTimeBasedTracking": { + "$ref": "./examples/BlobServicesPutLastAccessTimeBasedTracking.json" } }, "description": "Sets the properties of a storage account’s Blob service, including properties for Storage Analytics and CORS (Cross-Origin Resource Sharing) rules. ", @@ -1204,6 +1207,10 @@ "containerDeleteRetentionPolicy": { "$ref": "./common.json#/definitions/DeleteRetentionPolicy", "description": "The blob service properties for container soft delete." + }, + "lastAccessTimeTrackingPolicy": { + "$ref": "#/definitions/LastAccessTimeTrackingPolicy", + "description": "The blob service property to configure last access time based tracking policy." } }, "x-ms-client-flatten": true, @@ -1274,6 +1281,40 @@ ], "description": "The blob service properties for blob restore policy" }, + "LastAccessTimeTrackingPolicy": { + "properties": { + "enable": { + "type": "boolean", + "description": "When set to true last access time based tracking is enabled." + }, + "name": { + "type": "string", + "description": "Name of the policy. The valid value is AccessTimeTracking. This field is currently read only", + "enum": [ + "AccessTimeTracking" + ], + "x-ms-enum": { + "name": "name", + "modelAsString": true + } + }, + "trackingGranularityInDays": { + "type": "integer", + "description": "The field specifies blob object tracking granularity in days, typically how often the blob object should be tracked.This field is currently read only with value as 1" + }, + "blobType": { + "type": "array", + "items": { + "type": "string" + }, + "description": "An array of predefined supported blob types. Only blockBlob is the supported value. This field is currently read only" + } + }, + "required": [ + "enable" + ], + "description": "The blob service properties for Last access time based tracking policy." + }, "LeaseContainerRequest": { "properties": { "action": { diff --git a/specification/storage/resource-manager/Microsoft.Storage/preview/2020-08-01-preview/examples/BlobServicesPutLastAccessTimeBasedTracking.json b/specification/storage/resource-manager/Microsoft.Storage/preview/2020-08-01-preview/examples/BlobServicesPutLastAccessTimeBasedTracking.json new file mode 100644 index 000000000000..2512dcff5529 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/preview/2020-08-01-preview/examples/BlobServicesPutLastAccessTimeBasedTracking.json @@ -0,0 +1,41 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "resourceGroupName": "res4410", + "accountName": "sto8607", + "BlobServicesName": "default", + "api-version": "2020-08-01-preview", + "monitor": "true", + "parameters": { + "properties": { + "lastAccessTimeTrackingPolicy": { + "enable": true, + "name": "AccessTimeTracking", + "trackingGranularityInDays": 1, + "blobType": [ + "blockBlob" + ] + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/{subscription-id}/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/blobServices/default", + "name": "default", + "type": "Microsoft.Storage/storageAccounts/blobServices", + "properties": { + "lastAccessTimeTrackingPolicy": { + "enable": true, + "name": "AccessTimeTracking", + "trackingGranularityInDays": 1, + "blobType": [ + "blockBlob" + ] + } + } + } + } + } + } \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/preview/2020-08-01-preview/examples/FileServicesPut_EnableSMBMultichannel.json b/specification/storage/resource-manager/Microsoft.Storage/preview/2020-08-01-preview/examples/FileServicesPut_EnableSMBMultichannel.json new file mode 100644 index 000000000000..2ca568fcb3d8 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/preview/2020-08-01-preview/examples/FileServicesPut_EnableSMBMultichannel.json @@ -0,0 +1,43 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "resourceGroupName": "res4410", + "accountName": "sto8607", + "FileServicesName": "default", + "api-version": "2020-08-01-preview", + "monitor": "true", + "parameters": { + "properties": { + "protocolSettings": { + "smb": { + "multichannel": { + "enabled": true + } + } + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/{subscription-id}/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/fileServices/default", + "name": "default", + "type": "Microsoft.Storage/storageAccounts/fileServices", + "properties": { + "protocolSettings": { + "smb": { + "multichannel": { + "enabled": true + } + } + } + }, + "sku": { + "name": "Premium_LRS", + "tier": "Premium" + } + } + } + } + } \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/preview/2020-08-01-preview/examples/StorageAccountSetMangementPolicy_LastAccessTimeBasedBlobActions.json b/specification/storage/resource-manager/Microsoft.Storage/preview/2020-08-01-preview/examples/StorageAccountSetMangementPolicy_LastAccessTimeBasedBlobActions.json new file mode 100644 index 000000000000..2d3e548c1e6a --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/preview/2020-08-01-preview/examples/StorageAccountSetMangementPolicy_LastAccessTimeBasedBlobActions.json @@ -0,0 +1,102 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "resourceGroupName": "res7687", + "accountName": "sto9699", + "managementPolicyName": "default", + "api-version": "2020-08-01-preview", + "monitor": "true", + "properties": { + "properties": { + "policy": { + "rules": [ + { + "enabled": true, + "name": "olcmtest", + "type": "Lifecycle", + "definition": { + "filters": { + "blobTypes": [ + "blockBlob" + ], + "prefixMatch": [ + "olcmtestcontainer" + ] + }, + "actions": { + "baseBlob": { + "tierToCool": { + "daysAfterLastAccessTimeGreaterThan": 30 + }, + "tierToArchive": { + "daysAfterLastAccessTimeGreaterThan": 90 + }, + "delete": { + "daysAfterLastAccessTimeGreaterThan": 1000 + }, + "enableAutoTierToHotFromCool": true + }, + "snapshot": { + "delete": { + "daysAfterCreationGreaterThan": 30 + } + } + } + } + } + ] + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Storage/storageAccounts/sto288/managementPolicies/default", + "name": "DefaultManagementPolicy", + "type": "Microsoft.Storage/storageAccounts/managementPolicies", + "properties": { + "policy": { + "rules": [ + { + "enabled": true, + "name": "olcmtest", + "type": "Lifecycle", + "definition": { + "filters": { + "blobTypes": [ + "blockBlob" + ], + "prefixMatch": [ + "olcmtestcontainer" + ] + }, + "actions": { + "baseBlob": { + "tierToCool": { + "daysAfterLastAccessTimeGreaterThan": 30 + }, + "tierToArchive": { + "daysAfterLastAccessTimeGreaterThan": 90 + }, + "delete": { + "daysAfterLastAccessTimeGreaterThan": 1000 + }, + "enableAutoTierToHotFromCool": true + }, + "snapshot": { + "delete": { + "daysAfterCreationGreaterThan": 30 + } + } + } + } + } + ] + }, + "lastModifiedTime": "2018-06-08T02:53:39.0932539Z" + } + } + } + } + } \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/preview/2020-08-01-preview/file.json b/specification/storage/resource-manager/Microsoft.Storage/preview/2020-08-01-preview/file.json index 2035390ef5ef..2fc5060baacc 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/preview/2020-08-01-preview/file.json +++ b/specification/storage/resource-manager/Microsoft.Storage/preview/2020-08-01-preview/file.json @@ -67,6 +67,9 @@ "x-ms-examples": { "PutFileServices": { "$ref": "./examples/FileServicesPut.json" + }, + "PutFileServices_EnableSMBMultichannel": { + "$ref": "./examples/FileServicesPut_EnableSMBMultichannel.json" } }, "description": "Sets the properties of file services in storage accounts, including CORS (Cross-Origin Resource Sharing) rules. ", @@ -526,6 +529,10 @@ "shareDeleteRetentionPolicy": { "$ref": "./common.json#/definitions/DeleteRetentionPolicy", "description": "The file service properties for share soft delete." + }, + "protocolSettings": { + "$ref": "#/definitions/ProtocolSettings", + "description": "Protocol settings for file service" } }, "x-ms-client-flatten": true, @@ -545,6 +552,30 @@ ], "description": "The properties of File services in storage account." }, + "ProtocolSettings": { + "properties": { + "smb": { + "$ref": "#/definitions/SmbSetting", + "description": "Setting for SMB protocol" + } + } + }, + "SmbSetting": { + "properties": { + "multichannel": { + "$ref": "#/definitions/Multichannel", + "description": "Multichannel setting. Applies to Premium FileStorage only." + } + } + }, + "Multichannel": { + "properties": { + "enabled": { + "type": "boolean", + "description": "Indicates whether multichannel is enabled" + } + } + }, "FileShare": { "properties": { "properties": { diff --git a/specification/storage/resource-manager/Microsoft.Storage/preview/2020-08-01-preview/storage.json b/specification/storage/resource-manager/Microsoft.Storage/preview/2020-08-01-preview/storage.json index d8a18901b502..e3bab12d8ea5 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/preview/2020-08-01-preview/storage.json +++ b/specification/storage/resource-manager/Microsoft.Storage/preview/2020-08-01-preview/storage.json @@ -825,6 +825,9 @@ "x-ms-examples": { "StorageAccountSetManagementPolicies": { "$ref": "./examples/StorageAccountSetManagementPolicy.json" + }, + "StorageAccountSetMangementPolicy_LastAccessTimeBasedBlobActions": { + "$ref": "./examples/StorageAccountSetMangementPolicy_LastAccessTimeBasedBlobActions.json" } }, "parameters": [ @@ -3556,6 +3559,10 @@ "delete": { "$ref": "#/definitions/DateAfterModification", "description": "The function to delete the blob" + }, + "enableAutoTierToHotFromCool": { + "type": "boolean", + "description": "This property enables auto tiering of a blob from cool to hot on a blob access. This property requires tierToCool.daysAfterLastAccessTimeGreaterThan." } }, "description": "Management policy action for base blob." @@ -3576,11 +3583,14 @@ "multipleOf": 1.0, "minimum": 0, "description": "Value indicating the age in days after last modification" + }, + "daysAfterLastAccessTimeGreaterThan": { + "type": "number", + "multipleOf": 1.0, + "minimum": 0, + "description": "Value indicating the age in days after last blob access. This property can only be used in conjuction with last access time tracking policy" } }, - "required": [ - "daysAfterModificationGreaterThan" - ], "description": "Object to define the number of days after last modification." }, "DateAfterCreation": { From b69bb3d43513624e41ae6e365c6d2b8aa29b484e Mon Sep 17 00:00:00 2001 From: Zhenfeng Date: Wed, 30 Sep 2020 10:11:31 -0700 Subject: [PATCH 2/3] Fix CI issue --- ...ervicesPutLastAccessTimeBasedTracking.json | 54 +++++----- ...FileServicesPut_EnableSMBMultichannel.json | 60 +++++------ ...Policy_LastAccessTimeBasedBlobActions.json | 102 ++++++++++++++++++ ...Policy_LastAccessTimeBasedBlobActions.json | 102 ------------------ .../preview/2020-08-01-preview/file.json | 9 +- .../preview/2020-08-01-preview/storage.json | 6 +- 6 files changed, 168 insertions(+), 165 deletions(-) create mode 100644 specification/storage/resource-manager/Microsoft.Storage/preview/2020-08-01-preview/examples/StorageAccountSetManagementPolicy_LastAccessTimeBasedBlobActions.json delete mode 100644 specification/storage/resource-manager/Microsoft.Storage/preview/2020-08-01-preview/examples/StorageAccountSetMangementPolicy_LastAccessTimeBasedBlobActions.json diff --git a/specification/storage/resource-manager/Microsoft.Storage/preview/2020-08-01-preview/examples/BlobServicesPutLastAccessTimeBasedTracking.json b/specification/storage/resource-manager/Microsoft.Storage/preview/2020-08-01-preview/examples/BlobServicesPutLastAccessTimeBasedTracking.json index 2512dcff5529..a412fc28b489 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/preview/2020-08-01-preview/examples/BlobServicesPutLastAccessTimeBasedTracking.json +++ b/specification/storage/resource-manager/Microsoft.Storage/preview/2020-08-01-preview/examples/BlobServicesPutLastAccessTimeBasedTracking.json @@ -1,12 +1,30 @@ { + "parameters": { + "subscriptionId": "{subscription-id}", + "resourceGroupName": "res4410", + "accountName": "sto8607", + "BlobServicesName": "default", + "api-version": "2020-08-01-preview", + "monitor": "true", "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res4410", - "accountName": "sto8607", - "BlobServicesName": "default", - "api-version": "2020-08-01-preview", - "monitor": "true", - "parameters": { + "properties": { + "lastAccessTimeTrackingPolicy": { + "enable": true, + "name": "AccessTimeTracking", + "trackingGranularityInDays": 1, + "blobType": [ + "blockBlob" + ] + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/{subscription-id}/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/blobServices/default", + "name": "default", + "type": "Microsoft.Storage/storageAccounts/blobServices", "properties": { "lastAccessTimeTrackingPolicy": { "enable": true, @@ -18,24 +36,6 @@ } } } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/blobServices/default", - "name": "default", - "type": "Microsoft.Storage/storageAccounts/blobServices", - "properties": { - "lastAccessTimeTrackingPolicy": { - "enable": true, - "name": "AccessTimeTracking", - "trackingGranularityInDays": 1, - "blobType": [ - "blockBlob" - ] - } - } - } - } } - } \ No newline at end of file + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/preview/2020-08-01-preview/examples/FileServicesPut_EnableSMBMultichannel.json b/specification/storage/resource-manager/Microsoft.Storage/preview/2020-08-01-preview/examples/FileServicesPut_EnableSMBMultichannel.json index 2ca568fcb3d8..4368652b23e3 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/preview/2020-08-01-preview/examples/FileServicesPut_EnableSMBMultichannel.json +++ b/specification/storage/resource-manager/Microsoft.Storage/preview/2020-08-01-preview/examples/FileServicesPut_EnableSMBMultichannel.json @@ -1,12 +1,29 @@ { + "parameters": { + "subscriptionId": "{subscription-id}", + "resourceGroupName": "res4410", + "accountName": "sto8607", + "FileServicesName": "default", + "api-version": "2020-08-01-preview", + "monitor": "true", "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res4410", - "accountName": "sto8607", - "FileServicesName": "default", - "api-version": "2020-08-01-preview", - "monitor": "true", - "parameters": { + "properties": { + "protocolSettings": { + "smb": { + "multichannel": { + "enabled": true + } + } + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/{subscription-id}/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/fileServices/default", + "name": "default", + "type": "Microsoft.Storage/storageAccounts/fileServices", "properties": { "protocolSettings": { "smb": { @@ -15,29 +32,12 @@ } } } - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/res4410/providers/Microsoft.Storage/storageAccounts/sto8607/fileServices/default", - "name": "default", - "type": "Microsoft.Storage/storageAccounts/fileServices", - "properties": { - "protocolSettings": { - "smb": { - "multichannel": { - "enabled": true - } - } - } - }, - "sku": { - "name": "Premium_LRS", - "tier": "Premium" - } + }, + "sku": { + "name": "Premium_LRS", + "tier": "Premium" } } } - } \ No newline at end of file + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/preview/2020-08-01-preview/examples/StorageAccountSetManagementPolicy_LastAccessTimeBasedBlobActions.json b/specification/storage/resource-manager/Microsoft.Storage/preview/2020-08-01-preview/examples/StorageAccountSetManagementPolicy_LastAccessTimeBasedBlobActions.json new file mode 100644 index 000000000000..52c40ceacc81 --- /dev/null +++ b/specification/storage/resource-manager/Microsoft.Storage/preview/2020-08-01-preview/examples/StorageAccountSetManagementPolicy_LastAccessTimeBasedBlobActions.json @@ -0,0 +1,102 @@ +{ + "parameters": { + "subscriptionId": "{subscription-id}", + "resourceGroupName": "res7687", + "accountName": "sto9699", + "managementPolicyName": "default", + "api-version": "2020-08-01-preview", + "monitor": "true", + "properties": { + "properties": { + "policy": { + "rules": [ + { + "enabled": true, + "name": "olcmtest", + "type": "Lifecycle", + "definition": { + "filters": { + "blobTypes": [ + "blockBlob" + ], + "prefixMatch": [ + "olcmtestcontainer" + ] + }, + "actions": { + "baseBlob": { + "tierToCool": { + "daysAfterLastAccessTimeGreaterThan": 30 + }, + "tierToArchive": { + "daysAfterLastAccessTimeGreaterThan": 90 + }, + "delete": { + "daysAfterLastAccessTimeGreaterThan": 1000 + }, + "enableAutoTierToHotFromCool": true + }, + "snapshot": { + "delete": { + "daysAfterCreationGreaterThan": 30 + } + } + } + } + } + ] + } + } + } + }, + "responses": { + "200": { + "body": { + "id": "/subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Storage/storageAccounts/sto288/managementPolicies/default", + "name": "DefaultManagementPolicy", + "type": "Microsoft.Storage/storageAccounts/managementPolicies", + "properties": { + "policy": { + "rules": [ + { + "enabled": true, + "name": "olcmtest", + "type": "Lifecycle", + "definition": { + "filters": { + "blobTypes": [ + "blockBlob" + ], + "prefixMatch": [ + "olcmtestcontainer" + ] + }, + "actions": { + "baseBlob": { + "tierToCool": { + "daysAfterLastAccessTimeGreaterThan": 30 + }, + "tierToArchive": { + "daysAfterLastAccessTimeGreaterThan": 90 + }, + "delete": { + "daysAfterLastAccessTimeGreaterThan": 1000 + }, + "enableAutoTierToHotFromCool": true + }, + "snapshot": { + "delete": { + "daysAfterCreationGreaterThan": 30 + } + } + } + } + } + ] + }, + "lastModifiedTime": "2018-06-08T02:53:39.0932539Z" + } + } + } + } +} diff --git a/specification/storage/resource-manager/Microsoft.Storage/preview/2020-08-01-preview/examples/StorageAccountSetMangementPolicy_LastAccessTimeBasedBlobActions.json b/specification/storage/resource-manager/Microsoft.Storage/preview/2020-08-01-preview/examples/StorageAccountSetMangementPolicy_LastAccessTimeBasedBlobActions.json deleted file mode 100644 index 2d3e548c1e6a..000000000000 --- a/specification/storage/resource-manager/Microsoft.Storage/preview/2020-08-01-preview/examples/StorageAccountSetMangementPolicy_LastAccessTimeBasedBlobActions.json +++ /dev/null @@ -1,102 +0,0 @@ -{ - "parameters": { - "subscriptionId": "{subscription-id}", - "resourceGroupName": "res7687", - "accountName": "sto9699", - "managementPolicyName": "default", - "api-version": "2020-08-01-preview", - "monitor": "true", - "properties": { - "properties": { - "policy": { - "rules": [ - { - "enabled": true, - "name": "olcmtest", - "type": "Lifecycle", - "definition": { - "filters": { - "blobTypes": [ - "blockBlob" - ], - "prefixMatch": [ - "olcmtestcontainer" - ] - }, - "actions": { - "baseBlob": { - "tierToCool": { - "daysAfterLastAccessTimeGreaterThan": 30 - }, - "tierToArchive": { - "daysAfterLastAccessTimeGreaterThan": 90 - }, - "delete": { - "daysAfterLastAccessTimeGreaterThan": 1000 - }, - "enableAutoTierToHotFromCool": true - }, - "snapshot": { - "delete": { - "daysAfterCreationGreaterThan": 30 - } - } - } - } - } - ] - } - } - } - }, - "responses": { - "200": { - "body": { - "id": "/subscriptions/{subscription-id}/resourceGroups/res7231/providers/Microsoft.Storage/storageAccounts/sto288/managementPolicies/default", - "name": "DefaultManagementPolicy", - "type": "Microsoft.Storage/storageAccounts/managementPolicies", - "properties": { - "policy": { - "rules": [ - { - "enabled": true, - "name": "olcmtest", - "type": "Lifecycle", - "definition": { - "filters": { - "blobTypes": [ - "blockBlob" - ], - "prefixMatch": [ - "olcmtestcontainer" - ] - }, - "actions": { - "baseBlob": { - "tierToCool": { - "daysAfterLastAccessTimeGreaterThan": 30 - }, - "tierToArchive": { - "daysAfterLastAccessTimeGreaterThan": 90 - }, - "delete": { - "daysAfterLastAccessTimeGreaterThan": 1000 - }, - "enableAutoTierToHotFromCool": true - }, - "snapshot": { - "delete": { - "daysAfterCreationGreaterThan": 30 - } - } - } - } - } - ] - }, - "lastModifiedTime": "2018-06-08T02:53:39.0932539Z" - } - } - } - } - } \ No newline at end of file diff --git a/specification/storage/resource-manager/Microsoft.Storage/preview/2020-08-01-preview/file.json b/specification/storage/resource-manager/Microsoft.Storage/preview/2020-08-01-preview/file.json index 2fc5060baacc..1f4729ed5ef9 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/preview/2020-08-01-preview/file.json +++ b/specification/storage/resource-manager/Microsoft.Storage/preview/2020-08-01-preview/file.json @@ -558,7 +558,8 @@ "$ref": "#/definitions/SmbSetting", "description": "Setting for SMB protocol" } - } + }, + "description": "Protocol settings for file service" }, "SmbSetting": { "properties": { @@ -566,7 +567,8 @@ "$ref": "#/definitions/Multichannel", "description": "Multichannel setting. Applies to Premium FileStorage only." } - } + }, + "description": "Setting for SMB protocol" }, "Multichannel": { "properties": { @@ -574,7 +576,8 @@ "type": "boolean", "description": "Indicates whether multichannel is enabled" } - } + }, + "description": "Multichannel setting. Applies to Premium FileStorage only." }, "FileShare": { "properties": { diff --git a/specification/storage/resource-manager/Microsoft.Storage/preview/2020-08-01-preview/storage.json b/specification/storage/resource-manager/Microsoft.Storage/preview/2020-08-01-preview/storage.json index e3bab12d8ea5..82cb21fda43a 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/preview/2020-08-01-preview/storage.json +++ b/specification/storage/resource-manager/Microsoft.Storage/preview/2020-08-01-preview/storage.json @@ -826,8 +826,8 @@ "StorageAccountSetManagementPolicies": { "$ref": "./examples/StorageAccountSetManagementPolicy.json" }, - "StorageAccountSetMangementPolicy_LastAccessTimeBasedBlobActions": { - "$ref": "./examples/StorageAccountSetMangementPolicy_LastAccessTimeBasedBlobActions.json" + "StorageAccountSetManagementPolicy_LastAccessTimeBasedBlobActions": { + "$ref": "./examples/StorageAccountSetManagementPolicy_LastAccessTimeBasedBlobActions.json" } }, "parameters": [ @@ -3588,7 +3588,7 @@ "type": "number", "multipleOf": 1.0, "minimum": 0, - "description": "Value indicating the age in days after last blob access. This property can only be used in conjuction with last access time tracking policy" + "description": "Value indicating the age in days after last blob access. This property can only be used in conjunction with last access time tracking policy" } }, "description": "Object to define the number of days after last modification." From 5aaacd5e87cb088557ee24b12dd33f833b43df70 Mon Sep 17 00:00:00 2001 From: Zhenfeng Date: Fri, 2 Oct 2020 11:09:23 -0700 Subject: [PATCH 3/3] Update blob.json --- .../Microsoft.Storage/preview/2020-08-01-preview/blob.json | 1 + 1 file changed, 1 insertion(+) diff --git a/specification/storage/resource-manager/Microsoft.Storage/preview/2020-08-01-preview/blob.json b/specification/storage/resource-manager/Microsoft.Storage/preview/2020-08-01-preview/blob.json index 42ea9ee1aeb9..bfb8cb862ec7 100644 --- a/specification/storage/resource-manager/Microsoft.Storage/preview/2020-08-01-preview/blob.json +++ b/specification/storage/resource-manager/Microsoft.Storage/preview/2020-08-01-preview/blob.json @@ -1300,6 +1300,7 @@ }, "trackingGranularityInDays": { "type": "integer", + "format": "int32", "description": "The field specifies blob object tracking granularity in days, typically how often the blob object should be tracked.This field is currently read only with value as 1" }, "blobType": {