Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix violated rule R2026 for 2022-02-01 managedCluster swagger #18024

Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -2810,21 +2810,20 @@
"description": "Properties for the container service agent pool profile."
},
"ManagedClusterAgentPoolProfile": {
"type": "object",
"allOf": [
{
"$ref": "#/definitions/ManagedClusterAgentPoolProfileProperties"
},
{
"properties": {
"name": {
"type": "string",
"title": "Unique name of the agent pool profile in the context of the subscription and resource group.",
"description": "Windows agent pool names must be 6 characters or less.",
"pattern": "^[a-z][a-z0-9]{0,11}$"
}
}
}
],
"properties": {
"name": {
"type": "string",
"title": "Unique name of the agent pool profile in the context of the subscription and resource group.",
"description": "Windows agent pool names must be 6 characters or less.",
"pattern": "^[a-z][a-z0-9]{0,11}$"
}
},
"required": [
"name"
],
Expand Down Expand Up @@ -2903,20 +2902,19 @@
"description": "Settings for upgrading an agentpool"
},
"AgentPool": {
"type": "object",
"allOf": [
{
"$ref": "#/definitions/SubResource"
},
{
"properties": {
"properties": {
"description": "Properties of an agent pool.",
"$ref": "#/definitions/ManagedClusterAgentPoolProfileProperties",
"x-ms-client-flatten": true
}
}
}
],
"properties": {
"properties": {
"description": "Properties of an agent pool.",
"$ref": "#/definitions/ManagedClusterAgentPoolProfileProperties",
"x-ms-client-flatten": true
}
},
"description": "Agent Pool."
},
"ManagedClusterWindowsProfile": {
Expand Down Expand Up @@ -4077,20 +4075,19 @@
"description": "Details about a user assigned identity."
},
"ManagedClusterAccessProfile": {
"type": "object",
"allOf": [
{
"$ref": "#/definitions/Resource"
},
{
"properties": {
"properties": {
"description": "AccessProfile of a managed cluster.",
"$ref": "#/definitions/AccessProfile",
"x-ms-client-flatten": true
}
}
}
],
"properties": {
"properties": {
"description": "AccessProfile of a managed cluster.",
"$ref": "#/definitions/AccessProfile",
"x-ms-client-flatten": true
}
},
"description": "Managed cluster Access Profile.",
"x-ms-azure-resource": false
},
Expand Down