From e9967ed6a1e09599c36915cbba62544ccc6c3226 Mon Sep 17 00:00:00 2001 From: lonegunmanb Date: Wed, 27 Nov 2024 19:15:21 +0800 Subject: [PATCH] Upgrade containerapps API version from `2023-05-01` to `2024-03-01` (#28074) * bump containerapps sdk to 2024-03-01 * bump containerapps api version to 2024-03-01 * go mod vendor --- .../services/containerapps/client/client.go | 2 +- .../container_app_custom_domain_resource.go | 2 +- ...ntainer_app_custom_domain_resource_test.go | 2 +- .../container_app_data_source.go | 2 +- .../containerapps/container_app_resource.go | 2 +- .../container_app_resource_test.go | 57 +++++++++++++++++-- .../containerapps/helpers/container_apps.go | 2 +- .../containerapps/README.md | 8 +-- .../containerapps/client.go | 0 .../containerapps/constants.go | 0 .../containerapps/id_containerapp.go | 0 .../containerapps/id_containerappdetector.go} | 52 ++++++++--------- .../containerapps/id_revisionsapirevision.go | 0 .../containerapps/method_createorupdate.go | 0 .../containerapps/method_delete.go | 0 .../method_diagnosticsgetdetector.go | 2 +- .../method_diagnosticsgetrevision.go | 0 .../method_diagnosticsgetroot.go | 0 .../method_diagnosticslistdetectors.go | 0 .../method_diagnosticslistrevisions.go | 0 .../containerapps/method_get.go | 0 .../containerapps/method_getauthtoken.go | 0 .../method_listbyresourcegroup.go | 0 .../method_listbysubscription.go | 0 .../method_listcustomhostnameanalysis.go | 0 .../containerapps/method_listsecrets.go | 0 .../containerapps/method_start.go | 0 .../containerapps/method_stop.go | 0 .../containerapps/method_update.go | 0 .../containerapps/model_basecontainer.go | 0 .../containerapps/model_configuration.go | 0 .../containerapps/model_container.go | 0 .../containerapps/model_containerapp.go | 0 .../model_containerappauthtoken.go | 0 .../model_containerappauthtokenproperties.go | 0 .../containerapps/model_containerappprobe.go | 0 .../model_containerappprobehttpget.go | 0 ...tainerappprobehttpgethttpheadersinlined.go | 0 .../model_containerappprobetcpsocket.go | 0 .../model_containerappproperties.go | 0 .../containerapps/model_containerappsecret.go | 0 .../containerapps/model_containerresources.go | 0 .../containerapps/model_corspolicy.go | 0 .../containerapps/model_customdomain.go | 0 .../model_customhostnameanalysisresult.go | 0 ...sultcustomdomainverificationfailureinfo.go | 0 ...inverificationfailureinfodetailsinlined.go | 0 .../containerapps/model_customscalerule.go | 0 .../containerapps/model_dapr.go | 0 .../model_diagnosticdataprovidermetadata.go | 0 ...cdataprovidermetadatapropertybaginlined.go | 0 ...model_diagnosticdatatableresponsecolumn.go | 0 ...model_diagnosticdatatableresponseobject.go | 0 .../model_diagnosticrendering.go | 0 .../containerapps/model_diagnostics.go | 0 .../model_diagnosticsdataapiresponse.go | 0 .../model_diagnosticsdefinition.go | 0 .../model_diagnosticsproperties.go | 0 .../containerapps/model_diagnosticsstatus.go | 0 .../model_diagnosticsupporttopic.go | 0 .../containerapps/model_environmentvar.go | 0 .../containerapps/model_extendedlocation.go | 0 .../containerapps/model_httpscalerule.go | 0 .../containerapps/model_ingress.go | 1 + .../containerapps/model_ingressportmapping.go | 10 ++++ .../model_ingressstickysessions.go | 0 .../model_ipsecurityrestrictionrule.go | 0 .../containerapps/model_queuescalerule.go | 0 .../model_registrycredentials.go | 0 .../containerapps/model_revision.go | 0 .../containerapps/model_revisionproperties.go | 0 .../containerapps/model_scale.go | 0 .../containerapps/model_scalerule.go | 0 .../containerapps/model_scaleruleauth.go | 0 .../containerapps/model_secret.go | 0 .../containerapps/model_secretscollection.go | 0 .../containerapps/model_secretvolumeitem.go | 0 .../containerapps/model_service.go | 0 .../containerapps/model_servicebind.go | 0 .../containerapps/model_tcpscalerule.go | 0 .../containerapps/model_template.go | 0 .../containerapps/model_trafficweight.go | 0 .../containerapps/model_volume.go | 0 .../containerapps/model_volumemount.go | 0 .../containerapps/predicates.go | 0 .../containerapps/version.go | 4 +- vendor/modules.txt | 2 +- 87 files changed, 103 insertions(+), 45 deletions(-) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/{2023-05-01 => 2024-03-01}/containerapps/README.md (96%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/{2023-05-01 => 2024-03-01}/containerapps/client.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/{2023-05-01 => 2024-03-01}/containerapps/constants.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/{2023-05-01 => 2024-03-01}/containerapps/id_containerapp.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/{2023-05-01/containerapps/id_detector.go => 2024-03-01/containerapps/id_containerappdetector.go} (64%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/{2023-05-01 => 2024-03-01}/containerapps/id_revisionsapirevision.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/{2023-05-01 => 2024-03-01}/containerapps/method_createorupdate.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/{2023-05-01 => 2024-03-01}/containerapps/method_delete.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/{2023-05-01 => 2024-03-01}/containerapps/method_diagnosticsgetdetector.go (91%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/{2023-05-01 => 2024-03-01}/containerapps/method_diagnosticsgetrevision.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/{2023-05-01 => 2024-03-01}/containerapps/method_diagnosticsgetroot.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/{2023-05-01 => 2024-03-01}/containerapps/method_diagnosticslistdetectors.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/{2023-05-01 => 2024-03-01}/containerapps/method_diagnosticslistrevisions.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/{2023-05-01 => 2024-03-01}/containerapps/method_get.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/{2023-05-01 => 2024-03-01}/containerapps/method_getauthtoken.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/{2023-05-01 => 2024-03-01}/containerapps/method_listbyresourcegroup.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/{2023-05-01 => 2024-03-01}/containerapps/method_listbysubscription.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/{2023-05-01 => 2024-03-01}/containerapps/method_listcustomhostnameanalysis.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/{2023-05-01 => 2024-03-01}/containerapps/method_listsecrets.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/{2023-05-01 => 2024-03-01}/containerapps/method_start.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/{2023-05-01 => 2024-03-01}/containerapps/method_stop.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/{2023-05-01 => 2024-03-01}/containerapps/method_update.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/{2023-05-01 => 2024-03-01}/containerapps/model_basecontainer.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/{2023-05-01 => 2024-03-01}/containerapps/model_configuration.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/{2023-05-01 => 2024-03-01}/containerapps/model_container.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/{2023-05-01 => 2024-03-01}/containerapps/model_containerapp.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/{2023-05-01 => 2024-03-01}/containerapps/model_containerappauthtoken.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/{2023-05-01 => 2024-03-01}/containerapps/model_containerappauthtokenproperties.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/{2023-05-01 => 2024-03-01}/containerapps/model_containerappprobe.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/{2023-05-01 => 2024-03-01}/containerapps/model_containerappprobehttpget.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/{2023-05-01 => 2024-03-01}/containerapps/model_containerappprobehttpgethttpheadersinlined.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/{2023-05-01 => 2024-03-01}/containerapps/model_containerappprobetcpsocket.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/{2023-05-01 => 2024-03-01}/containerapps/model_containerappproperties.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/{2023-05-01 => 2024-03-01}/containerapps/model_containerappsecret.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/{2023-05-01 => 2024-03-01}/containerapps/model_containerresources.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/{2023-05-01 => 2024-03-01}/containerapps/model_corspolicy.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/{2023-05-01 => 2024-03-01}/containerapps/model_customdomain.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/{2023-05-01 => 2024-03-01}/containerapps/model_customhostnameanalysisresult.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/{2023-05-01 => 2024-03-01}/containerapps/model_customhostnameanalysisresultcustomdomainverificationfailureinfo.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/{2023-05-01 => 2024-03-01}/containerapps/model_customhostnameanalysisresultcustomdomainverificationfailureinfodetailsinlined.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/{2023-05-01 => 2024-03-01}/containerapps/model_customscalerule.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/{2023-05-01 => 2024-03-01}/containerapps/model_dapr.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/{2023-05-01 => 2024-03-01}/containerapps/model_diagnosticdataprovidermetadata.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/{2023-05-01 => 2024-03-01}/containerapps/model_diagnosticdataprovidermetadatapropertybaginlined.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/{2023-05-01 => 2024-03-01}/containerapps/model_diagnosticdatatableresponsecolumn.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/{2023-05-01 => 2024-03-01}/containerapps/model_diagnosticdatatableresponseobject.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/{2023-05-01 => 2024-03-01}/containerapps/model_diagnosticrendering.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/{2023-05-01 => 2024-03-01}/containerapps/model_diagnostics.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/{2023-05-01 => 2024-03-01}/containerapps/model_diagnosticsdataapiresponse.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/{2023-05-01 => 2024-03-01}/containerapps/model_diagnosticsdefinition.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/{2023-05-01 => 2024-03-01}/containerapps/model_diagnosticsproperties.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/{2023-05-01 => 2024-03-01}/containerapps/model_diagnosticsstatus.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/{2023-05-01 => 2024-03-01}/containerapps/model_diagnosticsupporttopic.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/{2023-05-01 => 2024-03-01}/containerapps/model_environmentvar.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/{2023-05-01 => 2024-03-01}/containerapps/model_extendedlocation.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/{2023-05-01 => 2024-03-01}/containerapps/model_httpscalerule.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/{2023-05-01 => 2024-03-01}/containerapps/model_ingress.go (92%) create mode 100644 vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/model_ingressportmapping.go rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/{2023-05-01 => 2024-03-01}/containerapps/model_ingressstickysessions.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/{2023-05-01 => 2024-03-01}/containerapps/model_ipsecurityrestrictionrule.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/{2023-05-01 => 2024-03-01}/containerapps/model_queuescalerule.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/{2023-05-01 => 2024-03-01}/containerapps/model_registrycredentials.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/{2023-05-01 => 2024-03-01}/containerapps/model_revision.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/{2023-05-01 => 2024-03-01}/containerapps/model_revisionproperties.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/{2023-05-01 => 2024-03-01}/containerapps/model_scale.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/{2023-05-01 => 2024-03-01}/containerapps/model_scalerule.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/{2023-05-01 => 2024-03-01}/containerapps/model_scaleruleauth.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/{2023-05-01 => 2024-03-01}/containerapps/model_secret.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/{2023-05-01 => 2024-03-01}/containerapps/model_secretscollection.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/{2023-05-01 => 2024-03-01}/containerapps/model_secretvolumeitem.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/{2023-05-01 => 2024-03-01}/containerapps/model_service.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/{2023-05-01 => 2024-03-01}/containerapps/model_servicebind.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/{2023-05-01 => 2024-03-01}/containerapps/model_tcpscalerule.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/{2023-05-01 => 2024-03-01}/containerapps/model_template.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/{2023-05-01 => 2024-03-01}/containerapps/model_trafficweight.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/{2023-05-01 => 2024-03-01}/containerapps/model_volume.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/{2023-05-01 => 2024-03-01}/containerapps/model_volumemount.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/{2023-05-01 => 2024-03-01}/containerapps/predicates.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/{2023-05-01 => 2024-03-01}/containerapps/version.go (68%) diff --git a/internal/services/containerapps/client/client.go b/internal/services/containerapps/client/client.go index be9f2bf04aa2..ad775204f785 100644 --- a/internal/services/containerapps/client/client.go +++ b/internal/services/containerapps/client/client.go @@ -7,11 +7,11 @@ import ( "fmt" "github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/certificates" - "github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps" "github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerappsrevisions" "github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/daprcomponents" "github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/managedenvironmentsstorages" "github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-02-02-preview/jobs" + "github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps" "github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/managedenvironments" "github.com/hashicorp/terraform-provider-azurerm/internal/common" ) diff --git a/internal/services/containerapps/container_app_custom_domain_resource.go b/internal/services/containerapps/container_app_custom_domain_resource.go index 06b142c0266b..1e65d22b9f17 100644 --- a/internal/services/containerapps/container_app_custom_domain_resource.go +++ b/internal/services/containerapps/container_app_custom_domain_resource.go @@ -12,8 +12,8 @@ import ( "github.com/hashicorp/go-azure-helpers/lang/pointer" "github.com/hashicorp/go-azure-helpers/lang/response" - "github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps" "github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/managedenvironments" + "github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps" "github.com/hashicorp/terraform-provider-azurerm/internal/locks" "github.com/hashicorp/terraform-provider-azurerm/internal/sdk" "github.com/hashicorp/terraform-provider-azurerm/internal/services/containerapps/helpers" diff --git a/internal/services/containerapps/container_app_custom_domain_resource_test.go b/internal/services/containerapps/container_app_custom_domain_resource_test.go index 74f93e87be55..723f319aed69 100644 --- a/internal/services/containerapps/container_app_custom_domain_resource_test.go +++ b/internal/services/containerapps/container_app_custom_domain_resource_test.go @@ -12,7 +12,7 @@ import ( "github.com/hashicorp/go-azure-helpers/lang/pointer" "github.com/hashicorp/go-azure-helpers/lang/response" - "github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps" + "github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" diff --git a/internal/services/containerapps/container_app_data_source.go b/internal/services/containerapps/container_app_data_source.go index 615cf64f7d5c..6e9b763bc788 100644 --- a/internal/services/containerapps/container_app_data_source.go +++ b/internal/services/containerapps/container_app_data_source.go @@ -14,8 +14,8 @@ import ( "github.com/hashicorp/go-azure-helpers/resourcemanager/identity" "github.com/hashicorp/go-azure-helpers/resourcemanager/location" "github.com/hashicorp/go-azure-helpers/resourcemanager/tags" - "github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps" "github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/managedenvironments" + "github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps" "github.com/hashicorp/terraform-provider-azurerm/internal/sdk" "github.com/hashicorp/terraform-provider-azurerm/internal/services/containerapps/helpers" "github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk" diff --git a/internal/services/containerapps/container_app_resource.go b/internal/services/containerapps/container_app_resource.go index 1b77862144b1..875c51f1fd53 100644 --- a/internal/services/containerapps/container_app_resource.go +++ b/internal/services/containerapps/container_app_resource.go @@ -15,7 +15,7 @@ import ( "github.com/hashicorp/go-azure-helpers/resourcemanager/identity" "github.com/hashicorp/go-azure-helpers/resourcemanager/location" "github.com/hashicorp/go-azure-helpers/resourcemanager/tags" - "github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps" + "github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps" "github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/managedenvironments" "github.com/hashicorp/terraform-provider-azurerm/internal/sdk" "github.com/hashicorp/terraform-provider-azurerm/internal/services/containerapps/helpers" diff --git a/internal/services/containerapps/container_app_resource_test.go b/internal/services/containerapps/container_app_resource_test.go index 657c64553226..3c42c8f8a64f 100644 --- a/internal/services/containerapps/container_app_resource_test.go +++ b/internal/services/containerapps/container_app_resource_test.go @@ -11,7 +11,7 @@ import ( "github.com/hashicorp/go-azure-helpers/lang/pointer" "github.com/hashicorp/go-azure-helpers/lang/response" - "github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps" + "github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" @@ -68,24 +68,23 @@ func TestAccContainerAppResource_smallerGranularityCPUMemoryCombinations(t *test func TestAccContainerAppResource_workloadProfileUpdate(t *testing.T) { data := acceptance.BuildTestData(t, "azurerm_container_app", "test") r := ContainerAppResource{} - data.ResourceTest(t, r, []acceptance.TestStep{ { - Config: r.basic(data), + Config: r.withMultipleWorkloadProfiles(data, 0), Check: acceptance.ComposeTestCheckFunc( check.That(data.ResourceName).ExistsInAzure(r), ), }, data.ImportStep(), { - Config: r.withWorkloadProfile(data), + Config: r.withMultipleWorkloadProfiles(data, 1), Check: acceptance.ComposeTestCheckFunc( check.That(data.ResourceName).ExistsInAzure(r), ), }, data.ImportStep(), { - Config: r.basic(data), + Config: r.withMultipleWorkloadProfiles(data, 0), Check: acceptance.ComposeTestCheckFunc( check.That(data.ResourceName).ExistsInAzure(r), ), @@ -1470,6 +1469,50 @@ resource "azurerm_container_app" "test" { `, r.templateWorkloadProfile(data), data.RandomInteger) } +func (r ContainerAppResource) withMultipleWorkloadProfiles(data acceptance.TestData, workloadProfileIndex int) string { + return fmt.Sprintf(` +%s + +locals { + workload_profiles = tolist(azurerm_container_app_environment.test.workload_profile) +} + +resource "azurerm_container_app" "test" { + name = "acctest-capp-%[2]d" + resource_group_name = azurerm_resource_group.test.name + container_app_environment_id = azurerm_container_app_environment.test.id + revision_mode = "Single" + + workload_profile_name = local.workload_profiles.%[3]d.name + + template { + container { + name = "acctest-cont-%[2]d" + image = "jackofallops/azure-containerapps-python-acctest:v0.0.1" + cpu = 0.25 + memory = "0.5Gi" + } + } + + ingress { + allow_insecure_connections = true + external_enabled = true + target_port = 5000 + transport = "http" + traffic_weight { + latest_revision = true + percentage = 100 + } + } + + tags = { + foo = "Bar" + accTest = "1" + } +} +`, r.templateMultipleWorkloadProfiles(data), data.RandomInteger, workloadProfileIndex) +} + func (r ContainerAppResource) withSmallerGranularityCPUMemoryCombinations(data acceptance.TestData) string { return fmt.Sprintf(` %s @@ -2658,6 +2701,10 @@ func (ContainerAppResource) templateWorkloadProfile(data acceptance.TestData) st return ContainerAppEnvironmentResource{}.complete(data) } +func (ContainerAppResource) templateMultipleWorkloadProfiles(data acceptance.TestData) string { + return ContainerAppEnvironmentResource{}.completeMultipleWorkloadProfiles(data) +} + func (ContainerAppResource) templateWithVnet(data acceptance.TestData) string { return fmt.Sprintf(` %s diff --git a/internal/services/containerapps/helpers/container_apps.go b/internal/services/containerapps/helpers/container_apps.go index 10d1e1337a11..8a99c54f347d 100644 --- a/internal/services/containerapps/helpers/container_apps.go +++ b/internal/services/containerapps/helpers/container_apps.go @@ -9,8 +9,8 @@ import ( "github.com/hashicorp/go-azure-helpers/lang/pointer" "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" - "github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps" "github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/daprcomponents" + "github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps" "github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/managedenvironments" "github.com/hashicorp/terraform-provider-azurerm/internal/sdk" "github.com/hashicorp/terraform-provider-azurerm/internal/services/containerapps/validate" diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/README.md similarity index 96% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/README.md rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/README.md index 80a05d80f21c..7c73a6772cb1 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/README.md +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/README.md @@ -1,7 +1,7 @@ -## `github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps` Documentation +## `github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps` Documentation -The `containerapps` SDK allows for interaction with Azure Resource Manager `containerapps` (API Version `2023-05-01`). +The `containerapps` SDK allows for interaction with Azure Resource Manager `containerapps` (API Version `2024-03-01`). This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). @@ -9,7 +9,7 @@ This readme covers example usages, but further information on [using this SDK ca ```go import "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" -import "github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps" +import "github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps" ``` @@ -54,7 +54,7 @@ if err := client.DeleteThenPoll(ctx, id); err != nil { ```go ctx := context.TODO() -id := containerapps.NewDetectorID("12345678-1234-9876-4563-123456789012", "example-resource-group", "containerAppName", "detectorName") +id := containerapps.NewContainerAppDetectorID("12345678-1234-9876-4563-123456789012", "example-resource-group", "containerAppName", "detectorName") read, err := client.DiagnosticsGetDetector(ctx, id) if err != nil { diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/constants.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/constants.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/constants.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/id_containerapp.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/id_containerapp.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/id_containerapp.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/id_containerapp.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/id_detector.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/id_containerappdetector.go similarity index 64% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/id_detector.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/id_containerappdetector.go index 0ce38d3ca620..e44277b4bafd 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/id_detector.go +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/id_containerappdetector.go @@ -12,22 +12,22 @@ import ( // Licensed under the MIT License. See NOTICE.txt in the project root for license information. func init() { - recaser.RegisterResourceId(&DetectorId{}) + recaser.RegisterResourceId(&ContainerAppDetectorId{}) } -var _ resourceids.ResourceId = &DetectorId{} +var _ resourceids.ResourceId = &ContainerAppDetectorId{} -// DetectorId is a struct representing the Resource ID for a Detector -type DetectorId struct { +// ContainerAppDetectorId is a struct representing the Resource ID for a Container App Detector +type ContainerAppDetectorId struct { SubscriptionId string ResourceGroupName string ContainerAppName string DetectorName string } -// NewDetectorID returns a new DetectorId struct -func NewDetectorID(subscriptionId string, resourceGroupName string, containerAppName string, detectorName string) DetectorId { - return DetectorId{ +// NewContainerAppDetectorID returns a new ContainerAppDetectorId struct +func NewContainerAppDetectorID(subscriptionId string, resourceGroupName string, containerAppName string, detectorName string) ContainerAppDetectorId { + return ContainerAppDetectorId{ SubscriptionId: subscriptionId, ResourceGroupName: resourceGroupName, ContainerAppName: containerAppName, @@ -35,15 +35,15 @@ func NewDetectorID(subscriptionId string, resourceGroupName string, containerApp } } -// ParseDetectorID parses 'input' into a DetectorId -func ParseDetectorID(input string) (*DetectorId, error) { - parser := resourceids.NewParserFromResourceIdType(&DetectorId{}) +// ParseContainerAppDetectorID parses 'input' into a ContainerAppDetectorId +func ParseContainerAppDetectorID(input string) (*ContainerAppDetectorId, error) { + parser := resourceids.NewParserFromResourceIdType(&ContainerAppDetectorId{}) parsed, err := parser.Parse(input, false) if err != nil { return nil, fmt.Errorf("parsing %q: %+v", input, err) } - id := DetectorId{} + id := ContainerAppDetectorId{} if err = id.FromParseResult(*parsed); err != nil { return nil, err } @@ -51,16 +51,16 @@ func ParseDetectorID(input string) (*DetectorId, error) { return &id, nil } -// ParseDetectorIDInsensitively parses 'input' case-insensitively into a DetectorId +// ParseContainerAppDetectorIDInsensitively parses 'input' case-insensitively into a ContainerAppDetectorId // note: this method should only be used for API response data and not user input -func ParseDetectorIDInsensitively(input string) (*DetectorId, error) { - parser := resourceids.NewParserFromResourceIdType(&DetectorId{}) +func ParseContainerAppDetectorIDInsensitively(input string) (*ContainerAppDetectorId, error) { + parser := resourceids.NewParserFromResourceIdType(&ContainerAppDetectorId{}) parsed, err := parser.Parse(input, true) if err != nil { return nil, fmt.Errorf("parsing %q: %+v", input, err) } - id := DetectorId{} + id := ContainerAppDetectorId{} if err = id.FromParseResult(*parsed); err != nil { return nil, err } @@ -68,7 +68,7 @@ func ParseDetectorIDInsensitively(input string) (*DetectorId, error) { return &id, nil } -func (id *DetectorId) FromParseResult(input resourceids.ParseResult) error { +func (id *ContainerAppDetectorId) FromParseResult(input resourceids.ParseResult) error { var ok bool if id.SubscriptionId, ok = input.Parsed["subscriptionId"]; !ok { @@ -90,29 +90,29 @@ func (id *DetectorId) FromParseResult(input resourceids.ParseResult) error { return nil } -// ValidateDetectorID checks that 'input' can be parsed as a Detector ID -func ValidateDetectorID(input interface{}, key string) (warnings []string, errors []error) { +// ValidateContainerAppDetectorID checks that 'input' can be parsed as a Container App Detector ID +func ValidateContainerAppDetectorID(input interface{}, key string) (warnings []string, errors []error) { v, ok := input.(string) if !ok { errors = append(errors, fmt.Errorf("expected %q to be a string", key)) return } - if _, err := ParseDetectorID(v); err != nil { + if _, err := ParseContainerAppDetectorID(v); err != nil { errors = append(errors, err) } return } -// ID returns the formatted Detector ID -func (id DetectorId) ID() string { +// ID returns the formatted Container App Detector ID +func (id ContainerAppDetectorId) ID() string { fmtString := "/subscriptions/%s/resourceGroups/%s/providers/Microsoft.App/containerApps/%s/detectors/%s" return fmt.Sprintf(fmtString, id.SubscriptionId, id.ResourceGroupName, id.ContainerAppName, id.DetectorName) } -// Segments returns a slice of Resource ID Segments which comprise this Detector ID -func (id DetectorId) Segments() []resourceids.Segment { +// Segments returns a slice of Resource ID Segments which comprise this Container App Detector ID +func (id ContainerAppDetectorId) Segments() []resourceids.Segment { return []resourceids.Segment{ resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), resourceids.SubscriptionIdSegment("subscriptionId", "12345678-1234-9876-4563-123456789012"), @@ -127,13 +127,13 @@ func (id DetectorId) Segments() []resourceids.Segment { } } -// String returns a human-readable description of this Detector ID -func (id DetectorId) String() string { +// String returns a human-readable description of this Container App Detector ID +func (id ContainerAppDetectorId) String() string { components := []string{ fmt.Sprintf("Subscription: %q", id.SubscriptionId), fmt.Sprintf("Resource Group Name: %q", id.ResourceGroupName), fmt.Sprintf("Container App Name: %q", id.ContainerAppName), fmt.Sprintf("Detector Name: %q", id.DetectorName), } - return fmt.Sprintf("Detector (%s)", strings.Join(components, "\n")) + return fmt.Sprintf("Container App Detector (%s)", strings.Join(components, "\n")) } diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/id_revisionsapirevision.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/id_revisionsapirevision.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/id_revisionsapirevision.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/id_revisionsapirevision.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/method_createorupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/method_createorupdate.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/method_createorupdate.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/method_createorupdate.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/method_delete.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/method_delete.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/method_delete.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/method_delete.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/method_diagnosticsgetdetector.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/method_diagnosticsgetdetector.go similarity index 91% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/method_diagnosticsgetdetector.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/method_diagnosticsgetdetector.go index f298d8ffc48a..0a9e86c2cd68 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/method_diagnosticsgetdetector.go +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/method_diagnosticsgetdetector.go @@ -18,7 +18,7 @@ type DiagnosticsGetDetectorOperationResponse struct { } // DiagnosticsGetDetector ... -func (c ContainerAppsClient) DiagnosticsGetDetector(ctx context.Context, id DetectorId) (result DiagnosticsGetDetectorOperationResponse, err error) { +func (c ContainerAppsClient) DiagnosticsGetDetector(ctx context.Context, id ContainerAppDetectorId) (result DiagnosticsGetDetectorOperationResponse, err error) { opts := client.RequestOptions{ ContentType: "application/json; charset=utf-8", ExpectedStatusCodes: []int{ diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/method_diagnosticsgetrevision.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/method_diagnosticsgetrevision.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/method_diagnosticsgetrevision.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/method_diagnosticsgetrevision.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/method_diagnosticsgetroot.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/method_diagnosticsgetroot.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/method_diagnosticsgetroot.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/method_diagnosticsgetroot.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/method_diagnosticslistdetectors.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/method_diagnosticslistdetectors.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/method_diagnosticslistdetectors.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/method_diagnosticslistdetectors.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/method_diagnosticslistrevisions.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/method_diagnosticslistrevisions.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/method_diagnosticslistrevisions.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/method_diagnosticslistrevisions.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/method_get.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/method_get.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/method_get.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/method_get.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/method_getauthtoken.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/method_getauthtoken.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/method_getauthtoken.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/method_getauthtoken.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/method_listbyresourcegroup.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/method_listbyresourcegroup.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/method_listbyresourcegroup.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/method_listbyresourcegroup.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/method_listbysubscription.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/method_listbysubscription.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/method_listbysubscription.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/method_listbysubscription.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/method_listcustomhostnameanalysis.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/method_listcustomhostnameanalysis.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/method_listcustomhostnameanalysis.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/method_listcustomhostnameanalysis.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/method_listsecrets.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/method_listsecrets.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/method_listsecrets.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/method_listsecrets.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/method_start.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/method_start.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/method_start.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/method_start.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/method_stop.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/method_stop.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/method_stop.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/method_stop.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/method_update.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/method_update.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/method_update.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/method_update.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/model_basecontainer.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/model_basecontainer.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/model_basecontainer.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/model_basecontainer.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/model_configuration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/model_configuration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/model_configuration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/model_configuration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/model_container.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/model_container.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/model_container.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/model_container.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/model_containerapp.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/model_containerapp.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/model_containerapp.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/model_containerapp.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/model_containerappauthtoken.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/model_containerappauthtoken.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/model_containerappauthtoken.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/model_containerappauthtoken.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/model_containerappauthtokenproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/model_containerappauthtokenproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/model_containerappauthtokenproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/model_containerappauthtokenproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/model_containerappprobe.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/model_containerappprobe.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/model_containerappprobe.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/model_containerappprobe.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/model_containerappprobehttpget.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/model_containerappprobehttpget.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/model_containerappprobehttpget.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/model_containerappprobehttpget.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/model_containerappprobehttpgethttpheadersinlined.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/model_containerappprobehttpgethttpheadersinlined.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/model_containerappprobehttpgethttpheadersinlined.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/model_containerappprobehttpgethttpheadersinlined.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/model_containerappprobetcpsocket.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/model_containerappprobetcpsocket.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/model_containerappprobetcpsocket.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/model_containerappprobetcpsocket.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/model_containerappproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/model_containerappproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/model_containerappproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/model_containerappproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/model_containerappsecret.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/model_containerappsecret.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/model_containerappsecret.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/model_containerappsecret.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/model_containerresources.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/model_containerresources.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/model_containerresources.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/model_containerresources.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/model_corspolicy.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/model_corspolicy.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/model_corspolicy.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/model_corspolicy.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/model_customdomain.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/model_customdomain.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/model_customdomain.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/model_customdomain.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/model_customhostnameanalysisresult.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/model_customhostnameanalysisresult.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/model_customhostnameanalysisresult.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/model_customhostnameanalysisresult.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/model_customhostnameanalysisresultcustomdomainverificationfailureinfo.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/model_customhostnameanalysisresultcustomdomainverificationfailureinfo.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/model_customhostnameanalysisresultcustomdomainverificationfailureinfo.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/model_customhostnameanalysisresultcustomdomainverificationfailureinfo.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/model_customhostnameanalysisresultcustomdomainverificationfailureinfodetailsinlined.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/model_customhostnameanalysisresultcustomdomainverificationfailureinfodetailsinlined.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/model_customhostnameanalysisresultcustomdomainverificationfailureinfodetailsinlined.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/model_customhostnameanalysisresultcustomdomainverificationfailureinfodetailsinlined.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/model_customscalerule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/model_customscalerule.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/model_customscalerule.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/model_customscalerule.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/model_dapr.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/model_dapr.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/model_dapr.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/model_dapr.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/model_diagnosticdataprovidermetadata.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/model_diagnosticdataprovidermetadata.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/model_diagnosticdataprovidermetadata.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/model_diagnosticdataprovidermetadata.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/model_diagnosticdataprovidermetadatapropertybaginlined.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/model_diagnosticdataprovidermetadatapropertybaginlined.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/model_diagnosticdataprovidermetadatapropertybaginlined.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/model_diagnosticdataprovidermetadatapropertybaginlined.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/model_diagnosticdatatableresponsecolumn.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/model_diagnosticdatatableresponsecolumn.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/model_diagnosticdatatableresponsecolumn.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/model_diagnosticdatatableresponsecolumn.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/model_diagnosticdatatableresponseobject.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/model_diagnosticdatatableresponseobject.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/model_diagnosticdatatableresponseobject.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/model_diagnosticdatatableresponseobject.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/model_diagnosticrendering.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/model_diagnosticrendering.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/model_diagnosticrendering.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/model_diagnosticrendering.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/model_diagnostics.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/model_diagnostics.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/model_diagnostics.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/model_diagnostics.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/model_diagnosticsdataapiresponse.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/model_diagnosticsdataapiresponse.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/model_diagnosticsdataapiresponse.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/model_diagnosticsdataapiresponse.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/model_diagnosticsdefinition.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/model_diagnosticsdefinition.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/model_diagnosticsdefinition.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/model_diagnosticsdefinition.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/model_diagnosticsproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/model_diagnosticsproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/model_diagnosticsproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/model_diagnosticsproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/model_diagnosticsstatus.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/model_diagnosticsstatus.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/model_diagnosticsstatus.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/model_diagnosticsstatus.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/model_diagnosticsupporttopic.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/model_diagnosticsupporttopic.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/model_diagnosticsupporttopic.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/model_diagnosticsupporttopic.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/model_environmentvar.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/model_environmentvar.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/model_environmentvar.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/model_environmentvar.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/model_extendedlocation.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/model_extendedlocation.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/model_extendedlocation.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/model_extendedlocation.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/model_httpscalerule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/model_httpscalerule.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/model_httpscalerule.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/model_httpscalerule.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/model_ingress.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/model_ingress.go similarity index 92% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/model_ingress.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/model_ingress.go index 1941dc5835df..8b20fd57cf72 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/model_ingress.go +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/model_ingress.go @@ -4,6 +4,7 @@ package containerapps // Licensed under the MIT License. See NOTICE.txt in the project root for license information. type Ingress struct { + AdditionalPortMappings *[]IngressPortMapping `json:"additionalPortMappings,omitempty"` AllowInsecure *bool `json:"allowInsecure,omitempty"` ClientCertificateMode *IngressClientCertificateMode `json:"clientCertificateMode,omitempty"` CorsPolicy *CorsPolicy `json:"corsPolicy,omitempty"` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/model_ingressportmapping.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/model_ingressportmapping.go new file mode 100644 index 000000000000..f7f84d45faa0 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/model_ingressportmapping.go @@ -0,0 +1,10 @@ +package containerapps + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type IngressPortMapping struct { + ExposedPort *int64 `json:"exposedPort,omitempty"` + External bool `json:"external"` + TargetPort int64 `json:"targetPort"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/model_ingressstickysessions.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/model_ingressstickysessions.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/model_ingressstickysessions.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/model_ingressstickysessions.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/model_ipsecurityrestrictionrule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/model_ipsecurityrestrictionrule.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/model_ipsecurityrestrictionrule.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/model_ipsecurityrestrictionrule.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/model_queuescalerule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/model_queuescalerule.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/model_queuescalerule.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/model_queuescalerule.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/model_registrycredentials.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/model_registrycredentials.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/model_registrycredentials.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/model_registrycredentials.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/model_revision.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/model_revision.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/model_revision.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/model_revision.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/model_revisionproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/model_revisionproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/model_revisionproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/model_revisionproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/model_scale.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/model_scale.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/model_scale.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/model_scale.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/model_scalerule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/model_scalerule.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/model_scalerule.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/model_scalerule.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/model_scaleruleauth.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/model_scaleruleauth.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/model_scaleruleauth.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/model_scaleruleauth.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/model_secret.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/model_secret.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/model_secret.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/model_secret.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/model_secretscollection.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/model_secretscollection.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/model_secretscollection.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/model_secretscollection.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/model_secretvolumeitem.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/model_secretvolumeitem.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/model_secretvolumeitem.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/model_secretvolumeitem.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/model_service.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/model_service.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/model_service.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/model_service.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/model_servicebind.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/model_servicebind.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/model_servicebind.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/model_servicebind.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/model_tcpscalerule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/model_tcpscalerule.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/model_tcpscalerule.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/model_tcpscalerule.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/model_template.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/model_template.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/model_template.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/model_template.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/model_trafficweight.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/model_trafficweight.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/model_trafficweight.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/model_trafficweight.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/model_volume.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/model_volume.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/model_volume.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/model_volume.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/model_volumemount.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/model_volumemount.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/model_volumemount.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/model_volumemount.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/predicates.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/predicates.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/predicates.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/version.go similarity index 68% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/version.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/version.go index d1525032b4b6..35ae3e5a6300 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps/version.go +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps/version.go @@ -3,8 +3,8 @@ package containerapps // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See NOTICE.txt in the project root for license information. -const defaultApiVersion = "2023-05-01" +const defaultApiVersion = "2024-03-01" func userAgent() string { - return "hashicorp/go-azure-sdk/containerapps/2023-05-01" + return "hashicorp/go-azure-sdk/containerapps/2024-03-01" } diff --git a/vendor/modules.txt b/vendor/modules.txt index 3ec4b2db3c67..948053c92d07 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -356,12 +356,12 @@ github.com/hashicorp/go-azure-sdk/resource-manager/compute/2024-07-01/virtualmac github.com/hashicorp/go-azure-sdk/resource-manager/confidentialledger/2022-05-13/confidentialledger github.com/hashicorp/go-azure-sdk/resource-manager/consumption/2019-10-01/budgets github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/certificates -github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerapps github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/containerappsrevisions github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/daprcomponents github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/managedenvironments github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2023-05-01/managedenvironmentsstorages github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-02-02-preview/jobs +github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/containerapps github.com/hashicorp/go-azure-sdk/resource-manager/containerapps/2024-03-01/managedenvironments github.com/hashicorp/go-azure-sdk/resource-manager/containerinstance/2023-05-01/containerinstance github.com/hashicorp/go-azure-sdk/resource-manager/containerregistry/2019-06-01-preview