From cc569fffbf1eb76977d1cf3e91b33416c9b82f35 Mon Sep 17 00:00:00 2001 From: magodo Date: Mon, 25 Jul 2022 13:30:03 +0800 Subject: [PATCH] Upgrade API for domain service: 2020-01-01 -> 2021-05-01 --- ...ve_directory_domain_service_data_source.go | 2 +- ...ory_domain_service_replica_set_resource.go | 2 +- ...ctive_directory_domain_service_resource.go | 2 +- .../active_directory_domain_service_test.go | 2 +- ...directory_domain_service_trust_resource.go | 2 +- ...tory_domain_service_trust_resource_test.go | 2 +- .../services/domainservices/client/client.go | 2 +- .../domainservices/README.md | 6 +- .../domainservices/client.go | 0 .../domainservices/constants.go | 96 +++++++++++++++++++ .../domainservices/id_domainservice.go | 0 .../method_createorupdate_autorest.go | 0 .../domainservices/method_delete_autorest.go | 0 .../domainservices/method_get_autorest.go | 0 .../domainservices/method_list_autorest.go | 0 .../method_listbyresourcegroup_autorest.go | 0 .../domainservices/method_update_autorest.go | 0 .../domainservices/model_configdiagnostics.go | 9 ++ .../model_configdiagnosticsvalidatorresult.go | 11 +++ ...l_configdiagnosticsvalidatorresultissue.go | 9 ++ .../model_domainsecuritysettings.go | 2 + .../domainservices/model_domainservice.go | 5 + .../model_domainserviceproperties.go | 1 + .../domainservices/model_foresttrust.go | 0 .../domainservices/model_healthalert.go | 0 .../domainservices/model_healthmonitor.go | 0 .../domainservices/model_ldapssettings.go | 0 .../domainservices/model_migrationprogress.go | 0 .../model_migrationproperties.go | 0 .../model_notificationsettings.go | 0 .../domainservices/model_replicaset.go | 0 .../model_resourceforestsettings.go | 0 .../domainservices/predicates.go | 0 .../domainservices/version.go | 2 +- vendor/modules.txt | 2 +- 35 files changed, 145 insertions(+), 12 deletions(-) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/{2020-01-01 => 2021-05-01}/domainservices/README.md (93%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/{2020-01-01 => 2021-05-01}/domainservices/client.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/{2020-01-01 => 2021-05-01}/domainservices/constants.go (74%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/{2020-01-01 => 2021-05-01}/domainservices/id_domainservice.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/{2020-01-01 => 2021-05-01}/domainservices/method_createorupdate_autorest.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/{2020-01-01 => 2021-05-01}/domainservices/method_delete_autorest.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/{2020-01-01 => 2021-05-01}/domainservices/method_get_autorest.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/{2020-01-01 => 2021-05-01}/domainservices/method_list_autorest.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/{2020-01-01 => 2021-05-01}/domainservices/method_listbyresourcegroup_autorest.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/{2020-01-01 => 2021-05-01}/domainservices/method_update_autorest.go (100%) create mode 100644 vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/2021-05-01/domainservices/model_configdiagnostics.go create mode 100644 vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/2021-05-01/domainservices/model_configdiagnosticsvalidatorresult.go create mode 100644 vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/2021-05-01/domainservices/model_configdiagnosticsvalidatorresultissue.go rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/{2020-01-01 => 2021-05-01}/domainservices/model_domainsecuritysettings.go (78%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/{2020-01-01 => 2021-05-01}/domainservices/model_domainservice.go (81%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/{2020-01-01 => 2021-05-01}/domainservices/model_domainserviceproperties.go (94%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/{2020-01-01 => 2021-05-01}/domainservices/model_foresttrust.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/{2020-01-01 => 2021-05-01}/domainservices/model_healthalert.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/{2020-01-01 => 2021-05-01}/domainservices/model_healthmonitor.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/{2020-01-01 => 2021-05-01}/domainservices/model_ldapssettings.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/{2020-01-01 => 2021-05-01}/domainservices/model_migrationprogress.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/{2020-01-01 => 2021-05-01}/domainservices/model_migrationproperties.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/{2020-01-01 => 2021-05-01}/domainservices/model_notificationsettings.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/{2020-01-01 => 2021-05-01}/domainservices/model_replicaset.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/{2020-01-01 => 2021-05-01}/domainservices/model_resourceforestsettings.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/{2020-01-01 => 2021-05-01}/domainservices/predicates.go (100%) rename vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/{2020-01-01 => 2021-05-01}/domainservices/version.go (88%) diff --git a/internal/services/domainservices/active_directory_domain_service_data_source.go b/internal/services/domainservices/active_directory_domain_service_data_source.go index b4f5164102bd..2a8321b17ed4 100644 --- a/internal/services/domainservices/active_directory_domain_service_data_source.go +++ b/internal/services/domainservices/active_directory_domain_service_data_source.go @@ -8,7 +8,7 @@ import ( "github.com/hashicorp/go-azure-helpers/resourcemanager/commonschema" "github.com/hashicorp/go-azure-helpers/resourcemanager/location" "github.com/hashicorp/go-azure-helpers/resourcemanager/tags" - "github.com/hashicorp/go-azure-sdk/resource-manager/aad/2020-01-01/domainservices" + "github.com/hashicorp/go-azure-sdk/resource-manager/aad/2021-05-01/domainservices" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" "github.com/hashicorp/terraform-provider-azurerm/internal/tf/pluginsdk" "github.com/hashicorp/terraform-provider-azurerm/internal/tf/validation" diff --git a/internal/services/domainservices/active_directory_domain_service_replica_set_resource.go b/internal/services/domainservices/active_directory_domain_service_replica_set_resource.go index 2808b3b63e7d..a879d5c3e1e7 100644 --- a/internal/services/domainservices/active_directory_domain_service_replica_set_resource.go +++ b/internal/services/domainservices/active_directory_domain_service_replica_set_resource.go @@ -7,7 +7,7 @@ import ( "github.com/hashicorp/go-azure-helpers/lang/response" "github.com/hashicorp/go-azure-helpers/resourcemanager/location" - "github.com/hashicorp/go-azure-sdk/resource-manager/aad/2020-01-01/domainservices" + "github.com/hashicorp/go-azure-sdk/resource-manager/aad/2021-05-01/domainservices" "github.com/hashicorp/terraform-provider-azurerm/helpers/azure" "github.com/hashicorp/terraform-provider-azurerm/helpers/tf" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" diff --git a/internal/services/domainservices/active_directory_domain_service_resource.go b/internal/services/domainservices/active_directory_domain_service_resource.go index 88a9029b62d7..938d8c7d1aab 100644 --- a/internal/services/domainservices/active_directory_domain_service_resource.go +++ b/internal/services/domainservices/active_directory_domain_service_resource.go @@ -11,7 +11,7 @@ import ( "github.com/hashicorp/go-azure-helpers/resourcemanager/commonschema" "github.com/hashicorp/go-azure-helpers/resourcemanager/location" "github.com/hashicorp/go-azure-helpers/resourcemanager/tags" - "github.com/hashicorp/go-azure-sdk/resource-manager/aad/2020-01-01/domainservices" + "github.com/hashicorp/go-azure-sdk/resource-manager/aad/2021-05-01/domainservices" "github.com/hashicorp/terraform-provider-azurerm/helpers/tf" azValidate "github.com/hashicorp/terraform-provider-azurerm/helpers/validate" "github.com/hashicorp/terraform-provider-azurerm/internal/clients" diff --git a/internal/services/domainservices/active_directory_domain_service_test.go b/internal/services/domainservices/active_directory_domain_service_test.go index da7e5106e7de..4ff74847bcb5 100644 --- a/internal/services/domainservices/active_directory_domain_service_test.go +++ b/internal/services/domainservices/active_directory_domain_service_test.go @@ -5,7 +5,7 @@ import ( "fmt" "testing" - "github.com/hashicorp/go-azure-sdk/resource-manager/aad/2020-01-01/domainservices" + "github.com/hashicorp/go-azure-sdk/resource-manager/aad/2021-05-01/domainservices" "github.com/hashicorp/terraform-provider-azurerm/helpers/azure" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance/check" diff --git a/internal/services/domainservices/active_directory_domain_service_trust_resource.go b/internal/services/domainservices/active_directory_domain_service_trust_resource.go index 90597673c00d..df665061b7a6 100644 --- a/internal/services/domainservices/active_directory_domain_service_trust_resource.go +++ b/internal/services/domainservices/active_directory_domain_service_trust_resource.go @@ -7,7 +7,7 @@ import ( "time" "github.com/hashicorp/go-azure-helpers/lang/response" - "github.com/hashicorp/go-azure-sdk/resource-manager/aad/2020-01-01/domainservices" + "github.com/hashicorp/go-azure-sdk/resource-manager/aad/2021-05-01/domainservices" "github.com/hashicorp/terraform-provider-azurerm/internal/locks" "github.com/hashicorp/terraform-provider-azurerm/internal/sdk" "github.com/hashicorp/terraform-provider-azurerm/internal/services/domainservices/parse" diff --git a/internal/services/domainservices/active_directory_domain_service_trust_resource_test.go b/internal/services/domainservices/active_directory_domain_service_trust_resource_test.go index 421c20aeffc2..629d2571ff2d 100644 --- a/internal/services/domainservices/active_directory_domain_service_trust_resource_test.go +++ b/internal/services/domainservices/active_directory_domain_service_trust_resource_test.go @@ -7,7 +7,7 @@ import ( "testing" "github.com/hashicorp/go-azure-helpers/lang/response" - "github.com/hashicorp/go-azure-sdk/resource-manager/aad/2020-01-01/domainservices" + "github.com/hashicorp/go-azure-sdk/resource-manager/aad/2021-05-01/domainservices" "github.com/hashicorp/terraform-plugin-sdk/v2/helper/resource" "github.com/hashicorp/terraform-plugin-sdk/v2/terraform" "github.com/hashicorp/terraform-provider-azurerm/internal/acceptance" diff --git a/internal/services/domainservices/client/client.go b/internal/services/domainservices/client/client.go index 93103266b92f..e83f747a2938 100644 --- a/internal/services/domainservices/client/client.go +++ b/internal/services/domainservices/client/client.go @@ -1,7 +1,7 @@ package client import ( - "github.com/hashicorp/go-azure-sdk/resource-manager/aad/2020-01-01/domainservices" + "github.com/hashicorp/go-azure-sdk/resource-manager/aad/2021-05-01/domainservices" "github.com/hashicorp/terraform-provider-azurerm/internal/common" ) diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/2020-01-01/domainservices/README.md b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/2021-05-01/domainservices/README.md similarity index 93% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/2020-01-01/domainservices/README.md rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/2021-05-01/domainservices/README.md index a647b8b032c0..9aaf46050e08 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/2020-01-01/domainservices/README.md +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/2021-05-01/domainservices/README.md @@ -1,14 +1,14 @@ -## `github.com/hashicorp/go-azure-sdk/resource-manager/aad/2020-01-01/domainservices` Documentation +## `github.com/hashicorp/go-azure-sdk/resource-manager/aad/2021-05-01/domainservices` Documentation -The `domainservices` SDK allows for interaction with the Azure Resource Manager Service `aad` (API Version `2020-01-01`). +The `domainservices` SDK allows for interaction with the Azure Resource Manager Service `aad` (API Version `2021-05-01`). This readme covers example usages, but further information on [using this SDK can be found in the project root](https://github.com/hashicorp/go-azure-sdk/tree/main/docs). ### Import Path ```go -import "github.com/hashicorp/go-azure-sdk/resource-manager/aad/2020-01-01/domainservices" +import "github.com/hashicorp/go-azure-sdk/resource-manager/aad/2021-05-01/domainservices" ``` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/2020-01-01/domainservices/client.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/2021-05-01/domainservices/client.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/2020-01-01/domainservices/client.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/2021-05-01/domainservices/client.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/2020-01-01/domainservices/constants.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/2021-05-01/domainservices/constants.go similarity index 74% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/2020-01-01/domainservices/constants.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/2021-05-01/domainservices/constants.go index 000ced62559e..606ee7bed57f 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/2020-01-01/domainservices/constants.go +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/2021-05-01/domainservices/constants.go @@ -61,6 +61,62 @@ func parseFilteredSync(input string) (*FilteredSync, error) { return &out, nil } +type KerberosArmoring string + +const ( + KerberosArmoringDisabled KerberosArmoring = "Disabled" + KerberosArmoringEnabled KerberosArmoring = "Enabled" +) + +func PossibleValuesForKerberosArmoring() []string { + return []string{ + string(KerberosArmoringDisabled), + string(KerberosArmoringEnabled), + } +} + +func parseKerberosArmoring(input string) (*KerberosArmoring, error) { + vals := map[string]KerberosArmoring{ + "disabled": KerberosArmoringDisabled, + "enabled": KerberosArmoringEnabled, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := KerberosArmoring(input) + return &out, nil +} + +type KerberosRc4Encryption string + +const ( + KerberosRc4EncryptionDisabled KerberosRc4Encryption = "Disabled" + KerberosRc4EncryptionEnabled KerberosRc4Encryption = "Enabled" +) + +func PossibleValuesForKerberosRc4Encryption() []string { + return []string{ + string(KerberosRc4EncryptionDisabled), + string(KerberosRc4EncryptionEnabled), + } +} + +func parseKerberosRc4Encryption(input string) (*KerberosRc4Encryption, error) { + vals := map[string]KerberosRc4Encryption{ + "disabled": KerberosRc4EncryptionDisabled, + "enabled": KerberosRc4EncryptionEnabled, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := KerberosRc4Encryption(input) + return &out, nil +} + type Ldaps string const ( @@ -173,6 +229,46 @@ func parseNtlmV1(input string) (*NtlmV1, error) { return &out, nil } +type Status string + +const ( + StatusFailure Status = "Failure" + StatusNone Status = "None" + StatusOK Status = "OK" + StatusRunning Status = "Running" + StatusSkipped Status = "Skipped" + StatusWarning Status = "Warning" +) + +func PossibleValuesForStatus() []string { + return []string{ + string(StatusFailure), + string(StatusNone), + string(StatusOK), + string(StatusRunning), + string(StatusSkipped), + string(StatusWarning), + } +} + +func parseStatus(input string) (*Status, error) { + vals := map[string]Status{ + "failure": StatusFailure, + "none": StatusNone, + "ok": StatusOK, + "running": StatusRunning, + "skipped": StatusSkipped, + "warning": StatusWarning, + } + if v, ok := vals[strings.ToLower(input)]; ok { + return &v, nil + } + + // otherwise presume it's an undefined value and best-effort it + out := Status(input) + return &out, nil +} + type SyncKerberosPasswords string const ( diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/2020-01-01/domainservices/id_domainservice.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/2021-05-01/domainservices/id_domainservice.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/2020-01-01/domainservices/id_domainservice.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/2021-05-01/domainservices/id_domainservice.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/2020-01-01/domainservices/method_createorupdate_autorest.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/2021-05-01/domainservices/method_createorupdate_autorest.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/2020-01-01/domainservices/method_createorupdate_autorest.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/2021-05-01/domainservices/method_createorupdate_autorest.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/2020-01-01/domainservices/method_delete_autorest.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/2021-05-01/domainservices/method_delete_autorest.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/2020-01-01/domainservices/method_delete_autorest.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/2021-05-01/domainservices/method_delete_autorest.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/2020-01-01/domainservices/method_get_autorest.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/2021-05-01/domainservices/method_get_autorest.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/2020-01-01/domainservices/method_get_autorest.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/2021-05-01/domainservices/method_get_autorest.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/2020-01-01/domainservices/method_list_autorest.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/2021-05-01/domainservices/method_list_autorest.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/2020-01-01/domainservices/method_list_autorest.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/2021-05-01/domainservices/method_list_autorest.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/2020-01-01/domainservices/method_listbyresourcegroup_autorest.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/2021-05-01/domainservices/method_listbyresourcegroup_autorest.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/2020-01-01/domainservices/method_listbyresourcegroup_autorest.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/2021-05-01/domainservices/method_listbyresourcegroup_autorest.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/2020-01-01/domainservices/method_update_autorest.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/2021-05-01/domainservices/method_update_autorest.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/2020-01-01/domainservices/method_update_autorest.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/2021-05-01/domainservices/method_update_autorest.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/2021-05-01/domainservices/model_configdiagnostics.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/2021-05-01/domainservices/model_configdiagnostics.go new file mode 100644 index 000000000000..4bd1c047c3a5 --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/2021-05-01/domainservices/model_configdiagnostics.go @@ -0,0 +1,9 @@ +package domainservices + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ConfigDiagnostics struct { + LastExecuted *string `json:"lastExecuted,omitempty"` + ValidatorResults *[]ConfigDiagnosticsValidatorResult `json:"validatorResults,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/2021-05-01/domainservices/model_configdiagnosticsvalidatorresult.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/2021-05-01/domainservices/model_configdiagnosticsvalidatorresult.go new file mode 100644 index 000000000000..25159b76c0ee --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/2021-05-01/domainservices/model_configdiagnosticsvalidatorresult.go @@ -0,0 +1,11 @@ +package domainservices + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ConfigDiagnosticsValidatorResult struct { + Issues *[]ConfigDiagnosticsValidatorResultIssue `json:"issues,omitempty"` + ReplicaSetSubnetDisplayName *string `json:"replicaSetSubnetDisplayName,omitempty"` + Status *Status `json:"status,omitempty"` + ValidatorId *string `json:"validatorId,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/2021-05-01/domainservices/model_configdiagnosticsvalidatorresultissue.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/2021-05-01/domainservices/model_configdiagnosticsvalidatorresultissue.go new file mode 100644 index 000000000000..f7cfa21f854d --- /dev/null +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/2021-05-01/domainservices/model_configdiagnosticsvalidatorresultissue.go @@ -0,0 +1,9 @@ +package domainservices + +// Copyright (c) Microsoft Corporation. All rights reserved. +// Licensed under the MIT License. See NOTICE.txt in the project root for license information. + +type ConfigDiagnosticsValidatorResultIssue struct { + DescriptionParams *[]string `json:"descriptionParams,omitempty"` + Id *string `json:"id,omitempty"` +} diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/2020-01-01/domainservices/model_domainsecuritysettings.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/2021-05-01/domainservices/model_domainsecuritysettings.go similarity index 78% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/2020-01-01/domainservices/model_domainsecuritysettings.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/2021-05-01/domainservices/model_domainsecuritysettings.go index 615c6db89039..e96833e181e7 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/2020-01-01/domainservices/model_domainsecuritysettings.go +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/2021-05-01/domainservices/model_domainsecuritysettings.go @@ -4,6 +4,8 @@ package domainservices // Licensed under the MIT License. See NOTICE.txt in the project root for license information. type DomainSecuritySettings struct { + KerberosArmoring *KerberosArmoring `json:"kerberosArmoring,omitempty"` + KerberosRc4Encryption *KerberosRc4Encryption `json:"kerberosRc4Encryption,omitempty"` NtlmV1 *NtlmV1 `json:"ntlmV1,omitempty"` SyncKerberosPasswords *SyncKerberosPasswords `json:"syncKerberosPasswords,omitempty"` SyncNtlmPasswords *SyncNtlmPasswords `json:"syncNtlmPasswords,omitempty"` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/2020-01-01/domainservices/model_domainservice.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/2021-05-01/domainservices/model_domainservice.go similarity index 81% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/2020-01-01/domainservices/model_domainservice.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/2021-05-01/domainservices/model_domainservice.go index 358faf586a70..01e872cfa6dd 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/2020-01-01/domainservices/model_domainservice.go +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/2021-05-01/domainservices/model_domainservice.go @@ -1,5 +1,9 @@ package domainservices +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. @@ -9,6 +13,7 @@ type DomainService struct { Location *string `json:"location,omitempty"` Name *string `json:"name,omitempty"` Properties *DomainServiceProperties `json:"properties,omitempty"` + SystemData *systemdata.SystemData `json:"systemData,omitempty"` Tags *map[string]string `json:"tags,omitempty"` Type *string `json:"type,omitempty"` } diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/2020-01-01/domainservices/model_domainserviceproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/2021-05-01/domainservices/model_domainserviceproperties.go similarity index 94% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/2020-01-01/domainservices/model_domainserviceproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/2021-05-01/domainservices/model_domainserviceproperties.go index 98090afe2d7c..9825521dce65 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/2020-01-01/domainservices/model_domainserviceproperties.go +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/2021-05-01/domainservices/model_domainserviceproperties.go @@ -4,6 +4,7 @@ package domainservices // Licensed under the MIT License. See NOTICE.txt in the project root for license information. type DomainServiceProperties struct { + ConfigDiagnostics *ConfigDiagnostics `json:"configDiagnostics,omitempty"` DeploymentId *string `json:"deploymentId,omitempty"` DomainConfigurationType *string `json:"domainConfigurationType,omitempty"` DomainName *string `json:"domainName,omitempty"` diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/2020-01-01/domainservices/model_foresttrust.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/2021-05-01/domainservices/model_foresttrust.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/2020-01-01/domainservices/model_foresttrust.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/2021-05-01/domainservices/model_foresttrust.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/2020-01-01/domainservices/model_healthalert.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/2021-05-01/domainservices/model_healthalert.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/2020-01-01/domainservices/model_healthalert.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/2021-05-01/domainservices/model_healthalert.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/2020-01-01/domainservices/model_healthmonitor.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/2021-05-01/domainservices/model_healthmonitor.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/2020-01-01/domainservices/model_healthmonitor.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/2021-05-01/domainservices/model_healthmonitor.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/2020-01-01/domainservices/model_ldapssettings.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/2021-05-01/domainservices/model_ldapssettings.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/2020-01-01/domainservices/model_ldapssettings.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/2021-05-01/domainservices/model_ldapssettings.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/2020-01-01/domainservices/model_migrationprogress.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/2021-05-01/domainservices/model_migrationprogress.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/2020-01-01/domainservices/model_migrationprogress.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/2021-05-01/domainservices/model_migrationprogress.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/2020-01-01/domainservices/model_migrationproperties.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/2021-05-01/domainservices/model_migrationproperties.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/2020-01-01/domainservices/model_migrationproperties.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/2021-05-01/domainservices/model_migrationproperties.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/2020-01-01/domainservices/model_notificationsettings.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/2021-05-01/domainservices/model_notificationsettings.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/2020-01-01/domainservices/model_notificationsettings.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/2021-05-01/domainservices/model_notificationsettings.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/2020-01-01/domainservices/model_replicaset.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/2021-05-01/domainservices/model_replicaset.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/2020-01-01/domainservices/model_replicaset.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/2021-05-01/domainservices/model_replicaset.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/2020-01-01/domainservices/model_resourceforestsettings.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/2021-05-01/domainservices/model_resourceforestsettings.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/2020-01-01/domainservices/model_resourceforestsettings.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/2021-05-01/domainservices/model_resourceforestsettings.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/2020-01-01/domainservices/predicates.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/2021-05-01/domainservices/predicates.go similarity index 100% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/2020-01-01/domainservices/predicates.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/2021-05-01/domainservices/predicates.go diff --git a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/2020-01-01/domainservices/version.go b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/2021-05-01/domainservices/version.go similarity index 88% rename from vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/2020-01-01/domainservices/version.go rename to vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/2021-05-01/domainservices/version.go index 983028832103..5bd9e4b8ecd5 100644 --- a/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/2020-01-01/domainservices/version.go +++ b/vendor/github.com/hashicorp/go-azure-sdk/resource-manager/aad/2021-05-01/domainservices/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 = "2020-01-01" +const defaultApiVersion = "2021-05-01" func userAgent() string { return fmt.Sprintf("hashicorp/go-azure-sdk/domainservices/%s", defaultApiVersion) diff --git a/vendor/modules.txt b/vendor/modules.txt index 780f6a13b746..7cba5ddc7c9a 100644 --- a/vendor/modules.txt +++ b/vendor/modules.txt @@ -192,7 +192,7 @@ github.com/hashicorp/go-azure-helpers/sender github.com/hashicorp/go-azure-helpers/storage # github.com/hashicorp/go-azure-sdk v0.20220719.1202339 ## explicit; go 1.18 -github.com/hashicorp/go-azure-sdk/resource-manager/aad/2020-01-01/domainservices +github.com/hashicorp/go-azure-sdk/resource-manager/aad/2021-05-01/domainservices github.com/hashicorp/go-azure-sdk/resource-manager/aadb2c/2021-04-01-preview/tenants github.com/hashicorp/go-azure-sdk/resource-manager/analysisservices/2017-08-01/servers github.com/hashicorp/go-azure-sdk/resource-manager/appconfiguration/2022-05-01/configurationstores