azure-resource-manager-schemas/schemas/2022-05-01/Microsoft.AppConfiguration....

536 строки
16 KiB
JSON

{
"id": "https://schema.management.azure.com/schemas/2022-05-01/Microsoft.AppConfiguration.json#",
"title": "Microsoft.AppConfiguration",
"description": "Microsoft AppConfiguration Resource Types",
"$schema": "http://json-schema.org/draft-04/schema#",
"resourceDefinitions": {
"configurationStores": {
"description": "Microsoft.AppConfiguration/configurationStores",
"properties": {
"apiVersion": {
"enum": [
"2022-05-01"
],
"type": "string"
},
"identity": {
"description": "The managed identity information, if configured.",
"oneOf": [
{
"$ref": "#/definitions/ResourceIdentity"
},
{
"$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 configuration store.",
"oneOf": [
{
"maxLength": 50,
"minLength": 5,
"pattern": "^[a-zA-Z0-9_-]*$",
"type": "string"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"properties": {
"description": "The properties of a configuration store.",
"oneOf": [
{
"$ref": "#/definitions/ConfigurationStoreProperties"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"resources": {
"items": {
"oneOf": [
{
"$ref": "#/definitions/configurationStores_keyValues_childResource"
},
{
"$ref": "#/definitions/configurationStores_privateEndpointConnections_childResource"
}
]
},
"type": "array"
},
"sku": {
"description": "The sku of the configuration store.",
"oneOf": [
{
"$ref": "#/definitions/Sku"
},
{
"$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.AppConfiguration/configurationStores"
],
"type": "string"
}
},
"required": [
"name",
"properties",
"apiVersion",
"type"
],
"type": "object"
},
"configurationStores_keyValues": {
"description": "Microsoft.AppConfiguration/configurationStores/keyValues",
"properties": {
"apiVersion": {
"enum": [
"2022-05-01"
],
"type": "string"
},
"name": {
"description": "Identifier of key and label combination. Key and label are joined by $ character. Label is optional.",
"type": "string"
},
"properties": {
"description": "All key-value properties.",
"oneOf": [
{
"$ref": "#/definitions/KeyValueProperties"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"type": {
"enum": [
"Microsoft.AppConfiguration/configurationStores/keyValues"
],
"type": "string"
}
},
"required": [
"name",
"properties",
"apiVersion",
"type"
],
"type": "object"
},
"configurationStores_privateEndpointConnections": {
"description": "Microsoft.AppConfiguration/configurationStores/privateEndpointConnections",
"properties": {
"apiVersion": {
"enum": [
"2022-05-01"
],
"type": "string"
},
"name": {
"description": "Private endpoint connection name",
"type": "string"
},
"properties": {
"description": "The properties of a private endpoint.",
"oneOf": [
{
"$ref": "#/definitions/PrivateEndpointConnectionProperties"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"type": {
"enum": [
"Microsoft.AppConfiguration/configurationStores/privateEndpointConnections"
],
"type": "string"
}
},
"required": [
"name",
"properties",
"apiVersion",
"type"
],
"type": "object"
}
},
"definitions": {
"ConfigurationStoreProperties": {
"description": "The properties of a configuration store.",
"properties": {
"createMode": {
"description": "Indicates whether the configuration store need to be recovered.",
"oneOf": [
{
"enum": [
"Recover",
"Default"
],
"type": "string"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"disableLocalAuth": {
"description": "Disables all authentication methods other than AAD authentication.",
"oneOf": [
{
"default": false,
"type": "boolean"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"enablePurgeProtection": {
"description": "Property specifying whether protection against purge is enabled for this configuration store.",
"oneOf": [
{
"default": false,
"type": "boolean"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"encryption": {
"description": "The encryption settings of the configuration store.",
"oneOf": [
{
"$ref": "#/definitions/EncryptionProperties"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"publicNetworkAccess": {
"description": "Control permission for data plane traffic coming from public networks while private endpoint is enabled.",
"oneOf": [
{
"enum": [
"Enabled",
"Disabled"
],
"type": "string"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"softDeleteRetentionInDays": {
"description": "The amount of time in days that the configuration store will be retained when it is soft deleted.",
"oneOf": [
{
"default": 7,
"type": "integer"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
}
},
"type": "object"
},
"EncryptionProperties": {
"description": "The encryption settings for a configuration store.",
"properties": {
"keyVaultProperties": {
"description": "Key vault properties.",
"oneOf": [
{
"$ref": "#/definitions/KeyVaultProperties"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
}
},
"type": "object"
},
"KeyValueProperties": {
"description": "All key-value properties.",
"properties": {
"contentType": {
"description": "The content type of the key-value's value.\r\nProviding a proper content-type can enable transformations of values when they are retrieved by applications.",
"type": "string"
},
"tags": {
"description": "A dictionary of tags that can help identify what a key-value may be applicable for.",
"oneOf": [
{
"additionalProperties": {
"type": "string"
},
"properties": {},
"type": "object"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"value": {
"description": "The value of the key-value.",
"type": "string"
}
},
"type": "object"
},
"KeyVaultProperties": {
"description": "Settings concerning key vault encryption for a configuration store.",
"properties": {
"identityClientId": {
"description": "The client id of the identity which will be used to access key vault.",
"type": "string"
},
"keyIdentifier": {
"description": "The URI of the key vault key used to encrypt data.",
"type": "string"
}
},
"type": "object"
},
"PrivateEndpoint": {
"description": "Private endpoint which a connection belongs to.",
"properties": {
"id": {
"description": "The resource Id for private endpoint",
"type": "string"
}
},
"type": "object"
},
"PrivateEndpointConnectionProperties": {
"description": "Properties of a private endpoint connection.",
"properties": {
"privateEndpoint": {
"description": "The resource of private endpoint.",
"oneOf": [
{
"$ref": "#/definitions/PrivateEndpoint"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"privateLinkServiceConnectionState": {
"description": "A collection of information about the state of the connection between service consumer and provider.",
"oneOf": [
{
"$ref": "#/definitions/PrivateLinkServiceConnectionState"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
}
},
"required": [
"privateLinkServiceConnectionState"
],
"type": "object"
},
"PrivateLinkServiceConnectionState": {
"description": "The state of a private link service connection.",
"properties": {
"description": {
"description": "The private link service connection description.",
"type": "string"
},
"status": {
"description": "The private link service connection status.",
"oneOf": [
{
"enum": [
"Pending",
"Approved",
"Rejected",
"Disconnected"
],
"type": "string"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
}
},
"type": "object"
},
"ResourceIdentity": {
"description": "An identity that can be associated with a resource.",
"properties": {
"type": {
"description": "The type of managed identity used. The type 'SystemAssigned, UserAssigned' includes both an implicitly created identity and a set of user-assigned identities. The type 'None' will remove any identities.",
"oneOf": [
{
"enum": [
"None",
"SystemAssigned",
"UserAssigned",
"SystemAssigned, UserAssigned"
],
"type": "string"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"userAssignedIdentities": {
"description": "The list of user-assigned identities associated with the resource. The user-assigned identity dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}'.",
"oneOf": [
{
"additionalProperties": {
"$ref": "#/definitions/UserIdentity"
},
"properties": {},
"type": "object"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
}
},
"type": "object"
},
"Sku": {
"description": "Describes a configuration store SKU.",
"properties": {
"name": {
"description": "The SKU name of the configuration store.",
"type": "string"
}
},
"required": [
"name"
],
"type": "object"
},
"UserIdentity": {
"description": "A resource identity that is managed by the user of the service.",
"properties": {},
"type": "object"
},
"configurationStores_keyValues_childResource": {
"description": "Microsoft.AppConfiguration/configurationStores/keyValues",
"properties": {
"apiVersion": {
"enum": [
"2022-05-01"
],
"type": "string"
},
"name": {
"description": "Identifier of key and label combination. Key and label are joined by $ character. Label is optional.",
"type": "string"
},
"properties": {
"description": "All key-value properties.",
"oneOf": [
{
"$ref": "#/definitions/KeyValueProperties"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"type": {
"enum": [
"keyValues"
],
"type": "string"
}
},
"required": [
"name",
"properties",
"apiVersion",
"type"
],
"type": "object"
},
"configurationStores_privateEndpointConnections_childResource": {
"description": "Microsoft.AppConfiguration/configurationStores/privateEndpointConnections",
"properties": {
"apiVersion": {
"enum": [
"2022-05-01"
],
"type": "string"
},
"name": {
"description": "Private endpoint connection name",
"type": "string"
},
"properties": {
"description": "The properties of a private endpoint.",
"oneOf": [
{
"$ref": "#/definitions/PrivateEndpointConnectionProperties"
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
}
]
},
"type": {
"enum": [
"privateEndpointConnections"
],
"type": "string"
}
},
"required": [
"name",
"properties",
"apiVersion",
"type"
],
"type": "object"
}
}
}