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.
- Loading branch information
Dan Schulte
committed
May 25, 2016
1 parent
40748df
commit 18c6a84
Showing
4 changed files
with
894 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
124 changes: 124 additions & 0 deletions
124
...hema.Tests/Expected/CognitiveServices/2016-02-01-preview/Microsoft.CognitiveServices.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,124 @@ | ||
{ | ||
"id": "http://schema.management.azure.com/schemas/2016-02-01-preview/Microsoft.CognitiveServices.json#", | ||
"$schema": "http://json-schema.org/draft-04/schema#", | ||
"title": "Microsoft.CognitiveServices", | ||
"description": "Microsoft CognitiveServices Resource Types", | ||
"resourceDefinitions": { | ||
"accounts": { | ||
"type": "object", | ||
"properties": { | ||
"type": { | ||
"type": "string", | ||
"enum": [ | ||
"Microsoft.CognitiveServices/accounts" | ||
] | ||
}, | ||
"apiVersion": { | ||
"type": "string", | ||
"enum": [ | ||
"2016-02-01-preview" | ||
] | ||
}, | ||
"sku": { | ||
"oneOf": [ | ||
{ | ||
"$ref": "#/definitions/Sku" | ||
}, | ||
{ | ||
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression" | ||
} | ||
] | ||
}, | ||
"kind": { | ||
"oneOf": [ | ||
{ | ||
"type": "string", | ||
"enum": [ | ||
"ComputerVision", | ||
"Emotion", | ||
"Face", | ||
"LUIS", | ||
"Recommendations", | ||
"Speech", | ||
"TextAnalytics", | ||
"WebLM" | ||
] | ||
}, | ||
{ | ||
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression" | ||
} | ||
], | ||
"description": "Required. Indicates the type of cognitive service account. Possible values include: 'ComputerVision', 'Emotion', 'Face', 'LUIS', 'Recommendations', 'Speech', 'TextAnalytics', 'WebLM'" | ||
}, | ||
"location": { | ||
"type": "string", | ||
"description": "Required. Gets or sets the location of the resource. This will be one of the supported and registered Azure Geo Regions (e.g. West US, East US, Southeast Asia, etc.). The geo region of a resource cannot be changed once it is created, but if an identical geo region is specified on update the request will succeed." | ||
}, | ||
"tags": { | ||
"oneOf": [ | ||
{ | ||
"type": "object", | ||
"additionalProperties": { | ||
"type": "string" | ||
} | ||
}, | ||
{ | ||
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression" | ||
} | ||
], | ||
"description": "Gets or sets a list of key value pairs that describe the resource. These tags can be used in viewing and grouping this resource (across resource groups). A maximum of 15 tags can be provided for a resource. Each tag must have a key no greater than 128 characters and value no greater than 256 characters." | ||
}, | ||
"properties": { | ||
"oneOf": [ | ||
{ | ||
"type": "object" | ||
}, | ||
{ | ||
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression" | ||
} | ||
], | ||
"description": "Must exist in the request. Must not be null." | ||
} | ||
}, | ||
"required": [ | ||
"type", | ||
"apiVersion", | ||
"sku", | ||
"kind", | ||
"location", | ||
"properties" | ||
], | ||
"description": "Microsoft.CognitiveServices/accounts" | ||
} | ||
}, | ||
"definitions": { | ||
"Sku": { | ||
"type": "object", | ||
"properties": { | ||
"name": { | ||
"oneOf": [ | ||
{ | ||
"type": "string", | ||
"enum": [ | ||
"F0", | ||
"S0", | ||
"S1", | ||
"S2", | ||
"S3", | ||
"S4" | ||
] | ||
}, | ||
{ | ||
"$ref": "http://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#/definitions/expression" | ||
} | ||
], | ||
"description": "Gets or sets the sku name. Required for account creation, optional for update. Possible values include: 'F0', 'S0', 'S1', 'S2', 'S3', 'S4'" | ||
} | ||
}, | ||
"required": [ | ||
"name" | ||
], | ||
"description": "The SKU of the cognitive services account." | ||
} | ||
} | ||
} |
Oops, something went wrong.