Skip to content

Commit

Permalink
data: regenerating based on the latest Swagger (#4390)
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 Sep 3, 2024
1 parent 7ce1bf7 commit d40aad6
Show file tree
Hide file tree
Showing 386 changed files with 17,734 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"apiVersion": "2024-07-01",
"isPreview": false,
"generate": true,
"resources": [
"Application",
"ApplicationPackage",
"BatchAccount",
"BatchManagements",
"Certificate",
"Location",
"NetworkSecurityPerimeter",
"Pool",
"PrivateEndpointConnection",
"PrivateLinkResource"
],
"source": "Azure/azure-rest-api-specs"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
{
"name": "Application",
"fields": [
{
"containsDiscriminatedTypeValue": false,
"jsonName": "etag",
"name": "Etag",
"objectDefinition": {
"type": "String",
"referenceName": null
},
"optional": true,
"readOnly": false,
"required": false,
"sensitive": false
},
{
"containsDiscriminatedTypeValue": false,
"jsonName": "id",
"name": "Id",
"objectDefinition": {
"type": "String",
"referenceName": null
},
"optional": true,
"readOnly": false,
"required": false,
"sensitive": false
},
{
"containsDiscriminatedTypeValue": false,
"jsonName": "name",
"name": "Name",
"objectDefinition": {
"type": "String",
"referenceName": null
},
"optional": true,
"readOnly": false,
"required": false,
"sensitive": false
},
{
"containsDiscriminatedTypeValue": false,
"jsonName": "properties",
"name": "Properties",
"objectDefinition": {
"type": "Reference",
"referenceName": "ApplicationProperties"
},
"optional": true,
"readOnly": false,
"required": false,
"sensitive": false
},
{
"containsDiscriminatedTypeValue": false,
"jsonName": "tags",
"name": "Tags",
"objectDefinition": {
"type": "Tags",
"referenceName": null
},
"optional": true,
"readOnly": false,
"required": false,
"sensitive": false
},
{
"containsDiscriminatedTypeValue": false,
"jsonName": "type",
"name": "Type",
"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,44 @@
{
"name": "ApplicationProperties",
"fields": [
{
"containsDiscriminatedTypeValue": false,
"jsonName": "allowUpdates",
"name": "AllowUpdates",
"objectDefinition": {
"type": "Boolean",
"referenceName": null
},
"optional": true,
"readOnly": false,
"required": false,
"sensitive": false
},
{
"containsDiscriminatedTypeValue": false,
"jsonName": "defaultVersion",
"name": "DefaultVersion",
"objectDefinition": {
"type": "String",
"referenceName": null
},
"optional": true,
"readOnly": false,
"required": false,
"sensitive": false
},
{
"containsDiscriminatedTypeValue": false,
"jsonName": "displayName",
"name": "DisplayName",
"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,18 @@
{
"name": "Create",
"contentType": "application/json; charset=utf-8",
"expectedStatusCodes": [
200
],
"longRunning": false,
"httpMethod": "PUT",
"resourceIdName": "ApplicationId",
"requestObject": {
"type": "Reference",
"referenceName": "Application"
},
"responseObject": {
"type": "Reference",
"referenceName": "Application"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"name": "Delete",
"contentType": "application/json; charset=utf-8",
"expectedStatusCodes": [
200,
204
],
"longRunning": false,
"httpMethod": "DELETE",
"resourceIdName": "ApplicationId"
}
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": "ApplicationId",
"responseObject": {
"type": "Reference",
"referenceName": "Application"
}
}
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": "maxresults",
"required": false,
"field": "Maxresults",
"optionsObjectDefinition": {
"type": "Integer",
"referenceName": null
}
}
],
"resourceIdName": "BatchAccountId",
"responseObject": {
"type": "Reference",
"referenceName": "Application"
},
"uriSuffix": "/applications"
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"name": "Update",
"contentType": "application/json; charset=utf-8",
"expectedStatusCodes": [
200
],
"longRunning": false,
"httpMethod": "PATCH",
"resourceIdName": "ApplicationId",
"requestObject": {
"type": "Reference",
"referenceName": "Application"
},
"responseObject": {
"type": "Reference",
"referenceName": "Application"
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
{
"name": "ApplicationId",
"id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{batchAccountName}/applications/{applicationName}",
"segments": [
{
"name": "staticSubscriptions",
"type": "Static",
"value": "subscriptions"
},
{
"name": "subscriptionId",
"type": "SubscriptionId"
},
{
"name": "staticResourceGroups",
"type": "Static",
"value": "resourceGroups"
},
{
"name": "resourceGroupName",
"type": "ResourceGroup"
},
{
"name": "staticProviders",
"type": "Static",
"value": "providers"
},
{
"name": "staticMicrosoftBatch",
"type": "ResourceProvider",
"value": "Microsoft.Batch"
},
{
"name": "staticBatchAccounts",
"type": "Static",
"value": "batchAccounts"
},
{
"name": "batchAccountName",
"type": "UserSpecified"
},
{
"name": "staticApplications",
"type": "Static",
"value": "applications"
},
{
"name": "applicationName",
"type": "UserSpecified"
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
{
"name": "BatchAccountId",
"id": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Batch/batchAccounts/{batchAccountName}",
"segments": [
{
"name": "staticSubscriptions",
"type": "Static",
"value": "subscriptions"
},
{
"name": "subscriptionId",
"type": "SubscriptionId"
},
{
"name": "staticResourceGroups",
"type": "Static",
"value": "resourceGroups"
},
{
"name": "resourceGroupName",
"type": "ResourceGroup"
},
{
"name": "staticProviders",
"type": "Static",
"value": "providers"
},
{
"name": "staticMicrosoftBatch",
"type": "ResourceProvider",
"value": "Microsoft.Batch"
},
{
"name": "staticBatchAccounts",
"type": "Static",
"value": "batchAccounts"
},
{
"name": "batchAccountName",
"type": "UserSpecified"
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"name": "PackageState",
"type": "String",
"values": [
{
"key": "Active",
"value": "Active"
},
{
"key": "Pending",
"value": "Pending"
}
]
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"name": "ActivateApplicationPackageParameters",
"fields": [
{
"containsDiscriminatedTypeValue": false,
"jsonName": "format",
"name": "Format",
"objectDefinition": {
"type": "String",
"referenceName": null
},
"optional": false,
"readOnly": false,
"required": true,
"sensitive": false
}
]
}
Loading

0 comments on commit d40aad6

Please sign in to comment.