Skip to content

Commit

Permalink
CodeGen from PR 11669 in Azure/azure-rest-api-specs
Browse files Browse the repository at this point in the history
[T2] containerservice python automation fix (#11669)

* python automation fix

* Update readme.python.md
  • Loading branch information
SDKAuto committed Nov 13, 2020
1 parent a0248fb commit a0d7687
Show file tree
Hide file tree
Showing 25 changed files with 2,968 additions and 195 deletions.
2 changes: 1 addition & 1 deletion schemas/2016-03-30/Microsoft.ContainerService.json
Original file line number Diff line number Diff line change
Expand Up @@ -404,4 +404,4 @@
"description": "Profile for Windows VMs in the container service cluster."
}
}
}
}
2 changes: 1 addition & 1 deletion schemas/2016-09-30/Microsoft.ContainerService.json
Original file line number Diff line number Diff line change
Expand Up @@ -485,4 +485,4 @@
"description": "Profile for Windows VMs in the container service cluster."
}
}
}
}
2 changes: 1 addition & 1 deletion schemas/2017-01-31/Microsoft.ContainerService.json
Original file line number Diff line number Diff line change
Expand Up @@ -485,4 +485,4 @@
"description": "Profile for Windows VMs in the container service cluster."
}
}
}
}
2 changes: 1 addition & 1 deletion schemas/2017-07-01/Microsoft.ContainerService.json
Original file line number Diff line number Diff line change
Expand Up @@ -935,4 +935,4 @@
"description": "Reference to a secret stored in Azure Key Vault."
}
}
}
}
2 changes: 1 addition & 1 deletion schemas/2017-08-31/Microsoft.ContainerService.json
Original file line number Diff line number Diff line change
Expand Up @@ -515,4 +515,4 @@
"description": "Properties of the managed cluster."
}
}
}
}
2 changes: 1 addition & 1 deletion schemas/2018-03-31/Microsoft.ContainerService.json
Original file line number Diff line number Diff line change
Expand Up @@ -664,4 +664,4 @@
"description": "Information about a service principal identity for the cluster to use for manipulating Azure APIs."
}
}
}
}
2 changes: 1 addition & 1 deletion schemas/2018-08-01-preview/Microsoft.ContainerService.json
Original file line number Diff line number Diff line change
Expand Up @@ -705,4 +705,4 @@
"description": "Information about a service principal identity for the cluster to use for manipulating Azure APIs."
}
}
}
}
2 changes: 1 addition & 1 deletion schemas/2018-09-30-preview/Microsoft.ContainerService.json
Original file line number Diff line number Diff line change
Expand Up @@ -489,4 +489,4 @@
"description": "Used for establishing the purchase context of any 3rd Party artifact through MarketPlace."
}
}
}
}
2 changes: 1 addition & 1 deletion schemas/2019-02-01/Microsoft.ContainerService.json
Original file line number Diff line number Diff line change
Expand Up @@ -1165,4 +1165,4 @@
"description": "Microsoft.ContainerService/managedClusters/agentPools"
}
}
}
}
2 changes: 1 addition & 1 deletion schemas/2019-04-01/Microsoft.ContainerService.json
Original file line number Diff line number Diff line change
Expand Up @@ -1254,4 +1254,4 @@
"description": "Profile for Windows VMs in the container service cluster."
}
}
}
}
2 changes: 1 addition & 1 deletion schemas/2019-04-30/Microsoft.ContainerService.json
Original file line number Diff line number Diff line change
Expand Up @@ -481,4 +481,4 @@
"description": "Used for establishing the purchase context of any 3rd Party artifact through MarketPlace."
}
}
}
}
2 changes: 1 addition & 1 deletion schemas/2019-06-01/Microsoft.ContainerService.json
Original file line number Diff line number Diff line change
Expand Up @@ -1352,4 +1352,4 @@
"description": "Profile for Windows VMs in the container service cluster."
}
}
}
}
2 changes: 1 addition & 1 deletion schemas/2019-08-01/Microsoft.ContainerService.json
Original file line number Diff line number Diff line change
Expand Up @@ -1514,4 +1514,4 @@
"description": "A reference to an Azure resource."
}
}
}
}
2 changes: 1 addition & 1 deletion schemas/2019-09-30-preview/Microsoft.ContainerService.json
Original file line number Diff line number Diff line change
Expand Up @@ -513,4 +513,4 @@
"description": "Used for establishing the purchase context of any 3rd Party artifact through MarketPlace."
}
}
}
}
2 changes: 1 addition & 1 deletion schemas/2019-10-01/Microsoft.ContainerService.json
Original file line number Diff line number Diff line change
Expand Up @@ -1514,4 +1514,4 @@
"description": "A reference to an Azure resource."
}
}
}
}
2 changes: 1 addition & 1 deletion schemas/2019-10-27-preview/Microsoft.ContainerService.json
Original file line number Diff line number Diff line change
Expand Up @@ -533,4 +533,4 @@
"description": "Used for establishing the purchase context of any 3rd Party artifact through MarketPlace."
}
}
}
}
38 changes: 19 additions & 19 deletions schemas/2019-11-01/Microsoft.ContainerService.json
Original file line number Diff line number Diff line change
Expand Up @@ -135,23 +135,6 @@
}
},
"definitions": {
"Componentsqit0etschemasmanagedclusterpropertiespropertiesidentityprofileadditionalproperties": {
"type": "object",
"properties": {
"clientId": {
"type": "string",
"description": "The client id of the user assigned identity."
},
"objectId": {
"type": "string",
"description": "The object id of the user assigned identity."
},
"resourceId": {
"type": "string",
"description": "The resource id of the user assigned identity."
}
}
},
"ContainerServiceLinuxProfile": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -1500,7 +1483,7 @@
{
"type": "object",
"additionalProperties": {
"$ref": "#/definitions/Componentsqit0etschemasmanagedclusterpropertiespropertiesidentityprofileadditionalproperties"
"$ref": "#/definitions/ManagedClusterPropertiesIdentityProfileValue"
},
"properties": {}
},
Expand Down Expand Up @@ -1565,6 +1548,23 @@
},
"description": "Properties of the managed cluster."
},
"ManagedClusterPropertiesIdentityProfileValue": {
"type": "object",
"properties": {
"clientId": {
"type": "string",
"description": "The client id of the user assigned identity."
},
"objectId": {
"type": "string",
"description": "The object id of the user assigned identity."
},
"resourceId": {
"type": "string",
"description": "The resource id of the user assigned identity."
}
}
},
"ManagedClusterServicePrincipalProfile": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -1649,4 +1649,4 @@
"description": "A reference to an Azure resource."
}
}
}
}
38 changes: 19 additions & 19 deletions schemas/2020-01-01/Microsoft.ContainerService.json
Original file line number Diff line number Diff line change
Expand Up @@ -135,23 +135,6 @@
}
},
"definitions": {
"Componentsqit0etschemasmanagedclusterpropertiespropertiesidentityprofileadditionalproperties": {
"type": "object",
"properties": {
"clientId": {
"type": "string",
"description": "The client id of the user assigned identity."
},
"objectId": {
"type": "string",
"description": "The object id of the user assigned identity."
},
"resourceId": {
"type": "string",
"description": "The resource id of the user assigned identity."
}
}
},
"ContainerServiceLinuxProfile": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -1504,7 +1487,7 @@
{
"type": "object",
"additionalProperties": {
"$ref": "#/definitions/Componentsqit0etschemasmanagedclusterpropertiespropertiesidentityprofileadditionalproperties"
"$ref": "#/definitions/ManagedClusterPropertiesIdentityProfileValue"
},
"properties": {}
},
Expand Down Expand Up @@ -1569,6 +1552,23 @@
},
"description": "Properties of the managed cluster."
},
"ManagedClusterPropertiesIdentityProfileValue": {
"type": "object",
"properties": {
"clientId": {
"type": "string",
"description": "The client id of the user assigned identity."
},
"objectId": {
"type": "string",
"description": "The object id of the user assigned identity."
},
"resourceId": {
"type": "string",
"description": "The resource id of the user assigned identity."
}
}
},
"ManagedClusterServicePrincipalProfile": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -1653,4 +1653,4 @@
"description": "A reference to an Azure resource."
}
}
}
}
42 changes: 21 additions & 21 deletions schemas/2020-02-01/Microsoft.ContainerService.json
Original file line number Diff line number Diff line change
Expand Up @@ -135,23 +135,6 @@
}
},
"definitions": {
"Componentsqit0etschemasmanagedclusterpropertiespropertiesidentityprofileadditionalproperties": {
"type": "object",
"properties": {
"clientId": {
"type": "string",
"description": "The client id of the user assigned identity."
},
"objectId": {
"type": "string",
"description": "The object id of the user assigned identity."
},
"resourceId": {
"type": "string",
"description": "The resource id of the user assigned identity."
}
}
},
"ContainerServiceLinuxProfile": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -617,7 +600,7 @@
"oneOf": [
{
"type": "number",
"default": -1
"default": -1.0
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
Expand Down Expand Up @@ -1031,7 +1014,7 @@
"oneOf": [
{
"type": "number",
"default": -1
"default": -1.0
},
{
"$ref": "https://schema.management.azure.com/schemas/common/definitions.json#/definitions/expression"
Expand Down Expand Up @@ -1556,7 +1539,7 @@
{
"type": "object",
"additionalProperties": {
"$ref": "#/definitions/Componentsqit0etschemasmanagedclusterpropertiespropertiesidentityprofileadditionalproperties"
"$ref": "#/definitions/ManagedClusterPropertiesIdentityProfileValue"
},
"properties": {}
},
Expand Down Expand Up @@ -1651,6 +1634,23 @@
},
"description": "Parameters to be applied to the cluster-autoscaler when enabled"
},
"ManagedClusterPropertiesIdentityProfileValue": {
"type": "object",
"properties": {
"clientId": {
"type": "string",
"description": "The client id of the user assigned identity."
},
"objectId": {
"type": "string",
"description": "The object id of the user assigned identity."
},
"resourceId": {
"type": "string",
"description": "The resource id of the user assigned identity."
}
}
},
"ManagedClusterServicePrincipalProfile": {
"type": "object",
"properties": {
Expand Down Expand Up @@ -1735,4 +1735,4 @@
"description": "A reference to an Azure resource."
}
}
}
}
Loading

0 comments on commit a0d7687

Please sign in to comment.