Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[AutoPR communitytraining] [Hub Generated] Review request for Microsoft.Community to add version stable/2023-11-01 #3590

Closed
wants to merge 1 commit into from
Closed
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
258 changes: 258 additions & 0 deletions schemas/2023-11-01/Microsoft.Community.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,258 @@
{
"id": "https://schema.management.azure.com/schemas/2023-11-01/Microsoft.Community.json#",
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Microsoft.Community",
"description": "Microsoft Community Resource Types",
"resourceDefinitions": {
"communityTrainings": {
"type": "object",
"properties": {
"apiVersion": {
"type": "string",
"enum": [
"2023-11-01"
]
},
"location": {
"type": "string",
"description": "The geo-location where the resource lives"
},
"name": {
"oneOf": [
{
"type": "string",
"pattern": "^[a-zA-Z0-9-]{3,24}$"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "The name of the Community Training Resource"
},
"properties": {
"oneOf": [
{
"$ref": "#/definitions/CommunityTrainingProperties"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Details of the Community CommunityTraining."
},
"sku": {
"oneOf": [
{
"$ref": "#/definitions/Sku"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "The resource model definition representing SKU"
},
"tags": {
"oneOf": [
{
"type": "object",
"additionalProperties": {
"type": "string"
},
"properties": {}
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Resource tags."
},
"type": {
"type": "string",
"enum": [
"Microsoft.Community/communityTrainings"
]
}
},
"required": [
"apiVersion",
"location",
"name",
"properties",
"type"
],
"description": "Microsoft.Community/communityTrainings"
}
},
"definitions": {
"CommunityTrainingProperties": {
"type": "object",
"properties": {
"disasterRecoveryEnabled": {
"oneOf": [
{
"type": "boolean"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "To indicate whether the Community Training instance has Disaster Recovery enabled"
},
"identityConfiguration": {
"oneOf": [
{
"$ref": "#/definitions/IdentityConfigurationProperties"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "Details of the Community CommunityTraining Identity Configuration"
},
"portalAdminEmailAddress": {
"type": "string",
"description": "The email address of the portal admin"
},
"portalName": {
"type": "string",
"description": "The portal name (website name) of the Community Training instance"
},
"portalOwnerEmailAddress": {
"type": "string",
"description": "The email address of the portal owner. Will be used as the primary contact"
},
"portalOwnerOrganizationName": {
"type": "string",
"description": "The organization name of the portal owner"
},
"zoneRedundancyEnabled": {
"oneOf": [
{
"type": "boolean"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "To indicate whether the Community Training instance has Zone Redundancy enabled"
}
},
"required": [
"disasterRecoveryEnabled",
"identityConfiguration",
"portalAdminEmailAddress",
"portalName",
"portalOwnerEmailAddress",
"portalOwnerOrganizationName",
"zoneRedundancyEnabled"
],
"description": "Details of the Community CommunityTraining."
},
"IdentityConfigurationProperties": {
"type": "object",
"properties": {
"b2cAuthenticationPolicy": {
"type": "string",
"description": "The name of the authentication policy registered in ADB2C for the Community Training Resource"
},
"b2cPasswordResetPolicy": {
"type": "string",
"description": "The name of the password reset policy registered in ADB2C for the Community Training Resource"
},
"clientId": {
"type": "string",
"description": "The clientId of the application registered in the selected identity provider for the Community Training Resource"
},
"clientSecret": {
"type": "string",
"format": "password",
"description": "The client secret of the application registered in the selected identity provider for the Community Training Resource"
},
"customLoginParameters": {
"type": "string",
"description": "The custom login parameters for the Community Training Resource"
},
"domainName": {
"type": "string",
"description": "The domain name of the selected identity provider for the Community Training Resource"
},
"identityType": {
"type": "string",
"description": "The identity type of the Community Training Resource"
},
"teamsEnabled": {
"oneOf": [
{
"type": "boolean",
"default": false
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "To indicate whether the Community Training Resource has Teams enabled"
},
"tenantId": {
"type": "string",
"description": "The tenantId of the selected identity provider for the Community Training Resource"
}
},
"required": [
"clientId",
"clientSecret",
"domainName",
"identityType",
"tenantId"
],
"description": "Details of the Community CommunityTraining Identity Configuration"
},
"Sku": {
"type": "object",
"properties": {
"capacity": {
"oneOf": [
{
"type": "integer"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
],
"description": "If the SKU supports scale out/in then the capacity integer should be included. If scale out/in is not possible for the resource this may be omitted."
},
"family": {
"type": "string",
"description": "If the service has different generations of hardware, for the same SKU, then that can be captured here."
},
"name": {
"type": "string",
"description": "The name of the SKU. Ex - P3. It is typically a letter+number code"
},
"size": {
"type": "string",
"description": "The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. "
},
"tier": {
"oneOf": [
{
"type": "string",
"enum": [
"Free",
"Basic",
"Standard",
"Premium"
]
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
}
},
"required": [
"name"
],
"description": "The resource model definition representing SKU"
}
}
}
3 changes: 3 additions & 0 deletions schemas/common/autogeneratedResources.json
Original file line number Diff line number Diff line change
Expand Up @@ -6511,6 +6511,9 @@
{
"$ref": "https://schema.management.azure.com/schemas/2023-06-01-preview/Microsoft.Communication.json#/resourceDefinitions/emailServices_domains_suppressionLists_suppressionListAddresses"
},
{
"$ref": "https://schema.management.azure.com/schemas/2023-11-01/Microsoft.Community.json#/resourceDefinitions/communityTrainings"
},
{
"$ref": "https://schema.management.azure.com/schemas/2015-06-15/Microsoft.Compute.Extensions.json#/resourceDefinitions/virtualMachines_extensions"
},
Expand Down
Loading