Specifying network_api_version with azure-mgmt-network==28.0.0 #38507
Labels
customer-reported
Issues that are reported by GitHub users external to the Azure organization.
Mgmt
This issue is related to a management-plane library.
needs-team-attention
Workflow: This issue needs attention from Azure service team or SDK team
Network
question
The issue doesn't require a change to the product in order to be resolved. Most issues start as that
The 28.0.0 release introduced a breaking change:
This breaks code that specified
network_api_version
like so:Now gives an error
type object 'NetworkManagementClient' has no attribute 'DEFAULT_API_VERSION'
.My question is how do we create models like
NetworkProfile()
starting with azure-mgmt-network==28.0.0. Apparently, it requires specifyingnetwork_api_version
since if I omit it or specifyNone
, I get an error response:More details: dstackai/dstack#1987
The text was updated successfully, but these errors were encountered: