forked from Azure/azure-resource-manager-schemas
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CodeGen from PR 13220 in Azure/azure-rest-api-specs
Merge 54c2ee1058885df4881075ce88fb568564365770 into 6b5ee27c2506fdd6eda040b6d27633f3bf680731
- Loading branch information
SDKAuto
committed
Mar 7, 2021
1 parent
ffa4141
commit da313e9
Showing
23 changed files
with
28,312 additions
and
15,648 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
394 changes: 394 additions & 0 deletions
394
schemas/2015-11-01-preview/Microsoft.ContainerService.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,394 @@ | ||
{ | ||
"id": "https://schema.management.azure.com/schemas/2015-11-01-preview/Microsoft.ContainerService.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": [ | ||
"2015-11-01-preview" | ||
] | ||
}, | ||
"location": { | ||
"type": "string", | ||
"description": "Resource location" | ||
}, | ||
"name": { | ||
"type": "string", | ||
"description": "The name of the container service within the given subscription and resource group." | ||
}, | ||
"properties": { | ||
"oneOf": [ | ||
{ | ||
"$ref": "#/definitions/ContainerServiceProperties" | ||
}, | ||
{ | ||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" | ||
} | ||
], | ||
"description": "Properties of 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": "No. of agents (VMs) that will host docker containers" | ||
}, | ||
"dnsPrefix": { | ||
"type": "string", | ||
"description": "DNS prefix to be used to create FQDN for this agent pool" | ||
}, | ||
"name": { | ||
"type": "string", | ||
"description": "Unique name of the agent pool profile within 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" | ||
], | ||
"description": "Profile for 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": "Describes VM Diagnostics." | ||
} | ||
} | ||
}, | ||
"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 VM" | ||
}, | ||
"ContainerServiceMasterProfile": { | ||
"type": "object", | ||
"properties": { | ||
"count": { | ||
"oneOf": [ | ||
{ | ||
"type": "integer" | ||
}, | ||
{ | ||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" | ||
} | ||
], | ||
"description": "Number of masters (VMs) in the container cluster" | ||
}, | ||
"dnsPrefix": { | ||
"type": "string", | ||
"description": "DNS prefix to be used to create FQDN for master" | ||
} | ||
}, | ||
"required": [ | ||
"dnsPrefix" | ||
], | ||
"description": "Profile for container service master" | ||
}, | ||
"ContainerServiceOrchestratorProfile": { | ||
"type": "object", | ||
"properties": { | ||
"orchestratorType": { | ||
"oneOf": [ | ||
{ | ||
"type": "string", | ||
"enum": [ | ||
"Mesos", | ||
"SwarmPreview", | ||
"DCOS" | ||
] | ||
}, | ||
{ | ||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" | ||
} | ||
], | ||
"description": "Specifies what orchestrator will be used to manage container cluster resources." | ||
} | ||
}, | ||
"description": "Profile for 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 agent pools" | ||
}, | ||
"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 VM" | ||
}, | ||
"masterProfile": { | ||
"oneOf": [ | ||
{ | ||
"$ref": "#/definitions/ContainerServiceMasterProfile" | ||
}, | ||
{ | ||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" | ||
} | ||
], | ||
"description": "Profile for container service master" | ||
}, | ||
"orchestratorProfile": { | ||
"oneOf": [ | ||
{ | ||
"$ref": "#/definitions/ContainerServiceOrchestratorProfile" | ||
}, | ||
{ | ||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" | ||
} | ||
], | ||
"description": "Profile for Orchestrator" | ||
}, | ||
"windowsProfile": { | ||
"oneOf": [ | ||
{ | ||
"$ref": "#/definitions/ContainerServiceWindowsProfile" | ||
}, | ||
{ | ||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" | ||
} | ||
], | ||
"description": "Profile for Windows jumpbox" | ||
} | ||
}, | ||
"required": [ | ||
"agentPoolProfiles", | ||
"linuxProfile", | ||
"masterProfile" | ||
], | ||
"description": "Properties of 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": "Gets or sets the list of SSH public keys used to authenticate with Linux based VMs" | ||
} | ||
}, | ||
"description": "SSH configuration for Linux based VMs running on Azure" | ||
}, | ||
"ContainerServiceSshPublicKey": { | ||
"type": "object", | ||
"properties": { | ||
"keyData": { | ||
"type": "string", | ||
"description": "Gets or sets Certificate public key used to authenticate with VM 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": "Gets or sets whether VM Diagnostic Agent should be provisioned on the Virtual Machine." | ||
} | ||
}, | ||
"description": "Describes VM Diagnostics." | ||
}, | ||
"ContainerServiceWindowsProfile": { | ||
"type": "object", | ||
"properties": { | ||
"adminPassword": { | ||
"type": "string", | ||
"description": "The administrator password to use for Windows jumpbox" | ||
}, | ||
"adminUsername": { | ||
"type": "string", | ||
"description": "The administrator username to use for Windows jumpbox" | ||
} | ||
}, | ||
"required": [ | ||
"adminPassword", | ||
"adminUsername" | ||
], | ||
"description": "Profile for Windows jumpbox" | ||
} | ||
} | ||
} |
Oops, something went wrong.