diff --git a/CHANGELOG.md b/CHANGELOG.md index fc5bd5d9..d497f75f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,13 @@ +## 1.1.24-beta (October 25, 2023) +BUGFIXES: +* Resource dnacenter_wireless_profile does not support adding new SSIDs to profile #229. +* Hardcoded sleep in dnacenter_floor, dnacenter_building, dnacenter_area resources #227 - Sleep removed. +* Pagination support when interacting with API #215 - Limit Changes to 500. +* Provider crash when creating dnacenter_reserve_ip_subpool resource.#228 - API error with 200 Code managed. +* GET operations on ´dnacenter_sda_fabric_border_device´ not working #230 - API bug in documentation. +* dnacenter_wireless_enterprise_ssid WPA3 SSIDs fail to provision due to missing parameter #232 - Params added and Idempotency manged. +* dnacenter_wireless_profiles does not properly read or synchronizes to state #233 - Idemportency managed. + ## 1.1.23-beta (October 16, 2023) BUGFIXES: * Token is refreshing in go-sdk. diff --git a/Makefile b/Makefile index f09f4d17..1544a728 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,7 @@ HOSTNAME=hashicorp.com NAMESPACE=edu NAME=dnacenter BINARY=terraform-provider-${NAME} -VERSION=1.1.23-beta +VERSION=1.1.24-beta OS_ARCH=darwin_amd64 # Change to OS_ARCH=darwin_arm64 or your current architecture GOFMT_FILES?=$$(find . -name '*.go' |grep -v vendor) diff --git a/README.md b/README.md index 9358b1e5..914d475b 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ The following table shows the supported versions. | 2.2.3.3 | 0.3.0-beta | | 2.2.3.3 | 0.3.0 | | 2.3.3.0 | 1.0.19-beta | -| 2.3.5.3 | 1.1.23-beta | +| 2.3.5.3 | 1.1.24-beta | If your SDK, Terraform provider is older please consider updating it first. @@ -66,7 +66,7 @@ terraform { required_providers { dnacenter = { source = "cisco-en-programmability/dnacenter" - version = "1.1.23-beta" + version = "1.1.24-beta" } } } diff --git a/dnacenter/data_source_sda_fabric_border_device.go b/dnacenter/data_source_sda_fabric_border_device.go index 8acc7cbb..fc03e49b 100644 --- a/dnacenter/data_source_sda_fabric_border_device.go +++ b/dnacenter/data_source_sda_fabric_border_device.go @@ -38,44 +38,90 @@ func dataSourceSdaFabricBorderDevice() *schema.Resource { Computed: true, }, - "payload": &schema.Schema{ - Type: schema.TypeList, - Computed: true, - Elem: &schema.Resource{ - Schema: map[string]*schema.Schema{ + "akc_settings_cfs": &schema.Schema{ + Description: `Akc Settings Cfs`, + Type: schema.TypeList, + Computed: true, + Elem: &schema.Schema{ + Type: schema.TypeString, + }, + }, - "akc_settings_cfs": &schema.Schema{ - Description: `Akc Settings Cfs`, - Type: schema.TypeList, - Computed: true, - Elem: &schema.Schema{ - Type: schema.TypeString, - }, - }, + "auth_entity_class": &schema.Schema{ + Description: `Auth Entity Class`, + Type: schema.TypeInt, + Computed: true, + }, - "auth_entity_class": &schema.Schema{ - Description: `Auth Entity Class`, - Type: schema.TypeInt, - Computed: true, - }, + "auth_entity_id": &schema.Schema{ + Description: `Auth Entity Id`, + Type: schema.TypeInt, + Computed: true, + }, - "auth_entity_id": &schema.Schema{ - Description: `Auth Entity Id`, - Type: schema.TypeInt, - Computed: true, - }, + "cfs_change_info": &schema.Schema{ + Description: `Cfs Change Info`, + Type: schema.TypeList, + Computed: true, + Elem: &schema.Schema{ + Type: schema.TypeString, + }, + }, - "cfs_change_info": &schema.Schema{ - Description: `Cfs Change Info`, - Type: schema.TypeList, - Computed: true, - Elem: &schema.Schema{ - Type: schema.TypeString, - }, - }, + "configs": &schema.Schema{ + Description: `Configs`, + Type: schema.TypeList, + Computed: true, + Elem: &schema.Schema{ + Type: schema.TypeString, + }, + }, + + "create_time": &schema.Schema{ + Description: `Create Time`, + Type: schema.TypeInt, + Computed: true, + }, + + "custom_provisions": &schema.Schema{ + Description: `Custom Provisions`, + Type: schema.TypeList, + Computed: true, + Elem: &schema.Schema{ + Type: schema.TypeString, + }, + }, + + "deploy_pending": &schema.Schema{ + Description: `Deploy Pending`, + Type: schema.TypeString, + Computed: true, + }, + + "deployed": &schema.Schema{ + Description: `Deployed`, + // Type: schema.TypeBool, + Type: schema.TypeString, + Computed: true, + }, + + "device_interface_info": &schema.Schema{ + Description: `Device Interface Info`, + Type: schema.TypeList, + Computed: true, + Elem: &schema.Schema{ + Type: schema.TypeString, + }, + }, + + "device_settings": &schema.Schema{ + Type: schema.TypeList, + Computed: true, + Elem: &schema.Resource{ + Schema: map[string]*schema.Schema{ - "configs": &schema.Schema{ - Description: `Configs`, + "connected_to": &schema.Schema{ + Description: `Connected To`, Type: schema.TypeList, Computed: true, Elem: &schema.Schema{ @@ -83,19 +129,10 @@ func dataSourceSdaFabricBorderDevice() *schema.Resource { }, }, - "create_time": &schema.Schema{ - Description: `Create Time`, - Type: schema.TypeInt, - Computed: true, - }, - - "custom_provisions": &schema.Schema{ - Description: `Custom Provisions`, - Type: schema.TypeList, + "cpu": &schema.Schema{ + Description: `Cpu`, + Type: schema.TypeFloat, Computed: true, - Elem: &schema.Schema{ - Type: schema.TypeString, - }, }, "deploy_pending": &schema.Schema{ @@ -104,63 +141,83 @@ func dataSourceSdaFabricBorderDevice() *schema.Resource { Computed: true, }, - "deployed": &schema.Schema{ - Description: `Deployed`, + "dhcp_enabled": &schema.Schema{ + Description: `Dhcp Enabled`, // Type: schema.TypeBool, Type: schema.TypeString, Computed: true, }, - "device_interface_info": &schema.Schema{ - Description: `Device Interface Info`, - Type: schema.TypeList, + "display_name": &schema.Schema{ + Description: `Display Name`, + Type: schema.TypeString, Computed: true, - Elem: &schema.Schema{ - Type: schema.TypeString, - }, }, - "device_settings": &schema.Schema{ + "ext_connectivity_settings": &schema.Schema{ Type: schema.TypeList, Computed: true, Elem: &schema.Resource{ Schema: map[string]*schema.Schema{ - "connected_to": &schema.Schema{ - Description: `Connected To`, - Type: schema.TypeList, + "deploy_pending": &schema.Schema{ + Description: `Deploy Pending`, + Type: schema.TypeString, Computed: true, - Elem: &schema.Schema{ - Type: schema.TypeString, - }, }, - "cpu": &schema.Schema{ - Description: `Cpu`, - Type: schema.TypeFloat, + "display_name": &schema.Schema{ + Description: `Display Name`, + Type: schema.TypeString, Computed: true, }, - "deploy_pending": &schema.Schema{ - Description: `Deploy Pending`, + "external_domain_protocol_number": &schema.Schema{ + Description: `External Domain Protocol Number`, Type: schema.TypeString, Computed: true, }, - "dhcp_enabled": &schema.Schema{ - Description: `Dhcp Enabled`, - // Type: schema.TypeBool, - Type: schema.TypeString, - Computed: true, + "id": &schema.Schema{ + Description: `Id`, + Type: schema.TypeString, + Computed: true, }, - "display_name": &schema.Schema{ - Description: `Display Name`, + "instance_id": &schema.Schema{ + Description: `Instance Id`, + Type: schema.TypeInt, + Computed: true, + }, + + "instance_tenant_id": &schema.Schema{ + Description: `Instance Tenant Id`, + Type: schema.TypeString, + Computed: true, + }, + + "instance_version": &schema.Schema{ + Description: `Instance Version`, + Type: schema.TypeInt, + Computed: true, + }, + + "interface_uuid": &schema.Schema{ + Description: `Interface Uuid`, Type: schema.TypeString, Computed: true, }, - "ext_connectivity_settings": &schema.Schema{ + "l2_handoff": &schema.Schema{ + Description: `L2 Handoff`, + Type: schema.TypeList, + Computed: true, + Elem: &schema.Schema{ + Type: schema.TypeString, + }, + }, + + "l3_handoff": &schema.Schema{ Type: schema.TypeList, Computed: true, Elem: &schema.Resource{ @@ -178,12 +235,6 @@ func dataSourceSdaFabricBorderDevice() *schema.Resource { Computed: true, }, - "external_domain_protocol_number": &schema.Schema{ - Description: `External Domain Protocol Number`, - Type: schema.TypeString, - Computed: true, - }, - "id": &schema.Schema{ Description: `Id`, Type: schema.TypeString, @@ -204,178 +255,55 @@ func dataSourceSdaFabricBorderDevice() *schema.Resource { "instance_version": &schema.Schema{ Description: `Instance Version`, - Type: schema.TypeInt, + Type: schema.TypeFloat, Computed: true, }, - "interface_uuid": &schema.Schema{ - Description: `Interface Uuid`, + "local_ip_address": &schema.Schema{ + Description: `Local Ip Address`, Type: schema.TypeString, Computed: true, }, - "l2_handoff": &schema.Schema{ - Description: `L2 Handoff`, - Type: schema.TypeList, + "remote_ip_address": &schema.Schema{ + Description: `Remote Ip Address`, + Type: schema.TypeString, Computed: true, - Elem: &schema.Schema{ - Type: schema.TypeString, - }, }, - "l3_handoff": &schema.Schema{ + "virtual_network": &schema.Schema{ Type: schema.TypeList, Computed: true, Elem: &schema.Resource{ Schema: map[string]*schema.Schema{ - "deploy_pending": &schema.Schema{ - Description: `Deploy Pending`, + "id_ref": &schema.Schema{ + Description: `Id Ref`, Type: schema.TypeString, Computed: true, }, - - "display_name": &schema.Schema{ - Description: `Display Name`, - Type: schema.TypeString, - Computed: true, - }, - - "id": &schema.Schema{ - Description: `Id`, - Type: schema.TypeString, - Computed: true, - }, - - "instance_id": &schema.Schema{ - Description: `Instance Id`, - Type: schema.TypeInt, - Computed: true, - }, - - "instance_tenant_id": &schema.Schema{ - Description: `Instance Tenant Id`, - Type: schema.TypeString, - Computed: true, - }, - - "instance_version": &schema.Schema{ - Description: `Instance Version`, - Type: schema.TypeFloat, - Computed: true, - }, - - "local_ip_address": &schema.Schema{ - Description: `Local Ip Address`, - Type: schema.TypeString, - Computed: true, - }, - - "remote_ip_address": &schema.Schema{ - Description: `Remote Ip Address`, - Type: schema.TypeString, - Computed: true, - }, - - "virtual_network": &schema.Schema{ - Type: schema.TypeList, - Computed: true, - Elem: &schema.Resource{ - Schema: map[string]*schema.Schema{ - - "id_ref": &schema.Schema{ - Description: `Id Ref`, - Type: schema.TypeString, - Computed: true, - }, - }, - }, - }, - - "vlan_id": &schema.Schema{ - Description: `Vlan Id`, - Type: schema.TypeInt, - Computed: true, - }, }, }, }, - "policy_propagation_enabled": &schema.Schema{ - Description: `Policy Propagation Enabled`, - // Type: schema.TypeBool, - Type: schema.TypeString, - Computed: true, - }, - - "policy_sgt_tag": &schema.Schema{ - Description: `Policy Sgt Tag`, - Type: schema.TypeFloat, + "vlan_id": &schema.Schema{ + Description: `Vlan Id`, + Type: schema.TypeInt, Computed: true, }, }, }, }, - "external_connectivity_ip_pool": &schema.Schema{ - Description: `External Connectivity Ip Pool`, - Type: schema.TypeString, - Computed: true, - }, - - "external_domain_routing_protocol": &schema.Schema{ - Description: `External Domain Routing Protocol`, - Type: schema.TypeString, - Computed: true, - }, - - "id": &schema.Schema{ - Description: `Id`, - Type: schema.TypeString, - Computed: true, - }, - - "instance_id": &schema.Schema{ - Description: `Instance Id`, - Type: schema.TypeInt, - Computed: true, - }, - - "instance_tenant_id": &schema.Schema{ - Description: `Instance Tenant Id`, - Type: schema.TypeString, - Computed: true, - }, - - "instance_version": &schema.Schema{ - Description: `Instance Version`, - Type: schema.TypeInt, - Computed: true, - }, - - "internal_domain_protocol_number": &schema.Schema{ - Description: `Internal Domain Protocol Number`, - Type: schema.TypeString, - Computed: true, - }, - - "memory": &schema.Schema{ - Description: `Memory`, - Type: schema.TypeFloat, - Computed: true, - }, - - "node_type": &schema.Schema{ - Description: `Node Type`, - Type: schema.TypeList, - Computed: true, - Elem: &schema.Schema{ - Type: schema.TypeString, - }, + "policy_propagation_enabled": &schema.Schema{ + Description: `Policy Propagation Enabled`, + // Type: schema.TypeBool, + Type: schema.TypeString, + Computed: true, }, - "storage": &schema.Schema{ - Description: `Storage`, + "policy_sgt_tag": &schema.Schema{ + Description: `Policy Sgt Tag`, Type: schema.TypeFloat, Computed: true, }, @@ -383,8 +311,14 @@ func dataSourceSdaFabricBorderDevice() *schema.Resource { }, }, - "display_name": &schema.Schema{ - Description: `Display Name`, + "external_connectivity_ip_pool": &schema.Schema{ + Description: `External Connectivity Ip Pool`, + Type: schema.TypeString, + Computed: true, + }, + + "external_domain_routing_protocol": &schema.Schema{ + Description: `External Domain Routing Protocol`, Type: schema.TypeString, Computed: true, }, @@ -413,28 +347,20 @@ func dataSourceSdaFabricBorderDevice() *schema.Resource { Computed: true, }, - "is_seeded": &schema.Schema{ - Description: `Is Seeded`, - // Type: schema.TypeBool, - Type: schema.TypeString, - Computed: true, - }, - - "is_stale": &schema.Schema{ - Description: `Is Stale`, - // Type: schema.TypeBool, - Type: schema.TypeString, - Computed: true, + "internal_domain_protocol_number": &schema.Schema{ + Description: `Internal Domain Protocol Number`, + Type: schema.TypeString, + Computed: true, }, - "last_update_time": &schema.Schema{ - Description: `Last Update Time`, - Type: schema.TypeInt, + "memory": &schema.Schema{ + Description: `Memory`, + Type: schema.TypeFloat, Computed: true, }, - "managed_sites": &schema.Schema{ - Description: `Managed Sites`, + "node_type": &schema.Schema{ + Description: `Node Type`, Type: schema.TypeList, Computed: true, Elem: &schema.Schema{ @@ -442,116 +368,148 @@ func dataSourceSdaFabricBorderDevice() *schema.Resource { }, }, - "name": &schema.Schema{ - Description: `Name`, - Type: schema.TypeString, + "storage": &schema.Schema{ + Description: `Storage`, + Type: schema.TypeFloat, Computed: true, }, + }, + }, + }, - "namespace": &schema.Schema{ - Description: `Namespace`, - Type: schema.TypeString, - Computed: true, - }, + "display_name": &schema.Schema{ + Description: `Display Name`, + Type: schema.TypeString, + Computed: true, + }, - "network_device_id": &schema.Schema{ - Description: `Network Device Id`, - Type: schema.TypeString, - Computed: true, - }, + "id": &schema.Schema{ + Description: `Id`, + Type: schema.TypeString, + Computed: true, + }, - "network_wide_settings": &schema.Schema{ - Type: schema.TypeList, - Computed: true, - Elem: &schema.Resource{ - Schema: map[string]*schema.Schema{ + "instance_id": &schema.Schema{ + Description: `Instance Id`, + Type: schema.TypeInt, + Computed: true, + }, - "aaa": &schema.Schema{ - Description: `Aaa`, - Type: schema.TypeList, - Computed: true, - Elem: &schema.Schema{ - Type: schema.TypeString, - }, - }, + "instance_tenant_id": &schema.Schema{ + Description: `Instance Tenant Id`, + Type: schema.TypeString, + Computed: true, + }, - "cmx": &schema.Schema{ - Description: `Cmx`, - Type: schema.TypeList, - Computed: true, - Elem: &schema.Schema{ - Type: schema.TypeString, - }, - }, + "instance_version": &schema.Schema{ + Description: `Instance Version`, + Type: schema.TypeInt, + Computed: true, + }, - "deploy_pending": &schema.Schema{ - Description: `Deploy Pending`, - Type: schema.TypeString, - Computed: true, - }, + "is_seeded": &schema.Schema{ + Description: `Is Seeded`, + // Type: schema.TypeBool, + Type: schema.TypeString, + Computed: true, + }, - "dhcp": &schema.Schema{ - Type: schema.TypeList, - Computed: true, - Elem: &schema.Resource{ - Schema: map[string]*schema.Schema{ + "is_stale": &schema.Schema{ + Description: `Is Stale`, + // Type: schema.TypeBool, + Type: schema.TypeString, + Computed: true, + }, - "id": &schema.Schema{ - Description: `Id`, - Type: schema.TypeString, - Computed: true, - }, + "last_update_time": &schema.Schema{ + Description: `Last Update Time`, + Type: schema.TypeInt, + Computed: true, + }, - "ip_address": &schema.Schema{ - Type: schema.TypeList, - Computed: true, - Elem: &schema.Resource{ - Schema: map[string]*schema.Schema{ + "managed_sites": &schema.Schema{ + Description: `Managed Sites`, + Type: schema.TypeList, + Computed: true, + Elem: &schema.Schema{ + Type: schema.TypeString, + }, + }, - "address": &schema.Schema{ - Description: `Address`, - Type: schema.TypeString, - Computed: true, - }, + "name": &schema.Schema{ + Description: `Name`, + Type: schema.TypeString, + Computed: true, + }, - "address_type": &schema.Schema{ - Description: `Address Type`, - Type: schema.TypeString, - Computed: true, - }, + "namespace": &schema.Schema{ + Description: `Namespace`, + Type: schema.TypeString, + Computed: true, + }, - "id": &schema.Schema{ - Description: `Id`, - Type: schema.TypeString, - Computed: true, - }, + "network_device_id": &schema.Schema{ + Description: `Network Device Id`, + Type: schema.TypeString, + Computed: true, + }, - "padded_address": &schema.Schema{ - Description: `Padded Address`, - Type: schema.TypeString, - Computed: true, - }, - }, - }, - }, - }, - }, - }, + "network_wide_settings": &schema.Schema{ + Type: schema.TypeList, + Computed: true, + Elem: &schema.Resource{ + Schema: map[string]*schema.Schema{ - "display_name": &schema.Schema{ - Description: `Display Name`, + "aaa": &schema.Schema{ + Description: `Aaa`, + Type: schema.TypeList, + Computed: true, + Elem: &schema.Schema{ + Type: schema.TypeString, + }, + }, + + "cmx": &schema.Schema{ + Description: `Cmx`, + Type: schema.TypeList, + Computed: true, + Elem: &schema.Schema{ + Type: schema.TypeString, + }, + }, + + "deploy_pending": &schema.Schema{ + Description: `Deploy Pending`, + Type: schema.TypeString, + Computed: true, + }, + + "dhcp": &schema.Schema{ + Type: schema.TypeList, + Computed: true, + Elem: &schema.Resource{ + Schema: map[string]*schema.Schema{ + + "id": &schema.Schema{ + Description: `Id`, Type: schema.TypeString, Computed: true, }, - "dns": &schema.Schema{ + "ip_address": &schema.Schema{ Type: schema.TypeList, Computed: true, Elem: &schema.Resource{ Schema: map[string]*schema.Schema{ - "domain_name": &schema.Schema{ - Description: `Domain Name`, + "address": &schema.Schema{ + Description: `Address`, + Type: schema.TypeString, + Computed: true, + }, + + "address_type": &schema.Schema{ + Description: `Address Type`, Type: schema.TypeString, Computed: true, }, @@ -562,146 +520,104 @@ func dataSourceSdaFabricBorderDevice() *schema.Resource { Computed: true, }, - "ip": &schema.Schema{ - Type: schema.TypeList, - Computed: true, - Elem: &schema.Resource{ - Schema: map[string]*schema.Schema{ - - "address": &schema.Schema{ - Description: `Address`, - Type: schema.TypeString, - Computed: true, - }, - - "address_type": &schema.Schema{ - Description: `Address Type`, - Type: schema.TypeString, - Computed: true, - }, - - "id": &schema.Schema{ - Description: `Id`, - Type: schema.TypeString, - Computed: true, - }, - - "padded_address": &schema.Schema{ - Description: `Padded Address`, - Type: schema.TypeString, - Computed: true, - }, - }, - }, + "padded_address": &schema.Schema{ + Description: `Padded Address`, + Type: schema.TypeString, + Computed: true, }, }, }, }, + }, + }, + }, - "id": &schema.Schema{ - Description: `Id`, - Type: schema.TypeString, - Computed: true, - }, + "display_name": &schema.Schema{ + Description: `Display Name`, + Type: schema.TypeString, + Computed: true, + }, - "instance_id": &schema.Schema{ - Description: `Instance Id`, - Type: schema.TypeInt, - Computed: true, - }, + "dns": &schema.Schema{ + Type: schema.TypeList, + Computed: true, + Elem: &schema.Resource{ + Schema: map[string]*schema.Schema{ - "instance_tenant_id": &schema.Schema{ - Description: `Instance Tenant Id`, + "domain_name": &schema.Schema{ + Description: `Domain Name`, Type: schema.TypeString, Computed: true, }, - "instance_version": &schema.Schema{ - Description: `Instance Version`, - Type: schema.TypeInt, - Computed: true, - }, - - "ldap": &schema.Schema{ - Description: `Ldap`, - Type: schema.TypeList, + "id": &schema.Schema{ + Description: `Id`, + Type: schema.TypeString, Computed: true, - Elem: &schema.Schema{ - Type: schema.TypeString, - }, }, - "native_vlan": &schema.Schema{ - Description: `Native Vlan`, - Type: schema.TypeList, - Computed: true, - Elem: &schema.Schema{ - Type: schema.TypeString, - }, - }, + "ip": &schema.Schema{ + Type: schema.TypeList, + Computed: true, + Elem: &schema.Resource{ + Schema: map[string]*schema.Schema{ - "netflow": &schema.Schema{ - Description: `Netflow`, - Type: schema.TypeList, - Computed: true, - Elem: &schema.Schema{ - Type: schema.TypeString, - }, - }, + "address": &schema.Schema{ + Description: `Address`, + Type: schema.TypeString, + Computed: true, + }, - "ntp": &schema.Schema{ - Description: `Ntp`, - Type: schema.TypeList, - Computed: true, - Elem: &schema.Schema{ - Type: schema.TypeString, - }, - }, + "address_type": &schema.Schema{ + Description: `Address Type`, + Type: schema.TypeString, + Computed: true, + }, - "snmp": &schema.Schema{ - Description: `Snmp`, - Type: schema.TypeList, - Computed: true, - Elem: &schema.Schema{ - Type: schema.TypeString, - }, - }, + "id": &schema.Schema{ + Description: `Id`, + Type: schema.TypeString, + Computed: true, + }, - "syslogs": &schema.Schema{ - Description: `Syslogs`, - Type: schema.TypeList, - Computed: true, - Elem: &schema.Schema{ - Type: schema.TypeString, + "padded_address": &schema.Schema{ + Description: `Padded Address`, + Type: schema.TypeString, + Computed: true, + }, + }, }, }, }, }, }, - "other_device": &schema.Schema{ - Description: `Other Device`, - Type: schema.TypeList, + "id": &schema.Schema{ + Description: `Id`, + Type: schema.TypeString, Computed: true, - Elem: &schema.Schema{ - Type: schema.TypeString, - }, }, - "provisioning_state": &schema.Schema{ - Description: `Provisioning State`, + "instance_id": &schema.Schema{ + Description: `Instance Id`, + Type: schema.TypeInt, + Computed: true, + }, + + "instance_tenant_id": &schema.Schema{ + Description: `Instance Tenant Id`, Type: schema.TypeString, Computed: true, }, - "resource_version": &schema.Schema{ - Description: `Resource Version`, + "instance_version": &schema.Schema{ + Description: `Instance Version`, Type: schema.TypeInt, Computed: true, }, - "roles": &schema.Schema{ - Description: `Roles`, + "ldap": &schema.Schema{ + Description: `Ldap`, Type: schema.TypeList, Computed: true, Elem: &schema.Schema{ @@ -709,21 +625,8 @@ func dataSourceSdaFabricBorderDevice() *schema.Resource { }, }, - "save_wan_connectivity_details_only": &schema.Schema{ - Description: `Save Wan Connectivity Details Only`, - // Type: schema.TypeBool, - Type: schema.TypeString, - Computed: true, - }, - - "site_id": &schema.Schema{ - Description: `Site Id`, - Type: schema.TypeString, - Computed: true, - }, - - "target_id_list": &schema.Schema{ - Description: `Target Id List`, + "native_vlan": &schema.Schema{ + Description: `Native Vlan`, Type: schema.TypeList, Computed: true, Elem: &schema.Schema{ @@ -731,29 +634,26 @@ func dataSourceSdaFabricBorderDevice() *schema.Resource { }, }, - "transit_networks": &schema.Schema{ - Type: schema.TypeList, - Computed: true, - Elem: &schema.Resource{ - Schema: map[string]*schema.Schema{ - - "id_ref": &schema.Schema{ - Description: `Id Ref`, - Type: schema.TypeString, - Computed: true, - }, - }, + "netflow": &schema.Schema{ + Description: `Netflow`, + Type: schema.TypeList, + Computed: true, + Elem: &schema.Schema{ + Type: schema.TypeString, }, }, - "type": &schema.Schema{ - Description: `Type`, - Type: schema.TypeString, + "ntp": &schema.Schema{ + Description: `Ntp`, + Type: schema.TypeList, Computed: true, + Elem: &schema.Schema{ + Type: schema.TypeString, + }, }, - "virtual_network": &schema.Schema{ - Description: `Virtual Network`, + "snmp": &schema.Schema{ + Description: `Snmp`, Type: schema.TypeList, Computed: true, Elem: &schema.Schema{ @@ -761,8 +661,8 @@ func dataSourceSdaFabricBorderDevice() *schema.Resource { }, }, - "wlan": &schema.Schema{ - Description: `Wlan`, + "syslogs": &schema.Schema{ + Description: `Syslogs`, Type: schema.TypeList, Computed: true, Elem: &schema.Schema{ @@ -773,6 +673,97 @@ func dataSourceSdaFabricBorderDevice() *schema.Resource { }, }, + "other_device": &schema.Schema{ + Description: `Other Device`, + Type: schema.TypeList, + Computed: true, + Elem: &schema.Schema{ + Type: schema.TypeString, + }, + }, + + "provisioning_state": &schema.Schema{ + Description: `Provisioning State`, + Type: schema.TypeString, + Computed: true, + }, + + "resource_version": &schema.Schema{ + Description: `Resource Version`, + Type: schema.TypeInt, + Computed: true, + }, + + "roles": &schema.Schema{ + Description: `Roles`, + Type: schema.TypeList, + Computed: true, + Elem: &schema.Schema{ + Type: schema.TypeString, + }, + }, + + "save_wan_connectivity_details_only": &schema.Schema{ + Description: `Save Wan Connectivity Details Only`, + // Type: schema.TypeBool, + Type: schema.TypeString, + Computed: true, + }, + + "site_id": &schema.Schema{ + Description: `Site Id`, + Type: schema.TypeString, + Computed: true, + }, + + "target_id_list": &schema.Schema{ + Description: `Target Id List`, + Type: schema.TypeList, + Computed: true, + Elem: &schema.Schema{ + Type: schema.TypeString, + }, + }, + + "transit_networks": &schema.Schema{ + Type: schema.TypeList, + Computed: true, + Elem: &schema.Resource{ + Schema: map[string]*schema.Schema{ + + "id_ref": &schema.Schema{ + Description: `Id Ref`, + Type: schema.TypeString, + Computed: true, + }, + }, + }, + }, + + "type": &schema.Schema{ + Description: `Type`, + Type: schema.TypeString, + Computed: true, + }, + + "virtual_network": &schema.Schema{ + Description: `Virtual Network`, + Type: schema.TypeList, + Computed: true, + Elem: &schema.Schema{ + Type: schema.TypeString, + }, + }, + + "wlan": &schema.Schema{ + Description: `Wlan`, + Type: schema.TypeList, + Computed: true, + Elem: &schema.Schema{ + Type: schema.TypeString, + }, + }, + "status": &schema.Schema{ Description: `Status`, Type: schema.TypeString, @@ -827,20 +818,53 @@ func dataSourceSdaFabricBorderDeviceRead(ctx context.Context, d *schema.Resource return diags } -func flattenSdaGetBorderDeviceDetailFromSdaFabricItem(item *dnacentersdkgo.ResponseSdaGetBorderDeviceDetailFromSdaFabric) []map[string]interface{} { +func flattenSdaGetBorderDeviceDetailFromSdaFabricItemNo(item *dnacentersdkgo.ResponseSdaGetBorderDeviceDetailFromSdaFabric) []map[string]interface{} { if item == nil { return nil } respItem := make(map[string]interface{}) - respItem["status"] = item.Status - respItem["description"] = item.Description - respItem["payload"] = flattenSdaGetBorderDeviceDetailFromSdaFabricItemPayload(item.Payload) + respItem["id"] = item.ID + respItem["instance_id"] = item.InstanceID + respItem["auth_entity_id"] = item.AuthEntityID + respItem["display_name"] = item.DisplayName + respItem["auth_entity_class"] = item.AuthEntityClass + respItem["instance_tenant_id"] = item.InstanceTenantID + respItem["deploy_pending"] = item.DeployPending + respItem["instance_version"] = item.InstanceVersion + respItem["create_time"] = item.CreateTime + respItem["deployed"] = boolPtrToString(item.Deployed) + respItem["is_seeded"] = boolPtrToString(item.IsSeeded) + respItem["is_stale"] = boolPtrToString(item.IsStale) + respItem["last_update_time"] = item.LastUpdateTime + respItem["name"] = item.Name + respItem["namespace"] = item.Namespace + respItem["provisioning_state"] = item.ProvisioningState + respItem["resource_version"] = item.ResourceVersion + respItem["target_id_list"] = flattenSdaGetBorderDeviceDetailFromSdaFabricItemTargetIDList(item.TargetIDList) + respItem["type"] = item.Type + respItem["cfs_change_info"] = flattenSdaGetBorderDeviceDetailFromSdaFabricItemCfsChangeInfo(item.CfsChangeInfo) + respItem["custom_provisions"] = flattenSdaGetBorderDeviceDetailFromSdaFabricItemCustomProvisions(item.CustomProvisions) + respItem["configs"] = flattenSdaGetBorderDeviceDetailFromSdaFabricItemConfigs(item.Configs) + respItem["managed_sites"] = flattenSdaGetBorderDeviceDetailFromSdaFabricItemManagedSites(item.ManagedSites) + respItem["network_device_id"] = item.NetworkDeviceID + respItem["roles"] = item.Roles + respItem["save_wan_connectivity_details_only"] = boolPtrToString(item.SaveWanConnectivityDetailsOnly) + respItem["site_id"] = item.SiteID + respItem["akc_settings_cfs"] = flattenSdaGetBorderDeviceDetailFromSdaFabricItemAkcSettingsCfs(item.AkcSettingsCfs) + respItem["device_interface_info"] = flattenSdaGetBorderDeviceDetailFromSdaFabricItemDeviceInterfaceInfo(item.DeviceInterfaceInfo) + respItem["device_settings"] = flattenSdaGetBorderDeviceDetailFromSdaFabricItemDeviceSettings(item.DeviceSettings) + respItem["network_wide_settings"] = flattenSdaGetBorderDeviceDetailFromSdaFabricItemNetworkWideSettings(item.NetworkWideSettings) + respItem["other_device"] = flattenSdaGetBorderDeviceDetailFromSdaFabricItemOtherDevice(item.OtherDevice) + respItem["transit_networks"] = flattenSdaGetBorderDeviceDetailFromSdaFabricItemTransitNetworks(item.TransitNetworks) + respItem["virtual_network"] = flattenSdaGetBorderDeviceDetailFromSdaFabricItemVirtualNetwork(item.VirtualNetwork) + respItem["wlan"] = flattenSdaGetBorderDeviceDetailFromSdaFabricItemWLAN(item.WLAN) + return []map[string]interface{}{ respItem, } -} -func flattenSdaGetBorderDeviceDetailFromSdaFabricItemPayload(item *dnacentersdkgo.ResponseSdaGetBorderDeviceDetailFromSdaFabricPayload) []map[string]interface{} { +} +func flattenSdaGetBorderDeviceDetailFromSdaFabricItem(item *dnacentersdkgo.ResponseSdaGetBorderDeviceDetailFromSdaFabric) []map[string]interface{} { if item == nil { return nil } @@ -862,24 +886,24 @@ func flattenSdaGetBorderDeviceDetailFromSdaFabricItemPayload(item *dnacentersdkg respItem["namespace"] = item.Namespace respItem["provisioning_state"] = item.ProvisioningState respItem["resource_version"] = item.ResourceVersion - respItem["target_id_list"] = flattenSdaGetBorderDeviceDetailFromSdaFabricItemPayloadTargetIDList(item.TargetIDList) + respItem["target_id_list"] = flattenSdaGetBorderDeviceDetailFromSdaFabricItemTargetIDList(item.TargetIDList) respItem["type"] = item.Type - respItem["cfs_change_info"] = flattenSdaGetBorderDeviceDetailFromSdaFabricItemPayloadCfsChangeInfo(item.CfsChangeInfo) - respItem["custom_provisions"] = flattenSdaGetBorderDeviceDetailFromSdaFabricItemPayloadCustomProvisions(item.CustomProvisions) - respItem["configs"] = flattenSdaGetBorderDeviceDetailFromSdaFabricItemPayloadConfigs(item.Configs) - respItem["managed_sites"] = flattenSdaGetBorderDeviceDetailFromSdaFabricItemPayloadManagedSites(item.ManagedSites) + respItem["cfs_change_info"] = flattenSdaGetBorderDeviceDetailFromSdaFabricItemCfsChangeInfo(item.CfsChangeInfo) + respItem["custom_provisions"] = flattenSdaGetBorderDeviceDetailFromSdaFabricItemCustomProvisions(item.CustomProvisions) + respItem["configs"] = flattenSdaGetBorderDeviceDetailFromSdaFabricItemConfigs(item.Configs) + respItem["managed_sites"] = flattenSdaGetBorderDeviceDetailFromSdaFabricItemManagedSites(item.ManagedSites) respItem["network_device_id"] = item.NetworkDeviceID respItem["roles"] = item.Roles respItem["save_wan_connectivity_details_only"] = boolPtrToString(item.SaveWanConnectivityDetailsOnly) respItem["site_id"] = item.SiteID - respItem["akc_settings_cfs"] = flattenSdaGetBorderDeviceDetailFromSdaFabricItemPayloadAkcSettingsCfs(item.AkcSettingsCfs) - respItem["device_interface_info"] = flattenSdaGetBorderDeviceDetailFromSdaFabricItemPayloadDeviceInterfaceInfo(item.DeviceInterfaceInfo) - respItem["device_settings"] = flattenSdaGetBorderDeviceDetailFromSdaFabricItemPayloadDeviceSettings(item.DeviceSettings) - respItem["network_wide_settings"] = flattenSdaGetBorderDeviceDetailFromSdaFabricItemPayloadNetworkWideSettings(item.NetworkWideSettings) - respItem["other_device"] = flattenSdaGetBorderDeviceDetailFromSdaFabricItemPayloadOtherDevice(item.OtherDevice) - respItem["transit_networks"] = flattenSdaGetBorderDeviceDetailFromSdaFabricItemPayloadTransitNetworks(item.TransitNetworks) - respItem["virtual_network"] = flattenSdaGetBorderDeviceDetailFromSdaFabricItemPayloadVirtualNetwork(item.VirtualNetwork) - respItem["wlan"] = flattenSdaGetBorderDeviceDetailFromSdaFabricItemPayloadWLAN(item.WLAN) + respItem["akc_settings_cfs"] = flattenSdaGetBorderDeviceDetailFromSdaFabricItemAkcSettingsCfs(item.AkcSettingsCfs) + respItem["device_interface_info"] = flattenSdaGetBorderDeviceDetailFromSdaFabricItemDeviceInterfaceInfo(item.DeviceInterfaceInfo) + respItem["device_settings"] = flattenSdaGetBorderDeviceDetailFromSdaFabricItemDeviceSettings(item.DeviceSettings) + respItem["network_wide_settings"] = flattenSdaGetBorderDeviceDetailFromSdaFabricItemNetworkWideSettings(item.NetworkWideSettings) + respItem["other_device"] = flattenSdaGetBorderDeviceDetailFromSdaFabricItemOtherDevice(item.OtherDevice) + respItem["transit_networks"] = flattenSdaGetBorderDeviceDetailFromSdaFabricItemTransitNetworks(item.TransitNetworks) + respItem["virtual_network"] = flattenSdaGetBorderDeviceDetailFromSdaFabricItemVirtualNetwork(item.VirtualNetwork) + respItem["wlan"] = flattenSdaGetBorderDeviceDetailFromSdaFabricItemWLAN(item.WLAN) return []map[string]interface{}{ respItem, @@ -887,7 +911,7 @@ func flattenSdaGetBorderDeviceDetailFromSdaFabricItemPayload(item *dnacentersdkg } -func flattenSdaGetBorderDeviceDetailFromSdaFabricItemPayloadTargetIDList(items *[]dnacentersdkgo.ResponseSdaGetBorderDeviceDetailFromSdaFabricPayloadTargetIDList) []interface{} { +func flattenSdaGetBorderDeviceDetailFromSdaFabricItemTargetIDList(items *[]dnacentersdkgo.ResponseSdaGetBorderDeviceDetailFromSdaFabricTargetIDList) []interface{} { if items == nil { return nil } @@ -899,7 +923,7 @@ func flattenSdaGetBorderDeviceDetailFromSdaFabricItemPayloadTargetIDList(items * return respItems } -func flattenSdaGetBorderDeviceDetailFromSdaFabricItemPayloadCfsChangeInfo(items *[]dnacentersdkgo.ResponseSdaGetBorderDeviceDetailFromSdaFabricPayloadCfsChangeInfo) []interface{} { +func flattenSdaGetBorderDeviceDetailFromSdaFabricItemCfsChangeInfo(items *[]dnacentersdkgo.ResponseSdaGetBorderDeviceDetailFromSdaFabricCfsChangeInfo) []interface{} { if items == nil { return nil } @@ -911,7 +935,7 @@ func flattenSdaGetBorderDeviceDetailFromSdaFabricItemPayloadCfsChangeInfo(items return respItems } -func flattenSdaGetBorderDeviceDetailFromSdaFabricItemPayloadCustomProvisions(items *[]dnacentersdkgo.ResponseSdaGetBorderDeviceDetailFromSdaFabricPayloadCustomProvisions) []interface{} { +func flattenSdaGetBorderDeviceDetailFromSdaFabricItemCustomProvisions(items *[]dnacentersdkgo.ResponseSdaGetBorderDeviceDetailFromSdaFabricCustomProvisions) []interface{} { if items == nil { return nil } @@ -923,7 +947,7 @@ func flattenSdaGetBorderDeviceDetailFromSdaFabricItemPayloadCustomProvisions(ite return respItems } -func flattenSdaGetBorderDeviceDetailFromSdaFabricItemPayloadConfigs(items *[]dnacentersdkgo.ResponseSdaGetBorderDeviceDetailFromSdaFabricPayloadConfigs) []interface{} { +func flattenSdaGetBorderDeviceDetailFromSdaFabricItemConfigs(items *[]dnacentersdkgo.ResponseSdaGetBorderDeviceDetailFromSdaFabricConfigs) []interface{} { if items == nil { return nil } @@ -935,7 +959,7 @@ func flattenSdaGetBorderDeviceDetailFromSdaFabricItemPayloadConfigs(items *[]dna return respItems } -func flattenSdaGetBorderDeviceDetailFromSdaFabricItemPayloadManagedSites(items *[]dnacentersdkgo.ResponseSdaGetBorderDeviceDetailFromSdaFabricPayloadManagedSites) []interface{} { +func flattenSdaGetBorderDeviceDetailFromSdaFabricItemManagedSites(items *[]dnacentersdkgo.ResponseSdaGetBorderDeviceDetailFromSdaFabricManagedSites) []interface{} { if items == nil { return nil } @@ -947,7 +971,7 @@ func flattenSdaGetBorderDeviceDetailFromSdaFabricItemPayloadManagedSites(items * return respItems } -func flattenSdaGetBorderDeviceDetailFromSdaFabricItemPayloadAkcSettingsCfs(items *[]dnacentersdkgo.ResponseSdaGetBorderDeviceDetailFromSdaFabricPayloadAkcSettingsCfs) []interface{} { +func flattenSdaGetBorderDeviceDetailFromSdaFabricItemAkcSettingsCfs(items *[]dnacentersdkgo.ResponseSdaGetBorderDeviceDetailFromSdaFabricAkcSettingsCfs) []interface{} { if items == nil { return nil } @@ -959,7 +983,7 @@ func flattenSdaGetBorderDeviceDetailFromSdaFabricItemPayloadAkcSettingsCfs(items return respItems } -func flattenSdaGetBorderDeviceDetailFromSdaFabricItemPayloadDeviceInterfaceInfo(items *[]dnacentersdkgo.ResponseSdaGetBorderDeviceDetailFromSdaFabricPayloadDeviceInterfaceInfo) []interface{} { +func flattenSdaGetBorderDeviceDetailFromSdaFabricItemDeviceInterfaceInfo(items *[]dnacentersdkgo.ResponseSdaGetBorderDeviceDetailFromSdaFabricDeviceInterfaceInfo) []interface{} { if items == nil { return nil } @@ -971,7 +995,7 @@ func flattenSdaGetBorderDeviceDetailFromSdaFabricItemPayloadDeviceInterfaceInfo( return respItems } -func flattenSdaGetBorderDeviceDetailFromSdaFabricItemPayloadDeviceSettings(item *dnacentersdkgo.ResponseSdaGetBorderDeviceDetailFromSdaFabricPayloadDeviceSettings) []map[string]interface{} { +func flattenSdaGetBorderDeviceDetailFromSdaFabricItemDeviceSettings(item *dnacentersdkgo.ResponseSdaGetBorderDeviceDetailFromSdaFabricDeviceSettings) []map[string]interface{} { if item == nil { return nil } @@ -982,7 +1006,7 @@ func flattenSdaGetBorderDeviceDetailFromSdaFabricItemPayloadDeviceSettings(item respItem["instance_tenant_id"] = item.InstanceTenantID respItem["deploy_pending"] = item.DeployPending respItem["instance_version"] = item.InstanceVersion - respItem["connected_to"] = flattenSdaGetBorderDeviceDetailFromSdaFabricItemPayloadDeviceSettingsConnectedTo(item.ConnectedTo) + respItem["connected_to"] = flattenSdaGetBorderDeviceDetailFromSdaFabricItemDeviceSettingsConnectedTo(item.ConnectedTo) respItem["cpu"] = item.CPU respItem["dhcp_enabled"] = boolPtrToString(item.DhcpEnabled) respItem["external_connectivity_ip_pool"] = item.ExternalConnectivityIPPool @@ -991,7 +1015,7 @@ func flattenSdaGetBorderDeviceDetailFromSdaFabricItemPayloadDeviceSettings(item respItem["memory"] = item.Memory respItem["node_type"] = item.NodeType respItem["storage"] = item.Storage - respItem["ext_connectivity_settings"] = flattenSdaGetBorderDeviceDetailFromSdaFabricItemPayloadDeviceSettingsExtConnectivitySettings(item.ExtConnectivitySettings) + respItem["ext_connectivity_settings"] = flattenSdaGetBorderDeviceDetailFromSdaFabricItemDeviceSettingsExtConnectivitySettings(item.ExtConnectivitySettings) return []map[string]interface{}{ respItem, @@ -999,7 +1023,7 @@ func flattenSdaGetBorderDeviceDetailFromSdaFabricItemPayloadDeviceSettings(item } -func flattenSdaGetBorderDeviceDetailFromSdaFabricItemPayloadDeviceSettingsConnectedTo(items *[]dnacentersdkgo.ResponseSdaGetBorderDeviceDetailFromSdaFabricPayloadDeviceSettingsConnectedTo) []interface{} { +func flattenSdaGetBorderDeviceDetailFromSdaFabricItemDeviceSettingsConnectedTo(items *[]dnacentersdkgo.ResponseSdaGetBorderDeviceDetailFromSdaFabricDeviceSettingsConnectedTo) []interface{} { if items == nil { return nil } @@ -1011,7 +1035,7 @@ func flattenSdaGetBorderDeviceDetailFromSdaFabricItemPayloadDeviceSettingsConnec return respItems } -func flattenSdaGetBorderDeviceDetailFromSdaFabricItemPayloadDeviceSettingsExtConnectivitySettings(items *[]dnacentersdkgo.ResponseSdaGetBorderDeviceDetailFromSdaFabricPayloadDeviceSettingsExtConnectivitySettings) []map[string]interface{} { +func flattenSdaGetBorderDeviceDetailFromSdaFabricItemDeviceSettingsExtConnectivitySettings(items *[]dnacentersdkgo.ResponseSdaGetBorderDeviceDetailFromSdaFabricDeviceSettingsExtConnectivitySettings) []map[string]interface{} { if items == nil { return nil } @@ -1028,14 +1052,14 @@ func flattenSdaGetBorderDeviceDetailFromSdaFabricItemPayloadDeviceSettingsExtCon respItem["interface_uuid"] = item.InterfaceUUID respItem["policy_propagation_enabled"] = boolPtrToString(item.PolicyPropagationEnabled) respItem["policy_sgt_tag"] = item.PolicySgtTag - respItem["l2_handoff"] = flattenSdaGetBorderDeviceDetailFromSdaFabricItemPayloadDeviceSettingsExtConnectivitySettingsL2Handoff(item.L2Handoff) - respItem["l3_handoff"] = flattenSdaGetBorderDeviceDetailFromSdaFabricItemPayloadDeviceSettingsExtConnectivitySettingsL3Handoff(item.L3Handoff) + respItem["l2_handoff"] = flattenSdaGetBorderDeviceDetailFromSdaFabricItemDeviceSettingsExtConnectivitySettingsL2Handoff(item.L2Handoff) + respItem["l3_handoff"] = flattenSdaGetBorderDeviceDetailFromSdaFabricItemDeviceSettingsExtConnectivitySettingsL3Handoff(item.L3Handoff) respItems = append(respItems, respItem) } return respItems } -func flattenSdaGetBorderDeviceDetailFromSdaFabricItemPayloadDeviceSettingsExtConnectivitySettingsL2Handoff(items *[]dnacentersdkgo.ResponseSdaGetBorderDeviceDetailFromSdaFabricPayloadDeviceSettingsExtConnectivitySettingsL2Handoff) []interface{} { +func flattenSdaGetBorderDeviceDetailFromSdaFabricItemDeviceSettingsExtConnectivitySettingsL2Handoff(items *[]dnacentersdkgo.ResponseSdaGetBorderDeviceDetailFromSdaFabricDeviceSettingsExtConnectivitySettingsL2Handoff) []interface{} { if items == nil { return nil } @@ -1047,7 +1071,7 @@ func flattenSdaGetBorderDeviceDetailFromSdaFabricItemPayloadDeviceSettingsExtCon return respItems } -func flattenSdaGetBorderDeviceDetailFromSdaFabricItemPayloadDeviceSettingsExtConnectivitySettingsL3Handoff(items *[]dnacentersdkgo.ResponseSdaGetBorderDeviceDetailFromSdaFabricPayloadDeviceSettingsExtConnectivitySettingsL3Handoff) []map[string]interface{} { +func flattenSdaGetBorderDeviceDetailFromSdaFabricItemDeviceSettingsExtConnectivitySettingsL3Handoff(items *[]dnacentersdkgo.ResponseSdaGetBorderDeviceDetailFromSdaFabricDeviceSettingsExtConnectivitySettingsL3Handoff) []map[string]interface{} { if items == nil { return nil } @@ -1063,13 +1087,13 @@ func flattenSdaGetBorderDeviceDetailFromSdaFabricItemPayloadDeviceSettingsExtCon respItem["local_ip_address"] = item.LocalIPAddress respItem["remote_ip_address"] = item.RemoteIPAddress respItem["vlan_id"] = item.VLANID - respItem["virtual_network"] = flattenSdaGetBorderDeviceDetailFromSdaFabricItemPayloadDeviceSettingsExtConnectivitySettingsL3HandoffVirtualNetwork(item.VirtualNetwork) + respItem["virtual_network"] = flattenSdaGetBorderDeviceDetailFromSdaFabricItemDeviceSettingsExtConnectivitySettingsL3HandoffVirtualNetwork(item.VirtualNetwork) respItems = append(respItems, respItem) } return respItems } -func flattenSdaGetBorderDeviceDetailFromSdaFabricItemPayloadDeviceSettingsExtConnectivitySettingsL3HandoffVirtualNetwork(item *dnacentersdkgo.ResponseSdaGetBorderDeviceDetailFromSdaFabricPayloadDeviceSettingsExtConnectivitySettingsL3HandoffVirtualNetwork) []map[string]interface{} { +func flattenSdaGetBorderDeviceDetailFromSdaFabricItemDeviceSettingsExtConnectivitySettingsL3HandoffVirtualNetwork(item *dnacentersdkgo.ResponseSdaGetBorderDeviceDetailFromSdaFabricDeviceSettingsExtConnectivitySettingsL3HandoffVirtualNetwork) []map[string]interface{} { if item == nil { return nil } @@ -1082,7 +1106,7 @@ func flattenSdaGetBorderDeviceDetailFromSdaFabricItemPayloadDeviceSettingsExtCon } -func flattenSdaGetBorderDeviceDetailFromSdaFabricItemPayloadNetworkWideSettings(item *dnacentersdkgo.ResponseSdaGetBorderDeviceDetailFromSdaFabricPayloadNetworkWideSettings) []map[string]interface{} { +func flattenSdaGetBorderDeviceDetailFromSdaFabricItemNetworkWideSettings(item *dnacentersdkgo.ResponseSdaGetBorderDeviceDetailFromSdaFabricNetworkWideSettings) []map[string]interface{} { if item == nil { return nil } @@ -1093,16 +1117,16 @@ func flattenSdaGetBorderDeviceDetailFromSdaFabricItemPayloadNetworkWideSettings( respItem["instance_tenant_id"] = item.InstanceTenantID respItem["deploy_pending"] = item.DeployPending respItem["instance_version"] = item.InstanceVersion - respItem["aaa"] = flattenSdaGetBorderDeviceDetailFromSdaFabricItemPayloadNetworkWideSettingsAAA(item.AAA) - respItem["cmx"] = flattenSdaGetBorderDeviceDetailFromSdaFabricItemPayloadNetworkWideSettingsCmx(item.Cmx) - respItem["dhcp"] = flattenSdaGetBorderDeviceDetailFromSdaFabricItemPayloadNetworkWideSettingsDhcp(item.Dhcp) - respItem["dns"] = flattenSdaGetBorderDeviceDetailFromSdaFabricItemPayloadNetworkWideSettingsDNS(item.DNS) - respItem["ldap"] = flattenSdaGetBorderDeviceDetailFromSdaFabricItemPayloadNetworkWideSettingsLdap(item.Ldap) - respItem["native_vlan"] = flattenSdaGetBorderDeviceDetailFromSdaFabricItemPayloadNetworkWideSettingsNativeVLAN(item.NativeVLAN) - respItem["netflow"] = flattenSdaGetBorderDeviceDetailFromSdaFabricItemPayloadNetworkWideSettingsNetflow(item.Netflow) - respItem["ntp"] = flattenSdaGetBorderDeviceDetailFromSdaFabricItemPayloadNetworkWideSettingsNtp(item.Ntp) - respItem["snmp"] = flattenSdaGetBorderDeviceDetailFromSdaFabricItemPayloadNetworkWideSettingsSNMP(item.SNMP) - respItem["syslogs"] = flattenSdaGetBorderDeviceDetailFromSdaFabricItemPayloadNetworkWideSettingsSyslogs(item.Syslogs) + respItem["aaa"] = flattenSdaGetBorderDeviceDetailFromSdaFabricItemNetworkWideSettingsAAA(item.AAA) + respItem["cmx"] = flattenSdaGetBorderDeviceDetailFromSdaFabricItemNetworkWideSettingsCmx(item.Cmx) + respItem["dhcp"] = flattenSdaGetBorderDeviceDetailFromSdaFabricItemNetworkWideSettingsDhcp(item.Dhcp) + respItem["dns"] = flattenSdaGetBorderDeviceDetailFromSdaFabricItemNetworkWideSettingsDNS(item.DNS) + respItem["ldap"] = flattenSdaGetBorderDeviceDetailFromSdaFabricItemNetworkWideSettingsLdap(item.Ldap) + respItem["native_vlan"] = flattenSdaGetBorderDeviceDetailFromSdaFabricItemNetworkWideSettingsNativeVLAN(item.NativeVLAN) + respItem["netflow"] = flattenSdaGetBorderDeviceDetailFromSdaFabricItemNetworkWideSettingsNetflow(item.Netflow) + respItem["ntp"] = flattenSdaGetBorderDeviceDetailFromSdaFabricItemNetworkWideSettingsNtp(item.Ntp) + respItem["snmp"] = flattenSdaGetBorderDeviceDetailFromSdaFabricItemNetworkWideSettingsSNMP(item.SNMP) + respItem["syslogs"] = flattenSdaGetBorderDeviceDetailFromSdaFabricItemNetworkWideSettingsSyslogs(item.Syslogs) return []map[string]interface{}{ respItem, @@ -1110,7 +1134,7 @@ func flattenSdaGetBorderDeviceDetailFromSdaFabricItemPayloadNetworkWideSettings( } -func flattenSdaGetBorderDeviceDetailFromSdaFabricItemPayloadNetworkWideSettingsAAA(items *[]dnacentersdkgo.ResponseSdaGetBorderDeviceDetailFromSdaFabricPayloadNetworkWideSettingsAAA) []interface{} { +func flattenSdaGetBorderDeviceDetailFromSdaFabricItemNetworkWideSettingsAAA(items *[]dnacentersdkgo.ResponseSdaGetBorderDeviceDetailFromSdaFabricNetworkWideSettingsAAA) []interface{} { if items == nil { return nil } @@ -1122,7 +1146,7 @@ func flattenSdaGetBorderDeviceDetailFromSdaFabricItemPayloadNetworkWideSettingsA return respItems } -func flattenSdaGetBorderDeviceDetailFromSdaFabricItemPayloadNetworkWideSettingsCmx(items *[]dnacentersdkgo.ResponseSdaGetBorderDeviceDetailFromSdaFabricPayloadNetworkWideSettingsCmx) []interface{} { +func flattenSdaGetBorderDeviceDetailFromSdaFabricItemNetworkWideSettingsCmx(items *[]dnacentersdkgo.ResponseSdaGetBorderDeviceDetailFromSdaFabricNetworkWideSettingsCmx) []interface{} { if items == nil { return nil } @@ -1134,7 +1158,7 @@ func flattenSdaGetBorderDeviceDetailFromSdaFabricItemPayloadNetworkWideSettingsC return respItems } -func flattenSdaGetBorderDeviceDetailFromSdaFabricItemPayloadNetworkWideSettingsDhcp(items *[]dnacentersdkgo.ResponseSdaGetBorderDeviceDetailFromSdaFabricPayloadNetworkWideSettingsDhcp) []map[string]interface{} { +func flattenSdaGetBorderDeviceDetailFromSdaFabricItemNetworkWideSettingsDhcp(items *[]dnacentersdkgo.ResponseSdaGetBorderDeviceDetailFromSdaFabricNetworkWideSettingsDhcp) []map[string]interface{} { if items == nil { return nil } @@ -1142,13 +1166,13 @@ func flattenSdaGetBorderDeviceDetailFromSdaFabricItemPayloadNetworkWideSettingsD for _, item := range *items { respItem := make(map[string]interface{}) respItem["id"] = item.ID - respItem["ip_address"] = flattenSdaGetBorderDeviceDetailFromSdaFabricItemPayloadNetworkWideSettingsDhcpIPAddress(item.IPAddress) + respItem["ip_address"] = flattenSdaGetBorderDeviceDetailFromSdaFabricItemNetworkWideSettingsDhcpIPAddress(item.IPAddress) respItems = append(respItems, respItem) } return respItems } -func flattenSdaGetBorderDeviceDetailFromSdaFabricItemPayloadNetworkWideSettingsDhcpIPAddress(item *dnacentersdkgo.ResponseSdaGetBorderDeviceDetailFromSdaFabricPayloadNetworkWideSettingsDhcpIPAddress) []map[string]interface{} { +func flattenSdaGetBorderDeviceDetailFromSdaFabricItemNetworkWideSettingsDhcpIPAddress(item *dnacentersdkgo.ResponseSdaGetBorderDeviceDetailFromSdaFabricNetworkWideSettingsDhcpIPAddress) []map[string]interface{} { if item == nil { return nil } @@ -1164,7 +1188,7 @@ func flattenSdaGetBorderDeviceDetailFromSdaFabricItemPayloadNetworkWideSettingsD } -func flattenSdaGetBorderDeviceDetailFromSdaFabricItemPayloadNetworkWideSettingsDNS(items *[]dnacentersdkgo.ResponseSdaGetBorderDeviceDetailFromSdaFabricPayloadNetworkWideSettingsDNS) []map[string]interface{} { +func flattenSdaGetBorderDeviceDetailFromSdaFabricItemNetworkWideSettingsDNS(items *[]dnacentersdkgo.ResponseSdaGetBorderDeviceDetailFromSdaFabricNetworkWideSettingsDNS) []map[string]interface{} { if items == nil { return nil } @@ -1173,13 +1197,13 @@ func flattenSdaGetBorderDeviceDetailFromSdaFabricItemPayloadNetworkWideSettingsD respItem := make(map[string]interface{}) respItem["id"] = item.ID respItem["domain_name"] = item.DomainName - respItem["ip"] = flattenSdaGetBorderDeviceDetailFromSdaFabricItemPayloadNetworkWideSettingsDNSIP(item.IP) + respItem["ip"] = flattenSdaGetBorderDeviceDetailFromSdaFabricItemNetworkWideSettingsDNSIP(item.IP) respItems = append(respItems, respItem) } return respItems } -func flattenSdaGetBorderDeviceDetailFromSdaFabricItemPayloadNetworkWideSettingsDNSIP(item *dnacentersdkgo.ResponseSdaGetBorderDeviceDetailFromSdaFabricPayloadNetworkWideSettingsDNSIP) []map[string]interface{} { +func flattenSdaGetBorderDeviceDetailFromSdaFabricItemNetworkWideSettingsDNSIP(item *dnacentersdkgo.ResponseSdaGetBorderDeviceDetailFromSdaFabricNetworkWideSettingsDNSIP) []map[string]interface{} { if item == nil { return nil } @@ -1195,7 +1219,7 @@ func flattenSdaGetBorderDeviceDetailFromSdaFabricItemPayloadNetworkWideSettingsD } -func flattenSdaGetBorderDeviceDetailFromSdaFabricItemPayloadNetworkWideSettingsLdap(items *[]dnacentersdkgo.ResponseSdaGetBorderDeviceDetailFromSdaFabricPayloadNetworkWideSettingsLdap) []interface{} { +func flattenSdaGetBorderDeviceDetailFromSdaFabricItemNetworkWideSettingsLdap(items *[]dnacentersdkgo.ResponseSdaGetBorderDeviceDetailFromSdaFabricNetworkWideSettingsLdap) []interface{} { if items == nil { return nil } @@ -1207,7 +1231,7 @@ func flattenSdaGetBorderDeviceDetailFromSdaFabricItemPayloadNetworkWideSettingsL return respItems } -func flattenSdaGetBorderDeviceDetailFromSdaFabricItemPayloadNetworkWideSettingsNativeVLAN(items *[]dnacentersdkgo.ResponseSdaGetBorderDeviceDetailFromSdaFabricPayloadNetworkWideSettingsNativeVLAN) []interface{} { +func flattenSdaGetBorderDeviceDetailFromSdaFabricItemNetworkWideSettingsNativeVLAN(items *[]dnacentersdkgo.ResponseSdaGetBorderDeviceDetailFromSdaFabricNetworkWideSettingsNativeVLAN) []interface{} { if items == nil { return nil } @@ -1219,7 +1243,7 @@ func flattenSdaGetBorderDeviceDetailFromSdaFabricItemPayloadNetworkWideSettingsN return respItems } -func flattenSdaGetBorderDeviceDetailFromSdaFabricItemPayloadNetworkWideSettingsNetflow(items *[]dnacentersdkgo.ResponseSdaGetBorderDeviceDetailFromSdaFabricPayloadNetworkWideSettingsNetflow) []interface{} { +func flattenSdaGetBorderDeviceDetailFromSdaFabricItemNetworkWideSettingsNetflow(items *[]dnacentersdkgo.ResponseSdaGetBorderDeviceDetailFromSdaFabricNetworkWideSettingsNetflow) []interface{} { if items == nil { return nil } @@ -1231,7 +1255,7 @@ func flattenSdaGetBorderDeviceDetailFromSdaFabricItemPayloadNetworkWideSettingsN return respItems } -func flattenSdaGetBorderDeviceDetailFromSdaFabricItemPayloadNetworkWideSettingsNtp(items *[]dnacentersdkgo.ResponseSdaGetBorderDeviceDetailFromSdaFabricPayloadNetworkWideSettingsNtp) []interface{} { +func flattenSdaGetBorderDeviceDetailFromSdaFabricItemNetworkWideSettingsNtp(items *[]dnacentersdkgo.ResponseSdaGetBorderDeviceDetailFromSdaFabricNetworkWideSettingsNtp) []interface{} { if items == nil { return nil } @@ -1243,7 +1267,7 @@ func flattenSdaGetBorderDeviceDetailFromSdaFabricItemPayloadNetworkWideSettingsN return respItems } -func flattenSdaGetBorderDeviceDetailFromSdaFabricItemPayloadNetworkWideSettingsSNMP(items *[]dnacentersdkgo.ResponseSdaGetBorderDeviceDetailFromSdaFabricPayloadNetworkWideSettingsSNMP) []interface{} { +func flattenSdaGetBorderDeviceDetailFromSdaFabricItemNetworkWideSettingsSNMP(items *[]dnacentersdkgo.ResponseSdaGetBorderDeviceDetailFromSdaFabricNetworkWideSettingsSNMP) []interface{} { if items == nil { return nil } @@ -1255,7 +1279,7 @@ func flattenSdaGetBorderDeviceDetailFromSdaFabricItemPayloadNetworkWideSettingsS return respItems } -func flattenSdaGetBorderDeviceDetailFromSdaFabricItemPayloadNetworkWideSettingsSyslogs(items *[]dnacentersdkgo.ResponseSdaGetBorderDeviceDetailFromSdaFabricPayloadNetworkWideSettingsSyslogs) []interface{} { +func flattenSdaGetBorderDeviceDetailFromSdaFabricItemNetworkWideSettingsSyslogs(items *[]dnacentersdkgo.ResponseSdaGetBorderDeviceDetailFromSdaFabricNetworkWideSettingsSyslogs) []interface{} { if items == nil { return nil } @@ -1267,7 +1291,7 @@ func flattenSdaGetBorderDeviceDetailFromSdaFabricItemPayloadNetworkWideSettingsS return respItems } -func flattenSdaGetBorderDeviceDetailFromSdaFabricItemPayloadOtherDevice(items *[]dnacentersdkgo.ResponseSdaGetBorderDeviceDetailFromSdaFabricPayloadOtherDevice) []interface{} { +func flattenSdaGetBorderDeviceDetailFromSdaFabricItemOtherDevice(items *[]dnacentersdkgo.ResponseSdaGetBorderDeviceDetailFromSdaFabricOtherDevice) []interface{} { if items == nil { return nil } @@ -1279,7 +1303,7 @@ func flattenSdaGetBorderDeviceDetailFromSdaFabricItemPayloadOtherDevice(items *[ return respItems } -func flattenSdaGetBorderDeviceDetailFromSdaFabricItemPayloadTransitNetworks(items *[]dnacentersdkgo.ResponseSdaGetBorderDeviceDetailFromSdaFabricPayloadTransitNetworks) []map[string]interface{} { +func flattenSdaGetBorderDeviceDetailFromSdaFabricItemTransitNetworks(items *[]dnacentersdkgo.ResponseSdaGetBorderDeviceDetailFromSdaFabricTransitNetworks) []map[string]interface{} { if items == nil { return nil } @@ -1292,7 +1316,7 @@ func flattenSdaGetBorderDeviceDetailFromSdaFabricItemPayloadTransitNetworks(item return respItems } -func flattenSdaGetBorderDeviceDetailFromSdaFabricItemPayloadVirtualNetwork(items *[]dnacentersdkgo.ResponseSdaGetBorderDeviceDetailFromSdaFabricPayloadVirtualNetwork) []interface{} { +func flattenSdaGetBorderDeviceDetailFromSdaFabricItemVirtualNetwork(items *[]dnacentersdkgo.ResponseSdaGetBorderDeviceDetailFromSdaFabricVirtualNetwork) []interface{} { if items == nil { return nil } @@ -1304,7 +1328,7 @@ func flattenSdaGetBorderDeviceDetailFromSdaFabricItemPayloadVirtualNetwork(items return respItems } -func flattenSdaGetBorderDeviceDetailFromSdaFabricItemPayloadWLAN(items *[]dnacentersdkgo.ResponseSdaGetBorderDeviceDetailFromSdaFabricPayloadWLAN) []interface{} { +func flattenSdaGetBorderDeviceDetailFromSdaFabricItemWLAN(items *[]dnacentersdkgo.ResponseSdaGetBorderDeviceDetailFromSdaFabricWLAN) []interface{} { if items == nil { return nil } diff --git a/dnacenter/data_source_wireless_enterprise_ssid.go b/dnacenter/data_source_wireless_enterprise_ssid.go index 6bb2c087..ebec2422 100644 --- a/dnacenter/data_source_wireless_enterprise_ssid.go +++ b/dnacenter/data_source_wireless_enterprise_ssid.go @@ -339,6 +339,37 @@ func flattenWirelessGetEnterpriseSSIDItemsSSIDDetails(items *[]dnacentersdkgo.Re return respItems } +func flattenWirelessGetEnterpriseSSIDParamsSSIDDetails(items *[]dnacentersdkgo.ResponseItemWirelessGetEnterpriseSSIDSSIDDetails) []map[string]interface{} { + if items == nil { + return nil + } + var respItems []map[string]interface{} + for _, item := range *items { + respItem := make(map[string]interface{}) + respItem["name"] = item.Name + respItem["wlan_type"] = item.WLANType + respItem["enable_fast_lane"] = boolPtrToString(item.EnableFastLane) + respItem["security_level"] = item.SecurityLevel + respItem["auth_server"] = item.AuthServer + respItem["passphrase"] = item.Passphrase + respItem["traffic_type"] = item.TrafficType + respItem["enable_mac_filtering"] = boolPtrToString(item.EnableMacFiltering) + respItem["is_enabled"] = boolPtrToString(item.IsEnabled) + respItem["is_fabric"] = boolPtrToString(item.IsFabric) + respItem["fast_transition"] = item.FastTransition + respItem["radio_policy"] = item.RadioPolicy + respItem["enable_broadcast_ssi_d"] = boolPtrToString(item.EnableBroadcastSSID) + respItem["nas_options"] = item.NasOptions + respItem["aaa_override"] = boolPtrToString(item.AAAOverride) + respItem["coverage_hole_detection_enable"] = boolPtrToString(item.CoverageHoleDetectionEnable) + respItem["protected_management_frame"] = item.ProtectedManagementFrame + respItem["multi_psk_settings"] = flattenWirelessGetEnterpriseSSIDItemsSSIDDetailsMultipSKSettings(item.MultipSKSettings) + respItem["client_rate_limit"] = item.ClientRateLimit + respItems = append(respItems, respItem) + } + return respItems +} + func flattenWirelessGetEnterpriseSSIDItemsSSIDDetailsMultipSKSettings(items *[]dnacentersdkgo.ResponseItemWirelessGetEnterpriseSSIDSSIDDetailsMultipSKSettings) []map[string]interface{} { if items == nil { return nil diff --git a/dnacenter/resource_area.go b/dnacenter/resource_area.go index dbfabaca..c2c187a6 100644 --- a/dnacenter/resource_area.go +++ b/dnacenter/resource_area.go @@ -272,10 +272,14 @@ func resourceAreaCreate(ctx context.Context, d *schema.ResourceData, m interface } } if statusIsFailure(response2.Status) { - bapiError := response2.BapiError - diags = append(diags, diagErrorWithAlt( - "Failure when executing CreateSite", err, - "Failure at CreateSite exeecution", bapiError)) + if strings.Contains(response2.BapiError, "Rate Limit") { + return resourceAreaCreate(ctx, d, m) + } else { + bapiError := response2.BapiError + diags = append(diags, diagErrorWithAlt( + "Failure when executing CreateArea", err, + "Failure at CreateArea execution", bapiError)) + } return diags } } @@ -285,8 +289,8 @@ func resourceAreaCreate(ctx context.Context, d *schema.ResourceData, m interface item2, err := searchSitesGetSite(m, queryParams2) if err != nil || item2 == nil { diags = append(diags, diagErrorWithAlt( - "Failure when executing CreateSite", err, - "Failure at CreateSite execution", "")) + "Failure when executing CreateArea", err, + "Failure at CreateArea execution", "")) return diags } resourceMap := make(map[string]string) @@ -459,10 +463,14 @@ func resourceAreaDelete(ctx context.Context, d *schema.ResourceData, m interface } if statusIsFailure(response2.Status) { - bapiError := response2.BapiError - diags = append(diags, diagErrorWithAlt( - "Failure when executing DeleteSite22222", err, - "Failure at DeleteSite execution1111", bapiError)) + if strings.Contains(response2.BapiError, "Rate Limit") { + return resourceAreaDelete(ctx, d, m) + } else { + bapiError := response2.BapiError + diags = append(diags, diagErrorWithAlt( + "Failure when executing DeleteArea", err, + "Failure at DeleteArea execution", bapiError)) + } return diags } } diff --git a/dnacenter/resource_building.go b/dnacenter/resource_building.go index e36e8d19..1dc62dbb 100644 --- a/dnacenter/resource_building.go +++ b/dnacenter/resource_building.go @@ -338,11 +338,16 @@ func resourceBuildingCreate(ctx context.Context, d *schema.ResourceData, m inter return diags } } + if statusIsFailure(response2.Status) { - bapiError := response2.BapiError - diags = append(diags, diagErrorWithAlt( - "Failure when executing CreateSite", err, - "Failure at CreateSite execution", bapiError)) + if strings.Contains(response2.BapiError, "Rate Limit") { + return resourceBuildingCreate(ctx, d, m) + } else { + bapiError := response2.BapiError + diags = append(diags, diagErrorWithAlt( + "Failure when executing CreateSite", err, + "Failure at CreateSite execution", bapiError)) + } return diags } } @@ -573,7 +578,7 @@ func resourceBuildingDelete(ctx context.Context, d *schema.ResourceData, m inter resourceID := d.Id() resourceMap := separateResourceID(resourceID) vSiteID := resourceMap["site_id"] - time.Sleep(1 * time.Minute) + // time.Sleep(1 * time.Minute) // queryParams1 := dnacentersdkgo.GetSiteQueryParams{} // queryParams1.Name = vName // queryParams1.SiteID = vSiteID @@ -618,7 +623,7 @@ func resourceBuildingDelete(ctx context.Context, d *schema.ResourceData, m inter } for statusIsPending(response2.Status) { time.Sleep(10 * time.Second) - response2, restyResp1, err = client.Task.GetBusinessAPIExecutionDetails(executionId) + response2, restyResp1, err = client.Task.GetBusinessAPIExecutionDetails(executionId) //pausa x cantidad 1min if err != nil || response2 == nil { if restyResp1 != nil { log.Printf("[DEBUG] Retrieved error response2 %s", restyResp1.String()) @@ -631,10 +636,14 @@ func resourceBuildingDelete(ctx context.Context, d *schema.ResourceData, m inter } if statusIsFailure(response2.Status) { - bapiError := response2.BapiError - diags = append(diags, diagErrorWithAlt( - "Failure when executing DeleteSite22222", err, - "Failure at DeleteSite execution1111", bapiError)) + if strings.Contains(response2.BapiError, "Rate Limit") { + return resourceBuildingDelete(ctx, d, m) + } else { + bapiError := response2.BapiError + diags = append(diags, diagErrorWithAlt( + "Failure when executing DeleteBuilding", err, + "Failure at DeleteBuilding execution", bapiError)) + } return diags } } diff --git a/dnacenter/resource_floor.go b/dnacenter/resource_floor.go index 6cca923c..97e24326 100644 --- a/dnacenter/resource_floor.go +++ b/dnacenter/resource_floor.go @@ -320,10 +320,14 @@ func resourceFloorCreate(ctx context.Context, d *schema.ResourceData, m interfac } } if statusIsFailure(response2.Status) { - bapiError := response2.BapiError - diags = append(diags, diagErrorWithAlt( - "Failure when executing CreateSite", err, - "Failure at CreateSite execution", bapiError)) + if strings.Contains(response2.BapiError, "Rate Limit") { + return resourceAreaCreate(ctx, d, m) + } else { + bapiError := response2.BapiError + diags = append(diags, diagErrorWithAlt( + "Failure when executing CreateFloor", err, + "Failure at CreateFloor execution", bapiError)) + } return diags } } @@ -619,10 +623,14 @@ func resourceFloorDelete(ctx context.Context, d *schema.ResourceData, m interfac } if statusIsFailure(response2.Status) { - bapiError := response2.BapiError - diags = append(diags, diagErrorWithAlt( - "Failure when executing DeleteSite", err, - "Failure at DeleteSite execution1111", bapiError)) + if strings.Contains(response2.BapiError, "Rate Limit") { + return resourceFloorCreate(ctx, d, m) + } else { + bapiError := response2.BapiError + diags = append(diags, diagErrorWithAlt( + "Failure when executing DeleteFloor", err, + "Failure at DeleteFloor execution", bapiError)) + } return diags } } diff --git a/dnacenter/resource_reserve_ip_subpool.go b/dnacenter/resource_reserve_ip_subpool.go index f5ee2cab..e83d498f 100644 --- a/dnacenter/resource_reserve_ip_subpool.go +++ b/dnacenter/resource_reserve_ip_subpool.go @@ -2,7 +2,9 @@ package dnacenter import ( "context" + "errors" "reflect" + "strings" "time" "log" @@ -475,6 +477,14 @@ func resourceReserveIPSubpoolCreate(ctx context.Context, d *schema.ResourceData, diags = append(diags, diagError( "Failure when executing ReserveIPSubpool", err)) return diags + } else { + if strings.Contains(response2.BapiSyncResponse, "FailureReason:") { + err1 := errors.New(response2.BapiError) + log.Printf("[DEBUG] Error %s", response2.BapiSyncResponse) + diags = append(diags, diagError( + "Failure when executing ReserveIPSubpool", err1)) + return diags + } } } resourceMap := make(map[string]string) @@ -813,8 +823,10 @@ func searchNetworkSettingsGetReserveIPSubpool(m interface{}, queryParams dnacent var err error var foundItem *dnacentersdkgo.ResponseNetworkSettingsGetReserveIPSubpoolResponse var nResponse *dnacentersdkgo.ResponseNetworkSettingsGetReserveIPSubpool + maxPageSize := 500 offset := 1 queryParams.Offset = offset + queryParams.Limit = maxPageSize nResponse, _, err = client.NetworkSettings.GetReserveIPSubpool(&queryParams) if err != nil { return foundItem, err @@ -827,8 +839,7 @@ func searchNetworkSettingsGetReserveIPSubpool(m interface{}, queryParams dnacent if nResponse.Response == nil { return nil, err } - maxPageSize := len(*nResponse.Response) - //maxPageSize := 10 + // maxPageSize := len(*nResponse.Response) for nResponse != nil && nResponse.Response != nil && len(*nResponse.Response) > 0 { for _, item := range *nResponse.Response { if vName == item.GroupName { diff --git a/dnacenter/resource_sda_fabric_border_device.go b/dnacenter/resource_sda_fabric_border_device.go index c9aeca5a..6f81342d 100644 --- a/dnacenter/resource_sda_fabric_border_device.go +++ b/dnacenter/resource_sda_fabric_border_device.go @@ -48,114 +48,163 @@ func resourceSdaFabricBorderDevice() *schema.Resource { Type: schema.TypeString, Computed: true, }, - "payload": &schema.Schema{ + + "akc_settings_cfs": &schema.Schema{ + Description: `Akc Settings Cfs`, + Type: schema.TypeList, + Computed: true, + Elem: &schema.Schema{ + Type: schema.TypeString, + }, + }, + "auth_entity_class": &schema.Schema{ + Description: `Auth Entity Class`, + Type: schema.TypeInt, + Computed: true, + }, + "auth_entity_id": &schema.Schema{ + Description: `Auth Entity Id`, + Type: schema.TypeInt, + Computed: true, + }, + "cfs_change_info": &schema.Schema{ + Description: `Cfs Change Info`, + Type: schema.TypeList, + Computed: true, + Elem: &schema.Schema{ + Type: schema.TypeString, + }, + }, + "configs": &schema.Schema{ + Description: `Configs`, + Type: schema.TypeList, + Computed: true, + Elem: &schema.Schema{ + Type: schema.TypeString, + }, + }, + "create_time": &schema.Schema{ + Description: `Create Time`, + Type: schema.TypeInt, + Computed: true, + }, + "custom_provisions": &schema.Schema{ + Description: `Custom Provisions`, + Type: schema.TypeList, + Computed: true, + Elem: &schema.Schema{ + Type: schema.TypeString, + }, + }, + "deploy_pending": &schema.Schema{ + Description: `Deploy Pending`, + Type: schema.TypeString, + Computed: true, + }, + "deployed": &schema.Schema{ + Description: `Deployed`, + // Type: schema.TypeBool, + Type: schema.TypeString, + Computed: true, + }, + "device_interface_info": &schema.Schema{ + Description: `Device Interface Info`, + Type: schema.TypeList, + Computed: true, + Elem: &schema.Schema{ + Type: schema.TypeString, + }, + }, + "device_settings": &schema.Schema{ Type: schema.TypeList, Computed: true, Elem: &schema.Resource{ Schema: map[string]*schema.Schema{ - "akc_settings_cfs": &schema.Schema{ - Description: `Akc Settings Cfs`, - Type: schema.TypeList, - Computed: true, - Elem: &schema.Schema{ - Type: schema.TypeString, - }, - }, - "auth_entity_class": &schema.Schema{ - Description: `Auth Entity Class`, - Type: schema.TypeInt, - Computed: true, - }, - "auth_entity_id": &schema.Schema{ - Description: `Auth Entity Id`, - Type: schema.TypeInt, - Computed: true, - }, - "cfs_change_info": &schema.Schema{ - Description: `Cfs Change Info`, - Type: schema.TypeList, - Computed: true, - Elem: &schema.Schema{ - Type: schema.TypeString, - }, - }, - "configs": &schema.Schema{ - Description: `Configs`, + "connected_to": &schema.Schema{ + Description: `Connected To`, Type: schema.TypeList, Computed: true, Elem: &schema.Schema{ Type: schema.TypeString, }, }, - "create_time": &schema.Schema{ - Description: `Create Time`, - Type: schema.TypeInt, + "cpu": &schema.Schema{ + Description: `Cpu`, + Type: schema.TypeFloat, Computed: true, }, - "custom_provisions": &schema.Schema{ - Description: `Custom Provisions`, - Type: schema.TypeList, - Computed: true, - Elem: &schema.Schema{ - Type: schema.TypeString, - }, - }, "deploy_pending": &schema.Schema{ Description: `Deploy Pending`, Type: schema.TypeString, Computed: true, }, - "deployed": &schema.Schema{ - Description: `Deployed`, + "dhcp_enabled": &schema.Schema{ + Description: `Dhcp Enabled`, // Type: schema.TypeBool, Type: schema.TypeString, Computed: true, }, - "device_interface_info": &schema.Schema{ - Description: `Device Interface Info`, - Type: schema.TypeList, + "display_name": &schema.Schema{ + Description: `Display Name`, + Type: schema.TypeString, Computed: true, - Elem: &schema.Schema{ - Type: schema.TypeString, - }, }, - "device_settings": &schema.Schema{ + "ext_connectivity_settings": &schema.Schema{ Type: schema.TypeList, Computed: true, Elem: &schema.Resource{ Schema: map[string]*schema.Schema{ - "connected_to": &schema.Schema{ - Description: `Connected To`, - Type: schema.TypeList, + "deploy_pending": &schema.Schema{ + Description: `Deploy Pending`, + Type: schema.TypeString, Computed: true, - Elem: &schema.Schema{ - Type: schema.TypeString, - }, }, - "cpu": &schema.Schema{ - Description: `Cpu`, - Type: schema.TypeFloat, + "display_name": &schema.Schema{ + Description: `Display Name`, + Type: schema.TypeString, Computed: true, }, - "deploy_pending": &schema.Schema{ - Description: `Deploy Pending`, + "external_domain_protocol_number": &schema.Schema{ + Description: `External Domain Protocol Number`, Type: schema.TypeString, Computed: true, }, - "dhcp_enabled": &schema.Schema{ - Description: `Dhcp Enabled`, - // Type: schema.TypeBool, - Type: schema.TypeString, - Computed: true, + "id": &schema.Schema{ + Description: `Id`, + Type: schema.TypeString, + Computed: true, }, - "display_name": &schema.Schema{ - Description: `Display Name`, + "instance_id": &schema.Schema{ + Description: `Instance Id`, + Type: schema.TypeInt, + Computed: true, + }, + "instance_tenant_id": &schema.Schema{ + Description: `Instance Tenant Id`, Type: schema.TypeString, Computed: true, }, - "ext_connectivity_settings": &schema.Schema{ + "instance_version": &schema.Schema{ + Description: `Instance Version`, + Type: schema.TypeInt, + Computed: true, + }, + "interface_uuid": &schema.Schema{ + Description: `Interface Uuid`, + Type: schema.TypeString, + Computed: true, + }, + "l2_handoff": &schema.Schema{ + Description: `L2 Handoff`, + Type: schema.TypeList, + Computed: true, + Elem: &schema.Schema{ + Type: schema.TypeString, + }, + }, + "l3_handoff": &schema.Schema{ Type: schema.TypeList, Computed: true, Elem: &schema.Resource{ @@ -171,11 +220,6 @@ func resourceSdaFabricBorderDevice() *schema.Resource { Type: schema.TypeString, Computed: true, }, - "external_domain_protocol_number": &schema.Schema{ - Description: `External Domain Protocol Number`, - Type: schema.TypeString, - Computed: true, - }, "id": &schema.Schema{ Description: `Id`, Type: schema.TypeString, @@ -193,162 +237,62 @@ func resourceSdaFabricBorderDevice() *schema.Resource { }, "instance_version": &schema.Schema{ Description: `Instance Version`, - Type: schema.TypeInt, + Type: schema.TypeFloat, Computed: true, }, - "interface_uuid": &schema.Schema{ - Description: `Interface Uuid`, + "local_ip_address": &schema.Schema{ + Description: `Local Ip Address`, Type: schema.TypeString, Computed: true, }, - "l2_handoff": &schema.Schema{ - Description: `L2 Handoff`, - Type: schema.TypeList, + "remote_ip_address": &schema.Schema{ + Description: `Remote Ip Address`, + Type: schema.TypeString, Computed: true, - Elem: &schema.Schema{ - Type: schema.TypeString, - }, }, - "l3_handoff": &schema.Schema{ + "virtual_network": &schema.Schema{ Type: schema.TypeList, Computed: true, Elem: &schema.Resource{ Schema: map[string]*schema.Schema{ - "deploy_pending": &schema.Schema{ - Description: `Deploy Pending`, + "id_ref": &schema.Schema{ + Description: `Id Ref`, Type: schema.TypeString, Computed: true, }, - "display_name": &schema.Schema{ - Description: `Display Name`, - Type: schema.TypeString, - Computed: true, - }, - "id": &schema.Schema{ - Description: `Id`, - Type: schema.TypeString, - Computed: true, - }, - "instance_id": &schema.Schema{ - Description: `Instance Id`, - Type: schema.TypeInt, - Computed: true, - }, - "instance_tenant_id": &schema.Schema{ - Description: `Instance Tenant Id`, - Type: schema.TypeString, - Computed: true, - }, - "instance_version": &schema.Schema{ - Description: `Instance Version`, - Type: schema.TypeFloat, - Computed: true, - }, - "local_ip_address": &schema.Schema{ - Description: `Local Ip Address`, - Type: schema.TypeString, - Computed: true, - }, - "remote_ip_address": &schema.Schema{ - Description: `Remote Ip Address`, - Type: schema.TypeString, - Computed: true, - }, - "virtual_network": &schema.Schema{ - Type: schema.TypeList, - Computed: true, - Elem: &schema.Resource{ - Schema: map[string]*schema.Schema{ - - "id_ref": &schema.Schema{ - Description: `Id Ref`, - Type: schema.TypeString, - Computed: true, - }, - }, - }, - }, - "vlan_id": &schema.Schema{ - Description: `Vlan Id`, - Type: schema.TypeInt, - Computed: true, - }, }, }, }, - "policy_propagation_enabled": &schema.Schema{ - Description: `Policy Propagation Enabled`, - // Type: schema.TypeBool, - Type: schema.TypeString, - Computed: true, - }, - "policy_sgt_tag": &schema.Schema{ - Description: `Policy Sgt Tag`, - Type: schema.TypeFloat, + "vlan_id": &schema.Schema{ + Description: `Vlan Id`, + Type: schema.TypeInt, Computed: true, }, }, }, }, - "external_connectivity_ip_pool": &schema.Schema{ - Description: `External Connectivity Ip Pool`, - Type: schema.TypeString, - Computed: true, - }, - "external_domain_routing_protocol": &schema.Schema{ - Description: `External Domain Routing Protocol`, - Type: schema.TypeString, - Computed: true, - }, - "id": &schema.Schema{ - Description: `Id`, - Type: schema.TypeString, - Computed: true, - }, - "instance_id": &schema.Schema{ - Description: `Instance Id`, - Type: schema.TypeInt, - Computed: true, - }, - "instance_tenant_id": &schema.Schema{ - Description: `Instance Tenant Id`, - Type: schema.TypeString, - Computed: true, - }, - "instance_version": &schema.Schema{ - Description: `Instance Version`, - Type: schema.TypeInt, - Computed: true, - }, - "internal_domain_protocol_number": &schema.Schema{ - Description: `Internal Domain Protocol Number`, - Type: schema.TypeString, - Computed: true, - }, - "memory": &schema.Schema{ - Description: `Memory`, - Type: schema.TypeFloat, - Computed: true, - }, - "node_type": &schema.Schema{ - Description: `Node Type`, - Type: schema.TypeList, - Computed: true, - Elem: &schema.Schema{ - Type: schema.TypeString, - }, + "policy_propagation_enabled": &schema.Schema{ + Description: `Policy Propagation Enabled`, + // Type: schema.TypeBool, + Type: schema.TypeString, + Computed: true, }, - "storage": &schema.Schema{ - Description: `Storage`, + "policy_sgt_tag": &schema.Schema{ + Description: `Policy Sgt Tag`, Type: schema.TypeFloat, Computed: true, }, }, }, }, - "display_name": &schema.Schema{ - Description: `Display Name`, + "external_connectivity_ip_pool": &schema.Schema{ + Description: `External Connectivity Ip Pool`, + Type: schema.TypeString, + Computed: true, + }, + "external_domain_routing_protocol": &schema.Schema{ + Description: `External Domain Routing Protocol`, Type: schema.TypeString, Computed: true, }, @@ -372,129 +316,201 @@ func resourceSdaFabricBorderDevice() *schema.Resource { Type: schema.TypeInt, Computed: true, }, - "is_seeded": &schema.Schema{ - Description: `Is Seeded`, - // Type: schema.TypeBool, - Type: schema.TypeString, - Computed: true, - }, - "is_stale": &schema.Schema{ - Description: `Is Stale`, - // Type: schema.TypeBool, - Type: schema.TypeString, - Computed: true, + "internal_domain_protocol_number": &schema.Schema{ + Description: `Internal Domain Protocol Number`, + Type: schema.TypeString, + Computed: true, }, - "last_update_time": &schema.Schema{ - Description: `Last Update Time`, - Type: schema.TypeInt, + "memory": &schema.Schema{ + Description: `Memory`, + Type: schema.TypeFloat, Computed: true, }, - "managed_sites": &schema.Schema{ - Description: `Managed Sites`, + "node_type": &schema.Schema{ + Description: `Node Type`, Type: schema.TypeList, Computed: true, Elem: &schema.Schema{ Type: schema.TypeString, }, }, - "name": &schema.Schema{ - Description: `Name`, - Type: schema.TypeString, + "storage": &schema.Schema{ + Description: `Storage`, + Type: schema.TypeFloat, Computed: true, }, - "namespace": &schema.Schema{ - Description: `Namespace`, - Type: schema.TypeString, + }, + }, + }, + "display_name": &schema.Schema{ + Description: `Display Name`, + Type: schema.TypeString, + Computed: true, + }, + "id": &schema.Schema{ + Description: `Id`, + Type: schema.TypeString, + Computed: true, + }, + "instance_id": &schema.Schema{ + Description: `Instance Id`, + Type: schema.TypeInt, + Computed: true, + }, + "instance_tenant_id": &schema.Schema{ + Description: `Instance Tenant Id`, + Type: schema.TypeString, + Computed: true, + }, + "instance_version": &schema.Schema{ + Description: `Instance Version`, + Type: schema.TypeInt, + Computed: true, + }, + "is_seeded": &schema.Schema{ + Description: `Is Seeded`, + // Type: schema.TypeBool, + Type: schema.TypeString, + Computed: true, + }, + "is_stale": &schema.Schema{ + Description: `Is Stale`, + // Type: schema.TypeBool, + Type: schema.TypeString, + Computed: true, + }, + "last_update_time": &schema.Schema{ + Description: `Last Update Time`, + Type: schema.TypeInt, + Computed: true, + }, + "managed_sites": &schema.Schema{ + Description: `Managed Sites`, + Type: schema.TypeList, + Computed: true, + Elem: &schema.Schema{ + Type: schema.TypeString, + }, + }, + "name": &schema.Schema{ + Description: `Name`, + Type: schema.TypeString, + Computed: true, + }, + "namespace": &schema.Schema{ + Description: `Namespace`, + Type: schema.TypeString, + Computed: true, + }, + "network_device_id": &schema.Schema{ + Description: `Network Device Id`, + Type: schema.TypeString, + Computed: true, + }, + "network_wide_settings": &schema.Schema{ + Type: schema.TypeList, + Computed: true, + Elem: &schema.Resource{ + Schema: map[string]*schema.Schema{ + + "aaa": &schema.Schema{ + Description: `Aaa`, + Type: schema.TypeList, + Computed: true, + Elem: &schema.Schema{ + Type: schema.TypeString, + }, + }, + "cmx": &schema.Schema{ + Description: `Cmx`, + Type: schema.TypeList, Computed: true, + Elem: &schema.Schema{ + Type: schema.TypeString, + }, }, - "network_device_id": &schema.Schema{ - Description: `Network Device Id`, + "deploy_pending": &schema.Schema{ + Description: `Deploy Pending`, Type: schema.TypeString, Computed: true, }, - "network_wide_settings": &schema.Schema{ + "dhcp": &schema.Schema{ Type: schema.TypeList, Computed: true, Elem: &schema.Resource{ Schema: map[string]*schema.Schema{ - "aaa": &schema.Schema{ - Description: `Aaa`, - Type: schema.TypeList, - Computed: true, - Elem: &schema.Schema{ - Type: schema.TypeString, - }, - }, - "cmx": &schema.Schema{ - Description: `Cmx`, - Type: schema.TypeList, - Computed: true, - Elem: &schema.Schema{ - Type: schema.TypeString, - }, - }, - "deploy_pending": &schema.Schema{ - Description: `Deploy Pending`, + "id": &schema.Schema{ + Description: `Id`, Type: schema.TypeString, Computed: true, }, - "dhcp": &schema.Schema{ + "ip_address": &schema.Schema{ Type: schema.TypeList, Computed: true, Elem: &schema.Resource{ Schema: map[string]*schema.Schema{ + "address": &schema.Schema{ + Description: `Address`, + Type: schema.TypeString, + Computed: true, + }, + "address_type": &schema.Schema{ + Description: `Address Type`, + Type: schema.TypeString, + Computed: true, + }, "id": &schema.Schema{ Description: `Id`, Type: schema.TypeString, Computed: true, }, - "ip_address": &schema.Schema{ - Type: schema.TypeList, - Computed: true, - Elem: &schema.Resource{ - Schema: map[string]*schema.Schema{ - - "address": &schema.Schema{ - Description: `Address`, - Type: schema.TypeString, - Computed: true, - }, - "address_type": &schema.Schema{ - Description: `Address Type`, - Type: schema.TypeString, - Computed: true, - }, - "id": &schema.Schema{ - Description: `Id`, - Type: schema.TypeString, - Computed: true, - }, - "padded_address": &schema.Schema{ - Description: `Padded Address`, - Type: schema.TypeString, - Computed: true, - }, - }, - }, + "padded_address": &schema.Schema{ + Description: `Padded Address`, + Type: schema.TypeString, + Computed: true, }, }, }, }, - "display_name": &schema.Schema{ - Description: `Display Name`, + }, + }, + }, + "display_name": &schema.Schema{ + Description: `Display Name`, + Type: schema.TypeString, + Computed: true, + }, + "dns": &schema.Schema{ + Type: schema.TypeList, + Computed: true, + Elem: &schema.Resource{ + Schema: map[string]*schema.Schema{ + + "domain_name": &schema.Schema{ + Description: `Domain Name`, + Type: schema.TypeString, + Computed: true, + }, + "id": &schema.Schema{ + Description: `Id`, Type: schema.TypeString, Computed: true, }, - "dns": &schema.Schema{ + "ip": &schema.Schema{ Type: schema.TypeList, Computed: true, Elem: &schema.Resource{ Schema: map[string]*schema.Schema{ - "domain_name": &schema.Schema{ - Description: `Domain Name`, + "address": &schema.Schema{ + Description: `Address`, + Type: schema.TypeString, + Computed: true, + }, + "address_type": &schema.Schema{ + Description: `Address Type`, Type: schema.TypeString, Computed: true, }, @@ -503,183 +519,79 @@ func resourceSdaFabricBorderDevice() *schema.Resource { Type: schema.TypeString, Computed: true, }, - "ip": &schema.Schema{ - Type: schema.TypeList, - Computed: true, - Elem: &schema.Resource{ - Schema: map[string]*schema.Schema{ - - "address": &schema.Schema{ - Description: `Address`, - Type: schema.TypeString, - Computed: true, - }, - "address_type": &schema.Schema{ - Description: `Address Type`, - Type: schema.TypeString, - Computed: true, - }, - "id": &schema.Schema{ - Description: `Id`, - Type: schema.TypeString, - Computed: true, - }, - "padded_address": &schema.Schema{ - Description: `Padded Address`, - Type: schema.TypeString, - Computed: true, - }, - }, - }, + "padded_address": &schema.Schema{ + Description: `Padded Address`, + Type: schema.TypeString, + Computed: true, }, }, }, }, - "id": &schema.Schema{ - Description: `Id`, - Type: schema.TypeString, - Computed: true, - }, - "instance_id": &schema.Schema{ - Description: `Instance Id`, - Type: schema.TypeInt, - Computed: true, - }, - "instance_tenant_id": &schema.Schema{ - Description: `Instance Tenant Id`, - Type: schema.TypeString, - Computed: true, - }, - "instance_version": &schema.Schema{ - Description: `Instance Version`, - Type: schema.TypeInt, - Computed: true, - }, - "ldap": &schema.Schema{ - Description: `Ldap`, - Type: schema.TypeList, - Computed: true, - Elem: &schema.Schema{ - Type: schema.TypeString, - }, - }, - "native_vlan": &schema.Schema{ - Description: `Native Vlan`, - Type: schema.TypeList, - Computed: true, - Elem: &schema.Schema{ - Type: schema.TypeString, - }, - }, - "netflow": &schema.Schema{ - Description: `Netflow`, - Type: schema.TypeList, - Computed: true, - Elem: &schema.Schema{ - Type: schema.TypeString, - }, - }, - "ntp": &schema.Schema{ - Description: `Ntp`, - Type: schema.TypeList, - Computed: true, - Elem: &schema.Schema{ - Type: schema.TypeString, - }, - }, - "snmp": &schema.Schema{ - Description: `Snmp`, - Type: schema.TypeList, - Computed: true, - Elem: &schema.Schema{ - Type: schema.TypeString, - }, - }, - "syslogs": &schema.Schema{ - Description: `Syslogs`, - Type: schema.TypeList, - Computed: true, - Elem: &schema.Schema{ - Type: schema.TypeString, - }, - }, }, }, }, - "other_device": &schema.Schema{ - Description: `Other Device`, - Type: schema.TypeList, + "id": &schema.Schema{ + Description: `Id`, + Type: schema.TypeString, + Computed: true, + }, + "instance_id": &schema.Schema{ + Description: `Instance Id`, + Type: schema.TypeInt, Computed: true, - Elem: &schema.Schema{ - Type: schema.TypeString, - }, }, - "provisioning_state": &schema.Schema{ - Description: `Provisioning State`, + "instance_tenant_id": &schema.Schema{ + Description: `Instance Tenant Id`, Type: schema.TypeString, Computed: true, }, - "resource_version": &schema.Schema{ - Description: `Resource Version`, + "instance_version": &schema.Schema{ + Description: `Instance Version`, Type: schema.TypeInt, Computed: true, }, - "roles": &schema.Schema{ - Description: `Roles`, + "ldap": &schema.Schema{ + Description: `Ldap`, Type: schema.TypeList, Computed: true, Elem: &schema.Schema{ Type: schema.TypeString, }, }, - "save_wan_connectivity_details_only": &schema.Schema{ - Description: `Save Wan Connectivity Details Only`, - // Type: schema.TypeBool, - Type: schema.TypeString, - Computed: true, - }, - "site_id": &schema.Schema{ - Description: `Site Id`, - Type: schema.TypeString, - Computed: true, - }, - "target_id_list": &schema.Schema{ - Description: `Target Id List`, + "native_vlan": &schema.Schema{ + Description: `Native Vlan`, Type: schema.TypeList, Computed: true, Elem: &schema.Schema{ Type: schema.TypeString, }, }, - "transit_networks": &schema.Schema{ - Type: schema.TypeList, - Computed: true, - Elem: &schema.Resource{ - Schema: map[string]*schema.Schema{ - - "id_ref": &schema.Schema{ - Description: `Id Ref`, - Type: schema.TypeString, - Computed: true, - }, - }, + "netflow": &schema.Schema{ + Description: `Netflow`, + Type: schema.TypeList, + Computed: true, + Elem: &schema.Schema{ + Type: schema.TypeString, }, }, - "type": &schema.Schema{ - Description: `Type`, - Type: schema.TypeString, + "ntp": &schema.Schema{ + Description: `Ntp`, + Type: schema.TypeList, Computed: true, + Elem: &schema.Schema{ + Type: schema.TypeString, + }, }, - "virtual_network": &schema.Schema{ - Description: `Virtual Network`, + "snmp": &schema.Schema{ + Description: `Snmp`, Type: schema.TypeList, Computed: true, Elem: &schema.Schema{ Type: schema.TypeString, }, }, - "wlan": &schema.Schema{ - Description: `Wlan`, + "syslogs": &schema.Schema{ + Description: `Syslogs`, Type: schema.TypeList, Computed: true, Elem: &schema.Schema{ @@ -689,6 +601,87 @@ func resourceSdaFabricBorderDevice() *schema.Resource { }, }, }, + "other_device": &schema.Schema{ + Description: `Other Device`, + Type: schema.TypeList, + Computed: true, + Elem: &schema.Schema{ + Type: schema.TypeString, + }, + }, + "provisioning_state": &schema.Schema{ + Description: `Provisioning State`, + Type: schema.TypeString, + Computed: true, + }, + "resource_version": &schema.Schema{ + Description: `Resource Version`, + Type: schema.TypeInt, + Computed: true, + }, + "roles": &schema.Schema{ + Description: `Roles`, + Type: schema.TypeList, + Computed: true, + Elem: &schema.Schema{ + Type: schema.TypeString, + }, + }, + "save_wan_connectivity_details_only": &schema.Schema{ + Description: `Save Wan Connectivity Details Only`, + // Type: schema.TypeBool, + Type: schema.TypeString, + Computed: true, + }, + "site_id": &schema.Schema{ + Description: `Site Id`, + Type: schema.TypeString, + Computed: true, + }, + "target_id_list": &schema.Schema{ + Description: `Target Id List`, + Type: schema.TypeList, + Computed: true, + Elem: &schema.Schema{ + Type: schema.TypeString, + }, + }, + "transit_networks": &schema.Schema{ + Type: schema.TypeList, + Computed: true, + Elem: &schema.Resource{ + Schema: map[string]*schema.Schema{ + + "id_ref": &schema.Schema{ + Description: `Id Ref`, + Type: schema.TypeString, + Computed: true, + }, + }, + }, + }, + "type": &schema.Schema{ + Description: `Type`, + Type: schema.TypeString, + Computed: true, + }, + "virtual_network": &schema.Schema{ + Description: `Virtual Network`, + Type: schema.TypeList, + Computed: true, + Elem: &schema.Schema{ + Type: schema.TypeString, + }, + }, + "wlan": &schema.Schema{ + Description: `Wlan`, + Type: schema.TypeList, + Computed: true, + Elem: &schema.Schema{ + Type: schema.TypeString, + }, + }, + "status": &schema.Schema{ Description: `Status`, Type: schema.TypeString, diff --git a/dnacenter/resource_wireless_enterprise_ssid.go b/dnacenter/resource_wireless_enterprise_ssid.go index 3b8314ad..92e05e90 100644 --- a/dnacenter/resource_wireless_enterprise_ssid.go +++ b/dnacenter/resource_wireless_enterprise_ssid.go @@ -388,6 +388,12 @@ func resourceWirelessEnterpriseSSID() *schema.Resource { Optional: true, Computed: true, }, + "protected_management_frame": &schema.Schema{ + Description: `Protected Management Frame`, + Type: schema.TypeString, + Computed: true, + Optional: true, + }, }, }, }, @@ -510,7 +516,39 @@ func resourceWirelessEnterpriseSSIDRead(ctx context.Context, d *schema.ResourceD err)) return diags } - + response1NoPointer := *response1 + responseItemSSID := *response1NoPointer[0].SSIDDetails + responseItemSSIDItem := responseItemSSID[0] + request := expandRequestWirelessEnterpriseSSIDCreateEnterpriseSSID(ctx, "parameters.0", d) + vParameters := map[string]interface{}{ + "basic_service_set_client_idle_timeout": request.BasicServiceSetClientIDleTimeout, + "client_exclusion_timeout": request.ClientExclusionTimeout, + "enable_basic_service_set_max_idle": boolPtrToString(request.EnableBasicServiceSetMaxIDle), + "enable_broadcast_ssi_d": boolPtrToString(responseItemSSIDItem.EnableBroadcastSSID), + "enable_client_exclusion": boolPtrToString(request.EnableClientExclusion), + "enable_directed_multicast_service": boolPtrToString(request.EnableDirectedMulticastService), + "enable_fast_lane": boolPtrToString(responseItemSSIDItem.EnableFastLane), + "enable_mac_filtering": boolPtrToString(responseItemSSIDItem.EnableMacFiltering), + "enable_neighbor_list": boolPtrToString(request.EnableNeighborList), + "enable_session_time_out": boolPtrToString(request.EnableSessionTimeOut), + "fast_transition": responseItemSSIDItem.FastTransition, + "mfp_client_protection": responseItemSSIDItem.MfpClientProtection, + "name": responseItemSSIDItem.Name, + "nas_options": responseItemSSIDItem.NasOptions, + "passphrase": responseItemSSIDItem.Passphrase, + "radio_policy": responseItemSSIDItem.RadioPolicy, + "security_level": responseItemSSIDItem.SecurityLevel, + "session_time_out": request.SessionTimeOut, + "traffic_type": responseItemSSIDItem.TrafficType, + "protected_management_frame": responseItemSSIDItem.ProtectedManagementFrame, + } + // vItem1 := flattenWirelessGetEnterpriseSSIDItems(response1) + if err := d.Set("parameters", []map[string]interface{}{vParameters}); err != nil { + diags = append(diags, diagError( + "Failure when setting GetEnterpriseSSID search response", + err)) + return diags + } } return diags } @@ -840,6 +878,9 @@ func expandRequestWirelessEnterpriseSSIDCreateEnterpriseSSID(ctx context.Context if v, ok := d.GetOkExists(fixKeyAccess(key + ".nas_options")); !isEmptyValue(reflect.ValueOf(d.Get(fixKeyAccess(key+".nas_options")))) && (ok || !reflect.DeepEqual(v, d.Get(fixKeyAccess(key+".nas_options")))) { request.NasOptions = interfaceToSliceString(v) } + if v, ok := d.GetOkExists(fixKeyAccess(key + ".protected_management_frame")); !isEmptyValue(reflect.ValueOf(d.Get(fixKeyAccess(key+".protected_management_frame")))) && (ok || !reflect.DeepEqual(v, d.Get(fixKeyAccess(key+".protected_management_frame")))) { + request.ProtectedManagementFrame = interfaceToString(v) + } if isEmptyValue(reflect.ValueOf(request)) { return nil } @@ -905,6 +946,9 @@ func expandRequestWirelessEnterpriseSSIDUpdateEnterpriseSSID(ctx context.Context if v, ok := d.GetOkExists(fixKeyAccess(key + ".nas_options")); !isEmptyValue(reflect.ValueOf(d.Get(fixKeyAccess(key+".nas_options")))) && (ok || !reflect.DeepEqual(v, d.Get(fixKeyAccess(key+".nas_options")))) { request.NasOptions = interfaceToSliceString(v) } + if v, ok := d.GetOkExists(fixKeyAccess(key + ".protected_management_frame")); !isEmptyValue(reflect.ValueOf(d.Get(fixKeyAccess(key+".protected_management_frame")))) && (ok || !reflect.DeepEqual(v, d.Get(fixKeyAccess(key+".protected_management_frame")))) { + request.ProtectedManagementFrame = interfaceToString(v) + } if isEmptyValue(reflect.ValueOf(request)) { return nil } diff --git a/dnacenter/resource_wireless_profile.go b/dnacenter/resource_wireless_profile.go index bbbfd4d7..69dd0b29 100644 --- a/dnacenter/resource_wireless_profile.go +++ b/dnacenter/resource_wireless_profile.go @@ -242,12 +242,6 @@ should be provided. }, }, }, - "wireless_profile_name": &schema.Schema{ - Description: `wirelessProfileName path parameter. Wireless Profile Name -`, - Type: schema.TypeString, - Optional: true, - }, }, }, }, @@ -383,6 +377,13 @@ func resourceWirelessProfileRead(ctx context.Context, d *schema.ResourceData, m return diags } + if err := d.Set("parameters", vItem1); err != nil { + diags = append(diags, diagError( + "Failure when setting GetWirelessProfile search response", + err)) + return diags + } + } return diags } @@ -392,18 +393,19 @@ func resourceWirelessProfileUpdate(ctx context.Context, d *schema.ResourceData, var diags diag.Diagnostics - //resourceID := d.Id() - //resourceMap := separateResourceID(resourceID) - vvName := "" - if _, ok := d.GetOk("parameters.0"); ok { - if _, ok := d.GetOk("parameters.0.profile_details"); ok { - if _, ok := d.GetOk("parameters.0.profile_details.0"); ok { - if v, ok := d.GetOk("parameters.0.profile_details.0.name"); ok { - vvName = interfaceToString(v) - } - } - } - } + resourceID := d.Id() + resourceMap := separateResourceID(resourceID) + vvName := resourceMap["name"] + + // if _, ok := d.GetOk("parameters.0"); ok { + // if _, ok := d.GetOk("parameters.0.profile_details"); ok { + // if _, ok := d.GetOk("parameters.0.profile_details.0"); ok { + // if v, ok := d.GetOk("parameters.0.profile_details.0.name"); ok { + // vvName = interfaceToString(v) + // } + // } + // } + // } queryParams1 := dnacentersdkgo.GetWirelessProfileQueryParams{} queryParams1.ProfileName = vvName item, err := searchWirelessGetWirelessProfile(m, queryParams1) @@ -494,13 +496,13 @@ func resourceWirelessProfileDelete(ctx context.Context, d *schema.ResourceData, } queryParams1 := dnacentersdkgo.GetWirelessProfileQueryParams{} queryParams1.ProfileName = vvName - item, err := searchWirelessGetWirelessProfile(m, queryParams1) - var vvWirelessProfileName string - if err != nil || item == nil { - return diags - } + // item, err := searchWirelessGetWirelessProfile(m, queryParams1) + // var vvWirelessProfileName string + // if err != nil || item == nil { + // return diags + // } - vvWirelessProfileName = queryParams1.ProfileName + vvWirelessProfileName := queryParams1.ProfileName response1, restyResp1, err := client.Wireless.DeleteWirelessProfile(vvWirelessProfileName) if err != nil || response1 == nil { @@ -650,7 +652,7 @@ func expandRequestWirelessProfileCreateWirelessProfileProfileDetailsSSIDDetailsF func expandRequestWirelessProfileUpdateWirelessProfile(ctx context.Context, key string, d *schema.ResourceData) *dnacentersdkgo.RequestWirelessUpdateWirelessProfile { request := dnacentersdkgo.RequestWirelessUpdateWirelessProfile{} - request.ProfileDetails = expandRequestWirelessProfileUpdateWirelessProfileProfileDetails(ctx, key, d) + request.ProfileDetails = expandRequestWirelessProfileUpdateWirelessProfileProfileDetails(ctx, key+".profile_details.0", d) if isEmptyValue(reflect.ValueOf(request)) { return nil } diff --git a/docs/resources/wireless_enterprise_ssid.md b/docs/resources/wireless_enterprise_ssid.md index 09605aba..352ad057 100644 --- a/docs/resources/wireless_enterprise_ssid.md +++ b/docs/resources/wireless_enterprise_ssid.md @@ -45,6 +45,7 @@ resource "dnacenter_wireless_enterprise_ssid" "example" { session_time_out = 1 ssid_name = "string" traffic_type = "string" + protected_management_frame = "string" } } @@ -69,10 +70,6 @@ output "dnacenter_wireless_enterprise_ssid_example" { ### Nested Schema for `parameters` -Required: - -- `ssid_name` (String) ssidName path parameter. Enter the SSID name to be deleted - Optional: - `basic_service_set_client_idle_timeout` (Number) Basic Service Set Client Idle Timeout @@ -90,9 +87,11 @@ Optional: - `name` (String) SSID NAME - `nas_options` (List of String) Nas Options - `passphrase` (String) Passphrase +- `protected_management_frame` (String) Protected Management Frame - `radio_policy` (String) Radio Policy Enum (enum: Triple band operation (2.4GHz, 5GHz and 6GHz), Triple band operation with band select, 5GHz only, 2.4GHz only, 6GHz only) - `security_level` (String) Security Level - `session_time_out` (Number) Session Time Out +- `ssid_name` (String) ssidName path parameter. Enter the SSID name to be deleted - `traffic_type` (String) Traffic Type Enum (voicedata or data ) diff --git a/examples/resources/dnacenter_wireless_enterprise_ssid/resource.tf b/examples/resources/dnacenter_wireless_enterprise_ssid/resource.tf index ee3ecb4f..2bcf118c 100644 --- a/examples/resources/dnacenter_wireless_enterprise_ssid/resource.tf +++ b/examples/resources/dnacenter_wireless_enterprise_ssid/resource.tf @@ -24,6 +24,7 @@ resource "dnacenter_wireless_enterprise_ssid" "example" { session_time_out = 1 ssid_name = "string" traffic_type = "string" + protected_management_frame = "string" } } diff --git a/examples/samples/data-sources/dnacenter_app_policy/main.tf b/examples/samples/data-sources/dnacenter_app_policy/main.tf index dc5edd9f..5d27f7f9 100644 --- a/examples/samples/data-sources/dnacenter_app_policy/main.tf +++ b/examples/samples/data-sources/dnacenter_app_policy/main.tf @@ -1,7 +1,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source, change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/data-sources/dnacenter_app_policy_default/data-source.tf b/examples/samples/data-sources/dnacenter_app_policy_default/data-source.tf index d86072f6..2aefcd70 100644 --- a/examples/samples/data-sources/dnacenter_app_policy_default/data-source.tf +++ b/examples/samples/data-sources/dnacenter_app_policy_default/data-source.tf @@ -1,7 +1,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source, change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/data-sources/dnacenter_app_policy_queuing_profile/data-source.tf b/examples/samples/data-sources/dnacenter_app_policy_queuing_profile/data-source.tf index 314f22e3..3d3ecaeb 100644 --- a/examples/samples/data-sources/dnacenter_app_policy_queuing_profile/data-source.tf +++ b/examples/samples/data-sources/dnacenter_app_policy_queuing_profile/data-source.tf @@ -1,7 +1,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source, change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/data-sources/dnacenter_app_policy_queuing_profile_count/data-source.tf b/examples/samples/data-sources/dnacenter_app_policy_queuing_profile_count/data-source.tf index ffcb76ff..1671d4c2 100644 --- a/examples/samples/data-sources/dnacenter_app_policy_queuing_profile_count/data-source.tf +++ b/examples/samples/data-sources/dnacenter_app_policy_queuing_profile_count/data-source.tf @@ -1,7 +1,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source, change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/data-sources/dnacenter_application_sets/data-source.tf b/examples/samples/data-sources/dnacenter_application_sets/data-source.tf index d4e0b093..a4683f91 100644 --- a/examples/samples/data-sources/dnacenter_application_sets/data-source.tf +++ b/examples/samples/data-sources/dnacenter_application_sets/data-source.tf @@ -1,7 +1,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source, change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/data-sources/dnacenter_applications/data-source.tf b/examples/samples/data-sources/dnacenter_applications/data-source.tf index b9901c33..65faa2c5 100644 --- a/examples/samples/data-sources/dnacenter_applications/data-source.tf +++ b/examples/samples/data-sources/dnacenter_applications/data-source.tf @@ -1,7 +1,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source, change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/data-sources/dnacenter_applications_count/data-source.tf b/examples/samples/data-sources/dnacenter_applications_count/data-source.tf index 1c0f9792..00d27e1d 100644 --- a/examples/samples/data-sources/dnacenter_applications_count/data-source.tf +++ b/examples/samples/data-sources/dnacenter_applications_count/data-source.tf @@ -1,7 +1,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source, change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/data-sources/dnacenter_building/data-source.tf b/examples/samples/data-sources/dnacenter_building/data-source.tf index 125d0819..66ecbc34 100644 --- a/examples/samples/data-sources/dnacenter_building/data-source.tf +++ b/examples/samples/data-sources/dnacenter_building/data-source.tf @@ -1,7 +1,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source, change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/data-sources/dnacenter_buildings_planned_access_points/data-source.tf b/examples/samples/data-sources/dnacenter_buildings_planned_access_points/data-source.tf index 30bf581c..2f21fdf7 100644 --- a/examples/samples/data-sources/dnacenter_buildings_planned_access_points/data-source.tf +++ b/examples/samples/data-sources/dnacenter_buildings_planned_access_points/data-source.tf @@ -1,7 +1,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source, change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/data-sources/dnacenter_business_sda_hostonboarding_ssid_ippool/data-source.tf b/examples/samples/data-sources/dnacenter_business_sda_hostonboarding_ssid_ippool/data-source.tf index f188e019..ed746057 100644 --- a/examples/samples/data-sources/dnacenter_business_sda_hostonboarding_ssid_ippool/data-source.tf +++ b/examples/samples/data-sources/dnacenter_business_sda_hostonboarding_ssid_ippool/data-source.tf @@ -1,7 +1,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source, change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/data-sources/dnacenter_client_detail/data-source.tf b/examples/samples/data-sources/dnacenter_client_detail/data-source.tf index 7dc0b3b8..53560863 100644 --- a/examples/samples/data-sources/dnacenter_client_detail/data-source.tf +++ b/examples/samples/data-sources/dnacenter_client_detail/data-source.tf @@ -1,7 +1,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source, change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/data-sources/dnacenter_client_enrichment_details/data-source.tf b/examples/samples/data-sources/dnacenter_client_enrichment_details/data-source.tf index 17cb3200..ce17beb4 100644 --- a/examples/samples/data-sources/dnacenter_client_enrichment_details/data-source.tf +++ b/examples/samples/data-sources/dnacenter_client_enrichment_details/data-source.tf @@ -1,7 +1,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source, change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/data-sources/dnacenter_compliance_device_status_count/data-source.tf b/examples/samples/data-sources/dnacenter_compliance_device_status_count/data-source.tf index 0dd069a2..01b91599 100644 --- a/examples/samples/data-sources/dnacenter_compliance_device_status_count/data-source.tf +++ b/examples/samples/data-sources/dnacenter_compliance_device_status_count/data-source.tf @@ -1,7 +1,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source, change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/data-sources/dnacenter_configuration_template/data-source.tf b/examples/samples/data-sources/dnacenter_configuration_template/data-source.tf index 10dd7af8..51488dc6 100644 --- a/examples/samples/data-sources/dnacenter_configuration_template/data-source.tf +++ b/examples/samples/data-sources/dnacenter_configuration_template/data-source.tf @@ -1,7 +1,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source, change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/data-sources/dnacenter_configuration_template_project/data-source.tf b/examples/samples/data-sources/dnacenter_configuration_template_project/data-source.tf index 988280b2..148f9287 100644 --- a/examples/samples/data-sources/dnacenter_configuration_template_project/data-source.tf +++ b/examples/samples/data-sources/dnacenter_configuration_template_project/data-source.tf @@ -1,7 +1,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source, change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/data-sources/dnacenter_device_replacement/data-source.tf b/examples/samples/data-sources/dnacenter_device_replacement/data-source.tf index 6bdeb110..9f2fd2f5 100644 --- a/examples/samples/data-sources/dnacenter_device_replacement/data-source.tf +++ b/examples/samples/data-sources/dnacenter_device_replacement/data-source.tf @@ -1,7 +1,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source, change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/data-sources/dnacenter_device_replacement_count/data-source.tf b/examples/samples/data-sources/dnacenter_device_replacement_count/data-source.tf index ac704225..56634bb7 100644 --- a/examples/samples/data-sources/dnacenter_device_replacement_count/data-source.tf +++ b/examples/samples/data-sources/dnacenter_device_replacement_count/data-source.tf @@ -1,7 +1,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source, change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/data-sources/dnacenter_discovery/data-source.tf b/examples/samples/data-sources/dnacenter_discovery/data-source.tf index f81dc0dc..00dff2d8 100644 --- a/examples/samples/data-sources/dnacenter_discovery/data-source.tf +++ b/examples/samples/data-sources/dnacenter_discovery/data-source.tf @@ -1,7 +1,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source, change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/data-sources/dnacenter_discovery_device_count/data-source.tf b/examples/samples/data-sources/dnacenter_discovery_device_count/data-source.tf index 63e6e987..7d131811 100644 --- a/examples/samples/data-sources/dnacenter_discovery_device_count/data-source.tf +++ b/examples/samples/data-sources/dnacenter_discovery_device_count/data-source.tf @@ -1,7 +1,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source, change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/data-sources/dnacenter_endpoint_analytics_profiling_rules/data-source.tf b/examples/samples/data-sources/dnacenter_endpoint_analytics_profiling_rules/data-source.tf index 7c023adc..9cda1564 100644 --- a/examples/samples/data-sources/dnacenter_endpoint_analytics_profiling_rules/data-source.tf +++ b/examples/samples/data-sources/dnacenter_endpoint_analytics_profiling_rules/data-source.tf @@ -1,7 +1,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source, change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/data-sources/dnacenter_event_config_connector_types/data-source.tf b/examples/samples/data-sources/dnacenter_event_config_connector_types/data-source.tf index 72484892..d5560f01 100644 --- a/examples/samples/data-sources/dnacenter_event_config_connector_types/data-source.tf +++ b/examples/samples/data-sources/dnacenter_event_config_connector_types/data-source.tf @@ -1,7 +1,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source, change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/data-sources/dnacenter_event_count/data-source.tf b/examples/samples/data-sources/dnacenter_event_count/data-source.tf index 5a6469c0..b4ab977a 100644 --- a/examples/samples/data-sources/dnacenter_event_count/data-source.tf +++ b/examples/samples/data-sources/dnacenter_event_count/data-source.tf @@ -1,7 +1,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source, change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/data-sources/dnacenter_event_series_audit_logs_parent_records/data-source.tf b/examples/samples/data-sources/dnacenter_event_series_audit_logs_parent_records/data-source.tf index 7c817275..820c5062 100644 --- a/examples/samples/data-sources/dnacenter_event_series_audit_logs_parent_records/data-source.tf +++ b/examples/samples/data-sources/dnacenter_event_series_audit_logs_parent_records/data-source.tf @@ -1,7 +1,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source, change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/data-sources/dnacenter_event_subscription/data-source.tf b/examples/samples/data-sources/dnacenter_event_subscription/data-source.tf index 8a4f3e3a..c51bbec6 100644 --- a/examples/samples/data-sources/dnacenter_event_subscription/data-source.tf +++ b/examples/samples/data-sources/dnacenter_event_subscription/data-source.tf @@ -1,7 +1,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source, change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/data-sources/dnacenter_event_subscription_count/data-source.tf b/examples/samples/data-sources/dnacenter_event_subscription_count/data-source.tf index 4f1a7bb3..511b993b 100644 --- a/examples/samples/data-sources/dnacenter_event_subscription_count/data-source.tf +++ b/examples/samples/data-sources/dnacenter_event_subscription_count/data-source.tf @@ -1,7 +1,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source, change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/data-sources/dnacenter_event_subscription_email/data-source.tf b/examples/samples/data-sources/dnacenter_event_subscription_email/data-source.tf index a2e0fecd..b4633c58 100644 --- a/examples/samples/data-sources/dnacenter_event_subscription_email/data-source.tf +++ b/examples/samples/data-sources/dnacenter_event_subscription_email/data-source.tf @@ -1,7 +1,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source, change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/data-sources/dnacenter_event_subscription_rest/data-source.tf b/examples/samples/data-sources/dnacenter_event_subscription_rest/data-source.tf index 95dc428a..9b8bb36c 100644 --- a/examples/samples/data-sources/dnacenter_event_subscription_rest/data-source.tf +++ b/examples/samples/data-sources/dnacenter_event_subscription_rest/data-source.tf @@ -1,7 +1,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source, change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/data-sources/dnacenter_event_subscription_syslog/data-source.tf b/examples/samples/data-sources/dnacenter_event_subscription_syslog/data-source.tf index e7979dc5..3e8cc7f1 100644 --- a/examples/samples/data-sources/dnacenter_event_subscription_syslog/data-source.tf +++ b/examples/samples/data-sources/dnacenter_event_subscription_syslog/data-source.tf @@ -1,7 +1,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source, change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/data-sources/dnacenter_file/data-source.tf b/examples/samples/data-sources/dnacenter_file/data-source.tf index 450fb23b..835f8d40 100644 --- a/examples/samples/data-sources/dnacenter_file/data-source.tf +++ b/examples/samples/data-sources/dnacenter_file/data-source.tf @@ -1,7 +1,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source, change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/data-sources/dnacenter_floor/data-source.tf b/examples/samples/data-sources/dnacenter_floor/data-source.tf index 362b112c..bab8bdcd 100644 --- a/examples/samples/data-sources/dnacenter_floor/data-source.tf +++ b/examples/samples/data-sources/dnacenter_floor/data-source.tf @@ -1,7 +1,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source, change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/data-sources/dnacenter_global_pool/data-source.tf b/examples/samples/data-sources/dnacenter_global_pool/data-source.tf index b60561bd..0bd3b5d2 100644 --- a/examples/samples/data-sources/dnacenter_global_pool/data-source.tf +++ b/examples/samples/data-sources/dnacenter_global_pool/data-source.tf @@ -1,7 +1,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source, change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/data-sources/dnacenter_http_read_credential/data-source.tf b/examples/samples/data-sources/dnacenter_http_read_credential/data-source.tf index 400349ce..38c75572 100644 --- a/examples/samples/data-sources/dnacenter_http_read_credential/data-source.tf +++ b/examples/samples/data-sources/dnacenter_http_read_credential/data-source.tf @@ -1,7 +1,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source, change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/data-sources/dnacenter_interface/data-source.tf b/examples/samples/data-sources/dnacenter_interface/data-source.tf index 82efdfa5..de7c81c2 100644 --- a/examples/samples/data-sources/dnacenter_interface/data-source.tf +++ b/examples/samples/data-sources/dnacenter_interface/data-source.tf @@ -1,7 +1,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source, change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/data-sources/dnacenter_lan_automation_count/data-source.tf b/examples/samples/data-sources/dnacenter_lan_automation_count/data-source.tf index 6ece8ad0..3ba32250 100644 --- a/examples/samples/data-sources/dnacenter_lan_automation_count/data-source.tf +++ b/examples/samples/data-sources/dnacenter_lan_automation_count/data-source.tf @@ -1,7 +1,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source, change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/data-sources/dnacenter_lan_automation_log/data-source.tf b/examples/samples/data-sources/dnacenter_lan_automation_log/data-source.tf index 924cf895..a527ea98 100644 --- a/examples/samples/data-sources/dnacenter_lan_automation_log/data-source.tf +++ b/examples/samples/data-sources/dnacenter_lan_automation_log/data-source.tf @@ -2,7 +2,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source, change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/data-sources/dnacenter_lan_automation_status/data-source.tf b/examples/samples/data-sources/dnacenter_lan_automation_status/data-source.tf index b872cd99..5ea81b6e 100644 --- a/examples/samples/data-sources/dnacenter_lan_automation_status/data-source.tf +++ b/examples/samples/data-sources/dnacenter_lan_automation_status/data-source.tf @@ -1,7 +1,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source, change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/data-sources/dnacenter_network_device/data-source.tf b/examples/samples/data-sources/dnacenter_network_device/data-source.tf index 7ca9eb4f..442d4550 100644 --- a/examples/samples/data-sources/dnacenter_network_device/data-source.tf +++ b/examples/samples/data-sources/dnacenter_network_device/data-source.tf @@ -1,7 +1,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source, change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/data-sources/dnacenter_network_device_by_serial_number/data-source.tf b/examples/samples/data-sources/dnacenter_network_device_by_serial_number/data-source.tf index 6f3404a1..33aef8b1 100644 --- a/examples/samples/data-sources/dnacenter_network_device_by_serial_number/data-source.tf +++ b/examples/samples/data-sources/dnacenter_network_device_by_serial_number/data-source.tf @@ -2,7 +2,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source, change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/data-sources/dnacenter_network_device_config_count/data-source.tf b/examples/samples/data-sources/dnacenter_network_device_config_count/data-source.tf index 64abdea6..ec69ccda 100644 --- a/examples/samples/data-sources/dnacenter_network_device_config_count/data-source.tf +++ b/examples/samples/data-sources/dnacenter_network_device_config_count/data-source.tf @@ -1,7 +1,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source, change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/data-sources/dnacenter_network_device_count/data-source.tf b/examples/samples/data-sources/dnacenter_network_device_count/data-source.tf index 5b87ecc5..0de6f769 100644 --- a/examples/samples/data-sources/dnacenter_network_device_count/data-source.tf +++ b/examples/samples/data-sources/dnacenter_network_device_count/data-source.tf @@ -1,7 +1,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source, change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/data-sources/dnacenter_network_device_custom_prompt/data-source.tf b/examples/samples/data-sources/dnacenter_network_device_custom_prompt/data-source.tf index 7abff3e3..18ae8225 100644 --- a/examples/samples/data-sources/dnacenter_network_device_custom_prompt/data-source.tf +++ b/examples/samples/data-sources/dnacenter_network_device_custom_prompt/data-source.tf @@ -1,7 +1,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source, change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/data-sources/dnacenter_network_device_interface_neighbor/data-source.tf b/examples/samples/data-sources/dnacenter_network_device_interface_neighbor/data-source.tf index 330788f6..4392b0eb 100644 --- a/examples/samples/data-sources/dnacenter_network_device_interface_neighbor/data-source.tf +++ b/examples/samples/data-sources/dnacenter_network_device_interface_neighbor/data-source.tf @@ -1,7 +1,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source, change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/data-sources/dnacenter_network_device_list/data-source.tf b/examples/samples/data-sources/dnacenter_network_device_list/data-source.tf index b429bc6d..512a609b 100644 --- a/examples/samples/data-sources/dnacenter_network_device_list/data-source.tf +++ b/examples/samples/data-sources/dnacenter_network_device_list/data-source.tf @@ -1,7 +1,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "cisco-en-programmability/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source, change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/data-sources/dnacenter_network_device_module_count/data-source.tf b/examples/samples/data-sources/dnacenter_network_device_module_count/data-source.tf index 67720066..f7c93889 100644 --- a/examples/samples/data-sources/dnacenter_network_device_module_count/data-source.tf +++ b/examples/samples/data-sources/dnacenter_network_device_module_count/data-source.tf @@ -1,7 +1,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source, change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/data-sources/dnacenter_network_device_sync/data-source.tf b/examples/samples/data-sources/dnacenter_network_device_sync/data-source.tf index b5aa97cc..b801fc65 100644 --- a/examples/samples/data-sources/dnacenter_network_device_sync/data-source.tf +++ b/examples/samples/data-sources/dnacenter_network_device_sync/data-source.tf @@ -1,7 +1,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source, change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/data-sources/dnacenter_nfv_profile/data-source.tf b/examples/samples/data-sources/dnacenter_nfv_profile/data-source.tf index 7c11cc3e..d5a6575c 100644 --- a/examples/samples/data-sources/dnacenter_nfv_profile/data-source.tf +++ b/examples/samples/data-sources/dnacenter_nfv_profile/data-source.tf @@ -1,7 +1,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source, change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/data-sources/dnacenter_path_trace/data-source.tf b/examples/samples/data-sources/dnacenter_path_trace/data-source.tf index 472cea80..43dd22bd 100644 --- a/examples/samples/data-sources/dnacenter_path_trace/data-source.tf +++ b/examples/samples/data-sources/dnacenter_path_trace/data-source.tf @@ -1,7 +1,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source, change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/data-sources/dnacenter_pnp_device/data-source.tf b/examples/samples/data-sources/dnacenter_pnp_device/data-source.tf index c5cc07d2..e7f17397 100644 --- a/examples/samples/data-sources/dnacenter_pnp_device/data-source.tf +++ b/examples/samples/data-sources/dnacenter_pnp_device/data-source.tf @@ -1,7 +1,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source, change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/data-sources/dnacenter_pnp_global_settings/data-source.tf b/examples/samples/data-sources/dnacenter_pnp_global_settings/data-source.tf index 14233bde..a21d8f64 100644 --- a/examples/samples/data-sources/dnacenter_pnp_global_settings/data-source.tf +++ b/examples/samples/data-sources/dnacenter_pnp_global_settings/data-source.tf @@ -1,7 +1,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source, change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/data-sources/dnacenter_pnp_workflow/data-source.tf b/examples/samples/data-sources/dnacenter_pnp_workflow/data-source.tf index 9652df79..adcb2aa0 100644 --- a/examples/samples/data-sources/dnacenter_pnp_workflow/data-source.tf +++ b/examples/samples/data-sources/dnacenter_pnp_workflow/data-source.tf @@ -1,7 +1,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source, change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/data-sources/dnacenter_pnp_workflow_count/data-source.tf b/examples/samples/data-sources/dnacenter_pnp_workflow_count/data-source.tf index 604cde13..35061c10 100644 --- a/examples/samples/data-sources/dnacenter_pnp_workflow_count/data-source.tf +++ b/examples/samples/data-sources/dnacenter_pnp_workflow_count/data-source.tf @@ -1,7 +1,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source, change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/data-sources/dnacenter_qos_device_interface/data-source.tf b/examples/samples/data-sources/dnacenter_qos_device_interface/data-source.tf index 57410bf1..7ba502e5 100644 --- a/examples/samples/data-sources/dnacenter_qos_device_interface/data-source.tf +++ b/examples/samples/data-sources/dnacenter_qos_device_interface/data-source.tf @@ -1,7 +1,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source, change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/data-sources/dnacenter_qos_device_interface_info_count/data-source.tf b/examples/samples/data-sources/dnacenter_qos_device_interface_info_count/data-source.tf index 3e15b720..f1367efd 100644 --- a/examples/samples/data-sources/dnacenter_qos_device_interface_info_count/data-source.tf +++ b/examples/samples/data-sources/dnacenter_qos_device_interface_info_count/data-source.tf @@ -1,7 +1,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source, change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/data-sources/dnacenter_reports/data-source.tf b/examples/samples/data-sources/dnacenter_reports/data-source.tf index 2be2ab92..20317d13 100644 --- a/examples/samples/data-sources/dnacenter_reports/data-source.tf +++ b/examples/samples/data-sources/dnacenter_reports/data-source.tf @@ -1,7 +1,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source, change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/data-sources/dnacenter_reserve_ip_subpool/data-source.tf b/examples/samples/data-sources/dnacenter_reserve_ip_subpool/data-source.tf index c0d3f3fc..0f71aa12 100644 --- a/examples/samples/data-sources/dnacenter_reserve_ip_subpool/data-source.tf +++ b/examples/samples/data-sources/dnacenter_reserve_ip_subpool/data-source.tf @@ -1,7 +1,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source, change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/data-sources/dnacenter_sda_fabric_authentication_profile/data-source.tf b/examples/samples/data-sources/dnacenter_sda_fabric_authentication_profile/data-source.tf index 45ad1ada..4b01cd4d 100644 --- a/examples/samples/data-sources/dnacenter_sda_fabric_authentication_profile/data-source.tf +++ b/examples/samples/data-sources/dnacenter_sda_fabric_authentication_profile/data-source.tf @@ -1,7 +1,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source, change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/data-sources/dnacenter_sda_fabric_border_device/data-source.tf b/examples/samples/data-sources/dnacenter_sda_fabric_border_device/data-source.tf index 722b6f10..bebc5dec 100644 --- a/examples/samples/data-sources/dnacenter_sda_fabric_border_device/data-source.tf +++ b/examples/samples/data-sources/dnacenter_sda_fabric_border_device/data-source.tf @@ -1,7 +1,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source, change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/data-sources/dnacenter_sda_fabric_control_plane_device/data-source.tf b/examples/samples/data-sources/dnacenter_sda_fabric_control_plane_device/data-source.tf index 4a5e11d3..b9a30790 100644 --- a/examples/samples/data-sources/dnacenter_sda_fabric_control_plane_device/data-source.tf +++ b/examples/samples/data-sources/dnacenter_sda_fabric_control_plane_device/data-source.tf @@ -1,7 +1,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source, change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/data-sources/dnacenter_sda_fabric_edge_device/data-source.tf b/examples/samples/data-sources/dnacenter_sda_fabric_edge_device/data-source.tf index 620bf774..04271de3 100644 --- a/examples/samples/data-sources/dnacenter_sda_fabric_edge_device/data-source.tf +++ b/examples/samples/data-sources/dnacenter_sda_fabric_edge_device/data-source.tf @@ -1,7 +1,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source, change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/data-sources/dnacenter_sda_fabric_site/data-source.tf b/examples/samples/data-sources/dnacenter_sda_fabric_site/data-source.tf index 5833f447..353455f5 100644 --- a/examples/samples/data-sources/dnacenter_sda_fabric_site/data-source.tf +++ b/examples/samples/data-sources/dnacenter_sda_fabric_site/data-source.tf @@ -1,7 +1,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source, change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/data-sources/dnacenter_sda_port_assignment_for_access_point/data-source.tf b/examples/samples/data-sources/dnacenter_sda_port_assignment_for_access_point/data-source.tf index e9c3d07f..aa50be86 100644 --- a/examples/samples/data-sources/dnacenter_sda_port_assignment_for_access_point/data-source.tf +++ b/examples/samples/data-sources/dnacenter_sda_port_assignment_for_access_point/data-source.tf @@ -1,7 +1,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source, change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/data-sources/dnacenter_sda_port_assignment_for_user_device/data-source.tf b/examples/samples/data-sources/dnacenter_sda_port_assignment_for_user_device/data-source.tf index 180575d6..0eb96951 100644 --- a/examples/samples/data-sources/dnacenter_sda_port_assignment_for_user_device/data-source.tf +++ b/examples/samples/data-sources/dnacenter_sda_port_assignment_for_user_device/data-source.tf @@ -1,7 +1,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source, change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/data-sources/dnacenter_sda_provision_device/data-source.tf b/examples/samples/data-sources/dnacenter_sda_provision_device/data-source.tf index 6d69fe76..4383751a 100644 --- a/examples/samples/data-sources/dnacenter_sda_provision_device/data-source.tf +++ b/examples/samples/data-sources/dnacenter_sda_provision_device/data-source.tf @@ -1,7 +1,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source, change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/data-sources/dnacenter_sda_virtual_network/data-source.tf b/examples/samples/data-sources/dnacenter_sda_virtual_network/data-source.tf index be0d7e33..759f1b44 100644 --- a/examples/samples/data-sources/dnacenter_sda_virtual_network/data-source.tf +++ b/examples/samples/data-sources/dnacenter_sda_virtual_network/data-source.tf @@ -1,7 +1,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source, change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/data-sources/dnacenter_sda_virtual_network_ip_pool/data-source.tf b/examples/samples/data-sources/dnacenter_sda_virtual_network_ip_pool/data-source.tf index 7e9f04ed..9e96b28b 100644 --- a/examples/samples/data-sources/dnacenter_sda_virtual_network_ip_pool/data-source.tf +++ b/examples/samples/data-sources/dnacenter_sda_virtual_network_ip_pool/data-source.tf @@ -1,7 +1,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source, change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/data-sources/dnacenter_sda_virtual_network_v2/data-source.tf b/examples/samples/data-sources/dnacenter_sda_virtual_network_v2/data-source.tf index 639a309b..2b9058b0 100644 --- a/examples/samples/data-sources/dnacenter_sda_virtual_network_v2/data-source.tf +++ b/examples/samples/data-sources/dnacenter_sda_virtual_network_v2/data-source.tf @@ -1,7 +1,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source, change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/data-sources/dnacenter_sensor/data-source.tf b/examples/samples/data-sources/dnacenter_sensor/data-source.tf index b46edbe7..b059fb60 100644 --- a/examples/samples/data-sources/dnacenter_sensor/data-source.tf +++ b/examples/samples/data-sources/dnacenter_sensor/data-source.tf @@ -1,7 +1,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source, change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/data-sources/dnacenter_sensor_test_run/data-source.tf b/examples/samples/data-sources/dnacenter_sensor_test_run/data-source.tf index 0699fb36..cbb50118 100644 --- a/examples/samples/data-sources/dnacenter_sensor_test_run/data-source.tf +++ b/examples/samples/data-sources/dnacenter_sensor_test_run/data-source.tf @@ -1,7 +1,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source, change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/data-sources/dnacenter_site/data-source.tf b/examples/samples/data-sources/dnacenter_site/data-source.tf index d239b326..5830001d 100644 --- a/examples/samples/data-sources/dnacenter_site/data-source.tf +++ b/examples/samples/data-sources/dnacenter_site/data-source.tf @@ -1,7 +1,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source, change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/data-sources/dnacenter_site_count/data-source.tf b/examples/samples/data-sources/dnacenter_site_count/data-source.tf index 0fffbc44..d08081d0 100644 --- a/examples/samples/data-sources/dnacenter_site_count/data-source.tf +++ b/examples/samples/data-sources/dnacenter_site_count/data-source.tf @@ -1,7 +1,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source, change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/data-sources/dnacenter_site_design_floormap/data-source.tf b/examples/samples/data-sources/dnacenter_site_design_floormap/data-source.tf index 68494fd1..48e59882 100644 --- a/examples/samples/data-sources/dnacenter_site_design_floormap/data-source.tf +++ b/examples/samples/data-sources/dnacenter_site_design_floormap/data-source.tf @@ -1,7 +1,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source, change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/data-sources/dnacenter_site_update/data-source.tf b/examples/samples/data-sources/dnacenter_site_update/data-source.tf index f916b271..fe5770e1 100644 --- a/examples/samples/data-sources/dnacenter_site_update/data-source.tf +++ b/examples/samples/data-sources/dnacenter_site_update/data-source.tf @@ -1,7 +1,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source, change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/data-sources/dnacenter_snmp_properties/data-source.tf b/examples/samples/data-sources/dnacenter_snmp_properties/data-source.tf index b47b76d9..e951a5a9 100644 --- a/examples/samples/data-sources/dnacenter_snmp_properties/data-source.tf +++ b/examples/samples/data-sources/dnacenter_snmp_properties/data-source.tf @@ -1,7 +1,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source, change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/data-sources/dnacenter_swim_trigger_distribution/data-source.tf b/examples/samples/data-sources/dnacenter_swim_trigger_distribution/data-source.tf index b5c8df85..5dae2446 100644 --- a/examples/samples/data-sources/dnacenter_swim_trigger_distribution/data-source.tf +++ b/examples/samples/data-sources/dnacenter_swim_trigger_distribution/data-source.tf @@ -1,7 +1,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source, change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/data-sources/dnacenter_system_health_count/data-source.tf b/examples/samples/data-sources/dnacenter_system_health_count/data-source.tf index a6bd2c4d..53b25c9e 100644 --- a/examples/samples/data-sources/dnacenter_system_health_count/data-source.tf +++ b/examples/samples/data-sources/dnacenter_system_health_count/data-source.tf @@ -1,7 +1,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source, change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/data-sources/dnacenter_tag/data-source.tf b/examples/samples/data-sources/dnacenter_tag/data-source.tf index 1e22e273..884eface 100644 --- a/examples/samples/data-sources/dnacenter_tag/data-source.tf +++ b/examples/samples/data-sources/dnacenter_tag/data-source.tf @@ -1,7 +1,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source, change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/data-sources/dnacenter_tag_count/data-source.tf b/examples/samples/data-sources/dnacenter_tag_count/data-source.tf index e2946e81..86775a91 100644 --- a/examples/samples/data-sources/dnacenter_tag_count/data-source.tf +++ b/examples/samples/data-sources/dnacenter_tag_count/data-source.tf @@ -1,7 +1,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source, change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/data-sources/dnacenter_tag_member/data-source.tf b/examples/samples/data-sources/dnacenter_tag_member/data-source.tf index 75181aad..fa314353 100644 --- a/examples/samples/data-sources/dnacenter_tag_member/data-source.tf +++ b/examples/samples/data-sources/dnacenter_tag_member/data-source.tf @@ -1,7 +1,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source, change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/data-sources/dnacenter_task_count/data-source.tf b/examples/samples/data-sources/dnacenter_task_count/data-source.tf index 9e4545fb..84a5a660 100644 --- a/examples/samples/data-sources/dnacenter_task_count/data-source.tf +++ b/examples/samples/data-sources/dnacenter_task_count/data-source.tf @@ -1,7 +1,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source, change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/data-sources/dnacenter_wireless_dynamic_interface/data-source.tf b/examples/samples/data-sources/dnacenter_wireless_dynamic_interface/data-source.tf index 0a576416..4b1046c4 100644 --- a/examples/samples/data-sources/dnacenter_wireless_dynamic_interface/data-source.tf +++ b/examples/samples/data-sources/dnacenter_wireless_dynamic_interface/data-source.tf @@ -1,7 +1,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source, change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/data-sources/dnacenter_wireless_enterprise_ssid/data-source.tf b/examples/samples/data-sources/dnacenter_wireless_enterprise_ssid/data-source.tf index 322f9114..a263954f 100644 --- a/examples/samples/data-sources/dnacenter_wireless_enterprise_ssid/data-source.tf +++ b/examples/samples/data-sources/dnacenter_wireless_enterprise_ssid/data-source.tf @@ -1,7 +1,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source, change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/data-sources/dnacenter_wireless_profile/data-source.tf b/examples/samples/data-sources/dnacenter_wireless_profile/data-source.tf index befd287c..a79c17f9 100644 --- a/examples/samples/data-sources/dnacenter_wireless_profile/data-source.tf +++ b/examples/samples/data-sources/dnacenter_wireless_profile/data-source.tf @@ -1,7 +1,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source, change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/data-sources/dnacenter_wireless_psk_override/data-source.tf b/examples/samples/data-sources/dnacenter_wireless_psk_override/data-source.tf index 6cf1b0bb..cd6d80b9 100644 --- a/examples/samples/data-sources/dnacenter_wireless_psk_override/data-source.tf +++ b/examples/samples/data-sources/dnacenter_wireless_psk_override/data-source.tf @@ -1,7 +1,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source, change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/data-sources/dnacenter_wireless_rf_profile/data-source.tf b/examples/samples/data-sources/dnacenter_wireless_rf_profile/data-source.tf index dce5a5db..584ec198 100644 --- a/examples/samples/data-sources/dnacenter_wireless_rf_profile/data-source.tf +++ b/examples/samples/data-sources/dnacenter_wireless_rf_profile/data-source.tf @@ -1,7 +1,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source, change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/resources/Terraform_Sites_Github/provider.tf b/examples/samples/resources/Terraform_Sites_Github/provider.tf index d902bc2e..bb0447d6 100644 --- a/examples/samples/resources/Terraform_Sites_Github/provider.tf +++ b/examples/samples/resources/Terraform_Sites_Github/provider.tf @@ -2,7 +2,7 @@ terraform { required_providers { dnacenter = { source = "hashicorp.com/edu/dnacenter" - version = "1.1.23-beta" + version = "1.1.24-beta" } } } diff --git a/examples/samples/resources/dnacenter_app_policy_intent_create/resource.tf b/examples/samples/resources/dnacenter_app_policy_intent_create/resource.tf index 415a1d77..22c246b6 100644 --- a/examples/samples/resources/dnacenter_app_policy_intent_create/resource.tf +++ b/examples/samples/resources/dnacenter_app_policy_intent_create/resource.tf @@ -1,7 +1,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # hashicorp.com/edu/dnacenter is the local built source change to cisco-en-programmability/dnacenter to use downloaded version from registry } diff --git a/examples/samples/resources/dnacenter_app_policy_queuing_profile/main.tf b/examples/samples/resources/dnacenter_app_policy_queuing_profile/main.tf index 5d1bda18..05a63f63 100644 --- a/examples/samples/resources/dnacenter_app_policy_queuing_profile/main.tf +++ b/examples/samples/resources/dnacenter_app_policy_queuing_profile/main.tf @@ -2,7 +2,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source, change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/resources/dnacenter_application_sets/main.tf b/examples/samples/resources/dnacenter_application_sets/main.tf index ca1281e2..48c497b8 100644 --- a/examples/samples/resources/dnacenter_application_sets/main.tf +++ b/examples/samples/resources/dnacenter_application_sets/main.tf @@ -2,7 +2,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source, change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/resources/dnacenter_applications/main.tf b/examples/samples/resources/dnacenter_applications/main.tf index 02879cb0..d0278655 100644 --- a/examples/samples/resources/dnacenter_applications/main.tf +++ b/examples/samples/resources/dnacenter_applications/main.tf @@ -2,7 +2,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/resources/dnacenter_area/resource.tf b/examples/samples/resources/dnacenter_area/resource.tf index c2038d9c..6e1597dc 100644 --- a/examples/samples/resources/dnacenter_area/resource.tf +++ b/examples/samples/resources/dnacenter_area/resource.tf @@ -2,7 +2,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/resources/dnacenter_assign_device_to_site/resource.tf b/examples/samples/resources/dnacenter_assign_device_to_site/resource.tf index 654bd79d..56e1f360 100644 --- a/examples/samples/resources/dnacenter_assign_device_to_site/resource.tf +++ b/examples/samples/resources/dnacenter_assign_device_to_site/resource.tf @@ -1,7 +1,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/resources/dnacenter_associate_site_to_network_profile/main.tf b/examples/samples/resources/dnacenter_associate_site_to_network_profile/main.tf index 1504949e..db12902f 100644 --- a/examples/samples/resources/dnacenter_associate_site_to_network_profile/main.tf +++ b/examples/samples/resources/dnacenter_associate_site_to_network_profile/main.tf @@ -2,7 +2,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/resources/dnacenter_building/resource.tf b/examples/samples/resources/dnacenter_building/resource.tf index 9d18605d..94fd23a7 100644 --- a/examples/samples/resources/dnacenter_building/resource.tf +++ b/examples/samples/resources/dnacenter_building/resource.tf @@ -2,7 +2,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } @@ -14,11 +14,12 @@ provider "dnacenter" { } resource "dnacenter_building" "example" { + count = 100 provider = dnacenter parameters { site { building { - name = "MyTestFinalq" + name = "Terraform-Test-${count.index}" address = "255 China Basin Street, San Francisco, California 94158, United States 1" parent_name = "Global" latitude = 37.77178651716143 @@ -30,6 +31,7 @@ resource "dnacenter_building" "example" { } } + output "dnacenter_building_example" { value = dnacenter_building.example } diff --git a/examples/samples/resources/dnacenter_business_sda_hostonboarding_ssid_ippool/main.tf b/examples/samples/resources/dnacenter_business_sda_hostonboarding_ssid_ippool/main.tf index caaee0ae..8a37c248 100644 --- a/examples/samples/resources/dnacenter_business_sda_hostonboarding_ssid_ippool/main.tf +++ b/examples/samples/resources/dnacenter_business_sda_hostonboarding_ssid_ippool/main.tf @@ -2,7 +2,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source, change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/resources/dnacenter_business_sda_wireless_controller/resource.tf b/examples/samples/resources/dnacenter_business_sda_wireless_controller/resource.tf index f42d3902..96f7cfd0 100644 --- a/examples/samples/resources/dnacenter_business_sda_wireless_controller/resource.tf +++ b/examples/samples/resources/dnacenter_business_sda_wireless_controller/resource.tf @@ -2,7 +2,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/resources/dnacenter_business_sda_wireless_controller_create/resource.tf b/examples/samples/resources/dnacenter_business_sda_wireless_controller_create/resource.tf index 162c8cbf..02ae953d 100644 --- a/examples/samples/resources/dnacenter_business_sda_wireless_controller_create/resource.tf +++ b/examples/samples/resources/dnacenter_business_sda_wireless_controller_create/resource.tf @@ -2,7 +2,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/resources/dnacenter_business_sda_wireless_controller_delete/resource.tf b/examples/samples/resources/dnacenter_business_sda_wireless_controller_delete/resource.tf index 42e789f3..7a44ebf6 100644 --- a/examples/samples/resources/dnacenter_business_sda_wireless_controller_delete/resource.tf +++ b/examples/samples/resources/dnacenter_business_sda_wireless_controller_delete/resource.tf @@ -1,7 +1,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/resources/dnacenter_command_runner_run_command/resource.tf b/examples/samples/resources/dnacenter_command_runner_run_command/resource.tf index 62419c80..22acf0e0 100644 --- a/examples/samples/resources/dnacenter_command_runner_run_command/resource.tf +++ b/examples/samples/resources/dnacenter_command_runner_run_command/resource.tf @@ -1,7 +1,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/resources/dnacenter_compliance/resource.tf b/examples/samples/resources/dnacenter_compliance/resource.tf index 6e5c13af..f190c134 100644 --- a/examples/samples/resources/dnacenter_compliance/resource.tf +++ b/examples/samples/resources/dnacenter_compliance/resource.tf @@ -2,7 +2,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/resources/dnacenter_configuration_template/resource.tf b/examples/samples/resources/dnacenter_configuration_template/resource.tf index 2c206905..4d54c15d 100644 --- a/examples/samples/resources/dnacenter_configuration_template/resource.tf +++ b/examples/samples/resources/dnacenter_configuration_template/resource.tf @@ -2,7 +2,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } @@ -26,14 +26,14 @@ provider "dnacenter" { resource "dnacenter_configuration_template" "example" { provider = dnacenter parameters { - project_id = "2128b364-8751-45f5-95cb-f5ecaa2e9085" + project_id = "2128b364-8751-45f5-95cb-f5ecaa2e9085" template_content = "if a > b \n hola22" - language = "JINJA" - name = "Saludo Terraform" - software_type = "IOS-XE" - author = "altus" - description = "Created by Terraform automation" - device_types{ + language = "JINJA" + name = "Saludo Terraform" + software_type = "IOS-XE" + author = "altus" + description = "Created by Terraform automation" + device_types { product_family = "Switches and Hubs" product_series = "Cisco Catalyst 9300 Series Switches" } diff --git a/examples/samples/resources/dnacenter_configuration_template_clone/resource.tf b/examples/samples/resources/dnacenter_configuration_template_clone/resource.tf index e160346b..8b3f0416 100644 --- a/examples/samples/resources/dnacenter_configuration_template_clone/resource.tf +++ b/examples/samples/resources/dnacenter_configuration_template_clone/resource.tf @@ -1,7 +1,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source, change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/resources/dnacenter_configuration_template_export_project/resource.tf b/examples/samples/resources/dnacenter_configuration_template_export_project/resource.tf index 1b52d986..1193c1c8 100644 --- a/examples/samples/resources/dnacenter_configuration_template_export_project/resource.tf +++ b/examples/samples/resources/dnacenter_configuration_template_export_project/resource.tf @@ -2,7 +2,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/resources/dnacenter_configuration_template_export_template/resource.tf b/examples/samples/resources/dnacenter_configuration_template_export_template/resource.tf index 7c1c5c3b..f2279cdb 100644 --- a/examples/samples/resources/dnacenter_configuration_template_export_template/resource.tf +++ b/examples/samples/resources/dnacenter_configuration_template_export_template/resource.tf @@ -2,7 +2,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/resources/dnacenter_configuration_template_import_project/resource.tf b/examples/samples/resources/dnacenter_configuration_template_import_project/resource.tf index 1f143174..74a3339a 100644 --- a/examples/samples/resources/dnacenter_configuration_template_import_project/resource.tf +++ b/examples/samples/resources/dnacenter_configuration_template_import_project/resource.tf @@ -1,7 +1,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source, change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/resources/dnacenter_configuration_template_import_template/resource.tf b/examples/samples/resources/dnacenter_configuration_template_import_template/resource.tf index 105702c1..8edb5431 100644 --- a/examples/samples/resources/dnacenter_configuration_template_import_template/resource.tf +++ b/examples/samples/resources/dnacenter_configuration_template_import_template/resource.tf @@ -1,7 +1,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source, change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/resources/dnacenter_configuration_template_project/main.tf b/examples/samples/resources/dnacenter_configuration_template_project/main.tf index bb2d0fdc..4ecca724 100644 --- a/examples/samples/resources/dnacenter_configuration_template_project/main.tf +++ b/examples/samples/resources/dnacenter_configuration_template_project/main.tf @@ -1,7 +1,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/resources/dnacenter_configuration_template_version/resource.tf b/examples/samples/resources/dnacenter_configuration_template_version/resource.tf index 242d3178..e9eda273 100644 --- a/examples/samples/resources/dnacenter_configuration_template_version/resource.tf +++ b/examples/samples/resources/dnacenter_configuration_template_version/resource.tf @@ -1,7 +1,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/resources/dnacenter_deploy_template/resource.tf b/examples/samples/resources/dnacenter_deploy_template/resource.tf index b6aebb10..92827355 100644 --- a/examples/samples/resources/dnacenter_deploy_template/resource.tf +++ b/examples/samples/resources/dnacenter_deploy_template/resource.tf @@ -2,7 +2,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/resources/dnacenter_deploy_template_v1/resource.tf b/examples/samples/resources/dnacenter_deploy_template_v1/resource.tf index 242c7a2e..97badff5 100644 --- a/examples/samples/resources/dnacenter_deploy_template_v1/resource.tf +++ b/examples/samples/resources/dnacenter_deploy_template_v1/resource.tf @@ -2,7 +2,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/resources/dnacenter_device_configurations_export/resource.tf b/examples/samples/resources/dnacenter_device_configurations_export/resource.tf index b2f8cb8a..ca7bdf11 100644 --- a/examples/samples/resources/dnacenter_device_configurations_export/resource.tf +++ b/examples/samples/resources/dnacenter_device_configurations_export/resource.tf @@ -2,7 +2,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/resources/dnacenter_device_replacement/main.tf b/examples/samples/resources/dnacenter_device_replacement/main.tf index af6961e8..27d0028e 100644 --- a/examples/samples/resources/dnacenter_device_replacement/main.tf +++ b/examples/samples/resources/dnacenter_device_replacement/main.tf @@ -1,7 +1,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source, change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/resources/dnacenter_device_replacement_deploy/resource.tf b/examples/samples/resources/dnacenter_device_replacement_deploy/resource.tf index 1d9fffc7..2faed29c 100644 --- a/examples/samples/resources/dnacenter_device_replacement_deploy/resource.tf +++ b/examples/samples/resources/dnacenter_device_replacement_deploy/resource.tf @@ -2,7 +2,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/resources/dnacenter_disassociate_site_to_network_profile/main.tf b/examples/samples/resources/dnacenter_disassociate_site_to_network_profile/main.tf index 68ea50cb..2e9f644b 100644 --- a/examples/samples/resources/dnacenter_disassociate_site_to_network_profile/main.tf +++ b/examples/samples/resources/dnacenter_disassociate_site_to_network_profile/main.tf @@ -1,7 +1,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source, change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/resources/dnacenter_discovery/main.tf b/examples/samples/resources/dnacenter_discovery/main.tf index 9d353f65..7cf50ebf 100644 --- a/examples/samples/resources/dnacenter_discovery/main.tf +++ b/examples/samples/resources/dnacenter_discovery/main.tf @@ -1,7 +1,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/resources/dnacenter_discovery_range_delete/resource.tf b/examples/samples/resources/dnacenter_discovery_range_delete/resource.tf index 4b78295c..75ce4e69 100644 --- a/examples/samples/resources/dnacenter_discovery_range_delete/resource.tf +++ b/examples/samples/resources/dnacenter_discovery_range_delete/resource.tf @@ -2,7 +2,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/resources/dnacenter_endpoint_analytics_profiling_rules/main.tf b/examples/samples/resources/dnacenter_endpoint_analytics_profiling_rules/main.tf index b6143eb8..82f3b451 100644 --- a/examples/samples/resources/dnacenter_endpoint_analytics_profiling_rules/main.tf +++ b/examples/samples/resources/dnacenter_endpoint_analytics_profiling_rules/main.tf @@ -1,7 +1,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/resources/dnacenter_event_subscription copy/resource.tf b/examples/samples/resources/dnacenter_event_subscription copy/resource.tf index 0f5ddb84..70d148d1 100644 --- a/examples/samples/resources/dnacenter_event_subscription copy/resource.tf +++ b/examples/samples/resources/dnacenter_event_subscription copy/resource.tf @@ -1,7 +1,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source, change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/resources/dnacenter_event_subscription/main.tf b/examples/samples/resources/dnacenter_event_subscription/main.tf index 368dce1a..6c478477 100644 --- a/examples/samples/resources/dnacenter_event_subscription/main.tf +++ b/examples/samples/resources/dnacenter_event_subscription/main.tf @@ -1,7 +1,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source, change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/resources/dnacenter_event_subscription_syslog/resource.tf b/examples/samples/resources/dnacenter_event_subscription_syslog/resource.tf index 00467ed7..d13c80d1 100644 --- a/examples/samples/resources/dnacenter_event_subscription_syslog/resource.tf +++ b/examples/samples/resources/dnacenter_event_subscription_syslog/resource.tf @@ -1,7 +1,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source, change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/resources/dnacenter_floor/resource.tf b/examples/samples/resources/dnacenter_floor/resource.tf index 1dda3abd..2680f589 100644 --- a/examples/samples/resources/dnacenter_floor/resource.tf +++ b/examples/samples/resources/dnacenter_floor/resource.tf @@ -2,7 +2,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/resources/dnacenter_global_credential_cli/resource.tf b/examples/samples/resources/dnacenter_global_credential_cli/resource.tf index a800d57d..ce1c3f93 100644 --- a/examples/samples/resources/dnacenter_global_credential_cli/resource.tf +++ b/examples/samples/resources/dnacenter_global_credential_cli/resource.tf @@ -2,7 +2,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/resources/dnacenter_global_credential_http_read/resource.tf b/examples/samples/resources/dnacenter_global_credential_http_read/resource.tf index b7ea8a46..ae677b75 100644 --- a/examples/samples/resources/dnacenter_global_credential_http_read/resource.tf +++ b/examples/samples/resources/dnacenter_global_credential_http_read/resource.tf @@ -2,7 +2,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/resources/dnacenter_global_credential_http_write/resource.tf b/examples/samples/resources/dnacenter_global_credential_http_write/resource.tf index 59589dde..0bb2b6b5 100644 --- a/examples/samples/resources/dnacenter_global_credential_http_write/resource.tf +++ b/examples/samples/resources/dnacenter_global_credential_http_write/resource.tf @@ -2,7 +2,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/resources/dnacenter_global_credential_netconf/resource.tf b/examples/samples/resources/dnacenter_global_credential_netconf/resource.tf index b38d86f8..72d11047 100644 --- a/examples/samples/resources/dnacenter_global_credential_netconf/resource.tf +++ b/examples/samples/resources/dnacenter_global_credential_netconf/resource.tf @@ -2,7 +2,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/resources/dnacenter_global_credential_snmpv2_read_community/resource.tf b/examples/samples/resources/dnacenter_global_credential_snmpv2_read_community/resource.tf index ccf2ee80..92ea6207 100644 --- a/examples/samples/resources/dnacenter_global_credential_snmpv2_read_community/resource.tf +++ b/examples/samples/resources/dnacenter_global_credential_snmpv2_read_community/resource.tf @@ -2,7 +2,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/resources/dnacenter_global_credential_snmpv3/resource.tf b/examples/samples/resources/dnacenter_global_credential_snmpv3/resource.tf index dcee717f..2c14142d 100644 --- a/examples/samples/resources/dnacenter_global_credential_snmpv3/resource.tf +++ b/examples/samples/resources/dnacenter_global_credential_snmpv3/resource.tf @@ -2,7 +2,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/resources/dnacenter_global_pool/resource.tf b/examples/samples/resources/dnacenter_global_pool/resource.tf index 34555272..42d60f3a 100644 --- a/examples/samples/resources/dnacenter_global_pool/resource.tf +++ b/examples/samples/resources/dnacenter_global_pool/resource.tf @@ -2,7 +2,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/resources/dnacenter_golden_image/resource.tf b/examples/samples/resources/dnacenter_golden_image/resource.tf index b0c246e9..1e3238e1 100644 --- a/examples/samples/resources/dnacenter_golden_image/resource.tf +++ b/examples/samples/resources/dnacenter_golden_image/resource.tf @@ -2,7 +2,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/resources/dnacenter_image_device_activation/resource.tf b/examples/samples/resources/dnacenter_image_device_activation/resource.tf index 67ac5dbc..bd0d5564 100644 --- a/examples/samples/resources/dnacenter_image_device_activation/resource.tf +++ b/examples/samples/resources/dnacenter_image_device_activation/resource.tf @@ -2,7 +2,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/resources/dnacenter_image_distribution/resource.tf b/examples/samples/resources/dnacenter_image_distribution/resource.tf index 2ff95d37..57b85182 100644 --- a/examples/samples/resources/dnacenter_image_distribution/resource.tf +++ b/examples/samples/resources/dnacenter_image_distribution/resource.tf @@ -2,7 +2,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/resources/dnacenter_interface_operation_create/resource.tf b/examples/samples/resources/dnacenter_interface_operation_create/resource.tf index 75db403d..160200d4 100644 --- a/examples/samples/resources/dnacenter_interface_operation_create/resource.tf +++ b/examples/samples/resources/dnacenter_interface_operation_create/resource.tf @@ -2,7 +2,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/resources/dnacenter_interface_update/resource.tf b/examples/samples/resources/dnacenter_interface_update/resource.tf index e995ec81..4b7b00d7 100644 --- a/examples/samples/resources/dnacenter_interface_update/resource.tf +++ b/examples/samples/resources/dnacenter_interface_update/resource.tf @@ -2,7 +2,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/resources/dnacenter_itsm_integration_events_retry/resource.tf b/examples/samples/resources/dnacenter_itsm_integration_events_retry/resource.tf index 4ce98313..385f6216 100644 --- a/examples/samples/resources/dnacenter_itsm_integration_events_retry/resource.tf +++ b/examples/samples/resources/dnacenter_itsm_integration_events_retry/resource.tf @@ -2,7 +2,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/resources/dnacenter_lan_automation_create/resource.tf b/examples/samples/resources/dnacenter_lan_automation_create/resource.tf index fb686508..654f3751 100644 --- a/examples/samples/resources/dnacenter_lan_automation_create/resource.tf +++ b/examples/samples/resources/dnacenter_lan_automation_create/resource.tf @@ -2,7 +2,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/resources/dnacenter_lan_automation_delete/resource.tf b/examples/samples/resources/dnacenter_lan_automation_delete/resource.tf index cc3436d8..7ae0989e 100644 --- a/examples/samples/resources/dnacenter_lan_automation_delete/resource.tf +++ b/examples/samples/resources/dnacenter_lan_automation_delete/resource.tf @@ -1,7 +1,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/resources/dnacenter_network_create/resource.tf b/examples/samples/resources/dnacenter_network_create/resource.tf index a2466562..d16730b6 100644 --- a/examples/samples/resources/dnacenter_network_create/resource.tf +++ b/examples/samples/resources/dnacenter_network_create/resource.tf @@ -1,7 +1,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/resources/dnacenter_network_device/resource.tf b/examples/samples/resources/dnacenter_network_device/resource.tf index 00da8db0..bea773b4 100644 --- a/examples/samples/resources/dnacenter_network_device/resource.tf +++ b/examples/samples/resources/dnacenter_network_device/resource.tf @@ -2,7 +2,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/resources/dnacenter_network_device_custom_prompt/resource.tf b/examples/samples/resources/dnacenter_network_device_custom_prompt/resource.tf index ea18e8e7..6f11f800 100644 --- a/examples/samples/resources/dnacenter_network_device_custom_prompt/resource.tf +++ b/examples/samples/resources/dnacenter_network_device_custom_prompt/resource.tf @@ -1,7 +1,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/resources/dnacenter_network_device_export/resource.tf b/examples/samples/resources/dnacenter_network_device_export/resource.tf index 71025184..e0f896a7 100644 --- a/examples/samples/resources/dnacenter_network_device_export/resource.tf +++ b/examples/samples/resources/dnacenter_network_device_export/resource.tf @@ -2,7 +2,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/resources/dnacenter_network_device_list/resource.tf b/examples/samples/resources/dnacenter_network_device_list/resource.tf index 8ee50f6b..7892b675 100644 --- a/examples/samples/resources/dnacenter_network_device_list/resource.tf +++ b/examples/samples/resources/dnacenter_network_device_list/resource.tf @@ -3,7 +3,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/resources/dnacenter_network_device_sync/resource.tf b/examples/samples/resources/dnacenter_network_device_sync/resource.tf index 5e0a833f..d8cd2c1b 100644 --- a/examples/samples/resources/dnacenter_network_device_sync/resource.tf +++ b/examples/samples/resources/dnacenter_network_device_sync/resource.tf @@ -2,7 +2,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/resources/dnacenter_nfv_profile/resource.tf b/examples/samples/resources/dnacenter_nfv_profile/resource.tf index d8d54d57..f2ef20b8 100644 --- a/examples/samples/resources/dnacenter_nfv_profile/resource.tf +++ b/examples/samples/resources/dnacenter_nfv_profile/resource.tf @@ -3,7 +3,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/resources/dnacenter_nfv_provision/resource.tf b/examples/samples/resources/dnacenter_nfv_provision/resource.tf index 563d2364..861e0f16 100644 --- a/examples/samples/resources/dnacenter_nfv_provision/resource.tf +++ b/examples/samples/resources/dnacenter_nfv_provision/resource.tf @@ -3,7 +3,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/resources/dnacenter_path_trace/resource.tf b/examples/samples/resources/dnacenter_path_trace/resource.tf index c616ab75..acb99076 100644 --- a/examples/samples/resources/dnacenter_path_trace/resource.tf +++ b/examples/samples/resources/dnacenter_path_trace/resource.tf @@ -2,7 +2,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/resources/dnacenter_pnp_device/main.tf b/examples/samples/resources/dnacenter_pnp_device/main.tf index af9a7896..9bebbabb 100644 --- a/examples/samples/resources/dnacenter_pnp_device/main.tf +++ b/examples/samples/resources/dnacenter_pnp_device/main.tf @@ -2,7 +2,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/resources/dnacenter_pnp_device_authorize/resource.tf b/examples/samples/resources/dnacenter_pnp_device_authorize/resource.tf index a0476dfa..13d6a546 100644 --- a/examples/samples/resources/dnacenter_pnp_device_authorize/resource.tf +++ b/examples/samples/resources/dnacenter_pnp_device_authorize/resource.tf @@ -1,7 +1,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/resources/dnacenter_pnp_device_import/resource.tf b/examples/samples/resources/dnacenter_pnp_device_import/resource.tf index 08ce33a9..1939aee5 100644 --- a/examples/samples/resources/dnacenter_pnp_device_import/resource.tf +++ b/examples/samples/resources/dnacenter_pnp_device_import/resource.tf @@ -2,7 +2,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/resources/dnacenter_pnp_device_reset/resource.tf b/examples/samples/resources/dnacenter_pnp_device_reset/resource.tf index 836f657d..75a0340c 100644 --- a/examples/samples/resources/dnacenter_pnp_device_reset/resource.tf +++ b/examples/samples/resources/dnacenter_pnp_device_reset/resource.tf @@ -2,7 +2,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/resources/dnacenter_pnp_device_site_claim/resource.tf b/examples/samples/resources/dnacenter_pnp_device_site_claim/resource.tf index 9b198962..1d9bc1d2 100644 --- a/examples/samples/resources/dnacenter_pnp_device_site_claim/resource.tf +++ b/examples/samples/resources/dnacenter_pnp_device_site_claim/resource.tf @@ -2,7 +2,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/resources/dnacenter_pnp_global_settings/resource.tf b/examples/samples/resources/dnacenter_pnp_global_settings/resource.tf index 7f911370..ded5e131 100644 --- a/examples/samples/resources/dnacenter_pnp_global_settings/resource.tf +++ b/examples/samples/resources/dnacenter_pnp_global_settings/resource.tf @@ -3,7 +3,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/resources/dnacenter_pnp_virtual_account_devices_sync/resource.tf b/examples/samples/resources/dnacenter_pnp_virtual_account_devices_sync/resource.tf index f3ab1bf2..27f16190 100644 --- a/examples/samples/resources/dnacenter_pnp_virtual_account_devices_sync/resource.tf +++ b/examples/samples/resources/dnacenter_pnp_virtual_account_devices_sync/resource.tf @@ -3,7 +3,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/resources/dnacenter_pnp_workflow/main.tf b/examples/samples/resources/dnacenter_pnp_workflow/main.tf index 1f2f1dfa..e8553e3b 100644 --- a/examples/samples/resources/dnacenter_pnp_workflow/main.tf +++ b/examples/samples/resources/dnacenter_pnp_workflow/main.tf @@ -3,7 +3,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/resources/dnacenter_profiling_rules_in_bulk_create/resource.tf b/examples/samples/resources/dnacenter_profiling_rules_in_bulk_create/resource.tf index 00b5ddca..11637181 100644 --- a/examples/samples/resources/dnacenter_profiling_rules_in_bulk_create/resource.tf +++ b/examples/samples/resources/dnacenter_profiling_rules_in_bulk_create/resource.tf @@ -3,7 +3,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/resources/dnacenter_qos_device_interface/resource.tf b/examples/samples/resources/dnacenter_qos_device_interface/resource.tf index 3f2cefbd..dd5ada5c 100644 --- a/examples/samples/resources/dnacenter_qos_device_interface/resource.tf +++ b/examples/samples/resources/dnacenter_qos_device_interface/resource.tf @@ -1,7 +1,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/resources/dnacenter_reports/resource.tf b/examples/samples/resources/dnacenter_reports/resource.tf index ae3d8c9b..b1e992c3 100644 --- a/examples/samples/resources/dnacenter_reports/resource.tf +++ b/examples/samples/resources/dnacenter_reports/resource.tf @@ -1,7 +1,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/resources/dnacenter_reserve_ip_subpool/resource.tf b/examples/samples/resources/dnacenter_reserve_ip_subpool/resource.tf index 2020e8f8..bd5605c7 100644 --- a/examples/samples/resources/dnacenter_reserve_ip_subpool/resource.tf +++ b/examples/samples/resources/dnacenter_reserve_ip_subpool/resource.tf @@ -1,7 +1,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/resources/dnacenter_sda_fabric_authentication_profile/resource.tf b/examples/samples/resources/dnacenter_sda_fabric_authentication_profile/resource.tf index 7370a8ea..8ac0a8fa 100644 --- a/examples/samples/resources/dnacenter_sda_fabric_authentication_profile/resource.tf +++ b/examples/samples/resources/dnacenter_sda_fabric_authentication_profile/resource.tf @@ -1,7 +1,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/resources/dnacenter_sda_fabric_border_device/main.tf b/examples/samples/resources/dnacenter_sda_fabric_border_device/main.tf index 54a9de96..e8705a27 100644 --- a/examples/samples/resources/dnacenter_sda_fabric_border_device/main.tf +++ b/examples/samples/resources/dnacenter_sda_fabric_border_device/main.tf @@ -1,7 +1,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/resources/dnacenter_sda_fabric_site/main.tf b/examples/samples/resources/dnacenter_sda_fabric_site/main.tf index a9e70c40..3d50bb13 100644 --- a/examples/samples/resources/dnacenter_sda_fabric_site/main.tf +++ b/examples/samples/resources/dnacenter_sda_fabric_site/main.tf @@ -1,7 +1,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source, change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/resources/dnacenter_sda_virtual_network/resource.tf b/examples/samples/resources/dnacenter_sda_virtual_network/resource.tf index a560944c..1313d861 100644 --- a/examples/samples/resources/dnacenter_sda_virtual_network/resource.tf +++ b/examples/samples/resources/dnacenter_sda_virtual_network/resource.tf @@ -1,7 +1,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source, change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/resources/dnacenter_sda_virtual_network_ip_pool/resource.tf b/examples/samples/resources/dnacenter_sda_virtual_network_ip_pool/resource.tf index 37a00be4..e27a08dc 100644 --- a/examples/samples/resources/dnacenter_sda_virtual_network_ip_pool/resource.tf +++ b/examples/samples/resources/dnacenter_sda_virtual_network_ip_pool/resource.tf @@ -1,7 +1,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # source = "cisco-en-programmability/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source change to "cisco-en-programmability/dnacenter" to use downloaded version from registry diff --git a/examples/samples/resources/dnacenter_sensor_test_create/resource.tf b/examples/samples/resources/dnacenter_sensor_test_create/resource.tf index 31bde413..05c79808 100644 --- a/examples/samples/resources/dnacenter_sensor_test_create/resource.tf +++ b/examples/samples/resources/dnacenter_sensor_test_create/resource.tf @@ -2,7 +2,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source, change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/resources/dnacenter_sensor_test_delete/resource.tf b/examples/samples/resources/dnacenter_sensor_test_delete/resource.tf index 736d2922..b3671309 100644 --- a/examples/samples/resources/dnacenter_sensor_test_delete/resource.tf +++ b/examples/samples/resources/dnacenter_sensor_test_delete/resource.tf @@ -1,7 +1,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source, change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/resources/dnacenter_sensor_test_run/resource.tf b/examples/samples/resources/dnacenter_sensor_test_run/resource.tf index 826d3dfb..8852a306 100644 --- a/examples/samples/resources/dnacenter_sensor_test_run/resource.tf +++ b/examples/samples/resources/dnacenter_sensor_test_run/resource.tf @@ -1,7 +1,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source, change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/resources/dnacenter_sensor_test_template_duplicate/resource.tf b/examples/samples/resources/dnacenter_sensor_test_template_duplicate/resource.tf index 77debcf5..ebbd07c1 100644 --- a/examples/samples/resources/dnacenter_sensor_test_template_duplicate/resource.tf +++ b/examples/samples/resources/dnacenter_sensor_test_template_duplicate/resource.tf @@ -1,7 +1,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source, change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/resources/dnacenter_sensor_test_template_edit/resource.tf b/examples/samples/resources/dnacenter_sensor_test_template_edit/resource.tf index 8e5e3b60..e7d8e422 100644 --- a/examples/samples/resources/dnacenter_sensor_test_template_edit/resource.tf +++ b/examples/samples/resources/dnacenter_sensor_test_template_edit/resource.tf @@ -3,7 +3,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/resources/dnacenter_service_provider/resource.tf b/examples/samples/resources/dnacenter_service_provider/resource.tf index ae9f4141..775c37f3 100644 --- a/examples/samples/resources/dnacenter_service_provider/resource.tf +++ b/examples/samples/resources/dnacenter_service_provider/resource.tf @@ -2,7 +2,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/resources/dnacenter_site_assign_credential/resource.tf b/examples/samples/resources/dnacenter_site_assign_credential/resource.tf index d5ea58d9..2512da84 100644 --- a/examples/samples/resources/dnacenter_site_assign_credential/resource.tf +++ b/examples/samples/resources/dnacenter_site_assign_credential/resource.tf @@ -2,7 +2,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/resources/dnacenter_snmp_properties/resource.tf b/examples/samples/resources/dnacenter_snmp_properties/resource.tf index e8fffaff..f34547d3 100644 --- a/examples/samples/resources/dnacenter_snmp_properties/resource.tf +++ b/examples/samples/resources/dnacenter_snmp_properties/resource.tf @@ -2,7 +2,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source, change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/resources/dnacenter_swim_image_file/resource.tf b/examples/samples/resources/dnacenter_swim_image_file/resource.tf index c7783fd6..c952de4d 100644 --- a/examples/samples/resources/dnacenter_swim_image_file/resource.tf +++ b/examples/samples/resources/dnacenter_swim_image_file/resource.tf @@ -2,7 +2,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/resources/dnacenter_syslog_config_create/resource.tf b/examples/samples/resources/dnacenter_syslog_config_create/resource.tf index e5cea1ef..481eae1a 100644 --- a/examples/samples/resources/dnacenter_syslog_config_create/resource.tf +++ b/examples/samples/resources/dnacenter_syslog_config_create/resource.tf @@ -1,7 +1,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source, change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/resources/dnacenter_tag/resource.tf b/examples/samples/resources/dnacenter_tag/resource.tf index a6d8214e..fbd3088a 100644 --- a/examples/samples/resources/dnacenter_tag/resource.tf +++ b/examples/samples/resources/dnacenter_tag/resource.tf @@ -1,7 +1,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source, change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/resources/dnacenter_tag_membership/resource.tf b/examples/samples/resources/dnacenter_tag_membership/resource.tf index 845359e9..d30b6a3d 100644 --- a/examples/samples/resources/dnacenter_tag_membership/resource.tf +++ b/examples/samples/resources/dnacenter_tag_membership/resource.tf @@ -1,7 +1,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source, change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/resources/dnacenter_template_preview/resource.tf b/examples/samples/resources/dnacenter_template_preview/resource.tf index ead0e116..59acf8d6 100644 --- a/examples/samples/resources/dnacenter_template_preview/resource.tf +++ b/examples/samples/resources/dnacenter_template_preview/resource.tf @@ -1,7 +1,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source, change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/resources/dnacenter_transit_peer_network/main.tf b/examples/samples/resources/dnacenter_transit_peer_network/main.tf index f4b82d2f..2d623dae 100644 --- a/examples/samples/resources/dnacenter_transit_peer_network/main.tf +++ b/examples/samples/resources/dnacenter_transit_peer_network/main.tf @@ -1,7 +1,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source, change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/resources/dnacenter_user/resource.tf b/examples/samples/resources/dnacenter_user/resource.tf index 308d2101..8171cade 100644 --- a/examples/samples/resources/dnacenter_user/resource.tf +++ b/examples/samples/resources/dnacenter_user/resource.tf @@ -1,7 +1,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/resources/dnacenter_wireless_dynamic_interface/resource.tf b/examples/samples/resources/dnacenter_wireless_dynamic_interface/resource.tf index 7e4ea1e7..be77c4c7 100644 --- a/examples/samples/resources/dnacenter_wireless_dynamic_interface/resource.tf +++ b/examples/samples/resources/dnacenter_wireless_dynamic_interface/resource.tf @@ -1,7 +1,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source, change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/resources/dnacenter_wireless_enterprise_ssid/resource.tf b/examples/samples/resources/dnacenter_wireless_enterprise_ssid/resource.tf index 6c07fc38..b9bb64da 100644 --- a/examples/samples/resources/dnacenter_wireless_enterprise_ssid/resource.tf +++ b/examples/samples/resources/dnacenter_wireless_enterprise_ssid/resource.tf @@ -2,7 +2,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source, change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } @@ -16,11 +16,22 @@ provider "dnacenter" { resource "dnacenter_wireless_enterprise_ssid" "example" { provider = dnacenter parameters { - name = "TestPersonal2" - security_level = "WPA2_ENTERPRISE" + name = "TestPersonal2" + security_level = "WPA2_ENTERPRISE" + traffic_type = "voicedata" + radio_policy = "Triple band operation (2.6GHz, 5GHz and 6GHz)" + fast_transition = "Adaptive" + mfp_client_protection = "Adaptive" + protected_management_frame = "Optional" + # multi_psk_settings { + # passphraseType = "ASCII" + # } + } } + + output "dnacenter_wireless_enterprise_ssid_example" { value = dnacenter_wireless_enterprise_ssid.example } diff --git a/examples/samples/resources/dnacenter_wireless_profile/resource.tf b/examples/samples/resources/dnacenter_wireless_profile/resource.tf index 7f00b42e..5e642597 100644 --- a/examples/samples/resources/dnacenter_wireless_profile/resource.tf +++ b/examples/samples/resources/dnacenter_wireless_profile/resource.tf @@ -2,7 +2,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } @@ -38,7 +38,7 @@ resource "dnacenter_wireless_profile" "example" { } interface_name = "management" name = "Test222" - type = "string" + type = "string2" } } #wireless_profile_name = "string" diff --git a/examples/samples/resources/dnacenter_wireless_provision_access_point/resource.tf b/examples/samples/resources/dnacenter_wireless_provision_access_point/resource.tf index f5f79798..086c86f6 100644 --- a/examples/samples/resources/dnacenter_wireless_provision_access_point/resource.tf +++ b/examples/samples/resources/dnacenter_wireless_provision_access_point/resource.tf @@ -1,7 +1,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/resources/dnacenter_wireless_provision_device_create/resource.tf b/examples/samples/resources/dnacenter_wireless_provision_device_create/resource.tf index 89ecb8df..684cb126 100644 --- a/examples/samples/resources/dnacenter_wireless_provision_device_create/resource.tf +++ b/examples/samples/resources/dnacenter_wireless_provision_device_create/resource.tf @@ -1,7 +1,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/resources/dnacenter_wireless_provision_device_update/resource.tf b/examples/samples/resources/dnacenter_wireless_provision_device_update/resource.tf index d38a09af..f5ecd303 100644 --- a/examples/samples/resources/dnacenter_wireless_provision_device_update/resource.tf +++ b/examples/samples/resources/dnacenter_wireless_provision_device_update/resource.tf @@ -1,7 +1,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/resources/dnacenter_wireless_provision_ssid_create_provision/resource.tf b/examples/samples/resources/dnacenter_wireless_provision_ssid_create_provision/resource.tf index 8440b350..59267dcb 100644 --- a/examples/samples/resources/dnacenter_wireless_provision_ssid_create_provision/resource.tf +++ b/examples/samples/resources/dnacenter_wireless_provision_ssid_create_provision/resource.tf @@ -2,7 +2,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/resources/dnacenter_wireless_provision_ssid_delete_reprovision/resource.tf b/examples/samples/resources/dnacenter_wireless_provision_ssid_delete_reprovision/resource.tf index 92c1a5da..0272e59a 100644 --- a/examples/samples/resources/dnacenter_wireless_provision_ssid_delete_reprovision/resource.tf +++ b/examples/samples/resources/dnacenter_wireless_provision_ssid_delete_reprovision/resource.tf @@ -2,7 +2,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/resources/dnacenter_wireless_rf_profile/resource.tf b/examples/samples/resources/dnacenter_wireless_rf_profile/resource.tf index 6bd84b3b..c0e058af 100644 --- a/examples/samples/resources/dnacenter_wireless_rf_profile/resource.tf +++ b/examples/samples/resources/dnacenter_wireless_rf_profile/resource.tf @@ -2,7 +2,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source, change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/examples/samples/resources/sites_test/test.tf b/examples/samples/resources/sites_test/test.tf index 85c1c7f0..15590ae5 100644 --- a/examples/samples/resources/sites_test/test.tf +++ b/examples/samples/resources/sites_test/test.tf @@ -2,7 +2,7 @@ terraform { required_providers { dnacenter = { - version = "1.1.23-beta" + version = "1.1.24-beta" source = "hashicorp.com/edu/dnacenter" # "hashicorp.com/edu/dnacenter" is the local built source, change to "cisco-en-programmability/dnacenter" to use downloaded version from registry } diff --git a/go.mod b/go.mod index 4008bf00..e4d18741 100644 --- a/go.mod +++ b/go.mod @@ -76,6 +76,6 @@ require ( ) require ( - github.com/cisco-en-programmability/dnacenter-go-sdk/v5 v5.0.14 + github.com/cisco-en-programmability/dnacenter-go-sdk/v5 v5.0.17 github.com/mattn/go-isatty v0.0.19 // indirect ) diff --git a/go.sum b/go.sum index b8596486..45a4ad7c 100644 --- a/go.sum +++ b/go.sum @@ -20,8 +20,8 @@ github.com/armon/go-radix v1.0.0/go.mod h1:ufUuZ+zHj4x4TnLV4JWEpy2hxWSpsRywHrMgI github.com/bgentry/speakeasy v0.1.0 h1:ByYyxL9InA1OWqxJqqp2A5pYHUrCiAL6K3J+LKSsQkY= github.com/bgentry/speakeasy v0.1.0/go.mod h1:+zsyZBPWlz7T6j88CTgSN5bM796AkVf0kBD4zp0CCIs= github.com/bwesterb/go-ristretto v1.2.0/go.mod h1:fUIoIZaG73pV5biE2Blr2xEzDoMj7NFEuV9ekS419A0= -github.com/cisco-en-programmability/dnacenter-go-sdk/v5 v5.0.14 h1:7PW5Gi2711XF6ckrewombjucMCJm74W1JSoxGDuwIz4= -github.com/cisco-en-programmability/dnacenter-go-sdk/v5 v5.0.14/go.mod h1:4Km+JuiyL/LsNRvO4dMWUSUVbnNBRmbwzJMU1oUbn0E= +github.com/cisco-en-programmability/dnacenter-go-sdk/v5 v5.0.17 h1:5SF1KBXOAzR1kC+rcGFlV2P7F7eqamP0IVlxqSq2mRc= +github.com/cisco-en-programmability/dnacenter-go-sdk/v5 v5.0.17/go.mod h1:4Km+JuiyL/LsNRvO4dMWUSUVbnNBRmbwzJMU1oUbn0E= github.com/cloudflare/circl v1.1.0/go.mod h1:prBCrKB9DV4poKZY1l9zBXg2QJY7mvgRvtMxxK7fi4I= github.com/cloudflare/circl v1.3.3 h1:fE/Qz0QdIGqeWfnwq0RE0R7MI51s0M2E4Ga9kq5AEMs= github.com/cloudflare/circl v1.3.3/go.mod h1:5XYMA4rFBvNIrhs50XuiBJ15vF2pZn4nnUKZrLbUZFA=