Skip to content

Commit

Permalink
New API version for RP Microsoft.Experimentation (#5711)
Browse files Browse the repository at this point in the history
* 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
anvyas and Anshuman Vyas authored Dec 15, 2021
1 parent 5204ab9 commit d511dcd
Show file tree
Hide file tree
Showing 15 changed files with 1,038 additions and 0 deletions.
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"
}
}
}
}
}
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"
}
}
}
}
}
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": {}
}
}
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"
}
}
]
}
}
}
}
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"
}
}
]
}
}
}
}
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"
}
}
}
}
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"
}
}
}
}
}
Loading

0 comments on commit d511dcd

Please sign in to comment.