-
Notifications
You must be signed in to change notification settings - Fork 5.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add last access time and smb multichannel feature into Aug2020 preview (
#10993) * Add last access time and smb multichannel feature into Aug2020 preview * Fix CI issue * Update blob.json
- Loading branch information
Showing
6 changed files
with
275 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
41 changes: 41 additions & 0 deletions
41
...orage/preview/2020-08-01-preview/examples/BlobServicesPutLastAccessTimeBasedTracking.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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" | ||
] | ||
} | ||
} | ||
} | ||
} | ||
} | ||
} |
43 changes: 43 additions & 0 deletions
43
...ft.Storage/preview/2020-08-01-preview/examples/FileServicesPut_EnableSMBMultichannel.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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" | ||
} | ||
} | ||
} | ||
} | ||
} |
102 changes: 102 additions & 0 deletions
102
...01-preview/examples/StorageAccountSetManagementPolicy_LastAccessTimeBasedBlobActions.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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" | ||
} | ||
} | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters