Regenerate schemas for AKS
This commit is contained in:
Родитель
068e935f6d
Коммит
10d0ec7bfd
|
@ -0,0 +1,407 @@
|
|||
{
|
||||
"id": "https://schema.management.azure.com/schemas/2016-03-30/Microsoft.ContainerService.Aks.json#",
|
||||
"$schema": "http://json-schema.org/draft-04/schema#",
|
||||
"title": "Microsoft.ContainerService",
|
||||
"description": "Microsoft ContainerService Resource Types",
|
||||
"resourceDefinitions": {
|
||||
"containerServices": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"apiVersion": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"2016-03-30"
|
||||
]
|
||||
},
|
||||
"location": {
|
||||
"type": "string",
|
||||
"description": "Resource location"
|
||||
},
|
||||
"name": {
|
||||
"type": "string",
|
||||
"description": "The name of the container service in the specified subscription and resource group."
|
||||
},
|
||||
"properties": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/ContainerServiceProperties"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Properties of the container service."
|
||||
},
|
||||
"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.ContainerService/containerServices"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"apiVersion",
|
||||
"location",
|
||||
"name",
|
||||
"properties",
|
||||
"type"
|
||||
],
|
||||
"description": "Microsoft.ContainerService/containerServices"
|
||||
}
|
||||
},
|
||||
"definitions": {
|
||||
"ContainerServiceAgentPoolProfile": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"count": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "integer",
|
||||
"minimum": 1,
|
||||
"maximum": 100
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Number of agents (VMs) to host docker containers. Allowed values must be in the range of 1 to 100 (inclusive). The default value is 1. "
|
||||
},
|
||||
"dnsPrefix": {
|
||||
"type": "string",
|
||||
"description": "DNS prefix to be used to create the FQDN for the agent pool."
|
||||
},
|
||||
"name": {
|
||||
"type": "string",
|
||||
"description": "Unique name of the agent pool profile in the context of the subscription and resource group."
|
||||
},
|
||||
"vmSize": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"Standard_A0",
|
||||
"Standard_A1",
|
||||
"Standard_A2",
|
||||
"Standard_A3",
|
||||
"Standard_A4",
|
||||
"Standard_A5",
|
||||
"Standard_A6",
|
||||
"Standard_A7",
|
||||
"Standard_A8",
|
||||
"Standard_A9",
|
||||
"Standard_A10",
|
||||
"Standard_A11",
|
||||
"Standard_D1",
|
||||
"Standard_D2",
|
||||
"Standard_D3",
|
||||
"Standard_D4",
|
||||
"Standard_D11",
|
||||
"Standard_D12",
|
||||
"Standard_D13",
|
||||
"Standard_D14",
|
||||
"Standard_D1_v2",
|
||||
"Standard_D2_v2",
|
||||
"Standard_D3_v2",
|
||||
"Standard_D4_v2",
|
||||
"Standard_D5_v2",
|
||||
"Standard_D11_v2",
|
||||
"Standard_D12_v2",
|
||||
"Standard_D13_v2",
|
||||
"Standard_D14_v2",
|
||||
"Standard_G1",
|
||||
"Standard_G2",
|
||||
"Standard_G3",
|
||||
"Standard_G4",
|
||||
"Standard_G5",
|
||||
"Standard_DS1",
|
||||
"Standard_DS2",
|
||||
"Standard_DS3",
|
||||
"Standard_DS4",
|
||||
"Standard_DS11",
|
||||
"Standard_DS12",
|
||||
"Standard_DS13",
|
||||
"Standard_DS14",
|
||||
"Standard_GS1",
|
||||
"Standard_GS2",
|
||||
"Standard_GS3",
|
||||
"Standard_GS4",
|
||||
"Standard_GS5"
|
||||
]
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Size of agent VMs."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"dnsPrefix",
|
||||
"name",
|
||||
"vmSize"
|
||||
],
|
||||
"description": "Profile for the container service agent pool."
|
||||
},
|
||||
"ContainerServiceDiagnosticsProfile": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"vmDiagnostics": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/ContainerServiceVMDiagnostics"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Profile for diagnostics on the container service VMs."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"vmDiagnostics"
|
||||
]
|
||||
},
|
||||
"ContainerServiceLinuxProfile": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"adminUsername": {
|
||||
"type": "string",
|
||||
"description": "The administrator username to use for all Linux VMs"
|
||||
},
|
||||
"ssh": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/ContainerServiceSshConfiguration"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "SSH configuration for Linux-based VMs running on Azure."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"adminUsername",
|
||||
"ssh"
|
||||
],
|
||||
"description": "Profile for Linux VMs in the container service cluster."
|
||||
},
|
||||
"ContainerServiceMasterProfile": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"count": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "integer",
|
||||
"default": "1"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Number of masters (VMs) in the container service cluster. Allowed values are 1, 3, and 5. The default value is 1."
|
||||
},
|
||||
"dnsPrefix": {
|
||||
"type": "string",
|
||||
"description": "DNS prefix to be used to create the FQDN for master."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"dnsPrefix"
|
||||
],
|
||||
"description": "Profile for the container service master."
|
||||
},
|
||||
"ContainerServiceOrchestratorProfile": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"orchestratorType": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"Swarm",
|
||||
"DCOS"
|
||||
]
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "The orchestrator to use to manage container service cluster resources. Valid values are Swarm, DCOS, and Custom."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"orchestratorType"
|
||||
],
|
||||
"description": "Profile for the container service orchestrator."
|
||||
},
|
||||
"ContainerServiceProperties": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"agentPoolProfiles": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/ContainerServiceAgentPoolProfile"
|
||||
}
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Properties of the agent pool."
|
||||
},
|
||||
"diagnosticsProfile": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/ContainerServiceDiagnosticsProfile"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
]
|
||||
},
|
||||
"linuxProfile": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/ContainerServiceLinuxProfile"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Profile for Linux VMs in the container service cluster."
|
||||
},
|
||||
"masterProfile": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/ContainerServiceMasterProfile"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Profile for the container service master."
|
||||
},
|
||||
"orchestratorProfile": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/ContainerServiceOrchestratorProfile"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Profile for the container service orchestrator."
|
||||
},
|
||||
"windowsProfile": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/ContainerServiceWindowsProfile"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Profile for Windows VMs in the container service cluster."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"agentPoolProfiles",
|
||||
"linuxProfile",
|
||||
"masterProfile"
|
||||
],
|
||||
"description": "Properties of the container service."
|
||||
},
|
||||
"ContainerServiceSshConfiguration": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"publicKeys": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/ContainerServiceSshPublicKey"
|
||||
}
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "the list of SSH public keys used to authenticate with Linux-based VMs."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"publicKeys"
|
||||
],
|
||||
"description": "SSH configuration for Linux-based VMs running on Azure."
|
||||
},
|
||||
"ContainerServiceSshPublicKey": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"keyData": {
|
||||
"type": "string",
|
||||
"description": "Certificate public key used to authenticate with VMs through SSH. The certificate must be in PEM format with or without headers."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"keyData"
|
||||
],
|
||||
"description": "Contains information about SSH certificate public key data."
|
||||
},
|
||||
"ContainerServiceVMDiagnostics": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"enabled": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "boolean"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Whether the VM diagnostic agent is provisioned on the VM."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"enabled"
|
||||
],
|
||||
"description": "Profile for diagnostics on the container service VMs."
|
||||
},
|
||||
"ContainerServiceWindowsProfile": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"adminPassword": {
|
||||
"type": "string",
|
||||
"description": "The administrator password to use for Windows VMs"
|
||||
},
|
||||
"adminUsername": {
|
||||
"type": "string",
|
||||
"description": "The administrator username to use for Windows VMs"
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"adminPassword",
|
||||
"adminUsername"
|
||||
],
|
||||
"description": "Profile for Windows VMs in the container service cluster."
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,488 @@
|
|||
{
|
||||
"id": "https://schema.management.azure.com/schemas/2016-09-30/Microsoft.ContainerService.Aks.json#",
|
||||
"$schema": "http://json-schema.org/draft-04/schema#",
|
||||
"title": "Microsoft.ContainerService",
|
||||
"description": "Microsoft ContainerService Resource Types",
|
||||
"resourceDefinitions": {
|
||||
"containerServices": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"apiVersion": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"2016-09-30"
|
||||
]
|
||||
},
|
||||
"location": {
|
||||
"type": "string",
|
||||
"description": "Resource location"
|
||||
},
|
||||
"name": {
|
||||
"type": "string",
|
||||
"description": "The name of the container service in the specified subscription and resource group."
|
||||
},
|
||||
"properties": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/ContainerServiceProperties"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Properties of the container service."
|
||||
},
|
||||
"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.ContainerService/containerServices"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"apiVersion",
|
||||
"location",
|
||||
"name",
|
||||
"properties",
|
||||
"type"
|
||||
],
|
||||
"description": "Microsoft.ContainerService/containerServices"
|
||||
}
|
||||
},
|
||||
"definitions": {
|
||||
"ContainerServiceAgentPoolProfile": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"count": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "integer",
|
||||
"minimum": 1,
|
||||
"maximum": 100,
|
||||
"default": "1"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Number of agents (VMs) to host docker containers. Allowed values must be in the range of 1 to 100 (inclusive). The default value is 1. "
|
||||
},
|
||||
"dnsPrefix": {
|
||||
"type": "string",
|
||||
"description": "DNS prefix to be used to create the FQDN for the agent pool."
|
||||
},
|
||||
"name": {
|
||||
"type": "string",
|
||||
"description": "Unique name of the agent pool profile in the context of the subscription and resource group."
|
||||
},
|
||||
"vmSize": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"Standard_A0",
|
||||
"Standard_A1",
|
||||
"Standard_A2",
|
||||
"Standard_A3",
|
||||
"Standard_A4",
|
||||
"Standard_A5",
|
||||
"Standard_A6",
|
||||
"Standard_A7",
|
||||
"Standard_A8",
|
||||
"Standard_A9",
|
||||
"Standard_A10",
|
||||
"Standard_A11",
|
||||
"Standard_D1",
|
||||
"Standard_D2",
|
||||
"Standard_D3",
|
||||
"Standard_D4",
|
||||
"Standard_D11",
|
||||
"Standard_D12",
|
||||
"Standard_D13",
|
||||
"Standard_D14",
|
||||
"Standard_D1_v2",
|
||||
"Standard_D2_v2",
|
||||
"Standard_D3_v2",
|
||||
"Standard_D4_v2",
|
||||
"Standard_D5_v2",
|
||||
"Standard_D11_v2",
|
||||
"Standard_D12_v2",
|
||||
"Standard_D13_v2",
|
||||
"Standard_D14_v2",
|
||||
"Standard_G1",
|
||||
"Standard_G2",
|
||||
"Standard_G3",
|
||||
"Standard_G4",
|
||||
"Standard_G5",
|
||||
"Standard_DS1",
|
||||
"Standard_DS2",
|
||||
"Standard_DS3",
|
||||
"Standard_DS4",
|
||||
"Standard_DS11",
|
||||
"Standard_DS12",
|
||||
"Standard_DS13",
|
||||
"Standard_DS14",
|
||||
"Standard_GS1",
|
||||
"Standard_GS2",
|
||||
"Standard_GS3",
|
||||
"Standard_GS4",
|
||||
"Standard_GS5"
|
||||
]
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Size of agent VMs."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"count",
|
||||
"dnsPrefix",
|
||||
"name",
|
||||
"vmSize"
|
||||
],
|
||||
"description": "Profile for the container service agent pool."
|
||||
},
|
||||
"ContainerServiceCustomProfile": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"orchestrator": {
|
||||
"type": "string",
|
||||
"description": "The name of the custom orchestrator to use."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"orchestrator"
|
||||
],
|
||||
"description": "Properties to configure a custom container service cluster."
|
||||
},
|
||||
"ContainerServiceDiagnosticsProfile": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"vmDiagnostics": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/ContainerServiceVMDiagnostics"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Profile for diagnostics on the container service VMs."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"vmDiagnostics"
|
||||
]
|
||||
},
|
||||
"ContainerServiceLinuxProfile": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"adminUsername": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"pattern": "^[a-z][a-z0-9_-]*$"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "The administrator username to use for Linux VMs."
|
||||
},
|
||||
"ssh": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/ContainerServiceSshConfiguration"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "SSH configuration for Linux-based VMs running on Azure."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"adminUsername",
|
||||
"ssh"
|
||||
],
|
||||
"description": "Profile for Linux VMs in the container service cluster."
|
||||
},
|
||||
"ContainerServiceMasterProfile": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"count": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "integer",
|
||||
"default": "1"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Number of masters (VMs) in the container service cluster. Allowed values are 1, 3, and 5. The default value is 1."
|
||||
},
|
||||
"dnsPrefix": {
|
||||
"type": "string",
|
||||
"description": "DNS prefix to be used to create the FQDN for master."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"dnsPrefix"
|
||||
],
|
||||
"description": "Profile for the container service master."
|
||||
},
|
||||
"ContainerServiceOrchestratorProfile": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"orchestratorType": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"Swarm",
|
||||
"DCOS",
|
||||
"Custom",
|
||||
"Kubernetes"
|
||||
]
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "The orchestrator to use to manage container service cluster resources. Valid values are Swarm, DCOS, and Custom."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"orchestratorType"
|
||||
],
|
||||
"description": "Profile for the container service orchestrator."
|
||||
},
|
||||
"ContainerServiceProperties": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"agentPoolProfiles": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/ContainerServiceAgentPoolProfile"
|
||||
}
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Properties of the agent pool."
|
||||
},
|
||||
"customProfile": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/ContainerServiceCustomProfile"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Properties to configure a custom container service cluster."
|
||||
},
|
||||
"diagnosticsProfile": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/ContainerServiceDiagnosticsProfile"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
]
|
||||
},
|
||||
"linuxProfile": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/ContainerServiceLinuxProfile"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Profile for Linux VMs in the container service cluster."
|
||||
},
|
||||
"masterProfile": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/ContainerServiceMasterProfile"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Profile for the container service master."
|
||||
},
|
||||
"orchestratorProfile": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/ContainerServiceOrchestratorProfile"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Profile for the container service orchestrator."
|
||||
},
|
||||
"servicePrincipalProfile": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/ContainerServiceServicePrincipalProfile"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Information about a service principal identity for the cluster to use for manipulating Azure APIs."
|
||||
},
|
||||
"windowsProfile": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/ContainerServiceWindowsProfile"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Profile for Windows VMs in the container service cluster."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"agentPoolProfiles",
|
||||
"linuxProfile",
|
||||
"masterProfile"
|
||||
],
|
||||
"description": "Properties of the container service."
|
||||
},
|
||||
"ContainerServiceServicePrincipalProfile": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"clientId": {
|
||||
"type": "string",
|
||||
"description": "The ID for the service principal."
|
||||
},
|
||||
"secret": {
|
||||
"type": "string",
|
||||
"description": "The secret password associated with the service principal."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"clientId",
|
||||
"secret"
|
||||
],
|
||||
"description": "Information about a service principal identity for the cluster to use for manipulating Azure APIs."
|
||||
},
|
||||
"ContainerServiceSshConfiguration": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"publicKeys": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/ContainerServiceSshPublicKey"
|
||||
}
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "the list of SSH public keys used to authenticate with Linux-based VMs."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"publicKeys"
|
||||
],
|
||||
"description": "SSH configuration for Linux-based VMs running on Azure."
|
||||
},
|
||||
"ContainerServiceSshPublicKey": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"keyData": {
|
||||
"type": "string",
|
||||
"description": "Certificate public key used to authenticate with VMs through SSH. The certificate must be in PEM format with or without headers."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"keyData"
|
||||
],
|
||||
"description": "Contains information about SSH certificate public key data."
|
||||
},
|
||||
"ContainerServiceVMDiagnostics": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"enabled": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "boolean"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Whether the VM diagnostic agent is provisioned on the VM."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"enabled"
|
||||
],
|
||||
"description": "Profile for diagnostics on the container service VMs."
|
||||
},
|
||||
"ContainerServiceWindowsProfile": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"adminPassword": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"pattern": "^(?=.*[a-z])(?=.*[A-Z])(?=.*[!@#$%\\^&\\*\\(\\)])[a-zA-Z\\d!@#$%\\^&\\*\\(\\)]{12,123}$"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "The administrator password to use for Windows VMs."
|
||||
},
|
||||
"adminUsername": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"pattern": "^[a-zA-Z0-9]+([._]?[a-zA-Z0-9]+)*$"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "The administrator username to use for Windows VMs."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"adminPassword",
|
||||
"adminUsername"
|
||||
],
|
||||
"description": "Profile for Windows VMs in the container service cluster."
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,488 @@
|
|||
{
|
||||
"id": "https://schema.management.azure.com/schemas/2017-01-31/Microsoft.ContainerService.Aks.json#",
|
||||
"$schema": "http://json-schema.org/draft-04/schema#",
|
||||
"title": "Microsoft.ContainerService",
|
||||
"description": "Microsoft ContainerService Resource Types",
|
||||
"resourceDefinitions": {
|
||||
"containerServices": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"apiVersion": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"2017-01-31"
|
||||
]
|
||||
},
|
||||
"location": {
|
||||
"type": "string",
|
||||
"description": "Resource location"
|
||||
},
|
||||
"name": {
|
||||
"type": "string",
|
||||
"description": "The name of the container service in the specified subscription and resource group."
|
||||
},
|
||||
"properties": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/ContainerServiceProperties"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Properties of the container service."
|
||||
},
|
||||
"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.ContainerService/containerServices"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"apiVersion",
|
||||
"location",
|
||||
"name",
|
||||
"properties",
|
||||
"type"
|
||||
],
|
||||
"description": "Microsoft.ContainerService/containerServices"
|
||||
}
|
||||
},
|
||||
"definitions": {
|
||||
"ContainerServiceAgentPoolProfile": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"count": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "integer",
|
||||
"minimum": 1,
|
||||
"maximum": 100,
|
||||
"default": "1"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Number of agents (VMs) to host docker containers. Allowed values must be in the range of 1 to 100 (inclusive). The default value is 1. "
|
||||
},
|
||||
"dnsPrefix": {
|
||||
"type": "string",
|
||||
"description": "DNS prefix to be used to create the FQDN for the agent pool."
|
||||
},
|
||||
"name": {
|
||||
"type": "string",
|
||||
"description": "Unique name of the agent pool profile in the context of the subscription and resource group."
|
||||
},
|
||||
"vmSize": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"Standard_A0",
|
||||
"Standard_A1",
|
||||
"Standard_A2",
|
||||
"Standard_A3",
|
||||
"Standard_A4",
|
||||
"Standard_A5",
|
||||
"Standard_A6",
|
||||
"Standard_A7",
|
||||
"Standard_A8",
|
||||
"Standard_A9",
|
||||
"Standard_A10",
|
||||
"Standard_A11",
|
||||
"Standard_D1",
|
||||
"Standard_D2",
|
||||
"Standard_D3",
|
||||
"Standard_D4",
|
||||
"Standard_D11",
|
||||
"Standard_D12",
|
||||
"Standard_D13",
|
||||
"Standard_D14",
|
||||
"Standard_D1_v2",
|
||||
"Standard_D2_v2",
|
||||
"Standard_D3_v2",
|
||||
"Standard_D4_v2",
|
||||
"Standard_D5_v2",
|
||||
"Standard_D11_v2",
|
||||
"Standard_D12_v2",
|
||||
"Standard_D13_v2",
|
||||
"Standard_D14_v2",
|
||||
"Standard_G1",
|
||||
"Standard_G2",
|
||||
"Standard_G3",
|
||||
"Standard_G4",
|
||||
"Standard_G5",
|
||||
"Standard_DS1",
|
||||
"Standard_DS2",
|
||||
"Standard_DS3",
|
||||
"Standard_DS4",
|
||||
"Standard_DS11",
|
||||
"Standard_DS12",
|
||||
"Standard_DS13",
|
||||
"Standard_DS14",
|
||||
"Standard_GS1",
|
||||
"Standard_GS2",
|
||||
"Standard_GS3",
|
||||
"Standard_GS4",
|
||||
"Standard_GS5"
|
||||
]
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Size of agent VMs."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"count",
|
||||
"dnsPrefix",
|
||||
"name",
|
||||
"vmSize"
|
||||
],
|
||||
"description": "Profile for the container service agent pool."
|
||||
},
|
||||
"ContainerServiceCustomProfile": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"orchestrator": {
|
||||
"type": "string",
|
||||
"description": "The name of the custom orchestrator to use."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"orchestrator"
|
||||
],
|
||||
"description": "Properties to configure a custom container service cluster."
|
||||
},
|
||||
"ContainerServiceDiagnosticsProfile": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"vmDiagnostics": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/ContainerServiceVMDiagnostics"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Profile for diagnostics on the container service VMs."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"vmDiagnostics"
|
||||
]
|
||||
},
|
||||
"ContainerServiceLinuxProfile": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"adminUsername": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"pattern": "^[a-z][a-z0-9_-]*$"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "The administrator username to use for Linux VMs."
|
||||
},
|
||||
"ssh": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/ContainerServiceSshConfiguration"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "SSH configuration for Linux-based VMs running on Azure."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"adminUsername",
|
||||
"ssh"
|
||||
],
|
||||
"description": "Profile for Linux VMs in the container service cluster."
|
||||
},
|
||||
"ContainerServiceMasterProfile": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"count": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "integer",
|
||||
"default": "1"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Number of masters (VMs) in the container service cluster. Allowed values are 1, 3, and 5. The default value is 1."
|
||||
},
|
||||
"dnsPrefix": {
|
||||
"type": "string",
|
||||
"description": "DNS prefix to be used to create the FQDN for master."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"dnsPrefix"
|
||||
],
|
||||
"description": "Profile for the container service master."
|
||||
},
|
||||
"ContainerServiceOrchestratorProfile": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"orchestratorType": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"Swarm",
|
||||
"DCOS",
|
||||
"Custom",
|
||||
"Kubernetes"
|
||||
]
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "The orchestrator to use to manage container service cluster resources. Valid values are Swarm, DCOS, and Custom."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"orchestratorType"
|
||||
],
|
||||
"description": "Profile for the container service orchestrator."
|
||||
},
|
||||
"ContainerServiceProperties": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"agentPoolProfiles": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/ContainerServiceAgentPoolProfile"
|
||||
}
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Properties of the agent pool."
|
||||
},
|
||||
"customProfile": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/ContainerServiceCustomProfile"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Properties to configure a custom container service cluster."
|
||||
},
|
||||
"diagnosticsProfile": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/ContainerServiceDiagnosticsProfile"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
]
|
||||
},
|
||||
"linuxProfile": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/ContainerServiceLinuxProfile"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Profile for Linux VMs in the container service cluster."
|
||||
},
|
||||
"masterProfile": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/ContainerServiceMasterProfile"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Profile for the container service master."
|
||||
},
|
||||
"orchestratorProfile": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/ContainerServiceOrchestratorProfile"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Profile for the container service orchestrator."
|
||||
},
|
||||
"servicePrincipalProfile": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/ContainerServiceServicePrincipalProfile"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Information about a service principal identity for the cluster to use for manipulating Azure APIs."
|
||||
},
|
||||
"windowsProfile": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/ContainerServiceWindowsProfile"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Profile for Windows VMs in the container service cluster."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"agentPoolProfiles",
|
||||
"linuxProfile",
|
||||
"masterProfile"
|
||||
],
|
||||
"description": "Properties of the container service."
|
||||
},
|
||||
"ContainerServiceServicePrincipalProfile": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"clientId": {
|
||||
"type": "string",
|
||||
"description": "The ID for the service principal."
|
||||
},
|
||||
"secret": {
|
||||
"type": "string",
|
||||
"description": "The secret password associated with the service principal."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"clientId",
|
||||
"secret"
|
||||
],
|
||||
"description": "Information about a service principal identity for the cluster to use for manipulating Azure APIs."
|
||||
},
|
||||
"ContainerServiceSshConfiguration": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"publicKeys": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/ContainerServiceSshPublicKey"
|
||||
}
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "the list of SSH public keys used to authenticate with Linux-based VMs."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"publicKeys"
|
||||
],
|
||||
"description": "SSH configuration for Linux-based VMs running on Azure."
|
||||
},
|
||||
"ContainerServiceSshPublicKey": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"keyData": {
|
||||
"type": "string",
|
||||
"description": "Certificate public key used to authenticate with VMs through SSH. The certificate must be in PEM format with or without headers."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"keyData"
|
||||
],
|
||||
"description": "Contains information about SSH certificate public key data."
|
||||
},
|
||||
"ContainerServiceVMDiagnostics": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"enabled": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "boolean"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Whether the VM diagnostic agent is provisioned on the VM."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"enabled"
|
||||
],
|
||||
"description": "Profile for diagnostics on the container service VMs."
|
||||
},
|
||||
"ContainerServiceWindowsProfile": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"adminPassword": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"pattern": "^(?=.*[a-z])(?=.*[A-Z])(?=.*[!@#$%\\^&\\*\\(\\)])[a-zA-Z\\d!@#$%\\^&\\*\\(\\)]{12,123}$"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "The administrator password to use for Windows VMs."
|
||||
},
|
||||
"adminUsername": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"pattern": "^[a-zA-Z0-9]+([._]?[a-zA-Z0-9]+)*$"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "The administrator username to use for Windows VMs."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"adminPassword",
|
||||
"adminUsername"
|
||||
],
|
||||
"description": "Profile for Windows VMs in the container service cluster."
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,938 @@
|
|||
{
|
||||
"id": "https://schema.management.azure.com/schemas/2017-07-01/Microsoft.ContainerService.Aks.json#",
|
||||
"$schema": "http://json-schema.org/draft-04/schema#",
|
||||
"title": "Microsoft.ContainerService",
|
||||
"description": "Microsoft ContainerService Resource Types",
|
||||
"resourceDefinitions": {
|
||||
"containerServices": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"apiVersion": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"2017-07-01"
|
||||
]
|
||||
},
|
||||
"location": {
|
||||
"type": "string",
|
||||
"description": "Resource location"
|
||||
},
|
||||
"name": {
|
||||
"type": "string",
|
||||
"description": "The name of the container service in the specified subscription and resource group."
|
||||
},
|
||||
"properties": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/ContainerServiceProperties"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Properties of the container service."
|
||||
},
|
||||
"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.ContainerService/containerServices"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"apiVersion",
|
||||
"location",
|
||||
"name",
|
||||
"properties",
|
||||
"type"
|
||||
],
|
||||
"description": "Microsoft.ContainerService/containerServices"
|
||||
}
|
||||
},
|
||||
"definitions": {
|
||||
"ContainerServiceAgentPoolProfile": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"count": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "integer",
|
||||
"minimum": 1,
|
||||
"maximum": 100,
|
||||
"default": "1"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Number of agents (VMs) to host docker containers. Allowed values must be in the range of 1 to 100 (inclusive). The default value is 1. "
|
||||
},
|
||||
"dnsPrefix": {
|
||||
"type": "string",
|
||||
"description": "DNS prefix to be used to create the FQDN for the agent pool."
|
||||
},
|
||||
"name": {
|
||||
"type": "string",
|
||||
"description": "Unique name of the agent pool profile in the context of the subscription and resource group."
|
||||
},
|
||||
"osDiskSizeGB": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "integer",
|
||||
"minimum": 0,
|
||||
"maximum": 1023
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "OS Disk Size in GB to be used to specify the disk size for every machine in this master/agent pool. If you specify 0, it will apply the default osDisk size according to the vmSize specified."
|
||||
},
|
||||
"osType": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"Linux",
|
||||
"Windows"
|
||||
]
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "OsType to be used to specify os type. Choose from Linux and Windows. Default to Linux."
|
||||
},
|
||||
"ports": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "integer"
|
||||
}
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Ports number array used to expose on this agent pool. The default opened ports are different based on your choice of orchestrator."
|
||||
},
|
||||
"storageProfile": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"StorageAccount",
|
||||
"ManagedDisks"
|
||||
]
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Storage profile specifies what kind of storage used. Choose from StorageAccount and ManagedDisks. Leave it empty, we will choose for you based on the orchestrator choice."
|
||||
},
|
||||
"vmSize": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"Standard_A1",
|
||||
"Standard_A10",
|
||||
"Standard_A11",
|
||||
"Standard_A1_v2",
|
||||
"Standard_A2",
|
||||
"Standard_A2_v2",
|
||||
"Standard_A2m_v2",
|
||||
"Standard_A3",
|
||||
"Standard_A4",
|
||||
"Standard_A4_v2",
|
||||
"Standard_A4m_v2",
|
||||
"Standard_A5",
|
||||
"Standard_A6",
|
||||
"Standard_A7",
|
||||
"Standard_A8",
|
||||
"Standard_A8_v2",
|
||||
"Standard_A8m_v2",
|
||||
"Standard_A9",
|
||||
"Standard_B2ms",
|
||||
"Standard_B2s",
|
||||
"Standard_B4ms",
|
||||
"Standard_B8ms",
|
||||
"Standard_D1",
|
||||
"Standard_D11",
|
||||
"Standard_D11_v2",
|
||||
"Standard_D11_v2_Promo",
|
||||
"Standard_D12",
|
||||
"Standard_D12_v2",
|
||||
"Standard_D12_v2_Promo",
|
||||
"Standard_D13",
|
||||
"Standard_D13_v2",
|
||||
"Standard_D13_v2_Promo",
|
||||
"Standard_D14",
|
||||
"Standard_D14_v2",
|
||||
"Standard_D14_v2_Promo",
|
||||
"Standard_D15_v2",
|
||||
"Standard_D16_v3",
|
||||
"Standard_D16s_v3",
|
||||
"Standard_D1_v2",
|
||||
"Standard_D2",
|
||||
"Standard_D2_v2",
|
||||
"Standard_D2_v2_Promo",
|
||||
"Standard_D2_v3",
|
||||
"Standard_D2s_v3",
|
||||
"Standard_D3",
|
||||
"Standard_D32_v3",
|
||||
"Standard_D32s_v3",
|
||||
"Standard_D3_v2",
|
||||
"Standard_D3_v2_Promo",
|
||||
"Standard_D4",
|
||||
"Standard_D4_v2",
|
||||
"Standard_D4_v2_Promo",
|
||||
"Standard_D4_v3",
|
||||
"Standard_D4s_v3",
|
||||
"Standard_D5_v2",
|
||||
"Standard_D5_v2_Promo",
|
||||
"Standard_D64_v3",
|
||||
"Standard_D64s_v3",
|
||||
"Standard_D8_v3",
|
||||
"Standard_D8s_v3",
|
||||
"Standard_DS1",
|
||||
"Standard_DS11",
|
||||
"Standard_DS11_v2",
|
||||
"Standard_DS11_v2_Promo",
|
||||
"Standard_DS12",
|
||||
"Standard_DS12_v2",
|
||||
"Standard_DS12_v2_Promo",
|
||||
"Standard_DS13",
|
||||
"Standard_DS13-2_v2",
|
||||
"Standard_DS13-4_v2",
|
||||
"Standard_DS13_v2",
|
||||
"Standard_DS13_v2_Promo",
|
||||
"Standard_DS14",
|
||||
"Standard_DS14-4_v2",
|
||||
"Standard_DS14-8_v2",
|
||||
"Standard_DS14_v2",
|
||||
"Standard_DS14_v2_Promo",
|
||||
"Standard_DS15_v2",
|
||||
"Standard_DS1_v2",
|
||||
"Standard_DS2",
|
||||
"Standard_DS2_v2",
|
||||
"Standard_DS2_v2_Promo",
|
||||
"Standard_DS3",
|
||||
"Standard_DS3_v2",
|
||||
"Standard_DS3_v2_Promo",
|
||||
"Standard_DS4",
|
||||
"Standard_DS4_v2",
|
||||
"Standard_DS4_v2_Promo",
|
||||
"Standard_DS5_v2",
|
||||
"Standard_DS5_v2_Promo",
|
||||
"Standard_E16_v3",
|
||||
"Standard_E16s_v3",
|
||||
"Standard_E2_v3",
|
||||
"Standard_E2s_v3",
|
||||
"Standard_E32-16s_v3",
|
||||
"Standard_E32-8s_v3",
|
||||
"Standard_E32_v3",
|
||||
"Standard_E32s_v3",
|
||||
"Standard_E4_v3",
|
||||
"Standard_E4s_v3",
|
||||
"Standard_E64-16s_v3",
|
||||
"Standard_E64-32s_v3",
|
||||
"Standard_E64_v3",
|
||||
"Standard_E64s_v3",
|
||||
"Standard_E8_v3",
|
||||
"Standard_E8s_v3",
|
||||
"Standard_F1",
|
||||
"Standard_F16",
|
||||
"Standard_F16s",
|
||||
"Standard_F16s_v2",
|
||||
"Standard_F1s",
|
||||
"Standard_F2",
|
||||
"Standard_F2s",
|
||||
"Standard_F2s_v2",
|
||||
"Standard_F32s_v2",
|
||||
"Standard_F4",
|
||||
"Standard_F4s",
|
||||
"Standard_F4s_v2",
|
||||
"Standard_F64s_v2",
|
||||
"Standard_F72s_v2",
|
||||
"Standard_F8",
|
||||
"Standard_F8s",
|
||||
"Standard_F8s_v2",
|
||||
"Standard_G1",
|
||||
"Standard_G2",
|
||||
"Standard_G3",
|
||||
"Standard_G4",
|
||||
"Standard_G5",
|
||||
"Standard_GS1",
|
||||
"Standard_GS2",
|
||||
"Standard_GS3",
|
||||
"Standard_GS4",
|
||||
"Standard_GS4-4",
|
||||
"Standard_GS4-8",
|
||||
"Standard_GS5",
|
||||
"Standard_GS5-16",
|
||||
"Standard_GS5-8",
|
||||
"Standard_H16",
|
||||
"Standard_H16m",
|
||||
"Standard_H16mr",
|
||||
"Standard_H16r",
|
||||
"Standard_H8",
|
||||
"Standard_H8m",
|
||||
"Standard_L16s",
|
||||
"Standard_L32s",
|
||||
"Standard_L4s",
|
||||
"Standard_L8s",
|
||||
"Standard_M128-32ms",
|
||||
"Standard_M128-64ms",
|
||||
"Standard_M128ms",
|
||||
"Standard_M128s",
|
||||
"Standard_M64-16ms",
|
||||
"Standard_M64-32ms",
|
||||
"Standard_M64ms",
|
||||
"Standard_M64s",
|
||||
"Standard_NC12",
|
||||
"Standard_NC12s_v2",
|
||||
"Standard_NC12s_v3",
|
||||
"Standard_NC24",
|
||||
"Standard_NC24r",
|
||||
"Standard_NC24rs_v2",
|
||||
"Standard_NC24rs_v3",
|
||||
"Standard_NC24s_v2",
|
||||
"Standard_NC24s_v3",
|
||||
"Standard_NC6",
|
||||
"Standard_NC6s_v2",
|
||||
"Standard_NC6s_v3",
|
||||
"Standard_ND12s",
|
||||
"Standard_ND24rs",
|
||||
"Standard_ND24s",
|
||||
"Standard_ND6s",
|
||||
"Standard_NV12",
|
||||
"Standard_NV24",
|
||||
"Standard_NV6"
|
||||
]
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Size of agent VMs."
|
||||
},
|
||||
"vnetSubnetID": {
|
||||
"type": "string",
|
||||
"description": "VNet SubnetID specifies the VNet's subnet identifier."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"name",
|
||||
"vmSize"
|
||||
],
|
||||
"description": "Profile for the container service agent pool."
|
||||
},
|
||||
"ContainerServiceCustomProfile": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"orchestrator": {
|
||||
"type": "string",
|
||||
"description": "The name of the custom orchestrator to use."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"orchestrator"
|
||||
],
|
||||
"description": "Properties to configure a custom container service cluster."
|
||||
},
|
||||
"ContainerServiceDiagnosticsProfile": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"vmDiagnostics": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/ContainerServiceVMDiagnostics"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Profile for diagnostics on the container service VMs."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"vmDiagnostics"
|
||||
],
|
||||
"description": "Profile for diagnostics on the container service cluster."
|
||||
},
|
||||
"ContainerServiceLinuxProfile": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"adminUsername": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"pattern": "^[A-Za-z][-A-Za-z0-9_]*$"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "The administrator username to use for Linux VMs."
|
||||
},
|
||||
"ssh": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/ContainerServiceSshConfiguration"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "SSH configuration for Linux-based VMs running on Azure."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"adminUsername",
|
||||
"ssh"
|
||||
],
|
||||
"description": "Profile for Linux VMs in the container service cluster."
|
||||
},
|
||||
"ContainerServiceMasterProfile": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"count": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "integer",
|
||||
"default": "1"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Number of masters (VMs) in the container service cluster. Allowed values are 1, 3, and 5. The default value is 1."
|
||||
},
|
||||
"dnsPrefix": {
|
||||
"type": "string",
|
||||
"description": "DNS prefix to be used to create the FQDN for the master pool."
|
||||
},
|
||||
"firstConsecutiveStaticIP": {
|
||||
"type": "string",
|
||||
"default": "10.240.255.5",
|
||||
"description": "FirstConsecutiveStaticIP used to specify the first static ip of masters."
|
||||
},
|
||||
"osDiskSizeGB": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "integer",
|
||||
"minimum": 0,
|
||||
"maximum": 1023
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "OS Disk Size in GB to be used to specify the disk size for every machine in this master/agent pool. If you specify 0, it will apply the default osDisk size according to the vmSize specified."
|
||||
},
|
||||
"storageProfile": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"StorageAccount",
|
||||
"ManagedDisks"
|
||||
]
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Storage profile specifies what kind of storage used. Choose from StorageAccount and ManagedDisks. Leave it empty, we will choose for you based on the orchestrator choice."
|
||||
},
|
||||
"vmSize": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"Standard_A1",
|
||||
"Standard_A10",
|
||||
"Standard_A11",
|
||||
"Standard_A1_v2",
|
||||
"Standard_A2",
|
||||
"Standard_A2_v2",
|
||||
"Standard_A2m_v2",
|
||||
"Standard_A3",
|
||||
"Standard_A4",
|
||||
"Standard_A4_v2",
|
||||
"Standard_A4m_v2",
|
||||
"Standard_A5",
|
||||
"Standard_A6",
|
||||
"Standard_A7",
|
||||
"Standard_A8",
|
||||
"Standard_A8_v2",
|
||||
"Standard_A8m_v2",
|
||||
"Standard_A9",
|
||||
"Standard_B2ms",
|
||||
"Standard_B2s",
|
||||
"Standard_B4ms",
|
||||
"Standard_B8ms",
|
||||
"Standard_D1",
|
||||
"Standard_D11",
|
||||
"Standard_D11_v2",
|
||||
"Standard_D11_v2_Promo",
|
||||
"Standard_D12",
|
||||
"Standard_D12_v2",
|
||||
"Standard_D12_v2_Promo",
|
||||
"Standard_D13",
|
||||
"Standard_D13_v2",
|
||||
"Standard_D13_v2_Promo",
|
||||
"Standard_D14",
|
||||
"Standard_D14_v2",
|
||||
"Standard_D14_v2_Promo",
|
||||
"Standard_D15_v2",
|
||||
"Standard_D16_v3",
|
||||
"Standard_D16s_v3",
|
||||
"Standard_D1_v2",
|
||||
"Standard_D2",
|
||||
"Standard_D2_v2",
|
||||
"Standard_D2_v2_Promo",
|
||||
"Standard_D2_v3",
|
||||
"Standard_D2s_v3",
|
||||
"Standard_D3",
|
||||
"Standard_D32_v3",
|
||||
"Standard_D32s_v3",
|
||||
"Standard_D3_v2",
|
||||
"Standard_D3_v2_Promo",
|
||||
"Standard_D4",
|
||||
"Standard_D4_v2",
|
||||
"Standard_D4_v2_Promo",
|
||||
"Standard_D4_v3",
|
||||
"Standard_D4s_v3",
|
||||
"Standard_D5_v2",
|
||||
"Standard_D5_v2_Promo",
|
||||
"Standard_D64_v3",
|
||||
"Standard_D64s_v3",
|
||||
"Standard_D8_v3",
|
||||
"Standard_D8s_v3",
|
||||
"Standard_DS1",
|
||||
"Standard_DS11",
|
||||
"Standard_DS11_v2",
|
||||
"Standard_DS11_v2_Promo",
|
||||
"Standard_DS12",
|
||||
"Standard_DS12_v2",
|
||||
"Standard_DS12_v2_Promo",
|
||||
"Standard_DS13",
|
||||
"Standard_DS13-2_v2",
|
||||
"Standard_DS13-4_v2",
|
||||
"Standard_DS13_v2",
|
||||
"Standard_DS13_v2_Promo",
|
||||
"Standard_DS14",
|
||||
"Standard_DS14-4_v2",
|
||||
"Standard_DS14-8_v2",
|
||||
"Standard_DS14_v2",
|
||||
"Standard_DS14_v2_Promo",
|
||||
"Standard_DS15_v2",
|
||||
"Standard_DS1_v2",
|
||||
"Standard_DS2",
|
||||
"Standard_DS2_v2",
|
||||
"Standard_DS2_v2_Promo",
|
||||
"Standard_DS3",
|
||||
"Standard_DS3_v2",
|
||||
"Standard_DS3_v2_Promo",
|
||||
"Standard_DS4",
|
||||
"Standard_DS4_v2",
|
||||
"Standard_DS4_v2_Promo",
|
||||
"Standard_DS5_v2",
|
||||
"Standard_DS5_v2_Promo",
|
||||
"Standard_E16_v3",
|
||||
"Standard_E16s_v3",
|
||||
"Standard_E2_v3",
|
||||
"Standard_E2s_v3",
|
||||
"Standard_E32-16s_v3",
|
||||
"Standard_E32-8s_v3",
|
||||
"Standard_E32_v3",
|
||||
"Standard_E32s_v3",
|
||||
"Standard_E4_v3",
|
||||
"Standard_E4s_v3",
|
||||
"Standard_E64-16s_v3",
|
||||
"Standard_E64-32s_v3",
|
||||
"Standard_E64_v3",
|
||||
"Standard_E64s_v3",
|
||||
"Standard_E8_v3",
|
||||
"Standard_E8s_v3",
|
||||
"Standard_F1",
|
||||
"Standard_F16",
|
||||
"Standard_F16s",
|
||||
"Standard_F16s_v2",
|
||||
"Standard_F1s",
|
||||
"Standard_F2",
|
||||
"Standard_F2s",
|
||||
"Standard_F2s_v2",
|
||||
"Standard_F32s_v2",
|
||||
"Standard_F4",
|
||||
"Standard_F4s",
|
||||
"Standard_F4s_v2",
|
||||
"Standard_F64s_v2",
|
||||
"Standard_F72s_v2",
|
||||
"Standard_F8",
|
||||
"Standard_F8s",
|
||||
"Standard_F8s_v2",
|
||||
"Standard_G1",
|
||||
"Standard_G2",
|
||||
"Standard_G3",
|
||||
"Standard_G4",
|
||||
"Standard_G5",
|
||||
"Standard_GS1",
|
||||
"Standard_GS2",
|
||||
"Standard_GS3",
|
||||
"Standard_GS4",
|
||||
"Standard_GS4-4",
|
||||
"Standard_GS4-8",
|
||||
"Standard_GS5",
|
||||
"Standard_GS5-16",
|
||||
"Standard_GS5-8",
|
||||
"Standard_H16",
|
||||
"Standard_H16m",
|
||||
"Standard_H16mr",
|
||||
"Standard_H16r",
|
||||
"Standard_H8",
|
||||
"Standard_H8m",
|
||||
"Standard_L16s",
|
||||
"Standard_L32s",
|
||||
"Standard_L4s",
|
||||
"Standard_L8s",
|
||||
"Standard_M128-32ms",
|
||||
"Standard_M128-64ms",
|
||||
"Standard_M128ms",
|
||||
"Standard_M128s",
|
||||
"Standard_M64-16ms",
|
||||
"Standard_M64-32ms",
|
||||
"Standard_M64ms",
|
||||
"Standard_M64s",
|
||||
"Standard_NC12",
|
||||
"Standard_NC12s_v2",
|
||||
"Standard_NC12s_v3",
|
||||
"Standard_NC24",
|
||||
"Standard_NC24r",
|
||||
"Standard_NC24rs_v2",
|
||||
"Standard_NC24rs_v3",
|
||||
"Standard_NC24s_v2",
|
||||
"Standard_NC24s_v3",
|
||||
"Standard_NC6",
|
||||
"Standard_NC6s_v2",
|
||||
"Standard_NC6s_v3",
|
||||
"Standard_ND12s",
|
||||
"Standard_ND24rs",
|
||||
"Standard_ND24s",
|
||||
"Standard_ND6s",
|
||||
"Standard_NV12",
|
||||
"Standard_NV24",
|
||||
"Standard_NV6"
|
||||
]
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Size of agent VMs."
|
||||
},
|
||||
"vnetSubnetID": {
|
||||
"type": "string",
|
||||
"description": "VNet SubnetID specifies the VNet's subnet identifier."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"dnsPrefix",
|
||||
"vmSize"
|
||||
],
|
||||
"description": "Profile for the container service master."
|
||||
},
|
||||
"ContainerServiceOrchestratorProfile": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"orchestratorType": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"Kubernetes",
|
||||
"Swarm",
|
||||
"DCOS",
|
||||
"DockerCE",
|
||||
"Custom"
|
||||
]
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "The orchestrator to use to manage container service cluster resources. Valid values are Kubernetes, Swarm, DCOS, DockerCE and Custom."
|
||||
},
|
||||
"orchestratorVersion": {
|
||||
"type": "string",
|
||||
"description": "The version of the orchestrator to use. You can specify the major.minor.patch part of the actual version.For example, you can specify version as \"1.6.11\"."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"orchestratorType"
|
||||
],
|
||||
"description": "Profile for the container service orchestrator."
|
||||
},
|
||||
"ContainerServiceProperties": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"agentPoolProfiles": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/ContainerServiceAgentPoolProfile"
|
||||
}
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Properties of the agent pool."
|
||||
},
|
||||
"customProfile": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/ContainerServiceCustomProfile"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Properties to configure a custom container service cluster."
|
||||
},
|
||||
"diagnosticsProfile": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/ContainerServiceDiagnosticsProfile"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Profile for diagnostics on the container service cluster."
|
||||
},
|
||||
"linuxProfile": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/ContainerServiceLinuxProfile"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Profile for Linux VMs in the container service cluster."
|
||||
},
|
||||
"masterProfile": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/ContainerServiceMasterProfile"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Profile for the container service master."
|
||||
},
|
||||
"orchestratorProfile": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/ContainerServiceOrchestratorProfile"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Profile for the container service orchestrator."
|
||||
},
|
||||
"servicePrincipalProfile": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/ContainerServiceServicePrincipalProfile"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Information about a service principal identity for the cluster to use for manipulating Azure APIs. Either secret or keyVaultSecretRef must be specified."
|
||||
},
|
||||
"windowsProfile": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/ContainerServiceWindowsProfile"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Profile for Windows VMs in the container service cluster."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"linuxProfile",
|
||||
"masterProfile",
|
||||
"orchestratorProfile"
|
||||
],
|
||||
"description": "Properties of the container service."
|
||||
},
|
||||
"ContainerServiceServicePrincipalProfile": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"clientId": {
|
||||
"type": "string",
|
||||
"description": "The ID for the service principal."
|
||||
},
|
||||
"keyVaultSecretRef": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/KeyVaultSecretRef"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Reference to a secret stored in Azure Key Vault."
|
||||
},
|
||||
"secret": {
|
||||
"type": "string",
|
||||
"description": "The secret password associated with the service principal in plain text."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"clientId"
|
||||
],
|
||||
"description": "Information about a service principal identity for the cluster to use for manipulating Azure APIs. Either secret or keyVaultSecretRef must be specified."
|
||||
},
|
||||
"ContainerServiceSshConfiguration": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"publicKeys": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/ContainerServiceSshPublicKey"
|
||||
}
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "The list of SSH public keys used to authenticate with Linux-based VMs. Only expect one key specified."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"publicKeys"
|
||||
],
|
||||
"description": "SSH configuration for Linux-based VMs running on Azure."
|
||||
},
|
||||
"ContainerServiceSshPublicKey": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"keyData": {
|
||||
"type": "string",
|
||||
"description": "Certificate public key used to authenticate with VMs through SSH. The certificate must be in PEM format with or without headers."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"keyData"
|
||||
],
|
||||
"description": "Contains information about SSH certificate public key data."
|
||||
},
|
||||
"ContainerServiceVMDiagnostics": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"enabled": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "boolean"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Whether the VM diagnostic agent is provisioned on the VM."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"enabled"
|
||||
],
|
||||
"description": "Profile for diagnostics on the container service VMs."
|
||||
},
|
||||
"ContainerServiceWindowsProfile": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"adminPassword": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"pattern": "^(?=.*[a-z])(?=.*[A-Z])(?=.*[!@#$%\\^&\\*\\(\\)])[a-zA-Z\\d!@#$%\\^&\\*\\(\\)]{12,123}$"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "The administrator password to use for Windows VMs."
|
||||
},
|
||||
"adminUsername": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"pattern": "^[a-zA-Z0-9]+([._]?[a-zA-Z0-9]+)*$"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "The administrator username to use for Windows VMs."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"adminPassword",
|
||||
"adminUsername"
|
||||
],
|
||||
"description": "Profile for Windows VMs in the container service cluster."
|
||||
},
|
||||
"KeyVaultSecretRef": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"secretName": {
|
||||
"type": "string",
|
||||
"description": "The secret name."
|
||||
},
|
||||
"vaultID": {
|
||||
"type": "string",
|
||||
"description": "Key vault identifier."
|
||||
},
|
||||
"version": {
|
||||
"type": "string",
|
||||
"description": "The secret version."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"secretName",
|
||||
"vaultID"
|
||||
],
|
||||
"description": "Reference to a secret stored in Azure Key Vault."
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,518 @@
|
|||
{
|
||||
"id": "https://schema.management.azure.com/schemas/2017-08-31/Microsoft.ContainerService.Aks.json#",
|
||||
"$schema": "http://json-schema.org/draft-04/schema#",
|
||||
"title": "Microsoft.ContainerService",
|
||||
"description": "Microsoft ContainerService Resource Types",
|
||||
"resourceDefinitions": {
|
||||
"managedClusters": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"apiVersion": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"2017-08-31"
|
||||
]
|
||||
},
|
||||
"location": {
|
||||
"type": "string",
|
||||
"description": "Resource location"
|
||||
},
|
||||
"name": {
|
||||
"type": "string",
|
||||
"description": "The name of the managed cluster resource."
|
||||
},
|
||||
"properties": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/ManagedClusterProperties"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Properties of the managed cluster."
|
||||
},
|
||||
"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.ContainerService/managedClusters"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"apiVersion",
|
||||
"location",
|
||||
"name",
|
||||
"properties",
|
||||
"type"
|
||||
],
|
||||
"description": "Microsoft.ContainerService/managedClusters"
|
||||
}
|
||||
},
|
||||
"definitions": {
|
||||
"ContainerServiceAgentPoolProfile": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"count": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "integer",
|
||||
"minimum": 1,
|
||||
"maximum": 100,
|
||||
"default": "1"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Number of agents (VMs) to host docker containers. Allowed values must be in the range of 1 to 100 (inclusive). The default value is 1. "
|
||||
},
|
||||
"dnsPrefix": {
|
||||
"type": "string",
|
||||
"description": "DNS prefix to be used to create the FQDN for the agent pool."
|
||||
},
|
||||
"name": {
|
||||
"type": "string",
|
||||
"description": "Unique name of the agent pool profile in the context of the subscription and resource group."
|
||||
},
|
||||
"osDiskSizeGB": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "integer",
|
||||
"minimum": 0,
|
||||
"maximum": 1023
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "OS Disk Size in GB to be used to specify the disk size for every machine in this master/agent pool. If you specify 0, it will apply the default osDisk size according to the vmSize specified."
|
||||
},
|
||||
"osType": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"Linux",
|
||||
"Windows"
|
||||
]
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "OsType to be used to specify os type. Choose from Linux and Windows. Default to Linux."
|
||||
},
|
||||
"ports": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "array",
|
||||
"items": {
|
||||
"type": "integer"
|
||||
}
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Ports number array used to expose on this agent pool. The default opened ports are different based on your choice of orchestrator."
|
||||
},
|
||||
"storageProfile": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"StorageAccount",
|
||||
"ManagedDisks"
|
||||
]
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Storage profile specifies what kind of storage used. Choose from StorageAccount and ManagedDisks. Leave it empty, we will choose for you based on the orchestrator choice."
|
||||
},
|
||||
"vmSize": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"Standard_A1",
|
||||
"Standard_A10",
|
||||
"Standard_A11",
|
||||
"Standard_A1_v2",
|
||||
"Standard_A2",
|
||||
"Standard_A2_v2",
|
||||
"Standard_A2m_v2",
|
||||
"Standard_A3",
|
||||
"Standard_A4",
|
||||
"Standard_A4_v2",
|
||||
"Standard_A4m_v2",
|
||||
"Standard_A5",
|
||||
"Standard_A6",
|
||||
"Standard_A7",
|
||||
"Standard_A8",
|
||||
"Standard_A8_v2",
|
||||
"Standard_A8m_v2",
|
||||
"Standard_A9",
|
||||
"Standard_B2ms",
|
||||
"Standard_B2s",
|
||||
"Standard_B4ms",
|
||||
"Standard_B8ms",
|
||||
"Standard_D1",
|
||||
"Standard_D11",
|
||||
"Standard_D11_v2",
|
||||
"Standard_D11_v2_Promo",
|
||||
"Standard_D12",
|
||||
"Standard_D12_v2",
|
||||
"Standard_D12_v2_Promo",
|
||||
"Standard_D13",
|
||||
"Standard_D13_v2",
|
||||
"Standard_D13_v2_Promo",
|
||||
"Standard_D14",
|
||||
"Standard_D14_v2",
|
||||
"Standard_D14_v2_Promo",
|
||||
"Standard_D15_v2",
|
||||
"Standard_D16_v3",
|
||||
"Standard_D16s_v3",
|
||||
"Standard_D1_v2",
|
||||
"Standard_D2",
|
||||
"Standard_D2_v2",
|
||||
"Standard_D2_v2_Promo",
|
||||
"Standard_D2_v3",
|
||||
"Standard_D2s_v3",
|
||||
"Standard_D3",
|
||||
"Standard_D32_v3",
|
||||
"Standard_D32s_v3",
|
||||
"Standard_D3_v2",
|
||||
"Standard_D3_v2_Promo",
|
||||
"Standard_D4",
|
||||
"Standard_D4_v2",
|
||||
"Standard_D4_v2_Promo",
|
||||
"Standard_D4_v3",
|
||||
"Standard_D4s_v3",
|
||||
"Standard_D5_v2",
|
||||
"Standard_D5_v2_Promo",
|
||||
"Standard_D64_v3",
|
||||
"Standard_D64s_v3",
|
||||
"Standard_D8_v3",
|
||||
"Standard_D8s_v3",
|
||||
"Standard_DS1",
|
||||
"Standard_DS11",
|
||||
"Standard_DS11_v2",
|
||||
"Standard_DS11_v2_Promo",
|
||||
"Standard_DS12",
|
||||
"Standard_DS12_v2",
|
||||
"Standard_DS12_v2_Promo",
|
||||
"Standard_DS13",
|
||||
"Standard_DS13-2_v2",
|
||||
"Standard_DS13-4_v2",
|
||||
"Standard_DS13_v2",
|
||||
"Standard_DS13_v2_Promo",
|
||||
"Standard_DS14",
|
||||
"Standard_DS14-4_v2",
|
||||
"Standard_DS14-8_v2",
|
||||
"Standard_DS14_v2",
|
||||
"Standard_DS14_v2_Promo",
|
||||
"Standard_DS15_v2",
|
||||
"Standard_DS1_v2",
|
||||
"Standard_DS2",
|
||||
"Standard_DS2_v2",
|
||||
"Standard_DS2_v2_Promo",
|
||||
"Standard_DS3",
|
||||
"Standard_DS3_v2",
|
||||
"Standard_DS3_v2_Promo",
|
||||
"Standard_DS4",
|
||||
"Standard_DS4_v2",
|
||||
"Standard_DS4_v2_Promo",
|
||||
"Standard_DS5_v2",
|
||||
"Standard_DS5_v2_Promo",
|
||||
"Standard_E16_v3",
|
||||
"Standard_E16s_v3",
|
||||
"Standard_E2_v3",
|
||||
"Standard_E2s_v3",
|
||||
"Standard_E32-16s_v3",
|
||||
"Standard_E32-8s_v3",
|
||||
"Standard_E32_v3",
|
||||
"Standard_E32s_v3",
|
||||
"Standard_E4_v3",
|
||||
"Standard_E4s_v3",
|
||||
"Standard_E64-16s_v3",
|
||||
"Standard_E64-32s_v3",
|
||||
"Standard_E64_v3",
|
||||
"Standard_E64s_v3",
|
||||
"Standard_E8_v3",
|
||||
"Standard_E8s_v3",
|
||||
"Standard_F1",
|
||||
"Standard_F16",
|
||||
"Standard_F16s",
|
||||
"Standard_F16s_v2",
|
||||
"Standard_F1s",
|
||||
"Standard_F2",
|
||||
"Standard_F2s",
|
||||
"Standard_F2s_v2",
|
||||
"Standard_F32s_v2",
|
||||
"Standard_F4",
|
||||
"Standard_F4s",
|
||||
"Standard_F4s_v2",
|
||||
"Standard_F64s_v2",
|
||||
"Standard_F72s_v2",
|
||||
"Standard_F8",
|
||||
"Standard_F8s",
|
||||
"Standard_F8s_v2",
|
||||
"Standard_G1",
|
||||
"Standard_G2",
|
||||
"Standard_G3",
|
||||
"Standard_G4",
|
||||
"Standard_G5",
|
||||
"Standard_GS1",
|
||||
"Standard_GS2",
|
||||
"Standard_GS3",
|
||||
"Standard_GS4",
|
||||
"Standard_GS4-4",
|
||||
"Standard_GS4-8",
|
||||
"Standard_GS5",
|
||||
"Standard_GS5-16",
|
||||
"Standard_GS5-8",
|
||||
"Standard_H16",
|
||||
"Standard_H16m",
|
||||
"Standard_H16mr",
|
||||
"Standard_H16r",
|
||||
"Standard_H8",
|
||||
"Standard_H8m",
|
||||
"Standard_L16s",
|
||||
"Standard_L32s",
|
||||
"Standard_L4s",
|
||||
"Standard_L8s",
|
||||
"Standard_M128-32ms",
|
||||
"Standard_M128-64ms",
|
||||
"Standard_M128ms",
|
||||
"Standard_M128s",
|
||||
"Standard_M64-16ms",
|
||||
"Standard_M64-32ms",
|
||||
"Standard_M64ms",
|
||||
"Standard_M64s",
|
||||
"Standard_NC12",
|
||||
"Standard_NC12s_v2",
|
||||
"Standard_NC12s_v3",
|
||||
"Standard_NC24",
|
||||
"Standard_NC24r",
|
||||
"Standard_NC24rs_v2",
|
||||
"Standard_NC24rs_v3",
|
||||
"Standard_NC24s_v2",
|
||||
"Standard_NC24s_v3",
|
||||
"Standard_NC6",
|
||||
"Standard_NC6s_v2",
|
||||
"Standard_NC6s_v3",
|
||||
"Standard_ND12s",
|
||||
"Standard_ND24rs",
|
||||
"Standard_ND24s",
|
||||
"Standard_ND6s",
|
||||
"Standard_NV12",
|
||||
"Standard_NV24",
|
||||
"Standard_NV6"
|
||||
]
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Size of agent VMs."
|
||||
},
|
||||
"vnetSubnetID": {
|
||||
"type": "string",
|
||||
"description": "VNet SubnetID specifies the VNet's subnet identifier."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"name",
|
||||
"vmSize"
|
||||
],
|
||||
"description": "Profile for the container service agent pool."
|
||||
},
|
||||
"ContainerServiceLinuxProfile": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"adminUsername": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"pattern": "^[A-Za-z][-A-Za-z0-9_]*$"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "The administrator username to use for Linux VMs."
|
||||
},
|
||||
"ssh": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/ContainerServiceSshConfiguration"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "SSH configuration for Linux-based VMs running on Azure."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"adminUsername",
|
||||
"ssh"
|
||||
],
|
||||
"description": "Profile for Linux VMs in the container service cluster."
|
||||
},
|
||||
"ContainerServiceServicePrincipalProfile": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"clientId": {
|
||||
"type": "string",
|
||||
"description": "The ID for the service principal."
|
||||
},
|
||||
"keyVaultSecretRef": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/KeyVaultSecretRef"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Reference to a secret stored in Azure Key Vault."
|
||||
},
|
||||
"secret": {
|
||||
"type": "string",
|
||||
"description": "The secret password associated with the service principal in plain text."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"clientId"
|
||||
],
|
||||
"description": "Information about a service principal identity for the cluster to use for manipulating Azure APIs. Either secret or keyVaultSecretRef must be specified."
|
||||
},
|
||||
"ContainerServiceSshConfiguration": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"publicKeys": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/ContainerServiceSshPublicKey"
|
||||
}
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "The list of SSH public keys used to authenticate with Linux-based VMs. Only expect one key specified."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"publicKeys"
|
||||
],
|
||||
"description": "SSH configuration for Linux-based VMs running on Azure."
|
||||
},
|
||||
"ContainerServiceSshPublicKey": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"keyData": {
|
||||
"type": "string",
|
||||
"description": "Certificate public key used to authenticate with VMs through SSH. The certificate must be in PEM format with or without headers."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"keyData"
|
||||
],
|
||||
"description": "Contains information about SSH certificate public key data."
|
||||
},
|
||||
"KeyVaultSecretRef": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"secretName": {
|
||||
"type": "string",
|
||||
"description": "The secret name."
|
||||
},
|
||||
"vaultID": {
|
||||
"type": "string",
|
||||
"description": "Key vault identifier."
|
||||
},
|
||||
"version": {
|
||||
"type": "string",
|
||||
"description": "The secret version."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"secretName",
|
||||
"vaultID"
|
||||
],
|
||||
"description": "Reference to a secret stored in Azure Key Vault."
|
||||
},
|
||||
"ManagedClusterProperties": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"agentPoolProfiles": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/ContainerServiceAgentPoolProfile"
|
||||
}
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Properties of the agent pool."
|
||||
},
|
||||
"dnsPrefix": {
|
||||
"type": "string",
|
||||
"description": "DNS prefix specified when creating the managed cluster."
|
||||
},
|
||||
"kubernetesVersion": {
|
||||
"type": "string",
|
||||
"description": "Version of Kubernetes specified when creating the managed cluster."
|
||||
},
|
||||
"linuxProfile": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/ContainerServiceLinuxProfile"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Profile for Linux VMs in the container service cluster."
|
||||
},
|
||||
"servicePrincipalProfile": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/ContainerServiceServicePrincipalProfile"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Information about a service principal identity for the cluster to use for manipulating Azure APIs. Either secret or keyVaultSecretRef must be specified."
|
||||
}
|
||||
},
|
||||
"description": "Properties of the managed cluster."
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,667 @@
|
|||
{
|
||||
"id": "https://schema.management.azure.com/schemas/2018-03-31/Microsoft.ContainerService.Aks.json#",
|
||||
"$schema": "http://json-schema.org/draft-04/schema#",
|
||||
"title": "Microsoft.ContainerService",
|
||||
"description": "Microsoft ContainerService Resource Types",
|
||||
"resourceDefinitions": {
|
||||
"managedClusters": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"apiVersion": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"2018-03-31"
|
||||
]
|
||||
},
|
||||
"location": {
|
||||
"type": "string",
|
||||
"description": "Resource location"
|
||||
},
|
||||
"name": {
|
||||
"type": "string",
|
||||
"description": "The name of the managed cluster resource."
|
||||
},
|
||||
"properties": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/ManagedClusterProperties"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Properties of the managed cluster."
|
||||
},
|
||||
"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.ContainerService/managedClusters"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"apiVersion",
|
||||
"location",
|
||||
"name",
|
||||
"properties",
|
||||
"type"
|
||||
],
|
||||
"description": "Microsoft.ContainerService/managedClusters"
|
||||
}
|
||||
},
|
||||
"definitions": {
|
||||
"ContainerServiceLinuxProfile": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"adminUsername": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"pattern": "^[A-Za-z][-A-Za-z0-9_]*$"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "The administrator username to use for Linux VMs."
|
||||
},
|
||||
"ssh": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/ContainerServiceSshConfiguration"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "SSH configuration for Linux-based VMs running on Azure."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"adminUsername",
|
||||
"ssh"
|
||||
],
|
||||
"description": "Profile for Linux VMs in the container service cluster."
|
||||
},
|
||||
"ContainerServiceNetworkProfile": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"dnsServiceIP": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"pattern": "^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$",
|
||||
"default": "10.0.0.10"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "An IP address assigned to the Kubernetes DNS service. It must be within the Kubernetes service address range specified in serviceCidr."
|
||||
},
|
||||
"dockerBridgeCidr": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"pattern": "^([0-9]{1,3}\\.){3}[0-9]{1,3}(\\/([0-9]|[1-2][0-9]|3[0-2]))?$",
|
||||
"default": "172.17.0.1/16"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "A CIDR notation IP range assigned to the Docker bridge network. It must not overlap with any Subnet IP ranges or the Kubernetes service address range."
|
||||
},
|
||||
"networkPlugin": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"azure",
|
||||
"kubenet"
|
||||
]
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Network plugin used for building Kubernetes network."
|
||||
},
|
||||
"networkPolicy": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"calico"
|
||||
]
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Network policy used for building Kubernetes network."
|
||||
},
|
||||
"podCidr": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"pattern": "^([0-9]{1,3}\\.){3}[0-9]{1,3}(\\/([0-9]|[1-2][0-9]|3[0-2]))?$",
|
||||
"default": "10.244.0.0/16"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "A CIDR notation IP range from which to assign pod IPs when kubenet is used."
|
||||
},
|
||||
"serviceCidr": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"pattern": "^([0-9]{1,3}\\.){3}[0-9]{1,3}(\\/([0-9]|[1-2][0-9]|3[0-2]))?$",
|
||||
"default": "10.0.0.0/16"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "A CIDR notation IP range from which to assign service cluster IPs. It must not overlap with any Subnet IP ranges."
|
||||
}
|
||||
},
|
||||
"description": "Profile of network configuration."
|
||||
},
|
||||
"ContainerServiceSshConfiguration": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"publicKeys": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/ContainerServiceSshPublicKey"
|
||||
}
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "The list of SSH public keys used to authenticate with Linux-based VMs. Only expect one key specified."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"publicKeys"
|
||||
],
|
||||
"description": "SSH configuration for Linux-based VMs running on Azure."
|
||||
},
|
||||
"ContainerServiceSshPublicKey": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"keyData": {
|
||||
"type": "string",
|
||||
"description": "Certificate public key used to authenticate with VMs through SSH. The certificate must be in PEM format with or without headers."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"keyData"
|
||||
],
|
||||
"description": "Contains information about SSH certificate public key data."
|
||||
},
|
||||
"ManagedClusterAADProfile": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"clientAppID": {
|
||||
"type": "string",
|
||||
"description": "The client AAD application ID."
|
||||
},
|
||||
"serverAppID": {
|
||||
"type": "string",
|
||||
"description": "The server AAD application ID."
|
||||
},
|
||||
"serverAppSecret": {
|
||||
"type": "string",
|
||||
"description": "The server AAD application secret."
|
||||
},
|
||||
"tenantID": {
|
||||
"type": "string",
|
||||
"description": "The AAD tenant ID to use for authentication. If not specified, will use the tenant of the deployment subscription."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"clientAppID",
|
||||
"serverAppID"
|
||||
],
|
||||
"description": "AADProfile specifies attributes for Azure Active Directory integration."
|
||||
},
|
||||
"ManagedClusterAddonProfile": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"config": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
},
|
||||
"properties": {}
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Key-value pairs for configuring an add-on."
|
||||
},
|
||||
"enabled": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "boolean"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Whether the add-on is enabled or not."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"enabled"
|
||||
],
|
||||
"description": "A Kubernetes add-on profile for a managed cluster."
|
||||
},
|
||||
"ManagedClusterAgentPoolProfile": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"count": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "integer",
|
||||
"minimum": 1,
|
||||
"maximum": 100,
|
||||
"default": "1"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Number of agents (VMs) to host docker containers. Allowed values must be in the range of 1 to 100 (inclusive). The default value is 1. "
|
||||
},
|
||||
"maxPods": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "integer"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Maximum number of pods that can run on a node."
|
||||
},
|
||||
"name": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"pattern": "^[a-z][a-z0-9]{0,11}$"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Unique name of the agent pool profile in the context of the subscription and resource group."
|
||||
},
|
||||
"osDiskSizeGB": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "integer",
|
||||
"minimum": 0,
|
||||
"maximum": 1023
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "OS Disk Size in GB to be used to specify the disk size for every machine in this master/agent pool. If you specify 0, it will apply the default osDisk size according to the vmSize specified."
|
||||
},
|
||||
"osType": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"Linux",
|
||||
"Windows"
|
||||
]
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "OsType to be used to specify os type. Choose from Linux and Windows. Default to Linux."
|
||||
},
|
||||
"vmSize": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"Standard_A1",
|
||||
"Standard_A10",
|
||||
"Standard_A11",
|
||||
"Standard_A1_v2",
|
||||
"Standard_A2",
|
||||
"Standard_A2_v2",
|
||||
"Standard_A2m_v2",
|
||||
"Standard_A3",
|
||||
"Standard_A4",
|
||||
"Standard_A4_v2",
|
||||
"Standard_A4m_v2",
|
||||
"Standard_A5",
|
||||
"Standard_A6",
|
||||
"Standard_A7",
|
||||
"Standard_A8",
|
||||
"Standard_A8_v2",
|
||||
"Standard_A8m_v2",
|
||||
"Standard_A9",
|
||||
"Standard_B2ms",
|
||||
"Standard_B2s",
|
||||
"Standard_B4ms",
|
||||
"Standard_B8ms",
|
||||
"Standard_D1",
|
||||
"Standard_D11",
|
||||
"Standard_D11_v2",
|
||||
"Standard_D11_v2_Promo",
|
||||
"Standard_D12",
|
||||
"Standard_D12_v2",
|
||||
"Standard_D12_v2_Promo",
|
||||
"Standard_D13",
|
||||
"Standard_D13_v2",
|
||||
"Standard_D13_v2_Promo",
|
||||
"Standard_D14",
|
||||
"Standard_D14_v2",
|
||||
"Standard_D14_v2_Promo",
|
||||
"Standard_D15_v2",
|
||||
"Standard_D16_v3",
|
||||
"Standard_D16s_v3",
|
||||
"Standard_D1_v2",
|
||||
"Standard_D2",
|
||||
"Standard_D2_v2",
|
||||
"Standard_D2_v2_Promo",
|
||||
"Standard_D2_v3",
|
||||
"Standard_D2s_v3",
|
||||
"Standard_D3",
|
||||
"Standard_D32_v3",
|
||||
"Standard_D32s_v3",
|
||||
"Standard_D3_v2",
|
||||
"Standard_D3_v2_Promo",
|
||||
"Standard_D4",
|
||||
"Standard_D4_v2",
|
||||
"Standard_D4_v2_Promo",
|
||||
"Standard_D4_v3",
|
||||
"Standard_D4s_v3",
|
||||
"Standard_D5_v2",
|
||||
"Standard_D5_v2_Promo",
|
||||
"Standard_D64_v3",
|
||||
"Standard_D64s_v3",
|
||||
"Standard_D8_v3",
|
||||
"Standard_D8s_v3",
|
||||
"Standard_DS1",
|
||||
"Standard_DS11",
|
||||
"Standard_DS11_v2",
|
||||
"Standard_DS11_v2_Promo",
|
||||
"Standard_DS12",
|
||||
"Standard_DS12_v2",
|
||||
"Standard_DS12_v2_Promo",
|
||||
"Standard_DS13",
|
||||
"Standard_DS13-2_v2",
|
||||
"Standard_DS13-4_v2",
|
||||
"Standard_DS13_v2",
|
||||
"Standard_DS13_v2_Promo",
|
||||
"Standard_DS14",
|
||||
"Standard_DS14-4_v2",
|
||||
"Standard_DS14-8_v2",
|
||||
"Standard_DS14_v2",
|
||||
"Standard_DS14_v2_Promo",
|
||||
"Standard_DS15_v2",
|
||||
"Standard_DS1_v2",
|
||||
"Standard_DS2",
|
||||
"Standard_DS2_v2",
|
||||
"Standard_DS2_v2_Promo",
|
||||
"Standard_DS3",
|
||||
"Standard_DS3_v2",
|
||||
"Standard_DS3_v2_Promo",
|
||||
"Standard_DS4",
|
||||
"Standard_DS4_v2",
|
||||
"Standard_DS4_v2_Promo",
|
||||
"Standard_DS5_v2",
|
||||
"Standard_DS5_v2_Promo",
|
||||
"Standard_E16_v3",
|
||||
"Standard_E16s_v3",
|
||||
"Standard_E2_v3",
|
||||
"Standard_E2s_v3",
|
||||
"Standard_E32-16s_v3",
|
||||
"Standard_E32-8s_v3",
|
||||
"Standard_E32_v3",
|
||||
"Standard_E32s_v3",
|
||||
"Standard_E4_v3",
|
||||
"Standard_E4s_v3",
|
||||
"Standard_E64-16s_v3",
|
||||
"Standard_E64-32s_v3",
|
||||
"Standard_E64_v3",
|
||||
"Standard_E64s_v3",
|
||||
"Standard_E8_v3",
|
||||
"Standard_E8s_v3",
|
||||
"Standard_F1",
|
||||
"Standard_F16",
|
||||
"Standard_F16s",
|
||||
"Standard_F16s_v2",
|
||||
"Standard_F1s",
|
||||
"Standard_F2",
|
||||
"Standard_F2s",
|
||||
"Standard_F2s_v2",
|
||||
"Standard_F32s_v2",
|
||||
"Standard_F4",
|
||||
"Standard_F4s",
|
||||
"Standard_F4s_v2",
|
||||
"Standard_F64s_v2",
|
||||
"Standard_F72s_v2",
|
||||
"Standard_F8",
|
||||
"Standard_F8s",
|
||||
"Standard_F8s_v2",
|
||||
"Standard_G1",
|
||||
"Standard_G2",
|
||||
"Standard_G3",
|
||||
"Standard_G4",
|
||||
"Standard_G5",
|
||||
"Standard_GS1",
|
||||
"Standard_GS2",
|
||||
"Standard_GS3",
|
||||
"Standard_GS4",
|
||||
"Standard_GS4-4",
|
||||
"Standard_GS4-8",
|
||||
"Standard_GS5",
|
||||
"Standard_GS5-16",
|
||||
"Standard_GS5-8",
|
||||
"Standard_H16",
|
||||
"Standard_H16m",
|
||||
"Standard_H16mr",
|
||||
"Standard_H16r",
|
||||
"Standard_H8",
|
||||
"Standard_H8m",
|
||||
"Standard_L16s",
|
||||
"Standard_L32s",
|
||||
"Standard_L4s",
|
||||
"Standard_L8s",
|
||||
"Standard_M128-32ms",
|
||||
"Standard_M128-64ms",
|
||||
"Standard_M128ms",
|
||||
"Standard_M128s",
|
||||
"Standard_M64-16ms",
|
||||
"Standard_M64-32ms",
|
||||
"Standard_M64ms",
|
||||
"Standard_M64s",
|
||||
"Standard_NC12",
|
||||
"Standard_NC12s_v2",
|
||||
"Standard_NC12s_v3",
|
||||
"Standard_NC24",
|
||||
"Standard_NC24r",
|
||||
"Standard_NC24rs_v2",
|
||||
"Standard_NC24rs_v3",
|
||||
"Standard_NC24s_v2",
|
||||
"Standard_NC24s_v3",
|
||||
"Standard_NC6",
|
||||
"Standard_NC6s_v2",
|
||||
"Standard_NC6s_v3",
|
||||
"Standard_ND12s",
|
||||
"Standard_ND24rs",
|
||||
"Standard_ND24s",
|
||||
"Standard_ND6s",
|
||||
"Standard_NV12",
|
||||
"Standard_NV24",
|
||||
"Standard_NV6"
|
||||
]
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Size of agent VMs."
|
||||
},
|
||||
"vnetSubnetID": {
|
||||
"type": "string",
|
||||
"description": "VNet SubnetID specifies the VNet's subnet identifier."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"name",
|
||||
"vmSize"
|
||||
],
|
||||
"description": "Profile for the container service agent pool."
|
||||
},
|
||||
"ManagedClusterProperties": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"aadProfile": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/ManagedClusterAADProfile"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "AADProfile specifies attributes for Azure Active Directory integration."
|
||||
},
|
||||
"addonProfiles": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"$ref": "#/definitions/ManagedClusterAddonProfile"
|
||||
},
|
||||
"properties": {}
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Profile of managed cluster add-on."
|
||||
},
|
||||
"agentPoolProfiles": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/ManagedClusterAgentPoolProfile"
|
||||
}
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Properties of the agent pool. Currently only one agent pool can exist."
|
||||
},
|
||||
"dnsPrefix": {
|
||||
"type": "string",
|
||||
"description": "DNS prefix specified when creating the managed cluster."
|
||||
},
|
||||
"enableRBAC": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "boolean"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Whether to enable Kubernetes Role-Based Access Control."
|
||||
},
|
||||
"kubernetesVersion": {
|
||||
"type": "string",
|
||||
"description": "Version of Kubernetes specified when creating the managed cluster."
|
||||
},
|
||||
"linuxProfile": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/ContainerServiceLinuxProfile"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Profile for Linux VMs in the container service cluster."
|
||||
},
|
||||
"networkProfile": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/ContainerServiceNetworkProfile"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Profile of network configuration."
|
||||
},
|
||||
"servicePrincipalProfile": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/ManagedClusterServicePrincipalProfile"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Information about a service principal identity for the cluster to use for manipulating Azure APIs."
|
||||
}
|
||||
},
|
||||
"description": "Properties of the managed cluster."
|
||||
},
|
||||
"ManagedClusterServicePrincipalProfile": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"clientId": {
|
||||
"type": "string",
|
||||
"description": "The ID for the service principal."
|
||||
},
|
||||
"secret": {
|
||||
"type": "string",
|
||||
"description": "The secret password associated with the service principal in plain text."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"clientId"
|
||||
],
|
||||
"description": "Information about a service principal identity for the cluster to use for manipulating Azure APIs."
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,708 @@
|
|||
{
|
||||
"id": "https://schema.management.azure.com/schemas/2018-08-01-preview/Microsoft.ContainerService.Aks.json#",
|
||||
"$schema": "http://json-schema.org/draft-04/schema#",
|
||||
"title": "Microsoft.ContainerService",
|
||||
"description": "Microsoft ContainerService Resource Types",
|
||||
"resourceDefinitions": {
|
||||
"managedClusters": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"apiVersion": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"2018-08-01-preview"
|
||||
]
|
||||
},
|
||||
"location": {
|
||||
"type": "string",
|
||||
"description": "Resource location"
|
||||
},
|
||||
"name": {
|
||||
"type": "string",
|
||||
"description": "The name of the managed cluster resource."
|
||||
},
|
||||
"properties": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/ManagedClusterProperties"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Properties of the managed cluster."
|
||||
},
|
||||
"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.ContainerService/managedClusters"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"apiVersion",
|
||||
"location",
|
||||
"name",
|
||||
"properties",
|
||||
"type"
|
||||
],
|
||||
"description": "Microsoft.ContainerService/managedClusters"
|
||||
}
|
||||
},
|
||||
"definitions": {
|
||||
"ContainerServiceLinuxProfile": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"adminUsername": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"pattern": "^[A-Za-z][-A-Za-z0-9_]*$"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "The administrator username to use for Linux VMs."
|
||||
},
|
||||
"ssh": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/ContainerServiceSshConfiguration"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "SSH configuration for Linux-based VMs running on Azure."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"adminUsername",
|
||||
"ssh"
|
||||
],
|
||||
"description": "Profile for Linux VMs in the container service cluster."
|
||||
},
|
||||
"ContainerServiceNetworkProfile": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"dnsServiceIP": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"pattern": "^(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)$",
|
||||
"default": "10.0.0.10"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "An IP address assigned to the Kubernetes DNS service. It must be within the Kubernetes service address range specified in serviceCidr."
|
||||
},
|
||||
"dockerBridgeCidr": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"pattern": "^([0-9]{1,3}\\.){3}[0-9]{1,3}(\\/([0-9]|[1-2][0-9]|3[0-2]))?$",
|
||||
"default": "172.17.0.1/16"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "A CIDR notation IP range assigned to the Docker bridge network. It must not overlap with any Subnet IP ranges or the Kubernetes service address range."
|
||||
},
|
||||
"networkPlugin": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"azure",
|
||||
"kubenet"
|
||||
]
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Network plugin used for building Kubernetes network."
|
||||
},
|
||||
"networkPolicy": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"calico"
|
||||
]
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Network policy used for building Kubernetes network."
|
||||
},
|
||||
"podCidr": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"pattern": "^([0-9]{1,3}\\.){3}[0-9]{1,3}(\\/([0-9]|[1-2][0-9]|3[0-2]))?$",
|
||||
"default": "10.244.0.0/16"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "A CIDR notation IP range from which to assign pod IPs when kubenet is used."
|
||||
},
|
||||
"serviceCidr": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"pattern": "^([0-9]{1,3}\\.){3}[0-9]{1,3}(\\/([0-9]|[1-2][0-9]|3[0-2]))?$",
|
||||
"default": "10.0.0.0/16"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "A CIDR notation IP range from which to assign service cluster IPs. It must not overlap with any Subnet IP ranges."
|
||||
}
|
||||
},
|
||||
"description": "Profile of network configuration."
|
||||
},
|
||||
"ContainerServiceSshConfiguration": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"publicKeys": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/ContainerServiceSshPublicKey"
|
||||
}
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "The list of SSH public keys used to authenticate with Linux-based VMs. Only expect one key specified."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"publicKeys"
|
||||
],
|
||||
"description": "SSH configuration for Linux-based VMs running on Azure."
|
||||
},
|
||||
"ContainerServiceSshPublicKey": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"keyData": {
|
||||
"type": "string",
|
||||
"description": "Certificate public key used to authenticate with VMs through SSH. The certificate must be in PEM format with or without headers."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"keyData"
|
||||
],
|
||||
"description": "Contains information about SSH certificate public key data."
|
||||
},
|
||||
"ManagedClusterAADProfile": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"clientAppID": {
|
||||
"type": "string",
|
||||
"description": "The client AAD application ID."
|
||||
},
|
||||
"serverAppID": {
|
||||
"type": "string",
|
||||
"description": "The server AAD application ID."
|
||||
},
|
||||
"serverAppSecret": {
|
||||
"type": "string",
|
||||
"description": "The server AAD application secret."
|
||||
},
|
||||
"tenantID": {
|
||||
"type": "string",
|
||||
"description": "The AAD tenant ID to use for authentication. If not specified, will use the tenant of the deployment subscription."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"clientAppID",
|
||||
"serverAppID"
|
||||
],
|
||||
"description": "AADProfile specifies attributes for Azure Active Directory integration."
|
||||
},
|
||||
"ManagedClusterAddonProfile": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"config": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
},
|
||||
"properties": {}
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Key-value pairs for configuring an add-on."
|
||||
},
|
||||
"enabled": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "boolean"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Whether the add-on is enabled or not."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"enabled"
|
||||
],
|
||||
"description": "A Kubernetes add-on profile for a managed cluster."
|
||||
},
|
||||
"ManagedClusterAgentPoolProfile": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"count": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "integer",
|
||||
"minimum": 1,
|
||||
"maximum": 100,
|
||||
"default": "1"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Number of agents (VMs) to host docker containers. Allowed values must be in the range of 1 to 100 (inclusive). The default value is 1. "
|
||||
},
|
||||
"enableAutoScaling": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "boolean"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Whether to enable auto-scaler"
|
||||
},
|
||||
"maxCount": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "integer"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Maximum number of nodes for auto-scaling"
|
||||
},
|
||||
"maxPods": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "integer"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Maximum number of pods that can run on a node."
|
||||
},
|
||||
"minCount": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "integer"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Minimum number of nodes for auto-scaling"
|
||||
},
|
||||
"name": {
|
||||
"type": "string",
|
||||
"description": "Unique name of the agent pool profile in the context of the subscription and resource group."
|
||||
},
|
||||
"osDiskSizeGB": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "integer",
|
||||
"minimum": 0,
|
||||
"maximum": 1023
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "OS Disk Size in GB to be used to specify the disk size for every machine in this master/agent pool. If you specify 0, it will apply the default osDisk size according to the vmSize specified."
|
||||
},
|
||||
"osType": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"Linux",
|
||||
"Windows"
|
||||
]
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "OsType to be used to specify os type. Choose from Linux and Windows. Default to Linux."
|
||||
},
|
||||
"type": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"VirtualMachineScaleSets",
|
||||
"AvailabilitySet"
|
||||
]
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "AgentPoolType represents types of an agent pool."
|
||||
},
|
||||
"vmSize": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"Standard_A1",
|
||||
"Standard_A10",
|
||||
"Standard_A11",
|
||||
"Standard_A1_v2",
|
||||
"Standard_A2",
|
||||
"Standard_A2_v2",
|
||||
"Standard_A2m_v2",
|
||||
"Standard_A3",
|
||||
"Standard_A4",
|
||||
"Standard_A4_v2",
|
||||
"Standard_A4m_v2",
|
||||
"Standard_A5",
|
||||
"Standard_A6",
|
||||
"Standard_A7",
|
||||
"Standard_A8",
|
||||
"Standard_A8_v2",
|
||||
"Standard_A8m_v2",
|
||||
"Standard_A9",
|
||||
"Standard_B2ms",
|
||||
"Standard_B2s",
|
||||
"Standard_B4ms",
|
||||
"Standard_B8ms",
|
||||
"Standard_D1",
|
||||
"Standard_D11",
|
||||
"Standard_D11_v2",
|
||||
"Standard_D11_v2_Promo",
|
||||
"Standard_D12",
|
||||
"Standard_D12_v2",
|
||||
"Standard_D12_v2_Promo",
|
||||
"Standard_D13",
|
||||
"Standard_D13_v2",
|
||||
"Standard_D13_v2_Promo",
|
||||
"Standard_D14",
|
||||
"Standard_D14_v2",
|
||||
"Standard_D14_v2_Promo",
|
||||
"Standard_D15_v2",
|
||||
"Standard_D16_v3",
|
||||
"Standard_D16s_v3",
|
||||
"Standard_D1_v2",
|
||||
"Standard_D2",
|
||||
"Standard_D2_v2",
|
||||
"Standard_D2_v2_Promo",
|
||||
"Standard_D2_v3",
|
||||
"Standard_D2s_v3",
|
||||
"Standard_D3",
|
||||
"Standard_D32_v3",
|
||||
"Standard_D32s_v3",
|
||||
"Standard_D3_v2",
|
||||
"Standard_D3_v2_Promo",
|
||||
"Standard_D4",
|
||||
"Standard_D4_v2",
|
||||
"Standard_D4_v2_Promo",
|
||||
"Standard_D4_v3",
|
||||
"Standard_D4s_v3",
|
||||
"Standard_D5_v2",
|
||||
"Standard_D5_v2_Promo",
|
||||
"Standard_D64_v3",
|
||||
"Standard_D64s_v3",
|
||||
"Standard_D8_v3",
|
||||
"Standard_D8s_v3",
|
||||
"Standard_DS1",
|
||||
"Standard_DS11",
|
||||
"Standard_DS11_v2",
|
||||
"Standard_DS11_v2_Promo",
|
||||
"Standard_DS12",
|
||||
"Standard_DS12_v2",
|
||||
"Standard_DS12_v2_Promo",
|
||||
"Standard_DS13",
|
||||
"Standard_DS13-2_v2",
|
||||
"Standard_DS13-4_v2",
|
||||
"Standard_DS13_v2",
|
||||
"Standard_DS13_v2_Promo",
|
||||
"Standard_DS14",
|
||||
"Standard_DS14-4_v2",
|
||||
"Standard_DS14-8_v2",
|
||||
"Standard_DS14_v2",
|
||||
"Standard_DS14_v2_Promo",
|
||||
"Standard_DS15_v2",
|
||||
"Standard_DS1_v2",
|
||||
"Standard_DS2",
|
||||
"Standard_DS2_v2",
|
||||
"Standard_DS2_v2_Promo",
|
||||
"Standard_DS3",
|
||||
"Standard_DS3_v2",
|
||||
"Standard_DS3_v2_Promo",
|
||||
"Standard_DS4",
|
||||
"Standard_DS4_v2",
|
||||
"Standard_DS4_v2_Promo",
|
||||
"Standard_DS5_v2",
|
||||
"Standard_DS5_v2_Promo",
|
||||
"Standard_E16_v3",
|
||||
"Standard_E16s_v3",
|
||||
"Standard_E2_v3",
|
||||
"Standard_E2s_v3",
|
||||
"Standard_E32-16s_v3",
|
||||
"Standard_E32-8s_v3",
|
||||
"Standard_E32_v3",
|
||||
"Standard_E32s_v3",
|
||||
"Standard_E4_v3",
|
||||
"Standard_E4s_v3",
|
||||
"Standard_E64-16s_v3",
|
||||
"Standard_E64-32s_v3",
|
||||
"Standard_E64_v3",
|
||||
"Standard_E64s_v3",
|
||||
"Standard_E8_v3",
|
||||
"Standard_E8s_v3",
|
||||
"Standard_F1",
|
||||
"Standard_F16",
|
||||
"Standard_F16s",
|
||||
"Standard_F16s_v2",
|
||||
"Standard_F1s",
|
||||
"Standard_F2",
|
||||
"Standard_F2s",
|
||||
"Standard_F2s_v2",
|
||||
"Standard_F32s_v2",
|
||||
"Standard_F4",
|
||||
"Standard_F4s",
|
||||
"Standard_F4s_v2",
|
||||
"Standard_F64s_v2",
|
||||
"Standard_F72s_v2",
|
||||
"Standard_F8",
|
||||
"Standard_F8s",
|
||||
"Standard_F8s_v2",
|
||||
"Standard_G1",
|
||||
"Standard_G2",
|
||||
"Standard_G3",
|
||||
"Standard_G4",
|
||||
"Standard_G5",
|
||||
"Standard_GS1",
|
||||
"Standard_GS2",
|
||||
"Standard_GS3",
|
||||
"Standard_GS4",
|
||||
"Standard_GS4-4",
|
||||
"Standard_GS4-8",
|
||||
"Standard_GS5",
|
||||
"Standard_GS5-16",
|
||||
"Standard_GS5-8",
|
||||
"Standard_H16",
|
||||
"Standard_H16m",
|
||||
"Standard_H16mr",
|
||||
"Standard_H16r",
|
||||
"Standard_H8",
|
||||
"Standard_H8m",
|
||||
"Standard_L16s",
|
||||
"Standard_L32s",
|
||||
"Standard_L4s",
|
||||
"Standard_L8s",
|
||||
"Standard_M128-32ms",
|
||||
"Standard_M128-64ms",
|
||||
"Standard_M128ms",
|
||||
"Standard_M128s",
|
||||
"Standard_M64-16ms",
|
||||
"Standard_M64-32ms",
|
||||
"Standard_M64ms",
|
||||
"Standard_M64s",
|
||||
"Standard_NC12",
|
||||
"Standard_NC12s_v2",
|
||||
"Standard_NC12s_v3",
|
||||
"Standard_NC24",
|
||||
"Standard_NC24r",
|
||||
"Standard_NC24rs_v2",
|
||||
"Standard_NC24rs_v3",
|
||||
"Standard_NC24s_v2",
|
||||
"Standard_NC24s_v3",
|
||||
"Standard_NC6",
|
||||
"Standard_NC6s_v2",
|
||||
"Standard_NC6s_v3",
|
||||
"Standard_ND12s",
|
||||
"Standard_ND24rs",
|
||||
"Standard_ND24s",
|
||||
"Standard_ND6s",
|
||||
"Standard_NV12",
|
||||
"Standard_NV24",
|
||||
"Standard_NV6"
|
||||
]
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Size of agent VMs."
|
||||
},
|
||||
"vnetSubnetID": {
|
||||
"type": "string",
|
||||
"description": "VNet SubnetID specifies the VNet's subnet identifier."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"count",
|
||||
"name",
|
||||
"vmSize"
|
||||
],
|
||||
"description": "Profile for the container service agent pool."
|
||||
},
|
||||
"ManagedClusterProperties": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"aadProfile": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/ManagedClusterAADProfile"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "AADProfile specifies attributes for Azure Active Directory integration."
|
||||
},
|
||||
"addonProfiles": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"$ref": "#/definitions/ManagedClusterAddonProfile"
|
||||
},
|
||||
"properties": {}
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Profile of managed cluster add-on."
|
||||
},
|
||||
"agentPoolProfiles": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/ManagedClusterAgentPoolProfile"
|
||||
}
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Properties of the agent pool."
|
||||
},
|
||||
"dnsPrefix": {
|
||||
"type": "string",
|
||||
"description": "DNS prefix specified when creating the managed cluster."
|
||||
},
|
||||
"enableRBAC": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "boolean"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Whether to enable Kubernetes Role-Based Access Control."
|
||||
},
|
||||
"kubernetesVersion": {
|
||||
"type": "string",
|
||||
"description": "Version of Kubernetes specified when creating the managed cluster."
|
||||
},
|
||||
"linuxProfile": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/ContainerServiceLinuxProfile"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Profile for Linux VMs in the container service cluster."
|
||||
},
|
||||
"networkProfile": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/ContainerServiceNetworkProfile"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Profile of network configuration."
|
||||
},
|
||||
"servicePrincipalProfile": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/ManagedClusterServicePrincipalProfile"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Information about a service principal identity for the cluster to use for manipulating Azure APIs."
|
||||
}
|
||||
},
|
||||
"description": "Properties of the managed cluster."
|
||||
},
|
||||
"ManagedClusterServicePrincipalProfile": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"clientId": {
|
||||
"type": "string",
|
||||
"description": "The ID for the service principal."
|
||||
},
|
||||
"secret": {
|
||||
"type": "string",
|
||||
"description": "The secret password associated with the service principal in plain text."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"clientId"
|
||||
],
|
||||
"description": "Information about a service principal identity for the cluster to use for manipulating Azure APIs."
|
||||
}
|
||||
}
|
||||
}
|
|
@ -0,0 +1,492 @@
|
|||
{
|
||||
"id": "https://schema.management.azure.com/schemas/2018-09-30-preview/Microsoft.ContainerService.Aks.json#",
|
||||
"$schema": "http://json-schema.org/draft-04/schema#",
|
||||
"title": "Microsoft.ContainerService",
|
||||
"description": "Microsoft ContainerService Resource Types",
|
||||
"resourceDefinitions": {
|
||||
"openShiftManagedClusters": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"apiVersion": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"2018-09-30-preview"
|
||||
]
|
||||
},
|
||||
"location": {
|
||||
"type": "string",
|
||||
"description": "Resource location"
|
||||
},
|
||||
"name": {
|
||||
"type": "string",
|
||||
"description": "The name of the OpenShift managed cluster resource."
|
||||
},
|
||||
"plan": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/PurchasePlan"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Used for establishing the purchase context of any 3rd Party artifact through MarketPlace."
|
||||
},
|
||||
"properties": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/OpenShiftManagedClusterProperties"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Properties of the OpenShift managed cluster."
|
||||
},
|
||||
"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.ContainerService/openShiftManagedClusters"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"apiVersion",
|
||||
"location",
|
||||
"name",
|
||||
"properties",
|
||||
"type"
|
||||
],
|
||||
"description": "Microsoft.ContainerService/openShiftManagedClusters"
|
||||
}
|
||||
},
|
||||
"definitions": {
|
||||
"NetworkProfile": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"peerVnetId": {
|
||||
"type": "string",
|
||||
"description": "CIDR of the Vnet to peer."
|
||||
},
|
||||
"vnetCidr": {
|
||||
"type": "string",
|
||||
"default": "10.0.0.0/8",
|
||||
"description": "CIDR for the OpenShift Vnet."
|
||||
}
|
||||
},
|
||||
"description": "Represents the OpenShift networking configuration"
|
||||
},
|
||||
"OpenShiftManagedClusterAADIdentityProvider": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"clientId": {
|
||||
"type": "string",
|
||||
"description": "The clientId password associated with the provider."
|
||||
},
|
||||
"customerAdminGroupId": {
|
||||
"type": "string",
|
||||
"description": "The groupId to be granted cluster admin role."
|
||||
},
|
||||
"kind": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"AADIdentityProvider"
|
||||
]
|
||||
},
|
||||
"secret": {
|
||||
"type": "string",
|
||||
"description": "The secret password associated with the provider."
|
||||
},
|
||||
"tenantId": {
|
||||
"type": "string",
|
||||
"description": "The tenantId associated with the provider."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"kind"
|
||||
],
|
||||
"description": "Defines the Identity provider for MS AAD."
|
||||
},
|
||||
"OpenShiftManagedClusterAgentPoolProfile": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"count": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "integer"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Number of agents (VMs) to host docker containers."
|
||||
},
|
||||
"name": {
|
||||
"type": "string",
|
||||
"description": "Unique name of the pool profile in the context of the subscription and resource group."
|
||||
},
|
||||
"osType": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"Linux",
|
||||
"Windows"
|
||||
]
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "OsType to be used to specify os type. Choose from Linux and Windows. Default to Linux."
|
||||
},
|
||||
"role": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"compute",
|
||||
"infra"
|
||||
]
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Define the role of the AgentPoolProfile."
|
||||
},
|
||||
"subnetCidr": {
|
||||
"type": "string",
|
||||
"default": "10.0.0.0/24",
|
||||
"description": "Subnet CIDR for the peering."
|
||||
},
|
||||
"vmSize": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"Standard_D2s_v3",
|
||||
"Standard_D4s_v3",
|
||||
"Standard_D8s_v3",
|
||||
"Standard_D16s_v3",
|
||||
"Standard_D32s_v3",
|
||||
"Standard_D64s_v3",
|
||||
"Standard_DS4_v2",
|
||||
"Standard_DS5_v2",
|
||||
"Standard_F8s_v2",
|
||||
"Standard_F16s_v2",
|
||||
"Standard_F32s_v2",
|
||||
"Standard_F64s_v2",
|
||||
"Standard_F72s_v2",
|
||||
"Standard_F8s",
|
||||
"Standard_F16s",
|
||||
"Standard_E4s_v3",
|
||||
"Standard_E8s_v3",
|
||||
"Standard_E16s_v3",
|
||||
"Standard_E20s_v3",
|
||||
"Standard_E32s_v3",
|
||||
"Standard_E64s_v3",
|
||||
"Standard_GS2",
|
||||
"Standard_GS3",
|
||||
"Standard_GS4",
|
||||
"Standard_GS5",
|
||||
"Standard_DS12_v2",
|
||||
"Standard_DS13_v2",
|
||||
"Standard_DS14_v2",
|
||||
"Standard_DS15_v2",
|
||||
"Standard_L4s",
|
||||
"Standard_L8s",
|
||||
"Standard_L16s",
|
||||
"Standard_L32s"
|
||||
]
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Size of agent VMs."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"count",
|
||||
"name",
|
||||
"vmSize"
|
||||
],
|
||||
"description": "Defines the configuration of the OpenShift cluster VMs."
|
||||
},
|
||||
"OpenShiftManagedClusterAuthProfile": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"identityProviders": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/OpenShiftManagedClusterIdentityProvider"
|
||||
}
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Type of authentication profile to use."
|
||||
}
|
||||
},
|
||||
"description": "Defines all possible authentication profiles for the OpenShift cluster."
|
||||
},
|
||||
"OpenShiftManagedClusterBaseIdentityProvider": {
|
||||
"type": "object",
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/OpenShiftManagedClusterAADIdentityProvider"
|
||||
}
|
||||
],
|
||||
"properties": {},
|
||||
"description": "Structure for any Identity provider."
|
||||
},
|
||||
"OpenShiftManagedClusterIdentityProvider": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"name": {
|
||||
"type": "string",
|
||||
"description": "Name of the provider."
|
||||
},
|
||||
"provider": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/OpenShiftManagedClusterBaseIdentityProvider"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Structure for any Identity provider."
|
||||
}
|
||||
},
|
||||
"description": "Defines the configuration of the identity providers to be used in the OpenShift cluster."
|
||||
},
|
||||
"OpenShiftManagedClusterMasterPoolProfile": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"count": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "integer"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Number of masters (VMs) to host docker containers. The default value is 3."
|
||||
},
|
||||
"name": {
|
||||
"type": "string",
|
||||
"description": "Unique name of the master pool profile in the context of the subscription and resource group."
|
||||
},
|
||||
"osType": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"Linux",
|
||||
"Windows"
|
||||
]
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "OsType to be used to specify os type. Choose from Linux and Windows. Default to Linux."
|
||||
},
|
||||
"subnetCidr": {
|
||||
"type": "string",
|
||||
"description": "Subnet CIDR for the peering."
|
||||
},
|
||||
"vmSize": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"Standard_D2s_v3",
|
||||
"Standard_D4s_v3",
|
||||
"Standard_D8s_v3",
|
||||
"Standard_D16s_v3",
|
||||
"Standard_D32s_v3",
|
||||
"Standard_D64s_v3",
|
||||
"Standard_DS4_v2",
|
||||
"Standard_DS5_v2",
|
||||
"Standard_F8s_v2",
|
||||
"Standard_F16s_v2",
|
||||
"Standard_F32s_v2",
|
||||
"Standard_F64s_v2",
|
||||
"Standard_F72s_v2",
|
||||
"Standard_F8s",
|
||||
"Standard_F16s",
|
||||
"Standard_E4s_v3",
|
||||
"Standard_E8s_v3",
|
||||
"Standard_E16s_v3",
|
||||
"Standard_E20s_v3",
|
||||
"Standard_E32s_v3",
|
||||
"Standard_E64s_v3",
|
||||
"Standard_GS2",
|
||||
"Standard_GS3",
|
||||
"Standard_GS4",
|
||||
"Standard_GS5",
|
||||
"Standard_DS12_v2",
|
||||
"Standard_DS13_v2",
|
||||
"Standard_DS14_v2",
|
||||
"Standard_DS15_v2",
|
||||
"Standard_L4s",
|
||||
"Standard_L8s",
|
||||
"Standard_L16s",
|
||||
"Standard_L32s"
|
||||
]
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Size of agent VMs."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"count",
|
||||
"vmSize"
|
||||
],
|
||||
"description": "OpenShiftManagedClusterMaterPoolProfile contains configuration for OpenShift master VMs."
|
||||
},
|
||||
"OpenShiftManagedClusterProperties": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"agentPoolProfiles": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/OpenShiftManagedClusterAgentPoolProfile"
|
||||
}
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Configuration of OpenShift cluster VMs."
|
||||
},
|
||||
"authProfile": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/OpenShiftManagedClusterAuthProfile"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Defines all possible authentication profiles for the OpenShift cluster."
|
||||
},
|
||||
"fqdn": {
|
||||
"type": "string",
|
||||
"description": "User-specified FQDN for OpenShift API server loadbalancer internal hostname."
|
||||
},
|
||||
"masterPoolProfile": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/OpenShiftManagedClusterMasterPoolProfile"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "OpenShiftManagedClusterMaterPoolProfile contains configuration for OpenShift master VMs."
|
||||
},
|
||||
"networkProfile": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/NetworkProfile"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Represents the OpenShift networking configuration"
|
||||
},
|
||||
"openShiftVersion": {
|
||||
"type": "string",
|
||||
"description": "Version of OpenShift specified when creating the cluster."
|
||||
},
|
||||
"publicHostname": {
|
||||
"type": "string",
|
||||
"description": "Optional user-specified FQDN for OpenShift API server."
|
||||
},
|
||||
"routerProfiles": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/OpenShiftRouterProfile"
|
||||
}
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Configuration for OpenShift router(s)."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"openShiftVersion"
|
||||
],
|
||||
"description": "Properties of the OpenShift managed cluster."
|
||||
},
|
||||
"OpenShiftRouterProfile": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"name": {
|
||||
"type": "string",
|
||||
"description": "Name of the router profile."
|
||||
},
|
||||
"publicSubdomain": {
|
||||
"type": "string",
|
||||
"description": "DNS subdomain for OpenShift router."
|
||||
}
|
||||
},
|
||||
"description": "Represents an OpenShift router"
|
||||
},
|
||||
"PurchasePlan": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"name": {
|
||||
"type": "string",
|
||||
"description": "The plan ID."
|
||||
},
|
||||
"product": {
|
||||
"type": "string",
|
||||
"description": "Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element."
|
||||
},
|
||||
"promotionCode": {
|
||||
"type": "string",
|
||||
"description": "The promotion code."
|
||||
},
|
||||
"publisher": {
|
||||
"type": "string",
|
||||
"description": "The plan ID."
|
||||
}
|
||||
},
|
||||
"description": "Used for establishing the purchase context of any 3rd Party artifact through MarketPlace."
|
||||
}
|
||||
}
|
||||
}
|
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
|
@ -0,0 +1,484 @@
|
|||
{
|
||||
"id": "https://schema.management.azure.com/schemas/2019-04-30/Microsoft.ContainerService.Aks.json#",
|
||||
"$schema": "http://json-schema.org/draft-04/schema#",
|
||||
"title": "Microsoft.ContainerService",
|
||||
"description": "Microsoft ContainerService Resource Types",
|
||||
"resourceDefinitions": {
|
||||
"openShiftManagedClusters": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"apiVersion": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"2019-04-30"
|
||||
]
|
||||
},
|
||||
"location": {
|
||||
"type": "string",
|
||||
"description": "Resource location"
|
||||
},
|
||||
"name": {
|
||||
"type": "string",
|
||||
"description": "The name of the OpenShift managed cluster resource."
|
||||
},
|
||||
"plan": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/PurchasePlan"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Used for establishing the purchase context of any 3rd Party artifact through MarketPlace."
|
||||
},
|
||||
"properties": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/OpenShiftManagedClusterProperties"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Properties of the OpenShift managed cluster."
|
||||
},
|
||||
"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.ContainerService/openShiftManagedClusters"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"apiVersion",
|
||||
"location",
|
||||
"name",
|
||||
"properties",
|
||||
"type"
|
||||
],
|
||||
"description": "Microsoft.ContainerService/openShiftManagedClusters"
|
||||
}
|
||||
},
|
||||
"definitions": {
|
||||
"NetworkProfile": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"peerVnetId": {
|
||||
"type": "string",
|
||||
"description": "CIDR of the Vnet to peer."
|
||||
},
|
||||
"vnetCidr": {
|
||||
"type": "string",
|
||||
"default": "10.0.0.0/8",
|
||||
"description": "CIDR for the OpenShift Vnet."
|
||||
},
|
||||
"vnetId": {
|
||||
"type": "string",
|
||||
"description": "ID of the Vnet created for OSA cluster."
|
||||
}
|
||||
},
|
||||
"description": "Represents the OpenShift networking configuration"
|
||||
},
|
||||
"OpenShiftManagedClusterAADIdentityProvider": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"clientId": {
|
||||
"type": "string",
|
||||
"description": "The clientId password associated with the provider."
|
||||
},
|
||||
"customerAdminGroupId": {
|
||||
"type": "string",
|
||||
"description": "The groupId to be granted cluster admin role."
|
||||
},
|
||||
"kind": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"AADIdentityProvider"
|
||||
]
|
||||
},
|
||||
"secret": {
|
||||
"type": "string",
|
||||
"description": "The secret password associated with the provider."
|
||||
},
|
||||
"tenantId": {
|
||||
"type": "string",
|
||||
"description": "The tenantId associated with the provider."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"kind"
|
||||
],
|
||||
"description": "Defines the Identity provider for MS AAD."
|
||||
},
|
||||
"OpenShiftManagedClusterAgentPoolProfile": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"count": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "integer"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Number of agents (VMs) to host docker containers."
|
||||
},
|
||||
"name": {
|
||||
"type": "string",
|
||||
"description": "Unique name of the pool profile in the context of the subscription and resource group."
|
||||
},
|
||||
"osType": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"Linux",
|
||||
"Windows"
|
||||
]
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "OsType to be used to specify os type. Choose from Linux and Windows. Default to Linux."
|
||||
},
|
||||
"role": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"compute",
|
||||
"infra"
|
||||
]
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Define the role of the AgentPoolProfile."
|
||||
},
|
||||
"subnetCidr": {
|
||||
"type": "string",
|
||||
"default": "10.0.0.0/24",
|
||||
"description": "Subnet CIDR for the peering."
|
||||
},
|
||||
"vmSize": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"Standard_D2s_v3",
|
||||
"Standard_D4s_v3",
|
||||
"Standard_D8s_v3",
|
||||
"Standard_D16s_v3",
|
||||
"Standard_D32s_v3",
|
||||
"Standard_D64s_v3",
|
||||
"Standard_DS4_v2",
|
||||
"Standard_DS5_v2",
|
||||
"Standard_F8s_v2",
|
||||
"Standard_F16s_v2",
|
||||
"Standard_F32s_v2",
|
||||
"Standard_F64s_v2",
|
||||
"Standard_F72s_v2",
|
||||
"Standard_F8s",
|
||||
"Standard_F16s",
|
||||
"Standard_E4s_v3",
|
||||
"Standard_E8s_v3",
|
||||
"Standard_E16s_v3",
|
||||
"Standard_E20s_v3",
|
||||
"Standard_E32s_v3",
|
||||
"Standard_E64s_v3",
|
||||
"Standard_GS2",
|
||||
"Standard_GS3",
|
||||
"Standard_GS4",
|
||||
"Standard_GS5",
|
||||
"Standard_DS12_v2",
|
||||
"Standard_DS13_v2",
|
||||
"Standard_DS14_v2",
|
||||
"Standard_DS15_v2",
|
||||
"Standard_L4s",
|
||||
"Standard_L8s",
|
||||
"Standard_L16s",
|
||||
"Standard_L32s"
|
||||
]
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Size of agent VMs."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"count",
|
||||
"name",
|
||||
"vmSize"
|
||||
],
|
||||
"description": "Defines the configuration of the OpenShift cluster VMs."
|
||||
},
|
||||
"OpenShiftManagedClusterAuthProfile": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"identityProviders": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/OpenShiftManagedClusterIdentityProvider"
|
||||
}
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Type of authentication profile to use."
|
||||
}
|
||||
},
|
||||
"description": "Defines all possible authentication profiles for the OpenShift cluster."
|
||||
},
|
||||
"OpenShiftManagedClusterBaseIdentityProvider": {
|
||||
"type": "object",
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/OpenShiftManagedClusterAADIdentityProvider"
|
||||
}
|
||||
],
|
||||
"properties": {},
|
||||
"description": "Structure for any Identity provider."
|
||||
},
|
||||
"OpenShiftManagedClusterIdentityProvider": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"name": {
|
||||
"type": "string",
|
||||
"description": "Name of the provider."
|
||||
},
|
||||
"provider": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/OpenShiftManagedClusterBaseIdentityProvider"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Structure for any Identity provider."
|
||||
}
|
||||
},
|
||||
"description": "Defines the configuration of the identity providers to be used in the OpenShift cluster."
|
||||
},
|
||||
"OpenShiftManagedClusterMasterPoolProfile": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"count": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "integer"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Number of masters (VMs) to host docker containers. The default value is 3."
|
||||
},
|
||||
"name": {
|
||||
"type": "string",
|
||||
"description": "Unique name of the master pool profile in the context of the subscription and resource group."
|
||||
},
|
||||
"osType": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"Linux",
|
||||
"Windows"
|
||||
]
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "OsType to be used to specify os type. Choose from Linux and Windows. Default to Linux."
|
||||
},
|
||||
"subnetCidr": {
|
||||
"type": "string",
|
||||
"description": "Subnet CIDR for the peering."
|
||||
},
|
||||
"vmSize": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"Standard_D2s_v3",
|
||||
"Standard_D4s_v3",
|
||||
"Standard_D8s_v3",
|
||||
"Standard_D16s_v3",
|
||||
"Standard_D32s_v3",
|
||||
"Standard_D64s_v3",
|
||||
"Standard_DS4_v2",
|
||||
"Standard_DS5_v2",
|
||||
"Standard_F8s_v2",
|
||||
"Standard_F16s_v2",
|
||||
"Standard_F32s_v2",
|
||||
"Standard_F64s_v2",
|
||||
"Standard_F72s_v2",
|
||||
"Standard_F8s",
|
||||
"Standard_F16s",
|
||||
"Standard_E4s_v3",
|
||||
"Standard_E8s_v3",
|
||||
"Standard_E16s_v3",
|
||||
"Standard_E20s_v3",
|
||||
"Standard_E32s_v3",
|
||||
"Standard_E64s_v3",
|
||||
"Standard_GS2",
|
||||
"Standard_GS3",
|
||||
"Standard_GS4",
|
||||
"Standard_GS5",
|
||||
"Standard_DS12_v2",
|
||||
"Standard_DS13_v2",
|
||||
"Standard_DS14_v2",
|
||||
"Standard_DS15_v2",
|
||||
"Standard_L4s",
|
||||
"Standard_L8s",
|
||||
"Standard_L16s",
|
||||
"Standard_L32s"
|
||||
]
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Size of agent VMs."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"count",
|
||||
"vmSize"
|
||||
],
|
||||
"description": "OpenShiftManagedClusterMaterPoolProfile contains configuration for OpenShift master VMs."
|
||||
},
|
||||
"OpenShiftManagedClusterProperties": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"agentPoolProfiles": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/OpenShiftManagedClusterAgentPoolProfile"
|
||||
}
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Configuration of OpenShift cluster VMs."
|
||||
},
|
||||
"authProfile": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/OpenShiftManagedClusterAuthProfile"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Defines all possible authentication profiles for the OpenShift cluster."
|
||||
},
|
||||
"masterPoolProfile": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/OpenShiftManagedClusterMasterPoolProfile"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "OpenShiftManagedClusterMaterPoolProfile contains configuration for OpenShift master VMs."
|
||||
},
|
||||
"networkProfile": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/NetworkProfile"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Represents the OpenShift networking configuration"
|
||||
},
|
||||
"openShiftVersion": {
|
||||
"type": "string",
|
||||
"description": "Version of OpenShift specified when creating the cluster."
|
||||
},
|
||||
"routerProfiles": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/OpenShiftRouterProfile"
|
||||
}
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Configuration for OpenShift router(s)."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"openShiftVersion"
|
||||
],
|
||||
"description": "Properties of the OpenShift managed cluster."
|
||||
},
|
||||
"OpenShiftRouterProfile": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"name": {
|
||||
"type": "string",
|
||||
"description": "Name of the router profile."
|
||||
}
|
||||
},
|
||||
"description": "Represents an OpenShift router"
|
||||
},
|
||||
"PurchasePlan": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"name": {
|
||||
"type": "string",
|
||||
"description": "The plan ID."
|
||||
},
|
||||
"product": {
|
||||
"type": "string",
|
||||
"description": "Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element."
|
||||
},
|
||||
"promotionCode": {
|
||||
"type": "string",
|
||||
"description": "The promotion code."
|
||||
},
|
||||
"publisher": {
|
||||
"type": "string",
|
||||
"description": "The plan ID."
|
||||
}
|
||||
},
|
||||
"description": "Used for establishing the purchase context of any 3rd Party artifact through MarketPlace."
|
||||
}
|
||||
}
|
||||
}
|
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
|
@ -0,0 +1,516 @@
|
|||
{
|
||||
"id": "https://schema.management.azure.com/schemas/2019-09-30-preview/Microsoft.ContainerService.Aks.json#",
|
||||
"$schema": "http://json-schema.org/draft-04/schema#",
|
||||
"title": "Microsoft.ContainerService",
|
||||
"description": "Microsoft ContainerService Resource Types",
|
||||
"resourceDefinitions": {
|
||||
"openShiftManagedClusters": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"apiVersion": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"2019-09-30-preview"
|
||||
]
|
||||
},
|
||||
"location": {
|
||||
"type": "string",
|
||||
"description": "Resource location"
|
||||
},
|
||||
"name": {
|
||||
"type": "string",
|
||||
"description": "The name of the OpenShift managed cluster resource."
|
||||
},
|
||||
"plan": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/PurchasePlan"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Used for establishing the purchase context of any 3rd Party artifact through MarketPlace."
|
||||
},
|
||||
"properties": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/OpenShiftManagedClusterProperties"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Properties of the OpenShift managed cluster."
|
||||
},
|
||||
"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.ContainerService/openShiftManagedClusters"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"apiVersion",
|
||||
"location",
|
||||
"name",
|
||||
"properties",
|
||||
"type"
|
||||
],
|
||||
"description": "Microsoft.ContainerService/openShiftManagedClusters"
|
||||
}
|
||||
},
|
||||
"definitions": {
|
||||
"NetworkProfile": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"peerVnetId": {
|
||||
"type": "string",
|
||||
"description": "CIDR of the Vnet to peer."
|
||||
},
|
||||
"vnetCidr": {
|
||||
"type": "string",
|
||||
"default": "10.0.0.0/8",
|
||||
"description": "CIDR for the OpenShift Vnet."
|
||||
},
|
||||
"vnetId": {
|
||||
"type": "string",
|
||||
"description": "ID of the Vnet created for OSA cluster."
|
||||
}
|
||||
},
|
||||
"description": "Represents the OpenShift networking configuration"
|
||||
},
|
||||
"OpenShiftManagedClusterAADIdentityProvider": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"clientId": {
|
||||
"type": "string",
|
||||
"description": "The clientId password associated with the provider."
|
||||
},
|
||||
"customerAdminGroupId": {
|
||||
"type": "string",
|
||||
"description": "The groupId to be granted cluster admin role."
|
||||
},
|
||||
"kind": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"AADIdentityProvider"
|
||||
]
|
||||
},
|
||||
"secret": {
|
||||
"type": "string",
|
||||
"description": "The secret password associated with the provider."
|
||||
},
|
||||
"tenantId": {
|
||||
"type": "string",
|
||||
"description": "The tenantId associated with the provider."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"kind"
|
||||
],
|
||||
"description": "Defines the Identity provider for MS AAD."
|
||||
},
|
||||
"OpenShiftManagedClusterAgentPoolProfile": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"count": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "integer"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Number of agents (VMs) to host docker containers."
|
||||
},
|
||||
"name": {
|
||||
"type": "string",
|
||||
"description": "Unique name of the pool profile in the context of the subscription and resource group."
|
||||
},
|
||||
"osType": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"Linux",
|
||||
"Windows"
|
||||
]
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "OsType to be used to specify os type. Choose from Linux and Windows. Default to Linux."
|
||||
},
|
||||
"role": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"compute",
|
||||
"infra"
|
||||
]
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Define the role of the AgentPoolProfile."
|
||||
},
|
||||
"subnetCidr": {
|
||||
"type": "string",
|
||||
"default": "10.0.0.0/24",
|
||||
"description": "Subnet CIDR for the peering."
|
||||
},
|
||||
"vmSize": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"Standard_D2s_v3",
|
||||
"Standard_D4s_v3",
|
||||
"Standard_D8s_v3",
|
||||
"Standard_D16s_v3",
|
||||
"Standard_D32s_v3",
|
||||
"Standard_D64s_v3",
|
||||
"Standard_DS4_v2",
|
||||
"Standard_DS5_v2",
|
||||
"Standard_F8s_v2",
|
||||
"Standard_F16s_v2",
|
||||
"Standard_F32s_v2",
|
||||
"Standard_F64s_v2",
|
||||
"Standard_F72s_v2",
|
||||
"Standard_F8s",
|
||||
"Standard_F16s",
|
||||
"Standard_E4s_v3",
|
||||
"Standard_E8s_v3",
|
||||
"Standard_E16s_v3",
|
||||
"Standard_E20s_v3",
|
||||
"Standard_E32s_v3",
|
||||
"Standard_E64s_v3",
|
||||
"Standard_GS2",
|
||||
"Standard_GS3",
|
||||
"Standard_GS4",
|
||||
"Standard_GS5",
|
||||
"Standard_DS12_v2",
|
||||
"Standard_DS13_v2",
|
||||
"Standard_DS14_v2",
|
||||
"Standard_DS15_v2",
|
||||
"Standard_L4s",
|
||||
"Standard_L8s",
|
||||
"Standard_L16s",
|
||||
"Standard_L32s"
|
||||
]
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Size of agent VMs."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"count",
|
||||
"name",
|
||||
"vmSize"
|
||||
],
|
||||
"description": "Defines the configuration of the OpenShift cluster VMs."
|
||||
},
|
||||
"OpenShiftManagedClusterAuthProfile": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"identityProviders": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/OpenShiftManagedClusterIdentityProvider"
|
||||
}
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Type of authentication profile to use."
|
||||
}
|
||||
},
|
||||
"description": "Defines all possible authentication profiles for the OpenShift cluster."
|
||||
},
|
||||
"OpenShiftManagedClusterBaseIdentityProvider": {
|
||||
"type": "object",
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/OpenShiftManagedClusterAADIdentityProvider"
|
||||
}
|
||||
],
|
||||
"properties": {},
|
||||
"description": "Structure for any Identity provider."
|
||||
},
|
||||
"OpenShiftManagedClusterIdentityProvider": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"name": {
|
||||
"type": "string",
|
||||
"description": "Name of the provider."
|
||||
},
|
||||
"provider": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/OpenShiftManagedClusterBaseIdentityProvider"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Structure for any Identity provider."
|
||||
}
|
||||
},
|
||||
"description": "Defines the configuration of the identity providers to be used in the OpenShift cluster."
|
||||
},
|
||||
"OpenShiftManagedClusterMasterPoolProfile": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"count": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "integer"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Number of masters (VMs) to host docker containers. The default value is 3."
|
||||
},
|
||||
"name": {
|
||||
"type": "string",
|
||||
"description": "Unique name of the master pool profile in the context of the subscription and resource group."
|
||||
},
|
||||
"osType": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"Linux",
|
||||
"Windows"
|
||||
]
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "OsType to be used to specify os type. Choose from Linux and Windows. Default to Linux."
|
||||
},
|
||||
"subnetCidr": {
|
||||
"type": "string",
|
||||
"description": "Subnet CIDR for the peering."
|
||||
},
|
||||
"vmSize": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"Standard_D2s_v3",
|
||||
"Standard_D4s_v3",
|
||||
"Standard_D8s_v3",
|
||||
"Standard_D16s_v3",
|
||||
"Standard_D32s_v3",
|
||||
"Standard_D64s_v3",
|
||||
"Standard_DS4_v2",
|
||||
"Standard_DS5_v2",
|
||||
"Standard_F8s_v2",
|
||||
"Standard_F16s_v2",
|
||||
"Standard_F32s_v2",
|
||||
"Standard_F64s_v2",
|
||||
"Standard_F72s_v2",
|
||||
"Standard_F8s",
|
||||
"Standard_F16s",
|
||||
"Standard_E4s_v3",
|
||||
"Standard_E8s_v3",
|
||||
"Standard_E16s_v3",
|
||||
"Standard_E20s_v3",
|
||||
"Standard_E32s_v3",
|
||||
"Standard_E64s_v3",
|
||||
"Standard_GS2",
|
||||
"Standard_GS3",
|
||||
"Standard_GS4",
|
||||
"Standard_GS5",
|
||||
"Standard_DS12_v2",
|
||||
"Standard_DS13_v2",
|
||||
"Standard_DS14_v2",
|
||||
"Standard_DS15_v2",
|
||||
"Standard_L4s",
|
||||
"Standard_L8s",
|
||||
"Standard_L16s",
|
||||
"Standard_L32s"
|
||||
]
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Size of agent VMs."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"count",
|
||||
"vmSize"
|
||||
],
|
||||
"description": "OpenShiftManagedClusterMaterPoolProfile contains configuration for OpenShift master VMs."
|
||||
},
|
||||
"OpenShiftManagedClusterMonitorProfile": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"enabled": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "boolean"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "If the Log analytics integration should be turned on or off"
|
||||
},
|
||||
"workspaceResourceID": {
|
||||
"type": "string",
|
||||
"description": "Azure Resource Manager Resource ID for the Log Analytics workspace to integrate with."
|
||||
}
|
||||
},
|
||||
"description": "Defines the configuration for Log Analytics integration."
|
||||
},
|
||||
"OpenShiftManagedClusterProperties": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"agentPoolProfiles": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/OpenShiftManagedClusterAgentPoolProfile"
|
||||
}
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Configuration of OpenShift cluster VMs."
|
||||
},
|
||||
"authProfile": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/OpenShiftManagedClusterAuthProfile"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Defines all possible authentication profiles for the OpenShift cluster."
|
||||
},
|
||||
"masterPoolProfile": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/OpenShiftManagedClusterMasterPoolProfile"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "OpenShiftManagedClusterMaterPoolProfile contains configuration for OpenShift master VMs."
|
||||
},
|
||||
"monitorProfile": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/OpenShiftManagedClusterMonitorProfile"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Defines the configuration for Log Analytics integration."
|
||||
},
|
||||
"networkProfile": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/NetworkProfile"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Represents the OpenShift networking configuration"
|
||||
},
|
||||
"openShiftVersion": {
|
||||
"type": "string",
|
||||
"description": "Version of OpenShift specified when creating the cluster."
|
||||
},
|
||||
"routerProfiles": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/OpenShiftRouterProfile"
|
||||
}
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Configuration for OpenShift router(s)."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"openShiftVersion"
|
||||
],
|
||||
"description": "Properties of the OpenShift managed cluster."
|
||||
},
|
||||
"OpenShiftRouterProfile": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"name": {
|
||||
"type": "string",
|
||||
"description": "Name of the router profile."
|
||||
}
|
||||
},
|
||||
"description": "Represents an OpenShift router"
|
||||
},
|
||||
"PurchasePlan": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"name": {
|
||||
"type": "string",
|
||||
"description": "The plan ID."
|
||||
},
|
||||
"product": {
|
||||
"type": "string",
|
||||
"description": "Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element."
|
||||
},
|
||||
"promotionCode": {
|
||||
"type": "string",
|
||||
"description": "The promotion code."
|
||||
},
|
||||
"publisher": {
|
||||
"type": "string",
|
||||
"description": "The plan ID."
|
||||
}
|
||||
},
|
||||
"description": "Used for establishing the purchase context of any 3rd Party artifact through MarketPlace."
|
||||
}
|
||||
}
|
||||
}
|
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
|
@ -0,0 +1,536 @@
|
|||
{
|
||||
"id": "https://schema.management.azure.com/schemas/2019-10-27-preview/Microsoft.ContainerService.Aks.json#",
|
||||
"$schema": "http://json-schema.org/draft-04/schema#",
|
||||
"title": "Microsoft.ContainerService",
|
||||
"description": "Microsoft ContainerService Resource Types",
|
||||
"resourceDefinitions": {
|
||||
"openShiftManagedClusters": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"apiVersion": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"2019-10-27-preview"
|
||||
]
|
||||
},
|
||||
"location": {
|
||||
"type": "string",
|
||||
"description": "Resource location"
|
||||
},
|
||||
"name": {
|
||||
"type": "string",
|
||||
"description": "The name of the OpenShift managed cluster resource."
|
||||
},
|
||||
"plan": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/PurchasePlan"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Used for establishing the purchase context of any 3rd Party artifact through MarketPlace."
|
||||
},
|
||||
"properties": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/OpenShiftManagedClusterProperties"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Properties of the OpenShift managed cluster."
|
||||
},
|
||||
"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.ContainerService/openShiftManagedClusters"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"apiVersion",
|
||||
"location",
|
||||
"name",
|
||||
"properties",
|
||||
"type"
|
||||
],
|
||||
"description": "Microsoft.ContainerService/openShiftManagedClusters"
|
||||
}
|
||||
},
|
||||
"definitions": {
|
||||
"NetworkProfile": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"managementSubnetCidr": {
|
||||
"type": "string",
|
||||
"description": "CIDR of subnet used to create PLS needed for management of the cluster"
|
||||
},
|
||||
"vnetCidr": {
|
||||
"type": "string",
|
||||
"default": "10.0.0.0/8",
|
||||
"description": "CIDR for the OpenShift Vnet."
|
||||
},
|
||||
"vnetId": {
|
||||
"type": "string",
|
||||
"description": "ID of the Vnet created for OSA cluster."
|
||||
}
|
||||
},
|
||||
"description": "Represents the OpenShift networking configuration"
|
||||
},
|
||||
"OpenShiftAPIProperties": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"privateApiServer": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "boolean"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Specifies if API server is public or private."
|
||||
}
|
||||
},
|
||||
"description": "Defines further properties on the API."
|
||||
},
|
||||
"OpenShiftManagedClusterAADIdentityProvider": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"clientId": {
|
||||
"type": "string",
|
||||
"description": "The clientId password associated with the provider."
|
||||
},
|
||||
"customerAdminGroupId": {
|
||||
"type": "string",
|
||||
"description": "The groupId to be granted cluster admin role."
|
||||
},
|
||||
"kind": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"AADIdentityProvider"
|
||||
]
|
||||
},
|
||||
"secret": {
|
||||
"type": "string",
|
||||
"description": "The secret password associated with the provider."
|
||||
},
|
||||
"tenantId": {
|
||||
"type": "string",
|
||||
"description": "The tenantId associated with the provider."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"kind"
|
||||
],
|
||||
"description": "Defines the Identity provider for MS AAD."
|
||||
},
|
||||
"OpenShiftManagedClusterAgentPoolProfile": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"count": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "integer"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Number of agents (VMs) to host docker containers."
|
||||
},
|
||||
"name": {
|
||||
"type": "string",
|
||||
"description": "Unique name of the pool profile in the context of the subscription and resource group."
|
||||
},
|
||||
"osType": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"Linux",
|
||||
"Windows"
|
||||
]
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "OsType to be used to specify os type. Choose from Linux and Windows. Default to Linux."
|
||||
},
|
||||
"role": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"compute",
|
||||
"infra"
|
||||
]
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Define the role of the AgentPoolProfile."
|
||||
},
|
||||
"subnetCidr": {
|
||||
"type": "string",
|
||||
"default": "10.0.0.0/24",
|
||||
"description": "Subnet CIDR for the peering."
|
||||
},
|
||||
"vmSize": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"Standard_D2s_v3",
|
||||
"Standard_D4s_v3",
|
||||
"Standard_D8s_v3",
|
||||
"Standard_D16s_v3",
|
||||
"Standard_D32s_v3",
|
||||
"Standard_D64s_v3",
|
||||
"Standard_DS4_v2",
|
||||
"Standard_DS5_v2",
|
||||
"Standard_F8s_v2",
|
||||
"Standard_F16s_v2",
|
||||
"Standard_F32s_v2",
|
||||
"Standard_F64s_v2",
|
||||
"Standard_F72s_v2",
|
||||
"Standard_F8s",
|
||||
"Standard_F16s",
|
||||
"Standard_E4s_v3",
|
||||
"Standard_E8s_v3",
|
||||
"Standard_E16s_v3",
|
||||
"Standard_E20s_v3",
|
||||
"Standard_E32s_v3",
|
||||
"Standard_E64s_v3",
|
||||
"Standard_GS2",
|
||||
"Standard_GS3",
|
||||
"Standard_GS4",
|
||||
"Standard_GS5",
|
||||
"Standard_DS12_v2",
|
||||
"Standard_DS13_v2",
|
||||
"Standard_DS14_v2",
|
||||
"Standard_DS15_v2",
|
||||
"Standard_L4s",
|
||||
"Standard_L8s",
|
||||
"Standard_L16s",
|
||||
"Standard_L32s"
|
||||
]
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Size of agent VMs."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"count",
|
||||
"name",
|
||||
"vmSize"
|
||||
],
|
||||
"description": "Defines the configuration of the OpenShift cluster VMs."
|
||||
},
|
||||
"OpenShiftManagedClusterAuthProfile": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"identityProviders": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/OpenShiftManagedClusterIdentityProvider"
|
||||
}
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Type of authentication profile to use."
|
||||
}
|
||||
},
|
||||
"description": "Defines all possible authentication profiles for the OpenShift cluster."
|
||||
},
|
||||
"OpenShiftManagedClusterBaseIdentityProvider": {
|
||||
"type": "object",
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/OpenShiftManagedClusterAADIdentityProvider"
|
||||
}
|
||||
],
|
||||
"properties": {},
|
||||
"description": "Structure for any Identity provider."
|
||||
},
|
||||
"OpenShiftManagedClusterIdentityProvider": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"name": {
|
||||
"type": "string",
|
||||
"description": "Name of the provider."
|
||||
},
|
||||
"provider": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/OpenShiftManagedClusterBaseIdentityProvider"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Structure for any Identity provider."
|
||||
}
|
||||
},
|
||||
"description": "Defines the configuration of the identity providers to be used in the OpenShift cluster."
|
||||
},
|
||||
"OpenShiftManagedClusterMasterPoolProfile": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"apiProperties": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/OpenShiftAPIProperties"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Defines further properties on the API."
|
||||
},
|
||||
"count": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "integer"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Number of masters (VMs) to host docker containers. The default value is 3."
|
||||
},
|
||||
"subnetCidr": {
|
||||
"type": "string",
|
||||
"description": "Subnet CIDR for the peering."
|
||||
},
|
||||
"vmSize": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"Standard_D2s_v3",
|
||||
"Standard_D4s_v3",
|
||||
"Standard_D8s_v3",
|
||||
"Standard_D16s_v3",
|
||||
"Standard_D32s_v3",
|
||||
"Standard_D64s_v3",
|
||||
"Standard_DS4_v2",
|
||||
"Standard_DS5_v2",
|
||||
"Standard_F8s_v2",
|
||||
"Standard_F16s_v2",
|
||||
"Standard_F32s_v2",
|
||||
"Standard_F64s_v2",
|
||||
"Standard_F72s_v2",
|
||||
"Standard_F8s",
|
||||
"Standard_F16s",
|
||||
"Standard_E4s_v3",
|
||||
"Standard_E8s_v3",
|
||||
"Standard_E16s_v3",
|
||||
"Standard_E20s_v3",
|
||||
"Standard_E32s_v3",
|
||||
"Standard_E64s_v3",
|
||||
"Standard_GS2",
|
||||
"Standard_GS3",
|
||||
"Standard_GS4",
|
||||
"Standard_GS5",
|
||||
"Standard_DS12_v2",
|
||||
"Standard_DS13_v2",
|
||||
"Standard_DS14_v2",
|
||||
"Standard_DS15_v2",
|
||||
"Standard_L4s",
|
||||
"Standard_L8s",
|
||||
"Standard_L16s",
|
||||
"Standard_L32s"
|
||||
]
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Size of agent VMs."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"count",
|
||||
"vmSize"
|
||||
],
|
||||
"description": "OpenShiftManagedClusterMaterPoolProfile contains configuration for OpenShift master VMs."
|
||||
},
|
||||
"OpenShiftManagedClusterMonitorProfile": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"enabled": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "boolean"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "If the Log analytics integration should be turned on or off"
|
||||
},
|
||||
"workspaceResourceID": {
|
||||
"type": "string",
|
||||
"description": "Azure Resource Manager Resource ID for the Log Analytics workspace to integrate with."
|
||||
}
|
||||
},
|
||||
"description": "Defines the configuration for Log Analytics integration."
|
||||
},
|
||||
"OpenShiftManagedClusterProperties": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"agentPoolProfiles": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/OpenShiftManagedClusterAgentPoolProfile"
|
||||
}
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Configuration of OpenShift cluster VMs."
|
||||
},
|
||||
"authProfile": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/OpenShiftManagedClusterAuthProfile"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Defines all possible authentication profiles for the OpenShift cluster."
|
||||
},
|
||||
"masterPoolProfile": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/OpenShiftManagedClusterMasterPoolProfile"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "OpenShiftManagedClusterMaterPoolProfile contains configuration for OpenShift master VMs."
|
||||
},
|
||||
"monitorProfile": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/OpenShiftManagedClusterMonitorProfile"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Defines the configuration for Log Analytics integration."
|
||||
},
|
||||
"networkProfile": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/NetworkProfile"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Represents the OpenShift networking configuration"
|
||||
},
|
||||
"openShiftVersion": {
|
||||
"type": "string",
|
||||
"description": "Version of OpenShift specified when creating the cluster."
|
||||
},
|
||||
"refreshCluster": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "boolean"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Allows node rotation"
|
||||
},
|
||||
"routerProfiles": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/OpenShiftRouterProfile"
|
||||
}
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Configuration for OpenShift router(s)."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"openShiftVersion"
|
||||
],
|
||||
"description": "Properties of the OpenShift managed cluster."
|
||||
},
|
||||
"OpenShiftRouterProfile": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"name": {
|
||||
"type": "string",
|
||||
"description": "Name of the router profile."
|
||||
}
|
||||
},
|
||||
"description": "Represents an OpenShift router"
|
||||
},
|
||||
"PurchasePlan": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"name": {
|
||||
"type": "string",
|
||||
"description": "The plan ID."
|
||||
},
|
||||
"product": {
|
||||
"type": "string",
|
||||
"description": "Specifies the product of the image from the marketplace. This is the same value as Offer under the imageReference element."
|
||||
},
|
||||
"promotionCode": {
|
||||
"type": "string",
|
||||
"description": "The promotion code."
|
||||
},
|
||||
"publisher": {
|
||||
"type": "string",
|
||||
"description": "The plan ID."
|
||||
}
|
||||
},
|
||||
"description": "Used for establishing the purchase context of any 3rd Party artifact through MarketPlace."
|
||||
}
|
||||
}
|
||||
}
|
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
|
@ -0,0 +1,224 @@
|
|||
{
|
||||
"id": "https://schema.management.azure.com/schemas/2022-06-02-preview/Microsoft.ContainerService.Fleet.json#",
|
||||
"$schema": "http://json-schema.org/draft-04/schema#",
|
||||
"title": "Microsoft.ContainerService",
|
||||
"description": "Microsoft ContainerService Resource Types",
|
||||
"resourceDefinitions": {
|
||||
"fleets": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"apiVersion": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"2022-06-02-preview"
|
||||
]
|
||||
},
|
||||
"location": {
|
||||
"type": "string",
|
||||
"description": "The geo-location where the resource lives"
|
||||
},
|
||||
"name": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$",
|
||||
"minLength": 1,
|
||||
"maxLength": 63
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "The name of the Fleet resource."
|
||||
},
|
||||
"properties": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/FleetProperties"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Properties of a Fleet."
|
||||
},
|
||||
"resources": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/fleets_members_childResource"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"tags": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
},
|
||||
"properties": {}
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Resource tags."
|
||||
},
|
||||
"type": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"Microsoft.ContainerService/fleets"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"apiVersion",
|
||||
"location",
|
||||
"name",
|
||||
"properties",
|
||||
"type"
|
||||
],
|
||||
"description": "Microsoft.ContainerService/fleets"
|
||||
},
|
||||
"fleets_members": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"apiVersion": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"2022-06-02-preview"
|
||||
]
|
||||
},
|
||||
"name": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$",
|
||||
"minLength": 1,
|
||||
"maxLength": 50
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "The name of the Fleet member resource."
|
||||
},
|
||||
"properties": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/FleetMemberProperties"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Properties of a Fleet member."
|
||||
},
|
||||
"type": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"Microsoft.ContainerService/fleets/members"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"apiVersion",
|
||||
"name",
|
||||
"properties",
|
||||
"type"
|
||||
],
|
||||
"description": "Microsoft.ContainerService/fleets/members"
|
||||
}
|
||||
},
|
||||
"definitions": {
|
||||
"FleetHubProfile": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"dnsPrefix": {
|
||||
"type": "string",
|
||||
"description": "DNS prefix used to create the FQDN for the Fleet hub."
|
||||
}
|
||||
},
|
||||
"description": "The FleetHubProfile configures the fleet hub."
|
||||
},
|
||||
"FleetMemberProperties": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"clusterResourceId": {
|
||||
"type": "string",
|
||||
"description": "The ARM resource id of the cluster that joins the Fleet. Must be a valid Azure resource id. e.g.: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{clusterName}'."
|
||||
}
|
||||
},
|
||||
"description": "Properties of a Fleet member."
|
||||
},
|
||||
"FleetProperties": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"hubProfile": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/FleetHubProfile"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "The FleetHubProfile configures the fleet hub."
|
||||
}
|
||||
},
|
||||
"description": "Properties of a Fleet."
|
||||
},
|
||||
"fleets_members_childResource": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"apiVersion": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"2022-06-02-preview"
|
||||
]
|
||||
},
|
||||
"name": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$",
|
||||
"minLength": 1,
|
||||
"maxLength": 50
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "The name of the Fleet member resource."
|
||||
},
|
||||
"properties": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/FleetMemberProperties"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Properties of a Fleet member."
|
||||
},
|
||||
"type": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"members"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"apiVersion",
|
||||
"name",
|
||||
"properties",
|
||||
"type"
|
||||
],
|
||||
"description": "Microsoft.ContainerService/fleets/members"
|
||||
}
|
||||
}
|
||||
}
|
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
|
@ -0,0 +1,224 @@
|
|||
{
|
||||
"id": "https://schema.management.azure.com/schemas/2022-07-02-preview/Microsoft.ContainerService.Fleet.json#",
|
||||
"$schema": "http://json-schema.org/draft-04/schema#",
|
||||
"title": "Microsoft.ContainerService",
|
||||
"description": "Microsoft ContainerService Resource Types",
|
||||
"resourceDefinitions": {
|
||||
"fleets": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"apiVersion": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"2022-07-02-preview"
|
||||
]
|
||||
},
|
||||
"location": {
|
||||
"type": "string",
|
||||
"description": "The geo-location where the resource lives"
|
||||
},
|
||||
"name": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$",
|
||||
"minLength": 1,
|
||||
"maxLength": 63
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "The name of the Fleet resource."
|
||||
},
|
||||
"properties": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/FleetProperties"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Properties of a Fleet."
|
||||
},
|
||||
"resources": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/fleets_members_childResource"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"tags": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
},
|
||||
"properties": {}
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Resource tags."
|
||||
},
|
||||
"type": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"Microsoft.ContainerService/fleets"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"apiVersion",
|
||||
"location",
|
||||
"name",
|
||||
"properties",
|
||||
"type"
|
||||
],
|
||||
"description": "Microsoft.ContainerService/fleets"
|
||||
},
|
||||
"fleets_members": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"apiVersion": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"2022-07-02-preview"
|
||||
]
|
||||
},
|
||||
"name": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$",
|
||||
"minLength": 1,
|
||||
"maxLength": 50
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "The name of the Fleet member resource."
|
||||
},
|
||||
"properties": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/FleetMemberProperties"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Properties of a Fleet member."
|
||||
},
|
||||
"type": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"Microsoft.ContainerService/fleets/members"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"apiVersion",
|
||||
"name",
|
||||
"properties",
|
||||
"type"
|
||||
],
|
||||
"description": "Microsoft.ContainerService/fleets/members"
|
||||
}
|
||||
},
|
||||
"definitions": {
|
||||
"FleetHubProfile": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"dnsPrefix": {
|
||||
"type": "string",
|
||||
"description": "DNS prefix used to create the FQDN for the Fleet hub."
|
||||
}
|
||||
},
|
||||
"description": "The FleetHubProfile configures the fleet hub."
|
||||
},
|
||||
"FleetMemberProperties": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"clusterResourceId": {
|
||||
"type": "string",
|
||||
"description": "The ARM resource id of the cluster that joins the Fleet. Must be a valid Azure resource id. e.g.: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ContainerService/managedClusters/{clusterName}'."
|
||||
}
|
||||
},
|
||||
"description": "Properties of a Fleet member."
|
||||
},
|
||||
"FleetProperties": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"hubProfile": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/FleetHubProfile"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "The FleetHubProfile configures the fleet hub."
|
||||
}
|
||||
},
|
||||
"description": "Properties of a Fleet."
|
||||
},
|
||||
"fleets_members_childResource": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"apiVersion": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"2022-07-02-preview"
|
||||
]
|
||||
},
|
||||
"name": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$",
|
||||
"minLength": 1,
|
||||
"maxLength": 50
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "The name of the Fleet member resource."
|
||||
},
|
||||
"properties": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/FleetMemberProperties"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Properties of a Fleet member."
|
||||
},
|
||||
"type": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"members"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"apiVersion",
|
||||
"name",
|
||||
"properties",
|
||||
"type"
|
||||
],
|
||||
"description": "Microsoft.ContainerService/fleets/members"
|
||||
}
|
||||
}
|
||||
}
|
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
|
@ -0,0 +1,238 @@
|
|||
{
|
||||
"id": "https://schema.management.azure.com/schemas/2022-09-02-preview/Microsoft.ContainerService.Fleet.json#",
|
||||
"$schema": "http://json-schema.org/draft-04/schema#",
|
||||
"title": "Microsoft.ContainerService",
|
||||
"description": "Microsoft ContainerService Resource Types",
|
||||
"resourceDefinitions": {
|
||||
"fleets": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"apiVersion": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"2022-09-02-preview"
|
||||
]
|
||||
},
|
||||
"location": {
|
||||
"type": "string",
|
||||
"description": "The geo-location where the resource lives"
|
||||
},
|
||||
"name": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$",
|
||||
"minLength": 1,
|
||||
"maxLength": 63
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "The name of the Fleet resource."
|
||||
},
|
||||
"properties": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/FleetProperties"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Fleet properties."
|
||||
},
|
||||
"resources": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/fleets_members_childResource"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"tags": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
},
|
||||
"properties": {}
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Resource tags."
|
||||
},
|
||||
"type": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"Microsoft.ContainerService/fleets"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"apiVersion",
|
||||
"location",
|
||||
"name",
|
||||
"properties",
|
||||
"type"
|
||||
],
|
||||
"description": "Microsoft.ContainerService/fleets"
|
||||
},
|
||||
"fleets_members": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"apiVersion": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"2022-09-02-preview"
|
||||
]
|
||||
},
|
||||
"name": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$",
|
||||
"minLength": 1,
|
||||
"maxLength": 50
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "The name of the Fleet member resource."
|
||||
},
|
||||
"properties": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/FleetMemberProperties"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "A member of the Fleet. It contains a reference to an existing Kubernetes cluster on Azure."
|
||||
},
|
||||
"type": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"Microsoft.ContainerService/fleets/members"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"apiVersion",
|
||||
"name",
|
||||
"properties",
|
||||
"type"
|
||||
],
|
||||
"description": "Microsoft.ContainerService/fleets/members"
|
||||
}
|
||||
},
|
||||
"definitions": {
|
||||
"FleetHubProfile": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"dnsPrefix": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"pattern": "^[a-zA-Z0-9]$|^[a-zA-Z0-9][a-zA-Z0-9-]{0,52}[a-zA-Z0-9]$",
|
||||
"minLength": 1,
|
||||
"maxLength": 54
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "DNS prefix used to create the FQDN for the Fleet hub."
|
||||
}
|
||||
},
|
||||
"description": "The FleetHubProfile configures the fleet hub."
|
||||
},
|
||||
"FleetMemberProperties": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"clusterResourceId": {
|
||||
"type": "string",
|
||||
"format": "arm-id",
|
||||
"description": "A type definition that refers the id to an ARM resource."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"clusterResourceId"
|
||||
],
|
||||
"description": "A member of the Fleet. It contains a reference to an existing Kubernetes cluster on Azure."
|
||||
},
|
||||
"FleetProperties": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"hubProfile": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/FleetHubProfile"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "The FleetHubProfile configures the fleet hub."
|
||||
}
|
||||
},
|
||||
"description": "Fleet properties."
|
||||
},
|
||||
"fleets_members_childResource": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"apiVersion": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"2022-09-02-preview"
|
||||
]
|
||||
},
|
||||
"name": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$",
|
||||
"minLength": 1,
|
||||
"maxLength": 50
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "The name of the Fleet member resource."
|
||||
},
|
||||
"properties": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/FleetMemberProperties"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "A member of the Fleet. It contains a reference to an existing Kubernetes cluster on Azure."
|
||||
},
|
||||
"type": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"members"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"apiVersion",
|
||||
"name",
|
||||
"properties",
|
||||
"type"
|
||||
],
|
||||
"description": "Microsoft.ContainerService/fleets/members"
|
||||
}
|
||||
}
|
||||
}
|
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
|
@ -0,0 +1,525 @@
|
|||
{
|
||||
"id": "https://schema.management.azure.com/schemas/2023-03-15-preview/Microsoft.ContainerService.Fleet.json#",
|
||||
"$schema": "http://json-schema.org/draft-04/schema#",
|
||||
"title": "Microsoft.ContainerService",
|
||||
"description": "Microsoft ContainerService Resource Types",
|
||||
"resourceDefinitions": {
|
||||
"fleets": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"apiVersion": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"2023-03-15-preview"
|
||||
]
|
||||
},
|
||||
"location": {
|
||||
"type": "string",
|
||||
"description": "The geo-location where the resource lives"
|
||||
},
|
||||
"name": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$",
|
||||
"minLength": 1,
|
||||
"maxLength": 63
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "The name of the Fleet resource."
|
||||
},
|
||||
"properties": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/FleetProperties"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Fleet properties."
|
||||
},
|
||||
"resources": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/fleets_members_childResource"
|
||||
},
|
||||
{
|
||||
"$ref": "#/definitions/fleets_updateRuns_childResource"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"tags": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
},
|
||||
"properties": {}
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Resource tags."
|
||||
},
|
||||
"type": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"Microsoft.ContainerService/fleets"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"apiVersion",
|
||||
"location",
|
||||
"name",
|
||||
"properties",
|
||||
"type"
|
||||
],
|
||||
"description": "Microsoft.ContainerService/fleets"
|
||||
},
|
||||
"fleets_members": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"apiVersion": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"2023-03-15-preview"
|
||||
]
|
||||
},
|
||||
"name": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$",
|
||||
"minLength": 1,
|
||||
"maxLength": 50
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "The name of the Fleet member resource."
|
||||
},
|
||||
"properties": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/FleetMemberProperties"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "A member of the Fleet. It contains a reference to an existing Kubernetes cluster on Azure."
|
||||
},
|
||||
"type": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"Microsoft.ContainerService/fleets/members"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"apiVersion",
|
||||
"name",
|
||||
"properties",
|
||||
"type"
|
||||
],
|
||||
"description": "Microsoft.ContainerService/fleets/members"
|
||||
},
|
||||
"fleets_updateRuns": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"apiVersion": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"2023-03-15-preview"
|
||||
]
|
||||
},
|
||||
"name": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$",
|
||||
"minLength": 1,
|
||||
"maxLength": 50
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "The name of the UpdateRun resource."
|
||||
},
|
||||
"properties": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/UpdateRunProperties"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "The properties of the UpdateRun."
|
||||
},
|
||||
"type": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"Microsoft.ContainerService/fleets/updateRuns"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"apiVersion",
|
||||
"name",
|
||||
"properties",
|
||||
"type"
|
||||
],
|
||||
"description": "Microsoft.ContainerService/fleets/updateRuns"
|
||||
}
|
||||
},
|
||||
"definitions": {
|
||||
"FleetHubProfile": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"dnsPrefix": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"pattern": "^[a-zA-Z0-9]$|^[a-zA-Z0-9][a-zA-Z0-9-]{0,52}[a-zA-Z0-9]$",
|
||||
"minLength": 1,
|
||||
"maxLength": 54
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "DNS prefix used to create the FQDN for the Fleet hub."
|
||||
}
|
||||
},
|
||||
"description": "The FleetHubProfile configures the fleet hub."
|
||||
},
|
||||
"FleetMemberProperties": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"clusterResourceId": {
|
||||
"type": "string",
|
||||
"format": "arm-id",
|
||||
"description": "A type definition that refers the id to an ARM resource."
|
||||
},
|
||||
"group": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$",
|
||||
"minLength": 1,
|
||||
"maxLength": 50
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "The group this member belongs to for multi-cluster update management."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"clusterResourceId"
|
||||
],
|
||||
"description": "A member of the Fleet. It contains a reference to an existing Kubernetes cluster on Azure."
|
||||
},
|
||||
"FleetProperties": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"hubProfile": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/FleetHubProfile"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "The FleetHubProfile configures the fleet hub."
|
||||
}
|
||||
},
|
||||
"description": "Fleet properties."
|
||||
},
|
||||
"fleets_members_childResource": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"apiVersion": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"2023-03-15-preview"
|
||||
]
|
||||
},
|
||||
"name": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$",
|
||||
"minLength": 1,
|
||||
"maxLength": 50
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "The name of the Fleet member resource."
|
||||
},
|
||||
"properties": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/FleetMemberProperties"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "A member of the Fleet. It contains a reference to an existing Kubernetes cluster on Azure."
|
||||
},
|
||||
"type": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"members"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"apiVersion",
|
||||
"name",
|
||||
"properties",
|
||||
"type"
|
||||
],
|
||||
"description": "Microsoft.ContainerService/fleets/members"
|
||||
},
|
||||
"fleets_updateRuns_childResource": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"apiVersion": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"2023-03-15-preview"
|
||||
]
|
||||
},
|
||||
"name": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$",
|
||||
"minLength": 1,
|
||||
"maxLength": 50
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "The name of the UpdateRun resource."
|
||||
},
|
||||
"properties": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/UpdateRunProperties"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "The properties of the UpdateRun."
|
||||
},
|
||||
"type": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"updateRuns"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"apiVersion",
|
||||
"name",
|
||||
"properties",
|
||||
"type"
|
||||
],
|
||||
"description": "Microsoft.ContainerService/fleets/updateRuns"
|
||||
},
|
||||
"ManagedClusterUpdate": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"upgrade": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/ManagedClusterUpgradeSpec"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "The upgrade to apply to a ManagedCluster."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"upgrade"
|
||||
],
|
||||
"description": "The update to be applied to the ManagedClusters."
|
||||
},
|
||||
"ManagedClusterUpgradeSpec": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"kubernetesVersion": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"Full",
|
||||
"NodeImageOnly"
|
||||
]
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "The upgrade type.\nFull requires the KubernetesVersion property to be set.\nNodeImageOnly requires the KubernetesVersion property not to be set."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"type"
|
||||
],
|
||||
"description": "The upgrade to apply to a ManagedCluster."
|
||||
},
|
||||
"UpdateGroup": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"name": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$",
|
||||
"minLength": 1,
|
||||
"maxLength": 50
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Name of the group.\nIt must match a group name of an existing fleet member. "
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"name"
|
||||
],
|
||||
"description": "A group to be updated."
|
||||
},
|
||||
"UpdateRunProperties": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"managedClusterUpdate": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/ManagedClusterUpdate"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "The update to be applied to the ManagedClusters."
|
||||
},
|
||||
"strategy": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/UpdateRunStrategy"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Defines the update sequence of the clusters via stages and groups.\n\nStages within a run are executed sequentially one after another.\nGroups within a stage are executed in parallel.\nMember clusters within a group are updated sequentially one after another.\n\nA valid strategy contains no duplicate groups within or across stages."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"managedClusterUpdate"
|
||||
],
|
||||
"description": "The properties of the UpdateRun."
|
||||
},
|
||||
"UpdateRunStrategy": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"stages": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/UpdateStage"
|
||||
}
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "The list of stages that compose this update run. Min size: 1."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"stages"
|
||||
],
|
||||
"description": "Defines the update sequence of the clusters via stages and groups.\n\nStages within a run are executed sequentially one after another.\nGroups within a stage are executed in parallel.\nMember clusters within a group are updated sequentially one after another.\n\nA valid strategy contains no duplicate groups within or across stages."
|
||||
},
|
||||
"UpdateStage": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"afterStageWaitInSeconds": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "integer"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "The time in seconds to wait at the end of this stage before starting the next one. Defaults to 0 seconds if unspecified."
|
||||
},
|
||||
"groups": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/UpdateGroup"
|
||||
}
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Defines the groups to be executed in parallel in this stage. Duplicate groups are not allowed. Min size: 1."
|
||||
},
|
||||
"name": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$",
|
||||
"minLength": 1,
|
||||
"maxLength": 50
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "The name of the stage. Must be unique within the UpdateRun."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"name"
|
||||
],
|
||||
"description": "Defines a stage which contains the groups to update and the steps to take (e.g., wait for a time period) before starting the next stage."
|
||||
}
|
||||
}
|
||||
}
|
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
|
@ -0,0 +1,682 @@
|
|||
{
|
||||
"id": "https://schema.management.azure.com/schemas/2023-06-15-preview/Microsoft.ContainerService.Fleet.json#",
|
||||
"$schema": "http://json-schema.org/draft-04/schema#",
|
||||
"title": "Microsoft.ContainerService",
|
||||
"description": "Microsoft ContainerService Resource Types",
|
||||
"resourceDefinitions": {
|
||||
"fleets": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"apiVersion": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"2023-06-15-preview"
|
||||
]
|
||||
},
|
||||
"identity": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/ManagedServiceIdentity"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Managed service identity (system assigned and/or user assigned identities)"
|
||||
},
|
||||
"location": {
|
||||
"type": "string",
|
||||
"description": "The geo-location where the resource lives"
|
||||
},
|
||||
"name": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$",
|
||||
"minLength": 1,
|
||||
"maxLength": 63
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "The name of the Fleet resource."
|
||||
},
|
||||
"properties": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/FleetProperties"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Fleet properties."
|
||||
},
|
||||
"resources": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/fleets_members_childResource"
|
||||
},
|
||||
{
|
||||
"$ref": "#/definitions/fleets_updateRuns_childResource"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"tags": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
},
|
||||
"properties": {}
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Resource tags."
|
||||
},
|
||||
"type": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"Microsoft.ContainerService/fleets"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"apiVersion",
|
||||
"location",
|
||||
"name",
|
||||
"properties",
|
||||
"type"
|
||||
],
|
||||
"description": "Microsoft.ContainerService/fleets"
|
||||
},
|
||||
"fleets_members": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"apiVersion": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"2023-06-15-preview"
|
||||
]
|
||||
},
|
||||
"name": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$",
|
||||
"minLength": 1,
|
||||
"maxLength": 50
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "The name of the Fleet member resource."
|
||||
},
|
||||
"properties": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/FleetMemberProperties"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "A member of the Fleet. It contains a reference to an existing Kubernetes cluster on Azure."
|
||||
},
|
||||
"type": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"Microsoft.ContainerService/fleets/members"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"apiVersion",
|
||||
"name",
|
||||
"properties",
|
||||
"type"
|
||||
],
|
||||
"description": "Microsoft.ContainerService/fleets/members"
|
||||
},
|
||||
"fleets_updateRuns": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"apiVersion": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"2023-06-15-preview"
|
||||
]
|
||||
},
|
||||
"name": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$",
|
||||
"minLength": 1,
|
||||
"maxLength": 50
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "The name of the UpdateRun resource."
|
||||
},
|
||||
"properties": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/UpdateRunProperties"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "The properties of the UpdateRun."
|
||||
},
|
||||
"type": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"Microsoft.ContainerService/fleets/updateRuns"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"apiVersion",
|
||||
"name",
|
||||
"properties",
|
||||
"type"
|
||||
],
|
||||
"description": "Microsoft.ContainerService/fleets/updateRuns"
|
||||
}
|
||||
},
|
||||
"definitions": {
|
||||
"AgentProfile": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"subnetId": {
|
||||
"type": "string",
|
||||
"format": "arm-id",
|
||||
"description": "A type definition that refers the id to an ARM resource."
|
||||
}
|
||||
},
|
||||
"description": "Agent profile for the Fleet hub."
|
||||
},
|
||||
"APIServerAccessProfile": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"enablePrivateCluster": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "boolean"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Whether to create the Fleet hub as a private cluster or not."
|
||||
},
|
||||
"enableVnetIntegration": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "boolean"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Whether to enable apiserver vnet integration for the Fleet hub or not."
|
||||
},
|
||||
"subnetId": {
|
||||
"type": "string",
|
||||
"format": "arm-id",
|
||||
"description": "A type definition that refers the id to an ARM resource."
|
||||
}
|
||||
},
|
||||
"description": "Access profile for the Fleet hub API server."
|
||||
},
|
||||
"FleetHubProfile": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"agentProfile": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/AgentProfile"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Agent profile for the Fleet hub."
|
||||
},
|
||||
"apiServerAccessProfile": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/APIServerAccessProfile"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Access profile for the Fleet hub API server."
|
||||
},
|
||||
"dnsPrefix": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"pattern": "^[a-zA-Z0-9]$|^[a-zA-Z0-9][a-zA-Z0-9-]{0,52}[a-zA-Z0-9]$",
|
||||
"minLength": 1,
|
||||
"maxLength": 54
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "DNS prefix used to create the FQDN for the Fleet hub."
|
||||
}
|
||||
},
|
||||
"description": "The FleetHubProfile configures the fleet hub."
|
||||
},
|
||||
"FleetMemberProperties": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"clusterResourceId": {
|
||||
"type": "string",
|
||||
"format": "arm-id",
|
||||
"description": "A type definition that refers the id to an ARM resource."
|
||||
},
|
||||
"group": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$",
|
||||
"minLength": 1,
|
||||
"maxLength": 50
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "The group this member belongs to for multi-cluster update management."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"clusterResourceId"
|
||||
],
|
||||
"description": "A member of the Fleet. It contains a reference to an existing Kubernetes cluster on Azure."
|
||||
},
|
||||
"FleetProperties": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"hubProfile": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/FleetHubProfile"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "The FleetHubProfile configures the fleet hub."
|
||||
}
|
||||
},
|
||||
"description": "Fleet properties."
|
||||
},
|
||||
"fleets_members_childResource": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"apiVersion": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"2023-06-15-preview"
|
||||
]
|
||||
},
|
||||
"name": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$",
|
||||
"minLength": 1,
|
||||
"maxLength": 50
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "The name of the Fleet member resource."
|
||||
},
|
||||
"properties": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/FleetMemberProperties"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "A member of the Fleet. It contains a reference to an existing Kubernetes cluster on Azure."
|
||||
},
|
||||
"type": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"members"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"apiVersion",
|
||||
"name",
|
||||
"properties",
|
||||
"type"
|
||||
],
|
||||
"description": "Microsoft.ContainerService/fleets/members"
|
||||
},
|
||||
"fleets_updateRuns_childResource": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"apiVersion": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"2023-06-15-preview"
|
||||
]
|
||||
},
|
||||
"name": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$",
|
||||
"minLength": 1,
|
||||
"maxLength": 50
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "The name of the UpdateRun resource."
|
||||
},
|
||||
"properties": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/UpdateRunProperties"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "The properties of the UpdateRun."
|
||||
},
|
||||
"type": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"updateRuns"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"apiVersion",
|
||||
"name",
|
||||
"properties",
|
||||
"type"
|
||||
],
|
||||
"description": "Microsoft.ContainerService/fleets/updateRuns"
|
||||
},
|
||||
"ManagedClusterUpdate": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"nodeImageSelection": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/NodeImageSelection"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "The node image upgrade to be applied to the target nodes in update run."
|
||||
},
|
||||
"upgrade": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/ManagedClusterUpgradeSpec"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "The upgrade to apply to a ManagedCluster."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"upgrade"
|
||||
],
|
||||
"description": "The update to be applied to the ManagedClusters."
|
||||
},
|
||||
"ManagedClusterUpgradeSpec": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"kubernetesVersion": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"Full",
|
||||
"NodeImageOnly"
|
||||
]
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "The upgrade type.\nFull requires the KubernetesVersion property to be set.\nNodeImageOnly requires the KubernetesVersion property not to be set."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"type"
|
||||
],
|
||||
"description": "The upgrade to apply to a ManagedCluster."
|
||||
},
|
||||
"ManagedServiceIdentity": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"type": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"None",
|
||||
"SystemAssigned",
|
||||
"UserAssigned",
|
||||
"SystemAssigned, UserAssigned"
|
||||
]
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
]
|
||||
},
|
||||
"userAssignedIdentities": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"$ref": "#/definitions/UserAssignedIdentity"
|
||||
},
|
||||
"properties": {}
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"type"
|
||||
],
|
||||
"description": "Managed service identity (system assigned and/or user assigned identities)"
|
||||
},
|
||||
"NodeImageSelection": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"type": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"Latest",
|
||||
"Consistent"
|
||||
]
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "The node image upgrade type."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"type"
|
||||
],
|
||||
"description": "The node image upgrade to be applied to the target nodes in update run."
|
||||
},
|
||||
"UpdateGroup": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"name": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$",
|
||||
"minLength": 1,
|
||||
"maxLength": 50
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Name of the group.\nIt must match a group name of an existing fleet member. "
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"name"
|
||||
],
|
||||
"description": "A group to be updated."
|
||||
},
|
||||
"UpdateRunProperties": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"managedClusterUpdate": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/ManagedClusterUpdate"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "The update to be applied to the ManagedClusters."
|
||||
},
|
||||
"strategy": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/UpdateRunStrategy"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Defines the update sequence of the clusters via stages and groups.\n\nStages within a run are executed sequentially one after another.\nGroups within a stage are executed in parallel.\nMember clusters within a group are updated sequentially one after another.\n\nA valid strategy contains no duplicate groups within or across stages."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"managedClusterUpdate"
|
||||
],
|
||||
"description": "The properties of the UpdateRun."
|
||||
},
|
||||
"UpdateRunStrategy": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"stages": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/UpdateStage"
|
||||
}
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "The list of stages that compose this update run. Min size: 1."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"stages"
|
||||
],
|
||||
"description": "Defines the update sequence of the clusters via stages and groups.\n\nStages within a run are executed sequentially one after another.\nGroups within a stage are executed in parallel.\nMember clusters within a group are updated sequentially one after another.\n\nA valid strategy contains no duplicate groups within or across stages."
|
||||
},
|
||||
"UpdateStage": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"afterStageWaitInSeconds": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "integer"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "The time in seconds to wait at the end of this stage before starting the next one. Defaults to 0 seconds if unspecified."
|
||||
},
|
||||
"groups": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/UpdateGroup"
|
||||
}
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Defines the groups to be executed in parallel in this stage. Duplicate groups are not allowed. Min size: 1."
|
||||
},
|
||||
"name": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$",
|
||||
"minLength": 1,
|
||||
"maxLength": 50
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "The name of the stage. Must be unique within the UpdateRun."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"name"
|
||||
],
|
||||
"description": "Defines a stage which contains the groups to update and the steps to take (e.g., wait for a time period) before starting the next stage."
|
||||
},
|
||||
"UserAssignedIdentity": {
|
||||
"type": "object",
|
||||
"properties": {},
|
||||
"description": "User assigned identity properties"
|
||||
}
|
||||
}
|
||||
}
|
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
|
@ -0,0 +1,812 @@
|
|||
{
|
||||
"id": "https://schema.management.azure.com/schemas/2023-08-15-preview/Microsoft.ContainerService.Fleet.json#",
|
||||
"$schema": "http://json-schema.org/draft-04/schema#",
|
||||
"title": "Microsoft.ContainerService",
|
||||
"description": "Microsoft ContainerService Resource Types",
|
||||
"resourceDefinitions": {
|
||||
"fleets": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"apiVersion": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"2023-08-15-preview"
|
||||
]
|
||||
},
|
||||
"identity": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/ManagedServiceIdentity"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Managed service identity (system assigned and/or user assigned identities)"
|
||||
},
|
||||
"location": {
|
||||
"type": "string",
|
||||
"description": "The geo-location where the resource lives"
|
||||
},
|
||||
"name": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$",
|
||||
"minLength": 1,
|
||||
"maxLength": 63
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "The name of the Fleet resource."
|
||||
},
|
||||
"properties": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/FleetProperties"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Fleet properties."
|
||||
},
|
||||
"resources": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/fleets_members_childResource"
|
||||
},
|
||||
{
|
||||
"$ref": "#/definitions/fleets_updateRuns_childResource"
|
||||
},
|
||||
{
|
||||
"$ref": "#/definitions/fleets_updateStrategies_childResource"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"tags": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
},
|
||||
"properties": {}
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Resource tags."
|
||||
},
|
||||
"type": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"Microsoft.ContainerService/fleets"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"apiVersion",
|
||||
"location",
|
||||
"name",
|
||||
"properties",
|
||||
"type"
|
||||
],
|
||||
"description": "Microsoft.ContainerService/fleets"
|
||||
},
|
||||
"fleets_members": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"apiVersion": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"2023-08-15-preview"
|
||||
]
|
||||
},
|
||||
"name": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$",
|
||||
"minLength": 1,
|
||||
"maxLength": 50
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "The name of the Fleet member resource."
|
||||
},
|
||||
"properties": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/FleetMemberProperties"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "A member of the Fleet. It contains a reference to an existing Kubernetes cluster on Azure."
|
||||
},
|
||||
"type": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"Microsoft.ContainerService/fleets/members"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"apiVersion",
|
||||
"name",
|
||||
"properties",
|
||||
"type"
|
||||
],
|
||||
"description": "Microsoft.ContainerService/fleets/members"
|
||||
},
|
||||
"fleets_updateRuns": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"apiVersion": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"2023-08-15-preview"
|
||||
]
|
||||
},
|
||||
"name": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$",
|
||||
"minLength": 1,
|
||||
"maxLength": 50
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "The name of the UpdateRun resource."
|
||||
},
|
||||
"properties": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/UpdateRunProperties"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "The properties of the UpdateRun."
|
||||
},
|
||||
"type": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"Microsoft.ContainerService/fleets/updateRuns"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"apiVersion",
|
||||
"name",
|
||||
"properties",
|
||||
"type"
|
||||
],
|
||||
"description": "Microsoft.ContainerService/fleets/updateRuns"
|
||||
},
|
||||
"fleets_updateStrategies": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"apiVersion": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"2023-08-15-preview"
|
||||
]
|
||||
},
|
||||
"name": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$",
|
||||
"minLength": 1,
|
||||
"maxLength": 50
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "The name of the UpdateStrategy resource."
|
||||
},
|
||||
"properties": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/FleetUpdateStrategyProperties"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "The properties of the UpdateStrategy."
|
||||
},
|
||||
"type": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"Microsoft.ContainerService/fleets/updateStrategies"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"apiVersion",
|
||||
"name",
|
||||
"properties",
|
||||
"type"
|
||||
],
|
||||
"description": "Microsoft.ContainerService/fleets/updateStrategies"
|
||||
}
|
||||
},
|
||||
"definitions": {
|
||||
"AgentProfile": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"subnetId": {
|
||||
"type": "string",
|
||||
"format": "arm-id",
|
||||
"description": "A type definition that refers the id to an ARM resource."
|
||||
},
|
||||
"vmSize": {
|
||||
"type": "string",
|
||||
"description": "The virtual machine size of the Fleet hub."
|
||||
}
|
||||
},
|
||||
"description": "Agent profile for the Fleet hub."
|
||||
},
|
||||
"APIServerAccessProfile": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"enablePrivateCluster": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "boolean"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Whether to create the Fleet hub as a private cluster or not."
|
||||
},
|
||||
"enableVnetIntegration": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "boolean"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Whether to enable apiserver vnet integration for the Fleet hub or not."
|
||||
},
|
||||
"subnetId": {
|
||||
"type": "string",
|
||||
"format": "arm-id",
|
||||
"description": "A type definition that refers the id to an ARM resource."
|
||||
}
|
||||
},
|
||||
"description": "Access profile for the Fleet hub API server."
|
||||
},
|
||||
"FleetHubProfile": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"agentProfile": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/AgentProfile"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Agent profile for the Fleet hub."
|
||||
},
|
||||
"apiServerAccessProfile": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/APIServerAccessProfile"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Access profile for the Fleet hub API server."
|
||||
},
|
||||
"dnsPrefix": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"pattern": "^[a-zA-Z0-9]$|^[a-zA-Z0-9][a-zA-Z0-9-]{0,52}[a-zA-Z0-9]$",
|
||||
"minLength": 1,
|
||||
"maxLength": 54
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "DNS prefix used to create the FQDN for the Fleet hub."
|
||||
}
|
||||
},
|
||||
"description": "The FleetHubProfile configures the fleet hub."
|
||||
},
|
||||
"FleetMemberProperties": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"clusterResourceId": {
|
||||
"type": "string",
|
||||
"format": "arm-id",
|
||||
"description": "A type definition that refers the id to an ARM resource."
|
||||
},
|
||||
"group": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$",
|
||||
"minLength": 1,
|
||||
"maxLength": 50
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "The group this member belongs to for multi-cluster update management."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"clusterResourceId"
|
||||
],
|
||||
"description": "A member of the Fleet. It contains a reference to an existing Kubernetes cluster on Azure."
|
||||
},
|
||||
"FleetProperties": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"hubProfile": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/FleetHubProfile"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "The FleetHubProfile configures the fleet hub."
|
||||
}
|
||||
},
|
||||
"description": "Fleet properties."
|
||||
},
|
||||
"fleets_members_childResource": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"apiVersion": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"2023-08-15-preview"
|
||||
]
|
||||
},
|
||||
"name": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$",
|
||||
"minLength": 1,
|
||||
"maxLength": 50
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "The name of the Fleet member resource."
|
||||
},
|
||||
"properties": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/FleetMemberProperties"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "A member of the Fleet. It contains a reference to an existing Kubernetes cluster on Azure."
|
||||
},
|
||||
"type": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"members"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"apiVersion",
|
||||
"name",
|
||||
"properties",
|
||||
"type"
|
||||
],
|
||||
"description": "Microsoft.ContainerService/fleets/members"
|
||||
},
|
||||
"fleets_updateRuns_childResource": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"apiVersion": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"2023-08-15-preview"
|
||||
]
|
||||
},
|
||||
"name": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$",
|
||||
"minLength": 1,
|
||||
"maxLength": 50
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "The name of the UpdateRun resource."
|
||||
},
|
||||
"properties": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/UpdateRunProperties"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "The properties of the UpdateRun."
|
||||
},
|
||||
"type": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"updateRuns"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"apiVersion",
|
||||
"name",
|
||||
"properties",
|
||||
"type"
|
||||
],
|
||||
"description": "Microsoft.ContainerService/fleets/updateRuns"
|
||||
},
|
||||
"fleets_updateStrategies_childResource": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"apiVersion": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"2023-08-15-preview"
|
||||
]
|
||||
},
|
||||
"name": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$",
|
||||
"minLength": 1,
|
||||
"maxLength": 50
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "The name of the UpdateStrategy resource."
|
||||
},
|
||||
"properties": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/FleetUpdateStrategyProperties"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "The properties of the UpdateStrategy."
|
||||
},
|
||||
"type": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"updateStrategies"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"apiVersion",
|
||||
"name",
|
||||
"properties",
|
||||
"type"
|
||||
],
|
||||
"description": "Microsoft.ContainerService/fleets/updateStrategies"
|
||||
},
|
||||
"FleetUpdateStrategyProperties": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"strategy": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/UpdateRunStrategy"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Defines the update sequence of the clusters via stages and groups.\n\nStages within a run are executed sequentially one after another.\nGroups within a stage are executed in parallel.\nMember clusters within a group are updated sequentially one after another.\n\nA valid strategy contains no duplicate groups within or across stages."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"strategy"
|
||||
],
|
||||
"description": "The properties of the UpdateStrategy."
|
||||
},
|
||||
"ManagedClusterUpdate": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"nodeImageSelection": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/NodeImageSelection"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "The node image upgrade to be applied to the target nodes in update run."
|
||||
},
|
||||
"upgrade": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/ManagedClusterUpgradeSpec"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "The upgrade to apply to a ManagedCluster."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"upgrade"
|
||||
],
|
||||
"description": "The update to be applied to the ManagedClusters."
|
||||
},
|
||||
"ManagedClusterUpgradeSpec": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"kubernetesVersion": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"Full",
|
||||
"NodeImageOnly"
|
||||
]
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "The upgrade type.\nFull requires the KubernetesVersion property to be set.\nNodeImageOnly requires the KubernetesVersion property not to be set."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"type"
|
||||
],
|
||||
"description": "The upgrade to apply to a ManagedCluster."
|
||||
},
|
||||
"ManagedServiceIdentity": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"type": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"None",
|
||||
"SystemAssigned",
|
||||
"UserAssigned",
|
||||
"SystemAssigned, UserAssigned"
|
||||
]
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
]
|
||||
},
|
||||
"userAssignedIdentities": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"$ref": "#/definitions/UserAssignedIdentity"
|
||||
},
|
||||
"properties": {}
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"type"
|
||||
],
|
||||
"description": "Managed service identity (system assigned and/or user assigned identities)"
|
||||
},
|
||||
"NodeImageSelection": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"type": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"Latest",
|
||||
"Consistent"
|
||||
]
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "The node image upgrade type."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"type"
|
||||
],
|
||||
"description": "The node image upgrade to be applied to the target nodes in update run."
|
||||
},
|
||||
"UpdateGroup": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"name": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$",
|
||||
"minLength": 1,
|
||||
"maxLength": 50
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Name of the group.\nIt must match a group name of an existing fleet member. "
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"name"
|
||||
],
|
||||
"description": "A group to be updated."
|
||||
},
|
||||
"UpdateRunProperties": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"managedClusterUpdate": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/ManagedClusterUpdate"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "The update to be applied to the ManagedClusters."
|
||||
},
|
||||
"strategy": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/UpdateRunStrategy"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Defines the update sequence of the clusters via stages and groups.\n\nStages within a run are executed sequentially one after another.\nGroups within a stage are executed in parallel.\nMember clusters within a group are updated sequentially one after another.\n\nA valid strategy contains no duplicate groups within or across stages."
|
||||
},
|
||||
"updateStrategyId": {
|
||||
"type": "string",
|
||||
"format": "arm-id",
|
||||
"description": "A type definition that refers the id to an ARM resource."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"managedClusterUpdate"
|
||||
],
|
||||
"description": "The properties of the UpdateRun."
|
||||
},
|
||||
"UpdateRunStrategy": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"stages": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/UpdateStage"
|
||||
}
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "The list of stages that compose this update run. Min size: 1."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"stages"
|
||||
],
|
||||
"description": "Defines the update sequence of the clusters via stages and groups.\n\nStages within a run are executed sequentially one after another.\nGroups within a stage are executed in parallel.\nMember clusters within a group are updated sequentially one after another.\n\nA valid strategy contains no duplicate groups within or across stages."
|
||||
},
|
||||
"UpdateStage": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"afterStageWaitInSeconds": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "integer"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "The time in seconds to wait at the end of this stage before starting the next one. Defaults to 0 seconds if unspecified."
|
||||
},
|
||||
"groups": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/UpdateGroup"
|
||||
}
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Defines the groups to be executed in parallel in this stage. Duplicate groups are not allowed. Min size: 1."
|
||||
},
|
||||
"name": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$",
|
||||
"minLength": 1,
|
||||
"maxLength": 50
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "The name of the stage. Must be unique within the UpdateRun."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"name"
|
||||
],
|
||||
"description": "Defines a stage which contains the groups to update and the steps to take (e.g., wait for a time period) before starting the next stage."
|
||||
},
|
||||
"UserAssignedIdentity": {
|
||||
"type": "object",
|
||||
"properties": {},
|
||||
"description": "User assigned identity properties"
|
||||
}
|
||||
}
|
||||
}
|
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
|
@ -0,0 +1,710 @@
|
|||
{
|
||||
"id": "https://schema.management.azure.com/schemas/2023-10-15/Microsoft.ContainerService.Fleet.json#",
|
||||
"$schema": "http://json-schema.org/draft-04/schema#",
|
||||
"title": "Microsoft.ContainerService",
|
||||
"description": "Microsoft ContainerService Resource Types",
|
||||
"resourceDefinitions": {
|
||||
"fleets": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"apiVersion": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"2023-10-15"
|
||||
]
|
||||
},
|
||||
"identity": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/ManagedServiceIdentity"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Managed service identity (system assigned and/or user assigned identities)"
|
||||
},
|
||||
"location": {
|
||||
"type": "string",
|
||||
"description": "The geo-location where the resource lives"
|
||||
},
|
||||
"name": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$",
|
||||
"minLength": 1,
|
||||
"maxLength": 63
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "The name of the Fleet resource."
|
||||
},
|
||||
"properties": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/FleetProperties"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Fleet properties."
|
||||
},
|
||||
"resources": {
|
||||
"type": "array",
|
||||
"items": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/fleets_members_childResource"
|
||||
},
|
||||
{
|
||||
"$ref": "#/definitions/fleets_updateRuns_childResource"
|
||||
},
|
||||
{
|
||||
"$ref": "#/definitions/fleets_updateStrategies_childResource"
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"tags": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"type": "string"
|
||||
},
|
||||
"properties": {}
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Resource tags."
|
||||
},
|
||||
"type": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"Microsoft.ContainerService/fleets"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"apiVersion",
|
||||
"location",
|
||||
"name",
|
||||
"properties",
|
||||
"type"
|
||||
],
|
||||
"description": "Microsoft.ContainerService/fleets"
|
||||
},
|
||||
"fleets_members": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"apiVersion": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"2023-10-15"
|
||||
]
|
||||
},
|
||||
"name": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$",
|
||||
"minLength": 1,
|
||||
"maxLength": 50
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "The name of the Fleet member resource."
|
||||
},
|
||||
"properties": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/FleetMemberProperties"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "A member of the Fleet. It contains a reference to an existing Kubernetes cluster on Azure."
|
||||
},
|
||||
"type": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"Microsoft.ContainerService/fleets/members"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"apiVersion",
|
||||
"name",
|
||||
"properties",
|
||||
"type"
|
||||
],
|
||||
"description": "Microsoft.ContainerService/fleets/members"
|
||||
},
|
||||
"fleets_updateRuns": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"apiVersion": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"2023-10-15"
|
||||
]
|
||||
},
|
||||
"name": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$",
|
||||
"minLength": 1,
|
||||
"maxLength": 50
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "The name of the UpdateRun resource."
|
||||
},
|
||||
"properties": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/UpdateRunProperties"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "The properties of the UpdateRun."
|
||||
},
|
||||
"type": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"Microsoft.ContainerService/fleets/updateRuns"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"apiVersion",
|
||||
"name",
|
||||
"properties",
|
||||
"type"
|
||||
],
|
||||
"description": "Microsoft.ContainerService/fleets/updateRuns"
|
||||
},
|
||||
"fleets_updateStrategies": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"apiVersion": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"2023-10-15"
|
||||
]
|
||||
},
|
||||
"name": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$",
|
||||
"minLength": 1,
|
||||
"maxLength": 50
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "The name of the UpdateStrategy resource."
|
||||
},
|
||||
"properties": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/FleetUpdateStrategyProperties"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "The properties of the UpdateStrategy."
|
||||
},
|
||||
"type": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"Microsoft.ContainerService/fleets/updateStrategies"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"apiVersion",
|
||||
"name",
|
||||
"properties",
|
||||
"type"
|
||||
],
|
||||
"description": "Microsoft.ContainerService/fleets/updateStrategies"
|
||||
}
|
||||
},
|
||||
"definitions": {
|
||||
"FleetMemberProperties": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"clusterResourceId": {
|
||||
"type": "string",
|
||||
"format": "arm-id",
|
||||
"description": "A type definition that refers the id to an ARM resource."
|
||||
},
|
||||
"group": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$",
|
||||
"minLength": 1,
|
||||
"maxLength": 50
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "The group this member belongs to for multi-cluster update management."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"clusterResourceId"
|
||||
],
|
||||
"description": "A member of the Fleet. It contains a reference to an existing Kubernetes cluster on Azure."
|
||||
},
|
||||
"FleetProperties": {
|
||||
"type": "object",
|
||||
"properties": {},
|
||||
"description": "Fleet properties."
|
||||
},
|
||||
"fleets_members_childResource": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"apiVersion": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"2023-10-15"
|
||||
]
|
||||
},
|
||||
"name": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$",
|
||||
"minLength": 1,
|
||||
"maxLength": 50
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "The name of the Fleet member resource."
|
||||
},
|
||||
"properties": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/FleetMemberProperties"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "A member of the Fleet. It contains a reference to an existing Kubernetes cluster on Azure."
|
||||
},
|
||||
"type": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"members"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"apiVersion",
|
||||
"name",
|
||||
"properties",
|
||||
"type"
|
||||
],
|
||||
"description": "Microsoft.ContainerService/fleets/members"
|
||||
},
|
||||
"fleets_updateRuns_childResource": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"apiVersion": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"2023-10-15"
|
||||
]
|
||||
},
|
||||
"name": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$",
|
||||
"minLength": 1,
|
||||
"maxLength": 50
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "The name of the UpdateRun resource."
|
||||
},
|
||||
"properties": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/UpdateRunProperties"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "The properties of the UpdateRun."
|
||||
},
|
||||
"type": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"updateRuns"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"apiVersion",
|
||||
"name",
|
||||
"properties",
|
||||
"type"
|
||||
],
|
||||
"description": "Microsoft.ContainerService/fleets/updateRuns"
|
||||
},
|
||||
"fleets_updateStrategies_childResource": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"apiVersion": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"2023-10-15"
|
||||
]
|
||||
},
|
||||
"name": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$",
|
||||
"minLength": 1,
|
||||
"maxLength": 50
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "The name of the UpdateStrategy resource."
|
||||
},
|
||||
"properties": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/FleetUpdateStrategyProperties"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "The properties of the UpdateStrategy."
|
||||
},
|
||||
"type": {
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"updateStrategies"
|
||||
]
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"apiVersion",
|
||||
"name",
|
||||
"properties",
|
||||
"type"
|
||||
],
|
||||
"description": "Microsoft.ContainerService/fleets/updateStrategies"
|
||||
},
|
||||
"FleetUpdateStrategyProperties": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"strategy": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/UpdateRunStrategy"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Defines the update sequence of the clusters via stages and groups.\n\nStages within a run are executed sequentially one after another.\nGroups within a stage are executed in parallel.\nMember clusters within a group are updated sequentially one after another.\n\nA valid strategy contains no duplicate groups within or across stages."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"strategy"
|
||||
],
|
||||
"description": "The properties of the UpdateStrategy."
|
||||
},
|
||||
"ManagedClusterUpdate": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"nodeImageSelection": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/NodeImageSelection"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "The node image upgrade to be applied to the target nodes in update run."
|
||||
},
|
||||
"upgrade": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/ManagedClusterUpgradeSpec"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "The upgrade to apply to a ManagedCluster."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"upgrade"
|
||||
],
|
||||
"description": "The update to be applied to the ManagedClusters."
|
||||
},
|
||||
"ManagedClusterUpgradeSpec": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"kubernetesVersion": {
|
||||
"type": "string"
|
||||
},
|
||||
"type": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"Full",
|
||||
"NodeImageOnly"
|
||||
]
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "The upgrade type.\nFull requires the KubernetesVersion property to be set.\nNodeImageOnly requires the KubernetesVersion property not to be set."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"type"
|
||||
],
|
||||
"description": "The upgrade to apply to a ManagedCluster."
|
||||
},
|
||||
"ManagedServiceIdentity": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"type": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"None",
|
||||
"SystemAssigned",
|
||||
"UserAssigned",
|
||||
"SystemAssigned, UserAssigned"
|
||||
]
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
]
|
||||
},
|
||||
"userAssignedIdentities": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "object",
|
||||
"additionalProperties": {
|
||||
"$ref": "#/definitions/UserAssignedIdentity"
|
||||
},
|
||||
"properties": {}
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "The set of user assigned identities associated with the resource. The userAssignedIdentities dictionary keys will be ARM resource ids in the form: '/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.ManagedIdentity/userAssignedIdentities/{identityName}. The dictionary values can be empty objects ({}) in requests."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"type"
|
||||
],
|
||||
"description": "Managed service identity (system assigned and/or user assigned identities)"
|
||||
},
|
||||
"NodeImageSelection": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"type": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"enum": [
|
||||
"Latest",
|
||||
"Consistent"
|
||||
]
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "The node image upgrade type."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"type"
|
||||
],
|
||||
"description": "The node image upgrade to be applied to the target nodes in update run."
|
||||
},
|
||||
"UpdateGroup": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"name": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$",
|
||||
"minLength": 1,
|
||||
"maxLength": 50
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Name of the group.\nIt must match a group name of an existing fleet member. "
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"name"
|
||||
],
|
||||
"description": "A group to be updated."
|
||||
},
|
||||
"UpdateRunProperties": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"managedClusterUpdate": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/ManagedClusterUpdate"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "The update to be applied to the ManagedClusters."
|
||||
},
|
||||
"strategy": {
|
||||
"oneOf": [
|
||||
{
|
||||
"$ref": "#/definitions/UpdateRunStrategy"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Defines the update sequence of the clusters via stages and groups.\n\nStages within a run are executed sequentially one after another.\nGroups within a stage are executed in parallel.\nMember clusters within a group are updated sequentially one after another.\n\nA valid strategy contains no duplicate groups within or across stages."
|
||||
},
|
||||
"updateStrategyId": {
|
||||
"type": "string",
|
||||
"format": "arm-id",
|
||||
"description": "A type definition that refers the id to an ARM resource."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"managedClusterUpdate"
|
||||
],
|
||||
"description": "The properties of the UpdateRun."
|
||||
},
|
||||
"UpdateRunStrategy": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"stages": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/UpdateStage"
|
||||
}
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "The list of stages that compose this update run. Min size: 1."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"stages"
|
||||
],
|
||||
"description": "Defines the update sequence of the clusters via stages and groups.\n\nStages within a run are executed sequentially one after another.\nGroups within a stage are executed in parallel.\nMember clusters within a group are updated sequentially one after another.\n\nA valid strategy contains no duplicate groups within or across stages."
|
||||
},
|
||||
"UpdateStage": {
|
||||
"type": "object",
|
||||
"properties": {
|
||||
"afterStageWaitInSeconds": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "integer"
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "The time in seconds to wait at the end of this stage before starting the next one. Defaults to 0 seconds if unspecified."
|
||||
},
|
||||
"groups": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "array",
|
||||
"items": {
|
||||
"$ref": "#/definitions/UpdateGroup"
|
||||
}
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "Defines the groups to be executed in parallel in this stage. Duplicate groups are not allowed. Min size: 1."
|
||||
},
|
||||
"name": {
|
||||
"oneOf": [
|
||||
{
|
||||
"type": "string",
|
||||
"pattern": "^[a-z0-9]([-a-z0-9]*[a-z0-9])?$",
|
||||
"minLength": 1,
|
||||
"maxLength": 50
|
||||
},
|
||||
{
|
||||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
|
||||
}
|
||||
],
|
||||
"description": "The name of the stage. Must be unique within the UpdateRun."
|
||||
}
|
||||
},
|
||||
"required": [
|
||||
"name"
|
||||
],
|
||||
"description": "Defines a stage which contains the groups to update and the steps to take (e.g., wait for a time period) before starting the next stage."
|
||||
},
|
||||
"UserAssignedIdentity": {
|
||||
"type": "object",
|
||||
"properties": {},
|
||||
"description": "User assigned identity properties"
|
||||
}
|
||||
}
|
||||
}
|
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Разница между файлами не показана из-за своего большого размера
Загрузить разницу
Загрузка…
Ссылка в новой задаче