Skip to content

Commit 9d63ae5

Browse files
author
Aman Jain
committed
Adding 2024-07-01 stable specification for auto export feature
1 parent 13f3c7a commit 9d63ae5

File tree

10 files changed

+889
-12
lines changed

10 files changed

+889
-12
lines changed

specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2024-07-01/amlfilesystem.json

Lines changed: 567 additions & 6 deletions
Large diffs are not rendered by default.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,89 @@
1+
{
2+
"parameters": {
3+
"resourceGroupName": "scgroup",
4+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
5+
"api-version": "2024-07-01",
6+
"amlFilesystemName": "fs1",
7+
"autoExportJobName": "job1",
8+
"autoExportJob": {
9+
"tags": {
10+
"Dept": "ContosoAds"
11+
},
12+
"location": "eastus",
13+
"properties": {
14+
"autoExportPrefixes": [
15+
"/"
16+
]
17+
}
18+
}
19+
},
20+
"responses": {
21+
"200": {
22+
"body": {
23+
"tags": {
24+
"Dept": "ContosoAds"
25+
},
26+
"name": "job1",
27+
"location": "eastus",
28+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlfilesystems/fs1/autoExportJob/job1",
29+
"type": "Microsoft.StorageCache/amlFilesystem/autoExportJob",
30+
"properties": {
31+
"adminStatus": "Enable",
32+
"provisioningState": "Succeeded",
33+
"autoExportPrefixes": [
34+
"/"
35+
],
36+
"status": {
37+
"state": "InProgress",
38+
"statusMessage": "Auto Export is in progress",
39+
"totalFilesExported": 1000000,
40+
"totalMiBExported": 10000,
41+
"totalFilesFailed": 5,
42+
"exportIterationCount": 100,
43+
"lastSuccessfulIterationCompletionTimeUTC": "2024-04-21T19:28:43.511Z",
44+
"currentIterationFilesDiscovered": 10,
45+
"currentIterationMiBDiscovered": 4000,
46+
"currentIterationFilesExported": 5,
47+
"currentIterationMiBExported": 500,
48+
"currentIterationFilesFailed": 1,
49+
"lastStartedTimeUTC": "2024-04-21T17:25:43.511Z"
50+
}
51+
}
52+
}
53+
},
54+
"201": {
55+
"body": {
56+
"tags": {
57+
"Dept": "ContosoAds"
58+
},
59+
"name": "job1",
60+
"location": "eastus",
61+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlfilesystems/fs1/autoExportJob/job1",
62+
"type": "Microsoft.StorageCache/amlFilesystem/autoExportJob",
63+
"properties": {
64+
"adminStatus": "Enable",
65+
"provisioningState": "Succeeded",
66+
"autoExportPrefixes": [
67+
"/"
68+
],
69+
"status": {
70+
"state": "InProgress",
71+
"statusMessage": "Auto Export is in progress",
72+
"totalFilesExported": 1000000,
73+
"totalMiBExported": 10000,
74+
"totalFilesFailed": 5,
75+
"exportIterationCount": 100,
76+
"lastSuccessfulIterationCompletionTimeUTC": "2024-04-21T19:28:43.511Z",
77+
"currentIterationFilesDiscovered": 10,
78+
"currentIterationMiBDiscovered": 4000,
79+
"currentIterationFilesExported": 5,
80+
"currentIterationMiBExported": 500,
81+
"currentIterationFilesFailed": 1,
82+
"lastStartedTimeUTC": "2024-04-21T17:25:43.511Z"
83+
}
84+
}
85+
}
86+
}
87+
}
88+
}
89+
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
{
2+
"parameters": {
3+
"resourceGroupName": "scgroup",
4+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
5+
"api-version": "2024-07-01",
6+
"amlFilesystemName": "fs1",
7+
"autoExportJobName": "job1"
8+
},
9+
"responses": {
10+
"202": {
11+
"headers": {
12+
"Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2024-07-01",
13+
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2024-07-01"
14+
}
15+
},
16+
"204": {}
17+
}
18+
}
19+
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
{
2+
"parameters": {
3+
"resourceGroupName": "scgroup",
4+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
5+
"api-version": "2024-07-01",
6+
"amlFilesystemName": "fs1",
7+
"autoExportJobName": "job1"
8+
},
9+
"responses": {
10+
"200": {
11+
"body": {
12+
"name": "job1",
13+
"location": "eastus",
14+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlfilesystems/fs1/autoExportJob/job1",
15+
"type": "Microsoft.StorageCache/amlFilesystem/autoExportJob",
16+
"properties": {
17+
"adminStatus": "Enable",
18+
"provisioningState": "Succeeded",
19+
"autoExportPrefixes": [
20+
"/"
21+
],
22+
"status": {
23+
"state": "InProgress",
24+
"statusMessage": "Auto Export is in progress",
25+
"totalFilesExported": 1000000,
26+
"totalMiBExported": 10000,
27+
"totalFilesFailed": 5,
28+
"exportIterationCount": 100,
29+
"lastSuccessfulIterationCompletionTimeUTC": "2024-04-21T19:28:43.511Z",
30+
"currentIterationFilesDiscovered": 10,
31+
"currentIterationMiBDiscovered": 4000,
32+
"currentIterationFilesExported": 5,
33+
"currentIterationMiBExported": 500,
34+
"currentIterationFilesFailed": 1,
35+
"lastStartedTimeUTC": "2024-04-21T17:25:43.511Z"
36+
}
37+
}
38+
}
39+
}
40+
}
41+
}
42+
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,74 @@
1+
{
2+
"parameters": {
3+
"resourceGroupName": "scgroup",
4+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
5+
"api-version": "2024-07-01",
6+
"amlFilesystemName": "fs1"
7+
},
8+
"responses": {
9+
"200": {
10+
"body": {
11+
"value": [
12+
{
13+
"name": "job1",
14+
"location": "eastus",
15+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlfilesystems/fs1/autoExportJob/job1",
16+
"type": "Microsoft.StorageCache/amlFilesystem/autoExportJob",
17+
"properties": {
18+
"adminStatus": "Enable",
19+
"provisioningState": "Succeeded",
20+
"autoExportPrefixes": [
21+
"/"
22+
],
23+
"status": {
24+
"state": "InProgress",
25+
"statusMessage": "Auto Export is in progress",
26+
"totalFilesExported": 1000000,
27+
"totalMiBExported": 10000,
28+
"totalFilesFailed": 5,
29+
"exportIterationCount": 100,
30+
"lastSuccessfulIterationCompletionTimeUTC": "2024-04-21T19:28:43.511Z",
31+
"currentIterationFilesDiscovered": 10,
32+
"currentIterationMiBDiscovered": 4000,
33+
"currentIterationFilesExported": 5,
34+
"currentIterationMiBExported": 500,
35+
"currentIterationFilesFailed": 1,
36+
"lastStartedTimeUTC": "2024-04-21T17:25:43.511Z"
37+
}
38+
}
39+
},
40+
{
41+
"name": "job2",
42+
"location": "eastus",
43+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlfilesystems/fs1/autoExportJob/job2",
44+
"type": "Microsoft.StorageCache/amlFilesystem/autoExportJob",
45+
"properties": {
46+
"adminStatus": "Disable",
47+
"provisioningState": "Succeeded",
48+
"autoExportPrefixes": [
49+
"/dir1"
50+
],
51+
"status": {
52+
"state": "Disabled",
53+
"statusMessage": "Auto Export job is disabled",
54+
"totalFilesExported": 1000000,
55+
"totalMiBExported": 10000,
56+
"totalFilesFailed": 5,
57+
"exportIterationCount": 100,
58+
"lastSuccessfulIterationCompletionTimeUTC": "2024-04-21T19:28:43.511Z",
59+
"currentIterationFilesDiscovered": 10,
60+
"currentIterationMiBDiscovered": 4000,
61+
"currentIterationFilesExported": 5,
62+
"currentIterationMiBExported": 500,
63+
"currentIterationFilesFailed": 1,
64+
"lastStartedTimeUTC": "2024-04-21T17:25:43.511Z",
65+
"lastCompletedTimeUTC": "2024-04-21T20:25:43.511Z"
66+
}
67+
}
68+
}
69+
]
70+
}
71+
}
72+
}
73+
}
74+
Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
{
2+
"parameters": {
3+
"resourceGroupName": "scgroup",
4+
"subscriptionId": "00000000-0000-0000-0000-000000000000",
5+
"api-version": "2024-07-01",
6+
"amlFilesystemName": "fs1",
7+
"autoExportJobName": "job1",
8+
"autoExportJob": {
9+
"tags": {
10+
"Dept": "ContosoAds"
11+
}
12+
}
13+
},
14+
"responses": {
15+
"202": {
16+
"headers": {
17+
"Location": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?monitor=true&api-version=2024-07-01",
18+
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/00000000-0000-0000-0000-000000000000/providers/Microsoft.StorageCache/locations/eastus/ascOperations/00000000-0000-0000-0000-000000000000?api-version=2024-07-01"
19+
}
20+
},
21+
"200": {
22+
"body": {
23+
"tags": {
24+
"Dept": "ContosoAds"
25+
},
26+
"name": "job1",
27+
"location": "eastus",
28+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlfilesystems/fs1/autoExportJob/job1",
29+
"type": "Microsoft.StorageCache/amlFilesystem/autoExportJob",
30+
"properties": {
31+
"adminStatus": "Enable",
32+
"provisioningState": "Succeeded",
33+
"autoExportPrefixes": [
34+
"/"
35+
],
36+
"status": {
37+
"state": "InProgress",
38+
"statusMessage": "Auto Export is in progress",
39+
"totalFilesExported": 1000000,
40+
"totalMiBExported": 10000,
41+
"totalFilesFailed": 5,
42+
"exportIterationCount": 100,
43+
"lastSuccessfulIterationCompletionTimeUTC": "2024-04-21T19:28:43.511Z",
44+
"currentIterationFilesDiscovered": 10,
45+
"currentIterationMiBDiscovered": 4000,
46+
"currentIterationFilesExported": 5,
47+
"currentIterationMiBExported": 500,
48+
"currentIterationFilesFailed": 1,
49+
"lastStartedTimeUTC": "2024-04-21T17:25:43.511Z"
50+
}
51+
}
52+
}
53+
}
54+
}
55+
}
56+

specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2024-07-01/examples/importJob_Update.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,10 @@
2525
},
2626
"name": "job1",
2727
"location": "eastus",
28-
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlfilesystems/fs1/storagetargets/job1",
28+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlfilesystems/fs1/importJobs/job1",
2929
"type": "Microsoft.StorageCache/amlFilesystem/importJob",
3030
"properties": {
31+
"adminStatus": "Enable",
3132
"provisioningState": "Succeeded",
3233
"importPrefixes": [
3334
"/"
@@ -40,6 +41,12 @@
4041
"totalBlobsWalked": 1000000,
4142
"blobsWalkedPerSecond": 10000,
4243
"totalBlobsImported": 1000000,
44+
"importedFiles": 1000,
45+
"importedDirectories": 500,
46+
"importedSymlinks": 1000,
47+
"preexistingFiles": 500,
48+
"preexistingDirectories": 100,
49+
"preexistingSymlinks": 200,
4350
"blobsImportedPerSecond": 4000,
4451
"totalErrors": 1,
4552
"totalConflicts": 1,

specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2024-07-01/examples/importJobs_CreateOrUpdate.json

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,10 @@
2727
},
2828
"name": "job1",
2929
"location": "eastus",
30-
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlfilesystems/fs1/storagetargets/job1",
30+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlfilesystems/fs1/importJobs/job1",
3131
"type": "Microsoft.StorageCache/amlFilesystem/importJob",
3232
"properties": {
33+
"adminStatus": "Enable",
3334
"provisioningState": "Succeeded",
3435
"importPrefixes": [
3536
"/"
@@ -58,9 +59,10 @@
5859
},
5960
"name": "job1",
6061
"location": "eastus",
61-
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlfilesystems/fs1/storagetargets/job1",
62+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlfilesystems/fs1/importJobs/job1",
6263
"type": "Microsoft.StorageCache/amlFilesystem/importJob",
6364
"properties": {
65+
"adminStatus": "Enable",
6466
"provisioningState": "Succeeded",
6567
"importPrefixes": [
6668
"/"
@@ -73,6 +75,12 @@
7375
"totalBlobsWalked": 1000000,
7476
"blobsWalkedPerSecond": 10000,
7577
"totalBlobsImported": 1000000,
78+
"importedFiles": 1000,
79+
"importedDirectories": 500,
80+
"importedSymlinks": 1000,
81+
"preexistingFiles": 500,
82+
"preexistingDirectories": 100,
83+
"preexistingSymlinks": 200,
7684
"blobsImportedPerSecond": 4000,
7785
"totalErrors": 1,
7886
"totalConflicts": 1,

specification/storagecache/resource-manager/Microsoft.StorageCache/stable/2024-07-01/examples/importJobs_Get.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,9 +11,10 @@
1111
"body": {
1212
"name": "job1",
1313
"location": "eastus",
14-
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlfilesystems/fs1/storagetargets/job1",
14+
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/scgroup/providers/Microsoft.StorageCache/amlfilesystems/fs1/importJobs/job1",
1515
"type": "Microsoft.StorageCache/amlFilesystem/importJob",
1616
"properties": {
17+
"adminStatus": "Enable",
1718
"provisioningState": "Succeeded",
1819
"importPrefixes": [
1920
"/"
@@ -26,6 +27,12 @@
2627
"totalBlobsWalked": 1000000,
2728
"blobsWalkedPerSecond": 10000,
2829
"totalBlobsImported": 1000000,
30+
"importedFiles": 1000,
31+
"importedDirectories": 500,
32+
"importedSymlinks": 1000,
33+
"preexistingFiles": 500,
34+
"preexistingDirectories": 100,
35+
"preexistingSymlinks": 200,
2936
"blobsImportedPerSecond": 4000,
3037
"totalErrors": 1,
3138
"totalConflicts": 1,

0 commit comments

Comments
 (0)