From fbcedd07b7316e2d143ae8c2cd3becbf6f1f1756 Mon Sep 17 00:00:00 2001 From: "Yun Liu (from Dev Box)" Date: Tue, 12 Nov 2024 09:51:25 +0800 Subject: [PATCH] Upgrade batch API version to 2024-07-01 --- internal/services/batch/batch_account.go | 2 +- .../batch/batch_account_data_source.go | 2 +- .../services/batch/batch_account_resource.go | 2 +- .../batch/batch_account_resource_test.go | 2 +- .../batch/batch_application_data_source.go | 2 +- .../batch/batch_application_resource.go | 2 +- .../batch/batch_application_resource_test.go | 2 +- .../batch/batch_certificate_data_source.go | 2 +- .../batch/batch_certificate_resource.go | 2 +- .../batch/batch_certificate_resource_test.go | 2 +- internal/services/batch/batch_job_resource.go | 4 +- .../services/batch/batch_job_resource_test.go | 2 +- internal/services/batch/batch_pool.go | 2 +- .../services/batch/batch_pool_data_source.go | 2 +- .../services/batch/batch_pool_resource.go | 2 +- .../batch/batch_pool_resource_test.go | 2 +- internal/services/batch/client/client.go | 8 +- .../2023-05-01/pool/model_imagereference.go | 12 -- .../pool/model_taskcontainersettings.go | 11 - .../application/README.md | 6 +- .../application/client.go | 0 .../application/id_application.go | 0 .../application/id_batchaccount.go | 0 .../application/method_create.go | 0 .../application/method_delete.go | 0 .../application/method_get.go | 0 .../application/method_list.go | 0 .../application/method_update.go | 0 .../application/model_application.go | 1 + .../model_applicationproperties.go | 0 .../application/predicates.go | 0 .../application/version.go | 4 +- .../batchaccount/README.md | 6 +- .../batchaccount/client.go | 0 .../batchaccount/constants.go | 11 +- .../batchaccount/id_batchaccount.go | 0 .../batchaccount/method_create.go | 0 .../batchaccount/method_delete.go | 0 .../batchaccount/method_get.go | 0 .../batchaccount/method_getkeys.go | 0 .../batchaccount/method_list.go | 0 .../method_listbyresourcegroup.go | 0 ...istoutboundnetworkdependenciesendpoints.go | 0 .../batchaccount/method_regeneratekey.go | 0 .../method_synchronizeautostoragekeys.go | 0 .../batchaccount/method_update.go | 0 .../model_autostoragebaseproperties.go | 0 .../model_autostorageproperties.go | 0 .../batchaccount/model_batchaccount.go | 0 .../model_batchaccountcreateparameters.go | 0 .../model_batchaccountcreateproperties.go | 0 .../batchaccount/model_batchaccountkeys.go | 0 .../model_batchaccountproperties.go | 0 ...del_batchaccountregeneratekeyparameters.go | 0 .../model_batchaccountupdateparameters.go | 0 .../model_batchaccountupdateproperties.go | 0 .../model_computenodeidentityreference.go | 0 .../model_encryptionproperties.go | 0 .../model_endpointaccessprofile.go | 0 .../batchaccount/model_endpointdependency.go | 0 .../batchaccount/model_endpointdetail.go | 0 .../batchaccount/model_iprule.go | 0 .../batchaccount/model_keyvaultproperties.go | 0 .../batchaccount/model_keyvaultreference.go | 0 .../batchaccount/model_networkprofile.go | 0 .../model_outboundenvironmentendpoint.go | 0 .../batchaccount/model_privateendpoint.go | 0 .../model_privateendpointconnection.go | 1 + ...del_privateendpointconnectionproperties.go | 0 ...model_privatelinkserviceconnectionstate.go | 0 .../model_virtualmachinefamilycorequota.go | 0 .../batchaccount/predicates.go | 0 .../batchaccount/version.go | 4 +- .../certificate/README.md | 6 +- .../certificate/client.go | 0 .../certificate/constants.go | 0 .../certificate/id_batchaccount.go | 0 .../certificate/id_certificate.go | 0 .../certificate/method_canceldeletion.go | 0 .../certificate/method_create.go | 0 .../certificate/method_delete.go | 0 .../certificate/method_get.go | 0 .../certificate/method_listbybatchaccount.go | 0 .../certificate/method_update.go | 0 .../certificate/model_certificate.go | 1 + ...del_certificatecreateorupdateparameters.go | 1 + ...del_certificatecreateorupdateproperties.go | 0 .../model_certificateproperties.go | 0 .../model_deletecertificateerror.go | 0 .../certificate/predicates.go | 0 .../certificate/version.go | 4 +- .../{2023-05-01 => 2024-07-01}/pool/README.md | 6 +- .../{2023-05-01 => 2024-07-01}/pool/client.go | 0 .../pool/constants.go | 190 +++++++++++++++++- .../pool/id_batchaccount.go | 0 .../pool/id_pool.go | 0 .../pool/method_create.go | 0 .../pool/method_delete.go | 0 .../pool/method_disableautoscale.go | 0 .../pool/method_get.go | 0 .../pool/method_listbybatchaccount.go | 0 .../pool/method_stopresize.go | 0 .../pool/method_update.go | 0 .../pool/model_applicationpackagereference.go | 0 .../pool/model_automaticosupgradepolicy.go | 11 + .../pool/model_autoscalerun.go | 0 .../pool/model_autoscalerunerror.go | 0 .../pool/model_autoscalesettings.go | 0 .../pool/model_autouserspecification.go | 0 .../model_azureblobfilesystemconfiguration.go | 0 .../pool/model_azurefileshareconfiguration.go | 0 .../pool/model_certificatereference.go | 0 .../pool/model_cifsmountconfiguration.go | 0 .../model_computenodeidentityreference.go | 0 .../pool/model_containerconfiguration.go | 0 .../model_containerhostbatchbindmountentry.go | 9 + .../pool/model_containerregistry.go | 0 .../pool/model_datadisk.go | 0 .../pool/model_deploymentconfiguration.go | 1 - .../pool/model_diffdisksettings.go | 0 .../pool/model_diskencryptionconfiguration.go | 0 .../pool/model_environmentsetting.go | 0 .../pool/model_fixedscalesettings.go | 0 .../2024-07-01/pool/model_imagereference.go | 14 ++ .../pool/model_inboundnatpool.go | 0 .../pool/model_linuxuserconfiguration.go | 0 .../2024-07-01/pool/model_manageddisk.go | 9 + .../pool/model_metadataitem.go | 0 .../pool/model_mountconfiguration.go | 0 .../pool/model_networkconfiguration.go | 0 .../pool/model_networksecuritygrouprule.go | 0 .../pool/model_nfsmountconfiguration.go | 0 .../pool/model_nodeplacementconfiguration.go | 0 .../batch/2024-07-01/pool/model_osdisk.go | 12 ++ .../pool/model_pool.go | 1 + .../pool/model_poolendpointconfiguration.go | 0 .../pool/model_poolproperties.go | 2 + .../model_publicipaddressconfiguration.go | 0 .../pool/model_resizeerror.go | 0 .../pool/model_resizeoperationstatus.go | 0 .../pool/model_resourcefile.go | 0 .../pool/model_rollingupgradepolicy.go | 14 ++ .../pool/model_scalesettings.go | 0 .../2024-07-01/pool/model_securityprofile.go | 10 + .../pool/model_serviceartifactreference.go} | 4 +- .../pool/model_starttask.go | 0 .../pool/model_taskcontainersettings.go | 12 ++ .../pool/model_taskschedulingpolicy.go | 0 .../2024-07-01/pool/model_uefisettings.go | 9 + .../2024-07-01/pool/model_upgradepolicy.go | 10 + .../pool/model_useraccount.go | 0 .../pool/model_useridentity.go | 0 .../pool/model_virtualmachineconfiguration.go | 2 + .../pool/model_vmdisksecurityprofile.go} | 5 +- .../pool/model_vmextension.go | 0 .../pool/model_windowsconfiguration.go | 0 .../pool/model_windowsuserconfiguration.go | 0 .../pool/predicates.go | 0 .../pool/version.go | 4 +- vendor/modules.txt | 8 +- 160 files changed, 361 insertions(+), 82 deletions(-) delete mode 100644 vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool/model_imagereference.go delete mode 100644 vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool/model_taskcontainersettings.go rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/{2023-05-01 => 2024-07-01}/application/README.md (96%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/{2023-05-01 => 2024-07-01}/application/client.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/{2023-05-01 => 2024-07-01}/application/id_application.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/{2023-05-01 => 2024-07-01}/application/id_batchaccount.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/{2023-05-01 => 2024-07-01}/application/method_create.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/{2023-05-01 => 2024-07-01}/application/method_delete.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/{2023-05-01 => 2024-07-01}/application/method_get.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/{2023-05-01 => 2024-07-01}/application/method_list.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/{2023-05-01 => 2024-07-01}/application/method_update.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/{2023-05-01 => 2024-07-01}/application/model_application.go (89%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/{2023-05-01 => 2024-07-01}/application/model_applicationproperties.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/{2023-05-01 => 2024-07-01}/application/predicates.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/{2023-05-01 => 2024-07-01}/application/version.go (68%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/{2023-05-01 => 2024-07-01}/batchaccount/README.md (97%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/{2023-05-01 => 2024-07-01}/batchaccount/client.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/{2023-05-01 => 2024-07-01}/batchaccount/constants.go (96%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/{2023-05-01 => 2024-07-01}/batchaccount/id_batchaccount.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/{2023-05-01 => 2024-07-01}/batchaccount/method_create.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/{2023-05-01 => 2024-07-01}/batchaccount/method_delete.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/{2023-05-01 => 2024-07-01}/batchaccount/method_get.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/{2023-05-01 => 2024-07-01}/batchaccount/method_getkeys.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/{2023-05-01 => 2024-07-01}/batchaccount/method_list.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/{2023-05-01 => 2024-07-01}/batchaccount/method_listbyresourcegroup.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/{2023-05-01 => 2024-07-01}/batchaccount/method_listoutboundnetworkdependenciesendpoints.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/{2023-05-01 => 2024-07-01}/batchaccount/method_regeneratekey.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/{2023-05-01 => 2024-07-01}/batchaccount/method_synchronizeautostoragekeys.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/{2023-05-01 => 2024-07-01}/batchaccount/method_update.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/{2023-05-01 => 2024-07-01}/batchaccount/model_autostoragebaseproperties.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/{2023-05-01 => 2024-07-01}/batchaccount/model_autostorageproperties.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/{2023-05-01 => 2024-07-01}/batchaccount/model_batchaccount.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/{2023-05-01 => 2024-07-01}/batchaccount/model_batchaccountcreateparameters.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/{2023-05-01 => 2024-07-01}/batchaccount/model_batchaccountcreateproperties.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/{2023-05-01 => 2024-07-01}/batchaccount/model_batchaccountkeys.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/{2023-05-01 => 2024-07-01}/batchaccount/model_batchaccountproperties.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/{2023-05-01 => 2024-07-01}/batchaccount/model_batchaccountregeneratekeyparameters.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/{2023-05-01 => 2024-07-01}/batchaccount/model_batchaccountupdateparameters.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/{2023-05-01 => 2024-07-01}/batchaccount/model_batchaccountupdateproperties.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/{2023-05-01 => 2024-07-01}/batchaccount/model_computenodeidentityreference.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/{2023-05-01 => 2024-07-01}/batchaccount/model_encryptionproperties.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/{2023-05-01 => 2024-07-01}/batchaccount/model_endpointaccessprofile.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/{2023-05-01 => 2024-07-01}/batchaccount/model_endpointdependency.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/{2023-05-01 => 2024-07-01}/batchaccount/model_endpointdetail.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/{2023-05-01 => 2024-07-01}/batchaccount/model_iprule.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/{2023-05-01 => 2024-07-01}/batchaccount/model_keyvaultproperties.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/{2023-05-01 => 2024-07-01}/batchaccount/model_keyvaultreference.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/{2023-05-01 => 2024-07-01}/batchaccount/model_networkprofile.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/{2023-05-01 => 2024-07-01}/batchaccount/model_outboundenvironmentendpoint.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/{2023-05-01 => 2024-07-01}/batchaccount/model_privateendpoint.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/{2023-05-01 => 2024-07-01}/batchaccount/model_privateendpointconnection.go (88%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/{2023-05-01 => 2024-07-01}/batchaccount/model_privateendpointconnectionproperties.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/{2023-05-01 => 2024-07-01}/batchaccount/model_privatelinkserviceconnectionstate.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/{2023-05-01 => 2024-07-01}/batchaccount/model_virtualmachinefamilycorequota.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/{2023-05-01 => 2024-07-01}/batchaccount/predicates.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/{2023-05-01 => 2024-07-01}/batchaccount/version.go (68%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/{2023-05-01 => 2024-07-01}/certificate/README.md (96%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/{2023-05-01 => 2024-07-01}/certificate/client.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/{2023-05-01 => 2024-07-01}/certificate/constants.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/{2023-05-01 => 2024-07-01}/certificate/id_batchaccount.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/{2023-05-01 => 2024-07-01}/certificate/id_certificate.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/{2023-05-01 => 2024-07-01}/certificate/method_canceldeletion.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/{2023-05-01 => 2024-07-01}/certificate/method_create.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/{2023-05-01 => 2024-07-01}/certificate/method_delete.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/{2023-05-01 => 2024-07-01}/certificate/method_get.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/{2023-05-01 => 2024-07-01}/certificate/method_listbybatchaccount.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/{2023-05-01 => 2024-07-01}/certificate/method_update.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/{2023-05-01 => 2024-07-01}/certificate/model_certificate.go (89%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/{2023-05-01 => 2024-07-01}/certificate/model_certificatecreateorupdateparameters.go (89%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/{2023-05-01 => 2024-07-01}/certificate/model_certificatecreateorupdateproperties.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/{2023-05-01 => 2024-07-01}/certificate/model_certificateproperties.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/{2023-05-01 => 2024-07-01}/certificate/model_deletecertificateerror.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/{2023-05-01 => 2024-07-01}/certificate/predicates.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/{2023-05-01 => 2024-07-01}/certificate/version.go (68%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/{2023-05-01 => 2024-07-01}/pool/README.md (97%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/{2023-05-01 => 2024-07-01}/pool/client.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/{2023-05-01 => 2024-07-01}/pool/constants.go (82%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/{2023-05-01 => 2024-07-01}/pool/id_batchaccount.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/{2023-05-01 => 2024-07-01}/pool/id_pool.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/{2023-05-01 => 2024-07-01}/pool/method_create.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/{2023-05-01 => 2024-07-01}/pool/method_delete.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/{2023-05-01 => 2024-07-01}/pool/method_disableautoscale.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/{2023-05-01 => 2024-07-01}/pool/method_get.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/{2023-05-01 => 2024-07-01}/pool/method_listbybatchaccount.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/{2023-05-01 => 2024-07-01}/pool/method_stopresize.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/{2023-05-01 => 2024-07-01}/pool/method_update.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/{2023-05-01 => 2024-07-01}/pool/model_applicationpackagereference.go (100%) create mode 100644 vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_automaticosupgradepolicy.go rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/{2023-05-01 => 2024-07-01}/pool/model_autoscalerun.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/{2023-05-01 => 2024-07-01}/pool/model_autoscalerunerror.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/{2023-05-01 => 2024-07-01}/pool/model_autoscalesettings.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/{2023-05-01 => 2024-07-01}/pool/model_autouserspecification.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/{2023-05-01 => 2024-07-01}/pool/model_azureblobfilesystemconfiguration.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/{2023-05-01 => 2024-07-01}/pool/model_azurefileshareconfiguration.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/{2023-05-01 => 2024-07-01}/pool/model_certificatereference.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/{2023-05-01 => 2024-07-01}/pool/model_cifsmountconfiguration.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/{2023-05-01 => 2024-07-01}/pool/model_computenodeidentityreference.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/{2023-05-01 => 2024-07-01}/pool/model_containerconfiguration.go (100%) create mode 100644 vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_containerhostbatchbindmountentry.go rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/{2023-05-01 => 2024-07-01}/pool/model_containerregistry.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/{2023-05-01 => 2024-07-01}/pool/model_datadisk.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/{2023-05-01 => 2024-07-01}/pool/model_deploymentconfiguration.go (75%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/{2023-05-01 => 2024-07-01}/pool/model_diffdisksettings.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/{2023-05-01 => 2024-07-01}/pool/model_diskencryptionconfiguration.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/{2023-05-01 => 2024-07-01}/pool/model_environmentsetting.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/{2023-05-01 => 2024-07-01}/pool/model_fixedscalesettings.go (100%) create mode 100644 vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_imagereference.go rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/{2023-05-01 => 2024-07-01}/pool/model_inboundnatpool.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/{2023-05-01 => 2024-07-01}/pool/model_linuxuserconfiguration.go (100%) create mode 100644 vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_manageddisk.go rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/{2023-05-01 => 2024-07-01}/pool/model_metadataitem.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/{2023-05-01 => 2024-07-01}/pool/model_mountconfiguration.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/{2023-05-01 => 2024-07-01}/pool/model_networkconfiguration.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/{2023-05-01 => 2024-07-01}/pool/model_networksecuritygrouprule.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/{2023-05-01 => 2024-07-01}/pool/model_nfsmountconfiguration.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/{2023-05-01 => 2024-07-01}/pool/model_nodeplacementconfiguration.go (100%) create mode 100644 vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_osdisk.go rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/{2023-05-01 => 2024-07-01}/pool/model_pool.go (91%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/{2023-05-01 => 2024-07-01}/pool/model_poolendpointconfiguration.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/{2023-05-01 => 2024-07-01}/pool/model_poolproperties.go (95%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/{2023-05-01 => 2024-07-01}/pool/model_publicipaddressconfiguration.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/{2023-05-01 => 2024-07-01}/pool/model_resizeerror.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/{2023-05-01 => 2024-07-01}/pool/model_resizeoperationstatus.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/{2023-05-01 => 2024-07-01}/pool/model_resourcefile.go (100%) create mode 100644 vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_rollingupgradepolicy.go rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/{2023-05-01 => 2024-07-01}/pool/model_scalesettings.go (100%) create mode 100644 vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_securityprofile.go rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/{2023-05-01/pool/model_osdisk.go => 2024-07-01/pool/model_serviceartifactreference.go} (61%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/{2023-05-01 => 2024-07-01}/pool/model_starttask.go (100%) create mode 100644 vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_taskcontainersettings.go rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/{2023-05-01 => 2024-07-01}/pool/model_taskschedulingpolicy.go (100%) create mode 100644 vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_uefisettings.go create mode 100644 vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_upgradepolicy.go rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/{2023-05-01 => 2024-07-01}/pool/model_useraccount.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/{2023-05-01 => 2024-07-01}/pool/model_useridentity.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/{2023-05-01 => 2024-07-01}/pool/model_virtualmachineconfiguration.go (85%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/{2023-05-01/pool/model_cloudserviceconfiguration.go => 2024-07-01/pool/model_vmdisksecurityprofile.go} (57%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/{2023-05-01 => 2024-07-01}/pool/model_vmextension.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/{2023-05-01 => 2024-07-01}/pool/model_windowsconfiguration.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/{2023-05-01 => 2024-07-01}/pool/model_windowsuserconfiguration.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/{2023-05-01 => 2024-07-01}/pool/predicates.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/{2023-05-01 => 2024-07-01}/pool/version.go (69%) diff --git a/internal/services/batch/batch_account.go b/internal/services/batch/batch_account.go index a51a1df9ac15..ae38e803a2ce 100644 --- a/internal/services/batch/batch_account.go +++ b/internal/services/batch/batch_account.go @@ -6,7 +6,7 @@ package batch import ( "fmt" - "github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/batchaccount" + "github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/batchaccount" ) // expandBatchAccountKeyVaultReference expands Batch account KeyVault reference diff --git a/internal/services/batch/batch_account_data_source.go b/internal/services/batch/batch_account_data_source.go index 440059d20848..b65247e16578 100644 --- a/internal/services/batch/batch_account_data_source.go +++ b/internal/services/batch/batch_account_data_source.go @@ -12,7 +12,7 @@ import ( "github.com/hashicorp/go-azure-helpers/resourcemanager/commonschema" "github.com/hashicorp/go-azure-helpers/resourcemanager/location" "github.com/hashicorp/go-azure-helpers/resourcemanager/tags" - "github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/batchaccount" + "github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/batchaccount" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" "github.com/hashicorp/terraform-provider-azurerm/internal/services/batch/validate" "github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk" diff --git a/internal/services/batch/batch_account_resource.go b/internal/services/batch/batch_account_resource.go index 1e7c7dda327c..a10fcfbd39dd 100644 --- a/internal/services/batch/batch_account_resource.go +++ b/internal/services/batch/batch_account_resource.go @@ -15,7 +15,7 @@ import ( "github.com/hashicorp/go-azure-helpers/resourcemanager/commonschema" "github.com/hashicorp/go-azure-helpers/resourcemanager/identity" "github.com/hashicorp/go-azure-helpers/resourcemanager/tags" - "github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/batchaccount" + "github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/batchaccount" "github.com/hashicorp/terraform-provider-azurerm/helpers/azure" "github.com/hashicorp/terraform-provider-azurerm/helpers/tf" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" diff --git a/internal/services/batch/batch_account_resource_test.go b/internal/services/batch/batch_account_resource_test.go index 87000dc47c90..90b37db1983f 100644 --- a/internal/services/batch/batch_account_resource_test.go +++ b/internal/services/batch/batch_account_resource_test.go @@ -9,7 +9,7 @@ import ( "os" "testing" - "github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/batchaccount" + "github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/batchaccount" "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/batch/batch_application_data_source.go b/internal/services/batch/batch_application_data_source.go index 8af1dfc2b049..233fdb9c5116 100644 --- a/internal/services/batch/batch_application_data_source.go +++ b/internal/services/batch/batch_application_data_source.go @@ -9,7 +9,7 @@ import ( "github.com/hashicorp/go-azure-helpers/lang/response" "github.com/hashicorp/go-azure-helpers/resourcemanager/commonschema" - "github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/application" + "github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/application" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" "github.com/hashicorp/terraform-provider-azurerm/internal/services/batch/validate" "github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk" diff --git a/internal/services/batch/batch_application_resource.go b/internal/services/batch/batch_application_resource.go index 4280dbbf4927..623749e6c330 100644 --- a/internal/services/batch/batch_application_resource.go +++ b/internal/services/batch/batch_application_resource.go @@ -9,7 +9,7 @@ import ( "time" "github.com/hashicorp/go-azure-helpers/lang/response" - "github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/application" + "github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/application" "github.com/hashicorp/terraform-provider-azurerm/helpers/azure" "github.com/hashicorp/terraform-provider-azurerm/helpers/tf" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" diff --git a/internal/services/batch/batch_application_resource_test.go b/internal/services/batch/batch_application_resource_test.go index e1abdee3a658..7f46d108930a 100644 --- a/internal/services/batch/batch_application_resource_test.go +++ b/internal/services/batch/batch_application_resource_test.go @@ -8,7 +8,7 @@ import ( "fmt" "testing" - "github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/application" + "github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/application" "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/batch/batch_certificate_data_source.go b/internal/services/batch/batch_certificate_data_source.go index 55e760c5224b..c8038d0923ec 100644 --- a/internal/services/batch/batch_certificate_data_source.go +++ b/internal/services/batch/batch_certificate_data_source.go @@ -9,7 +9,7 @@ import ( "github.com/hashicorp/go-azure-helpers/lang/response" "github.com/hashicorp/go-azure-helpers/resourcemanager/commonschema" - "github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/certificate" + "github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/certificate" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" "github.com/hashicorp/terraform-provider-azurerm/internal/services/batch/validate" "github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk" diff --git a/internal/services/batch/batch_certificate_resource.go b/internal/services/batch/batch_certificate_resource.go index 28c911d0c649..0681916a9518 100644 --- a/internal/services/batch/batch_certificate_resource.go +++ b/internal/services/batch/batch_certificate_resource.go @@ -10,7 +10,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/batch/2023-05-01/certificate" + "github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/certificate" "github.com/hashicorp/terraform-provider-azurerm/helpers/azure" "github.com/hashicorp/terraform-provider-azurerm/helpers/tf" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" diff --git a/internal/services/batch/batch_certificate_resource_test.go b/internal/services/batch/batch_certificate_resource_test.go index 2538dbc4d7b5..431b62489711 100644 --- a/internal/services/batch/batch_certificate_resource_test.go +++ b/internal/services/batch/batch_certificate_resource_test.go @@ -9,7 +9,7 @@ import ( "regexp" "testing" - "github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/certificate" + "github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/certificate" "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/batch/batch_job_resource.go b/internal/services/batch/batch_job_resource.go index fdd28e7847d7..5b1753e1d206 100644 --- a/internal/services/batch/batch_job_resource.go +++ b/internal/services/batch/batch_job_resource.go @@ -9,8 +9,8 @@ import ( "time" "github.com/Azure/go-autorest/autorest/date" - "github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/batchaccount" - "github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool" + "github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/batchaccount" + "github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool" "github.com/hashicorp/terraform-provider-azurerm/internal/sdk" "github.com/hashicorp/terraform-provider-azurerm/internal/services/batch/parse" "github.com/hashicorp/terraform-provider-azurerm/internal/services/batch/validate" diff --git a/internal/services/batch/batch_job_resource_test.go b/internal/services/batch/batch_job_resource_test.go index 43e1657fc4cd..072390dddb47 100644 --- a/internal/services/batch/batch_job_resource_test.go +++ b/internal/services/batch/batch_job_resource_test.go @@ -8,7 +8,7 @@ import ( "fmt" "testing" - "github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/batchaccount" + "github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/batchaccount" "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/batch/batch_pool.go b/internal/services/batch/batch_pool.go index 4c28790fa4a8..631a83bf05b6 100644 --- a/internal/services/batch/batch_pool.go +++ b/internal/services/batch/batch_pool.go @@ -11,7 +11,7 @@ import ( "strings" "github.com/hashicorp/go-azure-helpers/lang/pointer" - "github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool" + "github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool" "github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk" "github.com/hashicorp/terraform-provider-azurerm/utils" ) diff --git a/internal/services/batch/batch_pool_data_source.go b/internal/services/batch/batch_pool_data_source.go index 09bb6e3ff5d1..50cce957102c 100644 --- a/internal/services/batch/batch_pool_data_source.go +++ b/internal/services/batch/batch_pool_data_source.go @@ -10,7 +10,7 @@ import ( "github.com/hashicorp/go-azure-helpers/lang/pointer" "github.com/hashicorp/go-azure-helpers/lang/response" "github.com/hashicorp/go-azure-helpers/resourcemanager/commonschema" - "github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool" + "github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" "github.com/hashicorp/terraform-provider-azurerm/internal/services/batch/validate" diff --git a/internal/services/batch/batch_pool_resource.go b/internal/services/batch/batch_pool_resource.go index fd700398c76e..6117a822c836 100644 --- a/internal/services/batch/batch_pool_resource.go +++ b/internal/services/batch/batch_pool_resource.go @@ -17,7 +17,7 @@ import ( "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" "github.com/hashicorp/go-azure-helpers/resourcemanager/commonschema" "github.com/hashicorp/go-azure-helpers/resourcemanager/identity" - "github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool" + "github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" "github.com/hashicorp/terraform-provider-azurerm/helpers/azure" "github.com/hashicorp/terraform-provider-azurerm/helpers/tf" diff --git a/internal/services/batch/batch_pool_resource_test.go b/internal/services/batch/batch_pool_resource_test.go index 615312bd37ad..1b92c844db93 100644 --- a/internal/services/batch/batch_pool_resource_test.go +++ b/internal/services/batch/batch_pool_resource_test.go @@ -10,7 +10,7 @@ import ( "regexp" "testing" - "github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool" + "github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool" "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/batch/client/client.go b/internal/services/batch/client/client.go index 05072a4ba227..49d635ad0868 100644 --- a/internal/services/batch/client/client.go +++ b/internal/services/batch/client/client.go @@ -8,10 +8,10 @@ import ( "fmt" "github.com/Azure/go-autorest/autorest" - "github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/application" - "github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/batchaccount" - "github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/certificate" - "github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool" + "github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/application" + "github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/batchaccount" + "github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/certificate" + "github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool" "github.com/hashicorp/terraform-provider-azurerm/internal/common" batchDataplane "github.com/jackofallops/kermit/sdk/batch/2022-01.15.0/batch" ) diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool/model_imagereference.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool/model_imagereference.go deleted file mode 100644 index a0f7751f75f7..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool/model_imagereference.go +++ /dev/null @@ -1,12 +0,0 @@ -package pool - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -type ImageReference struct { - Id *string `json:"id,omitempty"` - Offer *string `json:"offer,omitempty"` - Publisher *string `json:"publisher,omitempty"` - Sku *string `json:"sku,omitempty"` - Version *string `json:"version,omitempty"` -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool/model_taskcontainersettings.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool/model_taskcontainersettings.go deleted file mode 100644 index 36ba77fadaef..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool/model_taskcontainersettings.go +++ /dev/null @@ -1,11 +0,0 @@ -package pool - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -type TaskContainerSettings struct { - ContainerRunOptions *string `json:"containerRunOptions,omitempty"` - ImageName string `json:"imageName"` - Registry *ContainerRegistry `json:"registry,omitempty"` - WorkingDirectory *ContainerWorkingDirectory `json:"workingDirectory,omitempty"` -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/application/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/application/README.md similarity index 96% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/application/README.md rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/application/README.md index 08588c1d0b2b..10d77d1dc07b 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/application/README.md +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/application/README.md @@ -1,14 +1,14 @@ -## `github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/application` Documentation +## `github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/application` Documentation -The `application` SDK allows for interaction with Azure Resource Manager `batch` (API Version `2023-05-01`). +The `application` SDK allows for interaction with Azure Resource Manager `batch` (API Version `2024-07-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). ### Import Path ```go -import "github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/application" +import "github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/application" ``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/application/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/application/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/application/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/application/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/application/id_application.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/application/id_application.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/application/id_application.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/application/id_application.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/application/id_batchaccount.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/application/id_batchaccount.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/application/id_batchaccount.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/application/id_batchaccount.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/application/method_create.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/application/method_create.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/application/method_create.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/application/method_create.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/application/method_delete.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/application/method_delete.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/application/method_delete.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/application/method_delete.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/application/method_get.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/application/method_get.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/application/method_get.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/application/method_get.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/application/method_list.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/application/method_list.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/application/method_list.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/application/method_list.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/application/method_update.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/application/method_update.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/application/method_update.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/application/method_update.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/application/model_application.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/application/model_application.go similarity index 89% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/application/model_application.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/application/model_application.go index 0d89670c2c76..734409092170 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/application/model_application.go +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/application/model_application.go @@ -8,5 +8,6 @@ type Application struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *ApplicationProperties `json:"properties,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` } diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/application/model_applicationproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/application/model_applicationproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/application/model_applicationproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/application/model_applicationproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/application/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/application/predicates.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/application/predicates.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/application/predicates.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/application/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/application/version.go similarity index 68% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/application/version.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/application/version.go index ec185dc0e64c..f8ca37f98e2d 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/application/version.go +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/application/version.go @@ -3,8 +3,8 @@ package application // 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-07-01" func userAgent() string { - return "hashicorp/go-azure-sdk/application/2023-05-01" + return "hashicorp/go-azure-sdk/application/2024-07-01" } diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/batchaccount/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/batchaccount/README.md similarity index 97% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/batchaccount/README.md rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/batchaccount/README.md index 1b174103fcea..151c29d0f5df 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/batchaccount/README.md +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/batchaccount/README.md @@ -1,7 +1,7 @@ -## `github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/batchaccount` Documentation +## `github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/batchaccount` Documentation -The `batchaccount` SDK allows for interaction with Azure Resource Manager `batch` (API Version `2023-05-01`). +The `batchaccount` SDK allows for interaction with Azure Resource Manager `batch` (API Version `2024-07-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/batch/2023-05-01/batchaccount" +import "github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/batchaccount" ``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/batchaccount/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/batchaccount/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/batchaccount/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/batchaccount/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/batchaccount/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/batchaccount/constants.go similarity index 96% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/batchaccount/constants.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/batchaccount/constants.go index ad2dba69e1ab..ec62934bc939 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/batchaccount/constants.go +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/batchaccount/constants.go @@ -452,14 +452,16 @@ func parseProvisioningState(input string) (*ProvisioningState, error) { type PublicNetworkAccessType string const ( - PublicNetworkAccessTypeDisabled PublicNetworkAccessType = "Disabled" - PublicNetworkAccessTypeEnabled PublicNetworkAccessType = "Enabled" + PublicNetworkAccessTypeDisabled PublicNetworkAccessType = "Disabled" + PublicNetworkAccessTypeEnabled PublicNetworkAccessType = "Enabled" + PublicNetworkAccessTypeSecuredByPerimeter PublicNetworkAccessType = "SecuredByPerimeter" ) func PossibleValuesForPublicNetworkAccessType() []string { return []string{ string(PublicNetworkAccessTypeDisabled), string(PublicNetworkAccessTypeEnabled), + string(PublicNetworkAccessTypeSecuredByPerimeter), } } @@ -478,8 +480,9 @@ func (s *PublicNetworkAccessType) UnmarshalJSON(bytes []byte) error { func parsePublicNetworkAccessType(input string) (*PublicNetworkAccessType, error) { vals := map[string]PublicNetworkAccessType{ - "disabled": PublicNetworkAccessTypeDisabled, - "enabled": PublicNetworkAccessTypeEnabled, + "disabled": PublicNetworkAccessTypeDisabled, + "enabled": PublicNetworkAccessTypeEnabled, + "securedbyperimeter": PublicNetworkAccessTypeSecuredByPerimeter, } if v, ok := vals[strings.ToLower(input)]; ok { return &v, nil diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/batchaccount/id_batchaccount.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/batchaccount/id_batchaccount.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/batchaccount/id_batchaccount.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/batchaccount/id_batchaccount.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/batchaccount/method_create.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/batchaccount/method_create.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/batchaccount/method_create.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/batchaccount/method_create.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/batchaccount/method_delete.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/batchaccount/method_delete.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/batchaccount/method_delete.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/batchaccount/method_delete.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/batchaccount/method_get.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/batchaccount/method_get.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/batchaccount/method_get.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/batchaccount/method_get.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/batchaccount/method_getkeys.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/batchaccount/method_getkeys.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/batchaccount/method_getkeys.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/batchaccount/method_getkeys.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/batchaccount/method_list.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/batchaccount/method_list.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/batchaccount/method_list.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/batchaccount/method_list.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/batchaccount/method_listbyresourcegroup.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/batchaccount/method_listbyresourcegroup.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/batchaccount/method_listbyresourcegroup.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/batchaccount/method_listbyresourcegroup.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/batchaccount/method_listoutboundnetworkdependenciesendpoints.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/batchaccount/method_listoutboundnetworkdependenciesendpoints.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/batchaccount/method_listoutboundnetworkdependenciesendpoints.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/batchaccount/method_listoutboundnetworkdependenciesendpoints.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/batchaccount/method_regeneratekey.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/batchaccount/method_regeneratekey.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/batchaccount/method_regeneratekey.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/batchaccount/method_regeneratekey.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/batchaccount/method_synchronizeautostoragekeys.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/batchaccount/method_synchronizeautostoragekeys.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/batchaccount/method_synchronizeautostoragekeys.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/batchaccount/method_synchronizeautostoragekeys.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/batchaccount/method_update.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/batchaccount/method_update.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/batchaccount/method_update.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/batchaccount/method_update.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/batchaccount/model_autostoragebaseproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/batchaccount/model_autostoragebaseproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/batchaccount/model_autostoragebaseproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/batchaccount/model_autostoragebaseproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/batchaccount/model_autostorageproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/batchaccount/model_autostorageproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/batchaccount/model_autostorageproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/batchaccount/model_autostorageproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/batchaccount/model_batchaccount.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/batchaccount/model_batchaccount.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/batchaccount/model_batchaccount.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/batchaccount/model_batchaccount.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/batchaccount/model_batchaccountcreateparameters.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/batchaccount/model_batchaccountcreateparameters.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/batchaccount/model_batchaccountcreateparameters.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/batchaccount/model_batchaccountcreateparameters.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/batchaccount/model_batchaccountcreateproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/batchaccount/model_batchaccountcreateproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/batchaccount/model_batchaccountcreateproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/batchaccount/model_batchaccountcreateproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/batchaccount/model_batchaccountkeys.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/batchaccount/model_batchaccountkeys.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/batchaccount/model_batchaccountkeys.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/batchaccount/model_batchaccountkeys.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/batchaccount/model_batchaccountproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/batchaccount/model_batchaccountproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/batchaccount/model_batchaccountproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/batchaccount/model_batchaccountproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/batchaccount/model_batchaccountregeneratekeyparameters.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/batchaccount/model_batchaccountregeneratekeyparameters.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/batchaccount/model_batchaccountregeneratekeyparameters.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/batchaccount/model_batchaccountregeneratekeyparameters.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/batchaccount/model_batchaccountupdateparameters.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/batchaccount/model_batchaccountupdateparameters.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/batchaccount/model_batchaccountupdateparameters.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/batchaccount/model_batchaccountupdateparameters.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/batchaccount/model_batchaccountupdateproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/batchaccount/model_batchaccountupdateproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/batchaccount/model_batchaccountupdateproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/batchaccount/model_batchaccountupdateproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/batchaccount/model_computenodeidentityreference.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/batchaccount/model_computenodeidentityreference.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/batchaccount/model_computenodeidentityreference.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/batchaccount/model_computenodeidentityreference.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/batchaccount/model_encryptionproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/batchaccount/model_encryptionproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/batchaccount/model_encryptionproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/batchaccount/model_encryptionproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/batchaccount/model_endpointaccessprofile.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/batchaccount/model_endpointaccessprofile.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/batchaccount/model_endpointaccessprofile.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/batchaccount/model_endpointaccessprofile.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/batchaccount/model_endpointdependency.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/batchaccount/model_endpointdependency.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/batchaccount/model_endpointdependency.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/batchaccount/model_endpointdependency.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/batchaccount/model_endpointdetail.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/batchaccount/model_endpointdetail.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/batchaccount/model_endpointdetail.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/batchaccount/model_endpointdetail.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/batchaccount/model_iprule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/batchaccount/model_iprule.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/batchaccount/model_iprule.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/batchaccount/model_iprule.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/batchaccount/model_keyvaultproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/batchaccount/model_keyvaultproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/batchaccount/model_keyvaultproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/batchaccount/model_keyvaultproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/batchaccount/model_keyvaultreference.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/batchaccount/model_keyvaultreference.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/batchaccount/model_keyvaultreference.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/batchaccount/model_keyvaultreference.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/batchaccount/model_networkprofile.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/batchaccount/model_networkprofile.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/batchaccount/model_networkprofile.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/batchaccount/model_networkprofile.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/batchaccount/model_outboundenvironmentendpoint.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/batchaccount/model_outboundenvironmentendpoint.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/batchaccount/model_outboundenvironmentendpoint.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/batchaccount/model_outboundenvironmentendpoint.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/batchaccount/model_privateendpoint.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/batchaccount/model_privateendpoint.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/batchaccount/model_privateendpoint.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/batchaccount/model_privateendpoint.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/batchaccount/model_privateendpointconnection.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/batchaccount/model_privateendpointconnection.go similarity index 88% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/batchaccount/model_privateendpointconnection.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/batchaccount/model_privateendpointconnection.go index 282e17657399..994c4cace5c1 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/batchaccount/model_privateendpointconnection.go +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/batchaccount/model_privateendpointconnection.go @@ -8,5 +8,6 @@ type PrivateEndpointConnection struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *PrivateEndpointConnectionProperties `json:"properties,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` } diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/batchaccount/model_privateendpointconnectionproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/batchaccount/model_privateendpointconnectionproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/batchaccount/model_privateendpointconnectionproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/batchaccount/model_privateendpointconnectionproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/batchaccount/model_privatelinkserviceconnectionstate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/batchaccount/model_privatelinkserviceconnectionstate.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/batchaccount/model_privatelinkserviceconnectionstate.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/batchaccount/model_privatelinkserviceconnectionstate.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/batchaccount/model_virtualmachinefamilycorequota.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/batchaccount/model_virtualmachinefamilycorequota.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/batchaccount/model_virtualmachinefamilycorequota.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/batchaccount/model_virtualmachinefamilycorequota.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/batchaccount/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/batchaccount/predicates.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/batchaccount/predicates.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/batchaccount/predicates.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/batchaccount/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/batchaccount/version.go similarity index 68% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/batchaccount/version.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/batchaccount/version.go index a5d6d1e9391b..a7371e21dd6e 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/batchaccount/version.go +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/batchaccount/version.go @@ -3,8 +3,8 @@ package batchaccount // 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-07-01" func userAgent() string { - return "hashicorp/go-azure-sdk/batchaccount/2023-05-01" + return "hashicorp/go-azure-sdk/batchaccount/2024-07-01" } diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/certificate/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/certificate/README.md similarity index 96% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/certificate/README.md rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/certificate/README.md index 23bd7cbe03ff..1516a1744b0a 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/certificate/README.md +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/certificate/README.md @@ -1,14 +1,14 @@ -## `github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/certificate` Documentation +## `github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/certificate` Documentation -The `certificate` SDK allows for interaction with Azure Resource Manager `batch` (API Version `2023-05-01`). +The `certificate` SDK allows for interaction with Azure Resource Manager `batch` (API Version `2024-07-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). ### Import Path ```go -import "github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/certificate" +import "github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/certificate" ``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/certificate/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/certificate/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/certificate/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/certificate/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/certificate/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/certificate/constants.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/certificate/constants.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/certificate/constants.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/certificate/id_batchaccount.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/certificate/id_batchaccount.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/certificate/id_batchaccount.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/certificate/id_batchaccount.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/certificate/id_certificate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/certificate/id_certificate.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/certificate/id_certificate.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/certificate/id_certificate.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/certificate/method_canceldeletion.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/certificate/method_canceldeletion.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/certificate/method_canceldeletion.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/certificate/method_canceldeletion.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/certificate/method_create.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/certificate/method_create.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/certificate/method_create.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/certificate/method_create.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/certificate/method_delete.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/certificate/method_delete.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/certificate/method_delete.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/certificate/method_delete.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/certificate/method_get.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/certificate/method_get.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/certificate/method_get.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/certificate/method_get.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/certificate/method_listbybatchaccount.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/certificate/method_listbybatchaccount.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/certificate/method_listbybatchaccount.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/certificate/method_listbybatchaccount.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/certificate/method_update.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/certificate/method_update.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/certificate/method_update.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/certificate/method_update.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/certificate/model_certificate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/certificate/model_certificate.go similarity index 89% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/certificate/model_certificate.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/certificate/model_certificate.go index 5218b0449e6a..ee1f31291b2e 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/certificate/model_certificate.go +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/certificate/model_certificate.go @@ -8,5 +8,6 @@ type Certificate struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *CertificateProperties `json:"properties,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` } diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/certificate/model_certificatecreateorupdateparameters.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/certificate/model_certificatecreateorupdateparameters.go similarity index 89% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/certificate/model_certificatecreateorupdateparameters.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/certificate/model_certificatecreateorupdateparameters.go index 1d50bc058ad7..3411f6bc34e5 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/certificate/model_certificatecreateorupdateparameters.go +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/certificate/model_certificatecreateorupdateparameters.go @@ -8,5 +8,6 @@ type CertificateCreateOrUpdateParameters struct { Id *string `json:"id,omitempty"` Name *string `json:"name,omitempty"` Properties *CertificateCreateOrUpdateProperties `json:"properties,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` } diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/certificate/model_certificatecreateorupdateproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/certificate/model_certificatecreateorupdateproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/certificate/model_certificatecreateorupdateproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/certificate/model_certificatecreateorupdateproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/certificate/model_certificateproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/certificate/model_certificateproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/certificate/model_certificateproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/certificate/model_certificateproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/certificate/model_deletecertificateerror.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/certificate/model_deletecertificateerror.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/certificate/model_deletecertificateerror.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/certificate/model_deletecertificateerror.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/certificate/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/certificate/predicates.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/certificate/predicates.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/certificate/predicates.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/certificate/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/certificate/version.go similarity index 68% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/certificate/version.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/certificate/version.go index cf2ef3e86517..6344cfd32467 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/certificate/version.go +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/certificate/version.go @@ -3,8 +3,8 @@ package certificate // 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-07-01" func userAgent() string { - return "hashicorp/go-azure-sdk/certificate/2023-05-01" + return "hashicorp/go-azure-sdk/certificate/2024-07-01" } diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/README.md similarity index 97% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool/README.md rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/README.md index efe23df46348..9c1038cd3b3b 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool/README.md +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/README.md @@ -1,14 +1,14 @@ -## `github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool` Documentation +## `github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool` Documentation -The `pool` SDK allows for interaction with Azure Resource Manager `batch` (API Version `2023-05-01`). +The `pool` SDK allows for interaction with Azure Resource Manager `batch` (API Version `2024-07-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). ### Import Path ```go -import "github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool" +import "github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool" ``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/constants.go similarity index 82% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool/constants.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/constants.go index c97ea29f6b48..eb3c1295df01 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool/constants.go +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/constants.go @@ -311,6 +311,59 @@ func parseComputeNodeFillType(input string) (*ComputeNodeFillType, error) { return &out, nil } +type ContainerHostDataPath string + +const ( + ContainerHostDataPathApplications ContainerHostDataPath = "Applications" + ContainerHostDataPathJobPrep ContainerHostDataPath = "JobPrep" + ContainerHostDataPathShared ContainerHostDataPath = "Shared" + ContainerHostDataPathStartup ContainerHostDataPath = "Startup" + ContainerHostDataPathTask ContainerHostDataPath = "Task" + ContainerHostDataPathVfsMounts ContainerHostDataPath = "VfsMounts" +) + +func PossibleValuesForContainerHostDataPath() []string { + return []string{ + string(ContainerHostDataPathApplications), + string(ContainerHostDataPathJobPrep), + string(ContainerHostDataPathShared), + string(ContainerHostDataPathStartup), + string(ContainerHostDataPathTask), + string(ContainerHostDataPathVfsMounts), + } +} + +func (s *ContainerHostDataPath) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseContainerHostDataPath(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseContainerHostDataPath(input string) (*ContainerHostDataPath, error) { + vals := map[string]ContainerHostDataPath{ + "applications": ContainerHostDataPathApplications, + "jobprep": ContainerHostDataPathJobPrep, + "shared": ContainerHostDataPathShared, + "startup": ContainerHostDataPathStartup, + "task": ContainerHostDataPathTask, + "vfsmounts": ContainerHostDataPathVfsMounts, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := ContainerHostDataPath(input) + return &out, nil +} + type ContainerType string const ( @@ -888,17 +941,101 @@ func parsePoolProvisioningState(input string) (*PoolProvisioningState, error) { return &out, nil } +type SecurityEncryptionTypes string + +const ( + SecurityEncryptionTypesNonPersistedTPM SecurityEncryptionTypes = "NonPersistedTPM" + SecurityEncryptionTypesVMGuestStateOnly SecurityEncryptionTypes = "VMGuestStateOnly" +) + +func PossibleValuesForSecurityEncryptionTypes() []string { + return []string{ + string(SecurityEncryptionTypesNonPersistedTPM), + string(SecurityEncryptionTypesVMGuestStateOnly), + } +} + +func (s *SecurityEncryptionTypes) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseSecurityEncryptionTypes(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseSecurityEncryptionTypes(input string) (*SecurityEncryptionTypes, error) { + vals := map[string]SecurityEncryptionTypes{ + "nonpersistedtpm": SecurityEncryptionTypesNonPersistedTPM, + "vmgueststateonly": SecurityEncryptionTypesVMGuestStateOnly, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := SecurityEncryptionTypes(input) + return &out, nil +} + +type SecurityTypes string + +const ( + SecurityTypesConfidentialVM SecurityTypes = "confidentialVM" + SecurityTypesTrustedLaunch SecurityTypes = "trustedLaunch" +) + +func PossibleValuesForSecurityTypes() []string { + return []string{ + string(SecurityTypesConfidentialVM), + string(SecurityTypesTrustedLaunch), + } +} + +func (s *SecurityTypes) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseSecurityTypes(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseSecurityTypes(input string) (*SecurityTypes, error) { + vals := map[string]SecurityTypes{ + "confidentialvm": SecurityTypesConfidentialVM, + "trustedlaunch": SecurityTypesTrustedLaunch, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := SecurityTypes(input) + return &out, nil +} + type StorageAccountType string const ( - StorageAccountTypePremiumLRS StorageAccountType = "Premium_LRS" - StorageAccountTypeStandardLRS StorageAccountType = "Standard_LRS" + StorageAccountTypePremiumLRS StorageAccountType = "Premium_LRS" + StorageAccountTypeStandardLRS StorageAccountType = "Standard_LRS" + StorageAccountTypeStandardSSDLRS StorageAccountType = "StandardSSD_LRS" ) func PossibleValuesForStorageAccountType() []string { return []string{ string(StorageAccountTypePremiumLRS), string(StorageAccountTypeStandardLRS), + string(StorageAccountTypeStandardSSDLRS), } } @@ -917,8 +1054,9 @@ func (s *StorageAccountType) UnmarshalJSON(bytes []byte) error { func parseStorageAccountType(input string) (*StorageAccountType, error) { vals := map[string]StorageAccountType{ - "premium_lrs": StorageAccountTypePremiumLRS, - "standard_lrs": StorageAccountTypeStandardLRS, + "premium_lrs": StorageAccountTypePremiumLRS, + "standard_lrs": StorageAccountTypeStandardLRS, + "standardssd_lrs": StorageAccountTypeStandardSSDLRS, } if v, ok := vals[strings.ToLower(input)]; ok { return &v, nil @@ -928,3 +1066,47 @@ func parseStorageAccountType(input string) (*StorageAccountType, error) { out := StorageAccountType(input) return &out, nil } + +type UpgradeMode string + +const ( + UpgradeModeAutomatic UpgradeMode = "automatic" + UpgradeModeManual UpgradeMode = "manual" + UpgradeModeRolling UpgradeMode = "rolling" +) + +func PossibleValuesForUpgradeMode() []string { + return []string{ + string(UpgradeModeAutomatic), + string(UpgradeModeManual), + string(UpgradeModeRolling), + } +} + +func (s *UpgradeMode) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseUpgradeMode(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseUpgradeMode(input string) (*UpgradeMode, error) { + vals := map[string]UpgradeMode{ + "automatic": UpgradeModeAutomatic, + "manual": UpgradeModeManual, + "rolling": UpgradeModeRolling, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := UpgradeMode(input) + return &out, nil +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool/id_batchaccount.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/id_batchaccount.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool/id_batchaccount.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/id_batchaccount.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool/id_pool.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/id_pool.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool/id_pool.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/id_pool.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool/method_create.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/method_create.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool/method_create.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/method_create.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool/method_delete.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/method_delete.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool/method_delete.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/method_delete.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool/method_disableautoscale.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/method_disableautoscale.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool/method_disableautoscale.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/method_disableautoscale.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool/method_get.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/method_get.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool/method_get.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/method_get.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool/method_listbybatchaccount.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/method_listbybatchaccount.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool/method_listbybatchaccount.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/method_listbybatchaccount.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool/method_stopresize.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/method_stopresize.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool/method_stopresize.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/method_stopresize.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool/method_update.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/method_update.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool/method_update.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/method_update.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool/model_applicationpackagereference.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_applicationpackagereference.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool/model_applicationpackagereference.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_applicationpackagereference.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_automaticosupgradepolicy.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_automaticosupgradepolicy.go new file mode 100644 index 000000000000..87cd11301896 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_automaticosupgradepolicy.go @@ -0,0 +1,11 @@ +package pool + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type AutomaticOSUpgradePolicy struct { + DisableAutomaticRollback *bool `json:"disableAutomaticRollback,omitempty"` + EnableAutomaticOSUpgrade *bool `json:"enableAutomaticOSUpgrade,omitempty"` + OsRollingUpgradeDeferral *bool `json:"osRollingUpgradeDeferral,omitempty"` + UseRollingUpgradePolicy *bool `json:"useRollingUpgradePolicy,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool/model_autoscalerun.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_autoscalerun.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool/model_autoscalerun.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_autoscalerun.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool/model_autoscalerunerror.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_autoscalerunerror.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool/model_autoscalerunerror.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_autoscalerunerror.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool/model_autoscalesettings.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_autoscalesettings.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool/model_autoscalesettings.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_autoscalesettings.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool/model_autouserspecification.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_autouserspecification.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool/model_autouserspecification.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_autouserspecification.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool/model_azureblobfilesystemconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_azureblobfilesystemconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool/model_azureblobfilesystemconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_azureblobfilesystemconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool/model_azurefileshareconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_azurefileshareconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool/model_azurefileshareconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_azurefileshareconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool/model_certificatereference.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_certificatereference.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool/model_certificatereference.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_certificatereference.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool/model_cifsmountconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_cifsmountconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool/model_cifsmountconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_cifsmountconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool/model_computenodeidentityreference.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_computenodeidentityreference.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool/model_computenodeidentityreference.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_computenodeidentityreference.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool/model_containerconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_containerconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool/model_containerconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_containerconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_containerhostbatchbindmountentry.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_containerhostbatchbindmountentry.go new file mode 100644 index 000000000000..17836613eea7 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_containerhostbatchbindmountentry.go @@ -0,0 +1,9 @@ +package pool + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ContainerHostBatchBindMountEntry struct { + IsReadOnly *bool `json:"isReadOnly,omitempty"` + Source *ContainerHostDataPath `json:"source,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool/model_containerregistry.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_containerregistry.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool/model_containerregistry.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_containerregistry.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool/model_datadisk.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_datadisk.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool/model_datadisk.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_datadisk.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool/model_deploymentconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_deploymentconfiguration.go similarity index 75% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool/model_deploymentconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_deploymentconfiguration.go index 281f83d139e9..8b159e23fe09 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool/model_deploymentconfiguration.go +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_deploymentconfiguration.go @@ -4,6 +4,5 @@ package pool // Licensed under the MIT License. See NOTICE.txt in the project root for license information. type DeploymentConfiguration struct { - CloudServiceConfiguration *CloudServiceConfiguration `json:"cloudServiceConfiguration,omitempty"` VirtualMachineConfiguration *VirtualMachineConfiguration `json:"virtualMachineConfiguration,omitempty"` } diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool/model_diffdisksettings.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_diffdisksettings.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool/model_diffdisksettings.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_diffdisksettings.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool/model_diskencryptionconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_diskencryptionconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool/model_diskencryptionconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_diskencryptionconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool/model_environmentsetting.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_environmentsetting.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool/model_environmentsetting.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_environmentsetting.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool/model_fixedscalesettings.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_fixedscalesettings.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool/model_fixedscalesettings.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_fixedscalesettings.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_imagereference.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_imagereference.go new file mode 100644 index 000000000000..3a4ea821d41c --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_imagereference.go @@ -0,0 +1,14 @@ +package pool + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ImageReference struct { + CommunityGalleryImageId *string `json:"communityGalleryImageId,omitempty"` + Id *string `json:"id,omitempty"` + Offer *string `json:"offer,omitempty"` + Publisher *string `json:"publisher,omitempty"` + SharedGalleryImageId *string `json:"sharedGalleryImageId,omitempty"` + Sku *string `json:"sku,omitempty"` + Version *string `json:"version,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool/model_inboundnatpool.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_inboundnatpool.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool/model_inboundnatpool.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_inboundnatpool.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool/model_linuxuserconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_linuxuserconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool/model_linuxuserconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_linuxuserconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_manageddisk.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_manageddisk.go new file mode 100644 index 000000000000..b4af15282c8b --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_manageddisk.go @@ -0,0 +1,9 @@ +package pool + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ManagedDisk struct { + SecurityProfile *VMDiskSecurityProfile `json:"securityProfile,omitempty"` + StorageAccountType *StorageAccountType `json:"storageAccountType,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool/model_metadataitem.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_metadataitem.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool/model_metadataitem.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_metadataitem.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool/model_mountconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_mountconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool/model_mountconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_mountconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool/model_networkconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_networkconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool/model_networkconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_networkconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool/model_networksecuritygrouprule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_networksecuritygrouprule.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool/model_networksecuritygrouprule.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_networksecuritygrouprule.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool/model_nfsmountconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_nfsmountconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool/model_nfsmountconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_nfsmountconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool/model_nodeplacementconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_nodeplacementconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool/model_nodeplacementconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_nodeplacementconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_osdisk.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_osdisk.go new file mode 100644 index 000000000000..a51976a2015a --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_osdisk.go @@ -0,0 +1,12 @@ +package pool + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type OSDisk struct { + Caching *CachingType `json:"caching,omitempty"` + DiskSizeGB *int64 `json:"diskSizeGB,omitempty"` + EphemeralOSDiskSettings *DiffDiskSettings `json:"ephemeralOSDiskSettings,omitempty"` + ManagedDisk *ManagedDisk `json:"managedDisk,omitempty"` + WriteAcceleratorEnabled *bool `json:"writeAcceleratorEnabled,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool/model_pool.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_pool.go similarity index 91% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool/model_pool.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_pool.go index 99a23f134df7..ca9de248c6a4 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool/model_pool.go +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_pool.go @@ -13,5 +13,6 @@ type Pool struct { Identity *identity.UserAssignedMap `json:"identity,omitempty"` Name *string `json:"name,omitempty"` Properties *PoolProperties `json:"properties,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` } diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool/model_poolendpointconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_poolendpointconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool/model_poolendpointconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_poolendpointconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool/model_poolproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_poolproperties.go similarity index 95% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool/model_poolproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_poolproperties.go index f888eb99a064..31bed5fb1c9b 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool/model_poolproperties.go +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_poolproperties.go @@ -30,11 +30,13 @@ type PoolProperties struct { ProvisioningState *PoolProvisioningState `json:"provisioningState,omitempty"` ProvisioningStateTransitionTime *string `json:"provisioningStateTransitionTime,omitempty"` ResizeOperationStatus *ResizeOperationStatus `json:"resizeOperationStatus,omitempty"` + ResourceTags *map[string]string `json:"resourceTags,omitempty"` ScaleSettings *ScaleSettings `json:"scaleSettings,omitempty"` StartTask *StartTask `json:"startTask,omitempty"` TargetNodeCommunicationMode *NodeCommunicationMode `json:"targetNodeCommunicationMode,omitempty"` TaskSchedulingPolicy *TaskSchedulingPolicy `json:"taskSchedulingPolicy,omitempty"` TaskSlotsPerNode *int64 `json:"taskSlotsPerNode,omitempty"` + UpgradePolicy *UpgradePolicy `json:"upgradePolicy,omitempty"` UserAccounts *[]UserAccount `json:"userAccounts,omitempty"` VMSize *string `json:"vmSize,omitempty"` } diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool/model_publicipaddressconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_publicipaddressconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool/model_publicipaddressconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_publicipaddressconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool/model_resizeerror.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_resizeerror.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool/model_resizeerror.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_resizeerror.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool/model_resizeoperationstatus.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_resizeoperationstatus.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool/model_resizeoperationstatus.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_resizeoperationstatus.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool/model_resourcefile.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_resourcefile.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool/model_resourcefile.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_resourcefile.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_rollingupgradepolicy.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_rollingupgradepolicy.go new file mode 100644 index 000000000000..e8e4ad8d4fac --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_rollingupgradepolicy.go @@ -0,0 +1,14 @@ +package pool + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type RollingUpgradePolicy struct { + EnableCrossZoneUpgrade *bool `json:"enableCrossZoneUpgrade,omitempty"` + MaxBatchInstancePercent *int64 `json:"maxBatchInstancePercent,omitempty"` + MaxUnhealthyInstancePercent *int64 `json:"maxUnhealthyInstancePercent,omitempty"` + MaxUnhealthyUpgradedInstancePercent *int64 `json:"maxUnhealthyUpgradedInstancePercent,omitempty"` + PauseTimeBetweenBatches *string `json:"pauseTimeBetweenBatches,omitempty"` + PrioritizeUnhealthyInstances *bool `json:"prioritizeUnhealthyInstances,omitempty"` + RollbackFailedInstancesOnPolicyBreach *bool `json:"rollbackFailedInstancesOnPolicyBreach,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool/model_scalesettings.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_scalesettings.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool/model_scalesettings.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_scalesettings.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_securityprofile.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_securityprofile.go new file mode 100644 index 000000000000..c3f6631223fe --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_securityprofile.go @@ -0,0 +1,10 @@ +package pool + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type SecurityProfile struct { + EncryptionAtHost *bool `json:"encryptionAtHost,omitempty"` + SecurityType *SecurityTypes `json:"securityType,omitempty"` + UefiSettings *UefiSettings `json:"uefiSettings,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool/model_osdisk.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_serviceartifactreference.go similarity index 61% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool/model_osdisk.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_serviceartifactreference.go index 684e70a79be7..ce21152df9d2 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool/model_osdisk.go +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_serviceartifactreference.go @@ -3,6 +3,6 @@ package pool // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See NOTICE.txt in the project root for license information. -type OSDisk struct { - EphemeralOSDiskSettings *DiffDiskSettings `json:"ephemeralOSDiskSettings,omitempty"` +type ServiceArtifactReference struct { + Id string `json:"id"` } diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool/model_starttask.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_starttask.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool/model_starttask.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_starttask.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_taskcontainersettings.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_taskcontainersettings.go new file mode 100644 index 000000000000..ade200de6195 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_taskcontainersettings.go @@ -0,0 +1,12 @@ +package pool + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type TaskContainerSettings struct { + ContainerHostBatchBindMounts *[]ContainerHostBatchBindMountEntry `json:"containerHostBatchBindMounts,omitempty"` + ContainerRunOptions *string `json:"containerRunOptions,omitempty"` + ImageName string `json:"imageName"` + Registry *ContainerRegistry `json:"registry,omitempty"` + WorkingDirectory *ContainerWorkingDirectory `json:"workingDirectory,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool/model_taskschedulingpolicy.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_taskschedulingpolicy.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool/model_taskschedulingpolicy.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_taskschedulingpolicy.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_uefisettings.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_uefisettings.go new file mode 100644 index 000000000000..fd6d6836bac5 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_uefisettings.go @@ -0,0 +1,9 @@ +package pool + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type UefiSettings struct { + SecureBootEnabled *bool `json:"secureBootEnabled,omitempty"` + VTpmEnabled *bool `json:"vTpmEnabled,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_upgradepolicy.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_upgradepolicy.go new file mode 100644 index 000000000000..67e90bfc5d51 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_upgradepolicy.go @@ -0,0 +1,10 @@ +package pool + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type UpgradePolicy struct { + AutomaticOSUpgradePolicy *AutomaticOSUpgradePolicy `json:"automaticOSUpgradePolicy,omitempty"` + Mode UpgradeMode `json:"mode"` + RollingUpgradePolicy *RollingUpgradePolicy `json:"rollingUpgradePolicy,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool/model_useraccount.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_useraccount.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool/model_useraccount.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_useraccount.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool/model_useridentity.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_useridentity.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool/model_useridentity.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_useridentity.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool/model_virtualmachineconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_virtualmachineconfiguration.go similarity index 85% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool/model_virtualmachineconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_virtualmachineconfiguration.go index 400299687e95..eb6ddfadac16 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool/model_virtualmachineconfiguration.go +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_virtualmachineconfiguration.go @@ -13,5 +13,7 @@ type VirtualMachineConfiguration struct { NodeAgentSkuId string `json:"nodeAgentSkuId"` NodePlacementConfiguration *NodePlacementConfiguration `json:"nodePlacementConfiguration,omitempty"` OsDisk *OSDisk `json:"osDisk,omitempty"` + SecurityProfile *SecurityProfile `json:"securityProfile,omitempty"` + ServiceArtifactReference *ServiceArtifactReference `json:"serviceArtifactReference,omitempty"` WindowsConfiguration *WindowsConfiguration `json:"windowsConfiguration,omitempty"` } diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool/model_cloudserviceconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_vmdisksecurityprofile.go similarity index 57% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool/model_cloudserviceconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_vmdisksecurityprofile.go index 79a293aaf9c1..d3f93c78ff64 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool/model_cloudserviceconfiguration.go +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_vmdisksecurityprofile.go @@ -3,7 +3,6 @@ package pool // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See NOTICE.txt in the project root for license information. -type CloudServiceConfiguration struct { - OsFamily string `json:"osFamily"` - OsVersion *string `json:"osVersion,omitempty"` +type VMDiskSecurityProfile struct { + SecurityEncryptionType *SecurityEncryptionTypes `json:"securityEncryptionType,omitempty"` } diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool/model_vmextension.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_vmextension.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool/model_vmextension.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_vmextension.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool/model_windowsconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_windowsconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool/model_windowsconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_windowsconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool/model_windowsuserconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_windowsuserconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool/model_windowsuserconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/model_windowsuserconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/predicates.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool/predicates.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/predicates.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/version.go similarity index 69% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool/version.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/version.go index 343057716e5e..3207a41aa775 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool/version.go +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool/version.go @@ -3,8 +3,8 @@ package pool // 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-07-01" func userAgent() string { - return "hashicorp/go-azure-sdk/pool/2023-05-01" + return "hashicorp/go-azure-sdk/pool/2024-07-01" } diff --git a/vendor/modules.txt b/vendor/modules.txt index 6eebff9bb0b1..fc394e3f7a1e 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -301,10 +301,10 @@ github.com/hashicorp/go-azure-sdk/resource-manager/azurestackhci/2024-01-01/upda github.com/hashicorp/go-azure-sdk/resource-manager/azurestackhci/2024-01-01/updatesummaries github.com/hashicorp/go-azure-sdk/resource-manager/azurestackhci/2024-01-01/virtualharddisks github.com/hashicorp/go-azure-sdk/resource-manager/azurestackhci/2024-01-01/virtualmachineinstances -github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/application -github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/batchaccount -github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/certificate -github.com/hashicorp/go-azure-sdk/resource-manager/batch/2023-05-01/pool +github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/application +github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/batchaccount +github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/certificate +github.com/hashicorp/go-azure-sdk/resource-manager/batch/2024-07-01/pool github.com/hashicorp/go-azure-sdk/resource-manager/blueprints/2018-11-01-preview/assignment github.com/hashicorp/go-azure-sdk/resource-manager/blueprints/2018-11-01-preview/blueprint github.com/hashicorp/go-azure-sdk/resource-manager/blueprints/2018-11-01-preview/publishedblueprint