Skip to content

Commit

Permalink
fix: sync property names with new API spec
Browse files Browse the repository at this point in the history
  • Loading branch information
frankqianms committed Nov 27, 2024
1 parent e39fe60 commit 04da67e
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -211,12 +211,12 @@ def content(self):

properties = _builder.get(".properties")
if properties is not None:
properties.set_prop("azureApiManagementSource", AAZObjectType)
properties.set_prop("apimSource", AAZObjectType)
properties.set_prop("importSpecification", AAZStrType, ".import_specification")
properties.set_prop("targetEnvironmentId", AAZStrType, ".target_environment_id")
properties.set_prop("targetLifecycleStage", AAZStrType, ".target_lifecycle_stage")

azure_api_management_source = _builder.get(".properties.azureApiManagementSource")
azure_api_management_source = _builder.get(".properties.apimSource")
if azure_api_management_source is not None:
azure_api_management_source.set_prop("msiResourceId", AAZStrType, ".msi_resource_id")
azure_api_management_source.set_prop("resourceId", AAZStrType, ".apim_resource_id", typ_kwargs={"flags": {"required": True}})
Expand Down

0 comments on commit 04da67e

Please sign in to comment.