Skip to content

Commit 04da67e

Browse files
committed
fix: sync property names with new API spec
1 parent e39fe60 commit 04da67e

File tree

1 file changed

+2
-2
lines changed
  • src/apic-extension/azext_apic_extension/aaz/latest/apic/integration

1 file changed

+2
-2
lines changed

src/apic-extension/azext_apic_extension/aaz/latest/apic/integration/_create.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -211,12 +211,12 @@ def content(self):
211211

212212
properties = _builder.get(".properties")
213213
if properties is not None:
214-
properties.set_prop("azureApiManagementSource", AAZObjectType)
214+
properties.set_prop("apimSource", AAZObjectType)
215215
properties.set_prop("importSpecification", AAZStrType, ".import_specification")
216216
properties.set_prop("targetEnvironmentId", AAZStrType, ".target_environment_id")
217217
properties.set_prop("targetLifecycleStage", AAZStrType, ".target_lifecycle_stage")
218218

219-
azure_api_management_source = _builder.get(".properties.azureApiManagementSource")
219+
azure_api_management_source = _builder.get(".properties.apimSource")
220220
if azure_api_management_source is not None:
221221
azure_api_management_source.set_prop("msiResourceId", AAZStrType, ".msi_resource_id")
222222
azure_api_management_source.set_prop("resourceId", AAZStrType, ".apim_resource_id", typ_kwargs={"flags": {"required": True}})

0 commit comments

Comments
 (0)