From da051165fedf1cebda6057063232886095d9a186 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 21 Jan 2025 05:23:51 +0000 Subject: [PATCH] build(deps): bump github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute/v6 Bumps [github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute/v6](https://github.com/Azure/azure-sdk-for-go) from 6.2.0 to 6.3.0. - [Release notes](https://github.com/Azure/azure-sdk-for-go/releases) - [Changelog](https://github.com/Azure/azure-sdk-for-go/blob/main/documentation/release.md) - [Commits](https://github.com/Azure/azure-sdk-for-go/compare/sdk/resourcemanager/compute/armcompute/v6.2.0...sdk/resourcemanager/compute/armcompute/v6.3.0) --- updated-dependencies: - dependency-name: github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute/v6 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- go.mod | 4 +- go.sum | 8 +-- .../compute/armcompute/v6/CHANGELOG.md | 6 ++ .../compute/armcompute/v6/autorest.md | 8 +-- .../v6/cloudserviceoperatingsystems_client.go | 16 ++--- .../v6/cloudserviceroleinstances_client.go | 40 +++++------ .../armcompute/v6/cloudserviceroles_client.go | 8 +-- .../armcompute/v6/cloudservices_client.go | 70 +++++++++---------- .../v6/cloudservicesupdatedomain_client.go | 14 ++-- .../compute/armcompute/v6/constants.go | 2 +- .../compute/armcompute/v6/models.go | 4 ++ .../compute/armcompute/v6/models_serde.go | 4 ++ .../internal/oauth/ops/authority/authority.go | 8 +-- vendor/modules.txt | 4 +- 14 files changed, 104 insertions(+), 92 deletions(-) diff --git a/go.mod b/go.mod index 81e9e0286d..94b0d06778 100644 --- a/go.mod +++ b/go.mod @@ -6,7 +6,7 @@ godebug winsymlink=0 require ( github.com/Azure/azure-sdk-for-go/sdk/azcore v1.17.0 - github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute/v6 v6.2.0 + github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute/v6 v6.3.0 github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/network/armnetwork/v6 v6.2.0 github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/resources/armresources v1.2.0 github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/storage/armstorage v1.6.0 @@ -57,7 +57,7 @@ require ( github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/privatedns/armprivatedns v1.3.0 // indirect github.com/Azure/azure-sdk-for-go/sdk/security/keyvault/azsecrets v1.3.0 // indirect github.com/Azure/azure-sdk-for-go/sdk/security/keyvault/internal v1.1.0 // indirect - github.com/AzureAD/microsoft-authentication-library-for-go v1.3.1 // indirect + github.com/AzureAD/microsoft-authentication-library-for-go v1.3.2 // indirect github.com/JeffAshton/win_pdh v0.0.0-20161109143554-76bb4ee9f0ab // indirect github.com/Microsoft/go-winio v0.6.2 // indirect github.com/NYTimes/gziphandler v1.1.1 // indirect diff --git a/go.sum b/go.sum index 6b42239721..2c761bfa2b 100644 --- a/go.sum +++ b/go.sum @@ -13,8 +13,8 @@ github.com/Azure/azure-sdk-for-go/sdk/internal v1.10.0 h1:ywEEhmNahHBihViHepv3xP github.com/Azure/azure-sdk-for-go/sdk/internal v1.10.0/go.mod h1:iZDifYGJTIgIIkYRNWPENUnqx6bJ2xnSDFI2tjwZNuY= github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/authorization/armauthorization/v2 v2.2.0 h1:Hp+EScFOu9HeCbeW8WU2yQPJd4gGwhMgKxWe+G6jNzw= github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/authorization/armauthorization/v2 v2.2.0/go.mod h1:/pz8dyNQe+Ey3yBp/XuYz7oqX8YDNWVpPB0hH3XWfbc= -github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute/v6 v6.2.0 h1:JAebRMoc3vL+Nd97GBprHYHucO4+wlW+tNbBIumqJlk= -github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute/v6 v6.2.0/go.mod h1:zflC9v4VfViJrSvcvplqws/yGXVbUEMZi/iHpZdSPWA= +github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute/v6 v6.3.0 h1:Dc9miZr1Mhaqbb3cmJCRokkG16uk8JKkqOADf084zy4= +github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute/v6 v6.3.0/go.mod h1:CHo9QYhWEvrKVeXsEMJSl2bpmYYNu6aG12JsSaFBXlY= github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/containerregistry/armcontainerregistry v1.2.0 h1:DWlwvVV5r/Wy1561nZ3wrpI1/vDIBRY/Wd1HWaRBZWA= github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/containerregistry/armcontainerregistry v1.2.0/go.mod h1:E7ltexgRDmeJ0fJWv0D/HLwY2xbDdN+uv+X2uZtOx3w= github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/containerservice/armcontainerservice/v5 v5.0.0 h1:5n7dPVqsWfVKw+ZiEKSd3Kzu7gwBkbEBkeXb8rgaE9Q= @@ -49,8 +49,8 @@ github.com/Azure/azure-sdk-for-go/sdk/storage/azfile v1.4.0 h1:mJVYrRyo7/ISs3MLM github.com/Azure/azure-sdk-for-go/sdk/storage/azfile v1.4.0/go.mod h1:QXy84HaR0FHLPWaGQDBrZZbdCPTshwGl3gQ64uR/Zrc= github.com/AzureAD/microsoft-authentication-extensions-for-go/cache v0.1.1 h1:WJTmL004Abzc5wDB5VtZG2PJk5ndYDgVacGqfirKxjM= github.com/AzureAD/microsoft-authentication-extensions-for-go/cache v0.1.1/go.mod h1:tCcJZ0uHAmvjsVYzEFivsRTN00oz5BEsRgQHu5JZ9WE= -github.com/AzureAD/microsoft-authentication-library-for-go v1.3.1 h1:gUDtaZk8heteyfdmv+pcfHvhR9llnh7c7GMwZ8RVG04= -github.com/AzureAD/microsoft-authentication-library-for-go v1.3.1/go.mod h1:wP83P5OoQ5p6ip3ScPr0BAq0BvuPAvacpEuSzyouqAI= +github.com/AzureAD/microsoft-authentication-library-for-go v1.3.2 h1:kYRSnvJju5gYVyhkij+RTJ/VR6QIUaCfWeaFm2ycsjQ= +github.com/AzureAD/microsoft-authentication-library-for-go v1.3.2/go.mod h1:wP83P5OoQ5p6ip3ScPr0BAq0BvuPAvacpEuSzyouqAI= github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU= github.com/JeffAshton/win_pdh v0.0.0-20161109143554-76bb4ee9f0ab h1:UKkYhof1njT1/xq4SEg5z+VpTgjmNeHwPGRQl7takDI= github.com/JeffAshton/win_pdh v0.0.0-20161109143554-76bb4ee9f0ab/go.mod h1:3VYc5hodBMJ5+l/7J4xAyMeuM2PNuepvHlGs8yilUCA= diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute/v6/CHANGELOG.md b/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute/v6/CHANGELOG.md index 612bff10d6..5d7e4d9af0 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute/v6/CHANGELOG.md +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute/v6/CHANGELOG.md @@ -1,5 +1,11 @@ # Release History +## 6.3.0 (2025-01-24) +### Features Added + +- New field `IsBootstrapCertificate` in struct `CloudServiceVaultCertificate` + + ## 6.2.0 (2024-12-27) ### Features Added diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute/v6/autorest.md b/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute/v6/autorest.md index 24453ed0df..6173e180c5 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute/v6/autorest.md +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute/v6/autorest.md @@ -5,9 +5,9 @@ ``` yaml azure-arm: true require: -- https://github.com/Azure/azure-rest-api-specs/blob/069a65e8a6d1a6c0c58d9a9d97610b7103b6e8a5/specification/compute/resource-manager/readme.md -- https://github.com/Azure/azure-rest-api-specs/blob/069a65e8a6d1a6c0c58d9a9d97610b7103b6e8a5/specification/compute/resource-manager/readme.go.md +- https://github.com/Azure/azure-rest-api-specs/blob/d6d0798c6f5eb196fba7bd1924db2b145a94f58c/specification/compute/resource-manager/readme.md +- https://github.com/Azure/azure-rest-api-specs/blob/d6d0798c6f5eb196fba7bd1924db2b145a94f58c/specification/compute/resource-manager/readme.go.md license-header: MICROSOFT_MIT_NO_VERSION -module-version: 6.2.0 -tag: package-2024-10-01 +module-version: 6.3.0 +tag: package-2024-11-04 ``` diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute/v6/cloudserviceoperatingsystems_client.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute/v6/cloudserviceoperatingsystems_client.go index bd0cda902f..3e5ee2bdfc 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute/v6/cloudserviceoperatingsystems_client.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute/v6/cloudserviceoperatingsystems_client.go @@ -48,7 +48,7 @@ func NewCloudServiceOperatingSystemsClient(subscriptionID string, credential azc // (.cscfg) for a cloud service. // If the operation fails it returns an *azcore.ResponseError type. // -// Generated from API version 2022-09-04 +// Generated from API version 2024-11-04 // - location - Name of the location that the OS family pertains to. // - osFamilyName - Name of the OS family. // - options - CloudServiceOperatingSystemsClientGetOSFamilyOptions contains the optional parameters for the CloudServiceOperatingSystemsClient.GetOSFamily @@ -95,7 +95,7 @@ func (client *CloudServiceOperatingSystemsClient) getOSFamilyCreateRequest(ctx c return nil, err } reqQP := req.Raw().URL.Query() - reqQP.Set("api-version", "2022-09-04") + reqQP.Set("api-version", "2024-11-04") req.Raw().URL.RawQuery = reqQP.Encode() req.Raw().Header["Accept"] = []string{"application/json"} return req, nil @@ -114,7 +114,7 @@ func (client *CloudServiceOperatingSystemsClient) getOSFamilyHandleResponse(resp // (.cscfg) for a cloud service. // If the operation fails it returns an *azcore.ResponseError type. // -// Generated from API version 2022-09-04 +// Generated from API version 2024-11-04 // - location - Name of the location that the OS version pertains to. // - osVersionName - Name of the OS version. // - options - CloudServiceOperatingSystemsClientGetOSVersionOptions contains the optional parameters for the CloudServiceOperatingSystemsClient.GetOSVersion @@ -161,7 +161,7 @@ func (client *CloudServiceOperatingSystemsClient) getOSVersionCreateRequest(ctx return nil, err } reqQP := req.Raw().URL.Query() - reqQP.Set("api-version", "2022-09-04") + reqQP.Set("api-version", "2024-11-04") req.Raw().URL.RawQuery = reqQP.Encode() req.Raw().Header["Accept"] = []string{"application/json"} return req, nil @@ -180,7 +180,7 @@ func (client *CloudServiceOperatingSystemsClient) getOSVersionHandleResponse(res // configuration (.cscfg) for a cloud service. Use nextLink property in the response to get the next page // of OS Families. Do this till nextLink is null to fetch all the OS Families. // -// Generated from API version 2022-09-04 +// Generated from API version 2024-11-04 // - location - Name of the location that the OS families pertain to. // - options - CloudServiceOperatingSystemsClientListOSFamiliesOptions contains the optional parameters for the CloudServiceOperatingSystemsClient.NewListOSFamiliesPager // method. @@ -223,7 +223,7 @@ func (client *CloudServiceOperatingSystemsClient) listOSFamiliesCreateRequest(ct return nil, err } reqQP := req.Raw().URL.Query() - reqQP.Set("api-version", "2022-09-04") + reqQP.Set("api-version", "2024-11-04") req.Raw().URL.RawQuery = reqQP.Encode() req.Raw().Header["Accept"] = []string{"application/json"} return req, nil @@ -242,7 +242,7 @@ func (client *CloudServiceOperatingSystemsClient) listOSFamiliesHandleResponse(r // configuration (.cscfg) for a cloud service. Use nextLink property in the response to get the next page // of OS versions. Do this till nextLink is null to fetch all the OS versions. // -// Generated from API version 2022-09-04 +// Generated from API version 2024-11-04 // - location - Name of the location that the OS versions pertain to. // - options - CloudServiceOperatingSystemsClientListOSVersionsOptions contains the optional parameters for the CloudServiceOperatingSystemsClient.NewListOSVersionsPager // method. @@ -285,7 +285,7 @@ func (client *CloudServiceOperatingSystemsClient) listOSVersionsCreateRequest(ct return nil, err } reqQP := req.Raw().URL.Query() - reqQP.Set("api-version", "2022-09-04") + reqQP.Set("api-version", "2024-11-04") req.Raw().URL.RawQuery = reqQP.Encode() req.Raw().Header["Accept"] = []string{"application/json"} return req, nil diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute/v6/cloudserviceroleinstances_client.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute/v6/cloudserviceroleinstances_client.go index 1f7cdb7c38..06e025bb80 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute/v6/cloudserviceroleinstances_client.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute/v6/cloudserviceroleinstances_client.go @@ -47,7 +47,7 @@ func NewCloudServiceRoleInstancesClient(subscriptionID string, credential azcore // BeginDelete - Deletes a role instance from a cloud service. // If the operation fails it returns an *azcore.ResponseError type. // -// Generated from API version 2022-09-04 +// Generated from API version 2024-11-04 // - roleInstanceName - Name of the role instance. // - resourceGroupName - Name of the resource group. // - cloudServiceName - Name of the cloud service. @@ -73,7 +73,7 @@ func (client *CloudServiceRoleInstancesClient) BeginDelete(ctx context.Context, // Delete - Deletes a role instance from a cloud service. // If the operation fails it returns an *azcore.ResponseError type. // -// Generated from API version 2022-09-04 +// Generated from API version 2024-11-04 func (client *CloudServiceRoleInstancesClient) deleteOperation(ctx context.Context, roleInstanceName string, resourceGroupName string, cloudServiceName string, options *CloudServiceRoleInstancesClientBeginDeleteOptions) (*http.Response, error) { var err error const operationName = "CloudServiceRoleInstancesClient.BeginDelete" @@ -119,7 +119,7 @@ func (client *CloudServiceRoleInstancesClient) deleteCreateRequest(ctx context.C return nil, err } reqQP := req.Raw().URL.Query() - reqQP.Set("api-version", "2022-09-04") + reqQP.Set("api-version", "2024-11-04") req.Raw().URL.RawQuery = reqQP.Encode() req.Raw().Header["Accept"] = []string{"application/json"} return req, nil @@ -128,7 +128,7 @@ func (client *CloudServiceRoleInstancesClient) deleteCreateRequest(ctx context.C // Get - Gets a role instance from a cloud service. // If the operation fails it returns an *azcore.ResponseError type. // -// Generated from API version 2022-09-04 +// Generated from API version 2024-11-04 // - roleInstanceName - Name of the role instance. // - resourceGroupName - Name of the resource group. // - cloudServiceName - Name of the cloud service. @@ -183,7 +183,7 @@ func (client *CloudServiceRoleInstancesClient) getCreateRequest(ctx context.Cont if options != nil && options.Expand != nil { reqQP.Set("$expand", string(*options.Expand)) } - reqQP.Set("api-version", "2022-09-04") + reqQP.Set("api-version", "2024-11-04") req.Raw().URL.RawQuery = reqQP.Encode() req.Raw().Header["Accept"] = []string{"application/json"} return req, nil @@ -201,7 +201,7 @@ func (client *CloudServiceRoleInstancesClient) getHandleResponse(resp *http.Resp // GetInstanceView - Retrieves information about the run-time state of a role instance in a cloud service. // If the operation fails it returns an *azcore.ResponseError type. // -// Generated from API version 2022-09-04 +// Generated from API version 2024-11-04 // - roleInstanceName - Name of the role instance. // - resourceGroupName - Name of the resource group. // - cloudServiceName - Name of the cloud service. @@ -253,7 +253,7 @@ func (client *CloudServiceRoleInstancesClient) getInstanceViewCreateRequest(ctx return nil, err } reqQP := req.Raw().URL.Query() - reqQP.Set("api-version", "2022-09-04") + reqQP.Set("api-version", "2024-11-04") req.Raw().URL.RawQuery = reqQP.Encode() req.Raw().Header["Accept"] = []string{"application/json"} return req, nil @@ -271,7 +271,7 @@ func (client *CloudServiceRoleInstancesClient) getInstanceViewHandleResponse(res // GetRemoteDesktopFile - Gets a remote desktop file for a role instance in a cloud service. // If the operation fails it returns an *azcore.ResponseError type. // -// Generated from API version 2022-09-04 +// Generated from API version 2024-11-04 // - roleInstanceName - Name of the role instance. // - resourceGroupName - Name of the resource group. // - cloudServiceName - Name of the cloud service. @@ -322,7 +322,7 @@ func (client *CloudServiceRoleInstancesClient) getRemoteDesktopFileCreateRequest return nil, err } reqQP := req.Raw().URL.Query() - reqQP.Set("api-version", "2022-09-04") + reqQP.Set("api-version", "2024-11-04") req.Raw().URL.RawQuery = reqQP.Encode() runtime.SkipBodyDownload(req) req.Raw().Header["Accept"] = []string{"application/x-rdp"} @@ -332,7 +332,7 @@ func (client *CloudServiceRoleInstancesClient) getRemoteDesktopFileCreateRequest // NewListPager - Gets the list of all role instances in a cloud service. Use nextLink property in the response to get the // next page of role instances. Do this till nextLink is null to fetch all the role instances. // -// Generated from API version 2022-09-04 +// Generated from API version 2024-11-04 // - resourceGroupName - Name of the resource group. // - cloudServiceName - Name of the cloud service. // - options - CloudServiceRoleInstancesClientListOptions contains the optional parameters for the CloudServiceRoleInstancesClient.NewListPager @@ -383,7 +383,7 @@ func (client *CloudServiceRoleInstancesClient) listCreateRequest(ctx context.Con if options != nil && options.Expand != nil { reqQP.Set("$expand", string(*options.Expand)) } - reqQP.Set("api-version", "2022-09-04") + reqQP.Set("api-version", "2024-11-04") req.Raw().URL.RawQuery = reqQP.Encode() req.Raw().Header["Accept"] = []string{"application/json"} return req, nil @@ -403,7 +403,7 @@ func (client *CloudServiceRoleInstancesClient) listHandleResponse(resp *http.Res // want to initialize storage resources, you can use Reimage Role Instance. // If the operation fails it returns an *azcore.ResponseError type. // -// Generated from API version 2022-09-04 +// Generated from API version 2024-11-04 // - roleInstanceName - Name of the role instance. // - resourceGroupName - Name of the resource group. // - cloudServiceName - Name of the cloud service. @@ -431,7 +431,7 @@ func (client *CloudServiceRoleInstancesClient) BeginRebuild(ctx context.Context, // want to initialize storage resources, you can use Reimage Role Instance. // If the operation fails it returns an *azcore.ResponseError type. // -// Generated from API version 2022-09-04 +// Generated from API version 2024-11-04 func (client *CloudServiceRoleInstancesClient) rebuild(ctx context.Context, roleInstanceName string, resourceGroupName string, cloudServiceName string, options *CloudServiceRoleInstancesClientBeginRebuildOptions) (*http.Response, error) { var err error const operationName = "CloudServiceRoleInstancesClient.BeginRebuild" @@ -477,7 +477,7 @@ func (client *CloudServiceRoleInstancesClient) rebuildCreateRequest(ctx context. return nil, err } reqQP := req.Raw().URL.Query() - reqQP.Set("api-version", "2022-09-04") + reqQP.Set("api-version", "2024-11-04") req.Raw().URL.RawQuery = reqQP.Encode() req.Raw().Header["Accept"] = []string{"application/json"} return req, nil @@ -487,7 +487,7 @@ func (client *CloudServiceRoleInstancesClient) rebuildCreateRequest(ctx context. // or worker roles. // If the operation fails it returns an *azcore.ResponseError type. // -// Generated from API version 2022-09-04 +// Generated from API version 2024-11-04 // - roleInstanceName - Name of the role instance. // - resourceGroupName - Name of the resource group. // - cloudServiceName - Name of the cloud service. @@ -514,7 +514,7 @@ func (client *CloudServiceRoleInstancesClient) BeginReimage(ctx context.Context, // worker roles. // If the operation fails it returns an *azcore.ResponseError type. // -// Generated from API version 2022-09-04 +// Generated from API version 2024-11-04 func (client *CloudServiceRoleInstancesClient) reimage(ctx context.Context, roleInstanceName string, resourceGroupName string, cloudServiceName string, options *CloudServiceRoleInstancesClientBeginReimageOptions) (*http.Response, error) { var err error const operationName = "CloudServiceRoleInstancesClient.BeginReimage" @@ -560,7 +560,7 @@ func (client *CloudServiceRoleInstancesClient) reimageCreateRequest(ctx context. return nil, err } reqQP := req.Raw().URL.Query() - reqQP.Set("api-version", "2022-09-04") + reqQP.Set("api-version", "2024-11-04") req.Raw().URL.RawQuery = reqQP.Encode() req.Raw().Header["Accept"] = []string{"application/json"} return req, nil @@ -569,7 +569,7 @@ func (client *CloudServiceRoleInstancesClient) reimageCreateRequest(ctx context. // BeginRestart - The Reboot Role Instance asynchronous operation requests a reboot of a role instance in the cloud service. // If the operation fails it returns an *azcore.ResponseError type. // -// Generated from API version 2022-09-04 +// Generated from API version 2024-11-04 // - roleInstanceName - Name of the role instance. // - resourceGroupName - Name of the resource group. // - cloudServiceName - Name of the cloud service. @@ -595,7 +595,7 @@ func (client *CloudServiceRoleInstancesClient) BeginRestart(ctx context.Context, // Restart - The Reboot Role Instance asynchronous operation requests a reboot of a role instance in the cloud service. // If the operation fails it returns an *azcore.ResponseError type. // -// Generated from API version 2022-09-04 +// Generated from API version 2024-11-04 func (client *CloudServiceRoleInstancesClient) restart(ctx context.Context, roleInstanceName string, resourceGroupName string, cloudServiceName string, options *CloudServiceRoleInstancesClientBeginRestartOptions) (*http.Response, error) { var err error const operationName = "CloudServiceRoleInstancesClient.BeginRestart" @@ -641,7 +641,7 @@ func (client *CloudServiceRoleInstancesClient) restartCreateRequest(ctx context. return nil, err } reqQP := req.Raw().URL.Query() - reqQP.Set("api-version", "2022-09-04") + reqQP.Set("api-version", "2024-11-04") req.Raw().URL.RawQuery = reqQP.Encode() req.Raw().Header["Accept"] = []string{"application/json"} return req, nil diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute/v6/cloudserviceroles_client.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute/v6/cloudserviceroles_client.go index a4572cf143..a7643007b4 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute/v6/cloudserviceroles_client.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute/v6/cloudserviceroles_client.go @@ -47,7 +47,7 @@ func NewCloudServiceRolesClient(subscriptionID string, credential azcore.TokenCr // Get - Gets a role from a cloud service. // If the operation fails it returns an *azcore.ResponseError type. // -// Generated from API version 2022-09-04 +// Generated from API version 2024-11-04 // - roleName - Name of the role. // - resourceGroupName - Name of the resource group. // - cloudServiceName - Name of the cloud service. @@ -98,7 +98,7 @@ func (client *CloudServiceRolesClient) getCreateRequest(ctx context.Context, rol return nil, err } reqQP := req.Raw().URL.Query() - reqQP.Set("api-version", "2022-09-04") + reqQP.Set("api-version", "2024-11-04") req.Raw().URL.RawQuery = reqQP.Encode() req.Raw().Header["Accept"] = []string{"application/json"} return req, nil @@ -116,7 +116,7 @@ func (client *CloudServiceRolesClient) getHandleResponse(resp *http.Response) (C // NewListPager - Gets a list of all roles in a cloud service. Use nextLink property in the response to get the next page // of roles. Do this till nextLink is null to fetch all the roles. // -// Generated from API version 2022-09-04 +// Generated from API version 2024-11-04 // - resourceGroupName - Name of the resource group. // - cloudServiceName - Name of the cloud service. // - options - CloudServiceRolesClientListOptions contains the optional parameters for the CloudServiceRolesClient.NewListPager @@ -164,7 +164,7 @@ func (client *CloudServiceRolesClient) listCreateRequest(ctx context.Context, re return nil, err } reqQP := req.Raw().URL.Query() - reqQP.Set("api-version", "2022-09-04") + reqQP.Set("api-version", "2024-11-04") req.Raw().URL.RawQuery = reqQP.Encode() req.Raw().Header["Accept"] = []string{"application/json"} return req, nil diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute/v6/cloudservices_client.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute/v6/cloudservices_client.go index 283d3a6feb..4bf892683e 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute/v6/cloudservices_client.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute/v6/cloudservices_client.go @@ -48,7 +48,7 @@ func NewCloudServicesClient(subscriptionID string, credential azcore.TokenCreden // creation. // If the operation fails it returns an *azcore.ResponseError type. // -// Generated from API version 2022-09-04 +// Generated from API version 2024-11-04 // - resourceGroupName - Name of the resource group. // - cloudServiceName - Name of the cloud service. // - parameters - The cloud service object. @@ -74,7 +74,7 @@ func (client *CloudServicesClient) BeginCreateOrUpdate(ctx context.Context, reso // CreateOrUpdate - Create or update a cloud service. Please note some properties can be set only during cloud service creation. // If the operation fails it returns an *azcore.ResponseError type. // -// Generated from API version 2022-09-04 +// Generated from API version 2024-11-04 func (client *CloudServicesClient) createOrUpdate(ctx context.Context, resourceGroupName string, cloudServiceName string, parameters CloudService, options *CloudServicesClientBeginCreateOrUpdateOptions) (*http.Response, error) { var err error const operationName = "CloudServicesClient.BeginCreateOrUpdate" @@ -116,7 +116,7 @@ func (client *CloudServicesClient) createOrUpdateCreateRequest(ctx context.Conte return nil, err } reqQP := req.Raw().URL.Query() - reqQP.Set("api-version", "2022-09-04") + reqQP.Set("api-version", "2024-11-04") req.Raw().URL.RawQuery = reqQP.Encode() req.Raw().Header["Accept"] = []string{"application/json"} if err := runtime.MarshalAsJSON(req, parameters); err != nil { @@ -128,7 +128,7 @@ func (client *CloudServicesClient) createOrUpdateCreateRequest(ctx context.Conte // BeginDelete - Deletes a cloud service. // If the operation fails it returns an *azcore.ResponseError type. // -// Generated from API version 2022-09-04 +// Generated from API version 2024-11-04 // - resourceGroupName - Name of the resource group. // - cloudServiceName - Name of the cloud service. // - options - CloudServicesClientBeginDeleteOptions contains the optional parameters for the CloudServicesClient.BeginDelete @@ -153,7 +153,7 @@ func (client *CloudServicesClient) BeginDelete(ctx context.Context, resourceGrou // Delete - Deletes a cloud service. // If the operation fails it returns an *azcore.ResponseError type. // -// Generated from API version 2022-09-04 +// Generated from API version 2024-11-04 func (client *CloudServicesClient) deleteOperation(ctx context.Context, resourceGroupName string, cloudServiceName string, options *CloudServicesClientBeginDeleteOptions) (*http.Response, error) { var err error const operationName = "CloudServicesClient.BeginDelete" @@ -195,7 +195,7 @@ func (client *CloudServicesClient) deleteCreateRequest(ctx context.Context, reso return nil, err } reqQP := req.Raw().URL.Query() - reqQP.Set("api-version", "2022-09-04") + reqQP.Set("api-version", "2024-11-04") req.Raw().URL.RawQuery = reqQP.Encode() req.Raw().Header["Accept"] = []string{"application/json"} return req, nil @@ -204,7 +204,7 @@ func (client *CloudServicesClient) deleteCreateRequest(ctx context.Context, reso // BeginDeleteInstances - Deletes role instances in a cloud service. // If the operation fails it returns an *azcore.ResponseError type. // -// Generated from API version 2022-09-04 +// Generated from API version 2024-11-04 // - resourceGroupName - Name of the resource group. // - cloudServiceName - Name of the cloud service. // - options - CloudServicesClientBeginDeleteInstancesOptions contains the optional parameters for the CloudServicesClient.BeginDeleteInstances @@ -229,7 +229,7 @@ func (client *CloudServicesClient) BeginDeleteInstances(ctx context.Context, res // DeleteInstances - Deletes role instances in a cloud service. // If the operation fails it returns an *azcore.ResponseError type. // -// Generated from API version 2022-09-04 +// Generated from API version 2024-11-04 func (client *CloudServicesClient) deleteInstances(ctx context.Context, resourceGroupName string, cloudServiceName string, options *CloudServicesClientBeginDeleteInstancesOptions) (*http.Response, error) { var err error const operationName = "CloudServicesClient.BeginDeleteInstances" @@ -271,7 +271,7 @@ func (client *CloudServicesClient) deleteInstancesCreateRequest(ctx context.Cont return nil, err } reqQP := req.Raw().URL.Query() - reqQP.Set("api-version", "2022-09-04") + reqQP.Set("api-version", "2024-11-04") req.Raw().URL.RawQuery = reqQP.Encode() req.Raw().Header["Accept"] = []string{"application/json"} if options != nil && options.Parameters != nil { @@ -286,7 +286,7 @@ func (client *CloudServicesClient) deleteInstancesCreateRequest(ctx context.Cont // Get - Display information about a cloud service. // If the operation fails it returns an *azcore.ResponseError type. // -// Generated from API version 2022-09-04 +// Generated from API version 2024-11-04 // - resourceGroupName - Name of the resource group. // - cloudServiceName - Name of the cloud service. // - options - CloudServicesClientGetOptions contains the optional parameters for the CloudServicesClient.Get method. @@ -332,7 +332,7 @@ func (client *CloudServicesClient) getCreateRequest(ctx context.Context, resourc return nil, err } reqQP := req.Raw().URL.Query() - reqQP.Set("api-version", "2022-09-04") + reqQP.Set("api-version", "2024-11-04") req.Raw().URL.RawQuery = reqQP.Encode() req.Raw().Header["Accept"] = []string{"application/json"} return req, nil @@ -350,7 +350,7 @@ func (client *CloudServicesClient) getHandleResponse(resp *http.Response) (Cloud // GetInstanceView - Gets the status of a cloud service. // If the operation fails it returns an *azcore.ResponseError type. // -// Generated from API version 2022-09-04 +// Generated from API version 2024-11-04 // - resourceGroupName - Name of the resource group. // - cloudServiceName - Name of the cloud service. // - options - CloudServicesClientGetInstanceViewOptions contains the optional parameters for the CloudServicesClient.GetInstanceView @@ -397,7 +397,7 @@ func (client *CloudServicesClient) getInstanceViewCreateRequest(ctx context.Cont return nil, err } reqQP := req.Raw().URL.Query() - reqQP.Set("api-version", "2022-09-04") + reqQP.Set("api-version", "2024-11-04") req.Raw().URL.RawQuery = reqQP.Encode() req.Raw().Header["Accept"] = []string{"application/json"} return req, nil @@ -415,7 +415,7 @@ func (client *CloudServicesClient) getInstanceViewHandleResponse(resp *http.Resp // NewListPager - Gets a list of all cloud services under a resource group. Use nextLink property in the response to get the // next page of Cloud Services. Do this till nextLink is null to fetch all the Cloud Services. // -// Generated from API version 2022-09-04 +// Generated from API version 2024-11-04 // - resourceGroupName - Name of the resource group. // - options - CloudServicesClientListOptions contains the optional parameters for the CloudServicesClient.NewListPager method. func (client *CloudServicesClient) NewListPager(resourceGroupName string, options *CloudServicesClientListOptions) *runtime.Pager[CloudServicesClientListResponse] { @@ -457,7 +457,7 @@ func (client *CloudServicesClient) listCreateRequest(ctx context.Context, resour return nil, err } reqQP := req.Raw().URL.Query() - reqQP.Set("api-version", "2022-09-04") + reqQP.Set("api-version", "2024-11-04") req.Raw().URL.RawQuery = reqQP.Encode() req.Raw().Header["Accept"] = []string{"application/json"} return req, nil @@ -476,7 +476,7 @@ func (client *CloudServicesClient) listHandleResponse(resp *http.Response) (Clou // nextLink property in the response to get the next page of Cloud Services. Do this till nextLink // is null to fetch all the Cloud Services. // -// Generated from API version 2022-09-04 +// Generated from API version 2024-11-04 // - options - CloudServicesClientListAllOptions contains the optional parameters for the CloudServicesClient.NewListAllPager // method. func (client *CloudServicesClient) NewListAllPager(options *CloudServicesClientListAllOptions) *runtime.Pager[CloudServicesClientListAllResponse] { @@ -514,7 +514,7 @@ func (client *CloudServicesClient) listAllCreateRequest(ctx context.Context, opt return nil, err } reqQP := req.Raw().URL.Query() - reqQP.Set("api-version", "2022-09-04") + reqQP.Set("api-version", "2024-11-04") req.Raw().URL.RawQuery = reqQP.Encode() req.Raw().Header["Accept"] = []string{"application/json"} return req, nil @@ -533,7 +533,7 @@ func (client *CloudServicesClient) listAllHandleResponse(resp *http.Response) (C // resources. // If the operation fails it returns an *azcore.ResponseError type. // -// Generated from API version 2022-09-04 +// Generated from API version 2024-11-04 // - resourceGroupName - Name of the resource group. // - cloudServiceName - Name of the cloud service. // - options - CloudServicesClientBeginPowerOffOptions contains the optional parameters for the CloudServicesClient.BeginPowerOff @@ -558,7 +558,7 @@ func (client *CloudServicesClient) BeginPowerOff(ctx context.Context, resourceGr // PowerOff - Power off the cloud service. Note that resources are still attached and you are getting charged for the resources. // If the operation fails it returns an *azcore.ResponseError type. // -// Generated from API version 2022-09-04 +// Generated from API version 2024-11-04 func (client *CloudServicesClient) powerOff(ctx context.Context, resourceGroupName string, cloudServiceName string, options *CloudServicesClientBeginPowerOffOptions) (*http.Response, error) { var err error const operationName = "CloudServicesClient.BeginPowerOff" @@ -600,7 +600,7 @@ func (client *CloudServicesClient) powerOffCreateRequest(ctx context.Context, re return nil, err } reqQP := req.Raw().URL.Query() - reqQP.Set("api-version", "2022-09-04") + reqQP.Set("api-version", "2024-11-04") req.Raw().URL.RawQuery = reqQP.Encode() req.Raw().Header["Accept"] = []string{"application/json"} return req, nil @@ -611,7 +611,7 @@ func (client *CloudServicesClient) powerOffCreateRequest(ctx context.Context, re // resources, you can use Reimage Role Instances. // If the operation fails it returns an *azcore.ResponseError type. // -// Generated from API version 2022-09-04 +// Generated from API version 2024-11-04 // - resourceGroupName - Name of the resource group. // - cloudServiceName - Name of the cloud service. // - options - CloudServicesClientBeginRebuildOptions contains the optional parameters for the CloudServicesClient.BeginRebuild @@ -638,7 +638,7 @@ func (client *CloudServicesClient) BeginRebuild(ctx context.Context, resourceGro // resources, you can use Reimage Role Instances. // If the operation fails it returns an *azcore.ResponseError type. // -// Generated from API version 2022-09-04 +// Generated from API version 2024-11-04 func (client *CloudServicesClient) rebuild(ctx context.Context, resourceGroupName string, cloudServiceName string, options *CloudServicesClientBeginRebuildOptions) (*http.Response, error) { var err error const operationName = "CloudServicesClient.BeginRebuild" @@ -680,7 +680,7 @@ func (client *CloudServicesClient) rebuildCreateRequest(ctx context.Context, res return nil, err } reqQP := req.Raw().URL.Query() - reqQP.Set("api-version", "2022-09-04") + reqQP.Set("api-version", "2024-11-04") req.Raw().URL.RawQuery = reqQP.Encode() req.Raw().Header["Accept"] = []string{"application/json"} if options != nil && options.Parameters != nil { @@ -695,7 +695,7 @@ func (client *CloudServicesClient) rebuildCreateRequest(ctx context.Context, res // BeginReimage - Reimage asynchronous operation reinstalls the operating system on instances of web roles or worker roles. // If the operation fails it returns an *azcore.ResponseError type. // -// Generated from API version 2022-09-04 +// Generated from API version 2024-11-04 // - resourceGroupName - Name of the resource group. // - cloudServiceName - Name of the cloud service. // - options - CloudServicesClientBeginReimageOptions contains the optional parameters for the CloudServicesClient.BeginReimage @@ -720,7 +720,7 @@ func (client *CloudServicesClient) BeginReimage(ctx context.Context, resourceGro // Reimage - Reimage asynchronous operation reinstalls the operating system on instances of web roles or worker roles. // If the operation fails it returns an *azcore.ResponseError type. // -// Generated from API version 2022-09-04 +// Generated from API version 2024-11-04 func (client *CloudServicesClient) reimage(ctx context.Context, resourceGroupName string, cloudServiceName string, options *CloudServicesClientBeginReimageOptions) (*http.Response, error) { var err error const operationName = "CloudServicesClient.BeginReimage" @@ -762,7 +762,7 @@ func (client *CloudServicesClient) reimageCreateRequest(ctx context.Context, res return nil, err } reqQP := req.Raw().URL.Query() - reqQP.Set("api-version", "2022-09-04") + reqQP.Set("api-version", "2024-11-04") req.Raw().URL.RawQuery = reqQP.Encode() req.Raw().Header["Accept"] = []string{"application/json"} if options != nil && options.Parameters != nil { @@ -777,7 +777,7 @@ func (client *CloudServicesClient) reimageCreateRequest(ctx context.Context, res // BeginRestart - Restarts one or more role instances in a cloud service. // If the operation fails it returns an *azcore.ResponseError type. // -// Generated from API version 2022-09-04 +// Generated from API version 2024-11-04 // - resourceGroupName - Name of the resource group. // - cloudServiceName - Name of the cloud service. // - options - CloudServicesClientBeginRestartOptions contains the optional parameters for the CloudServicesClient.BeginRestart @@ -802,7 +802,7 @@ func (client *CloudServicesClient) BeginRestart(ctx context.Context, resourceGro // Restart - Restarts one or more role instances in a cloud service. // If the operation fails it returns an *azcore.ResponseError type. // -// Generated from API version 2022-09-04 +// Generated from API version 2024-11-04 func (client *CloudServicesClient) restart(ctx context.Context, resourceGroupName string, cloudServiceName string, options *CloudServicesClientBeginRestartOptions) (*http.Response, error) { var err error const operationName = "CloudServicesClient.BeginRestart" @@ -844,7 +844,7 @@ func (client *CloudServicesClient) restartCreateRequest(ctx context.Context, res return nil, err } reqQP := req.Raw().URL.Query() - reqQP.Set("api-version", "2022-09-04") + reqQP.Set("api-version", "2024-11-04") req.Raw().URL.RawQuery = reqQP.Encode() req.Raw().Header["Accept"] = []string{"application/json"} if options != nil && options.Parameters != nil { @@ -859,7 +859,7 @@ func (client *CloudServicesClient) restartCreateRequest(ctx context.Context, res // BeginStart - Starts the cloud service. // If the operation fails it returns an *azcore.ResponseError type. // -// Generated from API version 2022-09-04 +// Generated from API version 2024-11-04 // - resourceGroupName - Name of the resource group. // - cloudServiceName - Name of the cloud service. // - options - CloudServicesClientBeginStartOptions contains the optional parameters for the CloudServicesClient.BeginStart @@ -884,7 +884,7 @@ func (client *CloudServicesClient) BeginStart(ctx context.Context, resourceGroup // Start - Starts the cloud service. // If the operation fails it returns an *azcore.ResponseError type. // -// Generated from API version 2022-09-04 +// Generated from API version 2024-11-04 func (client *CloudServicesClient) start(ctx context.Context, resourceGroupName string, cloudServiceName string, options *CloudServicesClientBeginStartOptions) (*http.Response, error) { var err error const operationName = "CloudServicesClient.BeginStart" @@ -926,7 +926,7 @@ func (client *CloudServicesClient) startCreateRequest(ctx context.Context, resou return nil, err } reqQP := req.Raw().URL.Query() - reqQP.Set("api-version", "2022-09-04") + reqQP.Set("api-version", "2024-11-04") req.Raw().URL.RawQuery = reqQP.Encode() req.Raw().Header["Accept"] = []string{"application/json"} return req, nil @@ -935,7 +935,7 @@ func (client *CloudServicesClient) startCreateRequest(ctx context.Context, resou // BeginUpdate - Update a cloud service. // If the operation fails it returns an *azcore.ResponseError type. // -// Generated from API version 2022-09-04 +// Generated from API version 2024-11-04 // - resourceGroupName - Name of the resource group. // - cloudServiceName - Name of the cloud service. // - parameters - The cloud service object. @@ -961,7 +961,7 @@ func (client *CloudServicesClient) BeginUpdate(ctx context.Context, resourceGrou // Update - Update a cloud service. // If the operation fails it returns an *azcore.ResponseError type. // -// Generated from API version 2022-09-04 +// Generated from API version 2024-11-04 func (client *CloudServicesClient) update(ctx context.Context, resourceGroupName string, cloudServiceName string, parameters CloudServiceUpdate, options *CloudServicesClientBeginUpdateOptions) (*http.Response, error) { var err error const operationName = "CloudServicesClient.BeginUpdate" @@ -1003,7 +1003,7 @@ func (client *CloudServicesClient) updateCreateRequest(ctx context.Context, reso return nil, err } reqQP := req.Raw().URL.Query() - reqQP.Set("api-version", "2022-09-04") + reqQP.Set("api-version", "2024-11-04") req.Raw().URL.RawQuery = reqQP.Encode() req.Raw().Header["Accept"] = []string{"application/json"} if err := runtime.MarshalAsJSON(req, parameters); err != nil { diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute/v6/cloudservicesupdatedomain_client.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute/v6/cloudservicesupdatedomain_client.go index a4bd1e7b12..cf43568df4 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute/v6/cloudservicesupdatedomain_client.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute/v6/cloudservicesupdatedomain_client.go @@ -49,7 +49,7 @@ func NewCloudServicesUpdateDomainClient(subscriptionID string, credential azcore // next page of update domains. Do this till nextLink is null to fetch all the update domains. // If the operation fails it returns an *azcore.ResponseError type. // -// Generated from API version 2022-09-04 +// Generated from API version 2024-11-04 // - resourceGroupName - Name of the resource group. // - cloudServiceName - Name of the cloud service. // - updateDomain - Specifies an integer value that identifies the update domain. Update domains are identified with a zero-based @@ -99,7 +99,7 @@ func (client *CloudServicesUpdateDomainClient) getUpdateDomainCreateRequest(ctx return nil, err } reqQP := req.Raw().URL.Query() - reqQP.Set("api-version", "2022-09-04") + reqQP.Set("api-version", "2024-11-04") req.Raw().URL.RawQuery = reqQP.Encode() req.Raw().Header["Accept"] = []string{"application/json"} return req, nil @@ -116,7 +116,7 @@ func (client *CloudServicesUpdateDomainClient) getUpdateDomainHandleResponse(res // NewListUpdateDomainsPager - Gets a list of all update domains in a cloud service. // -// Generated from API version 2022-09-04 +// Generated from API version 2024-11-04 // - resourceGroupName - Name of the resource group. // - cloudServiceName - Name of the cloud service. // - options - CloudServicesUpdateDomainClientListUpdateDomainsOptions contains the optional parameters for the CloudServicesUpdateDomainClient.NewListUpdateDomainsPager @@ -164,7 +164,7 @@ func (client *CloudServicesUpdateDomainClient) listUpdateDomainsCreateRequest(ct return nil, err } reqQP := req.Raw().URL.Query() - reqQP.Set("api-version", "2022-09-04") + reqQP.Set("api-version", "2024-11-04") req.Raw().URL.RawQuery = reqQP.Encode() req.Raw().Header["Accept"] = []string{"application/json"} return req, nil @@ -182,7 +182,7 @@ func (client *CloudServicesUpdateDomainClient) listUpdateDomainsHandleResponse(r // BeginWalkUpdateDomain - Updates the role instances in the specified update domain. // If the operation fails it returns an *azcore.ResponseError type. // -// Generated from API version 2022-09-04 +// Generated from API version 2024-11-04 // - resourceGroupName - Name of the resource group. // - cloudServiceName - Name of the cloud service. // - updateDomain - Specifies an integer value that identifies the update domain. Update domains are identified with a zero-based @@ -210,7 +210,7 @@ func (client *CloudServicesUpdateDomainClient) BeginWalkUpdateDomain(ctx context // WalkUpdateDomain - Updates the role instances in the specified update domain. // If the operation fails it returns an *azcore.ResponseError type. // -// Generated from API version 2022-09-04 +// Generated from API version 2024-11-04 func (client *CloudServicesUpdateDomainClient) walkUpdateDomain(ctx context.Context, resourceGroupName string, cloudServiceName string, updateDomain int32, parameters UpdateDomain, options *CloudServicesUpdateDomainClientBeginWalkUpdateDomainOptions) (*http.Response, error) { var err error const operationName = "CloudServicesUpdateDomainClient.BeginWalkUpdateDomain" @@ -253,7 +253,7 @@ func (client *CloudServicesUpdateDomainClient) walkUpdateDomainCreateRequest(ctx return nil, err } reqQP := req.Raw().URL.Query() - reqQP.Set("api-version", "2022-09-04") + reqQP.Set("api-version", "2024-11-04") req.Raw().URL.RawQuery = reqQP.Encode() req.Raw().Header["Accept"] = []string{"application/json"} if err := runtime.MarshalAsJSON(req, parameters); err != nil { diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute/v6/constants.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute/v6/constants.go index fd148f9181..82371fb0fb 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute/v6/constants.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute/v6/constants.go @@ -10,7 +10,7 @@ package armcompute const ( moduleName = "github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute" - moduleVersion = "v6.2.0" + moduleVersion = "v6.3.0" ) // AccessControlRulesMode - This property allows you to specify whether the access control rules are in Audit mode, in Enforce diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute/v6/models.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute/v6/models.go index 76d33b9bbe..39265c125a 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute/v6/models.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute/v6/models.go @@ -854,6 +854,10 @@ type CloudServiceVaultAndSecretReference struct { type CloudServiceVaultCertificate struct { // This is the URL of a certificate that has been uploaded to Key Vault as a secret. CertificateURL *string + + // Flag indicating if the certificate provided is a bootstrap certificate to be used by the Key Vault Extension to fetch the + // remaining certificates. + IsBootstrapCertificate *bool } // CloudServiceVaultSecretGroup - Describes a set of certificates which are all in the same Key Vault. diff --git a/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute/v6/models_serde.go b/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute/v6/models_serde.go index 3b44663f39..60a57c555a 100644 --- a/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute/v6/models_serde.go +++ b/vendor/github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute/v6/models_serde.go @@ -2020,6 +2020,7 @@ func (c *CloudServiceVaultAndSecretReference) UnmarshalJSON(data []byte) error { func (c CloudServiceVaultCertificate) MarshalJSON() ([]byte, error) { objectMap := make(map[string]any) populate(objectMap, "certificateUrl", c.CertificateURL) + populate(objectMap, "isBootstrapCertificate", c.IsBootstrapCertificate) return json.Marshal(objectMap) } @@ -2035,6 +2036,9 @@ func (c *CloudServiceVaultCertificate) UnmarshalJSON(data []byte) error { case "certificateUrl": err = unpopulate(val, "CertificateURL", &c.CertificateURL) delete(rawMsg, key) + case "isBootstrapCertificate": + err = unpopulate(val, "IsBootstrapCertificate", &c.IsBootstrapCertificate) + delete(rawMsg, key) } if err != nil { return fmt.Errorf("unmarshalling type %T: %v", c, err) diff --git a/vendor/github.com/AzureAD/microsoft-authentication-library-for-go/apps/internal/oauth/ops/authority/authority.go b/vendor/github.com/AzureAD/microsoft-authentication-library-for-go/apps/internal/oauth/ops/authority/authority.go index 362406554f..c3c4a96fc3 100644 --- a/vendor/github.com/AzureAD/microsoft-authentication-library-for-go/apps/internal/oauth/ops/authority/authority.go +++ b/vendor/github.com/AzureAD/microsoft-authentication-library-for-go/apps/internal/oauth/ops/authority/authority.go @@ -380,8 +380,9 @@ func NewInfoFromAuthorityURI(authority string, validateAuthority bool, instanceD return Info{}, errors.New(`authority must be an URL such as "https://login.microsoftonline.com/"`) } - var authorityType, tenant string - switch pathParts[1] { + authorityType := AAD + tenant := pathParts[1] + switch tenant { case "adfs": authorityType = ADFS case "dstsv2": @@ -393,9 +394,6 @@ func NewInfoFromAuthorityURI(authority string, validateAuthority bool, instanceD } authorityType = DSTS tenant = DSTSTenant - default: - authorityType = AAD - tenant = pathParts[1] } // u.Host includes the port, if any, which is required for private cloud deployments diff --git a/vendor/modules.txt b/vendor/modules.txt index 9eeeaddde1..9fc9c9264d 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -40,7 +40,7 @@ github.com/Azure/azure-sdk-for-go/sdk/internal/uuid # github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/authorization/armauthorization/v2 v2.2.0 ## explicit; go 1.18 github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/authorization/armauthorization/v2 -# github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute/v6 v6.2.0 +# github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute/v6 v6.3.0 ## explicit; go 1.18 github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/compute/armcompute/v6 # github.com/Azure/azure-sdk-for-go/sdk/resourcemanager/containerregistry/armcontainerregistry v1.2.0 @@ -85,7 +85,7 @@ github.com/Azure/azure-sdk-for-go/sdk/storage/azfile/internal/shared github.com/Azure/azure-sdk-for-go/sdk/storage/azfile/sas github.com/Azure/azure-sdk-for-go/sdk/storage/azfile/service github.com/Azure/azure-sdk-for-go/sdk/storage/azfile/share -# github.com/AzureAD/microsoft-authentication-library-for-go v1.3.1 +# github.com/AzureAD/microsoft-authentication-library-for-go v1.3.2 ## explicit; go 1.18 github.com/AzureAD/microsoft-authentication-library-for-go/apps/cache github.com/AzureAD/microsoft-authentication-library-for-go/apps/confidential