-
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.
Adding new ResourceType customerEnt to the Provider with new apiversi…
…on (#5120) * Add Readme files to support the update Add Readme files * Add new API changes to add new resourceType new resource tyep customerEnt is added similar to already existing cachenodes resourceType * adding examples 1 file for new api * adding examples for each Api call in new version * swagger Lint Validtion fix for "CreateOperationAsyncResponseValidation" * reverting previous commit in old api where there are no changes in prod * swagger lint validation fix - for R4023 RPaasPutLongRunningOperation201Only * Removing this in 201 in response for put call * updating the example to support the put operation * fixing the SpellChecks in Microsoft.ConnectedCache fixing the SpellChecks in Microsoft.ConnectedCache * Addressing review comments Addressing review comments * adding request body in patch example adding request body in patch example * updating Prettier Check tool changes in new API version updating Prettier Check tool changes in new API version and also fixing the spellcheck conflict * Update cSpell.json * Fixing prettier checks in old api version and spell check fix Fixing prettier checks in old api version and spell check fix * adding missing parameters in example adding missing parameters in example * adding location as the new additional property adding location as the new additional property * update the patch example with tags update the patch example with tags * removing the location from the patch resource * Addressing review comments to change the resource type name Addressing review comments to change the resource type name
- Loading branch information
1 parent
875bae7
commit 0a09c1d
Showing
27 changed files
with
1,642 additions
and
203 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
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
59 changes: 24 additions & 35 deletions
59
...icrosoft.ConnectedCache/preview/2019-12-04-preview/examples/CacheNodesCreateorUpdate.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 |
---|---|---|
@@ -1,35 +1,24 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "12345678-1234-1234-1234-123456789098", | ||
"resourceGroupName": "DOTest", | ||
"cacheNodeName": "MCCTPTest2", | ||
"api-version": "2019-12-04-preview", | ||
"parameters": { | ||
"location": "westus" | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/DoTest/providers/Microsoft.ConnectedCache/cacheNodes/MccRPTest2", | ||
"name": "MCCTPTest2", | ||
"type": "Microsoft.ConnectedCache/cacheNodes", | ||
"location": "westus", | ||
"properties": { | ||
"provisioningState": "Succeeded" | ||
} | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/DoTest/providers/Microsoft.ConnectedCache/cacheNodes/MccRPTest2", | ||
"name": "MCCTPTest2", | ||
"type": "Microsoft.ConnectedCache/cacheNodes", | ||
"location": "westus", | ||
"properties": { | ||
"provisioningState": "Succeeded" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
{ | ||
"parameters": { | ||
"subscriptionId": "12345678-1234-1234-1234-123456789098", | ||
"resourceGroupName": "DOTest", | ||
"cacheNodeName": "MCCTPTest2", | ||
"api-version": "2019-12-04-preview", | ||
"parameters": { | ||
"location": "westus" | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/DoTest/providers/Microsoft.ConnectedCache/cacheNodes/MccRPTest2", | ||
"name": "MCCTPTest2", | ||
"type": "Microsoft.ConnectedCache/cacheNodes", | ||
"location": "westus", | ||
"properties": { | ||
"provisioningState": "Succeeded" | ||
} | ||
} | ||
} | ||
} | ||
} |
24 changes: 12 additions & 12 deletions
24
...anager/Microsoft.ConnectedCache/preview/2019-12-04-preview/examples/CacheNodesDelete.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 |
---|---|---|
@@ -1,12 +1,12 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "12345678-1234-1234-1234-123456789098", | ||
"resourceGroupName": "DOTest", | ||
"cacheNodeName": "MCCTPTest3", | ||
"api-version": "2019-12-04-preview" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"204": {} | ||
} | ||
} | ||
{ | ||
"parameters": { | ||
"subscriptionId": "12345678-1234-1234-1234-123456789098", | ||
"resourceGroupName": "DOTest", | ||
"cacheNodeName": "MCCTPTest3", | ||
"api-version": "2019-12-04-preview" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"204": {} | ||
} | ||
} |
43 changes: 21 additions & 22 deletions
43
...e-manager/Microsoft.ConnectedCache/preview/2019-12-04-preview/examples/CacheNodesGet.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 |
---|---|---|
@@ -1,22 +1,21 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "12345678-1234-1234-1234-123456789098", | ||
"resourceGroupName": "DoTest", | ||
"cacheNodeName": "MccRPTest1", | ||
"api-version": "2019-12-04-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/DoTest/providers/Microsoft.ConnectedCache/cacheNodes/MccRPTest1", | ||
"name": "MccRPTest1", | ||
"type": "Microsoft.ConnectedCache/cacheNodes", | ||
"location": "westus", | ||
"properties": { | ||
"provisioningState": "Succeeded" | ||
} | ||
} | ||
} | ||
} | ||
} | ||
|
||
{ | ||
"parameters": { | ||
"subscriptionId": "12345678-1234-1234-1234-123456789098", | ||
"resourceGroupName": "DoTest", | ||
"cacheNodeName": "MccRPTest1", | ||
"api-version": "2019-12-04-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/DoTest/providers/Microsoft.ConnectedCache/cacheNodes/MccRPTest1", | ||
"name": "MccRPTest1", | ||
"type": "Microsoft.ConnectedCache/cacheNodes", | ||
"location": "westus", | ||
"properties": { | ||
"provisioningState": "Succeeded" | ||
} | ||
} | ||
} | ||
} | ||
} |
66 changes: 33 additions & 33 deletions
66
...oft.ConnectedCache/preview/2019-12-04-preview/examples/CacheNodesListByResourceGroup.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 |
---|---|---|
@@ -1,33 +1,33 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "12345678-1234-1234-1234-123456789098", | ||
"resourceGroupName": "DOTest", | ||
"api-version": "2019-12-04-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/DoTest/providers/Microsoft.ConnectedCache/cacheNodes/MccRPTest2", | ||
"name": "MCCTPTest2", | ||
"type": "Microsoft.ConnectedCache/cacheNodes", | ||
"location": "westus", | ||
"properties": { | ||
"provisioningState": "Succeeded" | ||
} | ||
}, | ||
{ | ||
"id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/DoTest/providers/Microsoft.ConnectedCache/cacheNodes/MccRPTest1", | ||
"name": "MCCTPTest1", | ||
"type": "Microsoft.ConnectedCache/cacheNodes", | ||
"location": "westus", | ||
"properties": { | ||
"provisioningState": "Succeeded" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} | ||
{ | ||
"parameters": { | ||
"subscriptionId": "12345678-1234-1234-1234-123456789098", | ||
"resourceGroupName": "DOTest", | ||
"api-version": "2019-12-04-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/DoTest/providers/Microsoft.ConnectedCache/cacheNodes/MccRPTest2", | ||
"name": "MCCTPTest2", | ||
"type": "Microsoft.ConnectedCache/cacheNodes", | ||
"location": "westus", | ||
"properties": { | ||
"provisioningState": "Succeeded" | ||
} | ||
}, | ||
{ | ||
"id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/DoTest/providers/Microsoft.ConnectedCache/cacheNodes/MccRPTest1", | ||
"name": "MCCTPTest1", | ||
"type": "Microsoft.ConnectedCache/cacheNodes", | ||
"location": "westus", | ||
"properties": { | ||
"provisioningState": "Succeeded" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
64 changes: 32 additions & 32 deletions
64
...soft.ConnectedCache/preview/2019-12-04-preview/examples/CacheNodesListBySubscription.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 |
---|---|---|
@@ -1,32 +1,32 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "12345678-1234-1234-1234-123456789098", | ||
"api-version": "2019-12-04-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/DoTest/providers/Microsoft.ConnectedCache/cacheNodes/MccRPTest2", | ||
"name": "MCCTPTest2", | ||
"type": "Microsoft.ConnectedCache/cacheNodes", | ||
"location": "westus", | ||
"properties": { | ||
"provisioningState": "Succeeded" | ||
} | ||
}, | ||
{ | ||
"id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/DoTest/providers/Microsoft.ConnectedCache/cacheNodes/MccRPTest1", | ||
"name": "MCCTPTest1", | ||
"type": "Microsoft.ConnectedCache/cacheNodes", | ||
"location": "westus", | ||
"properties": { | ||
"provisioningState": "Succeeded" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} | ||
{ | ||
"parameters": { | ||
"subscriptionId": "12345678-1234-1234-1234-123456789098", | ||
"api-version": "2019-12-04-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/DoTest/providers/Microsoft.ConnectedCache/cacheNodes/MccRPTest2", | ||
"name": "MCCTPTest2", | ||
"type": "Microsoft.ConnectedCache/cacheNodes", | ||
"location": "westus", | ||
"properties": { | ||
"provisioningState": "Succeeded" | ||
} | ||
}, | ||
{ | ||
"id": "/subscriptions/12345678-1234-1234-1234-123456789098/resourceGroups/DoTest/providers/Microsoft.ConnectedCache/cacheNodes/MccRPTest1", | ||
"name": "MCCTPTest1", | ||
"type": "Microsoft.ConnectedCache/cacheNodes", | ||
"location": "westus", | ||
"properties": { | ||
"provisioningState": "Succeeded" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.