Skip to content

Commit

Permalink
data: regenerating based on the latest Swagger (#4666)
Browse files Browse the repository at this point in the history
Co-authored-by: hc-github-team-tf-azure <>
  • Loading branch information
hc-github-team-tf-azure authored Feb 11, 2025
1 parent 169ad39 commit 48303ef
Show file tree
Hide file tree
Showing 1,561 changed files with 68,467 additions and 16 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"apiVersion": "2025-01-01",
"isPreview": false,
"generate": true,
"resources": [
"Capabilities",
"CapabilityTypes",
"ExperimentExecutions",
"Experiments",
"TargetTypes",
"Targets"
],
"source": "Azure/azure-rest-api-specs"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
{
"name": "Capability",
"fields": [
{
"containsDiscriminatedTypeValue": false,
"jsonName": "id",
"name": "Id",
"objectDefinition": {
"type": "String",
"nullable": false,
"referenceName": null,
"referenceNameIsCommonType": null
},
"optional": true,
"readOnly": false,
"required": false,
"sensitive": false
},
{
"containsDiscriminatedTypeValue": false,
"jsonName": "name",
"name": "Name",
"objectDefinition": {
"type": "String",
"nullable": false,
"referenceName": null,
"referenceNameIsCommonType": null
},
"optional": true,
"readOnly": false,
"required": false,
"sensitive": false
},
{
"containsDiscriminatedTypeValue": false,
"jsonName": "properties",
"name": "Properties",
"objectDefinition": {
"type": "Reference",
"nullable": false,
"referenceName": "CapabilityProperties",
"referenceNameIsCommonType": null
},
"optional": true,
"readOnly": false,
"required": false,
"sensitive": false
},
{
"containsDiscriminatedTypeValue": false,
"jsonName": "systemData",
"name": "SystemData",
"objectDefinition": {
"type": "SystemData",
"nullable": false,
"referenceName": null,
"referenceNameIsCommonType": null
},
"optional": true,
"readOnly": false,
"required": false,
"sensitive": false
},
{
"containsDiscriminatedTypeValue": false,
"jsonName": "type",
"name": "Type",
"objectDefinition": {
"type": "String",
"nullable": false,
"referenceName": null,
"referenceNameIsCommonType": null
},
"optional": true,
"readOnly": false,
"required": false,
"sensitive": false
}
],
"IsParent": false
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,81 @@
{
"name": "CapabilityProperties",
"fields": [
{
"containsDiscriminatedTypeValue": false,
"jsonName": "description",
"name": "Description",
"objectDefinition": {
"type": "String",
"nullable": false,
"referenceName": null,
"referenceNameIsCommonType": null
},
"optional": true,
"readOnly": false,
"required": false,
"sensitive": false
},
{
"containsDiscriminatedTypeValue": false,
"jsonName": "parametersSchema",
"name": "ParametersSchema",
"objectDefinition": {
"type": "String",
"nullable": false,
"referenceName": null,
"referenceNameIsCommonType": null
},
"optional": true,
"readOnly": false,
"required": false,
"sensitive": false
},
{
"containsDiscriminatedTypeValue": false,
"jsonName": "publisher",
"name": "Publisher",
"objectDefinition": {
"type": "String",
"nullable": false,
"referenceName": null,
"referenceNameIsCommonType": null
},
"optional": true,
"readOnly": false,
"required": false,
"sensitive": false
},
{
"containsDiscriminatedTypeValue": false,
"jsonName": "targetType",
"name": "TargetType",
"objectDefinition": {
"type": "String",
"nullable": false,
"referenceName": null,
"referenceNameIsCommonType": null
},
"optional": true,
"readOnly": false,
"required": false,
"sensitive": false
},
{
"containsDiscriminatedTypeValue": false,
"jsonName": "urn",
"name": "Urn",
"objectDefinition": {
"type": "String",
"nullable": false,
"referenceName": null,
"referenceNameIsCommonType": null
},
"optional": true,
"readOnly": false,
"required": false,
"sensitive": false
}
],
"IsParent": false
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"name": "CreateOrUpdate",
"contentType": "application/json; charset=utf-8",
"description": "",
"expectedStatusCodes": [
200,
201
],
"longRunning": false,
"httpMethod": "PUT",
"resourceIdName": "ChaosStudioCapabilityId",
"requestObject": {
"type": "Reference",
"nullable": false,
"referenceName": "Capability",
"referenceNameIsCommonType": null
},
"responseObject": {
"type": "Reference",
"nullable": false,
"referenceName": "Capability",
"referenceNameIsCommonType": null
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"name": "Delete",
"contentType": "application/json; charset=utf-8",
"description": "",
"expectedStatusCodes": [
200,
204
],
"longRunning": false,
"httpMethod": "DELETE",
"resourceIdName": "ChaosStudioCapabilityId"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
{
"name": "Get",
"contentType": "application/json; charset=utf-8",
"description": "",
"expectedStatusCodes": [
200
],
"longRunning": false,
"httpMethod": "GET",
"resourceIdName": "ChaosStudioCapabilityId",
"responseObject": {
"type": "Reference",
"nullable": false,
"referenceName": "Capability",
"referenceNameIsCommonType": null
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
{
"name": "List",
"contentType": "application/json; charset=utf-8",
"description": "",
"expectedStatusCodes": [
200
],
"fieldContainingPaginationDetails": "nextLink",
"longRunning": false,
"httpMethod": "GET",
"options": [
{
"type": "Data",
"optional": true,
"queryString": "continuationToken",
"required": false,
"field": "ContinuationToken",
"optionsObjectDefinition": {
"type": "String",
"referenceName": null
}
}
],
"resourceIdName": "ChaosStudioTargetId",
"responseObject": {
"type": "Reference",
"nullable": false,
"referenceName": "Capability",
"referenceNameIsCommonType": null
},
"uriSuffix": "/capabilities"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
{
"name": "ChaosStudioCapabilityId",
"commonAlias": "ChaosStudioCapability",
"id": "/{scope}/providers/Microsoft.Chaos/targets/{targetName}/capabilities/{capabilityName}",
"segments": [
{
"exampleValue": "",
"name": "scope",
"type": "Scope"
},
{
"exampleValue": "",
"name": "staticProviders",
"type": "Static",
"value": "providers"
},
{
"exampleValue": "",
"name": "staticMicrosoftChaos",
"type": "ResourceProvider",
"value": "Microsoft.Chaos"
},
{
"exampleValue": "",
"name": "staticTargets",
"type": "Static",
"value": "targets"
},
{
"exampleValue": "targetName",
"name": "targetName",
"type": "UserSpecified"
},
{
"exampleValue": "",
"name": "staticCapabilities",
"type": "Static",
"value": "capabilities"
},
{
"exampleValue": "capabilityName",
"name": "capabilityName",
"type": "UserSpecified"
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
"name": "ChaosStudioTargetId",
"commonAlias": "ChaosStudioTarget",
"id": "/{scope}/providers/Microsoft.Chaos/targets/{targetName}",
"segments": [
{
"exampleValue": "",
"name": "scope",
"type": "Scope"
},
{
"exampleValue": "",
"name": "staticProviders",
"type": "Static",
"value": "providers"
},
{
"exampleValue": "",
"name": "staticMicrosoftChaos",
"type": "ResourceProvider",
"value": "Microsoft.Chaos"
},
{
"exampleValue": "",
"name": "staticTargets",
"type": "Static",
"value": "targets"
},
{
"exampleValue": "targetName",
"name": "targetName",
"type": "UserSpecified"
}
]
}
Loading

0 comments on commit 48303ef

Please sign in to comment.