-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create a new version for Microsoft.ObjectStore swagger (#4776)
* Remove 202 response from Microsoft.ObjectStore swagger * Add new API Version 2021-09-01-preview Add new API Version 2021-09-01-preview * Update the new version in the swagger spec and examples * Update ListByResourceGroup.json * Addressed ARM feedback * Update objectstore.json * Update objectstore.json * Add required properties to Operation * Minor Fix for example json
- Loading branch information
Showing
10 changed files
with
777 additions
and
1 deletion.
There are no files selected for viewing
24 changes: 24 additions & 0 deletions
24
...anager/Microsoft.ObjectStore/preview/2021-09-01-preview/examples/ListByResourceGroup.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,24 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-09-01-preview", | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "rgName" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "resourceId", | ||
"name": "sampleOSNamespaceResource", | ||
"type": "Microsoft.ObjectStore/OSNamespaces", | ||
"properties": { | ||
"osNamespaceName": "sampleNamespaceName" | ||
} | ||
} | ||
], | ||
"nextLink": "https://serviceRoot/subscriptions/subId/resourcegroups/rgName/providers/Microsoft.ObjectStore/OSNamespaces?api-version=2021-09-01-preview&$skiptoken=X'12345'" | ||
} | ||
} | ||
} | ||
} |
24 changes: 24 additions & 0 deletions
24
...manager/Microsoft.ObjectStore/preview/2021-09-01-preview/examples/ListBySubscription.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,24 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-09-01-preview", | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "rgName" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "resourceId", | ||
"name": "sampleOSNamespaceResource", | ||
"type": "Microsoft.ObjectStore/OSNamespaces", | ||
"properties": { | ||
"osNamespaceName": "sampleNamespaceName" | ||
} | ||
} | ||
], | ||
"nextLink": "https://serviceRoot/subscriptions/subId/resourcegroups/rgName/providers/Microsoft.ObjectStore/OSNamespaces?api-version=2021-09-01-preview&$skiptoken=X'12345'" | ||
} | ||
} | ||
} | ||
} |
49 changes: 49 additions & 0 deletions
49
.../Microsoft.ObjectStore/preview/2021-09-01-preview/examples/ListObjectStoreOperations.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,49 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-09-01-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"name": "Microsoft.ObjectStore/OSNamespaces/write", | ||
"display": { | ||
"provider": "Microsoft.ObjectStore", | ||
"resource": "OSNamespaces", | ||
"operation": "Write OSNamespace", | ||
"description": "Write any OSNamespaces" | ||
} | ||
}, | ||
{ | ||
"name": "Microsoft.ObjectStore/OSNamespaces/read", | ||
"display": { | ||
"provider": "Microsoft.ObjectStore", | ||
"resource": "OSNamespaces", | ||
"operation": "Read OSNamespace", | ||
"description": "Read any OSNamespaces" | ||
} | ||
}, | ||
{ | ||
"name": "Microsoft.ObjectStore/OSNamespaces/delete", | ||
"display": { | ||
"provider": "Microsoft.ObjectStore", | ||
"resource": "OSNamespaces", | ||
"operation": "Delete OSNamespace", | ||
"description": "Delete any OSNamespaces" | ||
} | ||
}, | ||
{ | ||
"name": "Microsoft.ObjectStore/register/action", | ||
"display": { | ||
"provider": "Microsoft.ObjectStore", | ||
"resource": "Microsoft.ObjectStore", | ||
"operation": "Register the Microsoft.ObjectStore", | ||
"description": "Register the Microsoft.ObjectStore" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
12 changes: 12 additions & 0 deletions
12
...-manager/Microsoft.ObjectStore/preview/2021-09-01-preview/examples/OSNamespaceDelete.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,12 @@ | ||
{ | ||
"parameters": { | ||
"osNamespace": "sampleNamespaceResource", | ||
"resourceGroupName": "rg1", | ||
"api-version": "2021-09-01-preview", | ||
"subscriptionId": "subid" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"204": {} | ||
} | ||
} |
20 changes: 20 additions & 0 deletions
20
...rce-manager/Microsoft.ObjectStore/preview/2021-09-01-preview/examples/OSNamespaceGet.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,20 @@ | ||
{ | ||
"parameters": { | ||
"osNamespace": "sampleOSNamespaceResource", | ||
"resourceGroupName": "objectstoreClient", | ||
"api-version": "2021-09-01-preview", | ||
"subscriptionId": "subid" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "resourceId", | ||
"name": "sampleOSNamespaceResource", | ||
"type": "Microsoft.ObjectStore/OSNamespaces", | ||
"properties": { | ||
"osNamespaceName": "sampleNamespaceName" | ||
} | ||
} | ||
} | ||
} | ||
} |
25 changes: 25 additions & 0 deletions
25
...ce-manager/Microsoft.ObjectStore/preview/2021-09-01-preview/examples/OSNamespacePost.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,25 @@ | ||
{ | ||
"parameters": { | ||
"osNamespace": "sampleNamespaceResource", | ||
"resourceGroupName": "rg1", | ||
"api-version": "2021-09-01-preview", | ||
"subscriptionId": "subid", | ||
"OSNamespaceParameters": { | ||
"properties": { | ||
"osNamespaceName": "sampleNamespaceName" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ObjectStore/OSNamespaces/sampleNamespaceResource", | ||
"name": "sampleNamespaceResource", | ||
"type": "Microsoft.ObjectStore/OSNamespaces", | ||
"properties": { | ||
"osNamespaceName": "sampleNamespaceName" | ||
} | ||
} | ||
} | ||
} | ||
} |
25 changes: 25 additions & 0 deletions
25
...ager/Microsoft.ObjectStore/preview/2021-09-01-preview/examples/OSNamespaceUpdateTags.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,25 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-09-01-preview", | ||
"subscriptionId": "subid", | ||
"resourceGroupName": "rg1", | ||
"osNamespace": "sampleNamespaceResource", | ||
"parameters": { | ||
"tags": { | ||
"tag1": "value1", | ||
"tag2": "value2" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/subid/resourceGroups/rg1/providers/Microsoft.ObjectStore/OSNamespaces/sampleNamespaceResource", | ||
"name": "sampleNamespaceResource", | ||
"properties": { | ||
"osNamespaceName": "sampleNamespaceName" | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.