-
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.
New API version for RP Microsoft.Experimentation (#5711)
* Base commit with api version 2019-11-01-preview * Changes for api version 2021-11-01-preview * Adding ReadMe * Renaming file * Updating example * Updating experimentation.json to update properties object * Updating experimentation.json to update properties object * Updating experimentation.json to update properties object * Updating examples to add a new property Co-authored-by: Anshuman Vyas <anvyas@microsoft.com>
- Loading branch information
Showing
15 changed files
with
1,038 additions
and
0 deletions.
There are no files selected for viewing
23 changes: 23 additions & 0 deletions
23
...Microsoft.Experimentation/preview/2021-11-01-preview/examples/ExperimentWorkspaceGet.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,23 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "{subscription-id}", | ||
"resourceGroupName": "res9871", | ||
"experimentWorkspaceName": "expWorkspace345", | ||
"api-version": "2021-11-01-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/{subscription-id}/resourceGroups/res9871/providers/Microsoft.Experimentation/experimentWorkspaces/expWorkspace345", | ||
"name": "expWorkspace345", | ||
"type": "Microsoft.Experimentation/experimentWorkspaces", | ||
"location": "West US 2", | ||
"properties": { | ||
"expWorkspaceId": "02270d43-f68a-401b-b526-86942525c350", | ||
"afdTasUrl": "https://test-exp-s2s.msedge.net/exptas194/02270d43-f68a-401b-b526-86942525c350-testanvyas6/api/v1/tas", | ||
"provisioningState": "Succeeded" | ||
} | ||
} | ||
} | ||
} | ||
} |
39 changes: 39 additions & 0 deletions
39
...erimentation/preview/2021-11-01-preview/examples/ExperimentWorkspaces_CreateOrUpdate.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,39 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "{subscription-id}", | ||
"resourceGroupName": "res9871", | ||
"experimentWorkspaceName": "expWorkspace6", | ||
"api-version": "2021-11-01-preview", | ||
"parameters": { | ||
"location": "eastus2euap" | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/{subscription-id}/resourceGroups/res9871/providers/Microsoft.Experimentation/experimentWorkspaces/expWorkspace6", | ||
"name": "expWorkspace6", | ||
"type": "Microsoft.Experimentation/experimentWorkspaces", | ||
"location": "eastus2euap", | ||
"properties": { | ||
"expWorkspaceId": "02270d43-f68a-401b-b526-86942525c351", | ||
"afdTasUrl": "https://test-exp-s2s.msedge.net/exptas194/12270d43-f68a-401b-b526-86942525c350-testanvyas6/api/v1/tas", | ||
"provisioningState": "Succeeded" | ||
} | ||
} | ||
}, | ||
"201": { | ||
"body": { | ||
"id": "/subscriptions/{subscription-id}/resourceGroups/res9871/providers/Microsoft.Experimentation/experimentWorkspaces/expWorkspace6", | ||
"name": "expWorkspace6", | ||
"type": "Microsoft.Experimentation/experimentWorkspaces", | ||
"location": "eastus2euap", | ||
"properties": { | ||
"expWorkspaceId": "02270d43-f68a-401b-b526-86942525c352", | ||
"afdTasUrl": "https://test-exp-s2s.msedge.net/exptas194/02270d43-f68a-401b-b526-86942525c350-testanvyas7/api/v1/tas", | ||
"provisioningState": "Succeeded" | ||
} | ||
} | ||
} | ||
} | ||
} |
13 changes: 13 additions & 0 deletions
13
...soft.Experimentation/preview/2021-11-01-preview/examples/ExperimentWorkspaces_Delete.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,13 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "{subscription-id}", | ||
"resourceGroupName": "res9871", | ||
"experimentWorkspaceName": "expWorkspace345", | ||
"api-version": "2021-11-01-preview" | ||
}, | ||
"responses": { | ||
"200": {}, | ||
"202": {}, | ||
"204": {} | ||
} | ||
} |
48 changes: 48 additions & 0 deletions
48
...rosoft.Experimentation/preview/2021-11-01-preview/examples/ExperimentWorkspaces_List.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,48 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "{subscription-id}", | ||
"resourceGroupName": "res9871", | ||
"api-version": "2021-11-01-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/{subscription-id}/resourceGroups/res9871/providers/Microsoft.Experimentation/experimentWorkspaces/expWorkspace345", | ||
"name": "expWorkspace345", | ||
"type": "Microsoft.Experimentation/experimentWorkspaces", | ||
"location": "West US 2", | ||
"properties": { | ||
"expWorkspaceId": "02270d43-f68a-401b-b526-86942525c352", | ||
"afdTasUrl": "https://test-exp-s2s.msedge.net/exptas194/02270d43-f68a-401b-b526-86942525c350-testanvyas6/api/v1/tas", | ||
"provisioningState": "Succeeded" | ||
} | ||
}, | ||
{ | ||
"id": "/subscriptions/{subscription-id}/resourceGroups/res9871/providers/Microsoft.Experimentation/experimentWorkspaces/expWorkspace2", | ||
"name": "expWorkspace2", | ||
"type": "Microsoft.Experimentation/experimentWorkspaces", | ||
"location": "West US 2", | ||
"properties": { | ||
"expWorkspaceId": "02270d43-f68a-401b-b526-86942525c353", | ||
"afdTasUrl": "https://test-exp-s2s.msedge.net/exptas194/02270d43-f68a-401b-b526-86942525c350-testanvyas7/api/v1/tas", | ||
"provisioningState": "Succeeded" | ||
} | ||
}, | ||
{ | ||
"id": "/subscriptions/{subscription-id}/resourceGroups/res9871/providers/Microsoft.Experimentation/experimentWorkspaces/expWorkspace3", | ||
"name": "expWorkspace3", | ||
"type": "Microsoft.Experimentation/experimentWorkspaces", | ||
"location": "West US 2", | ||
"properties": { | ||
"expWorkspaceId": "02270d43-f68a-401b-b526-86942525c354", | ||
"afdTasUrl": "https://test-exp-s2s.msedge.net/exptas194/02270d43-f68a-401b-b526-86942525c350-testanvyas8/api/v1/tas", | ||
"provisioningState": "Succeeded" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
37 changes: 37 additions & 0 deletions
37
...ntation/preview/2021-11-01-preview/examples/ExperimentWorkspaces_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,37 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "{subscription-id}", | ||
"resourceGroupName": "res9871", | ||
"api-version": "2021-11-01-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"id": "/subscriptions/{subscription-id}/resourceGroups/res9871/providers/Microsoft.Experimentation/experimentWorkspaces/expWorkspace345", | ||
"name": "expWorkspace345", | ||
"type": "Microsoft.Experimentation/experimentWorkspaces", | ||
"location": "West US 2", | ||
"properties": { | ||
"expWorkspaceId": "02270d43-f68a-401b-b526-86942525c350", | ||
"afdTasUrl": "https://test-exp-s2s.msedge.net/exptas194/02270d43-f68a-401b-b526-86942525c350-testanvyas6/api/v1/tas", | ||
"provisioningState": "Succeeded" | ||
} | ||
}, | ||
{ | ||
"id": "/subscriptions/{subscription-id}/resourceGroups/res9871/providers/Microsoft.Experimentation/experimentWorkspaces/expWorkspace2", | ||
"name": "expWorkspace2", | ||
"type": "Microsoft.Experimentation/experimentWorkspaces", | ||
"location": "West US 2", | ||
"properties": { | ||
"expWorkspaceId": "02270d43-f68a-401b-b526-86942525c357", | ||
"afdTasUrl": "https://test-exp-s2s.msedge.net/exptas194/02270d43-f68a-401b-b526-86942525c350-testanvyas7/api/v1/tas", | ||
"provisioningState": "Succeeded" | ||
} | ||
} | ||
] | ||
} | ||
} | ||
} | ||
} |
26 changes: 26 additions & 0 deletions
26
...erimentation/preview/2021-11-01-preview/examples/ExperimentWorkspaces_OperationsList.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,26 @@ | ||
{ | ||
"parameters": { | ||
"api-version": "2021-11-01-preview" | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"value": [ | ||
{ | ||
"name": "aaaaaaaaa", | ||
"isDataAction": true, | ||
"display": { | ||
"provider": "aaaaaaaa", | ||
"resource": "aaaaaaaaaaaaaaaaa", | ||
"operation": "aaaaaaaaaaaaaaaaaaaa", | ||
"description": "aaaaaaaaaaaaaaaaaaaa" | ||
}, | ||
"origin": "aaaaaaaaaaaaaa", | ||
"nextLink": "aaaaaaaa" | ||
} | ||
], | ||
"nextLink": "aaaaaaaaa" | ||
} | ||
} | ||
} | ||
} |
31 changes: 31 additions & 0 deletions
31
...osoft.Experimentation/preview/2021-11-01-preview/examples/ExperimentWorkspaces_Patch.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,31 @@ | ||
{ | ||
"parameters": { | ||
"subscriptionId": "{subscription-id}", | ||
"resourceGroupName": "res9871", | ||
"experimentWorkspaceName": "expWorkspace345", | ||
"api-version": "2021-11-01-preview", | ||
"parameters": { | ||
"tags": { | ||
"newKey": "newVal" | ||
} | ||
} | ||
}, | ||
"responses": { | ||
"200": { | ||
"body": { | ||
"id": "/subscriptions/{subscription-id}/resourceGroups/res9871/providers/Microsoft.Experimentation/experimentWorkspaces/expWorkspace345", | ||
"name": "expWorkspace345", | ||
"type": "Microsoft.Experimentation/experimentWorkspaces", | ||
"location": "West US 2", | ||
"tags": { | ||
"supportTeam": "someteam@microsoft.com" | ||
}, | ||
"properties": { | ||
"expWorkspaceId": "02270d43-f68a-401b-b526-86942525c350", | ||
"afdTasUrl": "https://test-exp-s2s.msedge.net/exptas194/02270d43-f68a-401b-b526-86942525c350-testanvyas6/api/v1/tas", | ||
"provisioningState": "Succeeded" | ||
} | ||
} | ||
} | ||
} | ||
} |
Oops, something went wrong.