From cdc6ed1d2e682b6b130dd280df608a539c762e11 Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Sat, 6 May 2023 15:51:28 +0000 Subject: [PATCH 01/10] Update resource list --- generator/resources.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/generator/resources.json b/generator/resources.json index 763547a819..9c4228ae4f 100644 --- a/generator/resources.json +++ b/generator/resources.json @@ -6598,7 +6598,8 @@ "2021-02-01-preview", "2021-08-01", "2022-06-15", - "2022-08-01-preview" + "2022-08-01-preview", + "2023-03-15-preview" ], "Microsoft.Insights/tenantActionGroups": [ "2023-03-01-preview" From 5ffad18d51ed2694ebaa3aadc552a076b2bee44f Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Sun, 7 May 2023 16:49:03 +0000 Subject: [PATCH 02/10] Autogenerate schemas --- schemas/2023-04-01/Microsoft.Cache.json | 968 +++++++++++++ .../2023-05-01-preview/Microsoft.Cache.json | 1214 +++++++++++++++++ schemas/common/autogeneratedResources.json | 36 + 3 files changed, 2218 insertions(+) create mode 100644 schemas/2023-04-01/Microsoft.Cache.json create mode 100644 schemas/2023-05-01-preview/Microsoft.Cache.json diff --git a/schemas/2023-04-01/Microsoft.Cache.json b/schemas/2023-04-01/Microsoft.Cache.json new file mode 100644 index 0000000000..94665a64ef --- /dev/null +++ b/schemas/2023-04-01/Microsoft.Cache.json @@ -0,0 +1,968 @@ +{ + "id": "https://schema.management.azure.com/schemas/2023-04-01/Microsoft.Cache.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.Cache", + "description": "Microsoft Cache Resource Types", + "resourceDefinitions": { + "redis": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-04-01" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedServiceIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Managed service identity (system assigned and/or user assigned identities)" + }, + "location": { + "type": "string", + "description": "The geo-location where the resource lives" + }, + "name": { + "type": "string", + "description": "The name of the Redis cache." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/RedisCreateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties supplied to Create Redis operation." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/redis_firewallRules_childResource" + }, + { + "$ref": "#/definitions/redis_patchSchedules_childResource" + }, + { + "$ref": "#/definitions/redis_linkedServers_childResource" + }, + { + "$ref": "#/definitions/redis_privateEndpointConnections_childResource" + } + ] + } + }, + "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.Cache/redis" + ] + }, + "zones": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A list of availability zones denoting where the resource needs to come from." + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Cache/redis" + }, + "redis_firewallRules": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-04-01" + ] + }, + "name": { + "type": "string", + "description": "The name of the firewall rule." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/RedisFirewallRuleProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies a range of IP addresses permitted to connect to the cache" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Cache/redis/firewallRules" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Cache/redis/firewallRules" + }, + "redis_linkedServers": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-04-01" + ] + }, + "name": { + "type": "string", + "description": "The name of the linked server that is being added to the Redis cache." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/RedisLinkedServerCreateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Create properties for a linked server" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Cache/redis/linkedServers" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Cache/redis/linkedServers" + }, + "redis_patchSchedules": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-04-01" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^.*/default$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Default string modeled as parameter for auto generation to work correctly." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ScheduleEntries" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of patch schedules for a Redis cache." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Cache/redis/patchSchedules" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Cache/redis/patchSchedules" + }, + "redis_privateEndpointConnections": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-04-01" + ] + }, + "name": { + "type": "string", + "description": "The name of the private endpoint connection associated with the Azure resource" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PrivateEndpointConnectionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of the PrivateEndpointConnectProperties." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Cache/redis/privateEndpointConnections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Cache/redis/privateEndpointConnections" + } + }, + "definitions": { + "ManagedServiceIdentity": { + "type": "object", + "properties": { + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "SystemAssigned", + "UserAssigned", + "SystemAssigned, UserAssigned" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "userAssignedIdentities": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/UserAssignedIdentity" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests." + } + }, + "required": [ + "type" + ], + "description": "Managed service identity (system assigned and/or user assigned identities)" + }, + "PrivateEndpoint": { + "type": "object", + "properties": {}, + "description": "The Private Endpoint resource." + }, + "PrivateEndpointConnectionProperties": { + "type": "object", + "properties": { + "privateEndpoint": { + "oneOf": [ + { + "$ref": "#/definitions/PrivateEndpoint" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The Private Endpoint resource." + }, + "privateLinkServiceConnectionState": { + "oneOf": [ + { + "$ref": "#/definitions/PrivateLinkServiceConnectionState" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A collection of information about the state of the connection between service consumer and provider." + }, + "provisioningState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Succeeded", + "Creating", + "Deleting", + "Failed" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The provisioning state of the private endpoint connection resource." + } + }, + "required": [ + "privateLinkServiceConnectionState" + ], + "description": "Properties of the PrivateEndpointConnectProperties." + }, + "PrivateLinkServiceConnectionState": { + "type": "object", + "properties": { + "actionsRequired": { + "type": "string", + "description": "A message indicating if changes on the service provider require any updates on the consumer." + }, + "description": { + "type": "string", + "description": "The reason for approval/rejection of the connection." + }, + "status": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Pending", + "Approved", + "Rejected" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service." + } + }, + "description": "A collection of information about the state of the connection between service consumer and provider." + }, + "RedisCommonPropertiesRedisConfiguration": { + "type": "object", + "properties": { + "additionalProperties": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "object", + "properties": {} + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Unmatched properties from the message are deserialized this collection" + }, + "aof-backup-enabled": { + "type": "string", + "description": "Specifies whether the aof backup is enabled" + }, + "aof-storage-connection-string-0": { + "type": "string", + "description": "First storage account connection string" + }, + "aof-storage-connection-string-1": { + "type": "string", + "description": "First storage account connection string" + }, + "authnotrequired": { + "type": "string", + "description": "Specifies whether the authentication is disabled. Setting this property is highly discouraged from security point of view." + }, + "maxfragmentationmemory-reserved": { + "type": "string", + "description": "Value in megabytes reserved for fragmentation per shard" + }, + "maxmemory-delta": { + "type": "string", + "description": "Value in megabytes reserved for non-cache usage per shard e.g. failover." + }, + "maxmemory-policy": { + "type": "string", + "description": "The eviction strategy used when your data won't fit within its memory limit." + }, + "maxmemory-reserved": { + "type": "string", + "description": "Value in megabytes reserved for non-cache usage per shard e.g. failover." + }, + "preferred-data-persistence-auth-method": { + "type": "string", + "description": "Preferred auth method to communicate to storage account used for data persistence, specify SAS or ManagedIdentity, default value is SAS" + }, + "rdb-backup-enabled": { + "type": "string", + "description": "Specifies whether the rdb backup is enabled" + }, + "rdb-backup-frequency": { + "type": "string", + "description": "Specifies the frequency for creating rdb backup in minutes. Valid values: (15, 30, 60, 360, 720, 1440)" + }, + "rdb-backup-max-snapshot-count": { + "type": "string", + "description": "Specifies the maximum number of snapshots for rdb backup" + }, + "rdb-storage-connection-string": { + "type": "string", + "description": "The storage account connection string for storing rdb file" + }, + "storage-subscription-id": { + "type": "string", + "description": "SubscriptionId of the storage account for persistence (aof/rdb) using ManagedIdentity." + } + }, + "description": "All Redis Settings. Few possible keys: rdb-backup-enabled,rdb-storage-connection-string,rdb-backup-frequency,maxmemory-delta,maxmemory-policy,notify-keyspace-events,maxmemory-samples,slowlog-log-slower-than,slowlog-max-len,list-max-ziplist-entries,list-max-ziplist-value,hash-max-ziplist-entries,hash-max-ziplist-value,set-max-intset-entries,zset-max-ziplist-entries,zset-max-ziplist-value etc." + }, + "RedisCreateProperties": { + "type": "object", + "properties": { + "enableNonSslPort": { + "oneOf": [ + { + "type": "boolean", + "default": false + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies whether the non-ssl Redis server port (6379) is enabled." + }, + "minimumTlsVersion": { + "oneOf": [ + { + "type": "string", + "enum": [ + "1.0", + "1.1", + "1.2" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Optional: requires clients to use a specified TLS version (or higher) to connect (e,g, '1.0', '1.1', '1.2')." + }, + "publicNetworkAccess": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Enabled", + "Disabled" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether or not public endpoint access is allowed for this cache. Value is optional but if passed in, must be 'Enabled' or 'Disabled'. If 'Disabled', private endpoints are the exclusive access method. Default value is 'Enabled'." + }, + "redisConfiguration": { + "oneOf": [ + { + "$ref": "#/definitions/RedisCommonPropertiesRedisConfiguration" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "All Redis Settings. Few possible keys: rdb-backup-enabled,rdb-storage-connection-string,rdb-backup-frequency,maxmemory-delta,maxmemory-policy,notify-keyspace-events,maxmemory-samples,slowlog-log-slower-than,slowlog-max-len,list-max-ziplist-entries,list-max-ziplist-value,hash-max-ziplist-entries,hash-max-ziplist-value,set-max-intset-entries,zset-max-ziplist-entries,zset-max-ziplist-value etc." + }, + "redisVersion": { + "type": "string", + "description": "Redis version. This should be in the form 'major[.minor]' (only 'major' is required) or the value 'latest' which refers to the latest stable Redis version that is available. Supported versions: 4.0, 6.0 (latest). Default value is 'latest'." + }, + "replicasPerMaster": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The number of replicas to be created per primary." + }, + "replicasPerPrimary": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The number of replicas to be created per primary." + }, + "shardCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The number of shards to be created on a Premium Cluster Cache." + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/Sku" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "SKU parameters supplied to the create Redis operation." + }, + "staticIP": { + "oneOf": [ + { + "type": "string", + "pattern": "^\\d+\\.\\d+\\.\\d+\\.\\d+$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Static IP address. Optionally, may be specified when deploying a Redis cache inside an existing Azure Virtual Network; auto assigned by default." + }, + "subnetId": { + "oneOf": [ + { + "type": "string", + "pattern": "^/subscriptions/[^/]*/resourceGroups/[^/]*/providers/Microsoft.(ClassicNetwork|Network)/virtualNetworks/[^/]*/subnets/[^/]*$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The full resource ID of a subnet in a virtual network to deploy the Redis cache in. Example format: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/Microsoft.{Network|ClassicNetwork}/VirtualNetworks/vnet1/subnets/subnet1" + }, + "tenantSettings": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A dictionary of tenant settings" + } + }, + "required": [ + "sku" + ], + "description": "Properties supplied to Create Redis operation." + }, + "RedisFirewallRuleProperties": { + "type": "object", + "properties": { + "endIP": { + "type": "string", + "description": "highest IP address included in the range" + }, + "startIP": { + "type": "string", + "description": "lowest IP address included in the range" + } + }, + "required": [ + "endIP", + "startIP" + ], + "description": "Specifies a range of IP addresses permitted to connect to the cache" + }, + "RedisLinkedServerCreateProperties": { + "type": "object", + "properties": { + "linkedRedisCacheId": { + "type": "string", + "description": "Fully qualified resourceId of the linked redis cache." + }, + "linkedRedisCacheLocation": { + "type": "string", + "description": "Location of the linked redis cache." + }, + "serverRole": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Primary", + "Secondary" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Role of the linked server." + } + }, + "required": [ + "linkedRedisCacheId", + "linkedRedisCacheLocation", + "serverRole" + ], + "description": "Create properties for a linked server" + }, + "redis_firewallRules_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-04-01" + ] + }, + "name": { + "type": "string", + "description": "The name of the firewall rule." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/RedisFirewallRuleProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies a range of IP addresses permitted to connect to the cache" + }, + "type": { + "type": "string", + "enum": [ + "firewallRules" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Cache/redis/firewallRules" + }, + "redis_linkedServers_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-04-01" + ] + }, + "name": { + "type": "string", + "description": "The name of the linked server that is being added to the Redis cache." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/RedisLinkedServerCreateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Create properties for a linked server" + }, + "type": { + "type": "string", + "enum": [ + "linkedServers" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Cache/redis/linkedServers" + }, + "redis_patchSchedules_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-04-01" + ] + }, + "name": { + "type": "string", + "enum": [ + "default" + ], + "description": "Default string modeled as parameter for auto generation to work correctly." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ScheduleEntries" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of patch schedules for a Redis cache." + }, + "type": { + "type": "string", + "enum": [ + "patchSchedules" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Cache/redis/patchSchedules" + }, + "redis_privateEndpointConnections_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-04-01" + ] + }, + "name": { + "type": "string", + "description": "The name of the private endpoint connection associated with the Azure resource" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PrivateEndpointConnectionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of the PrivateEndpointConnectProperties." + }, + "type": { + "type": "string", + "enum": [ + "privateEndpointConnections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Cache/redis/privateEndpointConnections" + }, + "ScheduleEntries": { + "type": "object", + "properties": { + "scheduleEntries": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ScheduleEntry" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of patch schedules for a Redis cache." + } + }, + "required": [ + "scheduleEntries" + ], + "description": "List of patch schedules for a Redis cache." + }, + "ScheduleEntry": { + "type": "object", + "properties": { + "dayOfWeek": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Monday", + "Tuesday", + "Wednesday", + "Thursday", + "Friday", + "Saturday", + "Sunday", + "Everyday", + "Weekend" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Day of the week when a cache can be patched." + }, + "maintenanceWindow": { + "type": "string", + "format": "duration", + "description": "ISO8601 timespan specifying how much time cache patching can take. " + }, + "startHourUtc": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Start hour after which cache patching can start." + } + }, + "required": [ + "dayOfWeek", + "startHourUtc" + ], + "description": "Patch schedule entry for a Premium Redis Cache." + }, + "Sku": { + "type": "object", + "properties": { + "capacity": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The size of the Redis cache to deploy. Valid values: for C (Basic/Standard) family (0, 1, 2, 3, 4, 5, 6), for P (Premium) family (1, 2, 3, 4)." + }, + "family": { + "oneOf": [ + { + "type": "string", + "enum": [ + "C", + "P" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The SKU family to use. Valid values: (C, P). (C = Basic/Standard, P = Premium)." + }, + "name": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Basic", + "Standard", + "Premium" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The type of Redis cache to deploy. Valid values: (Basic, Standard, Premium)." + } + }, + "required": [ + "capacity", + "family", + "name" + ], + "description": "SKU parameters supplied to the create Redis operation." + }, + "UserAssignedIdentity": { + "type": "object", + "properties": {}, + "description": "User assigned identity properties" + } + } +} \ No newline at end of file diff --git a/schemas/2023-05-01-preview/Microsoft.Cache.json b/schemas/2023-05-01-preview/Microsoft.Cache.json new file mode 100644 index 0000000000..bc5af53865 --- /dev/null +++ b/schemas/2023-05-01-preview/Microsoft.Cache.json @@ -0,0 +1,1214 @@ +{ + "id": "https://schema.management.azure.com/schemas/2023-05-01-preview/Microsoft.Cache.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.Cache", + "description": "Microsoft Cache Resource Types", + "resourceDefinitions": { + "redis": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-05-01-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedServiceIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Managed service identity (system assigned and/or user assigned identities)" + }, + "location": { + "type": "string", + "description": "The geo-location where the resource lives" + }, + "name": { + "type": "string", + "description": "The name of the Redis cache." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/RedisCreateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties supplied to Create Redis operation." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/redis_firewallRules_childResource" + }, + { + "$ref": "#/definitions/redis_patchSchedules_childResource" + }, + { + "$ref": "#/definitions/redis_linkedServers_childResource" + }, + { + "$ref": "#/definitions/redis_privateEndpointConnections_childResource" + }, + { + "$ref": "#/definitions/redis_accessPolicies_childResource" + }, + { + "$ref": "#/definitions/redis_accessPolicyAssignments_childResource" + } + ] + } + }, + "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.Cache/redis" + ] + }, + "zones": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A list of availability zones denoting where the resource needs to come from." + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.Cache/redis" + }, + "redis_accessPolicies": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-05-01-preview" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^([a-zA-Z0-9][a-zA-Z0-9-]*[a-zA-Z0-9]|[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 access policy that is being added to the Redis cache." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/RedisCacheAccessPolicyProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "All properties of an access policy." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Cache/redis/accessPolicies" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Cache/redis/accessPolicies" + }, + "redis_accessPolicyAssignments": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-05-01-preview" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^([a-zA-Z0-9][a-zA-Z0-9-]*[a-zA-Z0-9]|[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 access policy assignment." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/RedisCacheAccessPolicyAssignmentProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties for an access policy assignment" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Cache/redis/accessPolicyAssignments" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Cache/redis/accessPolicyAssignments" + }, + "redis_firewallRules": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-05-01-preview" + ] + }, + "name": { + "type": "string", + "description": "The name of the firewall rule." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/RedisFirewallRuleProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies a range of IP addresses permitted to connect to the cache" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Cache/redis/firewallRules" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Cache/redis/firewallRules" + }, + "redis_linkedServers": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-05-01-preview" + ] + }, + "name": { + "type": "string", + "description": "The name of the linked server that is being added to the Redis cache." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/RedisLinkedServerCreateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Create properties for a linked server" + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Cache/redis/linkedServers" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Cache/redis/linkedServers" + }, + "redis_patchSchedules": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-05-01-preview" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^.*/default$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Default string modeled as parameter for auto generation to work correctly." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ScheduleEntries" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of patch schedules for a Redis cache." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Cache/redis/patchSchedules" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Cache/redis/patchSchedules" + }, + "redis_privateEndpointConnections": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-05-01-preview" + ] + }, + "name": { + "type": "string", + "description": "The name of the private endpoint connection associated with the Azure resource" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PrivateEndpointConnectionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of the PrivateEndpointConnectProperties." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.Cache/redis/privateEndpointConnections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Cache/redis/privateEndpointConnections" + } + }, + "definitions": { + "ManagedServiceIdentity": { + "type": "object", + "properties": { + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "SystemAssigned", + "UserAssigned", + "SystemAssigned, UserAssigned" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "userAssignedIdentities": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/UserAssignedIdentity" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests." + } + }, + "required": [ + "type" + ], + "description": "Managed service identity (system assigned and/or user assigned identities)" + }, + "PrivateEndpoint": { + "type": "object", + "properties": {}, + "description": "The Private Endpoint resource." + }, + "PrivateEndpointConnectionProperties": { + "type": "object", + "properties": { + "privateEndpoint": { + "oneOf": [ + { + "$ref": "#/definitions/PrivateEndpoint" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The Private Endpoint resource." + }, + "privateLinkServiceConnectionState": { + "oneOf": [ + { + "$ref": "#/definitions/PrivateLinkServiceConnectionState" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A collection of information about the state of the connection between service consumer and provider." + }, + "provisioningState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Succeeded", + "Creating", + "Deleting", + "Failed" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The provisioning state of the private endpoint connection resource." + } + }, + "required": [ + "privateLinkServiceConnectionState" + ], + "description": "Properties of the PrivateEndpointConnectProperties." + }, + "PrivateLinkServiceConnectionState": { + "type": "object", + "properties": { + "actionsRequired": { + "type": "string", + "description": "A message indicating if changes on the service provider require any updates on the consumer." + }, + "description": { + "type": "string", + "description": "The reason for approval/rejection of the connection." + }, + "status": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Pending", + "Approved", + "Rejected" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates whether the connection has been Approved/Rejected/Removed by the owner of the service." + } + }, + "description": "A collection of information about the state of the connection between service consumer and provider." + }, + "RedisCacheAccessPolicyAssignmentProperties": { + "type": "object", + "properties": { + "accessPolicyName": { + "oneOf": [ + { + "type": "string", + "pattern": "^([a-zA-Z0-9][a-zA-Z0-9-]*[a-zA-Z0-9]|[a-zA-Z0-9])$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The name of the access policy that is being assigned" + }, + "objectId": { + "type": "string", + "description": "Object Id to assign access policy to" + }, + "objectIdAlias": { + "type": "string", + "description": "User friendly name for object id. Also represents username for token based authentication" + } + }, + "required": [ + "accessPolicyName", + "objectId", + "objectIdAlias" + ], + "description": "Properties for an access policy assignment" + }, + "RedisCacheAccessPolicyProperties": { + "type": "object", + "properties": { + "permissions": { + "type": "string", + "description": "Permissions for the access policy. Learn how to configure permissions at https://aka.ms/redis/AADPreRequisites" + } + }, + "required": [ + "permissions" + ], + "description": "All properties of an access policy." + }, + "RedisCommonPropertiesRedisConfiguration": { + "type": "object", + "properties": { + "aad-enabled": { + "type": "string", + "description": "Specifies whether AAD based authentication has been enabled or disabled for the cache" + }, + "additionalProperties": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "object", + "properties": {} + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Unmatched properties from the message are deserialized this collection" + }, + "aof-backup-enabled": { + "type": "string", + "description": "Specifies whether the aof backup is enabled" + }, + "aof-storage-connection-string-0": { + "type": "string", + "description": "First storage account connection string" + }, + "aof-storage-connection-string-1": { + "type": "string", + "description": "First storage account connection string" + }, + "authnotrequired": { + "type": "string", + "description": "Specifies whether the authentication is disabled. Setting this property is highly discouraged from security point of view." + }, + "maxfragmentationmemory-reserved": { + "type": "string", + "description": "Value in megabytes reserved for fragmentation per shard" + }, + "maxmemory-delta": { + "type": "string", + "description": "Value in megabytes reserved for non-cache usage per shard e.g. failover." + }, + "maxmemory-policy": { + "type": "string", + "description": "The eviction strategy used when your data won't fit within its memory limit." + }, + "maxmemory-reserved": { + "type": "string", + "description": "Value in megabytes reserved for non-cache usage per shard e.g. failover." + }, + "preferred-data-persistence-auth-method": { + "type": "string", + "description": "Preferred auth method to communicate to storage account used for data persistence, specify SAS or ManagedIdentity, default value is SAS" + }, + "rdb-backup-enabled": { + "type": "string", + "description": "Specifies whether the rdb backup is enabled" + }, + "rdb-backup-frequency": { + "type": "string", + "description": "Specifies the frequency for creating rdb backup in minutes. Valid values: (15, 30, 60, 360, 720, 1440)" + }, + "rdb-backup-max-snapshot-count": { + "type": "string", + "description": "Specifies the maximum number of snapshots for rdb backup" + }, + "rdb-storage-connection-string": { + "type": "string", + "description": "The storage account connection string for storing rdb file" + } + }, + "description": "All Redis Settings. Few possible keys: rdb-backup-enabled,rdb-storage-connection-string,rdb-backup-frequency,maxmemory-delta,maxmemory-policy,notify-keyspace-events,maxmemory-samples,slowlog-log-slower-than,slowlog-max-len,list-max-ziplist-entries,list-max-ziplist-value,hash-max-ziplist-entries,hash-max-ziplist-value,set-max-intset-entries,zset-max-ziplist-entries,zset-max-ziplist-value etc." + }, + "RedisCreateProperties": { + "type": "object", + "properties": { + "enableNonSslPort": { + "oneOf": [ + { + "type": "boolean", + "default": false + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies whether the non-ssl Redis server port (6379) is enabled." + }, + "minimumTlsVersion": { + "oneOf": [ + { + "type": "string", + "enum": [ + "1.0", + "1.1", + "1.2" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Optional: requires clients to use a specified TLS version (or higher) to connect (e,g, '1.0', '1.1', '1.2')." + }, + "publicNetworkAccess": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Enabled", + "Disabled" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether or not public endpoint access is allowed for this cache. Value is optional but if passed in, must be 'Enabled' or 'Disabled'. If 'Disabled', private endpoints are the exclusive access method. Default value is 'Enabled'." + }, + "redisConfiguration": { + "oneOf": [ + { + "$ref": "#/definitions/RedisCommonPropertiesRedisConfiguration" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "All Redis Settings. Few possible keys: rdb-backup-enabled,rdb-storage-connection-string,rdb-backup-frequency,maxmemory-delta,maxmemory-policy,notify-keyspace-events,maxmemory-samples,slowlog-log-slower-than,slowlog-max-len,list-max-ziplist-entries,list-max-ziplist-value,hash-max-ziplist-entries,hash-max-ziplist-value,set-max-intset-entries,zset-max-ziplist-entries,zset-max-ziplist-value etc." + }, + "redisVersion": { + "type": "string", + "description": "Redis version. This should be in the form 'major[.minor]' (only 'major' is required) or the value 'latest' which refers to the latest stable Redis version that is available. Supported versions: 4.0, 6.0 (latest). Default value is 'latest'." + }, + "replicasPerMaster": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The number of replicas to be created per primary." + }, + "replicasPerPrimary": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The number of replicas to be created per primary." + }, + "shardCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The number of shards to be created on a Premium Cluster Cache." + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/Sku" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "SKU parameters supplied to the create Redis operation." + }, + "staticIP": { + "oneOf": [ + { + "type": "string", + "pattern": "^\\d+\\.\\d+\\.\\d+\\.\\d+$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Static IP address. Optionally, may be specified when deploying a Redis cache inside an existing Azure Virtual Network; auto assigned by default." + }, + "subnetId": { + "oneOf": [ + { + "type": "string", + "pattern": "^/subscriptions/[^/]*/resourceGroups/[^/]*/providers/Microsoft.(ClassicNetwork|Network)/virtualNetworks/[^/]*/subnets/[^/]*$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The full resource ID of a subnet in a virtual network to deploy the Redis cache in. Example format: /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/Microsoft.{Network|ClassicNetwork}/VirtualNetworks/vnet1/subnets/subnet1" + }, + "tenantSettings": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A dictionary of tenant settings" + } + }, + "required": [ + "sku" + ], + "description": "Properties supplied to Create Redis operation." + }, + "RedisFirewallRuleProperties": { + "type": "object", + "properties": { + "endIP": { + "type": "string", + "description": "highest IP address included in the range" + }, + "startIP": { + "type": "string", + "description": "lowest IP address included in the range" + } + }, + "required": [ + "endIP", + "startIP" + ], + "description": "Specifies a range of IP addresses permitted to connect to the cache" + }, + "RedisLinkedServerCreateProperties": { + "type": "object", + "properties": { + "linkedRedisCacheId": { + "type": "string", + "description": "Fully qualified resourceId of the linked redis cache." + }, + "linkedRedisCacheLocation": { + "type": "string", + "description": "Location of the linked redis cache." + }, + "serverRole": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Primary", + "Secondary" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Role of the linked server." + } + }, + "required": [ + "linkedRedisCacheId", + "linkedRedisCacheLocation", + "serverRole" + ], + "description": "Create properties for a linked server" + }, + "redis_accessPolicies_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-05-01-preview" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^([a-zA-Z0-9][a-zA-Z0-9-]*[a-zA-Z0-9]|[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 access policy that is being added to the Redis cache." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/RedisCacheAccessPolicyProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "All properties of an access policy." + }, + "type": { + "type": "string", + "enum": [ + "accessPolicies" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Cache/redis/accessPolicies" + }, + "redis_accessPolicyAssignments_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-05-01-preview" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^([a-zA-Z0-9][a-zA-Z0-9-]*[a-zA-Z0-9]|[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 access policy assignment." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/RedisCacheAccessPolicyAssignmentProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties for an access policy assignment" + }, + "type": { + "type": "string", + "enum": [ + "accessPolicyAssignments" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Cache/redis/accessPolicyAssignments" + }, + "redis_firewallRules_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-05-01-preview" + ] + }, + "name": { + "type": "string", + "description": "The name of the firewall rule." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/RedisFirewallRuleProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies a range of IP addresses permitted to connect to the cache" + }, + "type": { + "type": "string", + "enum": [ + "firewallRules" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Cache/redis/firewallRules" + }, + "redis_linkedServers_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-05-01-preview" + ] + }, + "name": { + "type": "string", + "description": "The name of the linked server that is being added to the Redis cache." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/RedisLinkedServerCreateProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Create properties for a linked server" + }, + "type": { + "type": "string", + "enum": [ + "linkedServers" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Cache/redis/linkedServers" + }, + "redis_patchSchedules_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-05-01-preview" + ] + }, + "name": { + "type": "string", + "enum": [ + "default" + ], + "description": "Default string modeled as parameter for auto generation to work correctly." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ScheduleEntries" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of patch schedules for a Redis cache." + }, + "type": { + "type": "string", + "enum": [ + "patchSchedules" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Cache/redis/patchSchedules" + }, + "redis_privateEndpointConnections_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-05-01-preview" + ] + }, + "name": { + "type": "string", + "description": "The name of the private endpoint connection associated with the Azure resource" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/PrivateEndpointConnectionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Properties of the PrivateEndpointConnectProperties." + }, + "type": { + "type": "string", + "enum": [ + "privateEndpointConnections" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.Cache/redis/privateEndpointConnections" + }, + "ScheduleEntries": { + "type": "object", + "properties": { + "scheduleEntries": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ScheduleEntry" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of patch schedules for a Redis cache." + } + }, + "required": [ + "scheduleEntries" + ], + "description": "List of patch schedules for a Redis cache." + }, + "ScheduleEntry": { + "type": "object", + "properties": { + "dayOfWeek": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Monday", + "Tuesday", + "Wednesday", + "Thursday", + "Friday", + "Saturday", + "Sunday", + "Everyday", + "Weekend" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Day of the week when a cache can be patched." + }, + "maintenanceWindow": { + "type": "string", + "format": "duration", + "description": "ISO8601 timespan specifying how much time cache patching can take. " + }, + "startHourUtc": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Start hour after which cache patching can start." + } + }, + "required": [ + "dayOfWeek", + "startHourUtc" + ], + "description": "Patch schedule entry for a Premium Redis Cache." + }, + "Sku": { + "type": "object", + "properties": { + "capacity": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The size of the Redis cache to deploy. Valid values: for C (Basic/Standard) family (0, 1, 2, 3, 4, 5, 6), for P (Premium) family (1, 2, 3, 4)." + }, + "family": { + "oneOf": [ + { + "type": "string", + "enum": [ + "C", + "P" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The SKU family to use. Valid values: (C, P). (C = Basic/Standard, P = Premium)." + }, + "name": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Basic", + "Standard", + "Premium" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The type of Redis cache to deploy. Valid values: (Basic, Standard, Premium)." + } + }, + "required": [ + "capacity", + "family", + "name" + ], + "description": "SKU parameters supplied to the create Redis operation." + }, + "UserAssignedIdentity": { + "type": "object", + "properties": {}, + "description": "User assigned identity properties" + } + } +} \ No newline at end of file diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index f4faca1e82..7d01fa74e8 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -4975,6 +4975,42 @@ { "$ref": "https://schema.management.azure.com/schemas/2022-06-01/Microsoft.Cache.json#/resourceDefinitions/redis_privateEndpointConnections" }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-04-01/Microsoft.Cache.json#/resourceDefinitions/redis" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-04-01/Microsoft.Cache.json#/resourceDefinitions/redis_firewallRules" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-04-01/Microsoft.Cache.json#/resourceDefinitions/redis_linkedServers" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-04-01/Microsoft.Cache.json#/resourceDefinitions/redis_patchSchedules" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-04-01/Microsoft.Cache.json#/resourceDefinitions/redis_privateEndpointConnections" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-05-01-preview/Microsoft.Cache.json#/resourceDefinitions/redis" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-05-01-preview/Microsoft.Cache.json#/resourceDefinitions/redis_accessPolicies" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-05-01-preview/Microsoft.Cache.json#/resourceDefinitions/redis_accessPolicyAssignments" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-05-01-preview/Microsoft.Cache.json#/resourceDefinitions/redis_firewallRules" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-05-01-preview/Microsoft.Cache.json#/resourceDefinitions/redis_linkedServers" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-05-01-preview/Microsoft.Cache.json#/resourceDefinitions/redis_patchSchedules" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-05-01-preview/Microsoft.Cache.json#/resourceDefinitions/redis_privateEndpointConnections" + }, { "$ref": "https://schema.management.azure.com/schemas/2015-06-01/Microsoft.Cdn.json#/resourceDefinitions/profiles" }, From 4643593006f7ff93a8a85f0c45541849a3b16306 Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Sun, 7 May 2023 16:49:35 +0000 Subject: [PATCH 03/10] Update resource list --- generator/resources.json | 26 +++++++++++++++++++++----- 1 file changed, 21 insertions(+), 5 deletions(-) diff --git a/generator/resources.json b/generator/resources.json index 9c4228ae4f..917ec20c53 100644 --- a/generator/resources.json +++ b/generator/resources.json @@ -2309,7 +2309,9 @@ "2020-12-01", "2021-06-01", "2022-05-01", - "2022-06-01" + "2022-06-01", + "2023-04-01", + "2023-05-01-preview" ], "Microsoft.Cache/Redis/firewallRules": [ "2016-04-01", @@ -2321,7 +2323,9 @@ "2020-12-01", "2021-06-01", "2022-05-01", - "2022-06-01" + "2022-06-01", + "2023-04-01", + "2023-05-01-preview" ], "Microsoft.Cache/Redis/linkedServers": [ "2017-02-01", @@ -2332,7 +2336,9 @@ "2020-12-01", "2021-06-01", "2022-05-01", - "2022-06-01" + "2022-06-01", + "2023-04-01", + "2023-05-01-preview" ], "Microsoft.Cache/Redis/patchSchedules": [ "2016-04-01", @@ -2344,14 +2350,24 @@ "2020-12-01", "2021-06-01", "2022-05-01", - "2022-06-01" + "2022-06-01", + "2023-04-01", + "2023-05-01-preview" + ], + "Microsoft.Cache/redis/accessPolicies": [ + "2023-05-01-preview" + ], + "Microsoft.Cache/redis/accessPolicyAssignments": [ + "2023-05-01-preview" ], "Microsoft.Cache/redis/privateEndpointConnections": [ "2020-06-01", "2020-12-01", "2021-06-01", "2022-05-01", - "2022-06-01" + "2022-06-01", + "2023-04-01", + "2023-05-01-preview" ], "Microsoft.Cache/redisEnterprise": [ "2020-10-01-preview", From 5737af7ddcffa5d1575d18402c4d251cf48c092a Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Tue, 9 May 2023 09:38:36 +0000 Subject: [PATCH 04/10] Autogenerate schemas --- schemas/2018-06-01/Microsoft.DataFactory.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/schemas/2018-06-01/Microsoft.DataFactory.json b/schemas/2018-06-01/Microsoft.DataFactory.json index bcbc7e458b..2c41e09cf4 100644 --- a/schemas/2018-06-01/Microsoft.DataFactory.json +++ b/schemas/2018-06-01/Microsoft.DataFactory.json @@ -19734,6 +19734,11 @@ "type": "object", "properties": {}, "description": "The name of the MongoDB Atlas database that you want to access. Type: string (or Expression with resultType string)." + }, + "mongoDbAtlasDriverVersion": { + "type": "object", + "properties": {}, + "description": "The MongoDB Atlas Driver version that you want to choose. Allowed value are 2.10.4 and 2.19.0. Type: string (or Expression with resultType string)." } }, "required": [ From 92ed51d51f718d74725fccd9d1df37c9ed58d65a Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Wed, 10 May 2023 09:43:36 +0000 Subject: [PATCH 05/10] Autogenerate schemas --- .../Microsoft.DataProtection.json | 2238 +++++++++++++++++ schemas/common/autogeneratedResources.json | 15 + 2 files changed, 2253 insertions(+) create mode 100644 schemas/2023-04-01-preview/Microsoft.DataProtection.json diff --git a/schemas/2023-04-01-preview/Microsoft.DataProtection.json b/schemas/2023-04-01-preview/Microsoft.DataProtection.json new file mode 100644 index 0000000000..2282433892 --- /dev/null +++ b/schemas/2023-04-01-preview/Microsoft.DataProtection.json @@ -0,0 +1,2238 @@ +{ + "id": "https://schema.management.azure.com/schemas/2023-04-01-preview/Microsoft.DataProtection.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.DataProtection", + "description": "Microsoft DataProtection Resource Types", + "resourceDefinitions": { + "backupVaults": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-04-01-preview" + ] + }, + "eTag": { + "type": "string", + "description": "Optional ETag." + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/DppIdentityDetails" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identity details" + }, + "location": { + "type": "string", + "description": "Resource location." + }, + "name": { + "type": "string", + "description": "The name of the backup vault." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/BackupVault" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Backup Vault" + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/backupVaults_backupPolicies_childResource" + }, + { + "$ref": "#/definitions/backupVaults_backupInstances_childResource" + }, + { + "$ref": "#/definitions/backupVaults_backupResourceGuardProxies_childResource" + } + ] + } + }, + "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": "Resource tags." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.DataProtection/backupVaults" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DataProtection/backupVaults" + }, + "backupVaults_backupInstances": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-04-01-preview" + ] + }, + "name": { + "type": "string", + "description": "The name of the backup instance." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/BackupInstance" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Backup Instance" + }, + "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": "Proxy Resource tags." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.DataProtection/backupVaults/backupInstances" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DataProtection/backupVaults/backupInstances" + }, + "backupVaults_backupPolicies": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-04-01-preview" + ] + }, + "name": { + "type": "string", + "description": "Name of the policy" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/BaseBackupPolicy" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "BackupPolicy base" + }, + "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." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.DataProtection/backupVaults/backupPolicies" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DataProtection/backupVaults/backupPolicies" + }, + "backupVaults_backupResourceGuardProxies": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-04-01-preview" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[A-Za-z0-9]*$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "name of the resource guard proxy" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ResourceGuardProxyBase" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "ResourceGuardProxyBase object, used in ResourceGuardProxyBaseResource" + }, + "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." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.DataProtection/backupVaults/backupResourceGuardProxies" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DataProtection/backupVaults/backupResourceGuardProxies" + }, + "resourceGuards": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-04-01-preview" + ] + }, + "eTag": { + "type": "string", + "description": "Optional ETag." + }, + "location": { + "type": "string", + "description": "Resource location." + }, + "name": { + "type": "string", + "description": "The name of ResourceGuard" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ResourceGuard" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "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": "Resource tags." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.DataProtection/resourceGuards" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DataProtection/resourceGuards" + } + }, + "definitions": { + "AbsoluteDeleteOption": { + "type": "object", + "properties": { + "objectType": { + "type": "string", + "enum": [ + "AbsoluteDeleteOption" + ] + } + }, + "required": [ + "objectType" + ], + "description": "Delete option with duration" + }, + "AdhocBasedTaggingCriteria": { + "type": "object", + "properties": { + "tagInfo": { + "oneOf": [ + { + "$ref": "#/definitions/RetentionTag" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Retention tag" + } + }, + "description": "Adhoc backup tagging criteria" + }, + "AdhocBasedTriggerContext": { + "type": "object", + "properties": { + "objectType": { + "type": "string", + "enum": [ + "AdhocBasedTriggerContext" + ] + }, + "taggingCriteria": { + "oneOf": [ + { + "$ref": "#/definitions/AdhocBasedTaggingCriteria" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Adhoc backup tagging criteria" + } + }, + "required": [ + "objectType", + "taggingCriteria" + ], + "description": "Adhoc trigger context" + }, + "AuthCredentials": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/SecretStoreBasedAuthCredentials" + } + ], + "properties": {}, + "description": "Base class for different types of authentication credentials." + }, + "AzureBackupParams": { + "type": "object", + "properties": { + "backupType": { + "type": "string", + "description": "BackupType ; Full/Incremental etc" + }, + "objectType": { + "type": "string", + "enum": [ + "AzureBackupParams" + ] + } + }, + "required": [ + "backupType", + "objectType" + ], + "description": "Azure backup parameters" + }, + "AzureBackupRule": { + "type": "object", + "properties": { + "backupParameters": { + "oneOf": [ + { + "$ref": "#/definitions/BackupParameters" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "BackupParameters base" + }, + "dataStore": { + "oneOf": [ + { + "$ref": "#/definitions/DataStoreInfoBase" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "DataStoreInfo base" + }, + "objectType": { + "type": "string", + "enum": [ + "AzureBackupRule" + ] + }, + "trigger": { + "oneOf": [ + { + "$ref": "#/definitions/TriggerContext" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Trigger context" + } + }, + "required": [ + "dataStore", + "objectType", + "trigger" + ], + "description": "Azure backup rule" + }, + "AzureMonitorAlertSettings": { + "type": "object", + "properties": { + "alertsForAllJobFailures": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Enabled", + "Disabled" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "description": "Settings for Azure Monitor based alerts" + }, + "AzureOperationalStoreParameters": { + "type": "object", + "properties": { + "objectType": { + "type": "string", + "enum": [ + "AzureOperationalStoreParameters" + ] + }, + "resourceGroupId": { + "type": "string", + "description": "Gets or sets the Snapshot Resource Group Uri." + } + }, + "required": [ + "objectType" + ], + "description": "Parameters for Operational-Tier DataStore" + }, + "AzureRetentionRule": { + "type": "object", + "properties": { + "isDefault": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "lifecycles": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/SourceLifeCycle" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "objectType": { + "type": "string", + "enum": [ + "AzureRetentionRule" + ] + } + }, + "required": [ + "lifecycles", + "objectType" + ], + "description": "Azure retention rule" + }, + "BackupCriteria": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/ScheduleBasedBackupCriteria" + } + ], + "properties": {}, + "description": "BackupCriteria base class" + }, + "BackupDatasourceParameters": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/KubernetesClusterBackupDatasourceParameters" + }, + { + "$ref": "#/definitions/BlobBackupDatasourceParameters" + } + ], + "properties": {}, + "description": "Parameters for Backup Datasource" + }, + "BackupInstance": { + "type": "object", + "properties": { + "datasourceAuthCredentials": { + "oneOf": [ + { + "$ref": "#/definitions/AuthCredentials" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Base class for different types of authentication credentials." + }, + "dataSourceInfo": { + "oneOf": [ + { + "$ref": "#/definitions/Datasource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Datasource to be backed up" + }, + "dataSourceSetInfo": { + "oneOf": [ + { + "$ref": "#/definitions/DatasourceSet" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "DatasourceSet details of datasource to be backed up" + }, + "friendlyName": { + "type": "string", + "description": "Gets or sets the Backup Instance friendly name." + }, + "identityDetails": { + "oneOf": [ + { + "$ref": "#/definitions/IdentityDetails" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "objectType": { + "type": "string" + }, + "policyInfo": { + "oneOf": [ + { + "$ref": "#/definitions/PolicyInfo" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Policy Info in backupInstance" + }, + "validationType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "ShallowValidation", + "DeepValidation" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the type of validation. In case of DeepValidation, all validations from /validateForBackup API will run again." + } + }, + "required": [ + "dataSourceInfo", + "objectType", + "policyInfo" + ], + "description": "Backup Instance" + }, + "BackupParameters": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/AzureBackupParams" + } + ], + "properties": {}, + "description": "BackupParameters base" + }, + "BackupPolicy": { + "type": "object", + "properties": { + "objectType": { + "type": "string", + "enum": [ + "BackupPolicy" + ] + }, + "policyRules": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/BasePolicyRule" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Policy rule dictionary that contains rules for each backuptype i.e Full/Incremental/Logs etc" + } + }, + "required": [ + "objectType", + "policyRules" + ], + "description": "Rule based backup policy" + }, + "BackupSchedule": { + "type": "object", + "properties": { + "repeatingTimeIntervals": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "ISO 8601 repeating time interval format" + }, + "timeZone": { + "type": "string", + "description": "Time zone for a schedule. Example: Pacific Standard Time" + } + }, + "required": [ + "repeatingTimeIntervals" + ], + "description": "Schedule for backup" + }, + "BackupVault": { + "type": "object", + "properties": { + "featureSettings": { + "oneOf": [ + { + "$ref": "#/definitions/FeatureSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Class containing feature settings of vault" + }, + "monitoringSettings": { + "oneOf": [ + { + "$ref": "#/definitions/MonitoringSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Monitoring Settings" + }, + "securitySettings": { + "oneOf": [ + { + "$ref": "#/definitions/SecuritySettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Class containing security settings of vault" + }, + "storageSettings": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/StorageSetting" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Storage Settings" + } + }, + "required": [ + "storageSettings" + ], + "description": "Backup Vault" + }, + "backupVaults_backupInstances_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-04-01-preview" + ] + }, + "name": { + "type": "string", + "description": "The name of the backup instance." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/BackupInstance" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Backup Instance" + }, + "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": "Proxy Resource tags." + }, + "type": { + "type": "string", + "enum": [ + "backupInstances" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DataProtection/backupVaults/backupInstances" + }, + "backupVaults_backupPolicies_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-04-01-preview" + ] + }, + "name": { + "type": "string", + "description": "Name of the policy" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/BaseBackupPolicy" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "BackupPolicy base" + }, + "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." + }, + "type": { + "type": "string", + "enum": [ + "backupPolicies" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DataProtection/backupVaults/backupPolicies" + }, + "backupVaults_backupResourceGuardProxies_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-04-01-preview" + ] + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": "^[A-Za-z0-9]*$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "name of the resource guard proxy" + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ResourceGuardProxyBase" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "ResourceGuardProxyBase object, used in ResourceGuardProxyBaseResource" + }, + "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." + }, + "type": { + "type": "string", + "enum": [ + "backupResourceGuardProxies" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.DataProtection/backupVaults/backupResourceGuardProxies" + }, + "BaseBackupPolicy": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/BackupPolicy" + } + ], + "properties": { + "datasourceTypes": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Type of datasource for the backup management" + } + }, + "required": [ + "datasourceTypes" + ], + "description": "BackupPolicy base" + }, + "BasePolicyRule": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/AzureBackupRule" + }, + { + "$ref": "#/definitions/AzureRetentionRule" + } + ], + "properties": { + "name": { + "type": "string" + } + }, + "required": [ + "name" + ], + "description": "BasePolicy Rule" + }, + "BlobBackupDatasourceParameters": { + "type": "object", + "properties": { + "containersList": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of containers to be backed up during configuration of backup of blobs" + }, + "objectType": { + "type": "string", + "enum": [ + "BlobBackupDatasourceParameters" + ] + } + }, + "required": [ + "containersList", + "objectType" + ], + "description": "Parameters to be used during configuration of backup of blobs" + }, + "CopyOnExpiryOption": { + "type": "object", + "properties": { + "objectType": { + "type": "string", + "enum": [ + "CopyOnExpiryOption" + ] + } + }, + "required": [ + "objectType" + ], + "description": "Copy on Expiry Option" + }, + "CopyOption": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/CopyOnExpiryOption" + }, + { + "$ref": "#/definitions/CustomCopyOption" + }, + { + "$ref": "#/definitions/ImmediateCopyOption" + } + ], + "properties": {}, + "description": "Options to copy" + }, + "CrossRegionRestoreSettings": { + "type": "object", + "properties": { + "state": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Disabled", + "Enabled" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "CrossRegionRestore state." + } + } + }, + "CrossSubscriptionRestoreSettings": { + "type": "object", + "properties": { + "state": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Disabled", + "PermanentlyDisabled", + "Enabled" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "CrossSubscriptionRestore state." + } + }, + "description": "CrossSubscriptionRestore Settings" + }, + "CustomCopyOption": { + "type": "object", + "properties": { + "duration": { + "type": "string", + "description": "Data copied after given timespan" + }, + "objectType": { + "type": "string", + "enum": [ + "CustomCopyOption" + ] + } + }, + "required": [ + "objectType" + ], + "description": "Duration based custom options to copy" + }, + "Datasource": { + "type": "object", + "properties": { + "datasourceType": { + "type": "string", + "description": "DatasourceType of the resource." + }, + "objectType": { + "type": "string", + "description": "Type of Datasource object, used to initialize the right inherited type" + }, + "resourceID": { + "type": "string", + "description": "Full ARM ID of the resource. For azure resources, this is ARM ID. For non azure resources, this will be the ID created by backup service via Fabric/Vault." + }, + "resourceLocation": { + "type": "string", + "description": "Location of datasource." + }, + "resourceName": { + "type": "string", + "description": "Unique identifier of the resource in the context of parent." + }, + "resourceType": { + "type": "string", + "description": "Resource Type of Datasource." + }, + "resourceUri": { + "type": "string", + "description": "Uri of the resource." + } + }, + "required": [ + "resourceID" + ], + "description": "Datasource to be backed up" + }, + "DatasourceSet": { + "type": "object", + "properties": { + "datasourceType": { + "type": "string", + "description": "DatasourceType of the resource." + }, + "objectType": { + "type": "string", + "description": "Type of Datasource object, used to initialize the right inherited type" + }, + "resourceID": { + "type": "string", + "description": "Full ARM ID of the resource. For azure resources, this is ARM ID. For non azure resources, this will be the ID created by backup service via Fabric/Vault." + }, + "resourceLocation": { + "type": "string", + "description": "Location of datasource." + }, + "resourceName": { + "type": "string", + "description": "Unique identifier of the resource in the context of parent." + }, + "resourceType": { + "type": "string", + "description": "Resource Type of Datasource." + }, + "resourceUri": { + "type": "string", + "description": "Uri of the resource." + } + }, + "required": [ + "resourceID" + ], + "description": "DatasourceSet details of datasource to be backed up" + }, + "DataStoreInfoBase": { + "type": "object", + "properties": { + "dataStoreType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "OperationalStore", + "VaultStore", + "ArchiveStore" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "type of datastore; Operational/Vault/Archive." + }, + "objectType": { + "type": "string", + "description": "Type of Datasource object, used to initialize the right inherited type" + } + }, + "required": [ + "dataStoreType", + "objectType" + ], + "description": "DataStoreInfo base" + }, + "DataStoreParameters": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/AzureOperationalStoreParameters" + } + ], + "properties": { + "dataStoreType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "OperationalStore", + "VaultStore", + "ArchiveStore" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "type of datastore; Operational/Vault/Archive." + } + }, + "required": [ + "dataStoreType" + ], + "description": "Parameters for DataStore" + }, + "Day": { + "type": "object", + "properties": { + "date": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Date of the month" + }, + "isLast": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Whether Date is last date of month" + } + }, + "description": "Day of the week" + }, + "DeleteOption": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/AbsoluteDeleteOption" + } + ], + "properties": { + "duration": { + "type": "string", + "description": "Duration of deletion after given timespan" + } + }, + "required": [ + "duration" + ], + "description": "Delete Option" + }, + "DppIdentityDetails": { + "type": "object", + "properties": { + "type": { + "type": "string", + "description": "The identityType which can be either SystemAssigned, UserAssigned, 'SystemAssigned,UserAssigned' or None" + }, + "userAssignedIdentities": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/UserAssignedIdentityDetails" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the user assigned identities." + } + }, + "description": "Identity details" + }, + "FeatureSettings": { + "type": "object", + "properties": { + "crossRegionRestoreSettings": { + "oneOf": [ + { + "$ref": "#/definitions/CrossRegionRestoreSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "crossSubscriptionRestoreSettings": { + "oneOf": [ + { + "$ref": "#/definitions/CrossSubscriptionRestoreSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "CrossSubscriptionRestore Settings" + } + }, + "description": "Class containing feature settings of vault" + }, + "IdentityDetails": { + "type": "object", + "properties": { + "userAssignedIdentityArmUrl": { + "type": "string", + "description": "ARM URL for User Assigned Identity." + }, + "useSystemAssignedIdentity": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies if the BI is protected by System Identity." + } + } + }, + "ImmediateCopyOption": { + "type": "object", + "properties": { + "objectType": { + "type": "string", + "enum": [ + "ImmediateCopyOption" + ] + } + }, + "required": [ + "objectType" + ], + "description": "Immediate copy Option" + }, + "ImmutabilitySettings": { + "type": "object", + "properties": { + "state": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Disabled", + "Unlocked", + "Locked" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Immutability state." + } + }, + "description": "Immutability Settings at vault level" + }, + "KubernetesClusterBackupDatasourceParameters": { + "type": "object", + "properties": { + "excludedNamespaces": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the exclude namespaces property. This property sets the namespaces to be excluded during restore." + }, + "excludedResourceTypes": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the exclude resource types property. This property sets the resource types to be excluded during restore." + }, + "includeClusterScopeResources": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the include cluster resources property. This property if enabled will include cluster scope resources during restore." + }, + "includedNamespaces": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the include namespaces property. This property sets the namespaces to be included during restore." + }, + "includedResourceTypes": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the include resource types property. This property sets the resource types to be included during restore." + }, + "labelSelectors": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the LabelSelectors property. This property sets the resource with such label selectors to be included during restore." + }, + "objectType": { + "type": "string", + "enum": [ + "KubernetesClusterBackupDatasourceParameters" + ] + }, + "snapshotVolumes": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the volume snapshot property. This property if enabled will take volume snapshots during restore." + } + }, + "required": [ + "includeClusterScopeResources", + "objectType", + "snapshotVolumes" + ], + "description": "Parameters for Kubernetes Cluster Backup Datasource" + }, + "MonitoringSettings": { + "type": "object", + "properties": { + "azureMonitorAlertSettings": { + "oneOf": [ + { + "$ref": "#/definitions/AzureMonitorAlertSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Settings for Azure Monitor based alerts" + } + }, + "description": "Monitoring Settings" + }, + "PolicyInfo": { + "type": "object", + "properties": { + "policyId": { + "type": "string" + }, + "policyParameters": { + "oneOf": [ + { + "$ref": "#/definitions/PolicyParameters" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Parameters in Policy" + } + }, + "required": [ + "policyId" + ], + "description": "Policy Info in backupInstance" + }, + "PolicyParameters": { + "type": "object", + "properties": { + "backupDatasourceParametersList": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/BackupDatasourceParameters" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the Backup Data Source Parameters" + }, + "dataStoreParametersList": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/DataStoreParameters" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the DataStore Parameters" + } + }, + "description": "Parameters in Policy" + }, + "ResourceGuard": { + "type": "object", + "properties": { + "vaultCriticalOperationExclusionList": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of critical operations which are not protected by this resourceGuard" + } + } + }, + "ResourceGuardOperationDetail": { + "type": "object", + "properties": { + "defaultResourceRequest": { + "type": "string" + }, + "vaultCriticalOperation": { + "type": "string" + } + }, + "description": "VaultCritical Operation protected by a resource guard" + }, + "ResourceGuardProxyBase": { + "type": "object", + "properties": { + "description": { + "type": "string" + }, + "lastUpdatedTime": { + "type": "string" + }, + "resourceGuardOperationDetails": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ResourceGuardOperationDetail" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "resourceGuardResourceId": { + "type": "string" + } + }, + "description": "ResourceGuardProxyBase object, used in ResourceGuardProxyBaseResource" + }, + "RetentionTag": { + "type": "object", + "properties": { + "tagName": { + "type": "string", + "description": "Retention Tag Name to relate it to retention rule." + } + }, + "required": [ + "tagName" + ], + "description": "Retention tag" + }, + "ScheduleBasedBackupCriteria": { + "type": "object", + "properties": { + "absoluteCriteria": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string", + "enum": [ + "AllBackup", + "FirstOfDay", + "FirstOfMonth", + "FirstOfWeek", + "FirstOfYear" + ] + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "it contains absolute values like \"AllBackup\" / \"FirstOfDay\" / \"FirstOfWeek\" / \"FirstOfMonth\"\r\nand should be part of AbsoluteMarker enum" + }, + "daysOfMonth": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/Day" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "This is day of the month from 1 to 28 other wise last of month" + }, + "daysOfTheWeek": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string", + "enum": [ + "Friday", + "Monday", + "Saturday", + "Sunday", + "Thursday", + "Tuesday", + "Wednesday" + ] + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "It should be Sunday/Monday/T..../Saturday" + }, + "monthsOfYear": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string", + "enum": [ + "April", + "August", + "December", + "February", + "January", + "July", + "June", + "March", + "May", + "November", + "October", + "September" + ] + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "It should be January/February/....../December" + }, + "objectType": { + "type": "string", + "enum": [ + "ScheduleBasedBackupCriteria" + ] + }, + "scheduleTimes": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of schedule times for backup" + }, + "weeksOfTheMonth": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string", + "enum": [ + "First", + "Fourth", + "Last", + "Second", + "Third" + ] + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "It should be First/Second/Third/Fourth/Last" + } + }, + "required": [ + "objectType" + ], + "description": "Schedule based backup criteria" + }, + "ScheduleBasedTriggerContext": { + "type": "object", + "properties": { + "objectType": { + "type": "string", + "enum": [ + "ScheduleBasedTriggerContext" + ] + }, + "schedule": { + "oneOf": [ + { + "$ref": "#/definitions/BackupSchedule" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Schedule for backup" + }, + "taggingCriteria": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/TaggingCriteria" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of tags that can be applicable for given schedule." + } + }, + "required": [ + "objectType", + "schedule", + "taggingCriteria" + ], + "description": "Schedule based trigger context" + }, + "SecretStoreBasedAuthCredentials": { + "type": "object", + "properties": { + "objectType": { + "type": "string", + "enum": [ + "SecretStoreBasedAuthCredentials" + ] + }, + "secretStoreResource": { + "oneOf": [ + { + "$ref": "#/definitions/SecretStoreResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Class representing a secret store resource." + } + }, + "required": [ + "objectType" + ], + "description": "Secret store based authentication credentials." + }, + "SecretStoreResource": { + "type": "object", + "properties": { + "secretStoreType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Invalid", + "AzureKeyVault" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the type of secret store." + }, + "uri": { + "type": "string", + "description": "Uri to get to the resource" + }, + "value": { + "type": "string", + "description": "Gets or sets value stored in secret store resource" + } + }, + "required": [ + "secretStoreType" + ], + "description": "Class representing a secret store resource." + }, + "SecuritySettings": { + "type": "object", + "properties": { + "immutabilitySettings": { + "oneOf": [ + { + "$ref": "#/definitions/ImmutabilitySettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Immutability Settings at vault level" + }, + "softDeleteSettings": { + "oneOf": [ + { + "$ref": "#/definitions/SoftDeleteSettings" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Soft delete related settings" + } + }, + "description": "Class containing security settings of vault" + }, + "SoftDeleteSettings": { + "type": "object", + "properties": { + "retentionDurationInDays": { + "oneOf": [ + { + "type": "number" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Soft delete retention duration" + }, + "state": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Off", + "On", + "AlwaysOn" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "State of soft delete." + } + }, + "description": "Soft delete related settings" + }, + "SourceLifeCycle": { + "type": "object", + "properties": { + "deleteAfter": { + "oneOf": [ + { + "$ref": "#/definitions/DeleteOption" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Delete Option" + }, + "sourceDataStore": { + "oneOf": [ + { + "$ref": "#/definitions/DataStoreInfoBase" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "DataStoreInfo base" + }, + "targetDataStoreCopySettings": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/TargetCopySetting" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + } + }, + "required": [ + "deleteAfter", + "sourceDataStore" + ], + "description": "Source LifeCycle" + }, + "StorageSetting": { + "type": "object", + "properties": { + "datastoreType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "ArchiveStore", + "OperationalStore", + "VaultStore" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the type of the datastore." + }, + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "GeoRedundant", + "LocallyRedundant", + "ZoneRedundant" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Gets or sets the type." + } + }, + "description": "Storage setting" + }, + "SystemData": { + "type": "object", + "properties": { + "createdAt": { + "type": "string", + "format": "date-time", + "description": "The timestamp of resource creation (UTC)." + }, + "createdBy": { + "type": "string", + "description": "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": "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." + }, + "TaggingCriteria": { + "type": "object", + "properties": { + "criteria": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/BackupCriteria" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Criteria which decides whether the tag can be applied to a triggered backup." + }, + "isDefault": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies if tag is default." + }, + "taggingPriority": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Retention Tag priority." + }, + "tagInfo": { + "oneOf": [ + { + "$ref": "#/definitions/RetentionTag" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Retention tag" + } + }, + "required": [ + "isDefault", + "taggingPriority", + "tagInfo" + ], + "description": "Tagging criteria" + }, + "TargetCopySetting": { + "type": "object", + "properties": { + "copyAfter": { + "oneOf": [ + { + "$ref": "#/definitions/CopyOption" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Options to copy" + }, + "dataStore": { + "oneOf": [ + { + "$ref": "#/definitions/DataStoreInfoBase" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "DataStoreInfo base" + } + }, + "required": [ + "copyAfter", + "dataStore" + ], + "description": "Target copy settings" + }, + "TriggerContext": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/AdhocBasedTriggerContext" + }, + { + "$ref": "#/definitions/ScheduleBasedTriggerContext" + } + ], + "properties": {}, + "description": "Trigger context" + }, + "UserAssignedIdentityDetails": { + "type": "object", + "properties": {}, + "description": "User Assigned Identity Details" + } + } +} \ No newline at end of file diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index 7d01fa74e8..2e4c2c4790 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -9007,6 +9007,21 @@ { "$ref": "https://schema.management.azure.com/schemas/2023-01-01/Microsoft.DataProtection.json#/resourceDefinitions/resourceGuards" }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-04-01-preview/Microsoft.DataProtection.json#/resourceDefinitions/backupVaults" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-04-01-preview/Microsoft.DataProtection.json#/resourceDefinitions/backupVaults_backupInstances" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-04-01-preview/Microsoft.DataProtection.json#/resourceDefinitions/backupVaults_backupPolicies" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-04-01-preview/Microsoft.DataProtection.json#/resourceDefinitions/backupVaults_backupResourceGuardProxies" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-04-01-preview/Microsoft.DataProtection.json#/resourceDefinitions/resourceGuards" + }, { "$ref": "https://schema.management.azure.com/schemas/2018-11-01-preview/Microsoft.DataShare.json#/resourceDefinitions/accounts" }, From 76c3d99919486a5924a2aae41c50ee7d180b19c8 Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Wed, 10 May 2023 09:44:08 +0000 Subject: [PATCH 06/10] Update resource list --- generator/resources.json | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/generator/resources.json b/generator/resources.json index 917ec20c53..e4dab4504d 100644 --- a/generator/resources.json +++ b/generator/resources.json @@ -4220,7 +4220,8 @@ "2022-10-01-preview", "2022-11-01-preview", "2022-12-01", - "2023-01-01" + "2023-01-01", + "2023-04-01-preview" ], "Microsoft.DataProtection/backupVaults/backupInstances": [ "2021-01-01", @@ -4239,7 +4240,8 @@ "2022-10-01-preview", "2022-11-01-preview", "2022-12-01", - "2023-01-01" + "2023-01-01", + "2023-04-01-preview" ], "Microsoft.DataProtection/backupVaults/backupPolicies": [ "2021-01-01", @@ -4258,13 +4260,15 @@ "2022-10-01-preview", "2022-11-01-preview", "2022-12-01", - "2023-01-01" + "2023-01-01", + "2023-04-01-preview" ], "Microsoft.DataProtection/backupVaults/backupResourceGuardProxies": [ "2022-09-01-preview", "2022-10-01-preview", "2022-11-01-preview", - "2023-01-01" + "2023-01-01", + "2023-04-01-preview" ], "Microsoft.DataProtection/resourceGuards": [ "2021-07-01", @@ -4280,7 +4284,8 @@ "2022-10-01-preview", "2022-11-01-preview", "2022-12-01", - "2023-01-01" + "2023-01-01", + "2023-04-01-preview" ], "Microsoft.DataShare/accounts": [ "2018-11-01-preview", From ff095c91b8da30364db04db99e1be4970e7b9c79 Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Thu, 11 May 2023 16:51:10 +0000 Subject: [PATCH 07/10] Autogenerate schemas --- .../Microsoft.ServiceFabric.json | 3297 +++++++++++++++++ .../2023-05-01-preview/Microsoft.Cache.json | 4 + schemas/common/autogeneratedResources.json | 18 + 3 files changed, 3319 insertions(+) create mode 100644 schemas/2023-03-01-preview/Microsoft.ServiceFabric.json diff --git a/schemas/2023-03-01-preview/Microsoft.ServiceFabric.json b/schemas/2023-03-01-preview/Microsoft.ServiceFabric.json new file mode 100644 index 0000000000..569462d520 --- /dev/null +++ b/schemas/2023-03-01-preview/Microsoft.ServiceFabric.json @@ -0,0 +1,3297 @@ +{ + "id": "https://schema.management.azure.com/schemas/2023-03-01-preview/Microsoft.ServiceFabric.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.ServiceFabric", + "description": "Microsoft ServiceFabric Resource Types", + "resourceDefinitions": { + "managedClusters": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-03-01-preview" + ] + }, + "location": { + "type": "string", + "description": "Azure resource location." + }, + "name": { + "type": "string", + "description": "The name of the cluster resource." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedClusterProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the managed cluster resource properties." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/managedclusters_applicationTypes_childResource" + }, + { + "$ref": "#/definitions/managedclusters_applications_childResource" + }, + { + "$ref": "#/definitions/managedClusters_nodeTypes_childResource" + } + ] + } + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/Sku" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Service Fabric managed cluster Sku definition" + }, + "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": "Azure resource tags." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ServiceFabric/managedClusters" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "sku", + "type" + ], + "description": "Microsoft.ServiceFabric/managedClusters" + }, + "managedclusters_applications": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-03-01-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the managed identities for an Azure resource." + }, + "location": { + "type": "string", + "description": "Resource location depends on the parent resource." + }, + "name": { + "type": "string", + "description": "The name of the application resource." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ApplicationResourceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The application resource properties." + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/managedclusters_applications_services_childResource" + } + ] + } + }, + "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": "Azure resource tags." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ServiceFabric/managedclusters/applications" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ServiceFabric/managedclusters/applications" + }, + "managedclusters_applications_services": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-03-01-preview" + ] + }, + "location": { + "type": "string", + "description": "Resource location depends on the parent resource." + }, + "name": { + "type": "string", + "description": "The name of the service resource in the format of {applicationName}~{serviceName}." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ServiceResourceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The service resource properties." + }, + "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": "Azure resource tags." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ServiceFabric/managedclusters/applications/services" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ServiceFabric/managedclusters/applications/services" + }, + "managedclusters_applicationTypes": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-03-01-preview" + ] + }, + "location": { + "type": "string", + "description": "Resource location depends on the parent resource." + }, + "name": { + "type": "string", + "description": "The name of the application type name resource." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ApplicationTypeResourceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The application type name properties" + }, + "resources": { + "type": "array", + "items": { + "oneOf": [ + { + "$ref": "#/definitions/managedclusters_applicationTypes_versions_childResource" + } + ] + } + }, + "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": "Azure resource tags." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ServiceFabric/managedclusters/applicationTypes" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ServiceFabric/managedclusters/applicationTypes" + }, + "managedclusters_applicationTypes_versions": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-03-01-preview" + ] + }, + "location": { + "type": "string", + "description": "Resource location depends on the parent resource." + }, + "name": { + "type": "string", + "description": "The application type version." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ApplicationTypeVersionResourceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of the application type version 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": "Azure resource tags." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ServiceFabric/managedclusters/applicationTypes/versions" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ServiceFabric/managedclusters/applicationTypes/versions" + }, + "managedClusters_nodeTypes": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-03-01-preview" + ] + }, + "name": { + "type": "string", + "description": "The name of the node type." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/NodeTypeProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a node type in the cluster, each node type represents sub set of nodes in the cluster." + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/NodeTypeSku" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a node type sku." + }, + "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": "Azure resource tags." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.ServiceFabric/managedClusters/nodeTypes" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ServiceFabric/managedClusters/nodeTypes" + } + }, + "definitions": { + "ApplicationHealthPolicy": { + "type": "object", + "properties": { + "considerWarningAsError": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates whether warnings are treated with the same severity as errors." + }, + "defaultServiceTypeHealthPolicy": { + "oneOf": [ + { + "$ref": "#/definitions/ServiceTypeHealthPolicy" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Represents the health policy used to evaluate the health of services belonging to a service type.\n" + }, + "maxPercentUnhealthyDeployedApplications": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The maximum allowed percentage of unhealthy deployed applications. Allowed values are Byte values from zero to 100.\nThe percentage represents the maximum tolerated percentage of deployed applications that can be unhealthy before the application is considered in error.\nThis is calculated by dividing the number of unhealthy deployed applications over the number of nodes where the application is currently deployed on in the cluster.\nThe computation rounds up to tolerate one failure on small numbers of nodes. Default percentage is zero.\n" + }, + "serviceTypeHealthPolicyMap": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/ServiceTypeHealthPolicy" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines a ServiceTypeHealthPolicy per service type name.\n\nThe entries in the map replace the default service type health policy for each specified service type.\nFor example, in an application that contains both a stateless gateway service type and a stateful engine service type, the health policies for the stateless and stateful services can be configured differently.\nWith policy per service type, there's more granular control of the health of the service.\n\nIf no policy is specified for a service type name, the DefaultServiceTypeHealthPolicy is used for evaluation.\n" + } + }, + "required": [ + "considerWarningAsError", + "maxPercentUnhealthyDeployedApplications" + ], + "description": "Defines a health policy used to evaluate the health of an application or one of its children entities.\n" + }, + "ApplicationResourceProperties": { + "type": "object", + "properties": { + "managedIdentities": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ApplicationUserAssignedIdentity" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of user assigned identities for the application, each mapped to a friendly name." + }, + "parameters": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of application parameters with overridden values from their default values specified in the application manifest." + }, + "upgradePolicy": { + "oneOf": [ + { + "$ref": "#/definitions/ApplicationUpgradePolicy" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the policy for a monitored application upgrade." + }, + "version": { + "type": "string", + "description": "The version of the application type as defined in the application manifest.\nThis name must be the full Arm Resource ID for the referenced application type version.\n" + } + }, + "description": "The application resource properties." + }, + "ApplicationTypeResourceProperties": { + "type": "object", + "properties": {}, + "description": "The application type name properties" + }, + "ApplicationTypeVersionResourceProperties": { + "type": "object", + "properties": { + "appPackageUrl": { + "type": "string", + "description": "The URL to the application package" + } + }, + "required": [ + "appPackageUrl" + ], + "description": "The properties of the application type version resource." + }, + "ApplicationTypeVersionsCleanupPolicy": { + "type": "object", + "properties": { + "maxUnusedVersionsToKeep": { + "oneOf": [ + { + "type": "integer", + "minimum": 0 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Number of unused versions per application type to keep." + } + }, + "required": [ + "maxUnusedVersionsToKeep" + ], + "description": "The policy used to clean up unused versions. When the policy is not specified explicitly, the default unused application versions to keep will be 3." + }, + "ApplicationUpgradePolicy": { + "type": "object", + "properties": { + "applicationHealthPolicy": { + "oneOf": [ + { + "$ref": "#/definitions/ApplicationHealthPolicy" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Defines a health policy used to evaluate the health of an application or one of its children entities.\n" + }, + "forceRestart": { + "oneOf": [ + { + "type": "boolean", + "default": false + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "If true, then processes are forcefully restarted during upgrade even when the code version has not changed (the upgrade only changes configuration or data)." + }, + "instanceCloseDelayDuration": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Duration in seconds, to wait before a stateless instance is closed, to allow the active requests to drain gracefully. This would be effective when the instance is closing during the application/cluster upgrade, only for those instances which have a non-zero delay duration configured in the service description." + }, + "recreateApplication": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Determines whether the application should be recreated on update. If value=true, the rest of the upgrade policy parameters are not allowed." + }, + "rollingUpgradeMonitoringPolicy": { + "oneOf": [ + { + "$ref": "#/definitions/RollingUpgradeMonitoringPolicy" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The policy used for monitoring the application upgrade" + }, + "upgradeMode": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Monitored", + "UnmonitoredAuto" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "upgradeReplicaSetCheckTimeout": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The maximum amount of time to block processing of an upgrade domain and prevent loss of availability when there are unexpected issues. When this timeout expires, processing of the upgrade domain will proceed regardless of availability loss issues. The timeout is reset at the start of each upgrade domain. Valid values are between 0 and 42949672925 inclusive. (unsigned 32-bit integer)." + } + }, + "description": "Describes the policy for a monitored application upgrade." + }, + "ApplicationUserAssignedIdentity": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The friendly name of user assigned identity." + }, + "principalId": { + "type": "string", + "description": "The principal id of user assigned identity." + } + }, + "required": [ + "name", + "principalId" + ] + }, + "AzureActiveDirectory": { + "type": "object", + "properties": { + "clientApplication": { + "type": "string", + "description": "Azure active directory client application id." + }, + "clusterApplication": { + "type": "string", + "description": "Azure active directory cluster application id." + }, + "tenantId": { + "type": "string", + "description": "Azure active directory tenant id." + } + }, + "description": "The settings to enable AAD authentication on the cluster." + }, + "ClientCertificate": { + "type": "object", + "properties": { + "commonName": { + "type": "string", + "description": "Certificate common name." + }, + "isAdmin": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates if the client certificate has admin access to the cluster. Non admin clients can perform only read only operations on the cluster." + }, + "issuerThumbprint": { + "type": "string", + "description": "Issuer thumbprint for the certificate. Only used together with CommonName." + }, + "thumbprint": { + "type": "string", + "description": "Certificate thumbprint." + } + }, + "required": [ + "isAdmin" + ], + "description": "Client certificate definition." + }, + "EndpointRangeDescription": { + "type": "object", + "properties": { + "endPort": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "End port of a range of ports" + }, + "startPort": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Starting port of a range of ports" + } + }, + "required": [ + "endPort", + "startPort" + ], + "description": "Port range details" + }, + "FrontendConfiguration": { + "type": "object", + "properties": { + "applicationGatewayBackendAddressPoolId": { + "type": "string", + "format": "arm-id", + "description": "The resource Id of application gateway backend address pool. The format of the resource Id is '/subscriptions//resourceGroups//providers/Microsoft.Network/applicationGateways//backendAddressPools/'." + }, + "ipAddressType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "IPv4", + "IPv6" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The IP address type of this frontend configuration. If omitted the default value is IPv4." + }, + "loadBalancerBackendAddressPoolId": { + "type": "string", + "description": "The resource Id of the Load Balancer backend address pool that the VM instances of the node type are associated with. The format of the resource Id is '/subscriptions//resourceGroups//providers/Microsoft.Network/loadBalancers//backendAddressPools/'." + }, + "loadBalancerInboundNatPoolId": { + "type": "string", + "description": "The resource Id of the Load Balancer inbound NAT pool that the VM instances of the node type are associated with. The format of the resource Id is '/subscriptions//resourceGroups//providers/Microsoft.Network/loadBalancers//inboundNatPools/'." + } + }, + "description": "Describes the frontend configurations for the node type." + }, + "IPTag": { + "type": "object", + "properties": { + "ipTagType": { + "type": "string", + "description": "The IP tag type." + }, + "tag": { + "type": "string", + "description": "The value of the IP tag." + } + }, + "required": [ + "ipTagType", + "tag" + ], + "description": "IPTag associated with the object." + }, + "LoadBalancingRule": { + "type": "object", + "properties": { + "backendPort": { + "oneOf": [ + { + "type": "integer", + "minimum": 1, + "maximum": 65534 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The port used for internal connections on the endpoint. Acceptable values are between 1 and 65535." + }, + "frontendPort": { + "oneOf": [ + { + "type": "integer", + "minimum": 1, + "maximum": 65534 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The port for the external endpoint. Port numbers for each rule must be unique within the Load Balancer. Acceptable values are between 1 and 65534." + }, + "loadDistribution": { + "type": "string", + "description": "The load distribution policy for this rule." + }, + "probePort": { + "oneOf": [ + { + "type": "integer", + "minimum": 1, + "maximum": 65534 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The prob port used by the load balancing rule. Acceptable values are between 1 and 65535." + }, + "probeProtocol": { + "oneOf": [ + { + "type": "string", + "enum": [ + "tcp", + "http", + "https" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "the reference to the load balancer probe used by the load balancing rule." + }, + "probeRequestPath": { + "type": "string", + "description": "The probe request path. Only supported for HTTP/HTTPS probes." + }, + "protocol": { + "oneOf": [ + { + "type": "string", + "enum": [ + "tcp", + "udp" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The reference to the transport protocol used by the load balancing rule." + } + }, + "required": [ + "backendPort", + "frontendPort", + "probeProtocol", + "protocol" + ], + "description": "Describes a load balancing rule." + }, + "ManagedClusterProperties": { + "type": "object", + "properties": { + "addonFeatures": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string", + "enum": [ + "DnsService", + "BackupRestoreService", + "ResourceMonitorService" + ] + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of add-on features to enable on the cluster." + }, + "adminPassword": { + "type": "string", + "format": "password", + "description": "VM admin user password." + }, + "adminUserName": { + "type": "string", + "description": "VM admin user name." + }, + "allowRdpAccess": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Setting this to true enables RDP access to the VM. The default NSG rule opens RDP port to Internet which can be overridden with custom Network Security Rules. The default value for this setting is false." + }, + "applicationTypeVersionsCleanupPolicy": { + "oneOf": [ + { + "$ref": "#/definitions/ApplicationTypeVersionsCleanupPolicy" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The policy used to clean up unused versions. When the policy is not specified explicitly, the default unused application versions to keep will be 3." + }, + "auxiliarySubnets": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/Subnet" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Auxiliary subnets for the cluster." + }, + "azureActiveDirectory": { + "oneOf": [ + { + "$ref": "#/definitions/AzureActiveDirectory" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The settings to enable AAD authentication on the cluster." + }, + "clientConnectionPort": { + "oneOf": [ + { + "type": "integer", + "default": "19000" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The port used for client connections to the cluster." + }, + "clients": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ClientCertificate" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Client certificates that are allowed to manage the cluster." + }, + "clusterCodeVersion": { + "type": "string", + "description": "The Service Fabric runtime version of the cluster. This property is required when **clusterUpgradeMode** is set to 'Manual'. To get list of available Service Fabric versions for new clusters use [ClusterVersion API](./ClusterVersion.md). To get the list of available version for existing clusters use **availableClusterVersions**." + }, + "clusterUpgradeCadence": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Wave0", + "Wave1", + "Wave2" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates when new cluster runtime version upgrades will be applied after they are released. By default is Wave0. Only applies when **clusterUpgradeMode** is set to 'Automatic'." + }, + "clusterUpgradeMode": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Automatic", + "Manual" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "dnsName": { + "type": "string", + "description": "The cluster dns name." + }, + "enableAutoOSUpgrade": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Setting this to true enables automatic OS upgrade for the node types that are created using any platform OS image with version 'latest'. The default value for this setting is false." + }, + "enableIpv6": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Setting this to true creates IPv6 address space for the default VNet used by the cluster. This setting cannot be changed once the cluster is created. The default value for this setting is false." + }, + "enableServicePublicIP": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Setting this to true will link the IPv4 address as the ServicePublicIP of the IPv6 address. It can only be set to True if IPv6 is enabled on the cluster." + }, + "fabricSettings": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/SettingsSectionDescription" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of custom fabric settings to configure the cluster." + }, + "httpGatewayConnectionPort": { + "oneOf": [ + { + "type": "integer", + "default": "19080" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The port used for HTTP connections to the cluster." + }, + "ipTags": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/IPTag" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of IP tags associated with the default public IP address of the cluster." + }, + "loadBalancingRules": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/LoadBalancingRule" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Load balancing rules that are applied to the public load balancer of the cluster." + }, + "networkSecurityRules": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/NetworkSecurityRule" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Custom Network Security Rules that are applied to the Virtual Network of the cluster." + }, + "publicIPPrefixId": { + "type": "string", + "format": "arm-id", + "description": "Specify the resource id of a public IP prefix that the load balancer will allocate a public IP address from. Only supports IPv4." + }, + "serviceEndpoints": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ServiceEndpoint" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Service endpoints for subnets in the cluster." + }, + "subnetId": { + "type": "string", + "description": "If specified, the node types for the cluster are created in this subnet instead of the default VNet. The **networkSecurityRules** specified for the cluster are also applied to this subnet. This setting cannot be changed once the cluster is created." + }, + "useCustomVnet": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "For new clusters, this parameter indicates that it uses Bring your own VNet, but the subnet is specified at node type level; and for such clusters, the subnetId property is required for node types." + }, + "zonalResiliency": { + "oneOf": [ + { + "type": "boolean", + "default": false + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates if the cluster has zone resiliency." + }, + "zonalUpdateMode": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Standard", + "Fast" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates the update mode for Cross Az clusters." + } + }, + "required": [ + "adminUserName", + "dnsName" + ], + "description": "Describes the managed cluster resource properties." + }, + "managedclusters_applications_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-03-01-preview" + ] + }, + "identity": { + "oneOf": [ + { + "$ref": "#/definitions/ManagedIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the managed identities for an Azure resource." + }, + "location": { + "type": "string", + "description": "Resource location depends on the parent resource." + }, + "name": { + "type": "string", + "description": "The name of the application resource." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ApplicationResourceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The application resource properties." + }, + "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": "Azure resource tags." + }, + "type": { + "type": "string", + "enum": [ + "applications" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ServiceFabric/managedclusters/applications" + }, + "managedclusters_applications_services_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-03-01-preview" + ] + }, + "location": { + "type": "string", + "description": "Resource location depends on the parent resource." + }, + "name": { + "type": "string", + "description": "The name of the service resource in the format of {applicationName}~{serviceName}." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ServiceResourceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The service resource properties." + }, + "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": "Azure resource tags." + }, + "type": { + "type": "string", + "enum": [ + "services" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ServiceFabric/managedclusters/applications/services" + }, + "managedclusters_applicationTypes_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-03-01-preview" + ] + }, + "location": { + "type": "string", + "description": "Resource location depends on the parent resource." + }, + "name": { + "type": "string", + "description": "The name of the application type name resource." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ApplicationTypeResourceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The application type name properties" + }, + "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": "Azure resource tags." + }, + "type": { + "type": "string", + "enum": [ + "applicationTypes" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ServiceFabric/managedclusters/applicationTypes" + }, + "managedclusters_applicationTypes_versions_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-03-01-preview" + ] + }, + "location": { + "type": "string", + "description": "Resource location depends on the parent resource." + }, + "name": { + "type": "string", + "description": "The application type version." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/ApplicationTypeVersionResourceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The properties of the application type version 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": "Azure resource tags." + }, + "type": { + "type": "string", + "enum": [ + "versions" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ServiceFabric/managedclusters/applicationTypes/versions" + }, + "managedClusters_nodeTypes_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-03-01-preview" + ] + }, + "name": { + "type": "string", + "description": "The name of the node type." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/NodeTypeProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a node type in the cluster, each node type represents sub set of nodes in the cluster." + }, + "sku": { + "oneOf": [ + { + "$ref": "#/definitions/NodeTypeSku" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a node type sku." + }, + "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": "Azure resource tags." + }, + "type": { + "type": "string", + "enum": [ + "nodeTypes" + ] + } + }, + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ServiceFabric/managedClusters/nodeTypes" + }, + "ManagedIdentity": { + "type": "object", + "properties": { + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "None", + "SystemAssigned", + "UserAssigned", + "SystemAssigned, UserAssigned" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "userAssignedIdentities": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "$ref": "#/definitions/UserAssignedIdentity" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of user identities associated with the resource. The user identity dictionary key references will be ARM resource ids in the form:\n'/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.\n" + } + }, + "description": "Describes the managed identities for an Azure resource." + }, + "NetworkSecurityRule": { + "type": "object", + "properties": { + "access": { + "oneOf": [ + { + "type": "string", + "enum": [ + "allow", + "deny" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The network traffic is allowed or denied." + }, + "description": { + "type": "string", + "description": "Network security rule description." + }, + "destinationAddressPrefix": { + "type": "string", + "description": "The destination address prefix. CIDR or destination IP range. Asterisk '*' can also be used to match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used." + }, + "destinationAddressPrefixes": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The destination address prefixes. CIDR or destination IP ranges." + }, + "destinationPortRange": { + "type": "string", + "description": "he destination port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports." + }, + "destinationPortRanges": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The destination port ranges." + }, + "direction": { + "oneOf": [ + { + "type": "string", + "enum": [ + "inbound", + "outbound" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Network security rule direction." + }, + "name": { + "type": "string", + "description": "Network security rule name." + }, + "priority": { + "oneOf": [ + { + "type": "integer", + "minimum": 1000, + "maximum": 3000 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The priority of the rule. The value can be in the range 1000 to 3000. Values outside this range are reserved for Service Fabric ManagerCluster Resource Provider. The priority number must be unique for each rule in the collection. The lower the priority number, the higher the priority of the rule." + }, + "protocol": { + "oneOf": [ + { + "type": "string", + "enum": [ + "http", + "https", + "tcp", + "udp", + "icmp", + "ah", + "esp" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Network protocol this rule applies to." + }, + "sourceAddressPrefix": { + "type": "string", + "description": "The CIDR or source IP range. Asterisk '*' can also be used to match all source IPs. Default tags such as 'VirtualNetwork', 'AzureLoadBalancer' and 'Internet' can also be used. If this is an ingress rule, specifies where network traffic originates from." + }, + "sourceAddressPrefixes": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The CIDR or source IP ranges." + }, + "sourcePortRange": { + "type": "string", + "description": "The source port or range. Integer or range between 0 and 65535. Asterisk '*' can also be used to match all ports." + }, + "sourcePortRanges": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The source port ranges." + } + }, + "required": [ + "access", + "direction", + "name", + "priority", + "protocol" + ], + "description": "Describes a network security rule." + }, + "NodeTypeProperties": { + "type": "object", + "properties": { + "additionalDataDisks": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/VmssDataDisk" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Additional managed data disks." + }, + "applicationPorts": { + "oneOf": [ + { + "$ref": "#/definitions/EndpointRangeDescription" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Port range details" + }, + "capacities": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The capacity tags applied to the nodes in the node type, the cluster resource manager uses these tags to understand how much resource a node has." + }, + "dataDiskLetter": { + "oneOf": [ + { + "type": "string", + "pattern": "^[a-zA-Z]{1}$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Managed data disk letter. It can not use the reserved letter C or D and it can not change after created." + }, + "dataDiskSizeGB": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Disk size for the managed disk attached to the vms on the node type in GBs." + }, + "dataDiskType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Standard_LRS", + "StandardSSD_LRS", + "Premium_LRS" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Managed data disk type. Specifies the storage account type for the managed disk." + }, + "enableAcceleratedNetworking": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies whether the network interface is accelerated networking-enabled." + }, + "enableEncryptionAtHost": { + "oneOf": [ + { + "type": "boolean", + "default": false + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Enable or disable the Host Encryption for the virtual machines on the node type. This will enable the encryption for all the disks including Resource/Temp disk at host itself. Default: The Encryption at host will be disabled unless this property is set to true for the resource." + }, + "enableNodePublicIP": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies whether each node is allocated its own public IP address. This is only supported on secondary node types with custom Load Balancers." + }, + "enableOverProvisioning": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies whether the node type should be overprovisioned. It is only allowed for stateless node types." + }, + "ephemeralPorts": { + "oneOf": [ + { + "$ref": "#/definitions/EndpointRangeDescription" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Port range details" + }, + "evictionPolicy": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Delete", + "Deallocate" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the eviction policy for virtual machines in a SPOT node type. Default is Delete." + }, + "frontendConfigurations": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/FrontendConfiguration" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates the node type uses its own frontend configurations instead of the default one for the cluster. This setting can only be specified for non-primary node types and can not be added or removed after the node type is created." + }, + "hostGroupId": { + "type": "string", + "description": "Specifies the full host group resource Id. This property is used for deploying on azure dedicated hosts." + }, + "isPrimary": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates the Service Fabric system services for the cluster will run on this node type. This setting cannot be changed once the node type is created." + }, + "isSpotVM": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates whether the node type will be Spot Virtual Machines. Azure will allocate the VMs if there is capacity available and the VMs can be evicted at any time." + }, + "isStateless": { + "oneOf": [ + { + "type": "boolean", + "default": false + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates if the node type can only host Stateless workloads." + }, + "multiplePlacementGroups": { + "oneOf": [ + { + "type": "boolean", + "default": false + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates if scale set associated with the node type can be composed of multiple placement groups." + }, + "natGatewayId": { + "type": "string", + "format": "arm-id", + "description": "Specifies the resource id of a NAT Gateway to attach to the subnet of this node type. Node type must use custom load balancer." + }, + "networkSecurityRules": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/NetworkSecurityRule" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The Network Security Rules for this node type. This setting can only be specified for node types that are configured with frontend configurations." + }, + "placementProperties": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The placement tags applied to nodes in the node type, which can be used to indicate where certain services (workload) should run." + }, + "secureBootEnabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies whether secure boot should be enabled on the nodeType. Can only be used with TrustedLaunch SecurityType" + }, + "securityType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "TrustedLaunch" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the security type of the nodeType. Only TrustedLaunch is currently supported." + }, + "spotRestoreTimeout": { + "type": "string", + "description": "Indicates the time duration after which the platform will not try to restore the VMSS SPOT instances specified as ISO 8601." + }, + "subnetId": { + "type": "string", + "format": "arm-id", + "description": "Indicates the resource id of the subnet for the node type." + }, + "useDefaultPublicLoadBalancer": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies whether the use public load balancer. If not specified and the node type doesn't have its own frontend configuration, it will be attached to the default load balancer. If the node type uses its own Load balancer and useDefaultPublicLoadBalancer is true, then the frontend has to be an Internal Load Balancer. If the node type uses its own Load balancer and useDefaultPublicLoadBalancer is false or not set, then the custom load balancer must include a public load balancer to provide outbound connectivity." + }, + "useEphemeralOSDisk": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates whether to use ephemeral os disk. The sku selected on the vmSize property needs to support this feature." + }, + "useTempDataDisk": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies whether to use the temporary disk for the service fabric data root, in which case no managed data disk will be attached and the temporary disk will be used. It is only allowed for stateless node types." + }, + "vmExtensions": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/VMSSExtension" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Set of extensions that should be installed onto the virtual machines." + }, + "vmImageOffer": { + "type": "string", + "description": "The offer type of the Azure Virtual Machines Marketplace image. For example, UbuntuServer or WindowsServer." + }, + "vmImagePlan": { + "oneOf": [ + { + "$ref": "#/definitions/VmImagePlan" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click Want to deploy programmatically, Get Started ->. Enter any required information and then click Save." + }, + "vmImagePublisher": { + "type": "string", + "description": "The publisher of the Azure Virtual Machines Marketplace image. For example, Canonical or MicrosoftWindowsServer." + }, + "vmImageResourceId": { + "type": "string", + "format": "arm-id", + "description": "Indicates the resource id of the vm image. This parameter is used for custom vm image." + }, + "vmImageSku": { + "type": "string", + "description": "The SKU of the Azure Virtual Machines Marketplace image. For example, 14.04.0-LTS or 2012-R2-Datacenter." + }, + "vmImageVersion": { + "type": "string", + "description": "The version of the Azure Virtual Machines Marketplace image. A value of 'latest' can be specified to select the latest version of an image. If omitted, the default is 'latest'." + }, + "vmInstanceCount": { + "oneOf": [ + { + "type": "integer", + "minimum": -1, + "maximum": 2147483647 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The number of nodes in the node type.

**Values:**
-1 - Use when auto scale rules are configured or sku.capacity is defined
0 - Not supported
>0 - Use for manual scale." + }, + "vmManagedIdentity": { + "oneOf": [ + { + "$ref": "#/definitions/VmManagedIdentity" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Identities for the virtual machine scale set under the node type." + }, + "vmSecrets": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/VaultSecretGroup" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The secrets to install in the virtual machines." + }, + "vmSetupActions": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string", + "enum": [ + "EnableContainers", + "EnableHyperV" + ] + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the actions to be performed on the vms before bootstrapping the service fabric runtime." + }, + "vmSharedGalleryImageId": { + "type": "string", + "format": "arm-id", + "description": "Indicates the resource id of the vm shared galleries image. This parameter is used for custom vm image." + }, + "vmSize": { + "type": "string", + "description": "The size of virtual machines in the pool. All virtual machines in a pool are the same size. For example, Standard_D3." + }, + "zones": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the availability zones where the node type would span across. If the cluster is not spanning across availability zones, initiates az migration for the cluster." + } + }, + "required": [ + "isPrimary", + "vmInstanceCount" + ], + "description": "Describes a node type in the cluster, each node type represents sub set of nodes in the cluster." + }, + "NodeTypeSku": { + "type": "object", + "properties": { + "capacity": { + "oneOf": [ + { + "type": "integer", + "minimum": 1, + "maximum": 2147483647 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The number of nodes in the node type.

If present in request it will override properties.vmInstanceCount." + }, + "name": { + "type": "string", + "description": "The sku name.

Name is internally generated and is used in auto-scale scenarios.
Property does not allow to be changed to other values than generated.
To avoid deployment errors please omit the property." + }, + "tier": { + "type": "string", + "description": "Specifies the tier of the node type.

Possible Values:
**Standard**" + } + }, + "required": [ + "capacity" + ], + "description": "Describes a node type sku." + }, + "Partition": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/SingletonPartitionScheme" + } + ], + "properties": {}, + "description": "Describes how the service is partitioned." + }, + "RollingUpgradeMonitoringPolicy": { + "type": "object", + "properties": { + "failureAction": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Rollback", + "Manual" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The compensating action to perform when a Monitored upgrade encounters monitoring policy or health policy violations. Invalid indicates the failure action is invalid. Rollback specifies that the upgrade will start rolling back automatically. Manual indicates that the upgrade will switch to UnmonitoredManual upgrade mode." + }, + "healthCheckRetryTimeout": { + "type": "string", + "description": "The amount of time to retry health evaluation when the application or cluster is unhealthy before FailureAction is executed. It is interpreted as a string representing an ISO 8601 duration with following format \"hh:mm:ss.fff\"." + }, + "healthCheckStableDuration": { + "type": "string", + "description": "The amount of time that the application or cluster must remain healthy before the upgrade proceeds to the next upgrade domain. It is interpreted as a string representing an ISO 8601 duration with following format \"hh:mm:ss.fff\"." + }, + "healthCheckWaitDuration": { + "type": "string", + "description": "The amount of time to wait after completing an upgrade domain before applying health policies. It is interpreted as a string representing an ISO 8601 duration with following format \"hh:mm:ss.fff\"." + }, + "upgradeDomainTimeout": { + "type": "string", + "description": "The amount of time each upgrade domain has to complete before FailureAction is executed. Cannot be larger than 12 hours. It is interpreted as a string representing an ISO 8601 duration with following format \"hh:mm:ss.fff\"." + }, + "upgradeTimeout": { + "type": "string", + "description": "The amount of time the overall upgrade has to complete before FailureAction is executed. Cannot be larger than 12 hours. It is interpreted as a string representing an ISO 8601 duration with following format \"hh:mm:ss.fff\"." + } + }, + "required": [ + "failureAction", + "healthCheckRetryTimeout", + "healthCheckStableDuration", + "healthCheckWaitDuration", + "upgradeDomainTimeout", + "upgradeTimeout" + ], + "description": "The policy used for monitoring the application upgrade" + }, + "ScalingMechanism": { + "type": "object", + "properties": {}, + "description": "Describes the mechanism for performing a scaling operation." + }, + "ScalingPolicy": { + "type": "object", + "properties": { + "scalingMechanism": { + "oneOf": [ + { + "$ref": "#/definitions/ScalingMechanism" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the mechanism for performing a scaling operation." + }, + "scalingTrigger": { + "oneOf": [ + { + "$ref": "#/definitions/ScalingTrigger" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the trigger for performing a scaling operation." + } + }, + "required": [ + "scalingMechanism", + "scalingTrigger" + ], + "description": "Specifies a metric to load balance a service during runtime." + }, + "ScalingTrigger": { + "type": "object", + "properties": {}, + "description": "Describes the trigger for performing a scaling operation." + }, + "ServiceCorrelation": { + "type": "object", + "properties": { + "scheme": { + "oneOf": [ + { + "type": "string", + "enum": [ + "AlignedAffinity", + "NonAlignedAffinity" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The ServiceCorrelationScheme which describes the relationship between this service and the service specified via ServiceName." + }, + "serviceName": { + "type": "string", + "description": "The full ARM Resource ID describing the service resource" + } + }, + "required": [ + "scheme", + "serviceName" + ], + "description": "Creates a particular correlation between services." + }, + "ServiceEndpoint": { + "type": "object", + "properties": { + "locations": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A list of locations." + }, + "service": { + "type": "string", + "description": "The type of the endpoint service." + } + }, + "required": [ + "service" + ], + "description": "The service endpoint properties." + }, + "ServiceLoadMetric": { + "type": "object", + "properties": { + "defaultLoad": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Used only for Stateless services. The default amount of load, as a number, that this service creates for this metric." + }, + "name": { + "type": "string", + "description": "The name of the metric. If the service chooses to report load during runtime, the load metric name should match the name that is specified in Name exactly. Note that metric names are case sensitive." + }, + "primaryDefaultLoad": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Used only for Stateful services. The default amount of load, as a number, that this service creates for this metric when it is a Primary replica." + }, + "secondaryDefaultLoad": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Used only for Stateful services. The default amount of load, as a number, that this service creates for this metric when it is a Secondary replica." + }, + "weight": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Zero", + "Low", + "Medium", + "High" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The service load metric relative weight, compared to other metrics configured for this service, as a number." + } + }, + "required": [ + "name" + ], + "description": "Specifies a metric to load balance a service during runtime." + }, + "ServicePlacementNonPartiallyPlaceServicePolicy": { + "type": "object", + "properties": { + "type": { + "type": "string", + "enum": [ + "NonPartiallyPlaceService" + ] + } + }, + "required": [ + "type" + ], + "description": "ServicePlacementNonPartiallyPlaceServicePolicy" + }, + "ServicePlacementPolicy": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/ServicePlacementNonPartiallyPlaceServicePolicy" + } + ], + "properties": {}, + "description": "Describes the policy to be used for placement of a Service Fabric service." + }, + "ServiceResourceProperties": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/StatefulServiceProperties" + }, + { + "$ref": "#/definitions/StatelessServiceProperties" + } + ], + "properties": { + "correlationScheme": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ServiceCorrelation" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A list that describes the correlation of the service with other services." + }, + "defaultMoveCost": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Zero", + "Low", + "Medium", + "High" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ] + }, + "partitionDescription": { + "oneOf": [ + { + "$ref": "#/definitions/Partition" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes how the service is partitioned." + }, + "placementConstraints": { + "type": "string", + "description": "The placement constraints as a string. Placement constraints are boolean expressions on node properties and allow for restricting a service to particular nodes based on the service requirements. For example, to place a service on nodes where NodeType is blue specify the following: \"NodeColor == blue)\"." + }, + "scalingPolicies": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ScalingPolicy" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Scaling policies for this service." + }, + "serviceDnsName": { + "type": "string", + "description": "Dns name used for the service. If this is specified, then the DNS name can be used to return the IP addresses of service endpoints for application layer protocols (e.g., HTTP).\nWhen updating serviceDnsName, old name may be temporarily resolvable. However, rely on new name.\nWhen removing serviceDnsName, removed name may temporarily be resolvable. Do not rely on the name being unresolvable.\n" + }, + "serviceLoadMetrics": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ServiceLoadMetric" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The service load metrics is given as an array of ServiceLoadMetric objects." + }, + "servicePackageActivationMode": { + "oneOf": [ + { + "type": "string", + "enum": [ + "SharedProcess", + "ExclusiveProcess" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The activation Mode of the service package." + }, + "servicePlacementPolicies": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ServicePlacementPolicy" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A list that describes the correlation of the service with other services." + }, + "serviceTypeName": { + "type": "string", + "description": "The name of the service type" + } + }, + "required": [ + "partitionDescription", + "serviceTypeName" + ], + "description": "The service resource properties." + }, + "ServiceTypeHealthPolicy": { + "type": "object", + "properties": { + "maxPercentUnhealthyPartitionsPerService": { + "oneOf": [ + { + "type": "integer", + "minimum": 0, + "maximum": 100 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The maximum allowed percentage of unhealthy partitions per service.\n\nThe percentage represents the maximum tolerated percentage of partitions that can be unhealthy before the service is considered in error.\nIf the percentage is respected but there is at least one unhealthy partition, the health is evaluated as Warning.\nThe percentage is calculated by dividing the number of unhealthy partitions over the total number of partitions in the service.\nThe computation rounds up to tolerate one failure on small numbers of partitions.\n" + }, + "maxPercentUnhealthyReplicasPerPartition": { + "oneOf": [ + { + "type": "integer", + "minimum": 0, + "maximum": 100 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The maximum allowed percentage of unhealthy replicas per partition.\n\nThe percentage represents the maximum tolerated percentage of replicas that can be unhealthy before the partition is considered in error.\nIf the percentage is respected but there is at least one unhealthy replica, the health is evaluated as Warning.\nThe percentage is calculated by dividing the number of unhealthy replicas over the total number of replicas in the partition.\nThe computation rounds up to tolerate one failure on small numbers of replicas.\n" + }, + "maxPercentUnhealthyServices": { + "oneOf": [ + { + "type": "integer", + "minimum": 0, + "maximum": 100 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The maximum allowed percentage of unhealthy services.\n\nThe percentage represents the maximum tolerated percentage of services that can be unhealthy before the application is considered in error.\nIf the percentage is respected but there is at least one unhealthy service, the health is evaluated as Warning.\nThis is calculated by dividing the number of unhealthy services of the specific service type over the total number of services of the specific service type.\nThe computation rounds up to tolerate one failure on small numbers of services.\n" + } + }, + "required": [ + "maxPercentUnhealthyPartitionsPerService", + "maxPercentUnhealthyReplicasPerPartition", + "maxPercentUnhealthyServices" + ], + "description": "Represents the health policy used to evaluate the health of services belonging to a service type.\n" + }, + "SettingsParameterDescription": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The parameter name of fabric setting." + }, + "value": { + "type": "string", + "description": "The parameter value of fabric setting." + } + }, + "required": [ + "name", + "value" + ], + "description": "Describes a parameter in fabric settings of the cluster." + }, + "SettingsSectionDescription": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The section name of the fabric settings." + }, + "parameters": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/SettingsParameterDescription" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The collection of parameters in the section." + } + }, + "required": [ + "name", + "parameters" + ], + "description": "Describes a section in the fabric settings of the cluster." + }, + "SingletonPartitionScheme": { + "type": "object", + "properties": { + "partitionScheme": { + "type": "string", + "enum": [ + "Singleton" + ] + } + }, + "required": [ + "partitionScheme" + ], + "description": "SingletonPartitionScheme" + }, + "Sku": { + "type": "object", + "properties": { + "name": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Basic", + "Standard" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Sku Name." + } + }, + "required": [ + "name" + ], + "description": "Service Fabric managed cluster Sku definition" + }, + "StatefulServiceProperties": { + "type": "object", + "properties": { + "hasPersistedState": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A flag indicating whether this is a persistent service which stores states on the local disk. If it is then the value of this property is true, if not it is false." + }, + "minReplicaSetSize": { + "oneOf": [ + { + "type": "integer", + "minimum": 1 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The minimum replica set size as a number." + }, + "quorumLossWaitDuration": { + "type": "string", + "description": "The maximum duration for which a partition is allowed to be in a state of quorum loss, represented in ISO 8601 format \"hh:mm:ss\"." + }, + "replicaRestartWaitDuration": { + "type": "string", + "description": "The duration between when a replica goes down and when a new replica is created, represented in ISO 8601 format \"hh:mm:ss\"." + }, + "serviceKind": { + "type": "string", + "enum": [ + "Stateful" + ] + }, + "servicePlacementTimeLimit": { + "type": "string", + "description": "The duration for which replicas can stay InBuild before reporting that build is stuck, represented in ISO 8601 format \"hh:mm:ss\"." + }, + "standByReplicaKeepDuration": { + "type": "string", + "description": "The definition on how long StandBy replicas should be maintained before being removed, represented in ISO 8601 format \"hh:mm:ss\"." + }, + "targetReplicaSetSize": { + "oneOf": [ + { + "type": "integer", + "minimum": 1 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The target replica set size as a number." + } + }, + "required": [ + "serviceKind" + ], + "description": "The properties of a stateful service resource." + }, + "StatelessServiceProperties": { + "type": "object", + "properties": { + "instanceCount": { + "oneOf": [ + { + "type": "integer", + "minimum": -1 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The instance count." + }, + "minInstanceCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "MinInstanceCount is the minimum number of instances that must be up to meet the EnsureAvailability safety check during operations like upgrade or deactivate node. The actual number that is used is max( MinInstanceCount, ceil( MinInstancePercentage/100.0 * InstanceCount) ). Note, if InstanceCount is set to -1, during MinInstanceCount computation -1 is first converted into the number of nodes on which the instances are allowed to be placed according to the placement constraints on the service." + }, + "minInstancePercentage": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "MinInstancePercentage is the minimum percentage of InstanceCount that must be up to meet the EnsureAvailability safety check during operations like upgrade or deactivate node. The actual number that is used is max( MinInstanceCount, ceil( MinInstancePercentage/100.0 * InstanceCount) ). Note, if InstanceCount is set to -1, during MinInstancePercentage computation, -1 is first converted into the number of nodes on which the instances are allowed to be placed according to the placement constraints on the service." + }, + "serviceKind": { + "type": "string", + "enum": [ + "Stateless" + ] + } + }, + "required": [ + "instanceCount", + "serviceKind" + ], + "description": "The properties of a stateless service resource." + }, + "Subnet": { + "type": "object", + "properties": { + "enableIpv6": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates wether to enable Ipv6 or not. If not provided, it will take the same configuration as the cluster." + }, + "name": { + "type": "string", + "description": "Subnet name." + }, + "networkSecurityGroupId": { + "type": "string", + "description": "Full resource id for the network security group." + }, + "privateEndpointNetworkPolicies": { + "oneOf": [ + { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Enable or Disable apply network policies on private end point in the subnet." + }, + "privateLinkServiceNetworkPolicies": { + "oneOf": [ + { + "type": "string", + "enum": [ + "enabled", + "disabled" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Enable or Disable apply network policies on private link service in the subnet." + } + }, + "required": [ + "name" + ], + "description": "Describes a Subnet." + }, + "SubResource": { + "type": "object", + "properties": { + "id": { + "type": "string", + "description": "Azure resource identifier." + } + }, + "description": "Azure resource identifier." + }, + "SystemData": { + "type": "object", + "properties": { + "createdAt": { + "type": "string", + "format": "date-time", + "description": "The timestamp of resource creation (UTC)." + }, + "createdBy": { + "type": "string", + "description": "The identity that created the resource." + }, + "createdByType": { + "type": "string", + "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": "The identity that last modified the resource." + }, + "lastModifiedByType": { + "type": "string", + "description": "The type of identity that last modified the resource." + } + }, + "description": "Metadata pertaining to creation and last modification of the resource." + }, + "UserAssignedIdentity": { + "type": "object", + "properties": {} + }, + "VaultCertificate": { + "type": "object", + "properties": { + "certificateStore": { + "type": "string", + "description": "For Windows VMs, specifies the certificate store on the Virtual Machine to which the certificate should be added. The specified certificate store is implicitly in the LocalMachine account.

For Linux VMs, the certificate file is placed under the /var/lib/waagent directory, with the file name .crt for the X509 certificate file and .prv for private key. Both of these files are .pem formatted." + }, + "certificateUrl": { + "type": "string", + "description": "This is the URL of a certificate that has been uploaded to Key Vault as a secret. For adding a secret to the Key Vault, see [Add a key or secret to the key vault](https://docs.microsoft.com/azure/key-vault/key-vault-get-started/#add). In this case, your certificate needs to be It is the Base64 encoding of the following JSON Object which is encoded in UTF-8:

{
\"data\":\"\",
\"dataType\":\"pfx\",
\"password\":\"\"
}" + } + }, + "required": [ + "certificateStore", + "certificateUrl" + ], + "description": "Describes a single certificate reference in a Key Vault, and where the certificate should reside on the VM." + }, + "VaultSecretGroup": { + "type": "object", + "properties": { + "sourceVault": { + "oneOf": [ + { + "$ref": "#/definitions/SubResource" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Azure resource identifier." + }, + "vaultCertificates": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/VaultCertificate" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of key vault references in SourceVault which contain certificates." + } + }, + "required": [ + "sourceVault", + "vaultCertificates" + ], + "description": "Specifies set of certificates that should be installed onto the virtual machines." + }, + "VmImagePlan": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The plan ID." + }, + "product": { + "type": "string", + "description": "Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element." + }, + "promotionCode": { + "type": "string", + "description": "The promotion code." + }, + "publisher": { + "type": "string", + "description": "The publisher ID." + } + }, + "description": "Specifies information about the marketplace image used to create the virtual machine. This element is only used for marketplace images. Before you can use a marketplace image from an API, you must enable the image for programmatic use. In the Azure portal, find the marketplace image that you want to use and then click Want to deploy programmatically, Get Started ->. Enter any required information and then click Save." + }, + "VmManagedIdentity": { + "type": "object", + "properties": { + "userAssignedIdentities": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The list of user identities associated with the virtual machine scale set under the node type. Each entry will be an ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'." + } + }, + "description": "Identities for the virtual machine scale set under the node type." + }, + "VmssDataDisk": { + "type": "object", + "properties": { + "diskLetter": { + "oneOf": [ + { + "type": "string", + "pattern": "^[a-zA-Z]{1}$" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Managed data disk letter. It can not use the reserved letter C or D and it can not change after created." + }, + "diskSizeGB": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Disk size for each vm in the node type in GBs." + }, + "diskType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Standard_LRS", + "StandardSSD_LRS", + "Premium_LRS" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Managed data disk type. Specifies the storage account type for the managed disk." + }, + "lun": { + "oneOf": [ + { + "type": "integer", + "minimum": 1 + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the logical unit number of the data disk. This value is used to identify data disks within the VM and therefore must be unique for each data disk attached to a VM. Lun 0 is reserved for the service fabric data disk." + } + }, + "required": [ + "diskLetter", + "diskSizeGB", + "diskType", + "lun" + ], + "description": "Managed data disk description." + }, + "VMSSExtension": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the extension." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/VMSSExtensionProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the properties of a Virtual Machine Scale Set Extension." + } + }, + "required": [ + "name", + "properties" + ], + "description": "Specifies set of extensions that should be installed onto the virtual machines." + }, + "VMSSExtensionProperties": { + "type": "object", + "properties": { + "autoUpgradeMinorVersion": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates whether the extension should use a newer minor version if one is available at deployment time. Once deployed, however, the extension will not upgrade minor versions unless redeployed, even with this property set to true." + }, + "enableAutomaticUpgrade": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Indicates whether the extension should be automatically upgraded by the platform if there is a newer version of the extension available." + }, + "forceUpdateTag": { + "type": "string", + "description": "If a value is provided and is different from the previous value, the extension handler will be forced to update even if the extension configuration has not changed." + }, + "protectedSettings": { + "type": "object", + "properties": {}, + "description": "The extension can contain either protectedSettings or protectedSettingsFromKeyVault or no protected settings at all." + }, + "provisionAfterExtensions": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Collection of extension names after which this extension needs to be provisioned." + }, + "publisher": { + "type": "string", + "description": "The name of the extension handler publisher." + }, + "settings": { + "type": "object", + "properties": {}, + "description": "Json formatted public settings for the extension." + }, + "type": { + "type": "string", + "description": "Specifies the type of the extension; an example is \"CustomScriptExtension\"." + }, + "typeHandlerVersion": { + "type": "string", + "description": "Specifies the version of the script handler." + } + }, + "required": [ + "publisher", + "type", + "typeHandlerVersion" + ], + "description": "Describes the properties of a Virtual Machine Scale Set Extension." + } + } +} \ No newline at end of file diff --git a/schemas/2023-05-01-preview/Microsoft.Cache.json b/schemas/2023-05-01-preview/Microsoft.Cache.json index bc5af53865..c8a7ec1b91 100644 --- a/schemas/2023-05-01-preview/Microsoft.Cache.json +++ b/schemas/2023-05-01-preview/Microsoft.Cache.json @@ -618,6 +618,10 @@ "rdb-storage-connection-string": { "type": "string", "description": "The storage account connection string for storing rdb file" + }, + "storage-subscription-id": { + "type": "string", + "description": "SubscriptionId of the storage account for persistence (aof/rdb) using ManagedIdentity." } }, "description": "All Redis Settings. Few possible keys: rdb-backup-enabled,rdb-storage-connection-string,rdb-backup-frequency,maxmemory-delta,maxmemory-policy,notify-keyspace-events,maxmemory-samples,slowlog-log-slower-than,slowlog-max-len,list-max-ziplist-entries,list-max-ziplist-value,hash-max-ziplist-entries,hash-max-ziplist-value,set-max-intset-entries,zset-max-ziplist-entries,zset-max-ziplist-value etc." diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index 2e4c2c4790..a671d76a1a 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -28294,6 +28294,24 @@ { "$ref": "https://schema.management.azure.com/schemas/2023-02-01-preview/Microsoft.ServiceFabric.json#/resourceDefinitions/managedClusters_nodeTypes" }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-03-01-preview/Microsoft.ServiceFabric.json#/resourceDefinitions/managedClusters" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-03-01-preview/Microsoft.ServiceFabric.json#/resourceDefinitions/managedclusters_applications" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-03-01-preview/Microsoft.ServiceFabric.json#/resourceDefinitions/managedclusters_applications_services" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-03-01-preview/Microsoft.ServiceFabric.json#/resourceDefinitions/managedclusters_applicationTypes" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-03-01-preview/Microsoft.ServiceFabric.json#/resourceDefinitions/managedclusters_applicationTypes_versions" + }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-03-01-preview/Microsoft.ServiceFabric.json#/resourceDefinitions/managedClusters_nodeTypes" + }, { "$ref": "https://schema.management.azure.com/schemas/2018-07-01-preview/Microsoft.ServiceFabricMesh.json#/resourceDefinitions/applications" }, From 7d5a0d8e1e9fb68f5a3be22a6ca09d5cd4c57c8a Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Thu, 11 May 2023 16:51:43 +0000 Subject: [PATCH 08/10] Update resource list --- generator/resources.json | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/generator/resources.json b/generator/resources.json index e4dab4504d..b3f5d0b5b7 100644 --- a/generator/resources.json +++ b/generator/resources.json @@ -12484,7 +12484,8 @@ "2022-06-01-preview", "2022-08-01-preview", "2022-10-01-preview", - "2023-02-01-preview" + "2023-02-01-preview", + "2023-03-01-preview" ], "Microsoft.ServiceFabric/managedClusters/nodeTypes": [ "2020-01-01-preview", @@ -12497,7 +12498,8 @@ "2022-06-01-preview", "2022-08-01-preview", "2022-10-01-preview", - "2023-02-01-preview" + "2023-02-01-preview", + "2023-03-01-preview" ], "Microsoft.ServiceFabric/managedclusters/applicationTypes": [ "2021-01-01-preview", @@ -12509,7 +12511,8 @@ "2022-06-01-preview", "2022-08-01-preview", "2022-10-01-preview", - "2023-02-01-preview" + "2023-02-01-preview", + "2023-03-01-preview" ], "Microsoft.ServiceFabric/managedclusters/applicationTypes/versions": [ "2021-01-01-preview", @@ -12521,7 +12524,8 @@ "2022-06-01-preview", "2022-08-01-preview", "2022-10-01-preview", - "2023-02-01-preview" + "2023-02-01-preview", + "2023-03-01-preview" ], "Microsoft.ServiceFabric/managedclusters/applications": [ "2021-01-01-preview", @@ -12533,7 +12537,8 @@ "2022-06-01-preview", "2022-08-01-preview", "2022-10-01-preview", - "2023-02-01-preview" + "2023-02-01-preview", + "2023-03-01-preview" ], "Microsoft.ServiceFabric/managedclusters/applications/services": [ "2021-01-01-preview", @@ -12545,7 +12550,8 @@ "2022-06-01-preview", "2022-08-01-preview", "2022-10-01-preview", - "2023-02-01-preview" + "2023-02-01-preview", + "2023-03-01-preview" ], "Microsoft.ServiceFabricMesh/applications": [ "2018-07-01-preview", From 8dd105e9442fc4f3c99c6fd471e89b04e74e02aa Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Fri, 12 May 2023 09:33:59 +0000 Subject: [PATCH 09/10] Autogenerate schemas --- .../Microsoft.AzureArcData.json | 2960 ----------------- .../Microsoft.BareMetalInfrastructure.json | 239 ++ schemas/common/autogeneratedResources.json | 36 +- 3 files changed, 242 insertions(+), 2993 deletions(-) delete mode 100644 schemas/2023-03-15-preview/Microsoft.AzureArcData.json create mode 100644 schemas/2023-04-06/Microsoft.BareMetalInfrastructure.json diff --git a/schemas/2023-03-15-preview/Microsoft.AzureArcData.json b/schemas/2023-03-15-preview/Microsoft.AzureArcData.json deleted file mode 100644 index b770f3c66b..0000000000 --- a/schemas/2023-03-15-preview/Microsoft.AzureArcData.json +++ /dev/null @@ -1,2960 +0,0 @@ -{ - "id": "https://schema.management.azure.com/schemas/2023-03-15-preview/Microsoft.AzureArcData.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.AzureArcData", - "description": "Microsoft AzureArcData Resource Types", - "resourceDefinitions": { - "dataControllers": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2023-03-15-preview" - ] - }, - "extendedLocation": { - "oneOf": [ - { - "$ref": "#/definitions/ExtendedLocation" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The complex type of the extended location." - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "name": { - "type": "string", - "description": "The name of the data controller" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/DataControllerProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The data controller properties." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/dataControllers_activeDirectoryConnectors_childResource" - } - ] - } - }, - "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.AzureArcData/dataControllers" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.AzureArcData/dataControllers" - }, - "dataControllers_activeDirectoryConnectors": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2023-03-15-preview" - ] - }, - "name": { - "type": "string", - "description": "The name of the Active Directory connector instance" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ActiveDirectoryConnectorProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties of an Active Directory connector resource" - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.AzureArcData/dataControllers/activeDirectoryConnectors" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.AzureArcData/dataControllers/activeDirectoryConnectors" - }, - "postgresInstances": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2023-03-15-preview" - ] - }, - "extendedLocation": { - "oneOf": [ - { - "$ref": "#/definitions/ExtendedLocation" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The complex type of the extended location." - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "name": { - "type": "string", - "description": "Name of Postgres Instance" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/PostgresInstanceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Postgres Instance properties." - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/PostgresInstanceSku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The resource model definition representing SKU for Azure Database for PostgresSQL - Azure Arc" - }, - "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.AzureArcData/postgresInstances" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.AzureArcData/postgresInstances" - }, - "sqlAvailabilityGroups": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2023-03-15-preview" - ] - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "name": { - "type": "string", - "description": "Name of SQL Availability Group" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlAvailabilityGroupProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of SqlAvailabilityGroup." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/sqlAvailabilityGroups_sqlServerInstances_childResource" - }, - { - "$ref": "#/definitions/sqlAvailabilityGroups_databases_childResource" - } - ] - } - }, - "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.AzureArcData/sqlAvailabilityGroups" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.AzureArcData/sqlAvailabilityGroups" - }, - "sqlAvailabilityGroups_databases": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2023-03-15-preview" - ] - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "name": { - "type": "string", - "description": "Name of SQL Availability Group Database" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlAvailabilityGroupMultiDatabaseReplicaResourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties of Arc Sql availability group multiple database replica resource" - }, - "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.AzureArcData/sqlAvailabilityGroups/databases" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.AzureArcData/sqlAvailabilityGroups/databases" - }, - "sqlAvailabilityGroups_sqlServerInstances": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2023-03-15-preview" - ] - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "name": { - "type": "string", - "description": "Name of SQL Server Instance" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlAvailabilityGroupReplicaResourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties of Arc Sql availability group replica resource" - }, - "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.AzureArcData/sqlAvailabilityGroups/sqlServerInstances" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.AzureArcData/sqlAvailabilityGroups/sqlServerInstances" - }, - "sqlManagedInstances": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2023-03-15-preview" - ] - }, - "extendedLocation": { - "oneOf": [ - { - "$ref": "#/definitions/ExtendedLocation" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The complex type of the extended location." - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "name": { - "type": "string", - "description": "Name of SQL Managed Instance" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlManagedInstanceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of sqlManagedInstance." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/sqlManagedInstances_failoverGroups_childResource" - } - ] - } - }, - "sku": { - "oneOf": [ - { - "$ref": "#/definitions/SqlManagedInstanceSku" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The resource model definition representing SKU for Azure Managed Instance - Azure Arc" - }, - "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.AzureArcData/sqlManagedInstances" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.AzureArcData/sqlManagedInstances" - }, - "sqlManagedInstances_failoverGroups": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2023-03-15-preview" - ] - }, - "name": { - "type": "string", - "description": "The name of the Failover Group" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/FailoverGroupProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties of a failover group resource." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.AzureArcData/sqlManagedInstances/failoverGroups" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.AzureArcData/sqlManagedInstances/failoverGroups" - }, - "sqlServerInstances": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2023-03-15-preview" - ] - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "name": { - "type": "string", - "description": "Name of SQL Server Instance" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlServerInstanceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties of SqlServerInstance." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/sqlServerInstances_databases_childResource" - }, - { - "$ref": "#/definitions/sqlServerInstances_sqlAvailabilityGroups_childResource" - } - ] - } - }, - "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.AzureArcData/sqlServerInstances" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.AzureArcData/sqlServerInstances" - }, - "sqlServerInstances_databases": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2023-03-15-preview" - ] - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "name": { - "type": "string", - "description": "Name of the database" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlServerDatabaseResourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties of Arc Sql Server database resource" - }, - "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.AzureArcData/sqlServerInstances/databases" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.AzureArcData/sqlServerInstances/databases" - }, - "sqlServerInstances_sqlAvailabilityGroups": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2023-03-15-preview" - ] - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "name": { - "type": "string", - "description": "Name of SQL Availability Group" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlServerAvailabilityGroupResourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties of Arc Sql Server availability group resource" - }, - "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.AzureArcData/sqlServerInstances/sqlAvailabilityGroups" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.AzureArcData/sqlServerInstances/sqlAvailabilityGroups" - } - }, - "definitions": { - "ActiveDirectoryConnectorDNSDetails": { - "type": "object", - "properties": { - "domainName": { - "type": "string", - "description": "DNS domain name for which DNS lookups should be forwarded to the Active Directory DNS servers." - }, - "nameserverIPAddresses": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of Active Directory DNS server IP addresses." - }, - "preferK8sDnsForPtrLookups": { - "oneOf": [ - { - "type": "boolean", - "default": true - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Flag indicating whether to prefer Kubernetes DNS server response over AD DNS server response for IP address lookups." - }, - "replicas": { - "oneOf": [ - { - "type": "integer", - "default": "1" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Replica count for DNS proxy service. Default value is 1." - } - }, - "required": [ - "nameserverIPAddresses" - ], - "description": "DNS server details" - }, - "ActiveDirectoryConnectorDomainDetails": { - "type": "object", - "properties": { - "domainControllers": { - "oneOf": [ - { - "$ref": "#/definitions/ActiveDirectoryDomainControllers" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Details about the Active Directory domain controllers associated with this AD connector instance" - }, - "netbiosDomainName": { - "type": "string", - "description": "NETBIOS name of the Active Directory domain." - }, - "ouDistinguishedName": { - "type": "string", - "description": "The distinguished name of the Active Directory Organizational Unit." - }, - "realm": { - "type": "string", - "description": "Name (uppercase) of the Active Directory domain that this AD connector will be associated with." - }, - "serviceAccountProvisioning": { - "oneOf": [ - { - "type": "string", - "enum": [ - "automatic", - "manual" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The service account provisioning mode for this Active Directory connector." - } - }, - "required": [ - "realm" - ], - "description": "Active Directory domain details" - }, - "ActiveDirectoryConnectorProperties": { - "type": "object", - "properties": { - "domainServiceAccountLoginInformation": { - "oneOf": [ - { - "$ref": "#/definitions/BasicLoginInformation" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Username and password for basic login authentication." - }, - "spec": { - "oneOf": [ - { - "$ref": "#/definitions/ActiveDirectoryConnectorSpec" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The specifications of the AD Kubernetes resource." - }, - "status": { - "oneOf": [ - { - "$ref": "#/definitions/ActiveDirectoryConnectorStatus" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The status of the Kubernetes custom resource." - } - }, - "required": [ - "spec" - ], - "description": "The properties of an Active Directory connector resource" - }, - "ActiveDirectoryConnectorSpec": { - "type": "object", - "properties": { - "activeDirectory": { - "oneOf": [ - { - "$ref": "#/definitions/ActiveDirectoryConnectorDomainDetails" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Active Directory domain details" - }, - "dns": { - "oneOf": [ - { - "$ref": "#/definitions/ActiveDirectoryConnectorDNSDetails" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "DNS server details" - } - }, - "required": [ - "activeDirectory", - "dns" - ], - "description": "The specifications of the AD Kubernetes resource." - }, - "ActiveDirectoryConnectorStatus": { - "type": "object", - "properties": { - "additionalProperties": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "object", - "properties": {} - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Unmatched properties from the message are deserialized this collection" - }, - "lastUpdateTime": { - "type": "string", - "description": "The time that the custom resource was last updated." - }, - "observedGeneration": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The version of the replicaSet associated with the AD connector custom resource." - }, - "state": { - "type": "string", - "description": "The state of the AD connector custom resource." - } - }, - "description": "The status of the Kubernetes custom resource." - }, - "ActiveDirectoryDomainController": { - "type": "object", - "properties": { - "hostname": { - "type": "string", - "description": "Fully-qualified domain name of a domain controller in the AD domain." - } - }, - "required": [ - "hostname" - ], - "description": "Information about a domain controller in the AD domain." - }, - "ActiveDirectoryDomainControllers": { - "type": "object", - "properties": { - "primaryDomainController": { - "oneOf": [ - { - "$ref": "#/definitions/ActiveDirectoryDomainController" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Information about a domain controller in the AD domain." - }, - "secondaryDomainControllers": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/ActiveDirectoryDomainController" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Information about the secondary domain controllers in the AD domain." - } - }, - "description": "Details about the Active Directory domain controllers associated with this AD connector instance" - }, - "ActiveDirectoryInformation": { - "type": "object", - "properties": { - "keytabInformation": { - "oneOf": [ - { - "$ref": "#/definitions/KeytabInformation" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Keytab used for authenticate with Active Directory." - } - }, - "description": "Active Directory information that related to the resource." - }, - "AvailabilityGroupConfigure": { - "type": "object", - "properties": { - "availabilityModeDesc": { - "type": "string", - "description": "Availability Synchronization mode description of availability group replica." - }, - "backupPriority": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Represents the user-specified priority for performing backups on this replica relative to the other replicas in the same availability group." - }, - "createDate": { - "type": "string", - "format": "date-time", - "description": "Date that the replica was created." - }, - "endpointUrl": { - "type": "string", - "description": "Mirroring endpoint URL of availability group replica" - }, - "failoverModeDesc": { - "type": "string", - "description": "failover mode description of the availability group replica." - }, - "modifyDate": { - "type": "string", - "format": "date-time", - "description": "Date that the replica was modified." - }, - "primaryRoleAllowConnectionsDesc": { - "type": "string", - "description": "Allowed the connections for primary role of the availability group replica." - }, - "readOnlyRoutingUrl": { - "type": "string", - "description": "Connectivity endpoint (URL) of the read only availability replica." - }, - "readWriteRoutingUrl": { - "type": "string", - "description": "Connectivity endpoint (URL) of the read write availability replica." - }, - "secondaryRoleAllowConnectionsDesc": { - "type": "string", - "description": "Allowed the connections for secondary role of availability group replica." - }, - "seedingModeDesc": { - "type": "string", - "description": "Describes seeding mode." - }, - "sessionTimeout": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The time-out period of availability group session replica, in seconds." - } - }, - "description": "The specifications of the availability group replica configuration" - }, - "AvailabilityGroupState": { - "type": "object", - "properties": { - "availabilityGroupReplicaRole": { - "type": "string", - "description": "Role description of the availability group replica." - }, - "connectedStateDesc": { - "type": "string", - "description": "Connected state description of the availability group replica." - }, - "lastConnectErrorDescription": { - "type": "string", - "description": "Last connect error description of the availability group replica." - }, - "lastConnectErrorTimestamp": { - "type": "string", - "format": "date-time", - "description": "Last connect error time stamp of the availability group replica." - }, - "operationalStateDesc": { - "type": "string", - "description": "Operation state description of the availability group replica" - }, - "recoveryHealthDesc": { - "type": "string", - "description": "Recovery health description of the availability group replica." - }, - "synchronizationHealthDesc": { - "type": "string", - "description": "Synchronization health description of the availability group replica." - } - }, - "description": "The specifications of the availability group state" - }, - "BasicLoginInformation": { - "type": "object", - "properties": { - "password": { - "type": "string", - "description": "Login password." - }, - "username": { - "type": "string", - "description": "Login username." - } - }, - "description": "Username and password for basic login authentication." - }, - "DataControllerProperties": { - "type": "object", - "properties": { - "basicLoginInformation": { - "oneOf": [ - { - "$ref": "#/definitions/BasicLoginInformation" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Username and password for basic login authentication." - }, - "clusterId": { - "type": "string", - "description": "If a CustomLocation is provided, this contains the ARM id of the connected cluster the custom location belongs to." - }, - "extensionId": { - "type": "string", - "description": "If a CustomLocation is provided, this contains the ARM id of the extension the custom location belongs to." - }, - "infrastructure": { - "oneOf": [ - { - "type": "string", - "enum": [ - "azure", - "gcp", - "aws", - "alibaba", - "onpremises", - "other" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The infrastructure the data controller is running on." - }, - "k8sRaw": { - "type": "object", - "properties": {}, - "description": "The raw kubernetes information" - }, - "lastUploadedDate": { - "type": "string", - "format": "date-time", - "description": "Last uploaded date from Kubernetes cluster. Defaults to current date time" - }, - "logAnalyticsWorkspaceConfig": { - "oneOf": [ - { - "$ref": "#/definitions/LogAnalyticsWorkspaceConfig" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Log analytics workspace id and primary key" - }, - "logsDashboardCredential": { - "oneOf": [ - { - "$ref": "#/definitions/BasicLoginInformation" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Username and password for basic login authentication." - }, - "metricsDashboardCredential": { - "oneOf": [ - { - "$ref": "#/definitions/BasicLoginInformation" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Username and password for basic login authentication." - }, - "onPremiseProperty": { - "oneOf": [ - { - "$ref": "#/definitions/OnPremiseProperty" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties from the Kubernetes data controller" - }, - "uploadServicePrincipal": { - "oneOf": [ - { - "$ref": "#/definitions/UploadServicePrincipal" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Service principal for uploading billing, metrics and logs." - }, - "uploadWatermark": { - "oneOf": [ - { - "$ref": "#/definitions/UploadWatermark" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Properties on upload watermark. Mostly timestamp for each upload data type" - } - }, - "description": "The data controller properties." - }, - "dataControllers_activeDirectoryConnectors_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2023-03-15-preview" - ] - }, - "name": { - "type": "string", - "description": "The name of the Active Directory connector instance" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ActiveDirectoryConnectorProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties of an Active Directory connector resource" - }, - "type": { - "type": "string", - "enum": [ - "activeDirectoryConnectors" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.AzureArcData/dataControllers/activeDirectoryConnectors" - }, - "ExtendedLocation": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "The name of the extended location." - }, - "type": { - "oneOf": [ - { - "type": "string", - "enum": [ - "CustomLocation" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The type of the extended location." - } - }, - "description": "The complex type of the extended location." - }, - "FailoverGroupProperties": { - "type": "object", - "properties": { - "additionalProperties": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "object", - "properties": {} - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Unmatched properties from the message are deserialized this collection" - }, - "partnerManagedInstanceId": { - "type": "string", - "description": "The resource ID of the partner SQL managed instance." - }, - "spec": { - "oneOf": [ - { - "$ref": "#/definitions/FailoverGroupSpec" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The specifications of the failover group resource." - }, - "status": { - "type": "object", - "properties": {}, - "description": "The status of the failover group custom resource." - } - }, - "required": [ - "partnerManagedInstanceId", - "spec" - ], - "description": "The properties of a failover group resource." - }, - "FailoverGroupSpec": { - "type": "object", - "properties": { - "additionalProperties": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "object", - "properties": {} - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Unmatched properties from the message are deserialized this collection" - }, - "partnerMI": { - "type": "string", - "description": "The name of the partner SQL managed instance." - }, - "partnerMirroringCert": { - "type": "string", - "description": "The mirroring endpoint public certificate for the partner SQL managed instance. Only PEM format is supported." - }, - "partnerMirroringURL": { - "type": "string", - "description": "The mirroring endpoint URL of the partner SQL managed instance." - }, - "partnerSyncMode": { - "oneOf": [ - { - "type": "string", - "enum": [ - "async", - "sync" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The partner sync mode of the SQL managed instance." - }, - "role": { - "oneOf": [ - { - "type": "string", - "enum": [ - "primary", - "secondary", - "force-primary-allow-data-loss", - "force-secondary" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The role of the SQL managed instance in this failover group." - }, - "sharedName": { - "type": "string", - "description": "The shared name of the failover group for this SQL managed instance. Both SQL managed instance and its partner have to use the same shared name." - }, - "sourceMI": { - "type": "string", - "description": "The name of the SQL managed instance with this failover group role." - } - }, - "required": [ - "role" - ], - "description": "The specifications of the failover group resource." - }, - "K8sResourceRequirements": { - "type": "object", - "properties": { - "additionalProperties": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "object", - "properties": {} - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Unmatched properties from the message are deserialized this collection" - }, - "limits": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Limits for a kubernetes resource type (e.g 'cpu', 'memory'). The 'cpu' request must be less than or equal to 'cpu' limit. Default 'cpu' is 2, minimum is 1. Default 'memory' is '4Gi', minimum is '2Gi. If sku.tier is GeneralPurpose, maximum 'cpu' is 24 and maximum 'memory' is '128Gi'." - }, - "requests": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Requests for a kubernetes resource type (e.g 'cpu', 'memory'). The 'cpu' request must be less than or equal to 'cpu' limit. Default 'cpu' is 2, minimum is 1. Default 'memory' is '4Gi', minimum is '2Gi. If sku.tier is GeneralPurpose, maximum 'cpu' is 24 and maximum 'memory' is '128Gi'." - } - }, - "description": "The kubernetes resource limits and requests used to restrict or reserve resource usage." - }, - "K8sScheduling": { - "type": "object", - "properties": { - "additionalProperties": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "object", - "properties": {} - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Unmatched properties from the message are deserialized this collection" - }, - "default": { - "oneOf": [ - { - "$ref": "#/definitions/K8sSchedulingOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The kubernetes scheduling options. It describes restrictions used to help Kubernetes select appropriate nodes to host the database service" - } - }, - "description": "The kubernetes scheduling information." - }, - "K8sSchedulingOptions": { - "type": "object", - "properties": { - "additionalProperties": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "object", - "properties": {} - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Unmatched properties from the message are deserialized this collection" - }, - "resources": { - "oneOf": [ - { - "$ref": "#/definitions/K8sResourceRequirements" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The kubernetes resource limits and requests used to restrict or reserve resource usage." - } - }, - "description": "The kubernetes scheduling options. It describes restrictions used to help Kubernetes select appropriate nodes to host the database service" - }, - "KeytabInformation": { - "type": "object", - "properties": { - "keytab": { - "type": "string", - "description": "A base64-encoded keytab." - } - }, - "description": "Keytab used for authenticate with Active Directory." - }, - "LogAnalyticsWorkspaceConfig": { - "type": "object", - "properties": { - "primaryKey": { - "type": "string", - "description": "Primary key of the workspace" - }, - "workspaceId": { - "oneOf": [ - { - "type": "string", - "pattern": "^[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Azure Log Analytics workspace ID" - } - }, - "description": "Log analytics workspace id and primary key" - }, - "OnPremiseProperty": { - "type": "object", - "properties": { - "id": { - "oneOf": [ - { - "type": "string", - "pattern": "^[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A globally unique ID identifying the associated Kubernetes cluster" - }, - "publicSigningKey": { - "type": "string", - "description": "Certificate that contains the Kubernetes cluster public key used to verify signing" - }, - "signingCertificateThumbprint": { - "type": "string", - "description": "Unique thumbprint returned to customer to verify the certificate being uploaded" - } - }, - "required": [ - "id", - "publicSigningKey" - ], - "description": "Properties from the Kubernetes data controller" - }, - "PostgresInstanceProperties": { - "type": "object", - "properties": { - "admin": { - "type": "string", - "description": "The instance admin" - }, - "basicLoginInformation": { - "oneOf": [ - { - "$ref": "#/definitions/BasicLoginInformation" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Username and password for basic login authentication." - }, - "dataControllerId": { - "type": "string", - "description": "The data controller id" - }, - "k8sRaw": { - "type": "object", - "properties": {}, - "description": "The raw kubernetes information" - }, - "lastUploadedDate": { - "type": "string", - "format": "date-time", - "description": "Last uploaded date from Kubernetes cluster. Defaults to current date time" - } - }, - "description": "Postgres Instance properties." - }, - "PostgresInstanceSku": { - "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." - }, - "dev": { - "oneOf": [ - { - "type": "boolean", - "default": true - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether dev/test is enabled. When the dev field is set to true, the resource is used for dev/test purpose. " - }, - "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. 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": [ - "Hyperscale" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "This field is required to be implemented by the Resource Provider if the service has more than one tier." - } - }, - "required": [ - "name" - ], - "description": "The resource model definition representing SKU for Azure Database for PostgresSQL - Azure Arc" - }, - "SqlAvailabilityGroupDatabaseReplicaResourceProperties": { - "type": "object", - "properties": { - "databaseStateDesc": { - "type": "string", - "description": "Description of the database state of the availability replica." - }, - "isCommitParticipant": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether this replica is transaction committer." - }, - "isLocal": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether the availability database is local." - }, - "isPrimaryReplica": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Returns 1 if the replica is primary, or 0 if it is a secondary replica." - }, - "isSuspended": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether this data movement is suspended." - }, - "replicaName": { - "type": "string", - "description": "the database replica name." - }, - "suspendReasonDesc": { - "type": "string", - "description": "Description of the database suspended state reason." - }, - "synchronizationHealthDesc": { - "type": "string", - "description": "Description of the health of database." - }, - "synchronizationStateDesc": { - "type": "string", - "description": "Description of the data-movement state." - } - }, - "description": "The properties of Arc Sql availability group database replica resource" - }, - "SqlAvailabilityGroupMultiDatabaseReplicaResourceProperties": { - "type": "object", - "properties": { - "groupDatabaseId": { - "oneOf": [ - { - "type": "string", - "pattern": "^[A-Za-z0-9]{8}-([A-Za-z0-9]{4}-){3}[A-Za-z0-9]{12}$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "ID GUID of the database for availability group." - }, - "value": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/SqlAvailabilityGroupDatabaseReplicaResourceProperties" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Array of Arc Sql Availability Group Database Replicas." - } - }, - "description": "The properties of Arc Sql availability group multiple database replica resource" - }, - "SqlAvailabilityGroupProperties": { - "type": "object", - "properties": { - "availabilityGroupId": { - "oneOf": [ - { - "type": "string", - "pattern": "^[A-Za-z0-9]{8}-([A-Za-z0-9]{4}-){3}[A-Za-z0-9]{12}$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Id GUID of the availability group." - }, - "availabilityGroupName": { - "type": "string", - "description": "The name of the availability group." - }, - "basicFeatures": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "SQL Server basic availability group." - }, - "clusterTypeDesc": { - "type": "string", - "description": "SQL Server availability group cluster type description" - }, - "collectionTimestamp": { - "type": "string", - "format": "date-time", - "description": "Timestamp for when the data was collected from the client machine." - }, - "dbFailover": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "SQL Server availability group failover for database health conditions." - }, - "dtcSupport": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "SQL Server availability group DTC support enabled." - }, - "instanceName": { - "type": "string", - "description": "The name of the instance name which availability group primary is on." - }, - "isContained": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "SQL Server availability group contained system databases." - }, - "isDistributed": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "SQL Server distributed availability group." - }, - "requiredSynchronizedSecondariesCommit": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Availability group required the number of synchronized secondary to commit." - }, - "version": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "SQL Server availability group current version." - } - }, - "required": [ - "availabilityGroupId", - "availabilityGroupName" - ], - "description": "Properties of SqlAvailabilityGroup." - }, - "SqlAvailabilityGroupReplicaResourceProperties": { - "type": "object", - "properties": { - "configure": { - "oneOf": [ - { - "$ref": "#/definitions/AvailabilityGroupConfigure" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The specifications of the availability group replica configuration" - }, - "replicaId": { - "oneOf": [ - { - "type": "string", - "pattern": "^[A-Za-z0-9]{8}-([A-Za-z0-9]{4}-){3}[A-Za-z0-9]{12}$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "ID GUID of the availability group." - }, - "replicaName": { - "type": "string", - "description": "the replica name." - }, - "state": { - "oneOf": [ - { - "$ref": "#/definitions/AvailabilityGroupState" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The specifications of the availability group state" - } - }, - "description": "The properties of Arc Sql availability group replica resource" - }, - "sqlAvailabilityGroups_databases_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2023-03-15-preview" - ] - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "name": { - "type": "string", - "description": "Name of SQL Availability Group Database" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlAvailabilityGroupMultiDatabaseReplicaResourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties of Arc Sql availability group multiple database replica resource" - }, - "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": [ - "databases" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.AzureArcData/sqlAvailabilityGroups/databases" - }, - "sqlAvailabilityGroups_sqlServerInstances_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2023-03-15-preview" - ] - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "name": { - "type": "string", - "description": "Name of SQL Server Instance" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlAvailabilityGroupReplicaResourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties of Arc Sql availability group replica resource" - }, - "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": [ - "sqlServerInstances" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.AzureArcData/sqlAvailabilityGroups/sqlServerInstances" - }, - "SqlManagedInstanceK8sRaw": { - "type": "object", - "properties": { - "additionalProperties": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "object", - "properties": {} - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Unmatched properties from the message are deserialized this collection" - }, - "spec": { - "oneOf": [ - { - "$ref": "#/definitions/SqlManagedInstanceK8sSpec" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The kubernetes spec information." - } - }, - "description": "The raw kubernetes information." - }, - "SqlManagedInstanceK8sSpec": { - "type": "object", - "properties": { - "additionalProperties": { - "oneOf": [ - { - "type": "object", - "additionalProperties": { - "type": "object", - "properties": {} - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Unmatched properties from the message are deserialized this collection" - }, - "replicas": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "This option specifies the number of SQL Managed Instance replicas that will be deployed in your Kubernetes cluster for high availability purposes. If sku.tier is BusinessCritical, allowed values are '2' or '3' with default of '3'. If sku.tier is GeneralPurpose, replicas must be '1'." - }, - "scheduling": { - "oneOf": [ - { - "$ref": "#/definitions/K8sScheduling" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The kubernetes scheduling information." - } - }, - "description": "The kubernetes spec information." - }, - "SqlManagedInstanceProperties": { - "type": "object", - "properties": { - "activeDirectoryInformation": { - "oneOf": [ - { - "$ref": "#/definitions/ActiveDirectoryInformation" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Active Directory information that related to the resource." - }, - "admin": { - "type": "string", - "description": "The instance admin user" - }, - "basicLoginInformation": { - "oneOf": [ - { - "$ref": "#/definitions/BasicLoginInformation" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Username and password for basic login authentication." - }, - "clusterId": { - "type": "string", - "description": "If a CustomLocation is provided, this contains the ARM id of the connected cluster the custom location belongs to." - }, - "dataControllerId": { - "type": "string", - "description": "null" - }, - "endTime": { - "type": "string", - "description": "The instance end time" - }, - "extensionId": { - "type": "string", - "description": "If a CustomLocation is provided, this contains the ARM id of the extension the custom location belongs to." - }, - "k8sRaw": { - "oneOf": [ - { - "$ref": "#/definitions/SqlManagedInstanceK8sRaw" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The raw kubernetes information." - }, - "lastUploadedDate": { - "type": "string", - "format": "date-time", - "description": "Last uploaded date from Kubernetes cluster. Defaults to current date time" - }, - "licenseType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "BasePrice", - "LicenseIncluded", - "DisasterRecovery" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The license type to apply for this managed instance." - }, - "startTime": { - "type": "string", - "description": "The instance start time" - } - }, - "description": "Properties of sqlManagedInstance." - }, - "SqlManagedInstanceSku": { - "type": "object", - "properties": { - "capacity": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The SKU capacity" - }, - "dev": { - "oneOf": [ - { - "type": "boolean", - "default": true - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether dev/test is enabled. When the dev field is set to true, the resource is used for dev/test purpose. " - }, - "family": { - "type": "string", - "description": "The SKU family" - }, - "name": { - "oneOf": [ - { - "type": "string", - "enum": [ - "vCore" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The name of the SKU." - }, - "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": [ - "GeneralPurpose", - "BusinessCritical" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The pricing tier for the instance." - } - }, - "required": [ - "name" - ], - "description": "The resource model definition representing SKU for Azure Managed Instance - Azure Arc" - }, - "sqlManagedInstances_failoverGroups_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2023-03-15-preview" - ] - }, - "name": { - "type": "string", - "description": "The name of the Failover Group" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/FailoverGroupProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties of a failover group resource." - }, - "type": { - "type": "string", - "enum": [ - "failoverGroups" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.AzureArcData/sqlManagedInstances/failoverGroups" - }, - "SqlServerAvailabilityGroupResourceProperties": { - "type": "object", - "properties": { - "availabilityGroupId": { - "oneOf": [ - { - "type": "string", - "pattern": "^[A-Za-z0-9]{8}-([A-Za-z0-9]{4}-){3}[A-Za-z0-9]{12}$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "ID GUID of the availability group." - }, - "availabilityGroupName": { - "type": "string", - "description": "the availability group name." - }, - "configure": { - "oneOf": [ - { - "$ref": "#/definitions/AvailabilityGroupConfigure" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The specifications of the availability group replica configuration" - }, - "state": { - "oneOf": [ - { - "$ref": "#/definitions/AvailabilityGroupState" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The specifications of the availability group state" - } - }, - "required": [ - "availabilityGroupId" - ], - "description": "The properties of Arc Sql Server availability group resource" - }, - "SqlServerDatabaseResourceProperties": { - "type": "object", - "properties": { - "backupInformation": { - "oneOf": [ - { - "$ref": "#/definitions/SqlServerDatabaseResourcePropertiesBackupInformation" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "collationName": { - "type": "string", - "description": "Collation of the database." - }, - "compatibilityLevel": { - "oneOf": [ - { - "type": "integer", - "minimum": 80, - "maximum": 200 - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Compatibility level of the database" - }, - "databaseCreationDate": { - "type": "string", - "format": "date-time", - "description": "Creation date of the database." - }, - "databaseOptions": { - "oneOf": [ - { - "$ref": "#/definitions/SqlServerDatabaseResourcePropertiesDatabaseOptions" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of features that are enabled for the database" - }, - "isReadOnly": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Whether the database is read only or not." - }, - "recoveryMode": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Full", - "Bulk-logged", - "Simple" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Status of the database." - }, - "sizeMB": { - "oneOf": [ - { - "type": "number" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Size of the database." - }, - "spaceAvailableMB": { - "oneOf": [ - { - "type": "number" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Space left of the database." - }, - "state": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Online", - "Restoring", - "Recovering", - "RecoveryPending", - "Suspect", - "Emergency", - "Offline", - "Copying", - "OfflineSecondary" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "State of the database." - } - }, - "description": "The properties of Arc Sql Server database resource" - }, - "SqlServerDatabaseResourcePropertiesBackupInformation": { - "type": "object", - "properties": { - "lastFullBackup": { - "type": "string", - "format": "date-time", - "description": "Date time of last full backup." - }, - "lastLogBackup": { - "type": "string", - "format": "date-time", - "description": "Date time of last log backup." - } - } - }, - "SqlServerDatabaseResourcePropertiesDatabaseOptions": { - "type": "object", - "properties": { - "isAutoCloseOn": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isAutoCreateStatsOn": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isAutoShrinkOn": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isAutoUpdateStatsOn": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isEncrypted": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isMemoryOptimizationEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isRemoteDataArchiveEnabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - }, - "isTrustworthyOn": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ] - } - }, - "description": "List of features that are enabled for the database" - }, - "SqlServerInstanceProperties": { - "type": "object", - "properties": { - "azureDefenderStatus": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Protected", - "Unprotected", - "Unknown" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Status of Azure Defender." - }, - "azureDefenderStatusLastUpdated": { - "type": "string", - "format": "date-time", - "description": "Timestamp of last Azure Defender status update." - }, - "collation": { - "type": "string", - "description": "SQL Server collation." - }, - "containerResourceId": { - "type": "string", - "description": "ARM Resource id of the container resource (Azure Arc for Servers)." - }, - "cores": { - "type": "string", - "description": "The number of total cores of the Operating System Environment (OSE) hosting the SQL Server instance." - }, - "currentVersion": { - "type": "string", - "description": "SQL Server current version." - }, - "edition": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Evaluation", - "Enterprise", - "Standard", - "Web", - "Developer", - "Express", - "Business Intelligence" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "SQL Server edition." - }, - "hostType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Azure Virtual Machine", - "Azure VMWare Virtual Machine", - "Azure Kubernetes Service", - "AWS VMWare Virtual Machine", - "AWS Kubernetes Service", - "GCP VMWare Virtual Machine", - "GCP Kubernetes Service", - "Container", - "Virtual Machine", - "Physical Server", - "AWS Virtual Machine", - "GCP Virtual Machine", - "Other" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Type of host for Azure Arc SQL Server." - }, - "instanceName": { - "type": "string", - "description": "SQL Server instance name." - }, - "licenseType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Undefined", - "Free", - "HADR", - "ServerCAL", - "LicenseOnly", - "PAYG", - "Paid" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "SQL Server license type." - }, - "patchLevel": { - "type": "string", - "description": "SQL Server update level." - }, - "productId": { - "type": "string", - "description": "SQL Server product ID." - }, - "status": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Connected", - "Disconnected", - "Registered", - "Unknown" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The cloud connectivity status." - }, - "tcpDynamicPorts": { - "type": "string", - "description": "Dynamic TCP ports used by SQL Server." - }, - "tcpStaticPorts": { - "type": "string", - "description": "Static TCP ports used by SQL Server." - }, - "vCore": { - "type": "string", - "description": "The number of logical processors used by the SQL Server instance." - }, - "version": { - "oneOf": [ - { - "type": "string", - "enum": [ - "SQL Server 2012", - "SQL Server 2014", - "SQL Server 2016", - "SQL Server 2017", - "SQL Server 2019", - "SQL Server 2022", - "Unknown" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "SQL Server version." - } - }, - "required": [ - "containerResourceId", - "status" - ], - "description": "Properties of SqlServerInstance." - }, - "sqlServerInstances_databases_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2023-03-15-preview" - ] - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "name": { - "type": "string", - "description": "Name of the database" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlServerDatabaseResourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties of Arc Sql Server database resource" - }, - "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": [ - "databases" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.AzureArcData/sqlServerInstances/databases" - }, - "sqlServerInstances_sqlAvailabilityGroups_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2023-03-15-preview" - ] - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "name": { - "type": "string", - "description": "Name of SQL Availability Group" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SqlServerAvailabilityGroupResourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The properties of Arc Sql Server availability group resource" - }, - "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": [ - "sqlAvailabilityGroups" - ] - } - }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.AzureArcData/sqlServerInstances/sqlAvailabilityGroups" - }, - "UploadServicePrincipal": { - "type": "object", - "properties": { - "authority": { - "type": "string", - "description": "Authority for the service principal. Example: https://login.microsoftonline.com/" - }, - "clientId": { - "oneOf": [ - { - "type": "string", - "pattern": "^[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Client ID of the service principal for uploading data." - }, - "clientSecret": { - "type": "string", - "description": "Secret of the service principal" - }, - "tenantId": { - "oneOf": [ - { - "type": "string", - "pattern": "^[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Tenant ID of the service principal." - } - }, - "description": "Service principal for uploading billing, metrics and logs." - }, - "UploadWatermark": { - "type": "object", - "properties": { - "logs": { - "type": "string", - "format": "date-time", - "description": "Last uploaded date for logs from kubernetes cluster. Defaults to current date time" - }, - "metrics": { - "type": "string", - "format": "date-time", - "description": "Last uploaded date for metrics from kubernetes cluster. Defaults to current date time" - }, - "usages": { - "type": "string", - "format": "date-time", - "description": "Last uploaded date for usages from kubernetes cluster. Defaults to current date time" - } - }, - "description": "Properties on upload watermark. Mostly timestamp for each upload data type" - } - } -} \ No newline at end of file diff --git a/schemas/2023-04-06/Microsoft.BareMetalInfrastructure.json b/schemas/2023-04-06/Microsoft.BareMetalInfrastructure.json new file mode 100644 index 0000000000..0d4e1731c0 --- /dev/null +++ b/schemas/2023-04-06/Microsoft.BareMetalInfrastructure.json @@ -0,0 +1,239 @@ +{ + "id": "https://schema.management.azure.com/schemas/2023-04-06/Microsoft.BareMetalInfrastructure.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.BareMetalInfrastructure", + "description": "Microsoft BareMetalInfrastructure Resource Types", + "resourceDefinitions": { + "bareMetalStorageInstances": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2023-04-06" + ] + }, + "location": { + "type": "string", + "description": "The geo-location where the resource lives" + }, + "name": { + "oneOf": [ + { + "type": "string", + "pattern": ".*" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Name of the AzureBareMetalStorage on Azure instance." + }, + "properties": { + "oneOf": [ + { + "$ref": "#/definitions/AzureBareMetalStorageInstanceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the properties of an AzureBareMetalStorageInstance." + }, + "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": "Resource tags." + }, + "type": { + "type": "string", + "enum": [ + "Microsoft.BareMetalInfrastructure/bareMetalStorageInstances" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.BareMetalInfrastructure/bareMetalStorageInstances" + } + }, + "definitions": { + "AzureBareMetalStorageInstanceProperties": { + "type": "object", + "properties": { + "azureBareMetalStorageInstanceUniqueIdentifier": { + "type": "string", + "description": "Specifies the AzureBareMetaStorageInstance unique ID." + }, + "storageProperties": { + "oneOf": [ + { + "$ref": "#/definitions/StorageProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "described the storage properties of the azure baremetalstorage instance" + } + }, + "description": "Describes the properties of an AzureBareMetalStorageInstance." + }, + "StorageBillingProperties": { + "type": "object", + "properties": { + "azureBareMetalStorageInstanceSize": { + "type": "string", + "description": "the SKU type that is provisioned" + }, + "billingMode": { + "type": "string", + "description": "the billing mode for the storage instance" + } + }, + "description": "Describes the billing related details of the AzureBareMetalStorageInstance." + }, + "StorageProperties": { + "type": "object", + "properties": { + "generation": { + "type": "string", + "description": "the kind of storage instance" + }, + "hardwareType": { + "type": "string", + "description": "the hardware type of the storage instance" + }, + "offeringType": { + "type": "string", + "description": "the offering type for which the resource is getting provisioned" + }, + "provisioningState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Accepted", + "Creating", + "Updating", + "Failed", + "Succeeded", + "Deleting", + "Canceled", + "Migrating" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "State of provisioning of the AzureBareMetalStorageInstance." + }, + "storageBillingProperties": { + "oneOf": [ + { + "$ref": "#/definitions/StorageBillingProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the billing related details of the AzureBareMetalStorageInstance." + }, + "storageType": { + "type": "string", + "description": "the storage protocol for which the resource is getting provisioned" + }, + "workloadType": { + "type": "string", + "description": "the workload for which the resource is getting provisioned" + } + }, + "description": "described the storage properties of the azure baremetalstorage instance" + }, + "SystemData": { + "type": "object", + "properties": { + "createdAt": { + "type": "string", + "format": "date-time", + "description": "The timestamp of resource creation (UTC)." + }, + "createdBy": { + "type": "string", + "description": "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": "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." + } + } +} \ No newline at end of file diff --git a/schemas/common/autogeneratedResources.json b/schemas/common/autogeneratedResources.json index a671d76a1a..806a090305 100644 --- a/schemas/common/autogeneratedResources.json +++ b/schemas/common/autogeneratedResources.json @@ -4198,39 +4198,6 @@ { "$ref": "https://schema.management.azure.com/schemas/2023-01-15-preview/Microsoft.AzureArcData.json#/resourceDefinitions/sqlServerInstances_databases" }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-03-15-preview/Microsoft.AzureArcData.json#/resourceDefinitions/dataControllers" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-03-15-preview/Microsoft.AzureArcData.json#/resourceDefinitions/dataControllers_activeDirectoryConnectors" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-03-15-preview/Microsoft.AzureArcData.json#/resourceDefinitions/postgresInstances" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-03-15-preview/Microsoft.AzureArcData.json#/resourceDefinitions/sqlAvailabilityGroups" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-03-15-preview/Microsoft.AzureArcData.json#/resourceDefinitions/sqlAvailabilityGroups_databases" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-03-15-preview/Microsoft.AzureArcData.json#/resourceDefinitions/sqlAvailabilityGroups_sqlServerInstances" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-03-15-preview/Microsoft.AzureArcData.json#/resourceDefinitions/sqlManagedInstances" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-03-15-preview/Microsoft.AzureArcData.json#/resourceDefinitions/sqlManagedInstances_failoverGroups" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-03-15-preview/Microsoft.AzureArcData.json#/resourceDefinitions/sqlServerInstances" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-03-15-preview/Microsoft.AzureArcData.json#/resourceDefinitions/sqlServerInstances_databases" - }, - { - "$ref": "https://schema.management.azure.com/schemas/2023-03-15-preview/Microsoft.AzureArcData.json#/resourceDefinitions/sqlServerInstances_sqlAvailabilityGroups" - }, { "$ref": "https://schema.management.azure.com/schemas/2019-07-24-preview/Microsoft.AzureData.json#/resourceDefinitions/sqlServerRegistrations" }, @@ -4456,6 +4423,9 @@ { "$ref": "https://schema.management.azure.com/schemas/2023-03-01/Microsoft.AzureStackHCI.json#/resourceDefinitions/clusters_updateSummaries" }, + { + "$ref": "https://schema.management.azure.com/schemas/2023-04-06/Microsoft.BareMetalInfrastructure.json#/resourceDefinitions/bareMetalStorageInstances" + }, { "$ref": "https://schema.management.azure.com/schemas/2015-12-01/Microsoft.Batch.json#/resourceDefinitions/batchAccounts" }, From 3b66f1c896d6adcb67b571ca29afb4b0582aef7d Mon Sep 17 00:00:00 2001 From: Autogenerator Pipeline Date: Fri, 12 May 2023 09:34:24 +0000 Subject: [PATCH 10/10] Update resource list --- generator/resources.json | 36 ++++++++++-------------------------- 1 file changed, 10 insertions(+), 26 deletions(-) diff --git a/generator/resources.json b/generator/resources.json index b3f5d0b5b7..6e4654a1c5 100644 --- a/generator/resources.json +++ b/generator/resources.json @@ -1895,31 +1895,19 @@ "2021-11-01", "2022-03-01-preview", "2022-06-15-preview", - "2023-01-15-preview", - "2023-03-15-preview" + "2023-01-15-preview" ], "Microsoft.AzureArcData/dataControllers/activeDirectoryConnectors": [ "2022-03-01-preview", "2022-06-15-preview", - "2023-01-15-preview", - "2023-03-15-preview" + "2023-01-15-preview" ], "Microsoft.AzureArcData/postgresInstances": [ "2021-06-01-preview", "2021-07-01-preview", "2022-03-01-preview", "2022-06-15-preview", - "2023-01-15-preview", - "2023-03-15-preview" - ], - "Microsoft.AzureArcData/sqlAvailabilityGroups": [ - "2023-03-15-preview" - ], - "Microsoft.AzureArcData/sqlAvailabilityGroups/databases": [ - "2023-03-15-preview" - ], - "Microsoft.AzureArcData/sqlAvailabilityGroups/sqlServerInstances": [ - "2023-03-15-preview" + "2023-01-15-preview" ], "Microsoft.AzureArcData/sqlManagedInstances": [ "2021-06-01-preview", @@ -1928,12 +1916,10 @@ "2021-11-01", "2022-03-01-preview", "2022-06-15-preview", - "2023-01-15-preview", - "2023-03-15-preview" + "2023-01-15-preview" ], "Microsoft.AzureArcData/sqlManagedInstances/failoverGroups": [ - "2023-01-15-preview", - "2023-03-15-preview" + "2023-01-15-preview" ], "Microsoft.AzureArcData/sqlServerInstances": [ "2021-06-01-preview", @@ -1942,16 +1928,11 @@ "2021-11-01", "2022-03-01-preview", "2022-06-15-preview", - "2023-01-15-preview", - "2023-03-15-preview" + "2023-01-15-preview" ], "Microsoft.AzureArcData/sqlServerInstances/databases": [ "2022-06-15-preview", - "2023-01-15-preview", - "2023-03-15-preview" - ], - "Microsoft.AzureArcData/sqlServerInstances/sqlAvailabilityGroups": [ - "2023-03-15-preview" + "2023-01-15-preview" ], "Microsoft.AzureData/sqlServerRegistrations": [ "2019-07-24-preview" @@ -2085,6 +2066,9 @@ "Microsoft.BareMetal/crayServers": [ "2018-09-01-preview" ], + "Microsoft.BareMetalInfrastructure/bareMetalStorageInstances": [ + "2023-04-06" + ], "Microsoft.Batch/batchAccounts": [ "2015-12-01", "2017-01-01",