forked from Azure/azure-sdk-for-java
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Getting baseline for dns schema generation
- Loading branch information
Dan Schulte
committed
May 24, 2016
1 parent
80d8030
commit eb56294
Showing
4 changed files
with
1,370 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
76 changes: 76 additions & 0 deletions
76
.../Generators/AzureResourceSchema/AzureResourceSchema.Tests/Expected/DNS/Microsoft.DNS.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,76 @@ | ||
{ | ||
"id": "http://schema.management.azure.com/schemas/2016-04-01/Microsoft.Network.json#", | ||
"$schema": "http://json-schema.org/draft-04/schema#", | ||
"title": "Microsoft.Network", | ||
"description": "Microsoft Network Resource Types", | ||
"resourceDefinitions": { | ||
"dnszones": { | ||
"type": "object", | ||
"properties": { | ||
"type": { | ||
"type": "string", | ||
"enum": [ | ||
"Microsoft.Network/dnszones" | ||
] | ||
}, | ||
"apiVersion": { | ||
"type": "string", | ||
"enum": [ | ||
"2016-04-01" | ||
] | ||
}, | ||
"etag": { | ||
"type": "string", | ||
"description": "Gets or sets the ETag of the zone that is being updated, as received from a Get operation." | ||
}, | ||
"properties": { | ||
"oneOf": [ | ||
{ | ||
"$ref": "#/definitions/ZoneProperties" | ||
}, | ||
{ | ||
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression" | ||
} | ||
], | ||
"description": "Gets or sets the properties of the zone." | ||
} | ||
}, | ||
"required": [ | ||
"type", | ||
"apiVersion", | ||
"properties" | ||
], | ||
"description": "Microsoft.Network/dnszones" | ||
} | ||
}, | ||
"definitions": { | ||
"ZoneProperties": { | ||
"type": "object", | ||
"properties": { | ||
"maxNumberOfRecordSets": { | ||
"oneOf": [ | ||
{ | ||
"type": "integer" | ||
}, | ||
{ | ||
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression" | ||
} | ||
], | ||
"description": "Gets or sets the maximum number of record sets that can be created in this zone." | ||
}, | ||
"numberOfRecordSets": { | ||
"oneOf": [ | ||
{ | ||
"type": "integer" | ||
}, | ||
{ | ||
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression" | ||
} | ||
], | ||
"description": "Gets or sets the current number of record sets in this zone." | ||
} | ||
}, | ||
"description": "Represents the properties of the zone." | ||
} | ||
} | ||
} |
Oops, something went wrong.