Skip to content

Commit

Permalink
Update AzureResourceSchema generator to create DNS schema
Browse files Browse the repository at this point in the history
  • Loading branch information
Dan Schulte committed May 25, 2016
1 parent 3f84226 commit 083672e
Show file tree
Hide file tree
Showing 5 changed files with 1,486 additions and 70 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,12 +49,91 @@
"description": "The properties of the account."
}
},
"resources": {
"type": "array",
"items": {
"oneOf": [
{
"$ref": "#/definitions/batchAccounts_applications_childResource"
}
]
}
},
"required": [
"type",
"apiVersion",
"properties"
],
"description": "Microsoft.Batch/batchAccounts"
},
"batchAccounts_applications": {
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"Microsoft.Batch/batchAccounts/applications"
]
},
"apiVersion": {
"type": "string",
"enum": [
"2015-12-01"
]
},
"allowUpdates": {
"oneOf": [
{
"type": "boolean"
},
{
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "A value indicating whether packages within the application may be overwritten using the same version string."
},
"displayName": {
"type": "string",
"description": "The display name for the application."
}
},
"resources": {
"type": "array",
"items": {
"oneOf": [
{
"$ref": "#/definitions/batchAccounts_applications_versions_childResource"
}
]
}
},
"required": [
"type",
"apiVersion"
],
"description": "Microsoft.Batch/batchAccounts/applications"
},
"batchAccounts_applications_versions": {
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"Microsoft.Batch/batchAccounts/applications/versions"
]
},
"apiVersion": {
"type": "string",
"enum": [
"2015-12-01"
]
}
},
"required": [
"type",
"apiVersion"
],
"description": "Microsoft.Batch/batchAccounts/applications/versions"
}
},
"definitions": {
Expand Down Expand Up @@ -87,6 +166,75 @@
"storageAccountId"
],
"description": "The properties related to auto storage account."
},
"batchAccounts_applications_childResource": {
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"applications"
]
},
"apiVersion": {
"type": "string",
"enum": [
"2015-12-01"
]
},
"allowUpdates": {
"oneOf": [
{
"type": "boolean"
},
{
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression"
}
],
"description": "A value indicating whether packages within the application may be overwritten using the same version string."
},
"displayName": {
"type": "string",
"description": "The display name for the application."
}
},
"resources": {
"type": "array",
"items": {
"oneOf": [
{
"$ref": "#/definitions/batchAccounts_applications_versions_childResource"
}
]
}
},
"required": [
"type",
"apiVersion"
],
"description": "Microsoft.Batch/batchAccounts/applications"
},
"batchAccounts_applications_versions_childResource": {
"type": "object",
"properties": {
"type": {
"type": "string",
"enum": [
"versions"
]
},
"apiVersion": {
"type": "string",
"enum": [
"2015-12-01"
]
}
},
"required": [
"type",
"apiVersion"
],
"description": "Microsoft.Batch/batchAccounts/applications/versions"
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,8 @@
"required": [
"type",
"apiVersion",
"properties",
"location"
"location",
"properties"
],
"description": "Microsoft.Cdn/profiles/endpoints"
},
Expand Down Expand Up @@ -458,8 +458,8 @@
"required": [
"type",
"apiVersion",
"properties",
"location"
"location",
"properties"
],
"description": "Microsoft.Cdn/profiles/endpoints"
},
Expand Down

0 comments on commit 083672e

Please sign in to comment.