Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
8547bd0
Add the Readme files and StorageTasks Spec file with CRUD and List by…
HimanshuChhabra Jul 12, 2023
3bb14ff
Rectify provider namespace to Microsoft.StorageTask and refactor exam…
HimanshuChhabra Jul 13, 2023
44f0c0d
Address Lint diff failure to use the model from common-types
HimanshuChhabra Jul 13, 2023
1795f18
Update Operations API with defaut response
HimanshuChhabra Jul 13, 2023
01a0684
Add List Storage Task Assignment ARM Ids API
HimanshuChhabra Jul 13, 2023
5805049
Add POST List Storage Task Run Report Summary API
HimanshuChhabra Jul 13, 2023
ec1fd91
Adding x-ms-identifiers
HimanshuChhabra Jul 14, 2023
c587beb
Spell corrections
HimanshuChhabra Jul 14, 2023
fd76ada
Fix spell check errors
HimanshuChhabra Jul 14, 2023
29a97c8
Add 201 response code to PUT task operation
HimanshuChhabra Jul 14, 2023
6d34597
Address minor changes and comments to reuse existing schema, update e…
HimanshuChhabra Jul 26, 2023
d62f7f1
Add request body to List Summary Report API, Add Example. Remove 200 …
HimanshuChhabra Jul 26, 2023
523649e
Add example reference to API file
HimanshuChhabra Jul 26, 2023
9953b72
Adding Storage task action preview API with example
HimanshuChhabra Jul 26, 2023
b5db2bd
Correct spelling
HimanshuChhabra Jul 26, 2023
93ca09e
Addig allowed resource type constraint
HimanshuChhabra Jul 26, 2023
b56f6ae
Change the Reporting API to GET with Arm resource type Microsoft.Stor…
HimanshuChhabra Jul 27, 2023
e361230
Address PR comments, correct and rephrease operation ids
HimanshuChhabra Jul 28, 2023
2896f21
Change to proxy resource
HimanshuChhabra Jul 28, 2023
cb238c1
Fix typo
HimanshuChhabra Jul 28, 2023
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
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"parameters": {
"api-version": "2023-01-01"
},
"responses": {
"200": {
"body": {
"value": [
{
"name": "Microsoft.StorageTasks/storageTasks/read",
"isDataAction": false,
"display": {
"provider": "Microsoft StorageTask",
"resource": "StorageTasks",
"operation": "Get or List StorageTask resource(s).",
"description": "Gets or Lists existing StorageTask resource(s)."
}
},
{
"name": "Microsoft.StorageTasks/storageTasks/write",
"isDataAction": false,
"display": {
"provider": "Microsoft StorageTask",
"resource": "StorageTasks",
"operation": "Create or Update StorageTask resource.",
"description": "Creates or Updates StorageTask resource."
}
},
{
"name": "Microsoft.StorageTasks/storageTasks/delete",
"isDataAction": false,
"display": {
"provider": "Microsoft StorageTask",
"resource": "StorageTasks",
"operation": "Delete StorageTask resource.",
"description": "Deletes StorageTask resource."
}
}
]
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,291 @@
{
"parameters": {
"subscriptionId": "1f31ba14-ce16-4281-b9b4-3e78da6e1616",
"api-version": "2023-01-01",
"monitor": "true",
"parameters": {
"properties": {
"container": {
"name": "firstContainer",
"metadata": [
{
"key": "mContainerKey1",
"value": "mContainerValue1"
}
]
},
"blobs": [
{
"name": "folder1/file1.txt",
"properties": [
{
"key": "Creation-Time",
"value": "Wed, 07 Jun 2023 05:23:29 GMT"
},
{
"key": "Last-Modified",
"value": "Wed, 07 Jun 2023 05:23:29 GMT"
},
{
"key": "Etag",
"value": "0x8DB67175454D36D"
},
{
"key": "Content-Length",
"value": "38619"
},
{
"key": "Content-Type",
"value": "text/xml"
},
{
"key": "Content-Encoding",
"value": ""
},
{
"key": "Content-Language",
"value": ""
},
{
"key": "Content-CRC64",
"value": ""
},
{
"key": "Content-MD5",
"value": "njr6iDrmU9+FC89WMK22EA=="
},
{
"key": "Cache-Control",
"value": ""
},
{
"key": "Content-Disposition",
"value": ""
},
{
"key": "BlobType",
"value": "BlockBlob"
},
{
"key": "AccessTier",
"value": "Hot"
},
{
"key": "AccessTierInferred",
"value": "true"
},
{
"key": "LeaseStatus",
"value": "unlocked"
},
{
"key": "LeaseState",
"value": "available"
},
{
"key": "ServerEncrypted",
"value": "true"
},
{
"key": "TagCount",
"value": "1"
}
],
"metadata": [
{
"key": "mKey1",
"value": "mValue1"
}
],
"tags": [
{
"key": "tKey1",
"value": "tValue1"
}
]
},
{
"name": "folder2/file1.txt",
"properties": [
{
"key": "Creation-Time",
"value": "Wed, 06 Jun 2023 05:23:29 GMT"
},
{
"key": "Last-Modified",
"value": "Wed, 06 Jun 2023 05:23:29 GMT"
},
{
"key": "Etag",
"value": "0x6FB67175454D36D"
}
],
"metadata": [
{
"key": "mKey2",
"value": "mValue2"
}
],
"tags": [
{
"key": "tKey2",
"value": "tValue2"
}
]
}
],
"action": {
"if": {
"condition": "[[equals(AccessTier, 'Hot')]]"
},
"elseBlockExists": true
}
}
}
},
"responses": {
"200": {
"body": {
"properties": {
"container": {
"name": "firstContainer",
"metadata": [
{
"key": "mContainerKey1",
"value": "mContainerValue1"
}
]
},
"blobs": [
{
"name": "folder1/file1.txt",
"matchedBlock": "If",
"properties": [
{
"key": "Creation-Time",
"value": "Wed, 07 Jun 2023 05:23:29 GMT"
},
{
"key": "Last-Modified",
"value": "Wed, 07 Jun 2023 05:23:29 GMT"
},
{
"key": "Etag",
"value": "0x8DB67175454D36D"
},
{
"key": "Content-Length",
"value": "38619"
},
{
"key": "Content-Type",
"value": "text/xml"
},
{
"key": "Content-Encoding",
"value": ""
},
{
"key": "Content-Language",
"value": ""
},
{
"key": "Content-CRC64",
"value": ""
},
{
"key": "Content-MD5",
"value": "njr6iDrmU9+FC89WMK22EA=="
},
{
"key": "Cache-Control",
"value": ""
},
{
"key": "Content-Disposition",
"value": ""
},
{
"key": "BlobType",
"value": "BlockBlob"
},
{
"key": "AccessTier",
"value": "Hot"
},
{
"key": "AccessTierInferred",
"value": "true"
},
{
"key": "LeaseStatus",
"value": "unlocked"
},
{
"key": "LeaseState",
"value": "available"
},
{
"key": "ServerEncrypted",
"value": "true"
},
{
"key": "TagCount",
"value": "1"
}
],
"metadata": [
{
"key": "mKey1",
"value": "mValue1"
}
],
"tags": [
{
"key": "tKey1",
"value": "tValue1"
}
]
},
{
"name": "folder2/file1.txt",
"matchedBlock": "Else",
"properties": [
{
"key": "Creation-Time",
"value": "Wed, 06 Jun 2023 05:23:29 GMT"
},
{
"key": "Last-Modified",
"value": "Wed, 06 Jun 2023 05:23:29 GMT"
},
{
"key": "Etag",
"value": "0x6FB67175454D36D"
}
],
"metadata": [
{
"key": "mKey2",
"value": "mValue2"
}
],
"tags": [
{
"key": "tKey2",
"value": "tValue2"
}
]
}
],
"action": {
"if": {
"condition": "[[equals(AccessTier, 'Hot')]]"
},
"elseBlockExists": true
}
}
}
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"parameters": {
"subscriptionId": "1f31ba14-ce16-4281-b9b4-3e78da6e1616",
"resourceGroupName": "res4228",
"storageTaskName": "mytask1",
"api-version": "2023-01-01",
"monitor": "true"
},
"responses": {
"202": {
"headers": {
"location": "https://management.azure.com/subscriptions/{subscription-id}/resourceGroups/res9101/providers/Microsoft.StorageTasks/locations/westus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2023-01-01"
}
},
"204": {}
}
}
Loading