Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
200 changes: 200 additions & 0 deletions schemas/2020-03-01-preview/Microsoft.Confluent.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,200 @@
{
"id": "https://schema.management.azure.com/schemas/2020-03-01-preview/Microsoft.Confluent.json#",
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Microsoft.Confluent",
"description": "Microsoft Confluent Resource Types",
"resourceDefinitions": {
"organizations": {
"type": "object",
"properties": {
"apiVersion": {
"type": "string",
"enum": [
"2020-03-01-preview"
]
},
"location": {
"type": "string",
"description": "Location of Organization resource"
},
"name": {
"type": "string",
"description": "Organization resource name"
},
"properties": {
"oneOf": [
{
"$ref": "#/definitions/OrganizationResourcePropertiesModel"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Organization resource properties"
},
"tags": {
"oneOf": [
{
"type": "object",
"additionalProperties": {
"type": "string"
},
"properties": {}
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Organization resource tags"
},
"type": {
"type": "string",
"enum": [
"Microsoft.Confluent/organizations"
]
}
},
"required": [
"apiVersion",
"name",
"properties",
"type"
],
"description": "Microsoft.Confluent/organizations"
}
},
"definitions": {
"OrganizationResourcePropertiesModel": {
"type": "object",
"properties": {
"offerDetail": {
"oneOf": [
{
"$ref": "#/definitions/OrganizationResourcePropertiesOfferDetail"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Confluent offer detail"
},
"provisioningState": {
"oneOf": [
{
"type": "string",
"enum": [
"Accepted",
"Creating",
"Updating",
"Deleting",
"Succeeded",
"Failed",
"Canceled",
"Deleted",
"NotSpecified"
]
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Provision states for confluent RP."
},
"userDetail": {
"oneOf": [
{
"$ref": "#/definitions/OrganizationResourcePropertiesUserDetail"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Subscriber detail"
}
},
"description": "Organization resource properties"
},
"OrganizationResourcePropertiesOfferDetail": {
"type": "object",
"properties": {
"id": {
"type": "string",
"maxLength": 50,
"description": "Offer Id"
},
"planId": {
"type": "string",
"maxLength": 50,
"description": "Offer Plan Id"
},
"planName": {
"type": "string",
"maxLength": 50,
"description": "Offer Plan Name"
},
"publisherId": {
"type": "string",
"maxLength": 50,
"description": "Publisher Id"
},
"status": {
"oneOf": [
{
"type": "string",
"enum": [
"Started",
"PendingFulfillmentStart",
"InProgress",
"Subscribed",
"Suspended",
"Reinstated",
"Succeeded",
"Failed",
"Unsubscribed",
"Updating"
]
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "SaaS Offer Status."
},
"termUnit": {
"type": "string",
"maxLength": 25,
"description": "Offer Plan Term unit"
}
},
"description": "Confluent offer detail"
},
"OrganizationResourcePropertiesUserDetail": {
"type": "object",
"properties": {
"emailAddress": {
"oneOf": [
{
"type": "string",
"pattern": "^[\\w\\.\\-+!%\"\\s]+@[a-zA-Z_]+?\\.[a-zA-Z]{2,3}$"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Email address"
},
"firstName": {
"type": "string",
"maxLength": 50,
"description": "First name"
},
"lastName": {
"type": "string",
"maxLength": 50,
"description": "Last name"
}
},
"description": "Subscriber detail"
}
}
}
5 changes: 4 additions & 1 deletion schemas/common/autogeneratedResources.json
Original file line number Diff line number Diff line change
Expand Up @@ -1504,6 +1504,9 @@
{
"$ref": "https://schema.management.azure.com/schemas/2020-08-20-preview/Microsoft.Communication.json#/resourceDefinitions/communicationServices"
},
{
"$ref": "https://schema.management.azure.com/schemas/2020-03-01-preview/Microsoft.Confluent.json#/resourceDefinitions/organizations"
},
{
"$ref": "https://schema.management.azure.com/schemas/2018-01-31/Microsoft.Consumption.json#/resourceDefinitions/budgets"
},
Expand Down Expand Up @@ -5329,4 +5332,4 @@
]
}
]
}
}