Skip to content

Commit

Permalink
Merge pull request #4149 from hashicorp/data/regeneration-from-2c09c9…
Browse files Browse the repository at this point in the history
…e62e43badb6834d0e898554454bc9fa306-rest-api-specs

Data: Rest Api Specs - regenerating based on 2c09c9e
  • Loading branch information
tombuildsstuff authored May 21, 2024
2 parents 2c09c9e + 42ddb39 commit c3602d4
Show file tree
Hide file tree
Showing 123 changed files with 4,015 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"apiVersion": "2015-11-01",
"isPreview": false,
"generate": true,
"resources": [
"DeploymentOperations",
"Deployments",
"PolicyAssignments",
"PolicyDefinitions",
"Providers",
"ResourceGroups",
"Resources",
"Subscriptions",
"Tags",
"Tenants"
],
"source": "Azure/azure-rest-api-specs"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
{
"name": "DeploymentOperation",
"fields": [
{
"containsDiscriminatedTypeValue": false,
"jsonName": "id",
"name": "Id",
"objectDefinition": {
"type": "String",
"referenceName": null
},
"optional": true,
"readOnly": false,
"required": false,
"sensitive": false
},
{
"containsDiscriminatedTypeValue": false,
"jsonName": "operationId",
"name": "OperationId",
"objectDefinition": {
"type": "String",
"referenceName": null
},
"optional": true,
"readOnly": false,
"required": false,
"sensitive": false
},
{
"containsDiscriminatedTypeValue": false,
"jsonName": "properties",
"name": "Properties",
"objectDefinition": {
"type": "Reference",
"referenceName": "DeploymentOperationProperties"
},
"optional": true,
"readOnly": false,
"required": false,
"sensitive": false
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,71 @@
{
"name": "DeploymentOperationProperties",
"fields": [
{
"containsDiscriminatedTypeValue": false,
"jsonName": "provisioningState",
"name": "ProvisioningState",
"objectDefinition": {
"type": "String",
"referenceName": null
},
"optional": true,
"readOnly": false,
"required": false,
"sensitive": false
},
{
"containsDiscriminatedTypeValue": false,
"jsonName": "statusCode",
"name": "StatusCode",
"objectDefinition": {
"type": "String",
"referenceName": null
},
"optional": true,
"readOnly": false,
"required": false,
"sensitive": false
},
{
"containsDiscriminatedTypeValue": false,
"jsonName": "statusMessage",
"name": "StatusMessage",
"objectDefinition": {
"type": "RawObject",
"referenceName": null
},
"optional": true,
"readOnly": false,
"required": false,
"sensitive": false
},
{
"containsDiscriminatedTypeValue": false,
"jsonName": "targetResource",
"name": "TargetResource",
"objectDefinition": {
"type": "Reference",
"referenceName": "TargetResource"
},
"optional": true,
"readOnly": false,
"required": false,
"sensitive": false
},
{
"containsDiscriminatedTypeValue": false,
"jsonName": "timestamp",
"name": "Timestamp",
"objectDefinition": {
"type": "DateTime",
"referenceName": null,
"dateFormat": "RFC3339"
},
"optional": true,
"readOnly": false,
"required": false,
"sensitive": false
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
{
"name": "TargetResource",
"fields": [
{
"containsDiscriminatedTypeValue": false,
"jsonName": "id",
"name": "Id",
"objectDefinition": {
"type": "String",
"referenceName": null
},
"optional": true,
"readOnly": false,
"required": false,
"sensitive": false
},
{
"containsDiscriminatedTypeValue": false,
"jsonName": "resourceName",
"name": "ResourceName",
"objectDefinition": {
"type": "String",
"referenceName": null
},
"optional": true,
"readOnly": false,
"required": false,
"sensitive": false
},
{
"containsDiscriminatedTypeValue": false,
"jsonName": "resourceType",
"name": "ResourceType",
"objectDefinition": {
"type": "String",
"referenceName": null
},
"optional": true,
"readOnly": false,
"required": false,
"sensitive": false
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"name": "Get",
"contentType": "application/json; charset=utf-8",
"expectedStatusCodes": [
200
],
"longRunning": false,
"httpMethod": "GET",
"resourceIdName": "OperationId",
"responseObject": {
"type": "Reference",
"referenceName": "DeploymentOperation"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
{
"name": "List",
"contentType": "application/json; charset=utf-8",
"expectedStatusCodes": [
200
],
"fieldContainingPaginationDetails": "nextLink",
"longRunning": false,
"httpMethod": "GET",
"options": [
{
"optional": true,
"queryString": "$top",
"required": false,
"field": "Top",
"optionsObjectDefinition": {
"type": "Integer",
"referenceName": null
}
}
],
"resourceIdName": "DeploymentId",
"responseObject": {
"type": "Reference",
"referenceName": "DeploymentOperation"
},
"uriSuffix": "/operations"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
{
"name": "DeploymentId",
"id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/deployments/{deploymentName}",
"segments": [
{
"name": "staticSubscriptions",
"type": "Static",
"value": "subscriptions"
},
{
"name": "subscriptionId",
"type": "SubscriptionId"
},
{
"name": "staticResourceGroups",
"type": "Static",
"value": "resourceGroups"
},
{
"name": "resourceGroupName",
"type": "ResourceGroup"
},
{
"name": "staticDeployments",
"type": "Static",
"value": "deployments"
},
{
"name": "deploymentName",
"type": "UserSpecified"
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{
"name": "OperationId",
"id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/deployments/{deploymentName}/operations/{operationId}",
"segments": [
{
"name": "staticSubscriptions",
"type": "Static",
"value": "subscriptions"
},
{
"name": "subscriptionId",
"type": "SubscriptionId"
},
{
"name": "staticResourceGroups",
"type": "Static",
"value": "resourceGroups"
},
{
"name": "resourceGroupName",
"type": "ResourceGroup"
},
{
"name": "staticDeployments",
"type": "Static",
"value": "deployments"
},
{
"name": "deploymentName",
"type": "UserSpecified"
},
{
"name": "staticOperations",
"type": "Static",
"value": "operations"
},
{
"name": "operationId",
"type": "UserSpecified"
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"name": "DeploymentMode",
"type": "String",
"values": [
{
"key": "Complete",
"value": "Complete"
},
{
"key": "Incremental",
"value": "Incremental"
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
{
"name": "BasicDependency",
"fields": [
{
"containsDiscriminatedTypeValue": false,
"jsonName": "id",
"name": "Id",
"objectDefinition": {
"type": "String",
"referenceName": null
},
"optional": true,
"readOnly": false,
"required": false,
"sensitive": false
},
{
"containsDiscriminatedTypeValue": false,
"jsonName": "resourceName",
"name": "ResourceName",
"objectDefinition": {
"type": "String",
"referenceName": null
},
"optional": true,
"readOnly": false,
"required": false,
"sensitive": false
},
{
"containsDiscriminatedTypeValue": false,
"jsonName": "resourceType",
"name": "ResourceType",
"objectDefinition": {
"type": "String",
"referenceName": null
},
"optional": true,
"readOnly": false,
"required": false,
"sensitive": false
}
]
}
Loading

0 comments on commit c3602d4

Please sign in to comment.