ManagedClusterUpgradeProfileProperties.agentPoolProfiles
is not marked as nullable
#265
Labels
CodeGen
Issues that relate to code generation
Mgmt
This issue is related to a management-plane library.
Previous Versions
Work related to older, unsupported SDKs
azure-sdk-for-rust/services/mgmt/containerservice/src/package_2021_03/models.rs
Lines 1019 to 1024 in 8530b14
I can query this part of the API via a route such as
azure_mgmt_containerservice::operations::managed_clusters::get_upgrade_profile()
.Depending on the resources, of course, but I can get a
null
("agentPoolProfiles": null
) result forManagedClusterUpgradeProfileProperties.agentPoolProfiles
. This API/SDK will then error out during deserialization, throwing a:for a JSON response like:
Therefore, I believe this field (both, probably?) should be marked as an
Option
andskip_serializing_if = "Option::is_none")
However - this might be an error on the upstream api spec? re: https://github.com/Azure/azure-rest-api-specs/blob/1b0ed8edd58bb7c9ade9a27430759527bd4eec8e/specification/containerservice/resource-manager/Microsoft.ContainerService/stable/2020-03-01/managedClusters.json#L2187-L2193, it's not marked
"x-nullable": true
or non-required.The text was updated successfully, but these errors were encountered: