Skip to content

Commit

Permalink
fixed examples and test scenario
Browse files Browse the repository at this point in the history
  • Loading branch information
Zim Kalinowski committed Apr 1, 2020
1 parent 92382af commit cc89b5f
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 10 deletions.
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
{
"parameters": {
"api-version": "2016-11-01",
"subscriptionId": "aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee",
"resourceGroupName": "Default-Storage-WestUS",
"jobName": "test-by1-import",
"subscriptionId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
"resourceGroupName": "myResourceGroup",
"jobName": "myJob",
"body": {
"location": "West US",
"properties": {
"storageAccountId": "/subscriptions/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee/resourceGroups/Default-Storage-WestUS/providers/Microsoft.ClassicStorage/storageAccounts/test",
"storageAccountId": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/myResourceGroup/providers/Microsoft.ClassicStorage/storageAccounts/test",
"jobType": "Import",
"returnAddress": {
"recipientName": "Tets",
Expand Down Expand Up @@ -39,7 +39,7 @@
"200": {
"body": {
"properties": {
"storageAccountId": "/subscriptions/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee/resourceGroups/Default-Storage-WestUS/providers/Microsoft.ClassicStorage/storageAccounts/test",
"storageAccountId": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/myResourceGroup/providers/Microsoft.ClassicStorage/storageAccounts/test",
"jobType": "Import",
"returnAddress": {
"recipientName": "Tets",
Expand Down Expand Up @@ -78,16 +78,16 @@
],
"provisioningState": "Succeeded"
},
"id": "/subscriptions/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee/resourceGroups/Default-Storage-WestUS/providers/Microsoft.ImportExport/jobs/test",
"name": "test-by1-import",
"id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/myResourceGroup/providers/Microsoft.ImportExport/jobs/myJob",
"name": "myJob",
"type": "Microsoft.ImportExport/jobs",
"location": "West US"
}
},
"201": {
"body": {
"properties": {
"storageAccountId": "/subscriptions/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee/resourceGroups/Default-Storage-WestUS/providers/Microsoft.ClassicStorage/storageAccounts/test",
"storageAccountId": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/myResourceGroup/providers/Microsoft.ClassicStorage/storageAccounts/test",
"jobType": "Import",
"returnAddress": {
"recipientName": "Tets",
Expand Down Expand Up @@ -126,8 +126,8 @@
],
"provisioningState": "Succeeded"
},
"id": "/subscriptions/aaaaaaaa-bbbb-cccc-dddd-eeeeeeeeeeee/resourceGroups/Default-Storage-WestUS/providers/Microsoft.ImportExport/jobs/test",
"name": "test-by1-import",
"id": "/subscriptions/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/resourceGroups/myResourceGroup/providers/Microsoft.ImportExport/jobs/myJob",
"name": "myJob",
"type": "Microsoft.ImportExport/jobs",
"location": "West US"
}
Expand Down
10 changes: 10 additions & 0 deletions specification/storageimportexport/resource-manager/readme.cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,14 @@ cli:
cli-name: storageimportexport
namespace: azure.mgmt.storageimportexport
package-name: azure-mgmt-storageimportexport
test-scenario:
- name: /Jobs/put/Create job
- name: /Jobs/get/Get job
- name: /Locations/get/Get locations
- name: /BitLockerKeys/post/List BitLocker Keys for drives in a job
- name: /Jobs/get/List jobs in a resource group
- name: /Jobs/get/List jobs in a subscription
- name: /Locations/get/List locations
- name: /Jobs/patch/Update job
- name: /Jobs/delete/Delete job
```

0 comments on commit cc89b5f

Please sign in to comment.