diff --git a/internal/services/containers/client/client.go b/internal/services/containers/client/client.go index bc47d9fd866c..62126ab5afd9 100644 --- a/internal/services/containers/client/client.go +++ b/internal/services/containers/client/client.go @@ -10,10 +10,10 @@ import ( containerregistry_v2019_06_01_preview "github.com/hashicorp/go-azure-sdk/resource-manager/containerregistry/2019-06-01-preview" containerregistry_v2021_08_01_preview "github.com/hashicorp/go-azure-sdk/resource-manager/containerregistry/2021-08-01-preview" "github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2019-08-01/containerservices" - "github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/agentpools" - "github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/maintenanceconfigurations" - "github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters" - "github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/snapshots" + "github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/agentpools" + "github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/maintenanceconfigurations" + "github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters" + "github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/snapshots" "github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-10-15/fleetupdatestrategies" "github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-10-15/updateruns" "github.com/hashicorp/go-azure-sdk/resource-manager/kubernetesconfiguration/2022-11-01/extensions" diff --git a/internal/services/containers/kubernetes_addons.go b/internal/services/containers/kubernetes_addons.go index 1c553fbd97f8..5abd571b41f7 100644 --- a/internal/services/containers/kubernetes_addons.go +++ b/internal/services/containers/kubernetes_addons.go @@ -9,7 +9,7 @@ import ( "github.com/hashicorp/go-azure-helpers/lang/pointer" "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" - "github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters" + "github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters" "github.com/hashicorp/go-azure-sdk/resource-manager/operationalinsights/2020-08-01/workspaces" "github.com/hashicorp/go-azure-sdk/sdk/environments" commonValidate "github.com/hashicorp/terraform-provider-azurerm/helpers/validate" diff --git a/internal/services/containers/kubernetes_cluster_data_source.go b/internal/services/containers/kubernetes_cluster_data_source.go index 5fe6b2d9ff8c..c850a37e2871 100644 --- a/internal/services/containers/kubernetes_cluster_data_source.go +++ b/internal/services/containers/kubernetes_cluster_data_source.go @@ -17,7 +17,7 @@ import ( "github.com/hashicorp/go-azure-helpers/resourcemanager/location" "github.com/hashicorp/go-azure-helpers/resourcemanager/tags" "github.com/hashicorp/go-azure-helpers/resourcemanager/zones" - "github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters" + "github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters" "github.com/hashicorp/go-azure-sdk/resource-manager/operationalinsights/2020-08-01/workspaces" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" "github.com/hashicorp/terraform-provider-azurerm/internal/services/containers/kubernetes" diff --git a/internal/services/containers/kubernetes_cluster_node_pool_data_source.go b/internal/services/containers/kubernetes_cluster_node_pool_data_source.go index d06ff1b54c43..1e163dc2f7fe 100644 --- a/internal/services/containers/kubernetes_cluster_node_pool_data_source.go +++ b/internal/services/containers/kubernetes_cluster_node_pool_data_source.go @@ -12,7 +12,7 @@ import ( "github.com/hashicorp/go-azure-helpers/resourcemanager/commonschema" "github.com/hashicorp/go-azure-helpers/resourcemanager/tags" "github.com/hashicorp/go-azure-helpers/resourcemanager/zones" - "github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/agentpools" + "github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/agentpools" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" "github.com/hashicorp/terraform-provider-azurerm/internal/features" "github.com/hashicorp/terraform-provider-azurerm/internal/services/containers/validate" diff --git a/internal/services/containers/kubernetes_cluster_node_pool_resource.go b/internal/services/containers/kubernetes_cluster_node_pool_resource.go index db25ca0de6e1..7e549673c446 100644 --- a/internal/services/containers/kubernetes_cluster_node_pool_resource.go +++ b/internal/services/containers/kubernetes_cluster_node_pool_resource.go @@ -19,9 +19,9 @@ import ( "github.com/hashicorp/go-azure-helpers/resourcemanager/zones" "github.com/hashicorp/go-azure-sdk/resource-manager/compute/2022-03-01/capacityreservationgroups" "github.com/hashicorp/go-azure-sdk/resource-manager/compute/2022-03-01/proximityplacementgroups" - "github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/agentpools" - "github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters" - "github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/snapshots" + "github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/agentpools" + "github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters" + "github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/snapshots" "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-09-01/subnets" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" "github.com/hashicorp/terraform-provider-azurerm/helpers/tf" diff --git a/internal/services/containers/kubernetes_cluster_node_pool_resource_test.go b/internal/services/containers/kubernetes_cluster_node_pool_resource_test.go index 61a405c1cb3e..5fa06d053d7a 100644 --- a/internal/services/containers/kubernetes_cluster_node_pool_resource_test.go +++ b/internal/services/containers/kubernetes_cluster_node_pool_resource_test.go @@ -13,8 +13,8 @@ import ( "github.com/hashicorp/go-azure-helpers/lang/response" "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" - "github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/agentpools" - "github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/snapshots" + "github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/agentpools" + "github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/snapshots" "github.com/hashicorp/terraform-plugin-testing/terraform" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" diff --git a/internal/services/containers/kubernetes_cluster_other_resource_test.go b/internal/services/containers/kubernetes_cluster_other_resource_test.go index 34d18891990a..f6445f5444cd 100644 --- a/internal/services/containers/kubernetes_cluster_other_resource_test.go +++ b/internal/services/containers/kubernetes_cluster_other_resource_test.go @@ -11,8 +11,8 @@ import ( "time" "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" - "github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/agentpools" - "github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/snapshots" + "github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/agentpools" + "github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/snapshots" "github.com/hashicorp/terraform-plugin-testing/terraform" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" diff --git a/internal/services/containers/kubernetes_cluster_resource.go b/internal/services/containers/kubernetes_cluster_resource.go index e4a6c70f9206..6889b4c467bf 100644 --- a/internal/services/containers/kubernetes_cluster_resource.go +++ b/internal/services/containers/kubernetes_cluster_resource.go @@ -20,9 +20,9 @@ import ( "github.com/hashicorp/go-azure-helpers/resourcemanager/identity" "github.com/hashicorp/go-azure-helpers/resourcemanager/location" "github.com/hashicorp/go-azure-helpers/resourcemanager/tags" - "github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/agentpools" - "github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/maintenanceconfigurations" - "github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters" + "github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/agentpools" + "github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/maintenanceconfigurations" + "github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters" dnsValidate "github.com/hashicorp/go-azure-sdk/resource-manager/dns/2018-05-01/zones" "github.com/hashicorp/go-azure-sdk/resource-manager/operationalinsights/2020-08-01/workspaces" "github.com/hashicorp/go-azure-sdk/resource-manager/privatedns/2020-06-01/privatezones" @@ -1444,14 +1444,6 @@ func resourceKubernetesCluster() *pluginsdk.Resource { Optional: true, Default: false, }, - "vertical_pod_autoscaler_update_mode": { - Type: pluginsdk.TypeString, - Computed: true, - }, - "vertical_pod_autoscaler_controlled_values": { - Type: pluginsdk.TypeString, - Computed: true, - }, }, }, }, @@ -1645,6 +1637,35 @@ func resourceKubernetesCluster() *pluginsdk.Resource { }, }, } + resource.Schema["workload_autoscaler_profile"] = &pluginsdk.Schema{ + Type: pluginsdk.TypeList, + Optional: true, + MaxItems: 1, + Elem: &pluginsdk.Resource{ + Schema: map[string]*pluginsdk.Schema{ + "keda_enabled": { + Type: pluginsdk.TypeBool, + Optional: true, + Default: false, + }, + "vertical_pod_autoscaler_enabled": { + Type: pluginsdk.TypeBool, + Optional: true, + Default: false, + }, + "vertical_pod_autoscaler_update_mode": { + Type: pluginsdk.TypeString, + Computed: true, + Deprecated: "The AKS API has removed support for this field on 2023-07-02-preview and is no longer possible to export this value. This property will be removed in v4.0 of the AzureRM provider.", + }, + "vertical_pod_autoscaler_controlled_values": { + Type: pluginsdk.TypeString, + Computed: true, + Deprecated: "The AKS API has removed support for this field on 2023-07-02-preview and is no longer possible to export this value. This property will be removed in v4.0 of the AzureRM provider.", + }, + }, + }, + } } if features.FourPointOhBeta() { @@ -3321,20 +3342,14 @@ func flattenKubernetesClusterWorkloadAutoscalerProfile(profile *managedclusters. } vpaEnabled := false - controlledValues := "" - updateMode := "" if v := profile.VerticalPodAutoscaler; v != nil && v.Enabled { vpaEnabled = v.Enabled - controlledValues = string(v.ControlledValues) - updateMode = string(v.UpdateMode) } return []interface{}{ map[string]interface{}{ - "keda_enabled": kedaEnabled, - "vertical_pod_autoscaler_enabled": vpaEnabled, - "vertical_pod_autoscaler_update_mode": updateMode, - "vertical_pod_autoscaler_controlled_values": controlledValues, + "keda_enabled": kedaEnabled, + "vertical_pod_autoscaler_enabled": vpaEnabled, }, } } @@ -3605,6 +3620,11 @@ func flattenKubernetesClusterNetworkProfile(profile *managedclusters.ContainerSe networkPolicy := "" if profile.NetworkPolicy != nil { networkPolicy = string(*profile.NetworkPolicy) + + // convert "none" network policy to "", because "none" is only supported in preview api-version + if networkPolicy == "none" { + networkPolicy = "" + } } outboundType := "" @@ -4677,7 +4697,7 @@ func expandKubernetesClusterIngressProfile(d *pluginsdk.ResourceData, input []in config := input[0].(map[string]interface{}) dnsZoneResourceId := config["dns_zone_id"].(string) if dnsZoneResourceId != "" { - out.WebAppRouting.DnsZoneResourceId = utils.String(dnsZoneResourceId) + out.WebAppRouting.DnsZoneResourceIds = pointer.To([]string{dnsZoneResourceId}) } } return &out @@ -4689,8 +4709,8 @@ func flattenKubernetesClusterIngressProfile(input *managedclusters.ManagedCluste } dnsZoneId := "" - if v := input.WebAppRouting.DnsZoneResourceId; v != nil { - dnsZoneId = *v + if v := input.WebAppRouting.DnsZoneResourceIds; v != nil && len(*v) != 0 { + dnsZoneId = (*v)[0] } webAppRoutingIdentity := []interface{}{} diff --git a/internal/services/containers/kubernetes_cluster_resource_test.go b/internal/services/containers/kubernetes_cluster_resource_test.go index 252339a63561..febadb60db8a 100644 --- a/internal/services/containers/kubernetes_cluster_resource_test.go +++ b/internal/services/containers/kubernetes_cluster_resource_test.go @@ -11,7 +11,7 @@ import ( "github.com/hashicorp/go-azure-helpers/lang/response" "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" - "github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/agentpools" + "github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/agentpools" "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/containers/kubernetes_cluster_scaling_resource_test.go b/internal/services/containers/kubernetes_cluster_scaling_resource_test.go index 8fa16d755008..d02a07c0c4f9 100644 --- a/internal/services/containers/kubernetes_cluster_scaling_resource_test.go +++ b/internal/services/containers/kubernetes_cluster_scaling_resource_test.go @@ -12,7 +12,7 @@ import ( "github.com/hashicorp/go-azure-helpers/lang/pointer" "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" - "github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/agentpools" + "github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/agentpools" "github.com/hashicorp/terraform-plugin-testing/terraform" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" diff --git a/internal/services/containers/kubernetes_cluster_validate.go b/internal/services/containers/kubernetes_cluster_validate.go index ee4f6630e751..c89a6aa38224 100644 --- a/internal/services/containers/kubernetes_cluster_validate.go +++ b/internal/services/containers/kubernetes_cluster_validate.go @@ -12,8 +12,8 @@ import ( "github.com/hashicorp/go-azure-helpers/lang/response" "github.com/hashicorp/go-azure-helpers/resourcemanager/commonids" "github.com/hashicorp/go-azure-helpers/resourcemanager/identity" - "github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/agentpools" - "github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters" + "github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/agentpools" + "github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters" "github.com/hashicorp/terraform-provider-azurerm/internal/services/containers/client" "github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk" ) diff --git a/internal/services/containers/kubernetes_node_pool_snapshot_data_source.go b/internal/services/containers/kubernetes_node_pool_snapshot_data_source.go index 85a218f7ec6d..5508043697f3 100644 --- a/internal/services/containers/kubernetes_node_pool_snapshot_data_source.go +++ b/internal/services/containers/kubernetes_node_pool_snapshot_data_source.go @@ -11,8 +11,8 @@ 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/containerservice/2023-06-02-preview/agentpools" - "github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/snapshots" + "github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/agentpools" + "github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/snapshots" "github.com/hashicorp/terraform-provider-azurerm/internal/sdk" "github.com/hashicorp/terraform-provider-azurerm/internal/tags" "github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk" diff --git a/internal/services/containers/kubernetes_node_pool_snapshot_data_source_test.go b/internal/services/containers/kubernetes_node_pool_snapshot_data_source_test.go index 41eb77d62175..34bdd6348f4f 100644 --- a/internal/services/containers/kubernetes_node_pool_snapshot_data_source_test.go +++ b/internal/services/containers/kubernetes_node_pool_snapshot_data_source_test.go @@ -8,8 +8,8 @@ import ( "fmt" "testing" - "github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/agentpools" - "github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/snapshots" + "github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/agentpools" + "github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/snapshots" "github.com/hashicorp/terraform-plugin-testing/terraform" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" diff --git a/internal/services/containers/kubernetes_nodepool.go b/internal/services/containers/kubernetes_nodepool.go index de32e6ee4980..f471ef34f4ed 100644 --- a/internal/services/containers/kubernetes_nodepool.go +++ b/internal/services/containers/kubernetes_nodepool.go @@ -17,9 +17,9 @@ import ( "github.com/hashicorp/go-azure-helpers/resourcemanager/zones" "github.com/hashicorp/go-azure-sdk/resource-manager/compute/2022-03-01/capacityreservationgroups" "github.com/hashicorp/go-azure-sdk/resource-manager/compute/2022-03-01/proximityplacementgroups" - "github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/agentpools" - "github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters" - "github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/snapshots" + "github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/agentpools" + "github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters" + "github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/snapshots" "github.com/hashicorp/go-azure-sdk/resource-manager/network/2023-09-01/applicationsecuritygroups" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema" "github.com/hashicorp/terraform-provider-azurerm/internal/features" diff --git a/internal/services/machinelearning/machine_learning_inference_cluster_resource.go b/internal/services/machinelearning/machine_learning_inference_cluster_resource.go index 49dfd2a81bac..9ac1646c8c66 100644 --- a/internal/services/machinelearning/machine_learning_inference_cluster_resource.go +++ b/internal/services/machinelearning/machine_learning_inference_cluster_resource.go @@ -12,7 +12,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/tags" - "github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters" + "github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters" "github.com/hashicorp/go-azure-sdk/resource-manager/machinelearningservices/2023-10-01/machinelearningcomputes" "github.com/hashicorp/go-azure-sdk/resource-manager/machinelearningservices/2023-10-01/workspaces" "github.com/hashicorp/terraform-provider-azurerm/helpers/azure" diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/agentpools/model_managedclusteragentpoolprofileproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/agentpools/model_managedclusteragentpoolprofileproperties.go deleted file mode 100644 index e17191df10f3..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/agentpools/model_managedclusteragentpoolprofileproperties.go +++ /dev/null @@ -1,58 +0,0 @@ -package agentpools - -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 ManagedClusterAgentPoolProfileProperties struct { - AvailabilityZones *zones.Schema `json:"availabilityZones,omitempty"` - CapacityReservationGroupID *string `json:"capacityReservationGroupID,omitempty"` - Count *int64 `json:"count,omitempty"` - CreationData *CreationData `json:"creationData,omitempty"` - CurrentOrchestratorVersion *string `json:"currentOrchestratorVersion,omitempty"` - EnableAutoScaling *bool `json:"enableAutoScaling,omitempty"` - EnableCustomCATrust *bool `json:"enableCustomCATrust,omitempty"` - EnableEncryptionAtHost *bool `json:"enableEncryptionAtHost,omitempty"` - EnableFIPS *bool `json:"enableFIPS,omitempty"` - EnableNodePublicIP *bool `json:"enableNodePublicIP,omitempty"` - EnableUltraSSD *bool `json:"enableUltraSSD,omitempty"` - GpuInstanceProfile *GPUInstanceProfile `json:"gpuInstanceProfile,omitempty"` - HostGroupID *string `json:"hostGroupID,omitempty"` - KubeletConfig *KubeletConfig `json:"kubeletConfig,omitempty"` - KubeletDiskType *KubeletDiskType `json:"kubeletDiskType,omitempty"` - LinuxOSConfig *LinuxOSConfig `json:"linuxOSConfig,omitempty"` - MaxCount *int64 `json:"maxCount,omitempty"` - MaxPods *int64 `json:"maxPods,omitempty"` - MessageOfTheDay *string `json:"messageOfTheDay,omitempty"` - MinCount *int64 `json:"minCount,omitempty"` - Mode *AgentPoolMode `json:"mode,omitempty"` - NetworkProfile *AgentPoolNetworkProfile `json:"networkProfile,omitempty"` - NodeImageVersion *string `json:"nodeImageVersion,omitempty"` - NodeLabels *map[string]string `json:"nodeLabels,omitempty"` - NodePublicIPPrefixID *string `json:"nodePublicIPPrefixID,omitempty"` - NodeTaints *[]string `json:"nodeTaints,omitempty"` - OrchestratorVersion *string `json:"orchestratorVersion,omitempty"` - OsDiskSizeGB *int64 `json:"osDiskSizeGB,omitempty"` - OsDiskType *OSDiskType `json:"osDiskType,omitempty"` - OsSKU *OSSKU `json:"osSKU,omitempty"` - OsType *OSType `json:"osType,omitempty"` - PodSubnetID *string `json:"podSubnetID,omitempty"` - PowerState *PowerState `json:"powerState,omitempty"` - ProvisioningState *string `json:"provisioningState,omitempty"` - ProximityPlacementGroupID *string `json:"proximityPlacementGroupID,omitempty"` - ScaleDownMode *ScaleDownMode `json:"scaleDownMode,omitempty"` - ScaleSetEvictionPolicy *ScaleSetEvictionPolicy `json:"scaleSetEvictionPolicy,omitempty"` - ScaleSetPriority *ScaleSetPriority `json:"scaleSetPriority,omitempty"` - SecurityProfile *AgentPoolSecurityProfile `json:"securityProfile,omitempty"` - SpotMaxPrice *float64 `json:"spotMaxPrice,omitempty"` - Tags *map[string]string `json:"tags,omitempty"` - Type *AgentPoolType `json:"type,omitempty"` - UpgradeSettings *AgentPoolUpgradeSettings `json:"upgradeSettings,omitempty"` - VMSize *string `json:"vmSize,omitempty"` - VnetSubnetID *string `json:"vnetSubnetID,omitempty"` - WindowsProfile *AgentPoolWindowsProfile `json:"windowsProfile,omitempty"` - WorkloadRuntime *WorkloadRuntime `json:"workloadRuntime,omitempty"` -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_managedclusteragentpoolprofile.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_managedclusteragentpoolprofile.go deleted file mode 100644 index 0d8f0f56f76e..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_managedclusteragentpoolprofile.go +++ /dev/null @@ -1,59 +0,0 @@ -package managedclusters - -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 ManagedClusterAgentPoolProfile struct { - AvailabilityZones *zones.Schema `json:"availabilityZones,omitempty"` - CapacityReservationGroupID *string `json:"capacityReservationGroupID,omitempty"` - Count *int64 `json:"count,omitempty"` - CreationData *CreationData `json:"creationData,omitempty"` - CurrentOrchestratorVersion *string `json:"currentOrchestratorVersion,omitempty"` - EnableAutoScaling *bool `json:"enableAutoScaling,omitempty"` - EnableCustomCATrust *bool `json:"enableCustomCATrust,omitempty"` - EnableEncryptionAtHost *bool `json:"enableEncryptionAtHost,omitempty"` - EnableFIPS *bool `json:"enableFIPS,omitempty"` - EnableNodePublicIP *bool `json:"enableNodePublicIP,omitempty"` - EnableUltraSSD *bool `json:"enableUltraSSD,omitempty"` - GpuInstanceProfile *GPUInstanceProfile `json:"gpuInstanceProfile,omitempty"` - HostGroupID *string `json:"hostGroupID,omitempty"` - KubeletConfig *KubeletConfig `json:"kubeletConfig,omitempty"` - KubeletDiskType *KubeletDiskType `json:"kubeletDiskType,omitempty"` - LinuxOSConfig *LinuxOSConfig `json:"linuxOSConfig,omitempty"` - MaxCount *int64 `json:"maxCount,omitempty"` - MaxPods *int64 `json:"maxPods,omitempty"` - MessageOfTheDay *string `json:"messageOfTheDay,omitempty"` - MinCount *int64 `json:"minCount,omitempty"` - Mode *AgentPoolMode `json:"mode,omitempty"` - Name string `json:"name"` - NetworkProfile *AgentPoolNetworkProfile `json:"networkProfile,omitempty"` - NodeImageVersion *string `json:"nodeImageVersion,omitempty"` - NodeLabels *map[string]string `json:"nodeLabels,omitempty"` - NodePublicIPPrefixID *string `json:"nodePublicIPPrefixID,omitempty"` - NodeTaints *[]string `json:"nodeTaints,omitempty"` - OrchestratorVersion *string `json:"orchestratorVersion,omitempty"` - OsDiskSizeGB *int64 `json:"osDiskSizeGB,omitempty"` - OsDiskType *OSDiskType `json:"osDiskType,omitempty"` - OsSKU *OSSKU `json:"osSKU,omitempty"` - OsType *OSType `json:"osType,omitempty"` - PodSubnetID *string `json:"podSubnetID,omitempty"` - PowerState *PowerState `json:"powerState,omitempty"` - ProvisioningState *string `json:"provisioningState,omitempty"` - ProximityPlacementGroupID *string `json:"proximityPlacementGroupID,omitempty"` - ScaleDownMode *ScaleDownMode `json:"scaleDownMode,omitempty"` - ScaleSetEvictionPolicy *ScaleSetEvictionPolicy `json:"scaleSetEvictionPolicy,omitempty"` - ScaleSetPriority *ScaleSetPriority `json:"scaleSetPriority,omitempty"` - SecurityProfile *AgentPoolSecurityProfile `json:"securityProfile,omitempty"` - SpotMaxPrice *float64 `json:"spotMaxPrice,omitempty"` - Tags *map[string]string `json:"tags,omitempty"` - Type *AgentPoolType `json:"type,omitempty"` - UpgradeSettings *AgentPoolUpgradeSettings `json:"upgradeSettings,omitempty"` - VMSize *string `json:"vmSize,omitempty"` - VnetSubnetID *string `json:"vnetSubnetID,omitempty"` - WindowsProfile *AgentPoolWindowsProfile `json:"windowsProfile,omitempty"` - WorkloadRuntime *WorkloadRuntime `json:"workloadRuntime,omitempty"` -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_managedclusterazuremonitorprofilemetrics.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_managedclusterazuremonitorprofilemetrics.go deleted file mode 100644 index 5c173441517a..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_managedclusterazuremonitorprofilemetrics.go +++ /dev/null @@ -1,9 +0,0 @@ -package managedclusters - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -type ManagedClusterAzureMonitorProfileMetrics struct { - Enabled bool `json:"enabled"` - KubeStateMetrics *ManagedClusterAzureMonitorProfileKubeStateMetrics `json:"kubeStateMetrics,omitempty"` -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_managedclusterproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_managedclusterproperties.go deleted file mode 100644 index 6c9e5762bcc7..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_managedclusterproperties.go +++ /dev/null @@ -1,50 +0,0 @@ -package managedclusters - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -type ManagedClusterProperties struct { - AadProfile *ManagedClusterAADProfile `json:"aadProfile,omitempty"` - AddonProfiles *map[string]ManagedClusterAddonProfile `json:"addonProfiles,omitempty"` - AgentPoolProfiles *[]ManagedClusterAgentPoolProfile `json:"agentPoolProfiles,omitempty"` - ApiServerAccessProfile *ManagedClusterAPIServerAccessProfile `json:"apiServerAccessProfile,omitempty"` - AutoScalerProfile *ManagedClusterPropertiesAutoScalerProfile `json:"autoScalerProfile,omitempty"` - AutoUpgradeProfile *ManagedClusterAutoUpgradeProfile `json:"autoUpgradeProfile,omitempty"` - AzureMonitorProfile *ManagedClusterAzureMonitorProfile `json:"azureMonitorProfile,omitempty"` - AzurePortalFQDN *string `json:"azurePortalFQDN,omitempty"` - CreationData *CreationData `json:"creationData,omitempty"` - CurrentKubernetesVersion *string `json:"currentKubernetesVersion,omitempty"` - DisableLocalAccounts *bool `json:"disableLocalAccounts,omitempty"` - DiskEncryptionSetID *string `json:"diskEncryptionSetID,omitempty"` - DnsPrefix *string `json:"dnsPrefix,omitempty"` - EnableNamespaceResources *bool `json:"enableNamespaceResources,omitempty"` - EnablePodSecurityPolicy *bool `json:"enablePodSecurityPolicy,omitempty"` - EnableRBAC *bool `json:"enableRBAC,omitempty"` - Fqdn *string `json:"fqdn,omitempty"` - FqdnSubdomain *string `json:"fqdnSubdomain,omitempty"` - GuardrailsProfile *GuardrailsProfile `json:"guardrailsProfile,omitempty"` - HTTPProxyConfig *ManagedClusterHTTPProxyConfig `json:"httpProxyConfig,omitempty"` - IdentityProfile *map[string]UserAssignedIdentity `json:"identityProfile,omitempty"` - IngressProfile *ManagedClusterIngressProfile `json:"ingressProfile,omitempty"` - KubernetesVersion *string `json:"kubernetesVersion,omitempty"` - LinuxProfile *ContainerServiceLinuxProfile `json:"linuxProfile,omitempty"` - MaxAgentPools *int64 `json:"maxAgentPools,omitempty"` - NetworkProfile *ContainerServiceNetworkProfile `json:"networkProfile,omitempty"` - NodeResourceGroup *string `json:"nodeResourceGroup,omitempty"` - NodeResourceGroupProfile *ManagedClusterNodeResourceGroupProfile `json:"nodeResourceGroupProfile,omitempty"` - OidcIssuerProfile *ManagedClusterOIDCIssuerProfile `json:"oidcIssuerProfile,omitempty"` - PodIdentityProfile *ManagedClusterPodIdentityProfile `json:"podIdentityProfile,omitempty"` - PowerState *PowerState `json:"powerState,omitempty"` - PrivateFQDN *string `json:"privateFQDN,omitempty"` - PrivateLinkResources *[]PrivateLinkResource `json:"privateLinkResources,omitempty"` - ProvisioningState *string `json:"provisioningState,omitempty"` - PublicNetworkAccess *PublicNetworkAccess `json:"publicNetworkAccess,omitempty"` - SecurityProfile *ManagedClusterSecurityProfile `json:"securityProfile,omitempty"` - ServiceMeshProfile *ServiceMeshProfile `json:"serviceMeshProfile,omitempty"` - ServicePrincipalProfile *ManagedClusterServicePrincipalProfile `json:"servicePrincipalProfile,omitempty"` - StorageProfile *ManagedClusterStorageProfile `json:"storageProfile,omitempty"` - SupportPlan *KubernetesSupportPlan `json:"supportPlan,omitempty"` - UpgradeSettings *ClusterUpgradeSettings `json:"upgradeSettings,omitempty"` - WindowsProfile *ManagedClusterWindowsProfile `json:"windowsProfile,omitempty"` - WorkloadAutoScalerProfile *ManagedClusterWorkloadAutoScalerProfile `json:"workloadAutoScalerProfile,omitempty"` -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_managedclusterpropertiesautoscalerprofile.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_managedclusterpropertiesautoscalerprofile.go deleted file mode 100644 index 17fe396efa81..000000000000 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_managedclusterpropertiesautoscalerprofile.go +++ /dev/null @@ -1,24 +0,0 @@ -package managedclusters - -// Copyright (c) Microsoft Corporation. All rights reserved. -// Licensed under the MIT License. See NOTICE.txt in the project root for license information. - -type ManagedClusterPropertiesAutoScalerProfile struct { - BalanceSimilarNodeGroups *string `json:"balance-similar-node-groups,omitempty"` - Expander *Expander `json:"expander,omitempty"` - MaxEmptyBulkDelete *string `json:"max-empty-bulk-delete,omitempty"` - MaxGracefulTerminationSec *string `json:"max-graceful-termination-sec,omitempty"` - MaxNodeProvisionTime *string `json:"max-node-provision-time,omitempty"` - MaxTotalUnreadyPercentage *string `json:"max-total-unready-percentage,omitempty"` - NewPodScaleUpDelay *string `json:"new-pod-scale-up-delay,omitempty"` - OkTotalUnreadyCount *string `json:"ok-total-unready-count,omitempty"` - ScaleDownDelayAfterAdd *string `json:"scale-down-delay-after-add,omitempty"` - ScaleDownDelayAfterDelete *string `json:"scale-down-delay-after-delete,omitempty"` - ScaleDownDelayAfterFailure *string `json:"scale-down-delay-after-failure,omitempty"` - ScaleDownUnneededTime *string `json:"scale-down-unneeded-time,omitempty"` - ScaleDownUnreadyTime *string `json:"scale-down-unready-time,omitempty"` - ScaleDownUtilizationThreshold *string `json:"scale-down-utilization-threshold,omitempty"` - ScanInterval *string `json:"scan-interval,omitempty"` - SkipNodesWithLocalStorage *string `json:"skip-nodes-with-local-storage,omitempty"` - SkipNodesWithSystemPods *string `json:"skip-nodes-with-system-pods,omitempty"` -} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/agentpools/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/agentpools/README.md similarity index 95% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/agentpools/README.md rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/agentpools/README.md index 5aacd4d47798..fb9f674841df 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/agentpools/README.md +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/agentpools/README.md @@ -1,7 +1,7 @@ -## `github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/agentpools` Documentation +## `github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/agentpools` Documentation -The `agentpools` SDK allows for interaction with the Azure Resource Manager Service `containerservice` (API Version `2023-06-02-preview`). +The `agentpools` SDK allows for interaction with the Azure Resource Manager Service `containerservice` (API Version `2023-09-02-preview`). 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/containerservice/2023-06-02-preview/agentpools" +import "github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/agentpools" ``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/agentpools/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/agentpools/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/agentpools/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/agentpools/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/agentpools/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/agentpools/constants.go similarity index 96% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/agentpools/constants.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/agentpools/constants.go index f4ed24fc4445..24305aa95a30 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/agentpools/constants.go +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/agentpools/constants.go @@ -96,12 +96,14 @@ type AgentPoolType string const ( AgentPoolTypeAvailabilitySet AgentPoolType = "AvailabilitySet" AgentPoolTypeVirtualMachineScaleSets AgentPoolType = "VirtualMachineScaleSets" + AgentPoolTypeVirtualMachines AgentPoolType = "VirtualMachines" ) func PossibleValuesForAgentPoolType() []string { return []string{ string(AgentPoolTypeAvailabilitySet), string(AgentPoolTypeVirtualMachineScaleSets), + string(AgentPoolTypeVirtualMachines), } } @@ -122,6 +124,7 @@ func parseAgentPoolType(input string) (*AgentPoolType, error) { vals := map[string]AgentPoolType{ "availabilityset": AgentPoolTypeAvailabilitySet, "virtualmachinescalesets": AgentPoolTypeVirtualMachineScaleSets, + "virtualmachines": AgentPoolTypeVirtualMachines, } if v, ok := vals[strings.ToLower(input)]; ok { return &v, nil @@ -312,6 +315,7 @@ const ( OSSKUCBLMariner OSSKU = "CBLMariner" OSSKUMariner OSSKU = "Mariner" OSSKUUbuntu OSSKU = "Ubuntu" + OSSKUWindowsAnnual OSSKU = "WindowsAnnual" OSSKUWindowsTwoZeroOneNine OSSKU = "Windows2019" OSSKUWindowsTwoZeroTwoTwo OSSKU = "Windows2022" ) @@ -322,6 +326,7 @@ func PossibleValuesForOSSKU() []string { string(OSSKUCBLMariner), string(OSSKUMariner), string(OSSKUUbuntu), + string(OSSKUWindowsAnnual), string(OSSKUWindowsTwoZeroOneNine), string(OSSKUWindowsTwoZeroTwoTwo), } @@ -342,12 +347,13 @@ func (s *OSSKU) UnmarshalJSON(bytes []byte) error { func parseOSSKU(input string) (*OSSKU, error) { vals := map[string]OSSKU{ - "azurelinux": OSSKUAzureLinux, - "cblmariner": OSSKUCBLMariner, - "mariner": OSSKUMariner, - "ubuntu": OSSKUUbuntu, - "windows2019": OSSKUWindowsTwoZeroOneNine, - "windows2022": OSSKUWindowsTwoZeroTwoTwo, + "azurelinux": OSSKUAzureLinux, + "cblmariner": OSSKUCBLMariner, + "mariner": OSSKUMariner, + "ubuntu": OSSKUUbuntu, + "windowsannual": OSSKUWindowsAnnual, + "windows2019": OSSKUWindowsTwoZeroOneNine, + "windows2022": OSSKUWindowsTwoZeroTwoTwo, } if v, ok := vals[strings.ToLower(input)]; ok { return &v, nil diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/agentpools/id_agentpool.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/agentpools/id_agentpool.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/agentpools/id_agentpool.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/agentpools/id_agentpool.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/agentpools/method_abortlatestoperation.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/agentpools/method_abortlatestoperation.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/agentpools/method_abortlatestoperation.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/agentpools/method_abortlatestoperation.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/agentpools/method_createorupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/agentpools/method_createorupdate.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/agentpools/method_createorupdate.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/agentpools/method_createorupdate.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/agentpools/method_delete.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/agentpools/method_delete.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/agentpools/method_delete.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/agentpools/method_delete.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/agentpools/method_get.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/agentpools/method_get.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/agentpools/method_get.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/agentpools/method_get.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/agentpools/method_getavailableagentpoolversions.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/agentpools/method_getavailableagentpoolversions.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/agentpools/method_getavailableagentpoolversions.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/agentpools/method_getavailableagentpoolversions.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/agentpools/method_getupgradeprofile.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/agentpools/method_getupgradeprofile.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/agentpools/method_getupgradeprofile.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/agentpools/method_getupgradeprofile.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/agentpools/method_list.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/agentpools/method_list.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/agentpools/method_list.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/agentpools/method_list.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/agentpools/method_upgradenodeimageversion.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/agentpools/method_upgradenodeimageversion.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/agentpools/method_upgradenodeimageversion.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/agentpools/method_upgradenodeimageversion.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/agentpools/model_agentpool.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/agentpools/model_agentpool.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/agentpools/model_agentpool.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/agentpools/model_agentpool.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/agentpools/model_agentpoolupgradesettings.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/agentpools/model_agentpoolartifactstreamingprofile.go similarity index 51% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/agentpools/model_agentpoolupgradesettings.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/agentpools/model_agentpoolartifactstreamingprofile.go index 687f12860ff2..2c5eb8911dc7 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/agentpools/model_agentpoolupgradesettings.go +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/agentpools/model_agentpoolartifactstreamingprofile.go @@ -3,7 +3,6 @@ package agentpools // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See NOTICE.txt in the project root for license information. -type AgentPoolUpgradeSettings struct { - DrainTimeoutInMinutes *int64 `json:"drainTimeoutInMinutes,omitempty"` - MaxSurge *string `json:"maxSurge,omitempty"` +type AgentPoolArtifactStreamingProfile struct { + Enabled *bool `json:"enabled,omitempty"` } diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/agentpools/model_agentpoolavailableversions.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/agentpools/model_agentpoolavailableversions.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/agentpools/model_agentpoolavailableversions.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/agentpools/model_agentpoolavailableversions.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/agentpools/model_agentpoolavailableversionsproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/agentpools/model_agentpoolavailableversionsproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/agentpools/model_agentpoolavailableversionsproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/agentpools/model_agentpoolavailableversionsproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/agentpools/model_agentpoolavailableversionspropertiesagentpoolversionsinlined.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/agentpools/model_agentpoolavailableversionspropertiesagentpoolversionsinlined.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/agentpools/model_agentpoolavailableversionspropertiesagentpoolversionsinlined.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/agentpools/model_agentpoolavailableversionspropertiesagentpoolversionsinlined.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/agentpools/model_agentpoolgpuprofile.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/agentpools/model_agentpoolgpuprofile.go new file mode 100644 index 000000000000..ad7abfd97f65 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/agentpools/model_agentpoolgpuprofile.go @@ -0,0 +1,8 @@ +package agentpools + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type AgentPoolGPUProfile struct { + InstallGPUDriver *bool `json:"installGPUDriver,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/agentpools/model_agentpoolnetworkprofile.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/agentpools/model_agentpoolnetworkprofile.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/agentpools/model_agentpoolnetworkprofile.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/agentpools/model_agentpoolnetworkprofile.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/agentpools/model_agentpoolsecurityprofile.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/agentpools/model_agentpoolsecurityprofile.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/agentpools/model_agentpoolsecurityprofile.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/agentpools/model_agentpoolsecurityprofile.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/agentpools/model_agentpoolupgradeprofile.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/agentpools/model_agentpoolupgradeprofile.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/agentpools/model_agentpoolupgradeprofile.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/agentpools/model_agentpoolupgradeprofile.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/agentpools/model_agentpoolupgradeprofileproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/agentpools/model_agentpoolupgradeprofileproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/agentpools/model_agentpoolupgradeprofileproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/agentpools/model_agentpoolupgradeprofileproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/agentpools/model_agentpoolupgradeprofilepropertiesupgradesinlined.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/agentpools/model_agentpoolupgradeprofilepropertiesupgradesinlined.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/agentpools/model_agentpoolupgradeprofilepropertiesupgradesinlined.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/agentpools/model_agentpoolupgradeprofilepropertiesupgradesinlined.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/agentpools/model_agentpoolupgradesettings.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/agentpools/model_agentpoolupgradesettings.go new file mode 100644 index 000000000000..c7afb34fc0c7 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/agentpools/model_agentpoolupgradesettings.go @@ -0,0 +1,10 @@ +package agentpools + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type AgentPoolUpgradeSettings struct { + DrainTimeoutInMinutes *int64 `json:"drainTimeoutInMinutes,omitempty"` + MaxSurge *string `json:"maxSurge,omitempty"` + NodeSoakDurationInMinutes *int64 `json:"nodeSoakDurationInMinutes,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/agentpools/model_agentpoolwindowsprofile.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/agentpools/model_agentpoolwindowsprofile.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/agentpools/model_agentpoolwindowsprofile.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/agentpools/model_agentpoolwindowsprofile.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/agentpools/model_creationdata.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/agentpools/model_creationdata.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/agentpools/model_creationdata.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/agentpools/model_creationdata.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/agentpools/model_iptag.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/agentpools/model_iptag.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/agentpools/model_iptag.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/agentpools/model_iptag.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/agentpools/model_kubeletconfig.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/agentpools/model_kubeletconfig.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/agentpools/model_kubeletconfig.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/agentpools/model_kubeletconfig.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/agentpools/model_linuxosconfig.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/agentpools/model_linuxosconfig.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/agentpools/model_linuxosconfig.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/agentpools/model_linuxosconfig.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/agentpools/model_managedclusteragentpoolprofileproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/agentpools/model_managedclusteragentpoolprofileproperties.go new file mode 100644 index 000000000000..ef2f5729d3e3 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/agentpools/model_managedclusteragentpoolprofileproperties.go @@ -0,0 +1,60 @@ +package agentpools + +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 ManagedClusterAgentPoolProfileProperties struct { + ArtifactStreamingProfile *AgentPoolArtifactStreamingProfile `json:"artifactStreamingProfile,omitempty"` + AvailabilityZones *zones.Schema `json:"availabilityZones,omitempty"` + CapacityReservationGroupID *string `json:"capacityReservationGroupID,omitempty"` + Count *int64 `json:"count,omitempty"` + CreationData *CreationData `json:"creationData,omitempty"` + CurrentOrchestratorVersion *string `json:"currentOrchestratorVersion,omitempty"` + EnableAutoScaling *bool `json:"enableAutoScaling,omitempty"` + EnableCustomCATrust *bool `json:"enableCustomCATrust,omitempty"` + EnableEncryptionAtHost *bool `json:"enableEncryptionAtHost,omitempty"` + EnableFIPS *bool `json:"enableFIPS,omitempty"` + EnableNodePublicIP *bool `json:"enableNodePublicIP,omitempty"` + EnableUltraSSD *bool `json:"enableUltraSSD,omitempty"` + GpuInstanceProfile *GPUInstanceProfile `json:"gpuInstanceProfile,omitempty"` + GpuProfile *AgentPoolGPUProfile `json:"gpuProfile,omitempty"` + HostGroupID *string `json:"hostGroupID,omitempty"` + KubeletConfig *KubeletConfig `json:"kubeletConfig,omitempty"` + KubeletDiskType *KubeletDiskType `json:"kubeletDiskType,omitempty"` + LinuxOSConfig *LinuxOSConfig `json:"linuxOSConfig,omitempty"` + MaxCount *int64 `json:"maxCount,omitempty"` + MaxPods *int64 `json:"maxPods,omitempty"` + MessageOfTheDay *string `json:"messageOfTheDay,omitempty"` + MinCount *int64 `json:"minCount,omitempty"` + Mode *AgentPoolMode `json:"mode,omitempty"` + NetworkProfile *AgentPoolNetworkProfile `json:"networkProfile,omitempty"` + NodeImageVersion *string `json:"nodeImageVersion,omitempty"` + NodeLabels *map[string]string `json:"nodeLabels,omitempty"` + NodePublicIPPrefixID *string `json:"nodePublicIPPrefixID,omitempty"` + NodeTaints *[]string `json:"nodeTaints,omitempty"` + OrchestratorVersion *string `json:"orchestratorVersion,omitempty"` + OsDiskSizeGB *int64 `json:"osDiskSizeGB,omitempty"` + OsDiskType *OSDiskType `json:"osDiskType,omitempty"` + OsSKU *OSSKU `json:"osSKU,omitempty"` + OsType *OSType `json:"osType,omitempty"` + PodSubnetID *string `json:"podSubnetID,omitempty"` + PowerState *PowerState `json:"powerState,omitempty"` + ProvisioningState *string `json:"provisioningState,omitempty"` + ProximityPlacementGroupID *string `json:"proximityPlacementGroupID,omitempty"` + ScaleDownMode *ScaleDownMode `json:"scaleDownMode,omitempty"` + ScaleSetEvictionPolicy *ScaleSetEvictionPolicy `json:"scaleSetEvictionPolicy,omitempty"` + ScaleSetPriority *ScaleSetPriority `json:"scaleSetPriority,omitempty"` + SecurityProfile *AgentPoolSecurityProfile `json:"securityProfile,omitempty"` + SpotMaxPrice *float64 `json:"spotMaxPrice,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` + Type *AgentPoolType `json:"type,omitempty"` + UpgradeSettings *AgentPoolUpgradeSettings `json:"upgradeSettings,omitempty"` + VMSize *string `json:"vmSize,omitempty"` + VnetSubnetID *string `json:"vnetSubnetID,omitempty"` + WindowsProfile *AgentPoolWindowsProfile `json:"windowsProfile,omitempty"` + WorkloadRuntime *WorkloadRuntime `json:"workloadRuntime,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/agentpools/model_portrange.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/agentpools/model_portrange.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/agentpools/model_portrange.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/agentpools/model_portrange.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/agentpools/model_powerstate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/agentpools/model_powerstate.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/agentpools/model_powerstate.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/agentpools/model_powerstate.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/agentpools/model_sysctlconfig.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/agentpools/model_sysctlconfig.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/agentpools/model_sysctlconfig.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/agentpools/model_sysctlconfig.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/agentpools/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/agentpools/predicates.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/agentpools/predicates.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/agentpools/predicates.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/agentpools/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/agentpools/version.go similarity index 86% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/agentpools/version.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/agentpools/version.go index 67d912e4e27f..48761a952157 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/agentpools/version.go +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/agentpools/version.go @@ -5,7 +5,7 @@ import "fmt" // 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-06-02-preview" +const defaultApiVersion = "2023-09-02-preview" func userAgent() string { return fmt.Sprintf("hashicorp/go-azure-sdk/agentpools/%s", defaultApiVersion) diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/maintenanceconfigurations/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/maintenanceconfigurations/README.md similarity index 94% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/maintenanceconfigurations/README.md rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/maintenanceconfigurations/README.md index bd9d5cc01bd8..257970049ecf 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/maintenanceconfigurations/README.md +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/maintenanceconfigurations/README.md @@ -1,7 +1,7 @@ -## `github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/maintenanceconfigurations` Documentation +## `github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/maintenanceconfigurations` Documentation -The `maintenanceconfigurations` SDK allows for interaction with the Azure Resource Manager Service `containerservice` (API Version `2023-06-02-preview`). +The `maintenanceconfigurations` SDK allows for interaction with the Azure Resource Manager Service `containerservice` (API Version `2023-09-02-preview`). 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/containerservice/2023-06-02-preview/maintenanceconfigurations" +import "github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/maintenanceconfigurations" ``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/maintenanceconfigurations/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/maintenanceconfigurations/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/maintenanceconfigurations/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/maintenanceconfigurations/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/maintenanceconfigurations/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/maintenanceconfigurations/constants.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/maintenanceconfigurations/constants.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/maintenanceconfigurations/constants.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/maintenanceconfigurations/id_maintenanceconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/maintenanceconfigurations/id_maintenanceconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/maintenanceconfigurations/id_maintenanceconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/maintenanceconfigurations/id_maintenanceconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/maintenanceconfigurations/method_createorupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/maintenanceconfigurations/method_createorupdate.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/maintenanceconfigurations/method_createorupdate.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/maintenanceconfigurations/method_createorupdate.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/maintenanceconfigurations/method_delete.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/maintenanceconfigurations/method_delete.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/maintenanceconfigurations/method_delete.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/maintenanceconfigurations/method_delete.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/maintenanceconfigurations/method_get.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/maintenanceconfigurations/method_get.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/maintenanceconfigurations/method_get.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/maintenanceconfigurations/method_get.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/maintenanceconfigurations/method_listbymanagedcluster.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/maintenanceconfigurations/method_listbymanagedcluster.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/maintenanceconfigurations/method_listbymanagedcluster.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/maintenanceconfigurations/method_listbymanagedcluster.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/maintenanceconfigurations/model_absolutemonthlyschedule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/maintenanceconfigurations/model_absolutemonthlyschedule.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/maintenanceconfigurations/model_absolutemonthlyschedule.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/maintenanceconfigurations/model_absolutemonthlyschedule.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/maintenanceconfigurations/model_dailyschedule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/maintenanceconfigurations/model_dailyschedule.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/maintenanceconfigurations/model_dailyschedule.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/maintenanceconfigurations/model_dailyschedule.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/maintenanceconfigurations/model_datespan.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/maintenanceconfigurations/model_datespan.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/maintenanceconfigurations/model_datespan.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/maintenanceconfigurations/model_datespan.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/maintenanceconfigurations/model_maintenanceconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/maintenanceconfigurations/model_maintenanceconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/maintenanceconfigurations/model_maintenanceconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/maintenanceconfigurations/model_maintenanceconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/maintenanceconfigurations/model_maintenanceconfigurationproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/maintenanceconfigurations/model_maintenanceconfigurationproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/maintenanceconfigurations/model_maintenanceconfigurationproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/maintenanceconfigurations/model_maintenanceconfigurationproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/maintenanceconfigurations/model_maintenancewindow.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/maintenanceconfigurations/model_maintenancewindow.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/maintenanceconfigurations/model_maintenancewindow.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/maintenanceconfigurations/model_maintenancewindow.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/maintenanceconfigurations/model_relativemonthlyschedule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/maintenanceconfigurations/model_relativemonthlyschedule.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/maintenanceconfigurations/model_relativemonthlyschedule.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/maintenanceconfigurations/model_relativemonthlyschedule.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/maintenanceconfigurations/model_schedule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/maintenanceconfigurations/model_schedule.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/maintenanceconfigurations/model_schedule.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/maintenanceconfigurations/model_schedule.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/maintenanceconfigurations/model_timeinweek.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/maintenanceconfigurations/model_timeinweek.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/maintenanceconfigurations/model_timeinweek.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/maintenanceconfigurations/model_timeinweek.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/maintenanceconfigurations/model_timespan.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/maintenanceconfigurations/model_timespan.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/maintenanceconfigurations/model_timespan.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/maintenanceconfigurations/model_timespan.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/maintenanceconfigurations/model_weeklyschedule.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/maintenanceconfigurations/model_weeklyschedule.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/maintenanceconfigurations/model_weeklyschedule.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/maintenanceconfigurations/model_weeklyschedule.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/maintenanceconfigurations/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/maintenanceconfigurations/predicates.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/maintenanceconfigurations/predicates.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/maintenanceconfigurations/predicates.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/maintenanceconfigurations/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/maintenanceconfigurations/version.go similarity index 87% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/maintenanceconfigurations/version.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/maintenanceconfigurations/version.go index a5c43f23238e..062be9079281 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/maintenanceconfigurations/version.go +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/maintenanceconfigurations/version.go @@ -5,7 +5,7 @@ import "fmt" // 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-06-02-preview" +const defaultApiVersion = "2023-09-02-preview" func userAgent() string { return fmt.Sprintf("hashicorp/go-azure-sdk/maintenanceconfigurations/%s", defaultApiVersion) diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/README.md similarity index 92% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/README.md rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/README.md index 2b9b1e1f9833..feabd3665b6d 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/README.md +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/README.md @@ -1,7 +1,7 @@ -## `github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters` Documentation +## `github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters` Documentation -The `managedclusters` SDK allows for interaction with the Azure Resource Manager Service `containerservice` (API Version `2023-06-02-preview`). +The `managedclusters` SDK allows for interaction with the Azure Resource Manager Service `containerservice` (API Version `2023-09-02-preview`). 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/containerservice/2023-06-02-preview/managedclusters" +import "github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters" ``` @@ -110,6 +110,22 @@ if model := read.Model; model != nil { ``` +### Example Usage: `ManagedClustersClient.GetGuardrailsVersions` + +```go +ctx := context.TODO() +id := managedclusters.NewGuardrailsVersionID("12345678-1234-9876-4563-123456789012", "locationValue", "guardrailsVersionValue") + +read, err := client.GetGuardrailsVersions(ctx, id) +if err != nil { + // handle the error +} +if model := read.Model; model != nil { + // do something with the model/response object +} +``` + + ### Example Usage: `ManagedClustersClient.GetMeshRevisionProfile` ```go @@ -256,6 +272,23 @@ if model := read.Model; model != nil { ``` +### Example Usage: `ManagedClustersClient.ListGuardrailsVersions` + +```go +ctx := context.TODO() +id := managedclusters.NewLocationID("12345678-1234-9876-4563-123456789012", "locationValue") + +// alternatively `client.ListGuardrailsVersions(ctx, id)` can be used to do batched pagination +items, err := client.ListGuardrailsVersionsComplete(ctx, id) +if err != nil { + // handle the error +} +for _, item := range items { + // do something +} +``` + + ### Example Usage: `ManagedClustersClient.ListKubernetesVersions` ```go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/constants.go similarity index 94% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/constants.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/constants.go index 38ea88f7e8e4..a5155a2bdcb5 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/constants.go +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/constants.go @@ -9,6 +9,47 @@ import ( // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See NOTICE.txt in the project root for license information. +type AddonAutoscaling string + +const ( + AddonAutoscalingDisabled AddonAutoscaling = "Disabled" + AddonAutoscalingEnabled AddonAutoscaling = "Enabled" +) + +func PossibleValuesForAddonAutoscaling() []string { + return []string{ + string(AddonAutoscalingDisabled), + string(AddonAutoscalingEnabled), + } +} + +func (s *AddonAutoscaling) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseAddonAutoscaling(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseAddonAutoscaling(input string) (*AddonAutoscaling, error) { + vals := map[string]AddonAutoscaling{ + "disabled": AddonAutoscalingDisabled, + "enabled": AddonAutoscalingEnabled, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := AddonAutoscaling(input) + return &out, nil +} + type AgentPoolMode string const ( @@ -96,12 +137,14 @@ type AgentPoolType string const ( AgentPoolTypeAvailabilitySet AgentPoolType = "AvailabilitySet" AgentPoolTypeVirtualMachineScaleSets AgentPoolType = "VirtualMachineScaleSets" + AgentPoolTypeVirtualMachines AgentPoolType = "VirtualMachines" ) func PossibleValuesForAgentPoolType() []string { return []string{ string(AgentPoolTypeAvailabilitySet), string(AgentPoolTypeVirtualMachineScaleSets), + string(AgentPoolTypeVirtualMachines), } } @@ -122,6 +165,7 @@ func parseAgentPoolType(input string) (*AgentPoolType, error) { vals := map[string]AgentPoolType{ "availabilityset": AgentPoolTypeAvailabilitySet, "virtualmachinescalesets": AgentPoolTypeVirtualMachineScaleSets, + "virtualmachines": AgentPoolTypeVirtualMachines, } if v, ok := vals[strings.ToLower(input)]; ok { return &v, nil @@ -214,85 +258,6 @@ func parseCode(input string) (*Code, error) { return &out, nil } -type ControlPlaneUpgradeOverride string - -const ( - ControlPlaneUpgradeOverrideIgnoreKubernetesDeprecations ControlPlaneUpgradeOverride = "IgnoreKubernetesDeprecations" -) - -func PossibleValuesForControlPlaneUpgradeOverride() []string { - return []string{ - string(ControlPlaneUpgradeOverrideIgnoreKubernetesDeprecations), - } -} - -func (s *ControlPlaneUpgradeOverride) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseControlPlaneUpgradeOverride(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseControlPlaneUpgradeOverride(input string) (*ControlPlaneUpgradeOverride, error) { - vals := map[string]ControlPlaneUpgradeOverride{ - "ignorekubernetesdeprecations": ControlPlaneUpgradeOverrideIgnoreKubernetesDeprecations, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := ControlPlaneUpgradeOverride(input) - return &out, nil -} - -type ControlledValues string - -const ( - ControlledValuesRequestsAndLimits ControlledValues = "RequestsAndLimits" - ControlledValuesRequestsOnly ControlledValues = "RequestsOnly" -) - -func PossibleValuesForControlledValues() []string { - return []string{ - string(ControlledValuesRequestsAndLimits), - string(ControlledValuesRequestsOnly), - } -} - -func (s *ControlledValues) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseControlledValues(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseControlledValues(input string) (*ControlledValues, error) { - vals := map[string]ControlledValues{ - "requestsandlimits": ControlledValuesRequestsAndLimits, - "requestsonly": ControlledValuesRequestsOnly, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := ControlledValues(input) - return &out, nil -} - type Expander string const ( @@ -431,6 +396,47 @@ func parseGPUInstanceProfile(input string) (*GPUInstanceProfile, error) { return &out, nil } +type GuardrailsSupport string + +const ( + GuardrailsSupportPreview GuardrailsSupport = "Preview" + GuardrailsSupportStable GuardrailsSupport = "Stable" +) + +func PossibleValuesForGuardrailsSupport() []string { + return []string{ + string(GuardrailsSupportPreview), + string(GuardrailsSupportStable), + } +} + +func (s *GuardrailsSupport) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseGuardrailsSupport(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseGuardrailsSupport(input string) (*GuardrailsSupport, error) { + vals := map[string]GuardrailsSupport{ + "preview": GuardrailsSupportPreview, + "stable": GuardrailsSupportStable, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := GuardrailsSupport(input) + return &out, nil +} + type IPFamily string const ( @@ -1149,6 +1155,7 @@ const ( NetworkPolicyAzure NetworkPolicy = "azure" NetworkPolicyCalico NetworkPolicy = "calico" NetworkPolicyCilium NetworkPolicy = "cilium" + NetworkPolicyNone NetworkPolicy = "none" ) func PossibleValuesForNetworkPolicy() []string { @@ -1156,6 +1163,7 @@ func PossibleValuesForNetworkPolicy() []string { string(NetworkPolicyAzure), string(NetworkPolicyCalico), string(NetworkPolicyCilium), + string(NetworkPolicyNone), } } @@ -1177,6 +1185,7 @@ func parseNetworkPolicy(input string) (*NetworkPolicy, error) { "azure": NetworkPolicyAzure, "calico": NetworkPolicyCalico, "cilium": NetworkPolicyCilium, + "none": NetworkPolicyNone, } if v, ok := vals[strings.ToLower(input)]; ok { return &v, nil @@ -1234,6 +1243,47 @@ func parseNodeOSUpgradeChannel(input string) (*NodeOSUpgradeChannel, error) { return &out, nil } +type NodeProvisioningMode string + +const ( + NodeProvisioningModeAuto NodeProvisioningMode = "Auto" + NodeProvisioningModeManual NodeProvisioningMode = "Manual" +) + +func PossibleValuesForNodeProvisioningMode() []string { + return []string{ + string(NodeProvisioningModeAuto), + string(NodeProvisioningModeManual), + } +} + +func (s *NodeProvisioningMode) UnmarshalJSON(bytes []byte) error { + var decoded string + if err := json.Unmarshal(bytes, &decoded); err != nil { + return fmt.Errorf("unmarshaling: %+v", err) + } + out, err := parseNodeProvisioningMode(decoded) + if err != nil { + return fmt.Errorf("parsing %q: %+v", decoded, err) + } + *s = *out + return nil +} + +func parseNodeProvisioningMode(input string) (*NodeProvisioningMode, error) { + vals := map[string]NodeProvisioningMode{ + "auto": NodeProvisioningModeAuto, + "manual": NodeProvisioningModeManual, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := NodeProvisioningMode(input) + return &out, nil +} + type OSDiskType string const ( @@ -1282,6 +1332,7 @@ const ( OSSKUCBLMariner OSSKU = "CBLMariner" OSSKUMariner OSSKU = "Mariner" OSSKUUbuntu OSSKU = "Ubuntu" + OSSKUWindowsAnnual OSSKU = "WindowsAnnual" OSSKUWindowsTwoZeroOneNine OSSKU = "Windows2019" OSSKUWindowsTwoZeroTwoTwo OSSKU = "Windows2022" ) @@ -1292,6 +1343,7 @@ func PossibleValuesForOSSKU() []string { string(OSSKUCBLMariner), string(OSSKUMariner), string(OSSKUUbuntu), + string(OSSKUWindowsAnnual), string(OSSKUWindowsTwoZeroOneNine), string(OSSKUWindowsTwoZeroTwoTwo), } @@ -1312,12 +1364,13 @@ func (s *OSSKU) UnmarshalJSON(bytes []byte) error { func parseOSSKU(input string) (*OSSKU, error) { vals := map[string]OSSKU{ - "azurelinux": OSSKUAzureLinux, - "cblmariner": OSSKUCBLMariner, - "mariner": OSSKUMariner, - "ubuntu": OSSKUUbuntu, - "windows2019": OSSKUWindowsTwoZeroOneNine, - "windows2022": OSSKUWindowsTwoZeroTwoTwo, + "azurelinux": OSSKUAzureLinux, + "cblmariner": OSSKUCBLMariner, + "mariner": OSSKUMariner, + "ubuntu": OSSKUUbuntu, + "windowsannual": OSSKUWindowsAnnual, + "windows2019": OSSKUWindowsTwoZeroOneNine, + "windows2022": OSSKUWindowsTwoZeroTwoTwo, } if v, ok := vals[strings.ToLower(input)]; ok { return &v, nil @@ -1706,53 +1759,6 @@ func parseServiceMeshMode(input string) (*ServiceMeshMode, error) { return &out, nil } -type UpdateMode string - -const ( - UpdateModeAuto UpdateMode = "Auto" - UpdateModeInitial UpdateMode = "Initial" - UpdateModeOff UpdateMode = "Off" - UpdateModeRecreate UpdateMode = "Recreate" -) - -func PossibleValuesForUpdateMode() []string { - return []string{ - string(UpdateModeAuto), - string(UpdateModeInitial), - string(UpdateModeOff), - string(UpdateModeRecreate), - } -} - -func (s *UpdateMode) UnmarshalJSON(bytes []byte) error { - var decoded string - if err := json.Unmarshal(bytes, &decoded); err != nil { - return fmt.Errorf("unmarshaling: %+v", err) - } - out, err := parseUpdateMode(decoded) - if err != nil { - return fmt.Errorf("parsing %q: %+v", decoded, err) - } - *s = *out - return nil -} - -func parseUpdateMode(input string) (*UpdateMode, error) { - vals := map[string]UpdateMode{ - "auto": UpdateModeAuto, - "initial": UpdateModeInitial, - "off": UpdateModeOff, - "recreate": UpdateModeRecreate, - } - if v, ok := vals[strings.ToLower(input)]; ok { - return &v, nil - } - - // otherwise presume it's an undefined value and best-effort it - out := UpdateMode(input) - return &out, nil -} - type UpgradeChannel string const ( diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/id_accessprofile.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/id_accessprofile.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/id_accessprofile.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/id_accessprofile.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/id_commandresult.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/id_commandresult.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/id_commandresult.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/id_commandresult.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/id_guardrailsversion.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/id_guardrailsversion.go new file mode 100644 index 000000000000..893637a2d7ab --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/id_guardrailsversion.go @@ -0,0 +1,130 @@ +package managedclusters + +import ( + "fmt" + "strings" + + "github.com/hashicorp/go-azure-helpers/resourcemanager/recaser" + "github.com/hashicorp/go-azure-helpers/resourcemanager/resourceids" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +func init() { + recaser.RegisterResourceId(&GuardrailsVersionId{}) +} + +var _ resourceids.ResourceId = &GuardrailsVersionId{} + +// GuardrailsVersionId is a struct representing the Resource ID for a Guardrails Version +type GuardrailsVersionId struct { + SubscriptionId string + LocationName string + GuardrailsVersionName string +} + +// NewGuardrailsVersionID returns a new GuardrailsVersionId struct +func NewGuardrailsVersionID(subscriptionId string, locationName string, guardrailsVersionName string) GuardrailsVersionId { + return GuardrailsVersionId{ + SubscriptionId: subscriptionId, + LocationName: locationName, + GuardrailsVersionName: guardrailsVersionName, + } +} + +// ParseGuardrailsVersionID parses 'input' into a GuardrailsVersionId +func ParseGuardrailsVersionID(input string) (*GuardrailsVersionId, error) { + parser := resourceids.NewParserFromResourceIdType(&GuardrailsVersionId{}) + parsed, err := parser.Parse(input, false) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := GuardrailsVersionId{} + if err := id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +// ParseGuardrailsVersionIDInsensitively parses 'input' case-insensitively into a GuardrailsVersionId +// note: this method should only be used for API response data and not user input +func ParseGuardrailsVersionIDInsensitively(input string) (*GuardrailsVersionId, error) { + parser := resourceids.NewParserFromResourceIdType(&GuardrailsVersionId{}) + parsed, err := parser.Parse(input, true) + if err != nil { + return nil, fmt.Errorf("parsing %q: %+v", input, err) + } + + id := GuardrailsVersionId{} + if err := id.FromParseResult(*parsed); err != nil { + return nil, err + } + + return &id, nil +} + +func (id *GuardrailsVersionId) FromParseResult(input resourceids.ParseResult) error { + var ok bool + + if id.SubscriptionId, ok = input.Parsed["subscriptionId"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "subscriptionId", input) + } + + if id.LocationName, ok = input.Parsed["locationName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "locationName", input) + } + + if id.GuardrailsVersionName, ok = input.Parsed["guardrailsVersionName"]; !ok { + return resourceids.NewSegmentNotSpecifiedError(id, "guardrailsVersionName", input) + } + + return nil +} + +// ValidateGuardrailsVersionID checks that 'input' can be parsed as a Guardrails Version ID +func ValidateGuardrailsVersionID(input interface{}, key string) (warnings []string, errors []error) { + v, ok := input.(string) + if !ok { + errors = append(errors, fmt.Errorf("expected %q to be a string", key)) + return + } + + if _, err := ParseGuardrailsVersionID(v); err != nil { + errors = append(errors, err) + } + + return +} + +// ID returns the formatted Guardrails Version ID +func (id GuardrailsVersionId) ID() string { + fmtString := "/subscriptions/%s/providers/Microsoft.ContainerService/locations/%s/guardrailsVersions/%s" + return fmt.Sprintf(fmtString, id.SubscriptionId, id.LocationName, id.GuardrailsVersionName) +} + +// Segments returns a slice of Resource ID Segments which comprise this Guardrails Version ID +func (id GuardrailsVersionId) Segments() []resourceids.Segment { + return []resourceids.Segment{ + resourceids.StaticSegment("staticSubscriptions", "subscriptions", "subscriptions"), + resourceids.SubscriptionIdSegment("subscriptionId", "12345678-1234-9876-4563-123456789012"), + resourceids.StaticSegment("staticProviders", "providers", "providers"), + resourceids.ResourceProviderSegment("staticMicrosoftContainerService", "Microsoft.ContainerService", "Microsoft.ContainerService"), + resourceids.StaticSegment("staticLocations", "locations", "locations"), + resourceids.UserSpecifiedSegment("locationName", "locationValue"), + resourceids.StaticSegment("staticGuardrailsVersions", "guardrailsVersions", "guardrailsVersions"), + resourceids.UserSpecifiedSegment("guardrailsVersionName", "guardrailsVersionValue"), + } +} + +// String returns a human-readable description of this Guardrails Version ID +func (id GuardrailsVersionId) String() string { + components := []string{ + fmt.Sprintf("Subscription: %q", id.SubscriptionId), + fmt.Sprintf("Location Name: %q", id.LocationName), + fmt.Sprintf("Guardrails Version Name: %q", id.GuardrailsVersionName), + } + return fmt.Sprintf("Guardrails Version (%s)", strings.Join(components, "\n")) +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/id_location.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/id_location.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/id_location.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/id_location.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/id_meshrevisionprofile.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/id_meshrevisionprofile.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/id_meshrevisionprofile.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/id_meshrevisionprofile.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/id_meshupgradeprofile.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/id_meshupgradeprofile.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/id_meshupgradeprofile.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/id_meshupgradeprofile.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/method_abortlatestoperation.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/method_abortlatestoperation.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/method_abortlatestoperation.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/method_abortlatestoperation.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/method_createorupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/method_createorupdate.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/method_createorupdate.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/method_createorupdate.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/method_delete.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/method_delete.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/method_delete.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/method_delete.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/method_get.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/method_get.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/method_get.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/method_get.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/method_getaccessprofile.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/method_getaccessprofile.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/method_getaccessprofile.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/method_getaccessprofile.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/method_getcommandresult.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/method_getcommandresult.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/method_getcommandresult.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/method_getcommandresult.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/method_getguardrailsversions.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/method_getguardrailsversions.go new file mode 100644 index 000000000000..fbd1c0ce6c34 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/method_getguardrailsversions.go @@ -0,0 +1,54 @@ +package managedclusters + +import ( + "context" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type GetGuardrailsVersionsOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *GuardrailsAvailableVersion +} + +// GetGuardrailsVersions ... +func (c ManagedClustersClient) GetGuardrailsVersions(ctx context.Context, id GuardrailsVersionId) (result GetGuardrailsVersionsOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + Path: id.ID(), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.Execute(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var model GuardrailsAvailableVersion + result.Model = &model + + if err = resp.Unmarshal(result.Model); err != nil { + return + } + + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/method_getmeshrevisionprofile.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/method_getmeshrevisionprofile.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/method_getmeshrevisionprofile.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/method_getmeshrevisionprofile.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/method_getmeshupgradeprofile.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/method_getmeshupgradeprofile.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/method_getmeshupgradeprofile.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/method_getmeshupgradeprofile.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/method_getosoptions.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/method_getosoptions.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/method_getosoptions.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/method_getosoptions.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/method_getupgradeprofile.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/method_getupgradeprofile.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/method_getupgradeprofile.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/method_getupgradeprofile.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/method_list.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/method_list.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/method_list.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/method_list.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/method_listbyresourcegroup.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/method_listbyresourcegroup.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/method_listbyresourcegroup.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/method_listbyresourcegroup.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/method_listclusteradmincredentials.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/method_listclusteradmincredentials.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/method_listclusteradmincredentials.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/method_listclusteradmincredentials.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/method_listclustermonitoringusercredentials.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/method_listclustermonitoringusercredentials.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/method_listclustermonitoringusercredentials.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/method_listclustermonitoringusercredentials.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/method_listclusterusercredentials.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/method_listclusterusercredentials.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/method_listclusterusercredentials.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/method_listclusterusercredentials.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/method_listguardrailsversions.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/method_listguardrailsversions.go new file mode 100644 index 000000000000..659a95775bb7 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/method_listguardrailsversions.go @@ -0,0 +1,91 @@ +package managedclusters + +import ( + "context" + "fmt" + "net/http" + + "github.com/hashicorp/go-azure-sdk/sdk/client" + "github.com/hashicorp/go-azure-sdk/sdk/odata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ListGuardrailsVersionsOperationResponse struct { + HttpResponse *http.Response + OData *odata.OData + Model *[]GuardrailsAvailableVersion +} + +type ListGuardrailsVersionsCompleteResult struct { + LatestHttpResponse *http.Response + Items []GuardrailsAvailableVersion +} + +// ListGuardrailsVersions ... +func (c ManagedClustersClient) ListGuardrailsVersions(ctx context.Context, id LocationId) (result ListGuardrailsVersionsOperationResponse, err error) { + opts := client.RequestOptions{ + ContentType: "application/json; charset=utf-8", + ExpectedStatusCodes: []int{ + http.StatusOK, + }, + HttpMethod: http.MethodGet, + Path: fmt.Sprintf("%s/guardrailsVersions", id.ID()), + } + + req, err := c.Client.NewRequest(ctx, opts) + if err != nil { + return + } + + var resp *client.Response + resp, err = req.ExecutePaged(ctx) + if resp != nil { + result.OData = resp.OData + result.HttpResponse = resp.Response + } + if err != nil { + return + } + + var values struct { + Values *[]GuardrailsAvailableVersion `json:"value"` + } + if err = resp.Unmarshal(&values); err != nil { + return + } + + result.Model = values.Values + + return +} + +// ListGuardrailsVersionsComplete retrieves all the results into a single object +func (c ManagedClustersClient) ListGuardrailsVersionsComplete(ctx context.Context, id LocationId) (ListGuardrailsVersionsCompleteResult, error) { + return c.ListGuardrailsVersionsCompleteMatchingPredicate(ctx, id, GuardrailsAvailableVersionOperationPredicate{}) +} + +// ListGuardrailsVersionsCompleteMatchingPredicate retrieves all the results and then applies the predicate +func (c ManagedClustersClient) ListGuardrailsVersionsCompleteMatchingPredicate(ctx context.Context, id LocationId, predicate GuardrailsAvailableVersionOperationPredicate) (result ListGuardrailsVersionsCompleteResult, err error) { + items := make([]GuardrailsAvailableVersion, 0) + + resp, err := c.ListGuardrailsVersions(ctx, id) + if err != nil { + err = fmt.Errorf("loading results: %+v", err) + return + } + if resp.Model != nil { + for _, v := range *resp.Model { + if predicate.Matches(v) { + items = append(items, v) + } + } + } + + result = ListGuardrailsVersionsCompleteResult{ + LatestHttpResponse: resp.HttpResponse, + Items: items, + } + return +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/method_listkubernetesversions.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/method_listkubernetesversions.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/method_listkubernetesversions.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/method_listkubernetesversions.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/method_listmeshrevisionprofiles.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/method_listmeshrevisionprofiles.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/method_listmeshrevisionprofiles.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/method_listmeshrevisionprofiles.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/method_listmeshupgradeprofiles.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/method_listmeshupgradeprofiles.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/method_listmeshupgradeprofiles.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/method_listmeshupgradeprofiles.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/method_listoutboundnetworkdependenciesendpoints.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/method_listoutboundnetworkdependenciesendpoints.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/method_listoutboundnetworkdependenciesendpoints.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/method_listoutboundnetworkdependenciesendpoints.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/method_resetaadprofile.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/method_resetaadprofile.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/method_resetaadprofile.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/method_resetaadprofile.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/method_resetserviceprincipalprofile.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/method_resetserviceprincipalprofile.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/method_resetserviceprincipalprofile.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/method_resetserviceprincipalprofile.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/method_rotateclustercertificates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/method_rotateclustercertificates.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/method_rotateclustercertificates.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/method_rotateclustercertificates.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/method_rotateserviceaccountsigningkeys.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/method_rotateserviceaccountsigningkeys.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/method_rotateserviceaccountsigningkeys.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/method_rotateserviceaccountsigningkeys.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/method_runcommand.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/method_runcommand.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/method_runcommand.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/method_runcommand.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/method_start.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/method_start.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/method_start.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/method_start.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/method_stop.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/method_stop.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/method_stop.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/method_stop.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/method_updatetags.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/method_updatetags.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/method_updatetags.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/method_updatetags.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_accessprofile.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_accessprofile.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_accessprofile.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_accessprofile.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_agentpoolupgradesettings.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_agentpoolartifactstreamingprofile.go similarity index 51% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_agentpoolupgradesettings.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_agentpoolartifactstreamingprofile.go index 449e4d0c22c9..df1c8baccfcb 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_agentpoolupgradesettings.go +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_agentpoolartifactstreamingprofile.go @@ -3,7 +3,6 @@ package managedclusters // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See NOTICE.txt in the project root for license information. -type AgentPoolUpgradeSettings struct { - DrainTimeoutInMinutes *int64 `json:"drainTimeoutInMinutes,omitempty"` - MaxSurge *string `json:"maxSurge,omitempty"` +type AgentPoolArtifactStreamingProfile struct { + Enabled *bool `json:"enabled,omitempty"` } diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_agentpoolgpuprofile.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_agentpoolgpuprofile.go new file mode 100644 index 000000000000..16f4747078f0 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_agentpoolgpuprofile.go @@ -0,0 +1,8 @@ +package managedclusters + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type AgentPoolGPUProfile struct { + InstallGPUDriver *bool `json:"installGPUDriver,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_agentpoolnetworkprofile.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_agentpoolnetworkprofile.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_agentpoolnetworkprofile.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_agentpoolnetworkprofile.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_agentpoolsecurityprofile.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_agentpoolsecurityprofile.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_agentpoolsecurityprofile.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_agentpoolsecurityprofile.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_agentpoolupgradesettings.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_agentpoolupgradesettings.go new file mode 100644 index 000000000000..741d796f8a38 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_agentpoolupgradesettings.go @@ -0,0 +1,10 @@ +package managedclusters + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type AgentPoolUpgradeSettings struct { + DrainTimeoutInMinutes *int64 `json:"drainTimeoutInMinutes,omitempty"` + MaxSurge *string `json:"maxSurge,omitempty"` + NodeSoakDurationInMinutes *int64 `json:"nodeSoakDurationInMinutes,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_agentpoolwindowsprofile.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_agentpoolwindowsprofile.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_agentpoolwindowsprofile.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_agentpoolwindowsprofile.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_azurekeyvaultkms.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_azurekeyvaultkms.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_azurekeyvaultkms.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_azurekeyvaultkms.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_clusterupgradesettings.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_clusterupgradesettings.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_clusterupgradesettings.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_clusterupgradesettings.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_commandresultproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_commandresultproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_commandresultproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_commandresultproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_compatibleversions.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_compatibleversions.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_compatibleversions.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_compatibleversions.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_containerservicelinuxprofile.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_containerservicelinuxprofile.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_containerservicelinuxprofile.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_containerservicelinuxprofile.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_containerservicenetworkprofile.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_containerservicenetworkprofile.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_containerservicenetworkprofile.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_containerservicenetworkprofile.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_containerservicenetworkprofilekubeproxyconfig.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_containerservicenetworkprofilekubeproxyconfig.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_containerservicenetworkprofilekubeproxyconfig.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_containerservicenetworkprofilekubeproxyconfig.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_containerservicenetworkprofilekubeproxyconfigipvsconfig.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_containerservicenetworkprofilekubeproxyconfigipvsconfig.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_containerservicenetworkprofilekubeproxyconfigipvsconfig.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_containerservicenetworkprofilekubeproxyconfigipvsconfig.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_containerservicesshconfiguration.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_containerservicesshconfiguration.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_containerservicesshconfiguration.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_containerservicesshconfiguration.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_containerservicesshpublickey.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_containerservicesshpublickey.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_containerservicesshpublickey.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_containerservicesshpublickey.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_creationdata.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_creationdata.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_creationdata.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_creationdata.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_credentialresult.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_credentialresult.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_credentialresult.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_credentialresult.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_credentialresults.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_credentialresults.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_credentialresults.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_credentialresults.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_endpointdependency.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_endpointdependency.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_endpointdependency.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_endpointdependency.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_endpointdetail.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_endpointdetail.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_endpointdetail.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_endpointdetail.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_guardrailsavailableversion.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_guardrailsavailableversion.go new file mode 100644 index 000000000000..401899547909 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_guardrailsavailableversion.go @@ -0,0 +1,16 @@ +package managedclusters + +import ( + "github.com/hashicorp/go-azure-helpers/resourcemanager/systemdata" +) + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type GuardrailsAvailableVersion struct { + Id *string `json:"id,omitempty"` + Name *string `json:"name,omitempty"` + Properties GuardrailsAvailableVersionsProperties `json:"properties"` + SystemData *systemdata.SystemData `json:"systemData,omitempty"` + Type *string `json:"type,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_guardrailsavailableversionsproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_guardrailsavailableversionsproperties.go new file mode 100644 index 000000000000..a029efaee566 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_guardrailsavailableversionsproperties.go @@ -0,0 +1,9 @@ +package managedclusters + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type GuardrailsAvailableVersionsProperties struct { + IsDefaultVersion *bool `json:"isDefaultVersion,omitempty"` + Support *GuardrailsSupport `json:"support,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_guardrailsprofile.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_guardrailsprofile.go similarity index 86% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_guardrailsprofile.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_guardrailsprofile.go index 6875f54cbbe5..84c6c832975f 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_guardrailsprofile.go +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_guardrailsprofile.go @@ -7,5 +7,5 @@ type GuardrailsProfile struct { ExcludedNamespaces *[]string `json:"excludedNamespaces,omitempty"` Level Level `json:"level"` SystemExcludedNamespaces *[]string `json:"systemExcludedNamespaces,omitempty"` - Version string `json:"version"` + Version *string `json:"version,omitempty"` } diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_iptag.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_iptag.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_iptag.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_iptag.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_istiocertificateauthority.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_istiocertificateauthority.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_istiocertificateauthority.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_istiocertificateauthority.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_istiocomponents.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_istiocomponents.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_istiocomponents.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_istiocomponents.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_istioegressgateway.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_istioegressgateway.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_istioegressgateway.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_istioegressgateway.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_istioingressgateway.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_istioingressgateway.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_istioingressgateway.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_istioingressgateway.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_istioplugincertificateauthority.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_istioplugincertificateauthority.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_istioplugincertificateauthority.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_istioplugincertificateauthority.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_istioservicemesh.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_istioservicemesh.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_istioservicemesh.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_istioservicemesh.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_kubeletconfig.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_kubeletconfig.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_kubeletconfig.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_kubeletconfig.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_kubernetespatchversion.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_kubernetespatchversion.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_kubernetespatchversion.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_kubernetespatchversion.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_kubernetesversion.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_kubernetesversion.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_kubernetesversion.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_kubernetesversion.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_kubernetesversioncapabilities.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_kubernetesversioncapabilities.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_kubernetesversioncapabilities.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_kubernetesversioncapabilities.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_kubernetesversionlistresult.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_kubernetesversionlistresult.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_kubernetesversionlistresult.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_kubernetesversionlistresult.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_linuxosconfig.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_linuxosconfig.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_linuxosconfig.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_linuxosconfig.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_managedcluster.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedcluster.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_managedcluster.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedcluster.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_managedclusteraadprofile.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclusteraadprofile.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_managedclusteraadprofile.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclusteraadprofile.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_managedclusteraccessprofile.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclusteraccessprofile.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_managedclusteraccessprofile.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclusteraccessprofile.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_managedclusteraddonprofile.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclusteraddonprofile.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_managedclusteraddonprofile.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclusteraddonprofile.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclusteragentpoolprofile.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclusteragentpoolprofile.go new file mode 100644 index 000000000000..ec6342538502 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclusteragentpoolprofile.go @@ -0,0 +1,61 @@ +package managedclusters + +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 ManagedClusterAgentPoolProfile struct { + ArtifactStreamingProfile *AgentPoolArtifactStreamingProfile `json:"artifactStreamingProfile,omitempty"` + AvailabilityZones *zones.Schema `json:"availabilityZones,omitempty"` + CapacityReservationGroupID *string `json:"capacityReservationGroupID,omitempty"` + Count *int64 `json:"count,omitempty"` + CreationData *CreationData `json:"creationData,omitempty"` + CurrentOrchestratorVersion *string `json:"currentOrchestratorVersion,omitempty"` + EnableAutoScaling *bool `json:"enableAutoScaling,omitempty"` + EnableCustomCATrust *bool `json:"enableCustomCATrust,omitempty"` + EnableEncryptionAtHost *bool `json:"enableEncryptionAtHost,omitempty"` + EnableFIPS *bool `json:"enableFIPS,omitempty"` + EnableNodePublicIP *bool `json:"enableNodePublicIP,omitempty"` + EnableUltraSSD *bool `json:"enableUltraSSD,omitempty"` + GpuInstanceProfile *GPUInstanceProfile `json:"gpuInstanceProfile,omitempty"` + GpuProfile *AgentPoolGPUProfile `json:"gpuProfile,omitempty"` + HostGroupID *string `json:"hostGroupID,omitempty"` + KubeletConfig *KubeletConfig `json:"kubeletConfig,omitempty"` + KubeletDiskType *KubeletDiskType `json:"kubeletDiskType,omitempty"` + LinuxOSConfig *LinuxOSConfig `json:"linuxOSConfig,omitempty"` + MaxCount *int64 `json:"maxCount,omitempty"` + MaxPods *int64 `json:"maxPods,omitempty"` + MessageOfTheDay *string `json:"messageOfTheDay,omitempty"` + MinCount *int64 `json:"minCount,omitempty"` + Mode *AgentPoolMode `json:"mode,omitempty"` + Name string `json:"name"` + NetworkProfile *AgentPoolNetworkProfile `json:"networkProfile,omitempty"` + NodeImageVersion *string `json:"nodeImageVersion,omitempty"` + NodeLabels *map[string]string `json:"nodeLabels,omitempty"` + NodePublicIPPrefixID *string `json:"nodePublicIPPrefixID,omitempty"` + NodeTaints *[]string `json:"nodeTaints,omitempty"` + OrchestratorVersion *string `json:"orchestratorVersion,omitempty"` + OsDiskSizeGB *int64 `json:"osDiskSizeGB,omitempty"` + OsDiskType *OSDiskType `json:"osDiskType,omitempty"` + OsSKU *OSSKU `json:"osSKU,omitempty"` + OsType *OSType `json:"osType,omitempty"` + PodSubnetID *string `json:"podSubnetID,omitempty"` + PowerState *PowerState `json:"powerState,omitempty"` + ProvisioningState *string `json:"provisioningState,omitempty"` + ProximityPlacementGroupID *string `json:"proximityPlacementGroupID,omitempty"` + ScaleDownMode *ScaleDownMode `json:"scaleDownMode,omitempty"` + ScaleSetEvictionPolicy *ScaleSetEvictionPolicy `json:"scaleSetEvictionPolicy,omitempty"` + ScaleSetPriority *ScaleSetPriority `json:"scaleSetPriority,omitempty"` + SecurityProfile *AgentPoolSecurityProfile `json:"securityProfile,omitempty"` + SpotMaxPrice *float64 `json:"spotMaxPrice,omitempty"` + Tags *map[string]string `json:"tags,omitempty"` + Type *AgentPoolType `json:"type,omitempty"` + UpgradeSettings *AgentPoolUpgradeSettings `json:"upgradeSettings,omitempty"` + VMSize *string `json:"vmSize,omitempty"` + VnetSubnetID *string `json:"vnetSubnetID,omitempty"` + WindowsProfile *AgentPoolWindowsProfile `json:"windowsProfile,omitempty"` + WorkloadRuntime *WorkloadRuntime `json:"workloadRuntime,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclusteraitoolchainoperatorprofile.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclusteraitoolchainoperatorprofile.go new file mode 100644 index 000000000000..0c2d87296e0e --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclusteraitoolchainoperatorprofile.go @@ -0,0 +1,8 @@ +package managedclusters + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ManagedClusterAIToolchainOperatorProfile struct { + Enabled *bool `json:"enabled,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_managedclusterapiserveraccessprofile.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclusterapiserveraccessprofile.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_managedclusterapiserveraccessprofile.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclusterapiserveraccessprofile.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_managedclusterautoupgradeprofile.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclusterautoupgradeprofile.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_managedclusterautoupgradeprofile.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclusterautoupgradeprofile.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_managedclusterazuremonitorprofile.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclusterazuremonitorprofile.go similarity index 80% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_managedclusterazuremonitorprofile.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclusterazuremonitorprofile.go index 8a18140e45a8..d718bafe5f8d 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_managedclusterazuremonitorprofile.go +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclusterazuremonitorprofile.go @@ -4,5 +4,6 @@ package managedclusters // Licensed under the MIT License. See NOTICE.txt in the project root for license information. type ManagedClusterAzureMonitorProfile struct { + Logs *ManagedClusterAzureMonitorProfileLogs `json:"logs,omitempty"` Metrics *ManagedClusterAzureMonitorProfileMetrics `json:"metrics,omitempty"` } diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclusterazuremonitorprofileappmonitoring.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclusterazuremonitorprofileappmonitoring.go new file mode 100644 index 000000000000..bc58d221f106 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclusterazuremonitorprofileappmonitoring.go @@ -0,0 +1,8 @@ +package managedclusters + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ManagedClusterAzureMonitorProfileAppMonitoring struct { + Enabled *bool `json:"enabled,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclusterazuremonitorprofileappmonitoringopentelemetrymetrics.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclusterazuremonitorprofileappmonitoringopentelemetrymetrics.go new file mode 100644 index 000000000000..7bdb0e74e3ee --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclusterazuremonitorprofileappmonitoringopentelemetrymetrics.go @@ -0,0 +1,8 @@ +package managedclusters + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics struct { + Enabled *bool `json:"enabled,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclusterazuremonitorprofilecontainerinsights.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclusterazuremonitorprofilecontainerinsights.go new file mode 100644 index 000000000000..72da87a462c3 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclusterazuremonitorprofilecontainerinsights.go @@ -0,0 +1,10 @@ +package managedclusters + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ManagedClusterAzureMonitorProfileContainerInsights struct { + Enabled *bool `json:"enabled,omitempty"` + LogAnalyticsWorkspaceResourceId *string `json:"logAnalyticsWorkspaceResourceId,omitempty"` + WindowsHostLogs *ManagedClusterAzureMonitorProfileWindowsHostLogs `json:"windowsHostLogs,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_managedclusterazuremonitorprofilekubestatemetrics.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclusterazuremonitorprofilekubestatemetrics.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_managedclusterazuremonitorprofilekubestatemetrics.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclusterazuremonitorprofilekubestatemetrics.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclusterazuremonitorprofilelogs.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclusterazuremonitorprofilelogs.go new file mode 100644 index 000000000000..a17a247e9c79 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclusterazuremonitorprofilelogs.go @@ -0,0 +1,9 @@ +package managedclusters + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ManagedClusterAzureMonitorProfileLogs struct { + AppMonitoring *ManagedClusterAzureMonitorProfileAppMonitoring `json:"appMonitoring,omitempty"` + ContainerInsights *ManagedClusterAzureMonitorProfileContainerInsights `json:"containerInsights,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclusterazuremonitorprofilemetrics.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclusterazuremonitorprofilemetrics.go new file mode 100644 index 000000000000..b1ea081f9154 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclusterazuremonitorprofilemetrics.go @@ -0,0 +1,10 @@ +package managedclusters + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ManagedClusterAzureMonitorProfileMetrics struct { + AppMonitoringOpenTelemetryMetrics *ManagedClusterAzureMonitorProfileAppMonitoringOpenTelemetryMetrics `json:"appMonitoringOpenTelemetryMetrics,omitempty"` + Enabled bool `json:"enabled"` + KubeStateMetrics *ManagedClusterAzureMonitorProfileKubeStateMetrics `json:"kubeStateMetrics,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclusterazuremonitorprofilewindowshostlogs.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclusterazuremonitorprofilewindowshostlogs.go new file mode 100644 index 000000000000..cc9edfc6a6f5 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclusterazuremonitorprofilewindowshostlogs.go @@ -0,0 +1,8 @@ +package managedclusters + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ManagedClusterAzureMonitorProfileWindowsHostLogs struct { + Enabled *bool `json:"enabled,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclustercostanalysis.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclustercostanalysis.go new file mode 100644 index 000000000000..a54a571fe4e1 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclustercostanalysis.go @@ -0,0 +1,8 @@ +package managedclusters + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ManagedClusterCostAnalysis struct { + Enabled *bool `json:"enabled,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_managedclusterhttpproxyconfig.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclusterhttpproxyconfig.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_managedclusterhttpproxyconfig.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclusterhttpproxyconfig.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_managedclusteringressprofile.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclusteringressprofile.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_managedclusteringressprofile.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclusteringressprofile.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_managedclusteringressprofilewebapprouting.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclusteringressprofilewebapprouting.go similarity index 53% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_managedclusteringressprofilewebapprouting.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclusteringressprofilewebapprouting.go index d45f66de7629..b8dc1b3b921b 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_managedclusteringressprofilewebapprouting.go +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclusteringressprofilewebapprouting.go @@ -4,7 +4,7 @@ package managedclusters // Licensed under the MIT License. See NOTICE.txt in the project root for license information. type ManagedClusterIngressProfileWebAppRouting struct { - DnsZoneResourceId *string `json:"dnsZoneResourceId,omitempty"` - Enabled *bool `json:"enabled,omitempty"` - Identity *UserAssignedIdentity `json:"identity,omitempty"` + DnsZoneResourceIds *[]string `json:"dnsZoneResourceIds,omitempty"` + Enabled *bool `json:"enabled,omitempty"` + Identity *UserAssignedIdentity `json:"identity,omitempty"` } diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_managedclusterloadbalancerprofile.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclusterloadbalancerprofile.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_managedclusterloadbalancerprofile.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclusterloadbalancerprofile.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_managedclusterloadbalancerprofilemanagedoutboundips.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclusterloadbalancerprofilemanagedoutboundips.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_managedclusterloadbalancerprofilemanagedoutboundips.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclusterloadbalancerprofilemanagedoutboundips.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_managedclusterloadbalancerprofileoutboundipprefixes.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclusterloadbalancerprofileoutboundipprefixes.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_managedclusterloadbalancerprofileoutboundipprefixes.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclusterloadbalancerprofileoutboundipprefixes.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_managedclusterloadbalancerprofileoutboundips.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclusterloadbalancerprofileoutboundips.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_managedclusterloadbalancerprofileoutboundips.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclusterloadbalancerprofileoutboundips.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_managedclustermanagedoutboundipprofile.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclustermanagedoutboundipprofile.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_managedclustermanagedoutboundipprofile.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclustermanagedoutboundipprofile.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclustermetricsprofile.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclustermetricsprofile.go new file mode 100644 index 000000000000..fd4662168819 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclustermetricsprofile.go @@ -0,0 +1,8 @@ +package managedclusters + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ManagedClusterMetricsProfile struct { + CostAnalysis *ManagedClusterCostAnalysis `json:"costAnalysis,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_managedclusternatgatewayprofile.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclusternatgatewayprofile.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_managedclusternatgatewayprofile.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclusternatgatewayprofile.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclusternodeprovisioningprofile.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclusternodeprovisioningprofile.go new file mode 100644 index 000000000000..6560753a94c9 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclusternodeprovisioningprofile.go @@ -0,0 +1,8 @@ +package managedclusters + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ManagedClusterNodeProvisioningProfile struct { + Mode *NodeProvisioningMode `json:"mode,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_managedclusternoderesourcegroupprofile.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclusternoderesourcegroupprofile.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_managedclusternoderesourcegroupprofile.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclusternoderesourcegroupprofile.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_managedclusteroidcissuerprofile.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclusteroidcissuerprofile.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_managedclusteroidcissuerprofile.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclusteroidcissuerprofile.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_managedclusterpodidentity.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclusterpodidentity.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_managedclusterpodidentity.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclusterpodidentity.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_managedclusterpodidentityexception.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclusterpodidentityexception.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_managedclusterpodidentityexception.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclusterpodidentityexception.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_managedclusterpodidentityprofile.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclusterpodidentityprofile.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_managedclusterpodidentityprofile.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclusterpodidentityprofile.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_managedclusterpodidentityprovisioningerror.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclusterpodidentityprovisioningerror.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_managedclusterpodidentityprovisioningerror.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclusterpodidentityprovisioningerror.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_managedclusterpodidentityprovisioningerrorbody.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclusterpodidentityprovisioningerrorbody.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_managedclusterpodidentityprovisioningerrorbody.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclusterpodidentityprovisioningerrorbody.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_managedclusterpodidentityprovisioninginfo.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclusterpodidentityprovisioninginfo.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_managedclusterpodidentityprovisioninginfo.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclusterpodidentityprovisioninginfo.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_managedclusterpoolupgradeprofile.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclusterpoolupgradeprofile.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_managedclusterpoolupgradeprofile.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclusterpoolupgradeprofile.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_managedclusterpoolupgradeprofileupgradesinlined.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclusterpoolupgradeprofileupgradesinlined.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_managedclusterpoolupgradeprofileupgradesinlined.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclusterpoolupgradeprofileupgradesinlined.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclusterproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclusterproperties.go new file mode 100644 index 000000000000..9ea44adf4db0 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclusterproperties.go @@ -0,0 +1,54 @@ +package managedclusters + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ManagedClusterProperties struct { + AadProfile *ManagedClusterAADProfile `json:"aadProfile,omitempty"` + AddonProfiles *map[string]ManagedClusterAddonProfile `json:"addonProfiles,omitempty"` + AgentPoolProfiles *[]ManagedClusterAgentPoolProfile `json:"agentPoolProfiles,omitempty"` + AiToolchainOperatorProfile *ManagedClusterAIToolchainOperatorProfile `json:"aiToolchainOperatorProfile,omitempty"` + ApiServerAccessProfile *ManagedClusterAPIServerAccessProfile `json:"apiServerAccessProfile,omitempty"` + AutoScalerProfile *ManagedClusterPropertiesAutoScalerProfile `json:"autoScalerProfile,omitempty"` + AutoUpgradeProfile *ManagedClusterAutoUpgradeProfile `json:"autoUpgradeProfile,omitempty"` + AzureMonitorProfile *ManagedClusterAzureMonitorProfile `json:"azureMonitorProfile,omitempty"` + AzurePortalFQDN *string `json:"azurePortalFQDN,omitempty"` + CreationData *CreationData `json:"creationData,omitempty"` + CurrentKubernetesVersion *string `json:"currentKubernetesVersion,omitempty"` + DisableLocalAccounts *bool `json:"disableLocalAccounts,omitempty"` + DiskEncryptionSetID *string `json:"diskEncryptionSetID,omitempty"` + DnsPrefix *string `json:"dnsPrefix,omitempty"` + EnableNamespaceResources *bool `json:"enableNamespaceResources,omitempty"` + EnablePodSecurityPolicy *bool `json:"enablePodSecurityPolicy,omitempty"` + EnableRBAC *bool `json:"enableRBAC,omitempty"` + Fqdn *string `json:"fqdn,omitempty"` + FqdnSubdomain *string `json:"fqdnSubdomain,omitempty"` + GuardrailsProfile *GuardrailsProfile `json:"guardrailsProfile,omitempty"` + HTTPProxyConfig *ManagedClusterHTTPProxyConfig `json:"httpProxyConfig,omitempty"` + IdentityProfile *map[string]UserAssignedIdentity `json:"identityProfile,omitempty"` + IngressProfile *ManagedClusterIngressProfile `json:"ingressProfile,omitempty"` + KubernetesVersion *string `json:"kubernetesVersion,omitempty"` + LinuxProfile *ContainerServiceLinuxProfile `json:"linuxProfile,omitempty"` + MaxAgentPools *int64 `json:"maxAgentPools,omitempty"` + MetricsProfile *ManagedClusterMetricsProfile `json:"metricsProfile,omitempty"` + NetworkProfile *ContainerServiceNetworkProfile `json:"networkProfile,omitempty"` + NodeProvisioningProfile *ManagedClusterNodeProvisioningProfile `json:"nodeProvisioningProfile,omitempty"` + NodeResourceGroup *string `json:"nodeResourceGroup,omitempty"` + NodeResourceGroupProfile *ManagedClusterNodeResourceGroupProfile `json:"nodeResourceGroupProfile,omitempty"` + OidcIssuerProfile *ManagedClusterOIDCIssuerProfile `json:"oidcIssuerProfile,omitempty"` + PodIdentityProfile *ManagedClusterPodIdentityProfile `json:"podIdentityProfile,omitempty"` + PowerState *PowerState `json:"powerState,omitempty"` + PrivateFQDN *string `json:"privateFQDN,omitempty"` + PrivateLinkResources *[]PrivateLinkResource `json:"privateLinkResources,omitempty"` + ProvisioningState *string `json:"provisioningState,omitempty"` + PublicNetworkAccess *PublicNetworkAccess `json:"publicNetworkAccess,omitempty"` + ResourceUID *string `json:"resourceUID,omitempty"` + SecurityProfile *ManagedClusterSecurityProfile `json:"securityProfile,omitempty"` + ServiceMeshProfile *ServiceMeshProfile `json:"serviceMeshProfile,omitempty"` + ServicePrincipalProfile *ManagedClusterServicePrincipalProfile `json:"servicePrincipalProfile,omitempty"` + StorageProfile *ManagedClusterStorageProfile `json:"storageProfile,omitempty"` + SupportPlan *KubernetesSupportPlan `json:"supportPlan,omitempty"` + UpgradeSettings *ClusterUpgradeSettings `json:"upgradeSettings,omitempty"` + WindowsProfile *ManagedClusterWindowsProfile `json:"windowsProfile,omitempty"` + WorkloadAutoScalerProfile *ManagedClusterWorkloadAutoScalerProfile `json:"workloadAutoScalerProfile,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclusterpropertiesautoscalerprofile.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclusterpropertiesautoscalerprofile.go new file mode 100644 index 000000000000..d8387a1e222c --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclusterpropertiesautoscalerprofile.go @@ -0,0 +1,28 @@ +package managedclusters + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ManagedClusterPropertiesAutoScalerProfile struct { + BalanceSimilarNodeGroups *string `json:"balance-similar-node-groups,omitempty"` + DaemonsetEvictionForEmptyNodes *bool `json:"daemonset-eviction-for-empty-nodes,omitempty"` + DaemonsetEvictionForOccupiedNodes *bool `json:"daemonset-eviction-for-occupied-nodes,omitempty"` + Expander *Expander `json:"expander,omitempty"` + Expanders *[]Expander `json:"expanders,omitempty"` + IgnoreDaemonsetsUtilization *bool `json:"ignore-daemonsets-utilization,omitempty"` + MaxEmptyBulkDelete *string `json:"max-empty-bulk-delete,omitempty"` + MaxGracefulTerminationSec *string `json:"max-graceful-termination-sec,omitempty"` + MaxNodeProvisionTime *string `json:"max-node-provision-time,omitempty"` + MaxTotalUnreadyPercentage *string `json:"max-total-unready-percentage,omitempty"` + NewPodScaleUpDelay *string `json:"new-pod-scale-up-delay,omitempty"` + OkTotalUnreadyCount *string `json:"ok-total-unready-count,omitempty"` + ScaleDownDelayAfterAdd *string `json:"scale-down-delay-after-add,omitempty"` + ScaleDownDelayAfterDelete *string `json:"scale-down-delay-after-delete,omitempty"` + ScaleDownDelayAfterFailure *string `json:"scale-down-delay-after-failure,omitempty"` + ScaleDownUnneededTime *string `json:"scale-down-unneeded-time,omitempty"` + ScaleDownUnreadyTime *string `json:"scale-down-unready-time,omitempty"` + ScaleDownUtilizationThreshold *string `json:"scale-down-utilization-threshold,omitempty"` + ScanInterval *string `json:"scan-interval,omitempty"` + SkipNodesWithLocalStorage *string `json:"skip-nodes-with-local-storage,omitempty"` + SkipNodesWithSystemPods *string `json:"skip-nodes-with-system-pods,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_managedclustersecurityprofile.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclustersecurityprofile.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_managedclustersecurityprofile.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclustersecurityprofile.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_managedclustersecurityprofiledefender.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclustersecurityprofiledefender.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_managedclustersecurityprofiledefender.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclustersecurityprofiledefender.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_managedclustersecurityprofiledefendersecuritymonitoring.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclustersecurityprofiledefendersecuritymonitoring.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_managedclustersecurityprofiledefendersecuritymonitoring.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclustersecurityprofiledefendersecuritymonitoring.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_managedclustersecurityprofileimagecleaner.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclustersecurityprofileimagecleaner.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_managedclustersecurityprofileimagecleaner.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclustersecurityprofileimagecleaner.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_managedclustersecurityprofileimageintegrity.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclustersecurityprofileimageintegrity.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_managedclustersecurityprofileimageintegrity.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclustersecurityprofileimageintegrity.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_managedclustersecurityprofilenoderestriction.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclustersecurityprofilenoderestriction.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_managedclustersecurityprofilenoderestriction.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclustersecurityprofilenoderestriction.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_managedclustersecurityprofileworkloadidentity.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclustersecurityprofileworkloadidentity.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_managedclustersecurityprofileworkloadidentity.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclustersecurityprofileworkloadidentity.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_managedclusterserviceprincipalprofile.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclusterserviceprincipalprofile.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_managedclusterserviceprincipalprofile.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclusterserviceprincipalprofile.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_managedclustersku.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclustersku.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_managedclustersku.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclustersku.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_managedclusterstorageprofile.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclusterstorageprofile.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_managedclusterstorageprofile.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclusterstorageprofile.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_managedclusterstorageprofileblobcsidriver.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclusterstorageprofileblobcsidriver.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_managedclusterstorageprofileblobcsidriver.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclusterstorageprofileblobcsidriver.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_managedclusterstorageprofilediskcsidriver.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclusterstorageprofilediskcsidriver.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_managedclusterstorageprofilediskcsidriver.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclusterstorageprofilediskcsidriver.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_managedclusterstorageprofilefilecsidriver.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclusterstorageprofilefilecsidriver.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_managedclusterstorageprofilefilecsidriver.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclusterstorageprofilefilecsidriver.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_managedclusterstorageprofilesnapshotcontroller.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclusterstorageprofilesnapshotcontroller.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_managedclusterstorageprofilesnapshotcontroller.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclusterstorageprofilesnapshotcontroller.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_managedclusterupgradeprofile.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclusterupgradeprofile.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_managedclusterupgradeprofile.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclusterupgradeprofile.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_managedclusterupgradeprofileproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclusterupgradeprofileproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_managedclusterupgradeprofileproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclusterupgradeprofileproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_managedclusterwindowsprofile.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclusterwindowsprofile.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_managedclusterwindowsprofile.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclusterwindowsprofile.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_managedclusterworkloadautoscalerprofile.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclusterworkloadautoscalerprofile.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_managedclusterworkloadautoscalerprofile.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclusterworkloadautoscalerprofile.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_managedclusterworkloadautoscalerprofilekeda.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclusterworkloadautoscalerprofilekeda.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_managedclusterworkloadautoscalerprofilekeda.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclusterworkloadautoscalerprofilekeda.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_managedclusterworkloadautoscalerprofileverticalpodautoscaler.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclusterworkloadautoscalerprofileverticalpodautoscaler.go similarity index 60% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_managedclusterworkloadautoscalerprofileverticalpodautoscaler.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclusterworkloadautoscalerprofileverticalpodautoscaler.go index de1c2badc46e..fe3c0d577b0f 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_managedclusterworkloadautoscalerprofileverticalpodautoscaler.go +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_managedclusterworkloadautoscalerprofileverticalpodautoscaler.go @@ -4,7 +4,6 @@ package managedclusters // Licensed under the MIT License. See NOTICE.txt in the project root for license information. type ManagedClusterWorkloadAutoScalerProfileVerticalPodAutoscaler struct { - ControlledValues ControlledValues `json:"controlledValues"` - Enabled bool `json:"enabled"` - UpdateMode UpdateMode `json:"updateMode"` + AddonAutoscaling *AddonAutoscaling `json:"addonAutoscaling,omitempty"` + Enabled bool `json:"enabled"` } diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_meshrevision.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_meshrevision.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_meshrevision.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_meshrevision.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_meshrevisionprofile.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_meshrevisionprofile.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_meshrevisionprofile.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_meshrevisionprofile.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_meshrevisionprofileproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_meshrevisionprofileproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_meshrevisionprofileproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_meshrevisionprofileproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_meshupgradeprofile.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_meshupgradeprofile.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_meshupgradeprofile.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_meshupgradeprofile.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_networkmonitoring.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_networkmonitoring.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_networkmonitoring.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_networkmonitoring.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_osoptionprofile.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_osoptionprofile.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_osoptionprofile.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_osoptionprofile.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_osoptionproperty.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_osoptionproperty.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_osoptionproperty.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_osoptionproperty.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_osoptionpropertylist.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_osoptionpropertylist.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_osoptionpropertylist.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_osoptionpropertylist.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_outboundenvironmentendpoint.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_outboundenvironmentendpoint.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_outboundenvironmentendpoint.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_outboundenvironmentendpoint.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_portrange.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_portrange.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_portrange.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_portrange.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_powerstate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_powerstate.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_powerstate.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_powerstate.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_privatelinkresource.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_privatelinkresource.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_privatelinkresource.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_privatelinkresource.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_resourcereference.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_resourcereference.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_resourcereference.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_resourcereference.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_runcommandrequest.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_runcommandrequest.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_runcommandrequest.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_runcommandrequest.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_runcommandresult.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_runcommandresult.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_runcommandresult.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_runcommandresult.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_servicemeshprofile.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_servicemeshprofile.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_servicemeshprofile.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_servicemeshprofile.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_sysctlconfig.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_sysctlconfig.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_sysctlconfig.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_sysctlconfig.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_tagsobject.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_tagsobject.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_tagsobject.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_tagsobject.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_upgradeoverridesettings.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_upgradeoverridesettings.go similarity index 78% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_upgradeoverridesettings.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_upgradeoverridesettings.go index d3537c3f2ceb..6be73348ea0c 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_upgradeoverridesettings.go +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_upgradeoverridesettings.go @@ -10,8 +10,8 @@ import ( // Licensed under the MIT License. See NOTICE.txt in the project root for license information. type UpgradeOverrideSettings struct { - ControlPlaneOverrides *[]ControlPlaneUpgradeOverride `json:"controlPlaneOverrides,omitempty"` - Until *string `json:"until,omitempty"` + ForceUpgrade *bool `json:"forceUpgrade,omitempty"` + Until *string `json:"until,omitempty"` } func (o *UpgradeOverrideSettings) GetUntilAsTime() (*time.Time, error) { diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_userassignedidentity.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_userassignedidentity.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_userassignedidentity.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_userassignedidentity.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_windowsgmsaprofile.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_windowsgmsaprofile.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/model_windowsgmsaprofile.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/model_windowsgmsaprofile.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/predicates.go similarity index 80% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/predicates.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/predicates.go index d0e36a85def4..c33b6adfd451 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/predicates.go +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/predicates.go @@ -3,6 +3,29 @@ package managedclusters // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. See NOTICE.txt in the project root for license information. +type GuardrailsAvailableVersionOperationPredicate struct { + Id *string + Name *string + Type *string +} + +func (p GuardrailsAvailableVersionOperationPredicate) Matches(input GuardrailsAvailableVersion) bool { + + if p.Id != nil && (input.Id == nil || *p.Id != *input.Id) { + return false + } + + if p.Name != nil && (input.Name == nil || *p.Name != *input.Name) { + return false + } + + if p.Type != nil && (input.Type == nil || *p.Type != *input.Type) { + return false + } + + return true +} + type ManagedClusterOperationPredicate struct { Id *string Location *string diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/version.go similarity index 86% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/version.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/version.go index c3e8cb775b02..ffcad7e8ebb0 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters/version.go +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters/version.go @@ -5,7 +5,7 @@ import "fmt" // 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-06-02-preview" +const defaultApiVersion = "2023-09-02-preview" func userAgent() string { return fmt.Sprintf("hashicorp/go-azure-sdk/managedclusters/%s", defaultApiVersion) diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/snapshots/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/snapshots/README.md similarity index 94% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/snapshots/README.md rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/snapshots/README.md index d29288eb0831..bed60a5f9995 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/snapshots/README.md +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/snapshots/README.md @@ -1,7 +1,7 @@ -## `github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/snapshots` Documentation +## `github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/snapshots` Documentation -The `snapshots` SDK allows for interaction with the Azure Resource Manager Service `containerservice` (API Version `2023-06-02-preview`). +The `snapshots` SDK allows for interaction with the Azure Resource Manager Service `containerservice` (API Version `2023-09-02-preview`). 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/containerservice/2023-06-02-preview/snapshots" +import "github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/snapshots" ``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/snapshots/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/snapshots/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/snapshots/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/snapshots/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/snapshots/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/snapshots/constants.go similarity index 90% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/snapshots/constants.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/snapshots/constants.go index 73e6fa357a60..ea209bb677ad 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/snapshots/constants.go +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/snapshots/constants.go @@ -16,6 +16,7 @@ const ( OSSKUCBLMariner OSSKU = "CBLMariner" OSSKUMariner OSSKU = "Mariner" OSSKUUbuntu OSSKU = "Ubuntu" + OSSKUWindowsAnnual OSSKU = "WindowsAnnual" OSSKUWindowsTwoZeroOneNine OSSKU = "Windows2019" OSSKUWindowsTwoZeroTwoTwo OSSKU = "Windows2022" ) @@ -26,6 +27,7 @@ func PossibleValuesForOSSKU() []string { string(OSSKUCBLMariner), string(OSSKUMariner), string(OSSKUUbuntu), + string(OSSKUWindowsAnnual), string(OSSKUWindowsTwoZeroOneNine), string(OSSKUWindowsTwoZeroTwoTwo), } @@ -46,12 +48,13 @@ func (s *OSSKU) UnmarshalJSON(bytes []byte) error { func parseOSSKU(input string) (*OSSKU, error) { vals := map[string]OSSKU{ - "azurelinux": OSSKUAzureLinux, - "cblmariner": OSSKUCBLMariner, - "mariner": OSSKUMariner, - "ubuntu": OSSKUUbuntu, - "windows2019": OSSKUWindowsTwoZeroOneNine, - "windows2022": OSSKUWindowsTwoZeroTwoTwo, + "azurelinux": OSSKUAzureLinux, + "cblmariner": OSSKUCBLMariner, + "mariner": OSSKUMariner, + "ubuntu": OSSKUUbuntu, + "windowsannual": OSSKUWindowsAnnual, + "windows2019": OSSKUWindowsTwoZeroOneNine, + "windows2022": OSSKUWindowsTwoZeroTwoTwo, } if v, ok := vals[strings.ToLower(input)]; ok { return &v, nil diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/snapshots/id_snapshot.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/snapshots/id_snapshot.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/snapshots/id_snapshot.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/snapshots/id_snapshot.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/snapshots/method_createorupdate.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/snapshots/method_createorupdate.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/snapshots/method_createorupdate.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/snapshots/method_createorupdate.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/snapshots/method_delete.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/snapshots/method_delete.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/snapshots/method_delete.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/snapshots/method_delete.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/snapshots/method_get.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/snapshots/method_get.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/snapshots/method_get.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/snapshots/method_get.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/snapshots/method_list.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/snapshots/method_list.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/snapshots/method_list.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/snapshots/method_list.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/snapshots/method_listbyresourcegroup.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/snapshots/method_listbyresourcegroup.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/snapshots/method_listbyresourcegroup.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/snapshots/method_listbyresourcegroup.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/snapshots/method_updatetags.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/snapshots/method_updatetags.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/snapshots/method_updatetags.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/snapshots/method_updatetags.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/snapshots/model_creationdata.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/snapshots/model_creationdata.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/snapshots/model_creationdata.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/snapshots/model_creationdata.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/snapshots/model_snapshot.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/snapshots/model_snapshot.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/snapshots/model_snapshot.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/snapshots/model_snapshot.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/snapshots/model_snapshotproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/snapshots/model_snapshotproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/snapshots/model_snapshotproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/snapshots/model_snapshotproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/snapshots/model_tagsobject.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/snapshots/model_tagsobject.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/snapshots/model_tagsobject.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/snapshots/model_tagsobject.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/snapshots/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/snapshots/predicates.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/snapshots/predicates.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/snapshots/predicates.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/snapshots/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/snapshots/version.go similarity index 86% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/snapshots/version.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/snapshots/version.go index dfb5d5515a8c..ea2366fd8134 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/snapshots/version.go +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/snapshots/version.go @@ -5,7 +5,7 @@ import "fmt" // 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-06-02-preview" +const defaultApiVersion = "2023-09-02-preview" func userAgent() string { return fmt.Sprintf("hashicorp/go-azure-sdk/snapshots/%s", defaultApiVersion) diff --git a/vendor/modules.txt b/vendor/modules.txt index ca367fce4e72..d9311023e572 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -387,10 +387,10 @@ github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-03-02-p github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-03-02-preview/resolveprivatelinkserviceid github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-03-02-preview/snapshots github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-03-02-preview/trustedaccess -github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/agentpools -github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/maintenanceconfigurations -github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/managedclusters -github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-06-02-preview/snapshots +github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/agentpools +github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/maintenanceconfigurations +github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/managedclusters +github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-09-02-preview/snapshots github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-10-15 github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-10-15/fleetmembers github.com/hashicorp/go-azure-sdk/resource-manager/containerservice/2023-10-15/fleets diff --git a/website/docs/r/kubernetes_cluster.html.markdown b/website/docs/r/kubernetes_cluster.html.markdown index fda716b4de00..ac00e680354c 100644 --- a/website/docs/r/kubernetes_cluster.html.markdown +++ b/website/docs/r/kubernetes_cluster.html.markdown @@ -1136,14 +1136,6 @@ The `web_app_routing_identity` block exports the following: --- -A `workload_autoscaler_profile` block exports the following: - -* `vertical_pod_autoscaler_controlled_values` - Which resources values should be controlled. - -* `vertical_pod_autoscaler_update_mode` - How the autoscaler applies changes to pod resources. - ---- - ## Timeouts The `timeouts` block allows you to specify [timeouts](https://www.terraform.io/language/resources/syntax#operation-timeouts) for certain actions: