forked from Azure/azure-resource-manager-schemas
-
Notifications
You must be signed in to change notification settings - Fork 1
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 27519 in Azure/azure-rest-api-specs
Merge 3e606e095842409f4073b2edd8bbd863316c1745 into 5edeefcf81fb7abbb3e5d046f2f86e2c1d08990f
- Loading branch information
SDKAuto
committed
Jan 26, 2024
1 parent
ff09a16
commit a4e72ad
Showing
2 changed files
with
342 additions
and
0 deletions.
There are no files selected for viewing
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,339 @@ | ||
{ | ||
"id": "https://schema.management.azure.com/schemas/2024-02-01-preview/Microsoft.Kubernetes.json#", | ||
"$schema": "http://json-schema.org/draft-04/schema#", | ||
"title": "Microsoft.Kubernetes", | ||
"description": "Microsoft Kubernetes Resource Types", | ||
"resourceDefinitions": { | ||
"connectedClusters": { | ||
"type": "object", | ||
"properties": { | ||
"apiVersion": { | ||
"type": "string", | ||
"enum": [ | ||
"2024-02-01-preview" | ||
] | ||
}, | ||
"identity": { | ||
"oneOf": [ | ||
{ | ||
"$ref": "#/definitions/ConnectedClusterIdentity" | ||
}, | ||
{ | ||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" | ||
} | ||
], | ||
"description": "Identity for the connected cluster." | ||
}, | ||
"kind": { | ||
"oneOf": [ | ||
{ | ||
"type": "string", | ||
"enum": [ | ||
"ProvisionedCluster" | ||
] | ||
}, | ||
{ | ||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" | ||
} | ||
], | ||
"description": "The kind of connected cluster." | ||
}, | ||
"location": { | ||
"type": "string", | ||
"description": "The geo-location where the resource lives" | ||
}, | ||
"name": { | ||
"type": "string", | ||
"description": "The name of the Kubernetes cluster on which get is called." | ||
}, | ||
"properties": { | ||
"oneOf": [ | ||
{ | ||
"$ref": "#/definitions/ConnectedClusterProperties" | ||
}, | ||
{ | ||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" | ||
} | ||
], | ||
"description": "Properties of the connected 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.Kubernetes/connectedClusters" | ||
] | ||
} | ||
}, | ||
"required": [ | ||
"apiVersion", | ||
"identity", | ||
"location", | ||
"name", | ||
"properties", | ||
"type" | ||
], | ||
"description": "Microsoft.Kubernetes/connectedClusters" | ||
} | ||
}, | ||
"definitions": { | ||
"AadProfile": { | ||
"type": "object", | ||
"properties": { | ||
"adminGroupObjectIDs": { | ||
"oneOf": [ | ||
{ | ||
"type": "array", | ||
"items": { | ||
"type": "string" | ||
} | ||
}, | ||
{ | ||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" | ||
} | ||
], | ||
"description": "The list of AAD group object IDs that will have admin role of the cluster." | ||
}, | ||
"enableAzureRBAC": { | ||
"oneOf": [ | ||
{ | ||
"type": "boolean" | ||
}, | ||
{ | ||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" | ||
} | ||
], | ||
"description": "Whether to enable Azure RBAC for Kubernetes authorization." | ||
}, | ||
"tenantID": { | ||
"type": "string", | ||
"description": "The AAD tenant ID to use for authentication. If not specified, will use the tenant of the deployment subscription." | ||
} | ||
}, | ||
"description": "AAD Profile specifies attributes for Azure Active Directory integration." | ||
}, | ||
"AgentError": { | ||
"type": "object", | ||
"properties": {}, | ||
"description": "Agent Errors if any during agent or system component upgrade." | ||
}, | ||
"ArcAgentProfile": { | ||
"type": "object", | ||
"properties": { | ||
"agentAutoUpgrade": { | ||
"oneOf": [ | ||
{ | ||
"type": "string", | ||
"enum": [ | ||
"Enabled", | ||
"Disabled" | ||
] | ||
}, | ||
{ | ||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" | ||
} | ||
], | ||
"description": "Indicates whether the Arc agents on the be upgraded automatically to the latest version. Defaults to Enabled." | ||
}, | ||
"agentErrors": { | ||
"oneOf": [ | ||
{ | ||
"type": "array", | ||
"items": { | ||
"$ref": "#/definitions/AgentError" | ||
} | ||
}, | ||
{ | ||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" | ||
} | ||
], | ||
"description": "List of system extensions can be installed on the cluster resource." | ||
}, | ||
"desiredAgentVersion": { | ||
"type": "string", | ||
"description": "Version of the Arc agents to be installed on the cluster resource" | ||
}, | ||
"systemComponents": { | ||
"oneOf": [ | ||
{ | ||
"type": "array", | ||
"items": { | ||
"$ref": "#/definitions/SystemComponent" | ||
} | ||
}, | ||
{ | ||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" | ||
} | ||
], | ||
"description": "List of system extensions can be installed on the cluster resource." | ||
} | ||
}, | ||
"description": "Defines the Arc Agent properties for the clusters." | ||
}, | ||
"ConnectedClusterIdentity": { | ||
"type": "object", | ||
"properties": { | ||
"type": { | ||
"oneOf": [ | ||
{ | ||
"type": "string", | ||
"enum": [ | ||
"None", | ||
"SystemAssigned" | ||
] | ||
}, | ||
{ | ||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" | ||
} | ||
], | ||
"description": "The type of identity used for the connected cluster. The type 'SystemAssigned, includes a system created identity. The type 'None' means no identity is assigned to the connected cluster." | ||
} | ||
}, | ||
"required": [ | ||
"type" | ||
], | ||
"description": "Identity for the connected cluster." | ||
}, | ||
"ConnectedClusterProperties": { | ||
"type": "object", | ||
"properties": { | ||
"aadProfile": { | ||
"oneOf": [ | ||
{ | ||
"$ref": "#/definitions/AadProfile" | ||
}, | ||
{ | ||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" | ||
} | ||
], | ||
"description": "AAD Profile specifies attributes for Azure Active Directory integration." | ||
}, | ||
"agentPublicKeyCertificate": { | ||
"type": "string", | ||
"description": "Base64 encoded public certificate used by the agent to do the initial handshake to the backend services in Azure." | ||
}, | ||
"arcAgentProfile": { | ||
"oneOf": [ | ||
{ | ||
"$ref": "#/definitions/ArcAgentProfile" | ||
}, | ||
{ | ||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" | ||
} | ||
], | ||
"description": "Defines the Arc Agent properties for the clusters." | ||
}, | ||
"azureHybridBenefit": { | ||
"oneOf": [ | ||
{ | ||
"type": "string", | ||
"enum": [ | ||
"True", | ||
"False", | ||
"NotApplicable" | ||
] | ||
}, | ||
{ | ||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" | ||
} | ||
], | ||
"description": "Indicates whether Azure Hybrid Benefit is opted in." | ||
}, | ||
"distribution": { | ||
"type": "string", | ||
"description": "The Kubernetes distribution running on this connected cluster." | ||
}, | ||
"distributionVersion": { | ||
"type": "string", | ||
"description": "The Kubernetes distribution version on this connected cluster." | ||
}, | ||
"infrastructure": { | ||
"type": "string", | ||
"description": "The infrastructure on which the Kubernetes cluster represented by this connected cluster is running on." | ||
}, | ||
"privateLinkScopeResourceId": { | ||
"type": "string", | ||
"description": "The resource id of the private link scope this connected cluster is assigned to, if any." | ||
}, | ||
"privateLinkState": { | ||
"oneOf": [ | ||
{ | ||
"type": "string", | ||
"enum": [ | ||
"Enabled", | ||
"Disabled" | ||
] | ||
}, | ||
{ | ||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" | ||
} | ||
], | ||
"description": "Property which describes the state of private link on a connected cluster resource." | ||
}, | ||
"provisioningState": { | ||
"oneOf": [ | ||
{ | ||
"type": "string", | ||
"enum": [ | ||
"Succeeded", | ||
"Failed", | ||
"Canceled", | ||
"Provisioning", | ||
"Updating", | ||
"Deleting", | ||
"Accepted" | ||
] | ||
}, | ||
{ | ||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" | ||
} | ||
], | ||
"description": "Provisioning state of the connected cluster resource." | ||
} | ||
}, | ||
"required": [ | ||
"agentPublicKeyCertificate" | ||
], | ||
"description": "Properties of the connected cluster." | ||
}, | ||
"SystemComponent": { | ||
"type": "object", | ||
"properties": { | ||
"majorVersion": { | ||
"oneOf": [ | ||
{ | ||
"type": "integer" | ||
}, | ||
{ | ||
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression" | ||
} | ||
], | ||
"description": "Major Version of the system extension to be installed on the cluster resource." | ||
}, | ||
"type": { | ||
"type": "string", | ||
"description": "Type of the system extension" | ||
}, | ||
"userSpecifiedVersion": { | ||
"type": "string", | ||
"description": "Version of the system extension to be installed on the cluster resource." | ||
} | ||
}, | ||
"description": "System Extension and its desired versions to be installed on the cluster resource." | ||
} | ||
} | ||
} |
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