diff --git a/schemas/2017-10-01/Microsoft.PowerBIDedicated.json b/schemas/2017-10-01/Microsoft.PowerBIDedicated.json index 3f3d169b48..ecdf38112e 100644 --- a/schemas/2017-10-01/Microsoft.PowerBIDedicated.json +++ b/schemas/2017-10-01/Microsoft.PowerBIDedicated.json @@ -152,4 +152,4 @@ "description": "Represents the SKU name and Azure pricing tier for PowerBI Dedicated resource." } } -} \ No newline at end of file +} diff --git a/schemas/2021-01-01/Microsoft.PowerBIDedicated.json b/schemas/2021-01-01/Microsoft.PowerBIDedicated.json new file mode 100644 index 0000000000..30a036f609 --- /dev/null +++ b/schemas/2021-01-01/Microsoft.PowerBIDedicated.json @@ -0,0 +1,392 @@ +{ + "id": "https://schema.management.azure.com/schemas/2021-01-01/Microsoft.PowerBIDedicated.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.PowerBIDedicated", + "description": "Microsoft PowerBIDedicated Resource Types", + "resourceDefinitions": { + "autoScaleVCores": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-01-01" + ] + }, + "location": { + "type": "string", + "description": "Location of the PowerBI Dedicated resource." + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[-a-zA-Z0-9_]+$", + "minLength": 3, + "maxLength": 63 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name of the auto scale v-core. It must be a minimum of 3 characters, and a maximum of 63." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/AutoScaleVCoreProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of an auto scale v-core resource." + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/AutoScaleVCoreSku" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Represents the SKU name and Azure pricing tier for auto scale v-core resource." + }, + "systemData": { + "oneOf": [ + { + "$ref": "#/definitions/SystemData" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Metadata pertaining to creation and last modification of the resource." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Key-value pairs of additional resource provisioning properties." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.PowerBIDedicated/autoScaleVCores" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "sku", + "type" + ], + "description": "Microsoft.PowerBIDedicated/autoScaleVCores" + }, + "capacities": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2021-01-01" + ] + }, + "location": { + "type": "string", + "description": "Location of the PowerBI Dedicated resource." + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[a-z][a-z0-9]*$", + "minLength": 3, + "maxLength": 63 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name of the Dedicated capacity. It must be a minimum of 3 characters, and a maximum of 63." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/DedicatedCapacityProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of Dedicated Capacity resource." + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/CapacitySku" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Represents the SKU name and Azure pricing tier for PowerBI Dedicated capacity resource." + }, + "systemData": { + "oneOf": [ + { + "$ref": "#/definitions/SystemData" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Metadata pertaining to creation and last modification of the resource." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Key-value pairs of additional resource provisioning properties." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.PowerBIDedicated/capacities" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "sku", + "type" + ], + "description": "Microsoft.PowerBIDedicated/capacities" + } + }, + "definitions": { + "AutoScaleVCoreProperties": { + "type": "object", + "properties": { + "capacityLimit": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The maximum capacity of an auto scale v-core resource." + }, + "capacityObjectId": { + "type": "string", + "description": "The object ID of the capacity resource associated with the auto scale v-core resource." + } + }, + "description": "Properties of an auto scale v-core resource." + }, + "AutoScaleVCoreSku": { + "type": "object", + "properties": { + "capacity": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The capacity of an auto scale v-core resource." + }, + "name": { + "type": "string", + "description": "Name of the SKU level." + }, + "tier": { + "oneOf": [ + { + "type": "string", + "enum": [ + "AutoScale" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name of the Azure pricing tier to which the SKU applies." + } + }, + "required": [ + "name" + ], + "description": "Represents the SKU name and Azure pricing tier for auto scale v-core resource." + }, + "CapacitySku": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Name of the SKU level." + }, + "tier": { + "oneOf": [ + { + "type": "string", + "enum": [ + "PBIE_Azure", + "Premium", + "AutoPremiumHost" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name of the Azure pricing tier to which the SKU applies." + } + }, + "required": [ + "name" + ], + "description": "Represents the SKU name and Azure pricing tier for PowerBI Dedicated capacity resource." + }, + "DedicatedCapacityAdministrators": { + "type": "object", + "properties": { + "members": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "An array of administrator user identities." + } + }, + "description": "An array of administrator user identities" + }, + "DedicatedCapacityProperties": { + "type": "object", + "properties": { + "administration": { + "oneOf": [ + { + "$ref": "#/definitions/DedicatedCapacityAdministrators" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "An array of administrator user identities" + }, + "mode": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Gen1", + "Gen2" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The capacity mode." + } + }, + "description": "Properties of Dedicated Capacity resource." + }, + "SystemData": { + "type": "object", + "properties": { + "createdAt": { + "type": "string", + "format": "date-time", + "description": "The timestamp of resource creation (UTC)" + }, + "createdBy": { + "type": "string", + "description": "An identifier for the identity that created the resource" + }, + "createdByType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "User", + "Application", + "ManagedIdentity", + "Key" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The type of identity that created the resource." + }, + "lastModifiedAt": { + "type": "string", + "format": "date-time", + "description": "The timestamp of resource last modification (UTC)" + }, + "lastModifiedBy": { + "type": "string", + "description": "An identifier for the identity that last modified the resource" + }, + "lastModifiedByType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "User", + "Application", + "ManagedIdentity", + "Key" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The type of identity that last modified the resource." + } + }, + "description": "Metadata pertaining to creation and last modification of the resource." + } + } +}