From 93ca19b38f67419a014d24c552faedbaa76532eb Mon Sep 17 00:00:00 2001 From: hc-github-team-tf-azure <> Date: Thu, 23 May 2024 17:08:13 +0000 Subject: [PATCH] Updating based on eb0ee640 --- .../hdinsights/model_clusterpoolcomputeprofile.go | 9 +++++++-- .../2024-05-01/hdinsights/model_computeprofile.go | 7 ++++++- .../2023-11-01/associationsinterface/method_delete.go | 1 - .../2023-11-01/frontendsinterface/method_delete.go | 1 - .../trafficcontrollerinterface/method_delete.go | 1 - 5 files changed, 13 insertions(+), 6 deletions(-) diff --git a/resource-manager/hdinsight/2024-05-01/hdinsights/model_clusterpoolcomputeprofile.go b/resource-manager/hdinsight/2024-05-01/hdinsights/model_clusterpoolcomputeprofile.go index 8541da1b180..81433b098c7 100644 --- a/resource-manager/hdinsight/2024-05-01/hdinsights/model_clusterpoolcomputeprofile.go +++ b/resource-manager/hdinsight/2024-05-01/hdinsights/model_clusterpoolcomputeprofile.go @@ -1,9 +1,14 @@ package hdinsights +import ( + "github.com/hashicorp/go-azure-helpers/resourcemanager/zones" +) + // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See NOTICE.txt in the project root for license information. type ClusterPoolComputeProfile struct { - Count *int64 `json:"count,omitempty"` - VMSize string `json:"vmSize"` + AvailabilityZones *zones.Schema `json:"availabilityZones,omitempty"` + Count *int64 `json:"count,omitempty"` + VMSize string `json:"vmSize"` } diff --git a/resource-manager/hdinsight/2024-05-01/hdinsights/model_computeprofile.go b/resource-manager/hdinsight/2024-05-01/hdinsights/model_computeprofile.go index d0c3ece7527..ccba11c47f0 100644 --- a/resource-manager/hdinsight/2024-05-01/hdinsights/model_computeprofile.go +++ b/resource-manager/hdinsight/2024-05-01/hdinsights/model_computeprofile.go @@ -1,8 +1,13 @@ package hdinsights +import ( + "github.com/hashicorp/go-azure-helpers/resourcemanager/zones" +) + // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See NOTICE.txt in the project root for license information. type ComputeProfile struct { - Nodes []NodeProfile `json:"nodes"` + AvailabilityZones *zones.Schema `json:"availabilityZones,omitempty"` + Nodes []NodeProfile `json:"nodes"` } diff --git a/resource-manager/servicenetworking/2023-11-01/associationsinterface/method_delete.go b/resource-manager/servicenetworking/2023-11-01/associationsinterface/method_delete.go index bb567ad5f67..3a1ec07b70e 100644 --- a/resource-manager/servicenetworking/2023-11-01/associationsinterface/method_delete.go +++ b/resource-manager/servicenetworking/2023-11-01/associationsinterface/method_delete.go @@ -27,7 +27,6 @@ func (c AssociationsInterfaceClient) Delete(ctx context.Context, id AssociationI ExpectedStatusCodes: []int{ http.StatusAccepted, http.StatusNoContent, - http.StatusOK, }, HttpMethod: http.MethodDelete, Path: id.ID(), diff --git a/resource-manager/servicenetworking/2023-11-01/frontendsinterface/method_delete.go b/resource-manager/servicenetworking/2023-11-01/frontendsinterface/method_delete.go index 5ffbaf1356c..25ad0defd2a 100644 --- a/resource-manager/servicenetworking/2023-11-01/frontendsinterface/method_delete.go +++ b/resource-manager/servicenetworking/2023-11-01/frontendsinterface/method_delete.go @@ -27,7 +27,6 @@ func (c FrontendsInterfaceClient) Delete(ctx context.Context, id FrontendId) (re ExpectedStatusCodes: []int{ http.StatusAccepted, http.StatusNoContent, - http.StatusOK, }, HttpMethod: http.MethodDelete, Path: id.ID(), diff --git a/resource-manager/servicenetworking/2023-11-01/trafficcontrollerinterface/method_delete.go b/resource-manager/servicenetworking/2023-11-01/trafficcontrollerinterface/method_delete.go index fdc18f1a9f5..c433146cef9 100644 --- a/resource-manager/servicenetworking/2023-11-01/trafficcontrollerinterface/method_delete.go +++ b/resource-manager/servicenetworking/2023-11-01/trafficcontrollerinterface/method_delete.go @@ -27,7 +27,6 @@ func (c TrafficControllerInterfaceClient) Delete(ctx context.Context, id Traffic ExpectedStatusCodes: []int{ http.StatusAccepted, http.StatusNoContent, - http.StatusOK, }, HttpMethod: http.MethodDelete, Path: id.ID(),