Skip to content

Commit

Permalink
CodeGen from PR 12222 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
Merge 6b653a8b863cb488bb9055d0974bc595cd0e927e into bcd417920ddc33d1e89d0ecfcb2b405025418b3c
  • Loading branch information
SDKAuto committed Dec 28, 2020
1 parent 9cd73d3 commit be26cef
Show file tree
Hide file tree
Showing 22 changed files with 35,631 additions and 15,238 deletions.
2,035 changes: 2,035 additions & 0 deletions schemas/2015-06-15/Microsoft.Compute.json

Large diffs are not rendered by default.

394 changes: 394 additions & 0 deletions schemas/2015-11-01-preview/Microsoft.ContainerService.json
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"
}
}
}
Loading

0 comments on commit be26cef

Please sign in to comment.