Skip to content

Commit

Permalink
Updates API version in new specs and examples
Browse files Browse the repository at this point in the history
  • Loading branch information
RenzoPrettoMS committed Nov 28, 2023
1 parent acb6594 commit c6eca91
Show file tree
Hide file tree
Showing 37 changed files with 56 additions and 56 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"info": {
"title": "Chaos Management",
"description": "Azure Chaos Resource Provider REST API",
"version": "2023-11-01"
"version": "2024-01-01"
},
"host": "management.azure.com",
"schemes": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"info": {
"title": "Chaos Management",
"description": "Azure Chaos Resource Provider REST API",
"version": "2023-11-01"
"version": "2024-01-01"
},
"host": "management.azure.com",
"schemes": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
"subscriptionId": "6b052e15-03d3-4f17-b2e1-be7f07588291",
"resourceGroupName": "exampleRG",
"experimentName": "exampleExperiment",
"api-version": "2023-11-01"
"api-version": "2024-01-01"
},
"responses": {
"202": {
"headers": {
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/6b052e15-03d3-4f17-b2e1-be7f07588291/resourceGroups/myResourceGroup/providers/Microsoft.Chaos/locations/eastus/operationStatus/00000000-0000-0000-0000-000000000000?api-version=2023-11-01",
"Location": "https://management.azure.com/subscriptions/6b052e15-03d3-4f17-b2e1-be7f07588291/resourceGroups/myResourceGroup/providers/Microsoft.Chaos/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2023-11-01"
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/6b052e15-03d3-4f17-b2e1-be7f07588291/resourceGroups/myResourceGroup/providers/Microsoft.Chaos/locations/eastus/operationStatus/00000000-0000-0000-0000-000000000000?api-version=2024-01-01",
"Location": "https://management.azure.com/subscriptions/6b052e15-03d3-4f17-b2e1-be7f07588291/resourceGroups/myResourceGroup/providers/Microsoft.Chaos/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2024-01-01"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"parentResourceName": "exampleVM",
"targetName": "Microsoft-VirtualMachine",
"capabilityName": "Shutdown-1.0",
"api-version": "2023-11-01",
"api-version": "2024-01-01",
"capability": {
"properties": {}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"subscriptionId": "6b052e15-03d3-4f17-b2e1-be7f07588291",
"resourceGroupName": "exampleRG",
"experimentName": "exampleExperiment",
"api-version": "2023-11-01",
"api-version": "2024-01-01",
"experiment": {
"location": "eastus2euap",
"identity": {
Expand Down Expand Up @@ -52,8 +52,8 @@
"responses": {
"201": {
"headers": {
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/6b052e15-03d3-4f17-b2e1-be7f07588291/resourceGroups/myResourceGroup/providers/Microsoft.Chaos/locations/eastus/operationStatus/00000000-0000-0000-0000-000000000000?api-version=2023-11-01",
"Location": "https://management.azure.com/subscriptions/6b052e15-03d3-4f17-b2e1-be7f07588291/resourceGroups/myResourceGroup/providers/Microsoft.Chaos/experiments/00000000-0000-0000-0000-000000000000?api-version=2023-11-01"
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/6b052e15-03d3-4f17-b2e1-be7f07588291/resourceGroups/myResourceGroup/providers/Microsoft.Chaos/locations/eastus/operationStatus/00000000-0000-0000-0000-000000000000?api-version=2024-01-01",
"Location": "https://management.azure.com/subscriptions/6b052e15-03d3-4f17-b2e1-be7f07588291/resourceGroups/myResourceGroup/providers/Microsoft.Chaos/experiments/00000000-0000-0000-0000-000000000000?api-version=2024-01-01"
},
"body": {
"id": "/subscriptions/6b052e15-03d3-4f17-b2e1-be7f07588291/resourceGroups/exampleRG/providers/Microsoft.Chaos/experiments/exampleExperiment",
Expand Down Expand Up @@ -116,8 +116,8 @@
},
"200": {
"headers": {
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/6b052e15-03d3-4f17-b2e1-be7f07588291/resourceGroups/myResourceGroup/providers/Microsoft.Chaos/locations/eastus/operationStatus/00000000-0000-0000-0000-000000000000?api-version=2023-11-01",
"Location": "https://management.azure.com/subscriptions/6b052e15-03d3-4f17-b2e1-be7f07588291/resourceGroups/myResourceGroup/providers/Microsoft.Chaos/experiments/00000000-0000-0000-0000-000000000000?api-version=2023-11-01"
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/6b052e15-03d3-4f17-b2e1-be7f07588291/resourceGroups/myResourceGroup/providers/Microsoft.Chaos/locations/eastus/operationStatus/00000000-0000-0000-0000-000000000000?api-version=2024-01-01",
"Location": "https://management.azure.com/subscriptions/6b052e15-03d3-4f17-b2e1-be7f07588291/resourceGroups/myResourceGroup/providers/Microsoft.Chaos/experiments/00000000-0000-0000-0000-000000000000?api-version=2024-01-01"
},
"body": {
"id": "/subscriptions/6b052e15-03d3-4f17-b2e1-be7f07588291/resourceGroups/exampleRG/providers/Microsoft.Chaos/experiments/exampleExperiment",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"parentResourceType": "virtualMachines",
"parentResourceName": "exampleVM",
"targetName": "Microsoft-Agent",
"api-version": "2023-11-01",
"api-version": "2024-01-01",
"target": {
"properties": {
"identities": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"parentResourceName": "exampleVM",
"targetName": "Microsoft-VirtualMachine",
"capabilityName": "Shutdown-1.0",
"api-version": "2023-11-01"
"api-version": "2024-01-01"
},
"responses": {
"200": {},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
"subscriptionId": "6b052e15-03d3-4f17-b2e1-be7f07588291",
"resourceGroupName": "exampleRG",
"experimentName": "exampleExperiment",
"api-version": "2023-11-01"
"api-version": "2024-01-01"
},
"responses": {
"202": {
"headers": {
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/6b052e15-03d3-4f17-b2e1-be7f07588291/resourceGroups/myResourceGroup/providers/Microsoft.Chaos/locations/eastus/operationStatus/00000000-0000-0000-0000-000000000000?api-version=2023-11-01",
"Location": "https://management.azure.com/subscriptions/6b052e15-03d3-4f17-b2e1-be7f07588291/resourceGroups/myResourceGroup/providers/Microsoft.Chaos/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2023-11-01"
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/6b052e15-03d3-4f17-b2e1-be7f07588291/resourceGroups/myResourceGroup/providers/Microsoft.Chaos/locations/eastus/operationStatus/00000000-0000-0000-0000-000000000000?api-version=2024-01-01",
"Location": "https://management.azure.com/subscriptions/6b052e15-03d3-4f17-b2e1-be7f07588291/resourceGroups/myResourceGroup/providers/Microsoft.Chaos/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2024-01-01"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"parentResourceType": "virtualMachines",
"parentResourceName": "exampleVM",
"targetName": "Microsoft-Agent",
"api-version": "2023-11-01"
"api-version": "2024-01-01"
},
"responses": {
"200": {},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"resourceGroupName": "exampleRG",
"experimentName": "exampleExperiment",
"executionId": "f24500ad-744e-4a26-864b-b76199eac333",
"api-version": "2023-11-01"
"api-version": "2024-01-01"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"parentResourceName": "exampleVM",
"targetName": "Microsoft-VirtualMachine",
"capabilityName": "Shutdown-1.0",
"api-version": "2023-11-01"
"api-version": "2024-01-01"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"locationName": "westus2",
"targetTypeName": "Microsoft-VirtualMachine",
"capabilityTypeName": "Shutdown-1.0",
"api-version": "2023-11-01"
"api-version": "2024-01-01"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"subscriptionId": "6b052e15-03d3-4f17-b2e1-be7f07588291",
"resourceGroupName": "exampleRG",
"experimentName": "exampleExperiment",
"api-version": "2023-11-01"
"api-version": "2024-01-01"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"resourceGroupName": "exampleRG",
"experimentName": "exampleExperiment",
"executionId": "f24500ad-744e-4a26-864b-b76199eac333",
"api-version": "2023-11-01"
"api-version": "2024-01-01"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"subscriptionId": "613192d7-503f-477a-9cfe-4efc3ee2bd60",
"location": "West US",
"asyncOperationId": "713192d7-503f-477a-9cfe-4efc3ee2bd11",
"api-version": "2023-11-01"
"api-version": "2024-01-01"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"parentResourceType": "virtualMachines",
"parentResourceName": "exampleVM",
"targetName": "Microsoft-Agent",
"api-version": "2023-11-01"
"api-version": "2024-01-01"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"subscriptionId": "6b052e15-03d3-4f17-b2e1-be7f07588291",
"locationName": "westus2",
"targetTypeName": "Microsoft-Agent",
"api-version": "2023-11-01"
"api-version": "2024-01-01"
},
"responses": {
"200": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"parentResourceType": "virtualMachines",
"parentResourceName": "exampleVM",
"targetName": "Microsoft-VirtualMachine",
"api-version": "2023-11-01"
"api-version": "2024-01-01"
},
"responses": {
"200": {
Expand All @@ -29,7 +29,7 @@
}
}
],
"nextLink": "https://management.azure.com/subscriptions/6b052e15-03d3-4f17-b2e1-be7f07588291/resourceGroups/exampleRG/providers/Microsoft.Compute/virtualMachines/exampleVM/providers/Microsoft.Chaos/targets/Microsoft-VirtualMachine/capabilities?continuationToken=&api-version=2023-11-01"
"nextLink": "https://management.azure.com/subscriptions/6b052e15-03d3-4f17-b2e1-be7f07588291/resourceGroups/exampleRG/providers/Microsoft.Compute/virtualMachines/exampleVM/providers/Microsoft.Chaos/targets/Microsoft-VirtualMachine/capabilities?continuationToken=&api-version=2024-01-01"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"subscriptionId": "6b052e15-03d3-4f17-b2e1-be7f07588291",
"locationName": "westus2",
"targetTypeName": "Microsoft-VirtualMachine",
"api-version": "2023-11-01"
"api-version": "2024-01-01"
},
"responses": {
"200": {
Expand All @@ -27,7 +27,7 @@
}
}
],
"nextLink": "https://management.azure.com/subscriptions/6b052e15-03d3-4f17-b2e1-be7f07588291/providers/Microsoft.Chaos/locations/westus2/targetTypes/Microsoft-VirtualMachine/capabilityTypes?continuationToken=&api-version=2023-11-01"
"nextLink": "https://management.azure.com/subscriptions/6b052e15-03d3-4f17-b2e1-be7f07588291/providers/Microsoft.Chaos/locations/westus2/targetTypes/Microsoft-VirtualMachine/capabilityTypes?continuationToken=&api-version=2024-01-01"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"subscriptionId": "6b052e15-03d3-4f17-b2e1-be7f07588291",
"resourceGroupName": "exampleRG",
"experimentName": "exampleExperiment",
"api-version": "2023-11-01"
"api-version": "2024-01-01"
},
"responses": {
"200": {
Expand Down Expand Up @@ -31,7 +31,7 @@
}
}
],
"nextLink": "https://management.azure.com/subscriptions/6b052e15-03d3-4f17-b2e1-be7f07588291/resourceGroups/exampleRG/providers/Microsoft.Chaos/experiments/exampleExperiment/executionDetails?continuationToken=&api-version=2023-11-01"
"nextLink": "https://management.azure.com/subscriptions/6b052e15-03d3-4f17-b2e1-be7f07588291/resourceGroups/exampleRG/providers/Microsoft.Chaos/experiments/exampleExperiment/executionDetails?continuationToken=&api-version=2024-01-01"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"subscriptionId": "6b052e15-03d3-4f17-b2e1-be7f07588291",
"resourceGroupName": "exampleRG",
"continuationToken": null,
"api-version": "2023-11-01"
"api-version": "2024-01-01"
},
"responses": {
"200": {
Expand Down Expand Up @@ -68,7 +68,7 @@
}
}
],
"nextLink": "https://management.azure.com/subscriptions/6b052e15-03d3-4f17-b2e1-be7f07588291/resourceGroups/exampleRG/providers/Microsoft.Chaos/experiments?continuationToken=&api-version=2023-11-01"
"nextLink": "https://management.azure.com/subscriptions/6b052e15-03d3-4f17-b2e1-be7f07588291/resourceGroups/exampleRG/providers/Microsoft.Chaos/experiments?continuationToken=&api-version=2024-01-01"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"parameters": {
"subscriptionId": "6b052e15-03d3-4f17-b2e1-be7f07588291",
"continuationToken": null,
"api-version": "2023-11-01"
"api-version": "2024-01-01"
},
"responses": {
"200": {
Expand Down Expand Up @@ -67,7 +67,7 @@
}
}
],
"nextLink": "https://management.azure.com/subscriptions/6b052e15-03d3-4f17-b2e1-be7f07588291/providers/Microsoft.Chaos/experiments?continuationToken=&api-version=2023-11-01"
"nextLink": "https://management.azure.com/subscriptions/6b052e15-03d3-4f17-b2e1-be7f07588291/providers/Microsoft.Chaos/experiments?continuationToken=&api-version=2024-01-01"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"subscriptionId": "6b052e15-03d3-4f17-b2e1-be7f07588291",
"locationName": "westus2",
"continuationToken": null,
"api-version": "2023-11-01"
"api-version": "2024-01-01"
},
"responses": {
"200": {
Expand All @@ -26,7 +26,7 @@
}
}
],
"nextLink": "https://management.azure.com/subscriptions/6b052e15-03d3-4f17-b2e1-be7f07588291/providers/Microsoft.Chaos/locations/westus2/targetTypes?continuationToken=&api-version=2023-11-01"
"nextLink": "https://management.azure.com/subscriptions/6b052e15-03d3-4f17-b2e1-be7f07588291/providers/Microsoft.Chaos/locations/westus2/targetTypes?continuationToken=&api-version=2024-01-01"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"parentResourceType": "virtualMachines",
"parentResourceName": "exampleVM",
"continuationToken": null,
"api-version": "2023-11-01"
"api-version": "2024-01-01"
},
"responses": {
"200": {
Expand All @@ -33,7 +33,7 @@
}
}
],
"nextLink": "https://management.azure.com/subscriptions/6b052e15-03d3-4f17-b2e1-be7f07588291/resourceGroups/exampleRG/providers/Microsoft.Compute/virtualMachines/exampleVM/providers/Microsoft.Chaos/targets?continuationToken=&api-version=2023-11-01"
"nextLink": "https://management.azure.com/subscriptions/6b052e15-03d3-4f17-b2e1-be7f07588291/resourceGroups/exampleRG/providers/Microsoft.Compute/virtualMachines/exampleVM/providers/Microsoft.Chaos/targets?continuationToken=&api-version=2024-01-01"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
"subscriptionId": "6b052e15-03d3-4f17-b2e1-be7f07588291",
"resourceGroupName": "exampleRG",
"experimentName": "exampleExperiment",
"api-version": "2023-11-01"
"api-version": "2024-01-01"
},
"responses": {
"202": {
"headers": {
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/6b052e15-03d3-4f17-b2e1-be7f07588291/resourceGroups/myResourceGroup/providers/Microsoft.Chaos/locations/eastus/operationStatus/00000000-0000-0000-0000-000000000000?api-version=2023-11-01",
"Location": "https://management.azure.com/subscriptions/6b052e15-03d3-4f17-b2e1-be7f07588291/resourceGroups/myResourceGroup/providers/Microsoft.Chaos/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2023-11-01"
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/6b052e15-03d3-4f17-b2e1-be7f07588291/resourceGroups/myResourceGroup/providers/Microsoft.Chaos/locations/eastus/operationStatus/00000000-0000-0000-0000-000000000000?api-version=2024-01-01",
"Location": "https://management.azure.com/subscriptions/6b052e15-03d3-4f17-b2e1-be7f07588291/resourceGroups/myResourceGroup/providers/Microsoft.Chaos/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2024-01-01"
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"subscriptionId": "6b052e15-03d3-4f17-b2e1-be7f07588291",
"resourceGroupName": "exampleRG",
"experimentName": "exampleExperiment",
"api-version": "2023-11-01",
"api-version": "2024-01-01",
"experiment": {
"identity": {
"type": "UserAssigned",
Expand All @@ -16,8 +16,8 @@
"responses": {
"202": {
"headers": {
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/6b052e15-03d3-4f17-b2e1-be7f07588291/resourceGroups/myResourceGroup/providers/Microsoft.Chaos/locations/eastus/operationStatus/00000000-0000-0000-0000-000000000000?api-version=2023-11-01",
"Location": "https://management.azure.com/subscriptions/6b052e15-03d3-4f17-b2e1-be7f07588291/resourceGroups/myResourceGroup/providers/Microsoft.Chaos/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2023-11-01"
"Azure-AsyncOperation": "https://management.azure.com/subscriptions/6b052e15-03d3-4f17-b2e1-be7f07588291/resourceGroups/myResourceGroup/providers/Microsoft.Chaos/locations/eastus/operationStatus/00000000-0000-0000-0000-000000000000?api-version=2024-01-01",
"Location": "https://management.azure.com/subscriptions/6b052e15-03d3-4f17-b2e1-be7f07588291/resourceGroups/myResourceGroup/providers/Microsoft.Chaos/locations/eastus/operationResults/00000000-0000-0000-0000-000000000000?api-version=2024-01-01"
},
"body": {
"id": "/subscriptions/6b052e15-03d3-4f17-b2e1-be7f07588291/resourceGroups/exampleRG/providers/Microsoft.Chaos/experiments/exampleExperiment",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"info": {
"title": "Chaos Management",
"description": "Azure Chaos Resource Provider REST API",
"version": "2023-11-01"
"version": "2024-01-01"
},
"host": "management.azure.com",
"schemes": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"info": {
"title": "Chaos Management",
"description": "Azure Chaos Resource Provider REST API",
"version": "2023-11-01"
"version": "2024-01-01"
},
"host": "management.azure.com",
"schemes": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"info": {
"title": "Chaos Management",
"description": "Azure Chaos Resource Provider REST API",
"version": "2023-11-01"
"version": "2024-01-01"
},
"host": "management.azure.com",
"schemes": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"info": {
"title": "Chaos Management",
"description": "Azure Chaos Resource Provider REST API",
"version": "2023-11-01"
"version": "2024-01-01"
},
"host": "management.azure.com",
"schemes": [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"info": {
"title": "Chaos Management",
"description": "Azure Chaos Resource Provider REST API",
"version": "2023-11-01"
"version": "2024-01-01"
},
"host": "management.azure.com",
"schemes": [
Expand Down
Loading

0 comments on commit c6eca91

Please sign in to comment.