-
Notifications
You must be signed in to change notification settings - Fork 518
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[ReleasePR kubernetesconfiguration] Dev kubernetesconfiguration micro…
…soft.kubernetes configuration 2021 09 01 (#1923) Create to sync Azure/azure-rest-api-specs#15593 [ReCreate this PR](https://github.com/azure-resource-manager-schemas/compare/main...AzureSDKAutomation:sdkAuto/kubernetesconfiguration?expand=1)
- Loading branch information
Showing
1 changed file
with
387 additions
and
0 deletions.
There are no files selected for viewing
387 changes: 387 additions & 0 deletions
387
schemas/2021-09-01/Microsoft.KubernetesConfiguration.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,387 @@ | ||
{ | ||
"id": "https://schema.management.azure.com/schemas/2021-09-01/Microsoft.KubernetesConfiguration.json#", | ||
"$schema": "http://json-schema.org/draft-04/schema#", | ||
"title": "Microsoft.KubernetesConfiguration", | ||
"description": "Microsoft KubernetesConfiguration Resource Types", | ||
"resourceDefinitions": {}, | ||
"extension_resourceDefinitions": { | ||
"extensions": { | ||
"type": "object", | ||
"properties": { | ||
"apiVersion": { | ||
"type": "string", | ||
"enum": [ | ||
"2021-09-01" | ||
] | ||
}, | ||
"identity": { | ||
"oneOf": [ | ||
{ | ||
"$ref": "#/definitions/Identity" | ||
}, | ||
{ | ||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" | ||
} | ||
], | ||
"description": "Identity for the resource." | ||
}, | ||
"name": { | ||
"type": "string", | ||
"description": "Name of the Extension." | ||
}, | ||
"properties": { | ||
"oneOf": [ | ||
{ | ||
"$ref": "#/definitions/ExtensionProperties" | ||
}, | ||
{ | ||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" | ||
} | ||
], | ||
"description": "Properties of an Extension resource" | ||
}, | ||
"systemData": { | ||
"oneOf": [ | ||
{ | ||
"$ref": "#/definitions/SystemData" | ||
}, | ||
{ | ||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" | ||
} | ||
], | ||
"description": "Metadata pertaining to creation and last modification of the resource." | ||
}, | ||
"type": { | ||
"type": "string", | ||
"enum": [ | ||
"Microsoft.KubernetesConfiguration/extensions" | ||
] | ||
} | ||
}, | ||
"required": [ | ||
"apiVersion", | ||
"name", | ||
"properties", | ||
"type" | ||
], | ||
"description": "Microsoft.KubernetesConfiguration/extensions" | ||
} | ||
}, | ||
"definitions": { | ||
"ErrorDetail": { | ||
"type": "object", | ||
"properties": {}, | ||
"description": "The error detail." | ||
}, | ||
"ExtensionProperties": { | ||
"type": "object", | ||
"properties": { | ||
"aksAssignedIdentity": { | ||
"oneOf": [ | ||
{ | ||
"$ref": "#/definitions/ExtensionPropertiesAksAssignedIdentity" | ||
}, | ||
{ | ||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" | ||
} | ||
], | ||
"description": "Identity of the Extension resource in an AKS cluster" | ||
}, | ||
"autoUpgradeMinorVersion": { | ||
"oneOf": [ | ||
{ | ||
"type": "boolean", | ||
"default": true | ||
}, | ||
{ | ||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" | ||
} | ||
], | ||
"description": "Flag to note if this extension participates in auto upgrade of minor version, or not." | ||
}, | ||
"configurationProtectedSettings": { | ||
"oneOf": [ | ||
{ | ||
"type": "object", | ||
"additionalProperties": { | ||
"type": "string" | ||
}, | ||
"properties": {} | ||
}, | ||
{ | ||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" | ||
} | ||
], | ||
"description": "Configuration settings that are sensitive, as name-value pairs for configuring this extension." | ||
}, | ||
"configurationSettings": { | ||
"oneOf": [ | ||
{ | ||
"type": "object", | ||
"additionalProperties": { | ||
"type": "string" | ||
}, | ||
"properties": {} | ||
}, | ||
{ | ||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" | ||
} | ||
], | ||
"description": "Configuration settings, as name-value pairs for configuring this extension." | ||
}, | ||
"errorInfo": { | ||
"oneOf": [ | ||
{ | ||
"$ref": "#/definitions/ErrorDetail" | ||
}, | ||
{ | ||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" | ||
} | ||
], | ||
"description": "The error detail." | ||
}, | ||
"extensionType": { | ||
"type": "string", | ||
"description": "Type of the Extension, of which this resource is an instance of. It must be one of the Extension Types registered with Microsoft.KubernetesConfiguration by the Extension publisher." | ||
}, | ||
"provisioningState": { | ||
"oneOf": [ | ||
{ | ||
"type": "string", | ||
"enum": [ | ||
"Succeeded", | ||
"Failed", | ||
"Canceled", | ||
"Creating", | ||
"Updating", | ||
"Deleting" | ||
] | ||
}, | ||
{ | ||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" | ||
} | ||
] | ||
}, | ||
"releaseTrain": { | ||
"type": "string", | ||
"default": "Stable", | ||
"description": "ReleaseTrain this extension participates in for auto-upgrade (e.g. Stable, Preview, etc.) - only if autoUpgradeMinorVersion is 'true'." | ||
}, | ||
"scope": { | ||
"oneOf": [ | ||
{ | ||
"$ref": "#/definitions/Scope" | ||
}, | ||
{ | ||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" | ||
} | ||
], | ||
"description": "Scope of the extension. It can be either Cluster or Namespace; but not both." | ||
}, | ||
"statuses": { | ||
"oneOf": [ | ||
{ | ||
"type": "array", | ||
"items": { | ||
"$ref": "#/definitions/ExtensionStatus" | ||
} | ||
}, | ||
{ | ||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" | ||
} | ||
], | ||
"description": "Status from this extension." | ||
}, | ||
"version": { | ||
"type": "string", | ||
"description": "Version of the extension for this extension, if it is 'pinned' to a specific version. autoUpgradeMinorVersion must be 'false'." | ||
} | ||
}, | ||
"description": "Properties of an Extension resource" | ||
}, | ||
"ExtensionPropertiesAksAssignedIdentity": { | ||
"type": "object", | ||
"properties": { | ||
"type": { | ||
"oneOf": [ | ||
{ | ||
"type": "string", | ||
"enum": [ | ||
"SystemAssigned" | ||
] | ||
}, | ||
{ | ||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" | ||
} | ||
], | ||
"description": "The identity type." | ||
} | ||
}, | ||
"description": "Identity of the Extension resource in an AKS cluster" | ||
}, | ||
"ExtensionStatus": { | ||
"type": "object", | ||
"properties": { | ||
"code": { | ||
"type": "string", | ||
"description": "Status code provided by the Extension" | ||
}, | ||
"displayStatus": { | ||
"type": "string", | ||
"description": "Short description of status of the extension." | ||
}, | ||
"level": { | ||
"oneOf": [ | ||
{ | ||
"type": "string", | ||
"enum": [ | ||
"Error", | ||
"Warning", | ||
"Information" | ||
] | ||
}, | ||
{ | ||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" | ||
} | ||
], | ||
"description": "Level of the status." | ||
}, | ||
"message": { | ||
"type": "string", | ||
"description": "Detailed message of the status from the Extension." | ||
}, | ||
"time": { | ||
"type": "string", | ||
"description": "DateLiteral (per ISO8601) noting the time of installation status." | ||
} | ||
}, | ||
"description": "Status from the extension." | ||
}, | ||
"Identity": { | ||
"type": "object", | ||
"properties": { | ||
"type": { | ||
"oneOf": [ | ||
{ | ||
"type": "string", | ||
"enum": [ | ||
"SystemAssigned" | ||
] | ||
}, | ||
{ | ||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" | ||
} | ||
], | ||
"description": "The identity type." | ||
} | ||
}, | ||
"description": "Identity for the resource." | ||
}, | ||
"Scope": { | ||
"type": "object", | ||
"properties": { | ||
"cluster": { | ||
"oneOf": [ | ||
{ | ||
"$ref": "#/definitions/ScopeCluster" | ||
}, | ||
{ | ||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" | ||
} | ||
], | ||
"description": "Specifies that the scope of the extension is Cluster" | ||
}, | ||
"namespace": { | ||
"oneOf": [ | ||
{ | ||
"$ref": "#/definitions/ScopeNamespace" | ||
}, | ||
{ | ||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" | ||
} | ||
], | ||
"description": "Specifies that the scope of the extension is Namespace" | ||
} | ||
}, | ||
"description": "Scope of the extension. It can be either Cluster or Namespace; but not both." | ||
}, | ||
"ScopeCluster": { | ||
"type": "object", | ||
"properties": { | ||
"releaseNamespace": { | ||
"type": "string", | ||
"description": "Namespace where the extension Release must be placed, for a Cluster scoped extension. If this namespace does not exist, it will be created" | ||
} | ||
}, | ||
"description": "Specifies that the scope of the extension is Cluster" | ||
}, | ||
"ScopeNamespace": { | ||
"type": "object", | ||
"properties": { | ||
"targetNamespace": { | ||
"type": "string", | ||
"description": "Namespace where the extension will be created for an Namespace scoped extension. If this namespace does not exist, it will be created" | ||
} | ||
}, | ||
"description": "Specifies that the scope of the extension is Namespace" | ||
}, | ||
"SystemData": { | ||
"type": "object", | ||
"properties": { | ||
"createdAt": { | ||
"type": "string", | ||
"format": "date-time", | ||
"description": "The timestamp of resource creation (UTC)." | ||
}, | ||
"createdBy": { | ||
"type": "string", | ||
"description": "The identity that created the resource." | ||
}, | ||
"createdByType": { | ||
"oneOf": [ | ||
{ | ||
"type": "string", | ||
"enum": [ | ||
"User", | ||
"Application", | ||
"ManagedIdentity", | ||
"Key" | ||
] | ||
}, | ||
{ | ||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" | ||
} | ||
], | ||
"description": "The type of identity that created the resource." | ||
}, | ||
"lastModifiedAt": { | ||
"type": "string", | ||
"format": "date-time", | ||
"description": "The timestamp of resource last modification (UTC)" | ||
}, | ||
"lastModifiedBy": { | ||
"type": "string", | ||
"description": "The identity that last modified the resource." | ||
}, | ||
"lastModifiedByType": { | ||
"oneOf": [ | ||
{ | ||
"type": "string", | ||
"enum": [ | ||
"User", | ||
"Application", | ||
"ManagedIdentity", | ||
"Key" | ||
] | ||
}, | ||
{ | ||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" | ||
} | ||
], | ||
"description": "The type of identity that last modified the resource." | ||
} | ||
}, | ||
"description": "Metadata pertaining to creation and last modification of the resource." | ||
} | ||
} | ||
} |