forked from Azure/azure-resource-manager-schemas
-
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.
CodeGen from PR 13985 in Azure/azure-rest-api-specs
Merge 73dfd0770e656d0d7d35bb2845408ed5c13f31de into 2917973fd886553c6277b66d786dc2827d11c386
- Loading branch information
SDKAuto
committed
Apr 19, 2021
1 parent
5b2b112
commit b64b84e
Showing
4 changed files
with
289 additions
and
23 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
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,283 @@ | ||
{ | ||
"id": "https://schema.management.azure.com/schemas/2021-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": [ | ||
"2021-03-01-preview" | ||
] | ||
}, | ||
"location": { | ||
"type": "string", | ||
"description": "Location of Organization resource" | ||
}, | ||
"name": { | ||
"type": "string", | ||
"description": "Organization resource name" | ||
}, | ||
"properties": { | ||
"oneOf": [ | ||
{ | ||
"$ref": "#/definitions/OrganizationResourceProperties" | ||
}, | ||
{ | ||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" | ||
} | ||
], | ||
"description": "Organization resource property" | ||
}, | ||
"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" | ||
} | ||
}, | ||
"subscription_resourceDefinitions": { | ||
"agreements": { | ||
"type": "object", | ||
"properties": { | ||
"apiVersion": { | ||
"type": "string", | ||
"enum": [ | ||
"2021-03-01-preview" | ||
] | ||
}, | ||
"name": { | ||
"type": "string", | ||
"enum": [ | ||
"default" | ||
] | ||
}, | ||
"properties": { | ||
"oneOf": [ | ||
{ | ||
"$ref": "#/definitions/ConfluentAgreementProperties" | ||
}, | ||
{ | ||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" | ||
} | ||
], | ||
"description": "Terms properties for Marketplace and Confluent." | ||
}, | ||
"type": { | ||
"type": "string", | ||
"enum": [ | ||
"Microsoft.Confluent/agreements" | ||
] | ||
} | ||
}, | ||
"required": [ | ||
"apiVersion", | ||
"name", | ||
"properties", | ||
"type" | ||
], | ||
"description": "Microsoft.Confluent/agreements" | ||
} | ||
}, | ||
"definitions": { | ||
"ConfluentAgreementProperties": { | ||
"type": "object", | ||
"properties": { | ||
"accepted": { | ||
"oneOf": [ | ||
{ | ||
"type": "boolean" | ||
}, | ||
{ | ||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" | ||
} | ||
], | ||
"description": "If any version of the terms have been accepted, otherwise false." | ||
}, | ||
"licenseTextLink": { | ||
"type": "string", | ||
"description": "Link to HTML with Microsoft and Publisher terms." | ||
}, | ||
"plan": { | ||
"type": "string", | ||
"description": "Plan identifier string." | ||
}, | ||
"privacyPolicyLink": { | ||
"type": "string", | ||
"description": "Link to the privacy policy of the publisher." | ||
}, | ||
"product": { | ||
"type": "string", | ||
"description": "Product identifier string." | ||
}, | ||
"publisher": { | ||
"type": "string", | ||
"description": "Publisher identifier string." | ||
}, | ||
"retrieveDatetime": { | ||
"type": "string", | ||
"format": "date-time", | ||
"description": "Date and time in UTC of when the terms were accepted. This is empty if Accepted is false." | ||
}, | ||
"signature": { | ||
"type": "string", | ||
"description": "Terms signature." | ||
} | ||
}, | ||
"description": "Terms properties for Marketplace and Confluent." | ||
}, | ||
"OfferDetail": { | ||
"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" | ||
} | ||
}, | ||
"required": [ | ||
"id", | ||
"planId", | ||
"planName", | ||
"publisherId", | ||
"termUnit" | ||
], | ||
"description": "Confluent Offer detail" | ||
}, | ||
"OrganizationResourceProperties": { | ||
"type": "object", | ||
"properties": { | ||
"offerDetail": { | ||
"oneOf": [ | ||
{ | ||
"$ref": "#/definitions/OfferDetail" | ||
}, | ||
{ | ||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" | ||
} | ||
], | ||
"description": "Confluent Offer detail" | ||
}, | ||
"userDetail": { | ||
"oneOf": [ | ||
{ | ||
"$ref": "#/definitions/UserDetail" | ||
}, | ||
{ | ||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" | ||
} | ||
], | ||
"description": "Subscriber detail" | ||
} | ||
}, | ||
"required": [ | ||
"offerDetail", | ||
"userDetail" | ||
], | ||
"description": "Organization resource property" | ||
}, | ||
"UserDetail": { | ||
"type": "object", | ||
"properties": { | ||
"emailAddress": { | ||
"oneOf": [ | ||
{ | ||
"type": "string", | ||
"pattern": "^\\S+@\\S+\\.\\S+$" | ||
}, | ||
{ | ||
"$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" | ||
} | ||
}, | ||
"required": [ | ||
"emailAddress", | ||
"firstName", | ||
"lastName" | ||
], | ||
"description": "Subscriber detail" | ||
} | ||
} | ||
} |
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