diff --git a/schemas/2018-07-01-preview/Microsoft.ServiceFabricMesh.json b/schemas/2018-07-01-preview/Microsoft.ServiceFabricMesh.json index 51010985e7..94b5e2c76d 100644 --- a/schemas/2018-07-01-preview/Microsoft.ServiceFabricMesh.json +++ b/schemas/2018-07-01-preview/Microsoft.ServiceFabricMesh.json @@ -1,992 +1,992 @@ { - "id": "https://schema.management.azure.com/schemas/2018-07-01-preview/Microsoft.ServiceFabricMesh.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.ServiceFabricMesh", - "description": "Microsoft ServiceFabricMesh Resource Types", - "resourceDefinitions": { - "applications": { - "type": "object", + "id": "https://schema.management.azure.com/schemas/2018-07-01-preview/Microsoft.ServiceFabricMesh.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.ServiceFabricMesh", + "description": "Microsoft ServiceFabricMesh Resource Types", + "resourceDefinitions": { + "applications": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2018-07-01-preview" + ] + }, + "location": { + "type": "string", + "description": "The geo-location where the resource lives" + }, + "name": { + "type": "string", + "description": "The identity of the application." + }, "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2018-07-01-preview" - ] - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "name": { - "type": "string", - "description": "The identity of the application." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ApplicationResourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "This type describes properties of an application 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.ServiceFabricMesh/applications" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.ServiceFabricMesh/applications" + "oneOf": [ + { + "$ref": "#/definitions/ApplicationResourceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "This type describes properties of an application 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.ServiceFabricMesh/applications" + ] + } }, - "networks": { - "type": "object", + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ServiceFabricMesh/applications" + }, + "networks": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2018-07-01-preview" + ] + }, + "location": { + "type": "string", + "description": "The geo-location where the resource lives" + }, + "name": { + "type": "string", + "description": "The identity of the network." + }, "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2018-07-01-preview" - ] - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "name": { - "type": "string", - "description": "The identity of the network." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/NetworkResourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes properties of a network 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.ServiceFabricMesh/networks" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.ServiceFabricMesh/networks" + "oneOf": [ + { + "$ref": "#/definitions/NetworkResourceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes properties of a network 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.ServiceFabricMesh/networks" + ] + } }, - "volumes": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2018-07-01-preview" - ] - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "name": { - "type": "string", - "description": "The identity of the volume." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/VolumeResourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes properties of a volume 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.ServiceFabricMesh/volumes" - ] - } - }, - "required": [ - "apiVersion", - "name", - "properties", - "type" - ], - "description": "Microsoft.ServiceFabricMesh/volumes" - } + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ServiceFabricMesh/networks" }, - "definitions": { - "ApplicationResourceProperties": { - "type": "object", + "volumes": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2018-07-01-preview" + ] + }, + "location": { + "type": "string", + "description": "The geo-location where the resource lives" + }, + "name": { + "type": "string", + "description": "The identity of the volume." + }, "properties": { - "debugParams": { - "type": "string", - "description": "Internal use." - }, - "description": { - "type": "string", - "description": "User readable description of the application." - }, - "diagnostics": { - "oneOf": [ - { - "$ref": "#/definitions/DiagnosticsDescription" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes the diagnostics options available" - }, - "services": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/ServiceResourceDescription" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "describes the services in the application." - } + "oneOf": [ + { + "$ref": "#/definitions/VolumeResourceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes properties of a volume resource." }, - "description": "This type describes properties of an application 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.ServiceFabricMesh/volumes" + ] + } }, - "AzureInternalMonitoringPipelineSinkDescription": { - "type": "object", - "properties": { - "accountName": { - "type": "string", - "description": "Azure Internal monitoring pipeline account." - }, - "autoKeyConfigUrl": { - "type": "string", - "description": "Azure Internal monitoring pipeline autokey associated with the certificate." - }, - "fluentdConfigUrl": { - "type": "object", - "properties": {}, - "description": "Azure Internal monitoring agent fluentd configuration." - }, - "kind": { - "type": "string", - "enum": [ - "AzureInternalMonitoringPipeline" - ] - }, - "maConfigUrl": { - "type": "string", - "description": "Azure Internal monitoring agent configuration." - }, - "namespace": { - "type": "string", - "description": "Azure Internal monitoring pipeline account namespace." - } - }, - "required": [ - "kind" - ], - "description": "Diagnostics settings for Geneva." + "required": [ + "apiVersion", + "name", + "properties", + "type" + ], + "description": "Microsoft.ServiceFabricMesh/volumes" + } + }, + "definitions": { + "ApplicationResourceProperties": { + "type": "object", + "properties": { + "debugParams": { + "type": "string", + "description": "Internal use." + }, + "description": { + "type": "string", + "description": "User readable description of the application." + }, + "diagnostics": { + "oneOf": [ + { + "$ref": "#/definitions/DiagnosticsDescription" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the diagnostics options available" + }, + "services": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ServiceResourceDescription" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "describes the services in the application." + } }, - "ContainerCodePackageProperties": { - "type": "object", - "properties": { - "commands": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Command array to execute within the container in exec form." - }, - "diagnostics": { - "oneOf": [ - { - "$ref": "#/definitions/DiagnosticsRef" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Reference to sinks in DiagnosticsDescription." - }, - "endpoints": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/EndpointProperties" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The endpoints exposed by this container." - }, - "entrypoint": { - "type": "string", - "description": "Override for the default entry point in the container." - }, - "environmentVariables": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/EnvironmentVariable" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The environment variables to set in this container" - }, - "image": { - "type": "string", - "description": "The Container image to use." - }, - "imageRegistryCredential": { - "oneOf": [ - { - "$ref": "#/definitions/ImageRegistryCredential" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Image registry credential." - }, - "labels": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/ContainerLabel" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The labels to set in this container." - }, - "name": { - "type": "string", - "description": "The name of the code package." - }, - "resources": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceRequirements" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "This type describes the resource requirements for a container or a service." - }, - "settings": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/Setting" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The settings to set in this container. The setting file path can be fetched from environment variable \"Fabric_SettingPath\". The path for Windows container is \"C:\\\\secrets\". The path for Linux container is \"/var/secrets\"." - }, - "volumeRefs": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/ContainerVolume" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The volumes to be attached to the container." - } - }, - "required": [ - "image", - "name", - "resources" - ], - "description": "Describes a container and its runtime properties." + "description": "This type describes properties of an application resource." + }, + "AzureInternalMonitoringPipelineSinkDescription": { + "type": "object", + "properties": { + "accountName": { + "type": "string", + "description": "Azure Internal monitoring pipeline account." + }, + "autoKeyConfigUrl": { + "type": "string", + "description": "Azure Internal monitoring pipeline autokey associated with the certificate." + }, + "fluentdConfigUrl": { + "type": "object", + "properties": {}, + "description": "Azure Internal monitoring agent fluentd configuration." + }, + "kind": { + "type": "string", + "enum": [ + "AzureInternalMonitoringPipeline" + ] + }, + "maConfigUrl": { + "type": "string", + "description": "Azure Internal monitoring agent configuration." + }, + "namespace": { + "type": "string", + "description": "Azure Internal monitoring pipeline account namespace." + } }, - "ContainerLabel": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "The name of the container label." - }, - "value": { - "type": "string", - "description": "The value of the container label." - } - }, - "required": [ - "name", - "value" - ], - "description": "Describes a container label." + "required": [ + "kind" + ], + "description": "Diagnostics settings for Geneva." + }, + "ContainerCodePackageProperties": { + "type": "object", + "properties": { + "commands": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Command array to execute within the container in exec form." + }, + "diagnostics": { + "oneOf": [ + { + "$ref": "#/definitions/DiagnosticsRef" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Reference to sinks in DiagnosticsDescription." + }, + "endpoints": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/EndpointProperties" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The endpoints exposed by this container." + }, + "entrypoint": { + "type": "string", + "description": "Override for the default entry point in the container." + }, + "environmentVariables": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/EnvironmentVariable" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The environment variables to set in this container" + }, + "image": { + "type": "string", + "description": "The Container image to use." + }, + "imageRegistryCredential": { + "oneOf": [ + { + "$ref": "#/definitions/ImageRegistryCredential" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Image registry credential." + }, + "labels": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ContainerLabel" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The labels to set in this container." + }, + "name": { + "type": "string", + "description": "The name of the code package." + }, + "resources": { + "oneOf": [ + { + "$ref": "#/definitions/ResourceRequirements" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "This type describes the resource requirements for a container or a service." + }, + "settings": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/Setting" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The settings to set in this container. The setting file path can be fetched from environment variable \"Fabric_SettingPath\". The path for Windows container is \"C:\\\\secrets\". The path for Linux container is \"/var/secrets\"." + }, + "volumeRefs": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ContainerVolume" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The volumes to be attached to the container." + } }, - "ContainerVolume": { - "type": "object", - "properties": { - "destinationPath": { - "type": "string", - "description": "The path within the container at which the volume should be mounted. Only valid path characters are allowed." - }, - "name": { - "type": "string", - "description": "Name of the volume." - }, - "readOnly": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The flag indicating whether the volume is read only. Default is 'false'." - } - }, - "required": [ - "destinationPath", - "name" - ], - "description": "Describes how a volume is attached to a container." + "required": [ + "image", + "name", + "resources" + ], + "description": "Describes a container and its runtime properties." + }, + "ContainerLabel": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the container label." + }, + "value": { + "type": "string", + "description": "The value of the container label." + } }, - "DiagnosticsDescription": { - "type": "object", - "properties": { - "defaultSinkRefs": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The sinks to be used if diagnostics is enabled. Sink choices can be overridden at the service and code package level." - }, - "enabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Status of whether or not sinks are enabled." - }, - "sinks": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/DiagnosticsSinkProperties" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of supported sinks that can be referenced." - } + "required": [ + "name", + "value" + ], + "description": "Describes a container label." + }, + "ContainerVolume": { + "type": "object", + "properties": { + "destinationPath": { + "type": "string", + "description": "The path within the container at which the volume should be mounted. Only valid path characters are allowed." + }, + "name": { + "type": "string", + "description": "Name of the volume." }, - "description": "Describes the diagnostics options available" + "readOnly": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The flag indicating whether the volume is read only. Default is 'false'." + } }, - "DiagnosticsRef": { - "type": "object", - "properties": { - "enabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Status of whether or not sinks are enabled." - }, - "sinkRefs": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of sinks to be used if enabled. References the list of sinks in DiagnosticsDescription." - } + "required": [ + "destinationPath", + "name" + ], + "description": "Describes how a volume is attached to a container." + }, + "DiagnosticsDescription": { + "type": "object", + "properties": { + "defaultSinkRefs": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The sinks to be used if diagnostics is enabled. Sink choices can be overridden at the service and code package level." }, - "description": "Reference to sinks in DiagnosticsDescription." + "enabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Status of whether or not sinks are enabled." + }, + "sinks": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/DiagnosticsSinkProperties" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of supported sinks that can be referenced." + } }, - "DiagnosticsSinkProperties": { - "type": "object", - "oneOf": [ - { - "$ref": "#/definitions/AzureInternalMonitoringPipelineSinkDescription" - } - ], - "properties": { - "description": { - "type": "string", - "description": "A description of the sink." - }, - "name": { - "type": "string", - "description": "Name of the sink. This value is referenced by DiagnosticsReferenceDescription" - } - }, - "description": "Properties of a DiagnosticsSink." + "description": "Describes the diagnostics options available" + }, + "DiagnosticsRef": { + "type": "object", + "properties": { + "enabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Status of whether or not sinks are enabled." + }, + "sinkRefs": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of sinks to be used if enabled. References the list of sinks in DiagnosticsDescription." + } }, - "EndpointProperties": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "The name of the endpoint." - }, - "port": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Port used by the container." - } - }, - "required": [ - "name" - ], - "description": "Describes a container endpoint." + "description": "Reference to sinks in DiagnosticsDescription." + }, + "DiagnosticsSinkProperties": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/AzureInternalMonitoringPipelineSinkDescription" + } + ], + "properties": { + "description": { + "type": "string", + "description": "A description of the sink." + }, + "name": { + "type": "string", + "description": "Name of the sink. This value is referenced by DiagnosticsReferenceDescription" + } }, - "EnvironmentVariable": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "The name of the environment variable." - }, - "value": { - "type": "string", - "description": "The value of the environment variable." - } - }, - "description": "Describes an environment variable for the container." + "description": "Properties of a DiagnosticsSink." + }, + "EndpointProperties": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the endpoint." + }, + "port": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Port used by the container." + } }, - "ImageRegistryCredential": { - "type": "object", - "properties": { - "password": { - "type": "string", - "description": "The password for the private registry." - }, - "server": { - "type": "string", - "description": "Docker image registry server, without protocol such as `http` and `https`." - }, - "username": { - "type": "string", - "description": "The username for the private registry." - } - }, - "required": [ - "server", - "username" - ], - "description": "Image registry credential." + "required": [ + "name" + ], + "description": "Describes a container endpoint." + }, + "EnvironmentVariable": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the environment variable." + }, + "value": { + "type": "string", + "description": "The value of the environment variable." + } }, - "IngressConfig": { - "type": "object", - "properties": { - "layer4": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/Layer4IngressConfig" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Configuration for layer4 public connectivity for this network." - }, - "qosLevel": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Bronze" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The QoS tier for ingress." - } + "description": "Describes an environment variable for the container." + }, + "ImageRegistryCredential": { + "type": "object", + "properties": { + "password": { + "type": "string", + "description": "The password for the private registry." + }, + "server": { + "type": "string", + "description": "Docker image registry server, without protocol such as `http` and `https`." }, - "description": "Describes public connectivity configuration for the network." + "username": { + "type": "string", + "description": "The username for the private registry." + } }, - "Layer4IngressConfig": { - "type": "object", - "properties": { - "applicationName": { - "type": "string", - "description": "The application name which contains the service to be exposed." - }, - "endpointName": { - "type": "string", - "description": "The service endpoint that needs to be exposed." - }, - "name": { - "type": "string", - "description": "Layer4 ingress config name." - }, - "publicPort": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies the public port at which the service endpoint below needs to be exposed." - }, - "serviceName": { - "type": "string", - "description": "The service whose endpoint needs to be exposed at the public port." - } - }, - "description": "Describes the layer4 configuration for public connectivity for this network." + "required": [ + "server", + "username" + ], + "description": "Image registry credential." + }, + "IngressConfig": { + "type": "object", + "properties": { + "layer4": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/Layer4IngressConfig" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Configuration for layer4 public connectivity for this network." + }, + "qosLevel": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Bronze" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The QoS tier for ingress." + } }, - "NetworkRef": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the network." - } + "description": "Describes public connectivity configuration for the network." + }, + "Layer4IngressConfig": { + "type": "object", + "properties": { + "applicationName": { + "type": "string", + "description": "The application name which contains the service to be exposed." + }, + "endpointName": { + "type": "string", + "description": "The service endpoint that needs to be exposed." + }, + "name": { + "type": "string", + "description": "Layer4 ingress config name." }, - "description": "Describes a network reference in a service." + "publicPort": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the public port at which the service endpoint below needs to be exposed." + }, + "serviceName": { + "type": "string", + "description": "The service whose endpoint needs to be exposed at the public port." + } }, - "NetworkResourceProperties": { - "type": "object", - "properties": { - "addressPrefix": { - "type": "string", - "description": "the address prefix for this network." - }, - "description": { - "type": "string", - "description": "User readable description of the network." - }, - "ingressConfig": { - "oneOf": [ - { - "$ref": "#/definitions/IngressConfig" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes public connectivity configuration for the network." - } - }, - "required": [ - "addressPrefix" - ], - "description": "Describes properties of a network resource." + "description": "Describes the layer4 configuration for public connectivity for this network." + }, + "NetworkRef": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Name of the network." + } }, - "ResourceLimits": { - "type": "object", - "properties": { - "cpu": { - "oneOf": [ - { - "type": "number" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CPU limits in cores. At present, only full cores are supported." - }, - "memoryInGB": { - "oneOf": [ - { - "type": "number" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The memory limit in GB." - } + "description": "Describes a network reference in a service." + }, + "NetworkResourceProperties": { + "type": "object", + "properties": { + "addressPrefix": { + "type": "string", + "description": "the address prefix for this network." + }, + "description": { + "type": "string", + "description": "User readable description of the network." }, - "description": "This type describes the resource limits for a given container. It describes the most amount of resources a container is allowed to use before being restarted." + "ingressConfig": { + "oneOf": [ + { + "$ref": "#/definitions/IngressConfig" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes public connectivity configuration for the network." + } }, - "ResourceRequests": { - "type": "object", - "properties": { - "cpu": { - "oneOf": [ - { - "type": "number" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Requested number of CPU cores. At present, only full cores are supported." - }, - "memoryInGB": { - "oneOf": [ - { - "type": "number" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The memory request in GB for this container." - } - }, - "required": [ - "cpu", - "memoryInGB" - ], - "description": "This type describes the requested resources for a given container. It describes the least amount of resources required for the container. A container can consume more than requested resources up to the specified limits before being restarted. Currently, the requested resources are treated as limits.\n" + "required": [ + "addressPrefix" + ], + "description": "Describes properties of a network resource." + }, + "ResourceLimits": { + "type": "object", + "properties": { + "cpu": { + "oneOf": [ + { + "type": "number" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "CPU limits in cores. At present, only full cores are supported." + }, + "memoryInGB": { + "oneOf": [ + { + "type": "number" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The memory limit in GB." + } }, - "ResourceRequirements": { - "type": "object", - "properties": { - "limits": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceLimits" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "This type describes the resource limits for a given container. It describes the most amount of resources a container is allowed to use before being restarted." - }, - "requests": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceRequests" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "This type describes the requested resources for a given container. It describes the least amount of resources required for the container. A container can consume more than requested resources up to the specified limits before being restarted. Currently, the requested resources are treated as limits.\n" - } - }, - "required": [ - "requests" - ], - "description": "This type describes the resource requirements for a container or a service." + "description": "This type describes the resource limits for a given container. It describes the most amount of resources a container is allowed to use before being restarted." + }, + "ResourceRequests": { + "type": "object", + "properties": { + "cpu": { + "oneOf": [ + { + "type": "number" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Requested number of CPU cores. At present, only full cores are supported." + }, + "memoryInGB": { + "oneOf": [ + { + "type": "number" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The memory request in GB for this container." + } }, - "ServiceResourceDescription": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "The name of the resource" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ServiceResourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "This type describes properties of a service resource." - } - }, - "required": [ - "properties" - ], - "description": "This type describes a service resource." + "required": [ + "cpu", + "memoryInGB" + ], + "description": "This type describes the requested resources for a given container. It describes the least amount of resources required for the container. A container can consume more than requested resources up to the specified limits before being restarted. Currently, the requested resources are treated as limits.\n" + }, + "ResourceRequirements": { + "type": "object", + "properties": { + "limits": { + "oneOf": [ + { + "$ref": "#/definitions/ResourceLimits" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "This type describes the resource limits for a given container. It describes the most amount of resources a container is allowed to use before being restarted." + }, + "requests": { + "oneOf": [ + { + "$ref": "#/definitions/ResourceRequests" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "This type describes the requested resources for a given container. It describes the least amount of resources required for the container. A container can consume more than requested resources up to the specified limits before being restarted. Currently, the requested resources are treated as limits.\n" + } }, - "ServiceResourceProperties": { - "type": "object", + "required": [ + "requests" + ], + "description": "This type describes the resource requirements for a container or a service." + }, + "ServiceResourceDescription": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the resource" + }, "properties": { - "codePackages": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/ContainerCodePackageProperties" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes the set of code packages that forms the service. A code package describes the container and the properties for running it. All the code packages are started together on the same host and share the same context (network, process etc.).\n" - }, - "description": { - "type": "string", - "description": "User readable description of the service." - }, - "diagnostics": { - "oneOf": [ - { - "$ref": "#/definitions/DiagnosticsRef" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Reference to sinks in DiagnosticsDescription." - }, - "healthState": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Invalid", - "Ok", - "Warning", - "Error", - "Unknown" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The health state of a resource such as Application, Service, or Network." - }, - "networkRefs": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/NetworkRef" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The names of the private networks that this service needs to be part of." - }, - "osType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Linux", - "Windows" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The Operating system type required by the code in service.\n." - }, - "replicaCount": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The number of replicas of the service to create. Defaults to 1 if not specified." - } - }, - "required": [ - "codePackages", - "osType" - ], - "description": "This type describes properties of a service resource." + "oneOf": [ + { + "$ref": "#/definitions/ServiceResourceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "This type describes properties of a service resource." + } }, - "Setting": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "The name of the setting." - }, - "value": { - "type": "string", - "description": "The value of the setting." - } - }, - "description": "Describes a setting for the container." + "required": [ + "properties" + ], + "description": "This type describes a service resource." + }, + "ServiceResourceProperties": { + "type": "object", + "properties": { + "codePackages": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ContainerCodePackageProperties" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the set of code packages that forms the service. A code package describes the container and the properties for running it. All the code packages are started together on the same host and share the same context (network, process etc.).\n" + }, + "description": { + "type": "string", + "description": "User readable description of the service." + }, + "diagnostics": { + "oneOf": [ + { + "$ref": "#/definitions/DiagnosticsRef" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Reference to sinks in DiagnosticsDescription." + }, + "healthState": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Invalid", + "Ok", + "Warning", + "Error", + "Unknown" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The health state of a resource such as Application, Service, or Network." + }, + "networkRefs": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/NetworkRef" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The names of the private networks that this service needs to be part of." + }, + "osType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Linux", + "Windows" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The Operating system type required by the code in service.\n." + }, + "replicaCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The number of replicas of the service to create. Defaults to 1 if not specified." + } }, - "VolumeProviderParametersAzureFile": { - "type": "object", - "properties": { - "accountKey": { - "type": "string", - "description": "Access key of the Azure storage account for the File Share." - }, - "accountName": { - "type": "string", - "description": "Name of the Azure storage account for the File Share." - }, - "shareName": { - "type": "string", - "description": "Name of the Azure Files file share that provides storage for the volume." - } - }, - "required": [ - "accountName", - "shareName" - ], - "description": "This type describes a volume provided by an Azure Files file share." + "required": [ + "codePackages", + "osType" + ], + "description": "This type describes properties of a service resource." + }, + "Setting": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the setting." + }, + "value": { + "type": "string", + "description": "The value of the setting." + } }, - "VolumeResourceProperties": { - "type": "object", - "properties": { - "azureFileParameters": { - "oneOf": [ - { - "$ref": "#/definitions/VolumeProviderParametersAzureFile" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "This type describes a volume provided by an Azure Files file share." - }, - "description": { - "type": "string", - "description": "User readable description of the volume." - }, - "provider": { - "oneOf": [ - { - "type": "string", - "enum": [ - "SFAzureFile" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Provider of the volume." - } - }, - "required": [ - "provider" - ], - "description": "Describes properties of a volume resource." - } + "description": "Describes a setting for the container." + }, + "VolumeProviderParametersAzureFile": { + "type": "object", + "properties": { + "accountKey": { + "type": "string", + "description": "Access key of the Azure storage account for the File Share." + }, + "accountName": { + "type": "string", + "description": "Name of the Azure storage account for the File Share." + }, + "shareName": { + "type": "string", + "description": "Name of the Azure Files file share that provides storage for the volume." + } + }, + "required": [ + "accountName", + "shareName" + ], + "description": "This type describes a volume provided by an Azure Files file share." + }, + "VolumeResourceProperties": { + "type": "object", + "properties": { + "azureFileParameters": { + "oneOf": [ + { + "$ref": "#/definitions/VolumeProviderParametersAzureFile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "This type describes a volume provided by an Azure Files file share." + }, + "description": { + "type": "string", + "description": "User readable description of the volume." + }, + "provider": { + "oneOf": [ + { + "type": "string", + "enum": [ + "SFAzureFile" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Provider of the volume." + } + }, + "required": [ + "provider" + ], + "description": "Describes properties of a volume resource." } - } \ No newline at end of file + } +} \ No newline at end of file diff --git a/schemas/2018-09-01-preview/Microsoft.ServiceFabricMesh.json b/schemas/2018-09-01-preview/Microsoft.ServiceFabricMesh.json index e1c02391cc..311c3f6147 100644 --- a/schemas/2018-09-01-preview/Microsoft.ServiceFabricMesh.json +++ b/schemas/2018-09-01-preview/Microsoft.ServiceFabricMesh.json @@ -1,1757 +1,1757 @@ { - "id": "https://schema.management.azure.com/schemas/2018-09-01-preview/Microsoft.ServiceFabricMesh.json#", - "$schema": "http://json-schema.org/draft-04/schema#", - "title": "Microsoft.ServiceFabricMesh", - "description": "Microsoft ServiceFabricMesh Resource Types", - "resourceDefinitions": { - "applications": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2018-09-01-preview" - ] - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "name": { - "type": "string", - "description": "The identity of the application." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ApplicationResourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "This type describes properties of an application 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.ServiceFabricMesh/applications" - ] - } + "id": "https://schema.management.azure.com/schemas/2018-09-01-preview/Microsoft.ServiceFabricMesh.json#", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "Microsoft.ServiceFabricMesh", + "description": "Microsoft ServiceFabricMesh Resource Types", + "resourceDefinitions": { + "applications": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2018-09-01-preview" + ] }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.ServiceFabricMesh/applications" - }, - "gateways": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2018-09-01-preview" - ] - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "name": { - "type": "string", - "description": "The identity of the gateway." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/GatewayResourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "This type describes properties of a gateway 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.ServiceFabricMesh/gateways" - ] - } + "location": { + "type": "string", + "description": "The geo-location where the resource lives" + }, + "name": { + "type": "string", + "description": "The identity of the application." }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.ServiceFabricMesh/gateways" - }, - "networks": { - "type": "object", "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2018-09-01-preview" - ] - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "name": { - "type": "string", - "description": "The identity of the network." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/NetworkResourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes properties of a network 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.ServiceFabricMesh/networks" - ] - } + "oneOf": [ + { + "$ref": "#/definitions/ApplicationResourceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "This type describes properties of an application resource." }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.ServiceFabricMesh/networks" + "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.ServiceFabricMesh/applications" + ] + } }, - "secrets": { - "type": "object", + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.ServiceFabricMesh/applications" + }, + "gateways": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2018-09-01-preview" + ] + }, + "location": { + "type": "string", + "description": "The geo-location where the resource lives" + }, + "name": { + "type": "string", + "description": "The identity of the gateway." + }, "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2018-09-01-preview" - ] - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "name": { - "type": "string", - "description": "The name of the secret resource." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SecretResourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes the properties of a secret resource." - }, - "resources": { - "type": "array", - "items": { - "oneOf": [ - { - "$ref": "#/definitions/secrets_values_childResource" - } - ] + "oneOf": [ + { + "$ref": "#/definitions/GatewayResourceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" } - }, - "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.ServiceFabricMesh/secrets" - ] - } + ], + "description": "This type describes properties of a gateway resource." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource tags." }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.ServiceFabricMesh/secrets" + "type": { + "type": "string", + "enum": [ + "Microsoft.ServiceFabricMesh/gateways" + ] + } }, - "secrets_values": { - "type": "object", + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.ServiceFabricMesh/gateways" + }, + "networks": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2018-09-01-preview" + ] + }, + "location": { + "type": "string", + "description": "The geo-location where the resource lives" + }, + "name": { + "type": "string", + "description": "The identity of the network." + }, "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2018-09-01-preview" - ] - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "name": { - "type": "string", - "description": "The name of the secret resource value which is typically the version identifier for the value." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SecretValueResourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "This type describes properties of a secret value 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.ServiceFabricMesh/secrets/values" - ] - } + "oneOf": [ + { + "$ref": "#/definitions/NetworkResourceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes properties of a network resource." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource tags." }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.ServiceFabricMesh/secrets/values" + "type": { + "type": "string", + "enum": [ + "Microsoft.ServiceFabricMesh/networks" + ] + } }, - "volumes": { - "type": "object", + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.ServiceFabricMesh/networks" + }, + "secrets": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2018-09-01-preview" + ] + }, + "location": { + "type": "string", + "description": "The geo-location where the resource lives" + }, + "name": { + "type": "string", + "description": "The name of the secret resource." + }, "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2018-09-01-preview" - ] - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "name": { - "type": "string", - "description": "The identity of the volume." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/VolumeResourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "This type describes properties of a volume resource." - }, - "tags": { + "oneOf": [ + { + "$ref": "#/definitions/SecretResourceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the properties of a secret resource." + }, + "resources": { + "type": "array", + "items": { "oneOf": [ { - "type": "object", - "additionalProperties": { - "type": "string" - }, - "properties": {} - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + "$ref": "#/definitions/secrets_values_childResource" } - ], - "description": "Resource tags." - }, - "type": { - "type": "string", - "enum": [ - "Microsoft.ServiceFabricMesh/volumes" ] } }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.ServiceFabricMesh/volumes" - } - }, - "definitions": { - "ApplicationResourceProperties": { - "type": "object", - "properties": { - "debugParams": { - "type": "string", - "description": "Internal - used by Visual Studio to setup the debugging session on the local development environment." - }, - "description": { - "type": "string", - "description": "User readable description of the application." - }, - "diagnostics": { - "oneOf": [ - { - "$ref": "#/definitions/DiagnosticsDescription" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes the diagnostics options available" - }, - "services": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/ServiceResourceDescription" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes the services in the application. This property is used to create or modify services of the application. On get only the name of the service is returned. The service description can be obtained by querying for the service resource." - } + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource tags." }, - "description": "This type describes properties of an application resource." + "type": { + "type": "string", + "enum": [ + "Microsoft.ServiceFabricMesh/secrets" + ] + } }, - "ApplicationScopedVolume": { - "type": "object", - "properties": { - "creationParameters": { - "oneOf": [ - { - "$ref": "#/definitions/ApplicationScopedVolumeCreationParameters" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes parameters for creating application-scoped volumes." - }, - "destinationPath": { - "type": "string", - "description": "The path within the container at which the volume should be mounted. Only valid path characters are allowed." - }, - "name": { - "type": "string", - "description": "Name of the volume being referenced." - }, - "readOnly": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The flag indicating whether the volume is read only. Default is 'false'." - } + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.ServiceFabricMesh/secrets" + }, + "secrets_values": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2018-09-01-preview" + ] + }, + "location": { + "type": "string", + "description": "The geo-location where the resource lives" + }, + "name": { + "type": "string", + "description": "The name of the secret resource value which is typically the version identifier for the value." }, - "required": [ - "creationParameters", - "destinationPath", - "name" - ], - "description": "Describes a volume whose lifetime is scoped to the application's lifetime." - }, - "ApplicationScopedVolumeCreationParameters": { - "type": "object", - "oneOf": [ - { - "$ref": "#/definitions/ApplicationScopedVolumeCreationParametersServiceFabricVolumeDisk" - } - ], "properties": { - "description": { - "type": "string", - "description": "User readable description of the volume." - } + "oneOf": [ + { + "$ref": "#/definitions/SecretValueResourceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "This type describes properties of a secret value resource." }, - "description": "Describes parameters for creating application-scoped volumes." + "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.ServiceFabricMesh/secrets/values" + ] + } }, - "ApplicationScopedVolumeCreationParametersServiceFabricVolumeDisk": { - "type": "object", + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.ServiceFabricMesh/secrets/values" + }, + "volumes": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2018-09-01-preview" + ] + }, + "location": { + "type": "string", + "description": "The geo-location where the resource lives" + }, + "name": { + "type": "string", + "description": "The identity of the volume." + }, "properties": { - "kind": { - "type": "string", - "enum": [ - "ServiceFabricVolumeDisk" - ] - }, - "sizeDisk": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Small", - "Medium", - "Large" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Volume size." - } + "oneOf": [ + { + "$ref": "#/definitions/VolumeResourceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "This type describes properties of a volume resource." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource tags." }, - "required": [ - "kind", - "sizeDisk" - ], - "description": "Describes parameters for creating application-scoped volumes provided by Service Fabric Volume Disks" + "type": { + "type": "string", + "enum": [ + "Microsoft.ServiceFabricMesh/volumes" + ] + } }, - "AutoScalingMechanism": { - "type": "object", - "properties": {}, - "description": "Describes the mechanism for performing auto scaling operation. Derived classes will describe the actual mechanism." + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.ServiceFabricMesh/volumes" + } + }, + "definitions": { + "ApplicationResourceProperties": { + "type": "object", + "properties": { + "debugParams": { + "type": "string", + "description": "Internal - used by Visual Studio to setup the debugging session on the local development environment." + }, + "description": { + "type": "string", + "description": "User readable description of the application." + }, + "diagnostics": { + "oneOf": [ + { + "$ref": "#/definitions/DiagnosticsDescription" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the diagnostics options available" + }, + "services": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ServiceResourceDescription" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the services in the application. This property is used to create or modify services of the application. On get only the name of the service is returned. The service description can be obtained by querying for the service resource." + } }, - "AutoScalingPolicy": { - "type": "object", - "properties": { - "mechanism": { - "oneOf": [ - { - "$ref": "#/definitions/AutoScalingMechanism" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes the mechanism for performing auto scaling operation. Derived classes will describe the actual mechanism." - }, - "name": { - "type": "string", - "description": "The name of the auto scaling policy." - }, - "trigger": { - "oneOf": [ - { - "$ref": "#/definitions/AutoScalingTrigger" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes the trigger for performing auto scaling operation." - } + "description": "This type describes properties of an application resource." + }, + "ApplicationScopedVolume": { + "type": "object", + "properties": { + "creationParameters": { + "oneOf": [ + { + "$ref": "#/definitions/ApplicationScopedVolumeCreationParameters" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes parameters for creating application-scoped volumes." + }, + "destinationPath": { + "type": "string", + "description": "The path within the container at which the volume should be mounted. Only valid path characters are allowed." + }, + "name": { + "type": "string", + "description": "Name of the volume being referenced." }, - "required": [ - "mechanism", - "name", - "trigger" - ], - "description": "Describes the auto scaling policy" + "readOnly": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The flag indicating whether the volume is read only. Default is 'false'." + } }, - "AutoScalingTrigger": { - "type": "object", - "properties": {}, - "description": "Describes the trigger for performing auto scaling operation." + "required": [ + "creationParameters", + "destinationPath", + "name" + ], + "description": "Describes a volume whose lifetime is scoped to the application's lifetime." + }, + "ApplicationScopedVolumeCreationParameters": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/ApplicationScopedVolumeCreationParametersServiceFabricVolumeDisk" + } + ], + "properties": { + "description": { + "type": "string", + "description": "User readable description of the volume." + } }, - "AzureInternalMonitoringPipelineSinkDescription": { - "type": "object", - "properties": { - "accountName": { - "type": "string", - "description": "Azure Internal monitoring pipeline account." - }, - "autoKeyConfigUrl": { - "type": "string", - "description": "Azure Internal monitoring pipeline autokey associated with the certificate." - }, - "fluentdConfigUrl": { - "type": "object", - "properties": {}, - "description": "Azure Internal monitoring agent fluentd configuration." - }, - "kind": { - "type": "string", - "enum": [ - "AzureInternalMonitoringPipeline" - ] - }, - "maConfigUrl": { - "type": "string", - "description": "Azure Internal monitoring agent configuration." - }, - "namespace": { - "type": "string", - "description": "Azure Internal monitoring pipeline account namespace." - } + "description": "Describes parameters for creating application-scoped volumes." + }, + "ApplicationScopedVolumeCreationParametersServiceFabricVolumeDisk": { + "type": "object", + "properties": { + "kind": { + "type": "string", + "enum": [ + "ServiceFabricVolumeDisk" + ] }, - "required": [ - "kind" - ], - "description": "Diagnostics settings for Geneva." + "sizeDisk": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Small", + "Medium", + "Large" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Volume size." + } }, - "ContainerCodePackageProperties": { - "type": "object", - "properties": { - "commands": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Command array to execute within the container in exec form." - }, - "diagnostics": { - "oneOf": [ - { - "$ref": "#/definitions/DiagnosticsRef" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Reference to sinks in DiagnosticsDescription." - }, - "endpoints": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/EndpointProperties" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The endpoints exposed by this container." - }, - "entrypoint": { - "type": "string", - "description": "Override for the default entry point in the container." - }, - "environmentVariables": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/EnvironmentVariable" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The environment variables to set in this container" - }, - "image": { - "type": "string", - "description": "The Container image to use." - }, - "imageRegistryCredential": { - "oneOf": [ - { - "$ref": "#/definitions/ImageRegistryCredential" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Image registry credential." - }, - "labels": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/ContainerLabel" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The labels to set in this container." - }, - "name": { - "type": "string", - "description": "The name of the code package." - }, - "reliableCollectionsRefs": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/ReliableCollectionsRef" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A list of ReliableCollection resources used by this particular code package. Please refer to ReliableCollectionsRef for more details." - }, - "resources": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceRequirements" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "This type describes the resource requirements for a container or a service." - }, - "settings": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/Setting" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The settings to set in this container. The setting file path can be fetched from environment variable \"Fabric_SettingPath\". The path for Windows container is \"C:\\\\secrets\". The path for Linux container is \"/var/secrets\"." - }, - "volumeRefs": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/VolumeReference" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Volumes to be attached to the container. The lifetime of these volumes is independent of the application's lifetime." - }, - "volumes": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/ApplicationScopedVolume" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Volumes to be attached to the container. The lifetime of these volumes is scoped to the application's lifetime." - } + "required": [ + "kind", + "sizeDisk" + ], + "description": "Describes parameters for creating application-scoped volumes provided by Service Fabric Volume Disks" + }, + "AutoScalingMechanism": { + "type": "object", + "properties": {}, + "description": "Describes the mechanism for performing auto scaling operation. Derived classes will describe the actual mechanism." + }, + "AutoScalingPolicy": { + "type": "object", + "properties": { + "mechanism": { + "oneOf": [ + { + "$ref": "#/definitions/AutoScalingMechanism" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the mechanism for performing auto scaling operation. Derived classes will describe the actual mechanism." }, - "required": [ - "image", - "name", - "resources" - ], - "description": "Describes a container and its runtime properties." - }, - "ContainerLabel": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "The name of the container label." - }, - "value": { - "type": "string", - "description": "The value of the container label." - } + "name": { + "type": "string", + "description": "The name of the auto scaling policy." }, - "required": [ - "name", - "value" - ], - "description": "Describes a container label." + "trigger": { + "oneOf": [ + { + "$ref": "#/definitions/AutoScalingTrigger" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the trigger for performing auto scaling operation." + } }, - "DiagnosticsDescription": { - "type": "object", - "properties": { - "defaultSinkRefs": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The sinks to be used if diagnostics is enabled. Sink choices can be overridden at the service and code package level." - }, - "enabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Status of whether or not sinks are enabled." - }, - "sinks": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/DiagnosticsSinkProperties" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of supported sinks that can be referenced." - } + "required": [ + "mechanism", + "name", + "trigger" + ], + "description": "Describes the auto scaling policy" + }, + "AutoScalingTrigger": { + "type": "object", + "properties": {}, + "description": "Describes the trigger for performing auto scaling operation." + }, + "AzureInternalMonitoringPipelineSinkDescription": { + "type": "object", + "properties": { + "accountName": { + "type": "string", + "description": "Azure Internal monitoring pipeline account." }, - "description": "Describes the diagnostics options available" - }, - "DiagnosticsRef": { - "type": "object", - "properties": { - "enabled": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Status of whether or not sinks are enabled." - }, - "sinkRefs": { - "oneOf": [ - { - "type": "array", - "items": { - "type": "string" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "List of sinks to be used if enabled. References the list of sinks in DiagnosticsDescription." - } + "autoKeyConfigUrl": { + "type": "string", + "description": "Azure Internal monitoring pipeline autokey associated with the certificate." }, - "description": "Reference to sinks in DiagnosticsDescription." - }, - "DiagnosticsSinkProperties": { - "type": "object", - "oneOf": [ - { - "$ref": "#/definitions/AzureInternalMonitoringPipelineSinkDescription" - } - ], - "properties": { - "description": { - "type": "string", - "description": "A description of the sink." - }, - "name": { - "type": "string", - "description": "Name of the sink. This value is referenced by DiagnosticsReferenceDescription" - } + "fluentdConfigUrl": { + "type": "object", + "properties": {}, + "description": "Azure Internal monitoring agent fluentd configuration." + }, + "kind": { + "type": "string", + "enum": [ + "AzureInternalMonitoringPipeline" + ] }, - "description": "Properties of a DiagnosticsSink." + "maConfigUrl": { + "type": "string", + "description": "Azure Internal monitoring agent configuration." + }, + "namespace": { + "type": "string", + "description": "Azure Internal monitoring pipeline account namespace." + } }, - "EndpointProperties": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "The name of the endpoint." - }, - "port": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Port used by the container." - } + "required": [ + "kind" + ], + "description": "Diagnostics settings for Geneva." + }, + "ContainerCodePackageProperties": { + "type": "object", + "properties": { + "commands": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Command array to execute within the container in exec form." + }, + "diagnostics": { + "oneOf": [ + { + "$ref": "#/definitions/DiagnosticsRef" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Reference to sinks in DiagnosticsDescription." + }, + "endpoints": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/EndpointProperties" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The endpoints exposed by this container." + }, + "entrypoint": { + "type": "string", + "description": "Override for the default entry point in the container." + }, + "environmentVariables": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/EnvironmentVariable" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The environment variables to set in this container" + }, + "image": { + "type": "string", + "description": "The Container image to use." + }, + "imageRegistryCredential": { + "oneOf": [ + { + "$ref": "#/definitions/ImageRegistryCredential" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Image registry credential." + }, + "labels": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ContainerLabel" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The labels to set in this container." + }, + "name": { + "type": "string", + "description": "The name of the code package." }, - "required": [ - "name" - ], - "description": "Describes a container endpoint." + "reliableCollectionsRefs": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ReliableCollectionsRef" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A list of ReliableCollection resources used by this particular code package. Please refer to ReliableCollectionsRef for more details." + }, + "resources": { + "oneOf": [ + { + "$ref": "#/definitions/ResourceRequirements" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "This type describes the resource requirements for a container or a service." + }, + "settings": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/Setting" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The settings to set in this container. The setting file path can be fetched from environment variable \"Fabric_SettingPath\". The path for Windows container is \"C:\\\\secrets\". The path for Linux container is \"/var/secrets\"." + }, + "volumeRefs": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/VolumeReference" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Volumes to be attached to the container. The lifetime of these volumes is independent of the application's lifetime." + }, + "volumes": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ApplicationScopedVolume" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Volumes to be attached to the container. The lifetime of these volumes is scoped to the application's lifetime." + } }, - "EndpointRef": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of the endpoint." - } + "required": [ + "image", + "name", + "resources" + ], + "description": "Describes a container and its runtime properties." + }, + "ContainerLabel": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the container label." }, - "description": "Describes a reference to a service endpoint." + "value": { + "type": "string", + "description": "The value of the container label." + } }, - "EnvironmentVariable": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "The name of the environment variable." - }, - "value": { - "type": "string", - "description": "The value of the environment variable." - } + "required": [ + "name", + "value" + ], + "description": "Describes a container label." + }, + "DiagnosticsDescription": { + "type": "object", + "properties": { + "defaultSinkRefs": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The sinks to be used if diagnostics is enabled. Sink choices can be overridden at the service and code package level." }, - "description": "Describes an environment variable for the container." + "enabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Status of whether or not sinks are enabled." + }, + "sinks": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/DiagnosticsSinkProperties" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of supported sinks that can be referenced." + } }, - "GatewayDestination": { - "type": "object", - "properties": { - "applicationName": { - "type": "string", - "description": "Name of the service fabric Mesh application." - }, - "endpointName": { - "type": "string", - "description": "name of the endpoint in the service." - }, - "serviceName": { - "type": "string", - "description": "service that contains the endpoint." - } + "description": "Describes the diagnostics options available" + }, + "DiagnosticsRef": { + "type": "object", + "properties": { + "enabled": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Status of whether or not sinks are enabled." }, - "required": [ - "applicationName", - "endpointName", - "serviceName" - ], - "description": "Describes destination endpoint for routing traffic." + "sinkRefs": { + "oneOf": [ + { + "type": "array", + "items": { + "type": "string" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "List of sinks to be used if enabled. References the list of sinks in DiagnosticsDescription." + } }, - "GatewayResourceProperties": { - "type": "object", - "properties": { - "description": { - "type": "string", - "description": "User readable description of the gateway." - }, - "destinationNetwork": { - "oneOf": [ - { - "$ref": "#/definitions/NetworkRef" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes a network reference in a service." - }, - "http": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/HttpConfig" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Configuration for http connectivity for this gateway." - }, - "sourceNetwork": { - "oneOf": [ - { - "$ref": "#/definitions/NetworkRef" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes a network reference in a service." - }, - "tcp": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/TcpConfig" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Configuration for tcp connectivity for this gateway." - } + "description": "Reference to sinks in DiagnosticsDescription." + }, + "DiagnosticsSinkProperties": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/AzureInternalMonitoringPipelineSinkDescription" + } + ], + "properties": { + "description": { + "type": "string", + "description": "A description of the sink." }, - "required": [ - "destinationNetwork", - "sourceNetwork" - ], - "description": "This type describes properties of a gateway resource." + "name": { + "type": "string", + "description": "Name of the sink. This value is referenced by DiagnosticsReferenceDescription" + } }, - "HttpConfig": { - "type": "object", - "properties": { - "hosts": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/HttpHostConfig" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "description for routing." - }, - "name": { - "type": "string", - "description": "http gateway config name." - }, - "port": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies the port at which the service endpoint below needs to be exposed." - } + "description": "Properties of a DiagnosticsSink." + }, + "EndpointProperties": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the endpoint." }, - "required": [ - "hosts", - "name", - "port" - ], - "description": "Describes the http configuration for external connectivity for this network." + "port": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Port used by the container." + } }, - "HttpHostConfig": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "http hostname config name." - }, - "routes": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/HttpRouteConfig" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Route information to use for routing. Routes are processed in the order they are specified. Specify routes that are more specific before routes that can handle general cases." - } + "required": [ + "name" + ], + "description": "Describes a container endpoint." + }, + "EndpointRef": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Name of the endpoint." + } + }, + "description": "Describes a reference to a service endpoint." + }, + "EnvironmentVariable": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the environment variable." }, - "required": [ - "name", - "routes" - ], - "description": "Describes the hostname properties for http routing." + "value": { + "type": "string", + "description": "The value of the environment variable." + } }, - "HttpRouteConfig": { - "type": "object", - "properties": { - "destination": { - "oneOf": [ - { - "$ref": "#/definitions/GatewayDestination" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes destination endpoint for routing traffic." - }, - "match": { - "oneOf": [ - { - "$ref": "#/definitions/HttpRouteMatchRule" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes a rule for http route matching." - }, - "name": { - "type": "string", - "description": "http route name." - } + "description": "Describes an environment variable for the container." + }, + "GatewayDestination": { + "type": "object", + "properties": { + "applicationName": { + "type": "string", + "description": "Name of the service fabric Mesh application." }, - "required": [ - "destination", - "match", - "name" - ], - "description": "Describes the hostname properties for http routing." + "endpointName": { + "type": "string", + "description": "name of the endpoint in the service." + }, + "serviceName": { + "type": "string", + "description": "service that contains the endpoint." + } }, - "HttpRouteMatchHeader": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "Name of header to match in request." - }, - "type": { - "oneOf": [ - { - "type": "string", - "enum": [ - "exact" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "how to match header value." - }, - "value": { - "type": "string", - "description": "Value of header to match in request." - } + "required": [ + "applicationName", + "endpointName", + "serviceName" + ], + "description": "Describes destination endpoint for routing traffic." + }, + "GatewayResourceProperties": { + "type": "object", + "properties": { + "description": { + "type": "string", + "description": "User readable description of the gateway." + }, + "destinationNetwork": { + "oneOf": [ + { + "$ref": "#/definitions/NetworkRef" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a network reference in a service." + }, + "http": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/HttpConfig" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Configuration for http connectivity for this gateway." + }, + "sourceNetwork": { + "oneOf": [ + { + "$ref": "#/definitions/NetworkRef" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a network reference in a service." }, - "required": [ - "name" - ], - "description": "Describes header information for http route matching." + "tcp": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/TcpConfig" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Configuration for tcp connectivity for this gateway." + } }, - "HttpRouteMatchPath": { - "type": "object", - "properties": { - "rewrite": { - "type": "string", - "description": "replacement string for matched part of the Uri." - }, - "type": { - "oneOf": [ - { - "type": "string", - "enum": [ - "prefix" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "how to match value in the Uri" - }, - "value": { - "type": "string", - "description": "Uri path to match for request." - } + "required": [ + "destinationNetwork", + "sourceNetwork" + ], + "description": "This type describes properties of a gateway resource." + }, + "HttpConfig": { + "type": "object", + "properties": { + "hosts": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/HttpHostConfig" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "description for routing." }, - "required": [ - "type", - "value" - ], - "description": "Path to match for routing." + "name": { + "type": "string", + "description": "http gateway config name." + }, + "port": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the port at which the service endpoint below needs to be exposed." + } }, - "HttpRouteMatchRule": { - "type": "object", - "properties": { - "headers": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/HttpRouteMatchHeader" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "headers and their values to match in request." - }, - "path": { - "oneOf": [ - { - "$ref": "#/definitions/HttpRouteMatchPath" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Path to match for routing." - } + "required": [ + "hosts", + "name", + "port" + ], + "description": "Describes the http configuration for external connectivity for this network." + }, + "HttpHostConfig": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "http hostname config name." }, - "required": [ - "path" - ], - "description": "Describes a rule for http route matching." + "routes": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/HttpRouteConfig" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Route information to use for routing. Routes are processed in the order they are specified. Specify routes that are more specific before routes that can handle general cases." + } }, - "ImageRegistryCredential": { - "type": "object", - "properties": { - "password": { - "type": "string", - "description": "The password for the private registry. The password is required for create or update operations, however it is not returned in the get or list operations." - }, - "server": { - "type": "string", - "description": "Docker image registry server, without protocol such as `http` and `https`." - }, - "username": { - "type": "string", - "description": "The username for the private registry." - } + "required": [ + "name", + "routes" + ], + "description": "Describes the hostname properties for http routing." + }, + "HttpRouteConfig": { + "type": "object", + "properties": { + "destination": { + "oneOf": [ + { + "$ref": "#/definitions/GatewayDestination" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes destination endpoint for routing traffic." + }, + "match": { + "oneOf": [ + { + "$ref": "#/definitions/HttpRouteMatchRule" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes a rule for http route matching." }, - "required": [ - "server", - "username" - ], - "description": "Image registry credential." + "name": { + "type": "string", + "description": "http route name." + } }, - "InlinedValueSecretResourceProperties": { - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "inlinedValue" - ] - } + "required": [ + "destination", + "match", + "name" + ], + "description": "Describes the hostname properties for http routing." + }, + "HttpRouteMatchHeader": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "Name of header to match in request." }, - "required": [ - "kind" - ], - "description": "Describes the properties of a secret resource whose value is provided explicitly as plaintext. The secret resource may have multiple values, each being uniquely versioned. The secret value of each version is stored encrypted, and delivered as plaintext into the context of applications referencing it." + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "exact" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "how to match header value." + }, + "value": { + "type": "string", + "description": "Value of header to match in request." + } }, - "LocalNetworkResourceProperties": { - "type": "object", - "properties": { - "kind": { - "type": "string", - "enum": [ - "Local" - ] - }, - "networkAddressPrefix": { - "type": "string", - "description": "Address space for a container network. This is expressed in CIDR notation." - } + "required": [ + "name" + ], + "description": "Describes header information for http route matching." + }, + "HttpRouteMatchPath": { + "type": "object", + "properties": { + "rewrite": { + "type": "string", + "description": "replacement string for matched part of the Uri." + }, + "type": { + "oneOf": [ + { + "type": "string", + "enum": [ + "prefix" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "how to match value in the Uri" }, - "required": [ - "kind" - ], - "description": "Information about a Service Fabric container network local to a single Service Fabric cluster." + "value": { + "type": "string", + "description": "Uri path to match for request." + } }, - "NetworkRef": { - "type": "object", - "properties": { - "endpointRefs": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/EndpointRef" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "A list of endpoints that are exposed on this network." - }, - "name": { - "type": "string", - "description": "Name of the network" - } + "required": [ + "type", + "value" + ], + "description": "Path to match for routing." + }, + "HttpRouteMatchRule": { + "type": "object", + "properties": { + "headers": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/HttpRouteMatchHeader" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "headers and their values to match in request." }, - "description": "Describes a network reference in a service." + "path": { + "oneOf": [ + { + "$ref": "#/definitions/HttpRouteMatchPath" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Path to match for routing." + } }, - "NetworkResourceProperties": { - "type": "object", - "oneOf": [ - { - "$ref": "#/definitions/LocalNetworkResourceProperties" - } - ], - "properties": { - "description": { - "type": "string", - "description": "User readable description of the network." - } + "required": [ + "path" + ], + "description": "Describes a rule for http route matching." + }, + "ImageRegistryCredential": { + "type": "object", + "properties": { + "password": { + "type": "string", + "description": "The password for the private registry. The password is required for create or update operations, however it is not returned in the get or list operations." }, - "description": "Describes properties of a network resource." + "server": { + "type": "string", + "description": "Docker image registry server, without protocol such as `http` and `https`." + }, + "username": { + "type": "string", + "description": "The username for the private registry." + } }, - "ReliableCollectionsRef": { - "type": "object", - "properties": { - "doNotPersistState": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "False (the default) if ReliableCollections state is persisted to disk as usual. True if you do not want to persist state, in which case replication is still enabled and you can use ReliableCollections as distributed cache." - }, - "name": { - "type": "string", - "description": "Name of ReliableCollection resource. Right now it's not used and you can use any string." - } + "required": [ + "server", + "username" + ], + "description": "Image registry credential." + }, + "InlinedValueSecretResourceProperties": { + "type": "object", + "properties": { + "kind": { + "type": "string", + "enum": [ + "inlinedValue" + ] + } + }, + "required": [ + "kind" + ], + "description": "Describes the properties of a secret resource whose value is provided explicitly as plaintext. The secret resource may have multiple values, each being uniquely versioned. The secret value of each version is stored encrypted, and delivered as plaintext into the context of applications referencing it." + }, + "LocalNetworkResourceProperties": { + "type": "object", + "properties": { + "kind": { + "type": "string", + "enum": [ + "Local" + ] }, - "required": [ - "name" - ], - "description": "Specifying this parameter adds support for reliable collections" + "networkAddressPrefix": { + "type": "string", + "description": "Address space for a container network. This is expressed in CIDR notation." + } }, - "ResourceLimits": { - "type": "object", - "properties": { - "cpu": { - "oneOf": [ - { - "type": "number" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "CPU limits in cores. At present, only full cores are supported." - }, - "memoryInGB": { - "oneOf": [ - { - "type": "number" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The memory limit in GB." - } + "required": [ + "kind" + ], + "description": "Information about a Service Fabric container network local to a single Service Fabric cluster." + }, + "NetworkRef": { + "type": "object", + "properties": { + "endpointRefs": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/EndpointRef" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "A list of endpoints that are exposed on this network." }, - "description": "This type describes the resource limits for a given container. It describes the most amount of resources a container is allowed to use before being restarted." + "name": { + "type": "string", + "description": "Name of the network" + } }, - "ResourceRequests": { - "type": "object", - "properties": { - "cpu": { - "oneOf": [ - { - "type": "number" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Requested number of CPU cores. At present, only full cores are supported." - }, - "memoryInGB": { - "oneOf": [ - { - "type": "number" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The memory request in GB for this container." - } + "description": "Describes a network reference in a service." + }, + "NetworkResourceProperties": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/LocalNetworkResourceProperties" + } + ], + "properties": { + "description": { + "type": "string", + "description": "User readable description of the network." + } + }, + "description": "Describes properties of a network resource." + }, + "ReliableCollectionsRef": { + "type": "object", + "properties": { + "doNotPersistState": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "False (the default) if ReliableCollections state is persisted to disk as usual. True if you do not want to persist state, in which case replication is still enabled and you can use ReliableCollections as distributed cache." }, - "required": [ - "cpu", - "memoryInGB" - ], - "description": "This type describes the requested resources for a given container. It describes the least amount of resources required for the container. A container can consume more than requested resources up to the specified limits before being restarted. Currently, the requested resources are treated as limits." + "name": { + "type": "string", + "description": "Name of ReliableCollection resource. Right now it's not used and you can use any string." + } }, - "ResourceRequirements": { - "type": "object", - "properties": { - "limits": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceLimits" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "This type describes the resource limits for a given container. It describes the most amount of resources a container is allowed to use before being restarted." - }, - "requests": { - "oneOf": [ - { - "$ref": "#/definitions/ResourceRequests" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "This type describes the requested resources for a given container. It describes the least amount of resources required for the container. A container can consume more than requested resources up to the specified limits before being restarted. Currently, the requested resources are treated as limits." - } + "required": [ + "name" + ], + "description": "Specifying this parameter adds support for reliable collections" + }, + "ResourceLimits": { + "type": "object", + "properties": { + "cpu": { + "oneOf": [ + { + "type": "number" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "CPU limits in cores. At present, only full cores are supported." }, - "required": [ - "requests" - ], - "description": "This type describes the resource requirements for a container or a service." + "memoryInGB": { + "oneOf": [ + { + "type": "number" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The memory limit in GB." + } }, - "SecretResourceProperties": { - "type": "object", - "oneOf": [ - { - "$ref": "#/definitions/InlinedValueSecretResourceProperties" - } - ], - "properties": { - "contentType": { - "type": "string", - "description": "The type of the content stored in the secret value. The value of this property is opaque to Service Fabric. Once set, the value of this property cannot be changed." - }, - "description": { - "type": "string", - "description": "User readable description of the secret." - } + "description": "This type describes the resource limits for a given container. It describes the most amount of resources a container is allowed to use before being restarted." + }, + "ResourceRequests": { + "type": "object", + "properties": { + "cpu": { + "oneOf": [ + { + "type": "number" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Requested number of CPU cores. At present, only full cores are supported." }, - "description": "Describes the properties of a secret resource." + "memoryInGB": { + "oneOf": [ + { + "type": "number" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The memory request in GB for this container." + } }, - "secrets_values_childResource": { - "type": "object", - "properties": { - "apiVersion": { - "type": "string", - "enum": [ - "2018-09-01-preview" - ] - }, - "location": { - "type": "string", - "description": "The geo-location where the resource lives" - }, - "name": { - "type": "string", - "description": "The name of the secret resource value which is typically the version identifier for the value." - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/SecretValueResourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "This type describes properties of a secret value 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": [ - "values" - ] - } + "required": [ + "cpu", + "memoryInGB" + ], + "description": "This type describes the requested resources for a given container. It describes the least amount of resources required for the container. A container can consume more than requested resources up to the specified limits before being restarted. Currently, the requested resources are treated as limits." + }, + "ResourceRequirements": { + "type": "object", + "properties": { + "limits": { + "oneOf": [ + { + "$ref": "#/definitions/ResourceLimits" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "This type describes the resource limits for a given container. It describes the most amount of resources a container is allowed to use before being restarted." }, - "required": [ - "apiVersion", - "location", - "name", - "properties", - "type" - ], - "description": "Microsoft.ServiceFabricMesh/secrets/values" + "requests": { + "oneOf": [ + { + "$ref": "#/definitions/ResourceRequests" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "This type describes the requested resources for a given container. It describes the least amount of resources required for the container. A container can consume more than requested resources up to the specified limits before being restarted. Currently, the requested resources are treated as limits." + } }, - "SecretValueResourceProperties": { - "type": "object", - "properties": { - "value": { - "type": "string", - "description": "The actual value of the secret." - } + "required": [ + "requests" + ], + "description": "This type describes the resource requirements for a container or a service." + }, + "SecretResourceProperties": { + "type": "object", + "oneOf": [ + { + "$ref": "#/definitions/InlinedValueSecretResourceProperties" + } + ], + "properties": { + "contentType": { + "type": "string", + "description": "The type of the content stored in the secret value. The value of this property is opaque to Service Fabric. Once set, the value of this property cannot be changed." }, - "description": "This type describes properties of a secret value resource." + "description": { + "type": "string", + "description": "User readable description of the secret." + } }, - "ServiceResourceDescription": { - "type": "object", + "description": "Describes the properties of a secret resource." + }, + "secrets_values_childResource": { + "type": "object", + "properties": { + "apiVersion": { + "type": "string", + "enum": [ + "2018-09-01-preview" + ] + }, + "location": { + "type": "string", + "description": "The geo-location where the resource lives" + }, + "name": { + "type": "string", + "description": "The name of the secret resource value which is typically the version identifier for the value." + }, "properties": { - "name": { - "type": "string", - "description": "The name of the resource" - }, - "properties": { - "oneOf": [ - { - "$ref": "#/definitions/ServiceResourceProperties" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "This type describes properties of a service resource." - } + "oneOf": [ + { + "$ref": "#/definitions/SecretValueResourceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "This type describes properties of a secret value resource." + }, + "tags": { + "oneOf": [ + { + "type": "object", + "additionalProperties": { + "type": "string" + }, + "properties": {} + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Resource tags." }, - "required": [ - "properties" - ], - "description": "This type describes a service resource." + "type": { + "type": "string", + "enum": [ + "values" + ] + } + }, + "required": [ + "apiVersion", + "location", + "name", + "properties", + "type" + ], + "description": "Microsoft.ServiceFabricMesh/secrets/values" + }, + "SecretValueResourceProperties": { + "type": "object", + "properties": { + "value": { + "type": "string", + "description": "The actual value of the secret." + } }, - "ServiceResourceProperties": { - "type": "object", + "description": "This type describes properties of a secret value resource." + }, + "ServiceResourceDescription": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the resource" + }, "properties": { - "autoScalingPolicies": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/AutoScalingPolicy" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Auto scaling policies" - }, - "codePackages": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/ContainerCodePackageProperties" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes the set of code packages that forms the service. A code package describes the container and the properties for running it. All the code packages are started together on the same host and share the same context (network, process etc.)." - }, - "description": { - "type": "string", - "description": "User readable description of the service." - }, - "diagnostics": { - "oneOf": [ - { - "$ref": "#/definitions/DiagnosticsRef" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Reference to sinks in DiagnosticsDescription." - }, - "networkRefs": { - "oneOf": [ - { - "type": "array", - "items": { - "$ref": "#/definitions/NetworkRef" - } - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The names of the private networks that this service needs to be part of." - }, - "osType": { - "oneOf": [ - { - "type": "string", - "enum": [ - "Linux", - "Windows" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The operation system required by the code in service." - }, - "replicaCount": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + "oneOf": [ + { + "$ref": "#/definitions/ServiceResourceProperties" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "This type describes properties of a service resource." + } + }, + "required": [ + "properties" + ], + "description": "This type describes a service resource." + }, + "ServiceResourceProperties": { + "type": "object", + "properties": { + "autoScalingPolicies": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/AutoScalingPolicy" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Auto scaling policies" + }, + "codePackages": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/ContainerCodePackageProperties" + } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes the set of code packages that forms the service. A code package describes the container and the properties for running it. All the code packages are started together on the same host and share the same context (network, process etc.)." + }, + "description": { + "type": "string", + "description": "User readable description of the service." + }, + "diagnostics": { + "oneOf": [ + { + "$ref": "#/definitions/DiagnosticsRef" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Reference to sinks in DiagnosticsDescription." + }, + "networkRefs": { + "oneOf": [ + { + "type": "array", + "items": { + "$ref": "#/definitions/NetworkRef" } - ], - "description": "The number of replicas of the service to create. Defaults to 1 if not specified." - } + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The names of the private networks that this service needs to be part of." + }, + "osType": { + "oneOf": [ + { + "type": "string", + "enum": [ + "Linux", + "Windows" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The operation system required by the code in service." }, - "required": [ - "codePackages", - "osType" - ], - "description": "This type describes properties of a service resource." + "replicaCount": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The number of replicas of the service to create. Defaults to 1 if not specified." + } }, - "Setting": { - "type": "object", - "properties": { - "name": { - "type": "string", - "description": "The name of the setting." - }, - "value": { - "type": "string", - "description": "The value of the setting." - } + "required": [ + "codePackages", + "osType" + ], + "description": "This type describes properties of a service resource." + }, + "Setting": { + "type": "object", + "properties": { + "name": { + "type": "string", + "description": "The name of the setting." }, - "description": "Describes a setting for the container. The setting file path can be fetched from environment variable \"Fabric_SettingPath\". The path for Windows container is \"C:\\\\secrets\". The path for Linux container is \"/var/secrets\"." + "value": { + "type": "string", + "description": "The value of the setting." + } }, - "TcpConfig": { - "type": "object", - "properties": { - "destination": { - "oneOf": [ - { - "$ref": "#/definitions/GatewayDestination" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Describes destination endpoint for routing traffic." - }, - "name": { - "type": "string", - "description": "tcp gateway config name." - }, - "port": { - "oneOf": [ - { - "type": "integer" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Specifies the port at which the service endpoint below needs to be exposed." - } + "description": "Describes a setting for the container. The setting file path can be fetched from environment variable \"Fabric_SettingPath\". The path for Windows container is \"C:\\\\secrets\". The path for Linux container is \"/var/secrets\"." + }, + "TcpConfig": { + "type": "object", + "properties": { + "destination": { + "oneOf": [ + { + "$ref": "#/definitions/GatewayDestination" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Describes destination endpoint for routing traffic." }, - "required": [ - "destination", - "name", - "port" - ], - "description": "Describes the tcp configuration for external connectivity for this network." + "name": { + "type": "string", + "description": "tcp gateway config name." + }, + "port": { + "oneOf": [ + { + "type": "integer" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Specifies the port at which the service endpoint below needs to be exposed." + } }, - "VolumeProviderParametersAzureFile": { - "type": "object", - "properties": { - "accountKey": { - "type": "string", - "description": "Access key of the Azure storage account for the File Share." - }, - "accountName": { - "type": "string", - "description": "Name of the Azure storage account for the File Share." - }, - "shareName": { - "type": "string", - "description": "Name of the Azure Files file share that provides storage for the volume." - } + "required": [ + "destination", + "name", + "port" + ], + "description": "Describes the tcp configuration for external connectivity for this network." + }, + "VolumeProviderParametersAzureFile": { + "type": "object", + "properties": { + "accountKey": { + "type": "string", + "description": "Access key of the Azure storage account for the File Share." + }, + "accountName": { + "type": "string", + "description": "Name of the Azure storage account for the File Share." }, - "required": [ - "accountName", - "shareName" - ], - "description": "This type describes a volume provided by an Azure Files file share." + "shareName": { + "type": "string", + "description": "Name of the Azure Files file share that provides storage for the volume." + } }, - "VolumeReference": { - "type": "object", - "properties": { - "destinationPath": { - "type": "string", - "description": "The path within the container at which the volume should be mounted. Only valid path characters are allowed." - }, - "name": { - "type": "string", - "description": "Name of the volume being referenced." - }, - "readOnly": { - "oneOf": [ - { - "type": "boolean" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "The flag indicating whether the volume is read only. Default is 'false'." - } + "required": [ + "accountName", + "shareName" + ], + "description": "This type describes a volume provided by an Azure Files file share." + }, + "VolumeReference": { + "type": "object", + "properties": { + "destinationPath": { + "type": "string", + "description": "The path within the container at which the volume should be mounted. Only valid path characters are allowed." }, - "required": [ - "destinationPath", - "name" - ], - "description": "Describes a reference to a volume resource." + "name": { + "type": "string", + "description": "Name of the volume being referenced." + }, + "readOnly": { + "oneOf": [ + { + "type": "boolean" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "The flag indicating whether the volume is read only. Default is 'false'." + } }, - "VolumeResourceProperties": { - "type": "object", - "properties": { - "azureFileParameters": { - "oneOf": [ - { - "$ref": "#/definitions/VolumeProviderParametersAzureFile" - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "This type describes a volume provided by an Azure Files file share." - }, - "description": { - "type": "string", - "description": "User readable description of the volume." - }, - "provider": { - "oneOf": [ - { - "type": "string", - "enum": [ - "SFAzureFile" - ] - }, - { - "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" - } - ], - "description": "Provider of the volume." - } + "required": [ + "destinationPath", + "name" + ], + "description": "Describes a reference to a volume resource." + }, + "VolumeResourceProperties": { + "type": "object", + "properties": { + "azureFileParameters": { + "oneOf": [ + { + "$ref": "#/definitions/VolumeProviderParametersAzureFile" + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "This type describes a volume provided by an Azure Files file share." }, - "required": [ - "provider" - ], - "description": "This type describes properties of a volume resource." - } + "description": { + "type": "string", + "description": "User readable description of the volume." + }, + "provider": { + "oneOf": [ + { + "type": "string", + "enum": [ + "SFAzureFile" + ] + }, + { + "$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" + } + ], + "description": "Provider of the volume." + } + }, + "required": [ + "provider" + ], + "description": "This type describes properties of a volume resource." } - } \ No newline at end of file + } +} \ No newline at end of file