2619 строки
81 KiB
JSON
2619 строки
81 KiB
JSON
{
|
|
"id": "https://schema.management.azure.com/schemas/2024-01-01/Microsoft.AzureArcData.json#",
|
|
"title": "Microsoft.AzureArcData",
|
|
"description": "Microsoft AzureArcData Resource Types",
|
|
"$schema": "http://json-schema.org/draft-04/schema#",
|
|
"resourceDefinitions": {
|
|
"dataControllers": {
|
|
"description": "Microsoft.AzureArcData/dataControllers",
|
|
"properties": {
|
|
"apiVersion": {
|
|
"enum": [
|
|
"2024-01-01"
|
|
],
|
|
"type": "string"
|
|
},
|
|
"extendedLocation": {
|
|
"description": "The extendedLocation of the resource.",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/ExtendedLocation"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"location": {
|
|
"description": "The geo-location where the resource lives",
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"description": "The name of the data controller",
|
|
"type": "string"
|
|
},
|
|
"properties": {
|
|
"description": "The data controller's properties",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/DataControllerProperties"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"resources": {
|
|
"items": {
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/dataControllers_activeDirectoryConnectors_childResource"
|
|
}
|
|
]
|
|
},
|
|
"type": "array"
|
|
},
|
|
"tags": {
|
|
"description": "Resource tags.",
|
|
"oneOf": [
|
|
{
|
|
"additionalProperties": {
|
|
"type": "string"
|
|
},
|
|
"properties": {},
|
|
"type": "object"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"type": {
|
|
"enum": [
|
|
"Microsoft.AzureArcData/dataControllers"
|
|
],
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"name",
|
|
"properties",
|
|
"apiVersion",
|
|
"type"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"dataControllers_activeDirectoryConnectors": {
|
|
"description": "Microsoft.AzureArcData/dataControllers/activeDirectoryConnectors",
|
|
"properties": {
|
|
"apiVersion": {
|
|
"enum": [
|
|
"2024-01-01"
|
|
],
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"description": "The name of the Active Directory connector instance",
|
|
"type": "string"
|
|
},
|
|
"properties": {
|
|
"description": "null",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/ActiveDirectoryConnectorProperties"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"type": {
|
|
"enum": [
|
|
"Microsoft.AzureArcData/dataControllers/activeDirectoryConnectors"
|
|
],
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"name",
|
|
"properties",
|
|
"apiVersion",
|
|
"type"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"postgresInstances": {
|
|
"description": "Microsoft.AzureArcData/postgresInstances",
|
|
"properties": {
|
|
"apiVersion": {
|
|
"enum": [
|
|
"2024-01-01"
|
|
],
|
|
"type": "string"
|
|
},
|
|
"extendedLocation": {
|
|
"description": "The extendedLocation of the resource.",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/ExtendedLocation"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"location": {
|
|
"description": "The geo-location where the resource lives",
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"description": "Name of Postgres Instance",
|
|
"type": "string"
|
|
},
|
|
"properties": {
|
|
"description": "null",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/PostgresInstanceProperties"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"sku": {
|
|
"description": "Resource sku.",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/PostgresInstanceSku"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"tags": {
|
|
"description": "Resource tags.",
|
|
"oneOf": [
|
|
{
|
|
"additionalProperties": {
|
|
"type": "string"
|
|
},
|
|
"properties": {},
|
|
"type": "object"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"type": {
|
|
"enum": [
|
|
"Microsoft.AzureArcData/postgresInstances"
|
|
],
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"name",
|
|
"properties",
|
|
"apiVersion",
|
|
"type"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"sqlManagedInstances": {
|
|
"description": "Microsoft.AzureArcData/sqlManagedInstances",
|
|
"properties": {
|
|
"apiVersion": {
|
|
"enum": [
|
|
"2024-01-01"
|
|
],
|
|
"type": "string"
|
|
},
|
|
"extendedLocation": {
|
|
"description": "The extendedLocation of the resource.",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/ExtendedLocation"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"location": {
|
|
"description": "The geo-location where the resource lives",
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"description": "Name of SQL Managed Instance",
|
|
"type": "string"
|
|
},
|
|
"properties": {
|
|
"description": "null",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/SqlManagedInstanceProperties"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"resources": {
|
|
"items": {
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/sqlManagedInstances_failoverGroups_childResource"
|
|
}
|
|
]
|
|
},
|
|
"type": "array"
|
|
},
|
|
"sku": {
|
|
"description": "Resource sku.",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/SqlManagedInstanceSku"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"tags": {
|
|
"description": "Resource tags.",
|
|
"oneOf": [
|
|
{
|
|
"additionalProperties": {
|
|
"type": "string"
|
|
},
|
|
"properties": {},
|
|
"type": "object"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"type": {
|
|
"enum": [
|
|
"Microsoft.AzureArcData/sqlManagedInstances"
|
|
],
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"name",
|
|
"properties",
|
|
"apiVersion",
|
|
"type"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"sqlManagedInstances_failoverGroups": {
|
|
"description": "Microsoft.AzureArcData/sqlManagedInstances/failoverGroups",
|
|
"properties": {
|
|
"apiVersion": {
|
|
"enum": [
|
|
"2024-01-01"
|
|
],
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"description": "The name of the Failover Group",
|
|
"type": "string"
|
|
},
|
|
"properties": {
|
|
"description": "null",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/FailoverGroupProperties"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"type": {
|
|
"enum": [
|
|
"Microsoft.AzureArcData/sqlManagedInstances/failoverGroups"
|
|
],
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"name",
|
|
"properties",
|
|
"apiVersion",
|
|
"type"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"sqlServerInstances": {
|
|
"description": "Microsoft.AzureArcData/sqlServerInstances",
|
|
"properties": {
|
|
"apiVersion": {
|
|
"enum": [
|
|
"2024-01-01"
|
|
],
|
|
"type": "string"
|
|
},
|
|
"location": {
|
|
"description": "The geo-location where the resource lives",
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"description": "Name of SQL Server Instance",
|
|
"type": "string"
|
|
},
|
|
"properties": {
|
|
"description": "null",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/SqlServerInstanceProperties"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"resources": {
|
|
"items": {
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/sqlServerInstances_databases_childResource"
|
|
},
|
|
{
|
|
"$ref": "#/definitions/sqlServerInstances_availabilityGroups_childResource"
|
|
}
|
|
]
|
|
},
|
|
"type": "array"
|
|
},
|
|
"tags": {
|
|
"description": "Resource tags.",
|
|
"oneOf": [
|
|
{
|
|
"additionalProperties": {
|
|
"type": "string"
|
|
},
|
|
"properties": {},
|
|
"type": "object"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"type": {
|
|
"enum": [
|
|
"Microsoft.AzureArcData/sqlServerInstances"
|
|
],
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"name",
|
|
"properties",
|
|
"apiVersion",
|
|
"type"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"sqlServerInstances_availabilityGroups": {
|
|
"description": "Microsoft.AzureArcData/sqlServerInstances/availabilityGroups",
|
|
"properties": {
|
|
"apiVersion": {
|
|
"enum": [
|
|
"2024-01-01"
|
|
],
|
|
"type": "string"
|
|
},
|
|
"location": {
|
|
"description": "The geo-location where the resource lives",
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"description": "Name of SQL Availability Group",
|
|
"type": "string"
|
|
},
|
|
"properties": {
|
|
"description": "Properties of Arc Sql Server availability group",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/SqlServerAvailabilityGroupResourceProperties"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"tags": {
|
|
"description": "Resource tags.",
|
|
"oneOf": [
|
|
{
|
|
"additionalProperties": {
|
|
"type": "string"
|
|
},
|
|
"properties": {},
|
|
"type": "object"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"type": {
|
|
"enum": [
|
|
"Microsoft.AzureArcData/sqlServerInstances/availabilityGroups"
|
|
],
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"name",
|
|
"properties",
|
|
"apiVersion",
|
|
"type"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"sqlServerInstances_databases": {
|
|
"description": "Microsoft.AzureArcData/sqlServerInstances/databases",
|
|
"properties": {
|
|
"apiVersion": {
|
|
"enum": [
|
|
"2024-01-01"
|
|
],
|
|
"type": "string"
|
|
},
|
|
"location": {
|
|
"description": "The geo-location where the resource lives",
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"description": "Name of the database",
|
|
"type": "string"
|
|
},
|
|
"properties": {
|
|
"description": "Properties of Arc Sql Server database",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/SqlServerDatabaseResourceProperties"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"tags": {
|
|
"description": "Resource tags.",
|
|
"oneOf": [
|
|
{
|
|
"additionalProperties": {
|
|
"type": "string"
|
|
},
|
|
"properties": {},
|
|
"type": "object"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"type": {
|
|
"enum": [
|
|
"Microsoft.AzureArcData/sqlServerInstances/databases"
|
|
],
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"name",
|
|
"properties",
|
|
"apiVersion",
|
|
"type"
|
|
],
|
|
"type": "object"
|
|
}
|
|
},
|
|
"definitions": {
|
|
"ActiveDirectoryConnectorDNSDetails": {
|
|
"description": "DNS server details",
|
|
"properties": {
|
|
"domainName": {
|
|
"description": "DNS domain name for which DNS lookups should be forwarded to the Active Directory DNS servers.",
|
|
"type": "string"
|
|
},
|
|
"nameserverIPAddresses": {
|
|
"description": "List of Active Directory DNS server IP addresses.",
|
|
"oneOf": [
|
|
{
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"preferK8sDnsForPtrLookups": {
|
|
"description": "Flag indicating whether to prefer Kubernetes DNS server response over AD DNS server response for IP address lookups.",
|
|
"oneOf": [
|
|
{
|
|
"default": true,
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"replicas": {
|
|
"description": "Replica count for DNS proxy service. Default value is 1.",
|
|
"oneOf": [
|
|
{
|
|
"default": 1,
|
|
"type": "integer"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"required": [
|
|
"nameserverIPAddresses"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"ActiveDirectoryConnectorDomainDetails": {
|
|
"description": "Active Directory domain details",
|
|
"properties": {
|
|
"domainControllers": {
|
|
"description": "null",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/ActiveDirectoryDomainControllers"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"netbiosDomainName": {
|
|
"description": "NETBIOS name of the Active Directory domain.",
|
|
"type": "string"
|
|
},
|
|
"ouDistinguishedName": {
|
|
"description": "The distinguished name of the Active Directory Organizational Unit.",
|
|
"type": "string"
|
|
},
|
|
"realm": {
|
|
"description": "Name (uppercase) of the Active Directory domain that this AD connector will be associated with.",
|
|
"type": "string"
|
|
},
|
|
"serviceAccountProvisioning": {
|
|
"description": "The service account provisioning mode for this Active Directory connector.",
|
|
"oneOf": [
|
|
{
|
|
"enum": [
|
|
"automatic",
|
|
"manual"
|
|
],
|
|
"type": "string"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"required": [
|
|
"realm"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"ActiveDirectoryConnectorProperties": {
|
|
"description": "The properties of an Active Directory connector resource",
|
|
"properties": {
|
|
"domainServiceAccountLoginInformation": {
|
|
"description": "Username and password for domain service account authentication.",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/BasicLoginInformation"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"spec": {
|
|
"description": "null",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/ActiveDirectoryConnectorSpec"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"status": {
|
|
"description": "null",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/ActiveDirectoryConnectorStatus"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"required": [
|
|
"spec"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"ActiveDirectoryConnectorSpec": {
|
|
"description": "The specifications of the AD Kubernetes resource.",
|
|
"properties": {
|
|
"activeDirectory": {
|
|
"description": "null",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/ActiveDirectoryConnectorDomainDetails"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"dns": {
|
|
"description": "null",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/ActiveDirectoryConnectorDNSDetails"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"required": [
|
|
"activeDirectory",
|
|
"dns"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"ActiveDirectoryConnectorStatus": {
|
|
"additionalProperties": {},
|
|
"description": "The status of the Kubernetes custom resource.",
|
|
"properties": {
|
|
"lastUpdateTime": {
|
|
"description": "The time that the custom resource was last updated.",
|
|
"type": "string"
|
|
},
|
|
"observedGeneration": {
|
|
"description": "The version of the replicaSet associated with the AD connector custom resource.",
|
|
"oneOf": [
|
|
{
|
|
"type": "integer"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"state": {
|
|
"description": "The state of the AD connector custom resource.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"ActiveDirectoryDomainController": {
|
|
"description": "Information about a domain controller in the AD domain.",
|
|
"properties": {
|
|
"hostname": {
|
|
"description": "Fully-qualified domain name of a domain controller in the AD domain.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"hostname"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"ActiveDirectoryDomainControllers": {
|
|
"description": "Details about the Active Directory domain controllers associated with this AD connector instance",
|
|
"properties": {
|
|
"primaryDomainController": {
|
|
"description": "Information about the Primary Domain Controller (PDC) in the AD domain.",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/ActiveDirectoryDomainController"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"secondaryDomainControllers": {
|
|
"description": "null",
|
|
"oneOf": [
|
|
{
|
|
"items": {
|
|
"$ref": "#/definitions/ActiveDirectoryDomainController"
|
|
},
|
|
"type": "array"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"ActiveDirectoryInformation": {
|
|
"description": "Active Directory information that related to the resource.",
|
|
"properties": {
|
|
"keytabInformation": {
|
|
"description": "Keytab information that is used for the Sql Managed Instance when Active Directory authentication is used.",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/KeytabInformation"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"AvailabilityGroupConfigure": {
|
|
"description": "The specifications of the availability group replica configuration",
|
|
"properties": {
|
|
"backupPriority": {
|
|
"description": "Represents the user-specified priority for performing backups on this replica relative to the other replicas in the same availability group.",
|
|
"oneOf": [
|
|
{
|
|
"type": "integer"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"endpointUrl": {
|
|
"description": "Mirroring endpoint URL of availability group replica",
|
|
"type": "string"
|
|
},
|
|
"readOnlyRoutingUrl": {
|
|
"description": "Connectivity endpoint (URL) of the read only availability replica.",
|
|
"type": "string"
|
|
},
|
|
"readWriteRoutingUrl": {
|
|
"description": "Connectivity endpoint (URL) of the read write availability replica.",
|
|
"type": "string"
|
|
},
|
|
"sessionTimeout": {
|
|
"description": "The time-out period of availability group session replica, in seconds.",
|
|
"oneOf": [
|
|
{
|
|
"type": "integer"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"AvailabilityGroupInfo": {
|
|
"description": "The specifications of the availability group state",
|
|
"properties": {
|
|
"basicFeatures": {
|
|
"description": "Specifies whether this is a basic availability group.",
|
|
"oneOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"dbFailover": {
|
|
"description": "Specifies whether the availability group supports failover for database health conditions.",
|
|
"oneOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"dtcSupport": {
|
|
"description": "Specifies whether DTC support has been enabled for this availability group.",
|
|
"oneOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"failureConditionLevel": {
|
|
"description": "User-defined failure condition level under which an automatic failover must be triggered.",
|
|
"oneOf": [
|
|
{
|
|
"type": "integer"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"healthCheckTimeout": {
|
|
"description": "Wait time (in milliseconds) for the sp_server_diagnostics system stored procedure to return server-health information, before the server instance is assumed to be slow or not responding.",
|
|
"oneOf": [
|
|
{
|
|
"type": "integer"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"isContained": {
|
|
"description": "SQL Server availability group contained system databases.",
|
|
"oneOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"isDistributed": {
|
|
"description": "Specifies whether this is a distributed availability group.",
|
|
"oneOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"requiredSynchronizedSecondariesToCommit": {
|
|
"description": "The number of secondary replicas that must be in a synchronized state for a commit to complete.",
|
|
"oneOf": [
|
|
{
|
|
"type": "integer"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"AvailabilityGroupState": {
|
|
"description": "The specifications of the availability group state",
|
|
"properties": {},
|
|
"type": "object"
|
|
},
|
|
"BackupPolicy": {
|
|
"description": "The backup profile for the SQL server.",
|
|
"properties": {
|
|
"differentialBackupHours": {
|
|
"description": "The differential backup interval in hours.",
|
|
"oneOf": [
|
|
{
|
|
"oneOf": [
|
|
{
|
|
"type": "integer"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"fullBackupDays": {
|
|
"description": "The value indicating days between full backups.",
|
|
"oneOf": [
|
|
{
|
|
"maximum": 7,
|
|
"minimum": 0,
|
|
"type": "integer"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"retentionPeriodDays": {
|
|
"description": "The retention period for all the databases in this managed instance.",
|
|
"oneOf": [
|
|
{
|
|
"maximum": 35,
|
|
"minimum": 0,
|
|
"type": "integer"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"transactionLogBackupMinutes": {
|
|
"description": "The value indicating minutes between transaction log backups.",
|
|
"oneOf": [
|
|
{
|
|
"maximum": 60,
|
|
"minimum": 0,
|
|
"type": "integer"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"BasicLoginInformation": {
|
|
"description": "Username and password for basic login authentication.",
|
|
"properties": {
|
|
"password": {
|
|
"description": "Login password.",
|
|
"type": "string"
|
|
},
|
|
"username": {
|
|
"description": "Login username.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"DataControllerProperties": {
|
|
"description": "The data controller properties.",
|
|
"properties": {
|
|
"basicLoginInformation": {
|
|
"description": "Deprecated. Azure Arc Data Services data controller no longer expose any endpoint. All traffic are exposed through Kubernetes native API.",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/BasicLoginInformation"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"clusterId": {
|
|
"description": "If a CustomLocation is provided, this contains the ARM id of the connected cluster the custom location belongs to.",
|
|
"type": "string"
|
|
},
|
|
"extensionId": {
|
|
"description": "If a CustomLocation is provided, this contains the ARM id of the extension the custom location belongs to.",
|
|
"type": "string"
|
|
},
|
|
"infrastructure": {
|
|
"description": "The infrastructure the data controller is running on.",
|
|
"oneOf": [
|
|
{
|
|
"enum": [
|
|
"azure",
|
|
"gcp",
|
|
"aws",
|
|
"alibaba",
|
|
"onpremises",
|
|
"other"
|
|
],
|
|
"type": "string"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"k8sRaw": {
|
|
"description": "The raw kubernetes information",
|
|
"oneOf": [
|
|
{
|
|
"type": "object"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"lastUploadedDate": {
|
|
"description": "Last uploaded date from Kubernetes cluster. Defaults to current date time",
|
|
"format": "date-time",
|
|
"type": "string"
|
|
},
|
|
"logAnalyticsWorkspaceConfig": {
|
|
"description": "Log analytics workspace id and primary key",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/LogAnalyticsWorkspaceConfig"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"logsDashboardCredential": {
|
|
"description": "Login credential for logs dashboard on the Kubernetes cluster.",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/BasicLoginInformation"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"metricsDashboardCredential": {
|
|
"description": "Login credential for metrics dashboard on the Kubernetes cluster.",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/BasicLoginInformation"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"onPremiseProperty": {
|
|
"description": "Properties from the Kubernetes data controller",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/OnPremiseProperty"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"uploadServicePrincipal": {
|
|
"description": "Deprecated. Service principal is deprecated in favor of Arc Kubernetes service extension managed identity.",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/UploadServicePrincipal"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"uploadWatermark": {
|
|
"description": "Properties on upload watermark. Mostly timestamp for each upload data type",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/UploadWatermark"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"ExtendedLocation": {
|
|
"description": "The complex type of the extended location.",
|
|
"properties": {
|
|
"name": {
|
|
"description": "The name of the extended location.",
|
|
"type": "string"
|
|
},
|
|
"type": {
|
|
"description": "The type of the extended location.",
|
|
"oneOf": [
|
|
{
|
|
"enum": [
|
|
"CustomLocation"
|
|
],
|
|
"type": "string"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"FailoverCluster": {
|
|
"description": "Failover Cluster Instance properties.",
|
|
"properties": {},
|
|
"type": "object"
|
|
},
|
|
"FailoverGroupProperties": {
|
|
"additionalProperties": {},
|
|
"description": "The properties of a failover group resource.",
|
|
"properties": {
|
|
"partnerManagedInstanceId": {
|
|
"description": "The resource ID of the partner SQL managed instance.",
|
|
"type": "string"
|
|
},
|
|
"spec": {
|
|
"description": "The specifications of the failover group resource.",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/FailoverGroupSpec"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"status": {
|
|
"description": "The status of the failover group custom resource.",
|
|
"oneOf": [
|
|
{
|
|
"type": "object"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"required": [
|
|
"partnerManagedInstanceId",
|
|
"spec"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"FailoverGroupSpec": {
|
|
"additionalProperties": {},
|
|
"description": "The specifications of the failover group resource.",
|
|
"properties": {
|
|
"partnerMI": {
|
|
"description": "The name of the partner SQL managed instance.",
|
|
"type": "string"
|
|
},
|
|
"partnerMirroringCert": {
|
|
"description": "The mirroring endpoint public certificate for the partner SQL managed instance. Only PEM format is supported.",
|
|
"type": "string"
|
|
},
|
|
"partnerMirroringURL": {
|
|
"description": "The mirroring endpoint URL of the partner SQL managed instance.",
|
|
"type": "string"
|
|
},
|
|
"partnerSyncMode": {
|
|
"description": "The partner sync mode of the SQL managed instance.",
|
|
"oneOf": [
|
|
{
|
|
"enum": [
|
|
"async",
|
|
"sync"
|
|
],
|
|
"type": "string"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"role": {
|
|
"description": "The role of the SQL managed instance in this failover group.",
|
|
"oneOf": [
|
|
{
|
|
"enum": [
|
|
"primary",
|
|
"secondary",
|
|
"force-primary-allow-data-loss",
|
|
"force-secondary"
|
|
],
|
|
"type": "string"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"sharedName": {
|
|
"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.",
|
|
"type": "string"
|
|
},
|
|
"sourceMI": {
|
|
"description": "The name of the SQL managed instance with this failover group role.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"role"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"K8SActiveDirectory": {
|
|
"description": "The kubernetes active directory information.",
|
|
"properties": {
|
|
"accountName": {
|
|
"description": "Account name for AAD",
|
|
"type": "string"
|
|
},
|
|
"connector": {
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/K8SActiveDirectoryConnector"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"encryptionTypes": {
|
|
"description": "An array of encryption types",
|
|
"oneOf": [
|
|
{
|
|
"items": {
|
|
"type": "string"
|
|
},
|
|
"type": "array"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"keytabSecret": {
|
|
"description": "Keytab secret used to authenticate with Active Directory.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"K8SActiveDirectoryConnector": {
|
|
"properties": {
|
|
"name": {
|
|
"description": "Name of the connector",
|
|
"type": "string"
|
|
},
|
|
"namespace": {
|
|
"description": "Name space of the connector",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"K8SNetworkSettings": {
|
|
"description": "The kubernetes network settings information.",
|
|
"properties": {
|
|
"forceencryption": {
|
|
"description": "If 1, then SQL Server forces all connections to be encrypted. By default, this option is 0",
|
|
"oneOf": [
|
|
{
|
|
"type": "integer"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"tlsciphers": {
|
|
"description": "Specifies which ciphers are allowed by SQL Server for TLS",
|
|
"type": "string"
|
|
},
|
|
"tlsprotocols": {
|
|
"description": "A comma-separated list of which TLS protocols are allowed by SQL Server",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"K8SResourceRequirements": {
|
|
"additionalProperties": {},
|
|
"description": "The kubernetes resource limits and requests used to restrict or reserve resource usage.",
|
|
"properties": {
|
|
"limits": {
|
|
"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'.",
|
|
"oneOf": [
|
|
{
|
|
"additionalProperties": {
|
|
"type": "string"
|
|
},
|
|
"properties": {},
|
|
"type": "object"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"requests": {
|
|
"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'.",
|
|
"oneOf": [
|
|
{
|
|
"additionalProperties": {
|
|
"type": "string"
|
|
},
|
|
"properties": {},
|
|
"type": "object"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"K8SScheduling": {
|
|
"additionalProperties": {},
|
|
"description": "The kubernetes scheduling information.",
|
|
"properties": {
|
|
"default": {
|
|
"description": "The kubernetes scheduling options. It describes restrictions used to help Kubernetes select appropriate nodes to host the database service",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/K8SSchedulingOptions"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"K8SSchedulingOptions": {
|
|
"additionalProperties": {},
|
|
"description": "The kubernetes scheduling options. It describes restrictions used to help Kubernetes select appropriate nodes to host the database service",
|
|
"properties": {
|
|
"resources": {
|
|
"description": "The kubernetes resource limits and requests used to restrict or reserve resource usage.",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/K8SResourceRequirements"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"K8SSecurity": {
|
|
"additionalProperties": {},
|
|
"description": "The kubernetes security information.",
|
|
"properties": {
|
|
"activeDirectory": {
|
|
"description": "The kubernetes active directory information.",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/K8SActiveDirectory"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"adminLoginSecret": {
|
|
"description": "Admin login secret key",
|
|
"type": "string"
|
|
},
|
|
"serviceCertificateSecret": {
|
|
"description": "Service certificate secret used",
|
|
"type": "string"
|
|
},
|
|
"transparentDataEncryption": {
|
|
"description": "Transparent data encryption information.",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/K8StransparentDataEncryption"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"K8SSettings": {
|
|
"additionalProperties": {},
|
|
"description": "The kubernetes settings information.",
|
|
"properties": {
|
|
"network": {
|
|
"description": "The kubernetes network settings information.",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/K8SNetworkSettings"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"K8StransparentDataEncryption": {
|
|
"description": "Transparent data encryption information.",
|
|
"properties": {
|
|
"mode": {
|
|
"description": "Transparent data encryption mode. Can be Service Managed, Customer managed or disabled",
|
|
"type": "string"
|
|
},
|
|
"protectorSecret": {
|
|
"description": "Protector secret for customer managed Transparent data encryption mode",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"KeytabInformation": {
|
|
"description": "Keytab used for authenticate with Active Directory.",
|
|
"properties": {
|
|
"keytab": {
|
|
"description": "A base64-encoded keytab.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"LogAnalyticsWorkspaceConfig": {
|
|
"description": "Log analytics workspace id and primary key",
|
|
"properties": {
|
|
"primaryKey": {
|
|
"description": "Primary key of the workspace",
|
|
"type": "string"
|
|
},
|
|
"workspaceId": {
|
|
"description": "Azure Log Analytics workspace ID",
|
|
"oneOf": [
|
|
{
|
|
"pattern": "^[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"Monitoring": {
|
|
"description": "The monitoring configuration.",
|
|
"properties": {
|
|
"enabled": {
|
|
"description": "Indicates if monitoring is enabled for this SQL Server instance.",
|
|
"oneOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"OnPremiseProperty": {
|
|
"description": "Properties from the Kubernetes data controller",
|
|
"properties": {
|
|
"id": {
|
|
"description": "A globally unique ID identifying the associated Kubernetes cluster",
|
|
"oneOf": [
|
|
{
|
|
"pattern": "^[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"publicSigningKey": {
|
|
"description": "Certificate that contains the Kubernetes cluster public key used to verify signing",
|
|
"type": "string"
|
|
},
|
|
"signingCertificateThumbprint": {
|
|
"description": "Unique thumbprint returned to customer to verify the certificate being uploaded",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"id",
|
|
"publicSigningKey"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"PostgresInstanceProperties": {
|
|
"description": "Postgres Instance properties.",
|
|
"properties": {
|
|
"admin": {
|
|
"description": "The instance admin",
|
|
"type": "string"
|
|
},
|
|
"basicLoginInformation": {
|
|
"description": "Username and password for basic authentication.",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/BasicLoginInformation"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"dataControllerId": {
|
|
"description": "The data controller id",
|
|
"type": "string"
|
|
},
|
|
"k8sRaw": {
|
|
"description": "The raw kubernetes information",
|
|
"oneOf": [
|
|
{
|
|
"type": "object"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"lastUploadedDate": {
|
|
"description": "Last uploaded date from Kubernetes cluster. Defaults to current date time",
|
|
"format": "date-time",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"PostgresInstanceSku": {
|
|
"description": "The resource model definition representing SKU for Azure Database for PostgresSQL - Azure Arc",
|
|
"properties": {
|
|
"capacity": {
|
|
"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.",
|
|
"oneOf": [
|
|
{
|
|
"type": "integer"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"dev": {
|
|
"description": "Whether dev/test is enabled. When the dev field is set to true, the resource is used for dev/test purpose. ",
|
|
"oneOf": [
|
|
{
|
|
"default": true,
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"family": {
|
|
"description": "If the service has different generations of hardware, for the same SKU, then that can be captured here.",
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"description": "The name of the SKU. It is typically a letter+number code",
|
|
"type": "string"
|
|
},
|
|
"size": {
|
|
"description": "The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. ",
|
|
"type": "string"
|
|
},
|
|
"tier": {
|
|
"description": "This field is required to be implemented by the Resource Provider if the service has more than one tier.",
|
|
"oneOf": [
|
|
{
|
|
"enum": [
|
|
"Hyperscale"
|
|
],
|
|
"type": "string"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"required": [
|
|
"name"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"SqlAvailabilityGroupDatabaseReplicaResourceProperties": {
|
|
"description": "The properties of Arc Sql availability group database replica resource",
|
|
"properties": {
|
|
"databaseName": {
|
|
"description": "the database name.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"SqlAvailabilityGroupReplicaResourceProperties": {
|
|
"description": "The properties of Arc Sql availability group replica resource",
|
|
"properties": {
|
|
"configure": {
|
|
"description": "null",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/AvailabilityGroupConfigure"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"replicaName": {
|
|
"description": "the replica name.",
|
|
"type": "string"
|
|
},
|
|
"state": {
|
|
"description": "null",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/AvailabilityGroupState"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"SqlManagedInstanceK8SRaw": {
|
|
"additionalProperties": {},
|
|
"description": "The raw kubernetes information.",
|
|
"properties": {
|
|
"spec": {
|
|
"description": "The kubernetes spec information.",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/SqlManagedInstanceK8SSpec"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"SqlManagedInstanceK8SSpec": {
|
|
"additionalProperties": {},
|
|
"description": "The kubernetes spec information.",
|
|
"properties": {
|
|
"replicas": {
|
|
"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'.",
|
|
"oneOf": [
|
|
{
|
|
"type": "integer"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"scheduling": {
|
|
"description": "The kubernetes scheduling information.",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/K8SScheduling"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"security": {
|
|
"description": "The kubernetes security information.",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/K8SSecurity"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"settings": {
|
|
"description": "The kubernetes settings information.",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/K8SSettings"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"SqlManagedInstanceProperties": {
|
|
"description": "Properties of sqlManagedInstance.",
|
|
"properties": {
|
|
"activeDirectoryInformation": {
|
|
"description": "Active Directory information related to this SQL Managed Instance.",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/ActiveDirectoryInformation"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"admin": {
|
|
"description": "The instance admin user",
|
|
"type": "string"
|
|
},
|
|
"basicLoginInformation": {
|
|
"description": "Username and password for basic authentication.",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/BasicLoginInformation"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"clusterId": {
|
|
"description": "If a CustomLocation is provided, this contains the ARM id of the connected cluster the custom location belongs to.",
|
|
"type": "string"
|
|
},
|
|
"dataControllerId": {
|
|
"description": "null",
|
|
"type": "string"
|
|
},
|
|
"endTime": {
|
|
"description": "The instance end time",
|
|
"type": "string"
|
|
},
|
|
"extensionId": {
|
|
"description": "If a CustomLocation is provided, this contains the ARM id of the extension the custom location belongs to.",
|
|
"type": "string"
|
|
},
|
|
"k8sRaw": {
|
|
"description": "The raw kubernetes information",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/SqlManagedInstanceK8SRaw"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"lastUploadedDate": {
|
|
"description": "Last uploaded date from Kubernetes cluster. Defaults to current date time",
|
|
"format": "date-time",
|
|
"type": "string"
|
|
},
|
|
"licenseType": {
|
|
"description": "The license type to apply for this managed instance.",
|
|
"oneOf": [
|
|
{
|
|
"enum": [
|
|
"BasePrice",
|
|
"LicenseIncluded",
|
|
"DisasterRecovery"
|
|
],
|
|
"type": "string"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"startTime": {
|
|
"description": "The instance start time",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"SqlManagedInstanceSku": {
|
|
"description": "The resource model definition representing SKU for Azure Managed Instance - Azure Arc",
|
|
"properties": {
|
|
"capacity": {
|
|
"description": "The SKU capacity",
|
|
"oneOf": [
|
|
{
|
|
"type": "integer"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"dev": {
|
|
"description": "Whether dev/test is enabled. When the dev field is set to true, the resource is used for dev/test purpose. ",
|
|
"oneOf": [
|
|
{
|
|
"default": true,
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"family": {
|
|
"description": "The SKU family",
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"description": "The name of the SKU.",
|
|
"oneOf": [
|
|
{
|
|
"enum": [
|
|
"vCore"
|
|
],
|
|
"type": "string"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"size": {
|
|
"description": "The SKU size. When the name field is the combination of tier and some other value, this would be the standalone code. ",
|
|
"type": "string"
|
|
},
|
|
"tier": {
|
|
"description": "The pricing tier for the instance.",
|
|
"oneOf": [
|
|
{
|
|
"enum": [
|
|
"GeneralPurpose",
|
|
"BusinessCritical"
|
|
],
|
|
"type": "string"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"required": [
|
|
"name"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"SqlServerAvailabilityGroupResourceProperties": {
|
|
"description": "The properties of Arc Sql Server availability group resource",
|
|
"properties": {
|
|
"databases": {
|
|
"description": "A list of Availability Group Database Replicas.",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/SqlServerAvailabilityGroupResourcePropertiesDatabases"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"info": {
|
|
"description": "Availability Group Info",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/AvailabilityGroupInfo"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"replicas": {
|
|
"description": "A list of Availability Group Replicas.",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/SqlServerAvailabilityGroupResourcePropertiesReplicas"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"SqlServerAvailabilityGroupResourcePropertiesDatabases": {
|
|
"description": "A list of Availability Group Database Replicas.",
|
|
"properties": {
|
|
"value": {
|
|
"description": "Array of Availability Group Database Replicas.",
|
|
"oneOf": [
|
|
{
|
|
"items": {
|
|
"$ref": "#/definitions/SqlAvailabilityGroupDatabaseReplicaResourceProperties"
|
|
},
|
|
"type": "array"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"SqlServerAvailabilityGroupResourcePropertiesReplicas": {
|
|
"description": "A list of Availability Group Replicas.",
|
|
"properties": {
|
|
"value": {
|
|
"description": "Array of Availability Group Replicas.",
|
|
"oneOf": [
|
|
{
|
|
"items": {
|
|
"$ref": "#/definitions/SqlAvailabilityGroupReplicaResourceProperties"
|
|
},
|
|
"type": "array"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"SqlServerDatabaseResourceProperties": {
|
|
"description": "The properties of Arc Sql Server database resource",
|
|
"properties": {
|
|
"backupInformation": {
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/SqlServerDatabaseResourcePropertiesBackupInformation"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"backupPolicy": {
|
|
"description": "The backup profile for the SQL server.",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/BackupPolicy"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"collationName": {
|
|
"description": "Collation of the database.",
|
|
"type": "string"
|
|
},
|
|
"compatibilityLevel": {
|
|
"description": "Compatibility level of the database",
|
|
"oneOf": [
|
|
{
|
|
"maximum": 200,
|
|
"minimum": 80,
|
|
"type": "integer"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"createMode": {
|
|
"description": "Database create mode. PointInTimeRestore: Create a database by restoring a point in time backup of an existing database. sourceDatabaseId and restorePointInTime must be specified.",
|
|
"oneOf": [
|
|
{
|
|
"enum": [
|
|
"Default",
|
|
"PointInTimeRestore"
|
|
],
|
|
"type": "string"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"databaseCreationDate": {
|
|
"description": "Creation date of the database.",
|
|
"format": "date-time",
|
|
"type": "string"
|
|
},
|
|
"databaseOptions": {
|
|
"description": "List of features that are enabled for the database",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/SqlServerDatabaseResourcePropertiesDatabaseOptions"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"isReadOnly": {
|
|
"description": "Whether the database is read only or not.",
|
|
"oneOf": [
|
|
{
|
|
"type": "boolean"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"recoveryMode": {
|
|
"description": "Status of the database.",
|
|
"oneOf": [
|
|
{
|
|
"enum": [
|
|
"Full",
|
|
"Bulk-logged",
|
|
"Simple"
|
|
],
|
|
"type": "string"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"restorePointInTime": {
|
|
"description": "Conditional. If createMode is PointInTimeRestore, this value is required. Specifies the point in time (ISO8601 format) of the source database that will be restored to create the new database.",
|
|
"format": "date-time",
|
|
"type": "string"
|
|
},
|
|
"sizeMB": {
|
|
"description": "Size of the database.",
|
|
"oneOf": [
|
|
{
|
|
"type": "number"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"sourceDatabaseId": {
|
|
"description": "The resource identifier of the source database associated with create operation of this database.",
|
|
"type": "string"
|
|
},
|
|
"spaceAvailableMB": {
|
|
"description": "Space left of the database.",
|
|
"oneOf": [
|
|
{
|
|
"type": "number"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"state": {
|
|
"description": "State of the database.",
|
|
"oneOf": [
|
|
{
|
|
"enum": [
|
|
"Online",
|
|
"Restoring",
|
|
"Recovering",
|
|
"RecoveryPending",
|
|
"Suspect",
|
|
"Emergency",
|
|
"Offline",
|
|
"Copying",
|
|
"OfflineSecondary"
|
|
],
|
|
"type": "string"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"SqlServerDatabaseResourcePropertiesBackupInformation": {
|
|
"properties": {
|
|
"lastFullBackup": {
|
|
"description": "Date time of last full backup.",
|
|
"format": "date-time",
|
|
"type": "string"
|
|
},
|
|
"lastLogBackup": {
|
|
"description": "Date time of last log backup.",
|
|
"format": "date-time",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"SqlServerDatabaseResourcePropertiesDatabaseOptions": {
|
|
"description": "List of features that are enabled for the database",
|
|
"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"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"SqlServerInstanceProperties": {
|
|
"description": "Properties of SqlServerInstance.",
|
|
"properties": {
|
|
"backupPolicy": {
|
|
"description": "The backup profile for the SQL server.",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/BackupPolicy"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"cores": {
|
|
"description": "The number of total cores of the Operating System Environment (OSE) hosting the SQL Server instance.",
|
|
"type": "string"
|
|
},
|
|
"edition": {
|
|
"description": "SQL Server edition.",
|
|
"oneOf": [
|
|
{
|
|
"enum": [
|
|
"Evaluation",
|
|
"Enterprise",
|
|
"Standard",
|
|
"Web",
|
|
"Developer",
|
|
"Express",
|
|
"Business Intelligence"
|
|
],
|
|
"type": "string"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"failoverCluster": {
|
|
"description": "Failover Cluster Instance properties.",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/FailoverCluster"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"hostType": {
|
|
"description": "Type of host for Azure Arc SQL Server",
|
|
"oneOf": [
|
|
{
|
|
"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"
|
|
],
|
|
"type": "string"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"instanceName": {
|
|
"description": "SQL Server instance name.",
|
|
"type": "string"
|
|
},
|
|
"monitoring": {
|
|
"description": "The monitoring configuration.",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/Monitoring"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"upgradeLockedUntil": {
|
|
"description": "Upgrade Action for this resource is locked until it expires. The Expiration time indicated by this value. It is not locked when it is empty.",
|
|
"format": "date-time",
|
|
"type": "string"
|
|
},
|
|
"version": {
|
|
"description": "SQL Server version.",
|
|
"oneOf": [
|
|
{
|
|
"enum": [
|
|
"SQL Server 2012",
|
|
"SQL Server 2014",
|
|
"SQL Server 2016",
|
|
"SQL Server 2017",
|
|
"SQL Server 2019",
|
|
"SQL Server 2022",
|
|
"Unknown"
|
|
],
|
|
"type": "string"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"UploadServicePrincipal": {
|
|
"description": "Service principal for uploading billing, metrics and logs.",
|
|
"properties": {
|
|
"authority": {
|
|
"description": "Authority for the service principal. Example: https://login.microsoftonline.com/",
|
|
"type": "string"
|
|
},
|
|
"clientId": {
|
|
"description": "Client ID of the service principal for uploading data.",
|
|
"oneOf": [
|
|
{
|
|
"pattern": "^[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"clientSecret": {
|
|
"description": "Secret of the service principal",
|
|
"type": "string"
|
|
},
|
|
"tenantId": {
|
|
"description": "Tenant ID of the service principal.",
|
|
"oneOf": [
|
|
{
|
|
"pattern": "^[0-9a-fA-F]{8}(-[0-9a-fA-F]{4}){3}-[0-9a-fA-F]{12}$",
|
|
"type": "string"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"UploadWatermark": {
|
|
"description": "Properties on upload watermark. Mostly timestamp for each upload data type",
|
|
"properties": {
|
|
"logs": {
|
|
"description": "Last uploaded date for logs from kubernetes cluster. Defaults to current date time",
|
|
"format": "date-time",
|
|
"type": "string"
|
|
},
|
|
"metrics": {
|
|
"description": "Last uploaded date for metrics from kubernetes cluster. Defaults to current date time",
|
|
"format": "date-time",
|
|
"type": "string"
|
|
},
|
|
"usages": {
|
|
"description": "Last uploaded date for usages from kubernetes cluster. Defaults to current date time",
|
|
"format": "date-time",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"type": "object"
|
|
},
|
|
"dataControllers_activeDirectoryConnectors_childResource": {
|
|
"description": "Microsoft.AzureArcData/dataControllers/activeDirectoryConnectors",
|
|
"properties": {
|
|
"apiVersion": {
|
|
"enum": [
|
|
"2024-01-01"
|
|
],
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"description": "The name of the Active Directory connector instance",
|
|
"type": "string"
|
|
},
|
|
"properties": {
|
|
"description": "null",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/ActiveDirectoryConnectorProperties"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"type": {
|
|
"enum": [
|
|
"activeDirectoryConnectors"
|
|
],
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"name",
|
|
"properties",
|
|
"apiVersion",
|
|
"type"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"sqlManagedInstances_failoverGroups_childResource": {
|
|
"description": "Microsoft.AzureArcData/sqlManagedInstances/failoverGroups",
|
|
"properties": {
|
|
"apiVersion": {
|
|
"enum": [
|
|
"2024-01-01"
|
|
],
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"description": "The name of the Failover Group",
|
|
"type": "string"
|
|
},
|
|
"properties": {
|
|
"description": "null",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/FailoverGroupProperties"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"type": {
|
|
"enum": [
|
|
"failoverGroups"
|
|
],
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"name",
|
|
"properties",
|
|
"apiVersion",
|
|
"type"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"sqlServerInstances_availabilityGroups_childResource": {
|
|
"description": "Microsoft.AzureArcData/sqlServerInstances/availabilityGroups",
|
|
"properties": {
|
|
"apiVersion": {
|
|
"enum": [
|
|
"2024-01-01"
|
|
],
|
|
"type": "string"
|
|
},
|
|
"location": {
|
|
"description": "The geo-location where the resource lives",
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"description": "Name of SQL Availability Group",
|
|
"type": "string"
|
|
},
|
|
"properties": {
|
|
"description": "Properties of Arc Sql Server availability group",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/SqlServerAvailabilityGroupResourceProperties"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"tags": {
|
|
"description": "Resource tags.",
|
|
"oneOf": [
|
|
{
|
|
"additionalProperties": {
|
|
"type": "string"
|
|
},
|
|
"properties": {},
|
|
"type": "object"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"type": {
|
|
"enum": [
|
|
"availabilityGroups"
|
|
],
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"name",
|
|
"properties",
|
|
"apiVersion",
|
|
"type"
|
|
],
|
|
"type": "object"
|
|
},
|
|
"sqlServerInstances_databases_childResource": {
|
|
"description": "Microsoft.AzureArcData/sqlServerInstances/databases",
|
|
"properties": {
|
|
"apiVersion": {
|
|
"enum": [
|
|
"2024-01-01"
|
|
],
|
|
"type": "string"
|
|
},
|
|
"location": {
|
|
"description": "The geo-location where the resource lives",
|
|
"type": "string"
|
|
},
|
|
"name": {
|
|
"description": "Name of the database",
|
|
"type": "string"
|
|
},
|
|
"properties": {
|
|
"description": "Properties of Arc Sql Server database",
|
|
"oneOf": [
|
|
{
|
|
"$ref": "#/definitions/SqlServerDatabaseResourceProperties"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"tags": {
|
|
"description": "Resource tags.",
|
|
"oneOf": [
|
|
{
|
|
"additionalProperties": {
|
|
"type": "string"
|
|
},
|
|
"properties": {},
|
|
"type": "object"
|
|
},
|
|
{
|
|
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
|
}
|
|
]
|
|
},
|
|
"type": {
|
|
"enum": [
|
|
"databases"
|
|
],
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"name",
|
|
"properties",
|
|
"apiVersion",
|
|
"type"
|
|
],
|
|
"type": "object"
|
|
}
|
|
}
|
|
} |