From 38f956574e0ebe5f54354ed285feff6dec96f6fc Mon Sep 17 00:00:00 2001 From: Loadbuild User Date: Wed, 22 Nov 2023 17:33:31 -0500 Subject: [PATCH 1/4] Updating generated source matching API 100.0main.0.818 --- internal/broker/generated/AboutApi.go | 11 +- internal/broker/generated/AboutUser.go | 25 +- internal/broker/generated/AboutUserMsgVpn.go | 11 +- internal/broker/generated/Broker.go | 208 ++++++----- internal/broker/generated/CertAuthority.go | 174 --------- .../CertAuthorityOcspTlsTrustedCommonName.go | 73 ---- .../broker/generated/ClientCertAuthority.go | 12 +- ...ntCertAuthorityOcspTlsTrustedCommonName.go | 13 +- internal/broker/generated/DmrCluster.go | 32 +- .../generated/DmrClusterCertMatchingRule.go | 11 +- ...rClusterCertMatchingRuleAttributeFilter.go | 11 +- .../DmrClusterCertMatchingRuleCondition.go | 13 +- internal/broker/generated/DmrClusterLink.go | 27 +- .../generated/DmrClusterLinkAttribute.go | 11 +- .../generated/DmrClusterLinkRemoteAddress.go | 11 +- .../DmrClusterLinkTlsTrustedCommonName.go | 92 ----- .../broker/generated/DomainCertAuthority.go | 13 +- internal/broker/generated/MsgVpn.go | 183 +++++----- internal/broker/generated/MsgVpnAclProfile.go | 13 +- .../MsgVpnAclProfileClientConnectException.go | 11 +- .../MsgVpnAclProfilePublishException.go | 108 ------ .../MsgVpnAclProfilePublishTopicException.go | 11 +- .../MsgVpnAclProfileSubscribeException.go | 108 ------ ...pnAclProfileSubscribeShareNameException.go | 11 +- ...MsgVpnAclProfileSubscribeTopicException.go | 11 +- .../MsgVpnAuthenticationOauthProfile.go | 16 +- ...ticationOauthProfileClientRequiredClaim.go | 12 +- ...OauthProfileResourceServerRequiredClaim.go | 12 +- .../MsgVpnAuthenticationOauthProvider.go | 339 ------------------ .../generated/MsgVpnAuthorizationGroup.go | 15 +- internal/broker/generated/MsgVpnBridge.go | 19 +- .../generated/MsgVpnBridgeRemoteMsgVpn.go | 17 +- .../MsgVpnBridgeRemoteSubscription.go | 11 +- .../MsgVpnBridgeTlsTrustedCommonName.go | 110 ------ .../generated/MsgVpnCertMatchingRule.go | 11 +- .../MsgVpnCertMatchingRuleAttributeFilter.go | 11 +- .../MsgVpnCertMatchingRuleCondition.go | 13 +- .../broker/generated/MsgVpnClientProfile.go | 97 +++-- .../broker/generated/MsgVpnClientUsername.go | 13 +- .../MsgVpnClientUsernameAttribute.go | 11 +- .../generated/MsgVpnDistributedCache.go | 13 +- .../MsgVpnDistributedCacheCluster.go | 25 +- ...tedCacheClusterGlobalCachingHomeCluster.go | 11 +- ...sterGlobalCachingHomeClusterTopicPrefix.go | 11 +- .../MsgVpnDistributedCacheClusterInstance.go | 11 +- .../MsgVpnDistributedCacheClusterTopic.go | 11 +- internal/broker/generated/MsgVpnDmrBridge.go | 11 +- .../generated/MsgVpnJndiConnectionFactory.go | 25 +- internal/broker/generated/MsgVpnJndiQueue.go | 13 +- internal/broker/generated/MsgVpnJndiTopic.go | 13 +- .../broker/generated/MsgVpnMqttRetainCache.go | 11 +- .../broker/generated/MsgVpnMqttSession.go | 41 ++- .../MsgVpnMqttSessionSubscription.go | 11 +- internal/broker/generated/MsgVpnProxy.go | 173 +++++++++ internal/broker/generated/MsgVpnQueue.go | 78 +++- .../generated/MsgVpnQueueSubscription.go | 11 +- .../broker/generated/MsgVpnQueueTemplate.go | 45 ++- internal/broker/generated/MsgVpnReplayLog.go | 13 +- .../MsgVpnReplayLogTopicFilterSubscription.go | 11 +- .../broker/generated/MsgVpnReplicatedTopic.go | 11 +- .../generated/MsgVpnRestDeliveryPoint.go | 15 +- .../MsgVpnRestDeliveryPointQueueBinding.go | 15 +- ...PointQueueBindingProtectedRequestHeader.go | 13 +- ...tDeliveryPointQueueBindingRequestHeader.go | 11 +- .../MsgVpnRestDeliveryPointRestConsumer.go | 64 ++-- ...tDeliveryPointRestConsumerOauthJwtClaim.go | 13 +- ...ryPointRestConsumerTlsTrustedCommonName.go | 109 ------ .../broker/generated/MsgVpnSequencedTopic.go | 11 +- .../generated/MsgVpnTelemetryProfile.go | 29 +- ...metryProfileReceiverAclConnectException.go | 11 +- .../MsgVpnTelemetryProfileTraceFilter.go | 11 +- ...TelemetryProfileTraceFilterSubscription.go | 11 +- .../broker/generated/MsgVpnTopicEndpoint.go | 39 +- .../generated/MsgVpnTopicEndpointTemplate.go | 45 ++- internal/broker/generated/OauthProfile.go | 17 +- .../generated/OauthProfileAccessLevelGroup.go | 13 +- ...essLevelGroupMsgVpnAccessLevelException.go | 12 +- .../OauthProfileClientAllowedHost.go | 13 +- ...authProfileClientAuthorizationParameter.go | 13 +- .../OauthProfileClientRequiredClaim.go | 13 +- ...rofileDefaultMsgVpnAccessLevelException.go | 12 +- ...OauthProfileResourceServerRequiredClaim.go | 13 +- .../broker/generated/SystemInformation.go | 68 ---- internal/broker/generated/VersionDetails.go | 26 ++ internal/broker/generated/VirtualHostname.go | 11 +- version.go | 2 +- 86 files changed, 1422 insertions(+), 1648 deletions(-) delete mode 100644 internal/broker/generated/CertAuthority.go delete mode 100644 internal/broker/generated/CertAuthorityOcspTlsTrustedCommonName.go delete mode 100644 internal/broker/generated/DmrClusterLinkTlsTrustedCommonName.go delete mode 100644 internal/broker/generated/MsgVpnAclProfilePublishException.go delete mode 100644 internal/broker/generated/MsgVpnAclProfileSubscribeException.go delete mode 100644 internal/broker/generated/MsgVpnAuthenticationOauthProvider.go delete mode 100644 internal/broker/generated/MsgVpnBridgeTlsTrustedCommonName.go create mode 100644 internal/broker/generated/MsgVpnProxy.go delete mode 100644 internal/broker/generated/MsgVpnRestDeliveryPointRestConsumerTlsTrustedCommonName.go delete mode 100644 internal/broker/generated/SystemInformation.go create mode 100644 internal/broker/generated/VersionDetails.go diff --git a/internal/broker/generated/AboutApi.go b/internal/broker/generated/AboutApi.go index d16148b..294728d 100644 --- a/internal/broker/generated/AboutApi.go +++ b/internal/broker/generated/AboutApi.go @@ -27,11 +27,20 @@ import ( func init() { info := broker.EntityInputs{ TerraformName: "about_api", - MarkdownDescription: "The API Description object provides metadata about the SEMP API.\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"global/none\" is required to perform this operation.\n\nThis has been available since 2.4.", + MarkdownDescription: "The API Description object provides metadata about the SEMP API.\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"global/none\" is required to perform this operation.\n\nThis has been available since SEMP API version 2.4.", ObjectType: broker.DataSourceObject, PathTemplate: "/about/api", Version: 0, Attributes: []*broker.AttributeInfo{ + { + BaseType: broker.String, + SempName: "id", + TerraformName: "id", + Type: types.StringType, + TerraformType: tftypes.String, + Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, + Default: "", + }, { BaseType: broker.String, SempName: "platform", diff --git a/internal/broker/generated/AboutUser.go b/internal/broker/generated/AboutUser.go index 5e619a4..1eedbbf 100644 --- a/internal/broker/generated/AboutUser.go +++ b/internal/broker/generated/AboutUser.go @@ -28,11 +28,20 @@ import ( func init() { info := broker.EntityInputs{ TerraformName: "about_user", - MarkdownDescription: "Session and access level information about the user accessing the SEMP API.\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"global/none\" is required to perform this operation.\n\nThis has been available since 2.4.", + MarkdownDescription: "Session and access level information about the user accessing the SEMP API.\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"global/none\" is required to perform this operation.\n\nThis has been available since SEMP API version 2.4.", ObjectType: broker.DataSourceObject, PathTemplate: "/about/user", Version: 0, Attributes: []*broker.AttributeInfo{ + { + BaseType: broker.String, + SempName: "id", + TerraformName: "id", + Type: types.StringType, + TerraformType: tftypes.String, + Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, + Default: "", + }, { BaseType: broker.String, SempName: "globalAccessLevel", @@ -62,7 +71,7 @@ func init() { BaseType: broker.Bool, SempName: "sessionActive", TerraformName: "session_active", - MarkdownDescription: "Indicates whether a session is active for this request. Available since 2.24.", + MarkdownDescription: "Indicates whether a session is active for this request. Available since SEMP API version 2.24.", ReadOnly: true, RequiresReplace: true, Type: types.BoolType, @@ -73,7 +82,7 @@ func init() { BaseType: broker.Int64, SempName: "sessionCreateTime", TerraformName: "session_create_time", - MarkdownDescription: "The timestamp of when the session was created. This attribute may not be returned in a GET. This value represents the number of seconds since 1970-01-01 00:00:00 UTC (Unix time). Available since 2.21.", + MarkdownDescription: "The timestamp of when the session was created. This attribute may not be returned in a GET. This value represents the number of seconds since 1970-01-01 00:00:00 UTC (Unix time). Available since SEMP API version 2.21.", ReadOnly: true, RequiresReplace: true, Type: types.Int64Type, @@ -87,7 +96,7 @@ func init() { BaseType: broker.Int64, SempName: "sessionCurrentTime", TerraformName: "session_current_time", - MarkdownDescription: "The current server timestamp. This is provided as a reference point for the other timestamps provided. This attribute may not be returned in a GET. This value represents the number of seconds since 1970-01-01 00:00:00 UTC (Unix time). Available since 2.21.", + MarkdownDescription: "The current server timestamp. This is provided as a reference point for the other timestamps provided. This attribute may not be returned in a GET. This value represents the number of seconds since 1970-01-01 00:00:00 UTC (Unix time). Available since SEMP API version 2.21.", ReadOnly: true, RequiresReplace: true, Type: types.Int64Type, @@ -101,7 +110,7 @@ func init() { BaseType: broker.Int64, SempName: "sessionHardExpiryTime", TerraformName: "session_hard_expiry_time", - MarkdownDescription: "The hard expiry time for the session. After this time the session will be invalid, regardless of activity. This attribute may not be returned in a GET. This value represents the number of seconds since 1970-01-01 00:00:00 UTC (Unix time). Available since 2.21.", + MarkdownDescription: "The hard expiry time for the session. After this time the session will be invalid, regardless of activity. This attribute may not be returned in a GET. This value represents the number of seconds since 1970-01-01 00:00:00 UTC (Unix time). Available since SEMP API version 2.21.", ReadOnly: true, RequiresReplace: true, Type: types.Int64Type, @@ -115,7 +124,7 @@ func init() { BaseType: broker.String, SempName: "sessionId", TerraformName: "session_id", - MarkdownDescription: "An identifier for the session to differentiate this session from other sessions for the same user. This value is not guaranteed to be unique between active sessions for different users. This attribute may not be returned in a GET. Available since 2.21.", + MarkdownDescription: "An identifier for the session to differentiate this session from other sessions for the same user. This value is not guaranteed to be unique between active sessions for different users. This attribute may not be returned in a GET. Available since SEMP API version 2.21.", ReadOnly: true, RequiresReplace: true, Type: types.StringType, @@ -129,7 +138,7 @@ func init() { BaseType: broker.Int64, SempName: "sessionIdleExpiryTime", TerraformName: "session_idle_expiry_time", - MarkdownDescription: "The session idle expiry time. After this time the session will be invalid if there has been no activity. This attribute may not be returned in a GET. This value represents the number of seconds since 1970-01-01 00:00:00 UTC (Unix time). Available since 2.21.", + MarkdownDescription: "The session idle expiry time. After this time the session will be invalid if there has been no activity. This attribute may not be returned in a GET. This value represents the number of seconds since 1970-01-01 00:00:00 UTC (Unix time). Available since SEMP API version 2.21.", ReadOnly: true, RequiresReplace: true, Type: types.Int64Type, @@ -143,7 +152,7 @@ func init() { BaseType: broker.String, SempName: "username", TerraformName: "username", - MarkdownDescription: "The username of the User. Available since 2.21.", + MarkdownDescription: "The username of the User. Available since SEMP API version 2.21.", ReadOnly: true, RequiresReplace: true, Type: types.StringType, diff --git a/internal/broker/generated/AboutUserMsgVpn.go b/internal/broker/generated/AboutUserMsgVpn.go index dff0516..5ca48b1 100644 --- a/internal/broker/generated/AboutUserMsgVpn.go +++ b/internal/broker/generated/AboutUserMsgVpn.go @@ -28,11 +28,20 @@ import ( func init() { info := broker.EntityInputs{ TerraformName: "about_user_msg_vpn", - MarkdownDescription: "This provides information about the Message VPN access level for the username used to access the SEMP API.\n\n\nAttribute|Identifying|Write-Only|Deprecated|Opaque\n:---|:---:|:---:|:---:|:---:\nmsg_vpn_name|x|||\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"global/none\" is required to perform this operation.\n\nThis has been available since 2.4.", + MarkdownDescription: "This provides information about the Message VPN access level for the username used to access the SEMP API.\n\n\nAttribute|Identifying\n:---|:---:\nmsg_vpn_name|x\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"global/none\" is required to perform this operation.\n\nThis has been available since SEMP API version 2.4.", ObjectType: broker.DataSourceObject, PathTemplate: "/about/user/msgVpns/{msgVpnName}", Version: 0, Attributes: []*broker.AttributeInfo{ + { + BaseType: broker.String, + SempName: "id", + TerraformName: "id", + Type: types.StringType, + TerraformType: tftypes.String, + Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, + Default: "", + }, { BaseType: broker.String, SempName: "accessLevel", diff --git a/internal/broker/generated/Broker.go b/internal/broker/generated/Broker.go index f83446e..b8add59 100644 --- a/internal/broker/generated/Broker.go +++ b/internal/broker/generated/Broker.go @@ -23,17 +23,27 @@ import ( "github.com/hashicorp/terraform-plugin-framework/schema/validator" "github.com/hashicorp/terraform-plugin-framework/types" "github.com/hashicorp/terraform-plugin-go/tftypes" + "regexp" "terraform-provider-solacebroker/internal/broker" ) func init() { info := broker.EntityInputs{ TerraformName: "broker", - MarkdownDescription: "This object contains global configuration for the message broker.\n\n\nAttribute|Identifying|Write-Only|Deprecated|Opaque\n:---|:---:|:---:|:---:|:---:\ntls_server_cert_content||x||x\ntls_server_cert_password||x||\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"global/none\" is required to perform this operation. Requests which include the following attributes require greater access scope/level:\n\n\nAttribute|Access Scope/Level\n:---|:---:\nconfig_sync_authentication_client_cert_max_chain_depth|global/read-only\nconfig_sync_authentication_client_cert_validate_date_enabled|global/read-only\nconfig_sync_client_profile_tcp_initial_congestion_window|global/read-only\nconfig_sync_client_profile_tcp_keepalive_count|global/read-only\nconfig_sync_client_profile_tcp_keepalive_idle|global/read-only\nconfig_sync_client_profile_tcp_keepalive_interval|global/read-only\nconfig_sync_client_profile_tcp_max_window|global/read-only\nconfig_sync_client_profile_tcp_mss|global/read-only\nconfig_sync_enabled|global/read-only\nconfig_sync_synchronize_username_enabled|global/read-only\nconfig_sync_tls_enabled|global/read-only\nguaranteed_msging_defragmentation_schedule_day_list|global/read-only\nguaranteed_msging_defragmentation_schedule_enabled|global/read-only\nguaranteed_msging_defragmentation_schedule_time_list|global/read-only\nguaranteed_msging_defragmentation_threshold_enabled|global/read-only\nguaranteed_msging_defragmentation_threshold_fragmentation_percentage|global/read-only\nguaranteed_msging_defragmentation_threshold_min_interval|global/read-only\nguaranteed_msging_defragmentation_threshold_usage_percentage|global/read-only\nguaranteed_msging_disk_array_wwn|global/read-only\nguaranteed_msging_disk_location|global/read-only\nguaranteed_msging_enabled|global/read-only\nguaranteed_msging_event_cache_usage_threshold.clear_percent|global/read-only\nguaranteed_msging_event_cache_usage_threshold.clear_value|global/read-only\nguaranteed_msging_event_cache_usage_threshold.set_percent|global/read-only\nguaranteed_msging_event_cache_usage_threshold.set_value|global/read-only\nguaranteed_msging_event_delivered_unacked_threshold.clear_percent|global/read-only\nguaranteed_msging_event_delivered_unacked_threshold.set_percent|global/read-only\nguaranteed_msging_event_disk_usage_threshold.clear_percent|global/read-only\nguaranteed_msging_event_disk_usage_threshold.set_percent|global/read-only\nguaranteed_msging_event_egress_flow_count_threshold.clear_percent|global/read-only\nguaranteed_msging_event_egress_flow_count_threshold.clear_value|global/read-only\nguaranteed_msging_event_egress_flow_count_threshold.set_percent|global/read-only\nguaranteed_msging_event_egress_flow_count_threshold.set_value|global/read-only\nguaranteed_msging_event_endpoint_count_threshold.clear_percent|global/read-only\nguaranteed_msging_event_endpoint_count_threshold.clear_value|global/read-only\nguaranteed_msging_event_endpoint_count_threshold.set_percent|global/read-only\nguaranteed_msging_event_endpoint_count_threshold.set_value|global/read-only\nguaranteed_msging_event_ingress_flow_count_threshold.clear_percent|global/read-only\nguaranteed_msging_event_ingress_flow_count_threshold.clear_value|global/read-only\nguaranteed_msging_event_ingress_flow_count_threshold.set_percent|global/read-only\nguaranteed_msging_event_ingress_flow_count_threshold.set_value|global/read-only\nguaranteed_msging_event_msg_count_threshold.clear_percent|global/read-only\nguaranteed_msging_event_msg_count_threshold.set_percent|global/read-only\nguaranteed_msging_event_msg_spool_file_count_threshold.clear_percent|global/read-only\nguaranteed_msging_event_msg_spool_file_count_threshold.set_percent|global/read-only\nguaranteed_msging_event_msg_spool_usage_threshold.clear_percent|global/read-only\nguaranteed_msging_event_msg_spool_usage_threshold.clear_value|global/read-only\nguaranteed_msging_event_msg_spool_usage_threshold.set_percent|global/read-only\nguaranteed_msging_event_msg_spool_usage_threshold.set_value|global/read-only\nguaranteed_msging_event_transacted_session_count_threshold.clear_percent|global/read-only\nguaranteed_msging_event_transacted_session_count_threshold.clear_value|global/read-only\nguaranteed_msging_event_transacted_session_count_threshold.set_percent|global/read-only\nguaranteed_msging_event_transacted_session_count_threshold.set_value|global/read-only\nguaranteed_msging_event_transacted_session_resource_count_threshold.clear_percent|global/read-only\nguaranteed_msging_event_transacted_session_resource_count_threshold.set_percent|global/read-only\nguaranteed_msging_event_transaction_count_threshold.clear_percent|global/read-only\nguaranteed_msging_event_transaction_count_threshold.clear_value|global/read-only\nguaranteed_msging_event_transaction_count_threshold.set_percent|global/read-only\nguaranteed_msging_event_transaction_count_threshold.set_value|global/read-only\nguaranteed_msging_max_cache_usage|global/read-only\nguaranteed_msging_max_msg_spool_usage|global/read-only\nguaranteed_msging_transaction_replication_compatibility_mode|global/read-only\nguaranteed_msging_virtual_router_when_active_active|global/read-only\noauth_profile_default|global/read-only\nservice_amqp_enabled|global/read-only\nservice_amqp_tls_listen_port|global/read-only\nservice_event_connection_count_threshold.clear_percent|global/read-only\nservice_event_connection_count_threshold.clear_value|global/read-only\nservice_event_connection_count_threshold.set_percent|global/read-only\nservice_event_connection_count_threshold.set_value|global/read-only\nservice_health_check_enabled|global/read-only\nservice_health_check_listen_port|global/read-only\nservice_mqtt_enabled|global/read-only\nservice_msg_backbone_enabled|global/read-only\nservice_rest_event_outgoing_connection_count_threshold.clear_percent|global/read-only\nservice_rest_event_outgoing_connection_count_threshold.clear_value|global/read-only\nservice_rest_event_outgoing_connection_count_threshold.set_percent|global/read-only\nservice_rest_event_outgoing_connection_count_threshold.set_value|global/read-only\nservice_rest_incoming_enabled|global/read-only\nservice_rest_outgoing_enabled|global/read-only\nservice_semp_cors_allow_any_host_enabled|global/read-only\nservice_semp_legacy_timeout_enabled|global/read-only\nservice_semp_plain_text_enabled|global/read-only\nservice_semp_plain_text_listen_port|global/read-only\nservice_semp_session_idle_timeout|global/read-only\nservice_semp_session_max_lifetime|global/read-only\nservice_semp_tls_enabled|global/read-only\nservice_semp_tls_listen_port|global/read-only\nservice_smf_compression_listen_port|global/read-only\nservice_smf_enabled|global/read-only\nservice_smf_event_connection_count_threshold.clear_percent|global/read-only\nservice_smf_event_connection_count_threshold.clear_value|global/read-only\nservice_smf_event_connection_count_threshold.set_percent|global/read-only\nservice_smf_event_connection_count_threshold.set_value|global/read-only\nservice_smf_plain_text_listen_port|global/read-only\nservice_smf_routing_control_listen_port|global/read-only\nservice_smf_tls_listen_port|global/read-only\nservice_tls_event_connection_count_threshold.clear_percent|global/read-only\nservice_tls_event_connection_count_threshold.clear_value|global/read-only\nservice_tls_event_connection_count_threshold.set_percent|global/read-only\nservice_tls_event_connection_count_threshold.set_value|global/read-only\nservice_web_transport_enabled|global/read-only\nservice_web_transport_plain_text_listen_port|global/read-only\nservice_web_transport_tls_listen_port|global/read-only\nservice_web_transport_web_url_suffix|global/read-only\ntls_block_version10_enabled|global/read-only\ntls_block_version11_enabled|global/read-only\ntls_cipher_suite_management_list|global/read-only\ntls_cipher_suite_msg_backbone_list|global/read-only\ntls_cipher_suite_secure_shell_list|global/read-only\ntls_crime_exploit_protection_enabled|global/read-only\ntls_server_cert_content|global/read-only\ntls_standard_domain_certificate_authorities_enabled|vpn/read-only\ntls_ticket_lifetime|global/read-only\nweb_manager_allow_unencrypted_wizards_enabled|vpn/read-only\nweb_manager_customization|vpn/read-only\nweb_manager_redirect_http_enabled|vpn/read-only\nweb_manager_redirect_http_override_tls_port|vpn/read-only\n\n\n\nThis has been available since 2.13.", + MarkdownDescription: "This object contains global configuration for the message broker.\n\n\nAttribute|Write-Only|Opaque\n:---|:---:|:---:\ntls_server_cert_content|x|x\ntls_server_cert_password|x|\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"vpn/read-only\" is required to perform this operation. Requests which include the following attributes may require greater access scope/level than \"vpn/read-only\":\n\n\nAttribute|Access Scope/Level\n:---|:---:\nauth_client_cert_revocation_check_mode|global/read-only\nconfig_sync_authentication_client_cert_max_chain_depth|global/read-only\nconfig_sync_authentication_client_cert_validate_date_enabled|global/read-only\nconfig_sync_client_profile_tcp_initial_congestion_window|global/read-only\nconfig_sync_client_profile_tcp_keepalive_count|global/read-only\nconfig_sync_client_profile_tcp_keepalive_idle|global/read-only\nconfig_sync_client_profile_tcp_keepalive_interval|global/read-only\nconfig_sync_client_profile_tcp_max_window|global/read-only\nconfig_sync_client_profile_tcp_mss|global/read-only\nconfig_sync_enabled|global/read-only\nconfig_sync_synchronize_username_enabled|global/read-only\nconfig_sync_tls_enabled|global/read-only\nguaranteed_msging_defragmentation_schedule_day_list|global/read-only\nguaranteed_msging_defragmentation_schedule_enabled|global/read-only\nguaranteed_msging_defragmentation_schedule_time_list|global/read-only\nguaranteed_msging_defragmentation_threshold_enabled|global/read-only\nguaranteed_msging_defragmentation_threshold_fragmentation_percentage|global/read-only\nguaranteed_msging_defragmentation_threshold_min_interval|global/read-only\nguaranteed_msging_defragmentation_threshold_usage_percentage|global/read-only\nguaranteed_msging_disk_array_wwn|global/read-only\nguaranteed_msging_disk_location|global/read-only\nguaranteed_msging_enabled|global/read-only\nguaranteed_msging_event_cache_usage_threshold.clear_percent|global/read-only\nguaranteed_msging_event_cache_usage_threshold.clear_value|global/read-only\nguaranteed_msging_event_cache_usage_threshold.set_percent|global/read-only\nguaranteed_msging_event_cache_usage_threshold.set_value|global/read-only\nguaranteed_msging_event_delivered_unacked_threshold.clear_percent|global/read-only\nguaranteed_msging_event_delivered_unacked_threshold.set_percent|global/read-only\nguaranteed_msging_event_disk_usage_threshold.clear_percent|global/read-only\nguaranteed_msging_event_disk_usage_threshold.set_percent|global/read-only\nguaranteed_msging_event_egress_flow_count_threshold.clear_percent|global/read-only\nguaranteed_msging_event_egress_flow_count_threshold.clear_value|global/read-only\nguaranteed_msging_event_egress_flow_count_threshold.set_percent|global/read-only\nguaranteed_msging_event_egress_flow_count_threshold.set_value|global/read-only\nguaranteed_msging_event_endpoint_count_threshold.clear_percent|global/read-only\nguaranteed_msging_event_endpoint_count_threshold.clear_value|global/read-only\nguaranteed_msging_event_endpoint_count_threshold.set_percent|global/read-only\nguaranteed_msging_event_endpoint_count_threshold.set_value|global/read-only\nguaranteed_msging_event_ingress_flow_count_threshold.clear_percent|global/read-only\nguaranteed_msging_event_ingress_flow_count_threshold.clear_value|global/read-only\nguaranteed_msging_event_ingress_flow_count_threshold.set_percent|global/read-only\nguaranteed_msging_event_ingress_flow_count_threshold.set_value|global/read-only\nguaranteed_msging_event_msg_count_threshold.clear_percent|global/read-only\nguaranteed_msging_event_msg_count_threshold.set_percent|global/read-only\nguaranteed_msging_event_msg_spool_file_count_threshold.clear_percent|global/read-only\nguaranteed_msging_event_msg_spool_file_count_threshold.set_percent|global/read-only\nguaranteed_msging_event_msg_spool_usage_threshold.clear_percent|global/read-only\nguaranteed_msging_event_msg_spool_usage_threshold.clear_value|global/read-only\nguaranteed_msging_event_msg_spool_usage_threshold.set_percent|global/read-only\nguaranteed_msging_event_msg_spool_usage_threshold.set_value|global/read-only\nguaranteed_msging_event_transacted_session_count_threshold.clear_percent|global/read-only\nguaranteed_msging_event_transacted_session_count_threshold.clear_value|global/read-only\nguaranteed_msging_event_transacted_session_count_threshold.set_percent|global/read-only\nguaranteed_msging_event_transacted_session_count_threshold.set_value|global/read-only\nguaranteed_msging_event_transacted_session_resource_count_threshold.clear_percent|global/read-only\nguaranteed_msging_event_transacted_session_resource_count_threshold.set_percent|global/read-only\nguaranteed_msging_event_transaction_count_threshold.clear_percent|global/read-only\nguaranteed_msging_event_transaction_count_threshold.clear_value|global/read-only\nguaranteed_msging_event_transaction_count_threshold.set_percent|global/read-only\nguaranteed_msging_event_transaction_count_threshold.set_value|global/read-only\nguaranteed_msging_max_cache_usage|global/read-only\nguaranteed_msging_max_msg_spool_usage|global/read-only\nguaranteed_msging_transaction_replication_compatibility_mode|global/read-only\nguaranteed_msging_virtual_router_when_active_active|global/read-only\noauth_profile_default|global/read-only\nservice_amqp_enabled|global/read-only\nservice_amqp_tls_listen_port|global/read-only\nservice_event_connection_count_threshold.clear_percent|global/read-only\nservice_event_connection_count_threshold.clear_value|global/read-only\nservice_event_connection_count_threshold.set_percent|global/read-only\nservice_event_connection_count_threshold.set_value|global/read-only\nservice_health_check_enabled|global/read-only\nservice_health_check_listen_port|global/read-only\nservice_health_check_tls_enabled|global/read-only\nservice_health_check_tls_listen_port|global/read-only\nservice_mqtt_enabled|global/read-only\nservice_msg_backbone_enabled|global/read-only\nservice_rest_event_outgoing_connection_count_threshold.clear_percent|global/read-only\nservice_rest_event_outgoing_connection_count_threshold.clear_value|global/read-only\nservice_rest_event_outgoing_connection_count_threshold.set_percent|global/read-only\nservice_rest_event_outgoing_connection_count_threshold.set_value|global/read-only\nservice_rest_incoming_enabled|global/read-only\nservice_rest_outgoing_enabled|global/read-only\nservice_semp_cors_allow_any_host_enabled|global/read-only\nservice_semp_legacy_timeout_enabled|global/read-only\nservice_semp_plain_text_enabled|global/read-only\nservice_semp_plain_text_listen_port|global/read-only\nservice_semp_session_idle_timeout|global/read-only\nservice_semp_session_max_lifetime|global/read-only\nservice_semp_tls_enabled|global/read-only\nservice_semp_tls_listen_port|global/read-only\nservice_smf_compression_listen_port|global/read-only\nservice_smf_enabled|global/read-only\nservice_smf_event_connection_count_threshold.clear_percent|global/read-only\nservice_smf_event_connection_count_threshold.clear_value|global/read-only\nservice_smf_event_connection_count_threshold.set_percent|global/read-only\nservice_smf_event_connection_count_threshold.set_value|global/read-only\nservice_smf_plain_text_listen_port|global/read-only\nservice_smf_routing_control_listen_port|global/read-only\nservice_smf_tls_listen_port|global/read-only\nservice_tls_event_connection_count_threshold.clear_percent|global/read-only\nservice_tls_event_connection_count_threshold.clear_value|global/read-only\nservice_tls_event_connection_count_threshold.set_percent|global/read-only\nservice_tls_event_connection_count_threshold.set_value|global/read-only\nservice_web_transport_enabled|global/read-only\nservice_web_transport_plain_text_listen_port|global/read-only\nservice_web_transport_tls_listen_port|global/read-only\nservice_web_transport_web_url_suffix|global/read-only\ntls_block_version10_enabled|global/read-only\ntls_block_version11_enabled|global/read-only\ntls_cipher_suite_management_list|global/read-only\ntls_cipher_suite_msg_backbone_list|global/read-only\ntls_cipher_suite_secure_shell_list|global/read-only\ntls_crime_exploit_protection_enabled|global/read-only\ntls_server_cert_content|global/read-only\ntls_ticket_lifetime|global/read-only\n\n\n\nThis has been available since SEMP API version 2.13.", ObjectType: broker.SingletonObject, PathTemplate: "/", Version: 0, Attributes: []*broker.AttributeInfo{ + { + BaseType: broker.String, + SempName: "id", + TerraformName: "id", + Type: types.StringType, + TerraformType: tftypes.String, + Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, + Default: "", + }, { BaseType: broker.String, SempName: "authClientCertRevocationCheckMode", @@ -51,7 +61,7 @@ func init() { BaseType: broker.Int64, SempName: "configSyncAuthenticationClientCertMaxChainDepth", TerraformName: "config_sync_authentication_client_cert_max_chain_depth", - MarkdownDescription: "The maximum depth for a client certificate chain. The depth of a chain is defined as the number of signing CA certificates that are present in the chain back to a trusted self-signed root CA certificate. The default value is `3`. Available since 2.22.", + MarkdownDescription: "The maximum depth for a client certificate chain. The depth of a chain is defined as the number of signing CA certificates that are present in the chain back to a trusted self-signed root CA certificate. The default value is `3`. Available since SEMP API version 2.22.", Type: types.Int64Type, TerraformType: tftypes.Number, Converter: broker.IntegerConverter{}, @@ -64,7 +74,7 @@ func init() { BaseType: broker.Bool, SempName: "configSyncAuthenticationClientCertValidateDateEnabled", TerraformName: "config_sync_authentication_client_cert_validate_date_enabled", - MarkdownDescription: "Enable or disable validation of the \"Not Before\" and \"Not After\" validity dates in the authentication certificate(s). The default value is `true`. Available since 2.22.", + MarkdownDescription: "Enable or disable validation of the \"Not Before\" and \"Not After\" validity dates in the authentication certificate(s). The default value is `true`. Available since SEMP API version 2.22.", Type: types.BoolType, TerraformType: tftypes.Bool, Converter: broker.SimpleConverter[bool]{TerraformType: tftypes.Bool}, @@ -74,7 +84,7 @@ func init() { BaseType: broker.Int64, SempName: "configSyncClientProfileTcpInitialCongestionWindow", TerraformName: "config_sync_client_profile_tcp_initial_congestion_window", - MarkdownDescription: "The TCP initial congestion window size for Config Sync clients, in multiples of the TCP Maximum Segment Size (MSS). Changing the value from its default of 2 results in non-compliance with RFC 2581. Contact support before changing this value. The default value is `2`. Available since 2.22.", + MarkdownDescription: "The TCP initial congestion window size for Config Sync clients, in multiples of the TCP Maximum Segment Size (MSS). Changing the value from its default of 2 results in non-compliance with RFC 2581. Contact support before changing this value. The default value is `2`. Available since SEMP API version 2.22.", Type: types.Int64Type, TerraformType: tftypes.Number, Converter: broker.IntegerConverter{}, @@ -87,7 +97,7 @@ func init() { BaseType: broker.Int64, SempName: "configSyncClientProfileTcpKeepaliveCount", TerraformName: "config_sync_client_profile_tcp_keepalive_count", - MarkdownDescription: "The number of TCP keepalive retransmissions to a client using the Client Profile before declaring that it is not available. The default value is `5`. Available since 2.22.", + MarkdownDescription: "The number of TCP keepalive retransmissions to a client using the Client Profile before declaring that it is not available. The default value is `5`. Available since SEMP API version 2.22.", Type: types.Int64Type, TerraformType: tftypes.Number, Converter: broker.IntegerConverter{}, @@ -100,7 +110,7 @@ func init() { BaseType: broker.Int64, SempName: "configSyncClientProfileTcpKeepaliveIdle", TerraformName: "config_sync_client_profile_tcp_keepalive_idle", - MarkdownDescription: "The amount of time a client connection using the Client Profile must remain idle before TCP begins sending keepalive probes, in seconds. The default value is `3`. Available since 2.22.", + MarkdownDescription: "The amount of time a client connection using the Client Profile must remain idle before TCP begins sending keepalive probes, in seconds. The default value is `3`. Available since SEMP API version 2.22.", Type: types.Int64Type, TerraformType: tftypes.Number, Converter: broker.IntegerConverter{}, @@ -113,7 +123,7 @@ func init() { BaseType: broker.Int64, SempName: "configSyncClientProfileTcpKeepaliveInterval", TerraformName: "config_sync_client_profile_tcp_keepalive_interval", - MarkdownDescription: "The amount of time between TCP keepalive retransmissions to a client using the Client Profile when no acknowledgement is received, in seconds. The default value is `1`. Available since 2.22.", + MarkdownDescription: "The amount of time between TCP keepalive retransmissions to a client using the Client Profile when no acknowledgment is received, in seconds. The default value is `1`. Available since SEMP API version 2.22.", Type: types.Int64Type, TerraformType: tftypes.Number, Converter: broker.IntegerConverter{}, @@ -126,7 +136,7 @@ func init() { BaseType: broker.Int64, SempName: "configSyncClientProfileTcpMaxWindow", TerraformName: "config_sync_client_profile_tcp_max_window", - MarkdownDescription: "The TCP maximum window size for clients using the Client Profile, in kilobytes. Changes are applied to all existing connections. The default value is `256`. Available since 2.22.", + MarkdownDescription: "The TCP maximum window size for clients using the Client Profile, in kilobytes. Changes are applied to all existing connections. This setting is ignored on the software broker. The default value is `256`. Available since SEMP API version 2.22.", Type: types.Int64Type, TerraformType: tftypes.Number, Converter: broker.IntegerConverter{}, @@ -139,7 +149,7 @@ func init() { BaseType: broker.Int64, SempName: "configSyncClientProfileTcpMss", TerraformName: "config_sync_client_profile_tcp_mss", - MarkdownDescription: "The TCP maximum segment size for clients using the Client Profile, in bytes. Changes are applied to all existing connections. The default value is `1460`. Available since 2.22.", + MarkdownDescription: "The TCP maximum segment size for clients using the Client Profile, in bytes. Changes are applied to all existing connections. The default value is `1460`. Available since SEMP API version 2.22.", Type: types.Int64Type, TerraformType: tftypes.Number, Converter: broker.IntegerConverter{}, @@ -152,7 +162,7 @@ func init() { BaseType: broker.Bool, SempName: "configSyncEnabled", TerraformName: "config_sync_enabled", - MarkdownDescription: "Enable or disable configuration synchronization for High Availability or Disaster Recovery. The default value is `false`. Available since 2.22.", + MarkdownDescription: "Enable or disable configuration synchronization for High Availability or Disaster Recovery. The default value is `false`. Available since SEMP API version 2.22.", Type: types.BoolType, TerraformType: tftypes.Bool, Converter: broker.SimpleConverter[bool]{TerraformType: tftypes.Bool}, @@ -162,7 +172,7 @@ func init() { BaseType: broker.Bool, SempName: "configSyncSynchronizeUsernameEnabled", TerraformName: "config_sync_synchronize_username_enabled", - MarkdownDescription: "Enable or disable the synchronizing of usernames within High Availability groups. The transition from not synchronizing to synchronizing will cause the High Availability mate to fall out of sync. Recommendation: leave this as enabled. Changes to this attribute are synchronized to HA mates via config-sync. The default value is `true`. Available since 2.22.", + MarkdownDescription: "Enable or disable the synchronizing of usernames within High Availability groups. The transition from not synchronizing to synchronizing will cause the High Availability mate to fall out of sync. Recommendation: leave this as enabled. Changes to this attribute are synchronized to HA mates via config-sync. The default value is `true`. Available since SEMP API version 2.22.", Type: types.BoolType, TerraformType: tftypes.Bool, Converter: broker.SimpleConverter[bool]{TerraformType: tftypes.Bool}, @@ -172,7 +182,7 @@ func init() { BaseType: broker.Bool, SempName: "configSyncTlsEnabled", TerraformName: "config_sync_tls_enabled", - MarkdownDescription: "Enable or disable the use of TLS encryption of the configuration synchronization communications between brokers in High Availability groups and/or Disaster Recovery sites. The default value is `false`. Available since 2.22.", + MarkdownDescription: "Enable or disable the use of TLS encryption of the configuration synchronization communications between brokers in High Availability groups and/or Disaster Recovery sites. The default value is `false`. Available since SEMP API version 2.22.", Type: types.BoolType, TerraformType: tftypes.Bool, Converter: broker.SimpleConverter[bool]{TerraformType: tftypes.Bool}, @@ -182,7 +192,7 @@ func init() { BaseType: broker.String, SempName: "guaranteedMsgingDefragmentationScheduleDayList", TerraformName: "guaranteed_msging_defragmentation_schedule_day_list", - MarkdownDescription: "The days of the week to schedule defragmentation runs, specified as \"daily\" or as a comma-separated list of days. Days must be specified as \"Sun\", \"Mon\", \"Tue\", \"Wed\", \"Thu\", \"Fri, or \"Sat\", with no spaces, and in sorted order from Sunday to Saturday. Please note \"Sun,Mon,Tue,Wed,Thu,Fri,Sat\" is not allowed, use \"daily\" instead. Changes to this attribute are synchronized to HA mates via config-sync. The default value is `\"daily\"`. Available since 2.25.", + MarkdownDescription: "The days of the week to schedule defragmentation runs, specified as \"daily\" or as a comma-separated list of days. Days must be specified as \"Sun\", \"Mon\", \"Tue\", \"Wed\", \"Thu\", \"Fri, or \"Sat\", with no spaces, and in sorted order from Sunday to Saturday. Please note \"Sun,Mon,Tue,Wed,Thu,Fri,Sat\" is not allowed, use \"daily\" instead. Changes to this attribute are synchronized to HA mates via config-sync. The default value is `\"daily\"`. Available since SEMP API version 2.25.", Type: types.StringType, TerraformType: tftypes.String, Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, @@ -195,7 +205,7 @@ func init() { BaseType: broker.Bool, SempName: "guaranteedMsgingDefragmentationScheduleEnabled", TerraformName: "guaranteed_msging_defragmentation_schedule_enabled", - MarkdownDescription: "Enable or disable schedule-based defragmentation of Guaranteed Messaging spool files. Changes to this attribute are synchronized to HA mates via config-sync. The default value is `false`. Available since 2.25.", + MarkdownDescription: "Enable or disable schedule-based defragmentation of Guaranteed Messaging spool files. Changes to this attribute are synchronized to HA mates via config-sync. The default value is `false`. Available since SEMP API version 2.25.", Type: types.BoolType, TerraformType: tftypes.Bool, Converter: broker.SimpleConverter[bool]{TerraformType: tftypes.Bool}, @@ -205,7 +215,7 @@ func init() { BaseType: broker.String, SempName: "guaranteedMsgingDefragmentationScheduleTimeList", TerraformName: "guaranteed_msging_defragmentation_schedule_time_list", - MarkdownDescription: "The times of the day to schedule defragmentation runs, specified as \"hourly\" or as a comma-separated list of 24-hour times in the form hh:mm, or h:mm. There must be no spaces, and times (up to 4) must be in sorted order from 0:00 to 23:59. Changes to this attribute are synchronized to HA mates via config-sync. The default value is `\"0:00\"`. Available since 2.25.", + MarkdownDescription: "The times of the day to schedule defragmentation runs, specified as \"hourly\" or as a comma-separated list of 24-hour times in the form hh:mm, or h:mm. There must be no spaces, and times (up to 4) must be in sorted order from 0:00 to 23:59. Changes to this attribute are synchronized to HA mates via config-sync. The default value is `\"0:00\"`. Available since SEMP API version 2.25.", Type: types.StringType, TerraformType: tftypes.String, Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, @@ -218,7 +228,7 @@ func init() { BaseType: broker.Bool, SempName: "guaranteedMsgingDefragmentationThresholdEnabled", TerraformName: "guaranteed_msging_defragmentation_threshold_enabled", - MarkdownDescription: "Enable or disable threshold-based defragmentation of Guaranteed Messaging spool files. Changes to this attribute are synchronized to HA mates via config-sync. The default value is `false`. Available since 2.25.", + MarkdownDescription: "Enable or disable threshold-based defragmentation of Guaranteed Messaging spool files. Changes to this attribute are synchronized to HA mates via config-sync. The default value is `false`. Available since SEMP API version 2.25.", Type: types.BoolType, TerraformType: tftypes.Bool, Converter: broker.SimpleConverter[bool]{TerraformType: tftypes.Bool}, @@ -228,7 +238,7 @@ func init() { BaseType: broker.Int64, SempName: "guaranteedMsgingDefragmentationThresholdFragmentationPercentage", TerraformName: "guaranteed_msging_defragmentation_threshold_fragmentation_percentage", - MarkdownDescription: "Percentage of spool fragmentation needed to trigger defragmentation run. The minimum value allowed is 30%. Changes to this attribute are synchronized to HA mates via config-sync. The default value is `50`. Available since 2.25.", + MarkdownDescription: "Percentage of spool fragmentation needed to trigger defragmentation run. The minimum value allowed is 30%. Changes to this attribute are synchronized to HA mates via config-sync. The default value is `50`. Available since SEMP API version 2.25.", Type: types.Int64Type, TerraformType: tftypes.Number, Converter: broker.IntegerConverter{}, @@ -241,7 +251,7 @@ func init() { BaseType: broker.Int64, SempName: "guaranteedMsgingDefragmentationThresholdMinInterval", TerraformName: "guaranteed_msging_defragmentation_threshold_min_interval", - MarkdownDescription: "Minimum interval of time (in minutes) between defragmentation runs triggered by thresholds. Changes to this attribute are synchronized to HA mates via config-sync. The default value is `15`. Available since 2.25.", + MarkdownDescription: "Minimum interval of time (in minutes) between defragmentation runs triggered by thresholds. Changes to this attribute are synchronized to HA mates via config-sync. The default value is `15`. Available since SEMP API version 2.25.", Type: types.Int64Type, TerraformType: tftypes.Number, Converter: broker.IntegerConverter{}, @@ -254,7 +264,7 @@ func init() { BaseType: broker.Int64, SempName: "guaranteedMsgingDefragmentationThresholdUsagePercentage", TerraformName: "guaranteed_msging_defragmentation_threshold_usage_percentage", - MarkdownDescription: "Percentage of spool usage needed to trigger defragmentation run. The minimum value allowed is 30%. Changes to this attribute are synchronized to HA mates via config-sync. The default value is `50`. Available since 2.25.", + MarkdownDescription: "Percentage of spool usage needed to trigger defragmentation run. The minimum value allowed is 30%. Changes to this attribute are synchronized to HA mates via config-sync. The default value is `50`. Available since SEMP API version 2.25.", Type: types.Int64Type, TerraformType: tftypes.Number, Converter: broker.IntegerConverter{}, @@ -267,7 +277,7 @@ func init() { BaseType: broker.String, SempName: "guaranteedMsgingDiskArrayWwn", TerraformName: "guaranteed_msging_disk_array_wwn", - MarkdownDescription: "The WWN number to use when accessing a LUN on an external disk array. The default value is `\"\"`. Available since 2.18.", + MarkdownDescription: "The WWN number to use when accessing a LUN on an external disk array. The default value is `\"\"`. Available since SEMP API version 2.18.", Type: types.StringType, TerraformType: tftypes.String, Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, @@ -280,7 +290,7 @@ func init() { BaseType: broker.String, SempName: "guaranteedMsgingDiskLocation", TerraformName: "guaranteed_msging_disk_location", - MarkdownDescription: "The disk location for the the guaranteed message spool (required for high availability with guaranteed messaging). When external is chosen the guaranteed message spool is stored on an external disk array attached to the router. If internal storage is currently used, changing to external causes message spooling on the router to stop and messages spooled on the internal storage to be deleted. If internal is chosen the guaranteed message spool is stored on an external disk array attached to the router. If internal storage is currently used, changing to external causes message spooling on the router to stop and messages spooled on the internal storage to be deleted. Modifying this attribute while the object (or the relevant part of the object) is administratively enabled may be service impacting as guaranteed_msging_enabled will be temporarily set to false to apply the change. The default value is `\"external\"`. The allowed values and their meaning are:\n\n
\n\"external\" - The guaranteed message spool is stored on an external disk array attached to the appliance.\n\"internal\" - The guaranteed message spool is stored internally on the appliance.\n
\n Available since 2.18.", + MarkdownDescription: "The disk location for the the guaranteed message spool (required for high availability with guaranteed messaging). When external is chosen the guaranteed message spool is stored on an external disk array attached to the router. If internal storage is currently used, changing to external causes message spooling on the router to stop and messages spooled on the internal storage to be deleted. If internal is chosen the guaranteed message spool is stored on an external disk array attached to the router. If internal storage is currently used, changing to external causes message spooling on the router to stop and messages spooled on the internal storage to be deleted. Modifying this attribute while the object (or the relevant part of the object) is administratively enabled may be service impacting as guaranteed_msging_enabled will be temporarily set to false to apply the change. The default value is `\"external\"`. The allowed values and their meaning are:\n\n
\n\"external\" - The guaranteed message spool is stored on an external disk array attached to the appliance.\n\"internal\" - The guaranteed message spool is stored internally on the appliance.\n
\n Available since SEMP API version 2.18.", Type: types.StringType, TerraformType: tftypes.String, Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, @@ -293,7 +303,7 @@ func init() { BaseType: broker.Bool, SempName: "guaranteedMsgingEnabled", TerraformName: "guaranteed_msging_enabled", - MarkdownDescription: "Enable or disable Guaranteed Messaging. The default value is `false`. Available since 2.18.", + MarkdownDescription: "Enable or disable Guaranteed Messaging. The default value is `false`. Available since SEMP API version 2.18.", Type: types.BoolType, TerraformType: tftypes.Bool, Converter: broker.SimpleConverter[bool]{TerraformType: tftypes.Bool}, @@ -325,6 +335,7 @@ func init() { path.MatchRelative().AtParent().AtName("set_value"), ), }, + Default: 60, }, { BaseType: broker.Int64, @@ -367,6 +378,7 @@ func init() { path.MatchRelative().AtParent().AtName("set_value"), ), }, + Default: 80, }, { BaseType: broker.Int64, @@ -412,6 +424,7 @@ func init() { ), int64validator.Between(0, 100), }, + Default: 60, }, { BaseType: broker.Int64, @@ -428,6 +441,7 @@ func init() { ), int64validator.Between(0, 100), }, + Default: 80, }, }, }, @@ -452,6 +466,7 @@ func init() { ), int64validator.Between(0, 100), }, + Default: 60, }, { BaseType: broker.Int64, @@ -468,6 +483,7 @@ func init() { ), int64validator.Between(0, 100), }, + Default: 80, }, }, }, @@ -497,6 +513,7 @@ func init() { path.MatchRelative().AtParent().AtName("set_value"), ), }, + Default: 60, }, { BaseType: broker.Int64, @@ -539,6 +556,7 @@ func init() { path.MatchRelative().AtParent().AtName("set_value"), ), }, + Default: 80, }, { BaseType: broker.Int64, @@ -589,6 +607,7 @@ func init() { path.MatchRelative().AtParent().AtName("set_value"), ), }, + Default: 60, }, { BaseType: broker.Int64, @@ -631,6 +650,7 @@ func init() { path.MatchRelative().AtParent().AtName("set_value"), ), }, + Default: 80, }, { BaseType: broker.Int64, @@ -681,6 +701,7 @@ func init() { path.MatchRelative().AtParent().AtName("set_value"), ), }, + Default: 60, }, { BaseType: broker.Int64, @@ -723,6 +744,7 @@ func init() { path.MatchRelative().AtParent().AtName("set_value"), ), }, + Default: 80, }, { BaseType: broker.Int64, @@ -768,6 +790,7 @@ func init() { ), int64validator.Between(0, 100), }, + Default: 60, }, { BaseType: broker.Int64, @@ -784,6 +807,7 @@ func init() { ), int64validator.Between(0, 100), }, + Default: 80, }, }, }, @@ -808,6 +832,7 @@ func init() { ), int64validator.Between(0, 100), }, + Default: 60, }, { BaseType: broker.Int64, @@ -824,6 +849,7 @@ func init() { ), int64validator.Between(0, 100), }, + Default: 80, }, }, }, @@ -853,6 +879,7 @@ func init() { path.MatchRelative().AtParent().AtName("set_value"), ), }, + Default: 60, }, { BaseType: broker.Int64, @@ -895,6 +922,7 @@ func init() { path.MatchRelative().AtParent().AtName("set_value"), ), }, + Default: 80, }, { BaseType: broker.Int64, @@ -945,6 +973,7 @@ func init() { path.MatchRelative().AtParent().AtName("set_value"), ), }, + Default: 60, }, { BaseType: broker.Int64, @@ -987,6 +1016,7 @@ func init() { path.MatchRelative().AtParent().AtName("set_value"), ), }, + Default: 80, }, { BaseType: broker.Int64, @@ -1032,6 +1062,7 @@ func init() { ), int64validator.Between(0, 100), }, + Default: 60, }, { BaseType: broker.Int64, @@ -1048,6 +1079,7 @@ func init() { ), int64validator.Between(0, 100), }, + Default: 80, }, }, }, @@ -1077,6 +1109,7 @@ func init() { path.MatchRelative().AtParent().AtName("set_value"), ), }, + Default: 60, }, { BaseType: broker.Int64, @@ -1119,6 +1152,7 @@ func init() { path.MatchRelative().AtParent().AtName("set_value"), ), }, + Default: 80, }, { BaseType: broker.Int64, @@ -1147,7 +1181,7 @@ func init() { BaseType: broker.Int64, SempName: "guaranteedMsgingMaxCacheUsage", TerraformName: "guaranteed_msging_max_cache_usage", - MarkdownDescription: "Guaranteed messaging cache usage limit. Expressed as a maximum percentage of the NAB's egress queueing. resources that the guaranteed message cache is allowed to use. Changes to this attribute are synchronized to HA mates via config-sync. The default value is `10`. Available since 2.18.", + MarkdownDescription: "Guaranteed messaging cache usage limit. Expressed as a maximum percentage of the NAB's egress queueing. resources that the guaranteed message cache is allowed to use. Changes to this attribute are synchronized to HA mates via config-sync. The default value is `10`. Available since SEMP API version 2.18.", Type: types.Int64Type, TerraformType: tftypes.Number, Converter: broker.IntegerConverter{}, @@ -1160,7 +1194,7 @@ func init() { BaseType: broker.Int64, SempName: "guaranteedMsgingMaxMsgSpoolUsage", TerraformName: "guaranteed_msging_max_msg_spool_usage", - MarkdownDescription: "The maximum total message spool usage allowed across all VPNs on this broker, in megabytes. Recommendation: the maximum value should be less than 90% of the disk space allocated for the guaranteed message spool. Changes to this attribute are synchronized to HA mates via config-sync. The default value is `60000`. Available since 2.18.", + MarkdownDescription: "The maximum total message spool usage allowed across all VPNs on this broker, in megabytes. Recommendation: the maximum value should be less than 90% of the disk space allocated for the guaranteed message spool. Changes to this attribute are synchronized to HA mates via config-sync. The default value is `60000`. Available since SEMP API version 2.18.", Type: types.Int64Type, TerraformType: tftypes.Number, Converter: broker.IntegerConverter{}, @@ -1173,7 +1207,7 @@ func init() { BaseType: broker.String, SempName: "guaranteedMsgingTransactionReplicationCompatibilityMode", TerraformName: "guaranteed_msging_transaction_replication_compatibility_mode", - MarkdownDescription: "The replication compatibility mode for the router. The default value is `\"legacy\"`. The allowed values and their meaning are:\"legacy\" - All transactions originated by clients are replicated to the standby site without using transactions.\"transacted\" - All transactions originated by clients are replicated to the standby site using transactions. Changes to this attribute are synchronized to HA mates via config-sync. The default value is `\"legacy\"`. The allowed values and their meaning are:\n\n
\n\"legacy\" - All transactions originated by clients are replicated to the standby site without using transactions.\n\"transacted\" - All transactions originated by clients are replicated to the standby site using transactions.\n
\n Available since 2.18.", + MarkdownDescription: "The replication compatibility mode for the broker. The default value is `\"legacy\"`. The allowed values and their meaning are:\"legacy\" - All transactions originated by clients are replicated to the standby site without using transactions.\"transacted\" - All transactions originated by clients are replicated to the standby site using transactions. Changes to this attribute are synchronized to HA mates via config-sync. The default value is `\"legacy\"`. The allowed values and their meaning are:\n\n
\n\"legacy\" - All transactions originated by clients are replicated to the standby site without using transactions.\n\"transacted\" - All transactions originated by clients are replicated to the standby site using transactions.\n
\n Available since SEMP API version 2.18.", Type: types.StringType, TerraformType: tftypes.String, Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, @@ -1186,7 +1220,7 @@ func init() { BaseType: broker.String, SempName: "guaranteedMsgingVirtualRouterWhenActiveActive", TerraformName: "guaranteed_msging_virtual_router_when_active_active", - MarkdownDescription: "The High Availability role for this broker if using the legacy Active/Active configuration for high availability (not recommended). Note: for Active/Standby high availability configuration, this setting is ignored. Modifying this attribute while the object (or the relevant part of the object) is administratively enabled may be service impacting as guaranteed_msging_enabled will be temporarily set to false to apply the change. The default value is `\"primary\"`. The allowed values and their meaning are:\n\n
\n\"primary\" - The primary virtual router.\n\"backup\" - The backup virtual router.\n
\n Available since 2.18.", + MarkdownDescription: "The High Availability role for this broker if using the legacy Active/Active configuration for high availability (not recommended). Note: for Active/Standby high availability configuration, this setting is ignored. Modifying this attribute while the object (or the relevant part of the object) is administratively enabled may be service impacting as guaranteed_msging_enabled will be temporarily set to false to apply the change. The default value is `\"primary\"`. The allowed values and their meaning are:\n\n
\n\"primary\" - The primary virtual router.\n\"backup\" - The backup virtual router.\n
\n Available since SEMP API version 2.18.", Type: types.StringType, TerraformType: tftypes.String, Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, @@ -1199,12 +1233,13 @@ func init() { BaseType: broker.String, SempName: "oauthProfileDefault", TerraformName: "oauth_profile_default", - MarkdownDescription: "The default OAuth profile for OAuth authenticated SEMP requests. Changes to this attribute are synchronized to HA mates via config-sync. The default value is `\"\"`. Available since 2.24.", + MarkdownDescription: "The default OAuth profile for OAuth authenticated SEMP requests. Changes to this attribute are synchronized to HA mates via config-sync. The default value is `\"\"`. Available since SEMP API version 2.24.", Type: types.StringType, TerraformType: tftypes.String, Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, StringValidators: []validator.String{ stringvalidator.LengthBetween(0, 32), + stringvalidator.RegexMatches(regexp.MustCompile("^[A-Za-z0-9_]*$"), ""), }, Default: "", }, @@ -1212,7 +1247,7 @@ func init() { BaseType: broker.Bool, SempName: "serviceAmqpEnabled", TerraformName: "service_amqp_enabled", - MarkdownDescription: "Enable or disable the AMQP service. When disabled new AMQP Clients may not connect through the global or per-VPN AMQP listen-ports, and all currently connected AMQP Clients are immediately disconnected. Changes to this attribute are synchronized to HA mates via config-sync. The default value is `false`. Available since 2.17.", + MarkdownDescription: "Enable or disable the AMQP service. When disabled new AMQP Clients may not connect through the global or per-VPN AMQP listen-ports, and all currently connected AMQP Clients are immediately disconnected. Changes to this attribute are synchronized to HA mates via config-sync. The default value is `false`. Available since SEMP API version 2.17.", Type: types.BoolType, TerraformType: tftypes.Bool, Converter: broker.SimpleConverter[bool]{TerraformType: tftypes.Bool}, @@ -1222,7 +1257,7 @@ func init() { BaseType: broker.Int64, SempName: "serviceAmqpTlsListenPort", TerraformName: "service_amqp_tls_listen_port", - MarkdownDescription: "TCP port number that AMQP clients can use to connect to the broker using raw TCP over TLS. Modifying this attribute while the object (or the relevant part of the object) is administratively enabled may be service impacting as service_amqp_enabled will be temporarily set to false to apply the change. Changes to this attribute are synchronized to HA mates via config-sync. The default value is `0`. Available since 2.17.", + MarkdownDescription: "TCP port number that AMQP clients can use to connect to the broker using raw TCP over TLS. Modifying this attribute while the object (or the relevant part of the object) is administratively enabled may be service impacting as service_amqp_enabled will be temporarily set to false to apply the change. Changes to this attribute are synchronized to HA mates via config-sync. The default value is `0`. Available since SEMP API version 2.17.", Type: types.Int64Type, TerraformType: tftypes.Number, Converter: broker.IntegerConverter{}, @@ -1257,6 +1292,7 @@ func init() { path.MatchRelative().AtParent().AtName("set_value"), ), }, + Default: 60, }, { BaseType: broker.Int64, @@ -1299,6 +1335,7 @@ func init() { path.MatchRelative().AtParent().AtName("set_value"), ), }, + Default: 80, }, { BaseType: broker.Int64, @@ -1327,7 +1364,7 @@ func init() { BaseType: broker.Bool, SempName: "serviceHealthCheckEnabled", TerraformName: "service_health_check_enabled", - MarkdownDescription: "Enable or disable the health-check service. Changes to this attribute are synchronized to HA mates via config-sync. The default value is `false`. Available since 2.17.", + MarkdownDescription: "Enable or disable the plain-text health-check service. Changes to this attribute are synchronized to HA mates via config-sync. The default value is `false`. Available since SEMP API version 2.17.", Type: types.BoolType, TerraformType: tftypes.Bool, Converter: broker.SimpleConverter[bool]{TerraformType: tftypes.Bool}, @@ -1337,7 +1374,7 @@ func init() { BaseType: broker.Int64, SempName: "serviceHealthCheckListenPort", TerraformName: "service_health_check_listen_port", - MarkdownDescription: "The port number for the health-check service. The port must be unique across the message backbone. The health-check service must be disabled to change the port. Modifying this attribute while the object (or the relevant part of the object) is administratively enabled may be service impacting as service_health_check_enabled will be temporarily set to false to apply the change. Changes to this attribute are synchronized to HA mates via config-sync. The default value is `5550`. Available since 2.17.", + MarkdownDescription: "The port number for the plain-text health-check service. The port must be unique across the message backbone. The health-check service must be disabled to change the port. Modifying this attribute while the object (or the relevant part of the object) is administratively enabled may be service impacting as service_health_check_enabled will be temporarily set to false to apply the change. Changes to this attribute are synchronized to HA mates via config-sync. The default value is `5550`. Available since SEMP API version 2.17.", Type: types.Int64Type, TerraformType: tftypes.Number, Converter: broker.IntegerConverter{}, @@ -1346,11 +1383,34 @@ func init() { }, Default: 5550, }, + { + BaseType: broker.Bool, + SempName: "serviceHealthCheckTlsEnabled", + TerraformName: "service_health_check_tls_enabled", + MarkdownDescription: "Enable or disable the TLS health-check service. Changes to this attribute are synchronized to HA mates via config-sync. The default value is `false`. Available since SEMP API version 2.34.", + Type: types.BoolType, + TerraformType: tftypes.Bool, + Converter: broker.SimpleConverter[bool]{TerraformType: tftypes.Bool}, + Default: false, + }, + { + BaseType: broker.Int64, + SempName: "serviceHealthCheckTlsListenPort", + TerraformName: "service_health_check_tls_listen_port", + MarkdownDescription: "The port number for the TLS health-check service. The port must be unique across the message backbone. The health-check service must be disabled to change the port. Modifying this attribute while the object (or the relevant part of the object) is administratively enabled may be service impacting as service_health_check_tls_enabled will be temporarily set to false to apply the change. Changes to this attribute are synchronized to HA mates via config-sync. The default value is `0`. Available since SEMP API version 2.34.", + Type: types.Int64Type, + TerraformType: tftypes.Number, + Converter: broker.IntegerConverter{}, + Int64Validators: []validator.Int64{ + int64validator.Between(0, 65535), + }, + Default: 0, + }, { BaseType: broker.Bool, SempName: "serviceMqttEnabled", TerraformName: "service_mqtt_enabled", - MarkdownDescription: "Enable or disable the MQTT service. When disabled new MQTT Clients may not connect through the per-VPN MQTT listen-ports, and all currently connected MQTT Clients are immediately disconnected. Changes to this attribute are synchronized to HA mates via config-sync. The default value is `false`. Available since 2.17.", + MarkdownDescription: "Enable or disable the MQTT service. When disabled new MQTT Clients may not connect through the per-VPN MQTT listen-ports, and all currently connected MQTT Clients are immediately disconnected. Changes to this attribute are synchronized to HA mates via config-sync. The default value is `false`. Available since SEMP API version 2.17.", Type: types.BoolType, TerraformType: tftypes.Bool, Converter: broker.SimpleConverter[bool]{TerraformType: tftypes.Bool}, @@ -1360,7 +1420,7 @@ func init() { BaseType: broker.Bool, SempName: "serviceMsgBackboneEnabled", TerraformName: "service_msg_backbone_enabled", - MarkdownDescription: "Enable or disable the msg-backbone service. When disabled new Clients may not connect through global or per-VPN listen-ports, and all currently connected Clients are immediately disconnected. The default value is `true`. Available since 2.17.", + MarkdownDescription: "Enable or disable the msg-backbone service. When disabled new Clients may not connect through global or per-VPN listen-ports, and all currently connected Clients are immediately disconnected. The default value is `true`. Available since SEMP API version 2.17.", Type: types.BoolType, TerraformType: tftypes.Bool, Converter: broker.SimpleConverter[bool]{TerraformType: tftypes.Bool}, @@ -1392,6 +1452,7 @@ func init() { path.MatchRelative().AtParent().AtName("set_value"), ), }, + Default: 60, }, { BaseType: broker.Int64, @@ -1434,6 +1495,7 @@ func init() { path.MatchRelative().AtParent().AtName("set_value"), ), }, + Default: 80, }, { BaseType: broker.Int64, @@ -1462,7 +1524,7 @@ func init() { BaseType: broker.Bool, SempName: "serviceRestIncomingEnabled", TerraformName: "service_rest_incoming_enabled", - MarkdownDescription: "Enable or disable the REST service incoming connections on the router. Changes to this attribute are synchronized to HA mates via config-sync. The default value is `false`. Available since 2.17.", + MarkdownDescription: "Enable or disable the REST service incoming connections on the broker. Changes to this attribute are synchronized to HA mates via config-sync. The default value is `false`. Available since SEMP API version 2.17.", Type: types.BoolType, TerraformType: tftypes.Bool, Converter: broker.SimpleConverter[bool]{TerraformType: tftypes.Bool}, @@ -1472,7 +1534,7 @@ func init() { BaseType: broker.Bool, SempName: "serviceRestOutgoingEnabled", TerraformName: "service_rest_outgoing_enabled", - MarkdownDescription: "Enable or disable the REST service outgoing connections on the router. Changes to this attribute are synchronized to HA mates via config-sync. The default value is `false`. Available since 2.17.", + MarkdownDescription: "Enable or disable the REST service outgoing connections on the broker. Changes to this attribute are synchronized to HA mates via config-sync. The default value is `false`. Available since SEMP API version 2.17.", Type: types.BoolType, TerraformType: tftypes.Bool, Converter: broker.SimpleConverter[bool]{TerraformType: tftypes.Bool}, @@ -1482,7 +1544,7 @@ func init() { BaseType: broker.Bool, SempName: "serviceSempCorsAllowAnyHostEnabled", TerraformName: "service_semp_cors_allow_any_host_enabled", - MarkdownDescription: "Enable or disable cross origin resource requests for the SEMP service. Changes to this attribute are synchronized to HA mates via config-sync. The default value is `true`. Available since 2.24.", + MarkdownDescription: "Enable or disable cross origin resource requests for the SEMP service. Changes to this attribute are synchronized to HA mates via config-sync. The default value is `true`. Available since SEMP API version 2.24.", Type: types.BoolType, TerraformType: tftypes.Bool, Converter: broker.SimpleConverter[bool]{TerraformType: tftypes.Bool}, @@ -1492,7 +1554,7 @@ func init() { BaseType: broker.Bool, SempName: "serviceSempLegacyTimeoutEnabled", TerraformName: "service_semp_legacy_timeout_enabled", - MarkdownDescription: "Enable or disable extended SEMP timeouts for paged GETs. When a request times out, it returns the current page of content, even if the page is not full. When enabled, the timeout is 60 seconds. When disabled, the timeout is 5 seconds. The recommended setting is disabled (no legacy-timeout). This parameter is intended as a temporary workaround to be used until SEMP clients can handle short pages. This setting will be removed in a future release. Changes to this attribute are synchronized to HA mates via config-sync. The default value is `false`. Available since 2.18.", + MarkdownDescription: "Enable or disable extended SEMP timeouts for paged responses. When a request times out, it returns the current page of content, even if the page is not full. When enabled, the timeout is 60 seconds. When disabled, the timeout is 5 seconds. The recommended setting is disabled (no legacy-timeout). This parameter is intended as a temporary workaround to be used until SEMP clients can handle short pages. This setting will be removed in a future release. Changes to this attribute are synchronized to HA mates via config-sync. The default value is `false`. Available since SEMP API version 2.18.", Type: types.BoolType, TerraformType: tftypes.Bool, Converter: broker.SimpleConverter[bool]{TerraformType: tftypes.Bool}, @@ -1502,30 +1564,17 @@ func init() { BaseType: broker.Bool, SempName: "serviceSempPlainTextEnabled", TerraformName: "service_semp_plain_text_enabled", - MarkdownDescription: "Enable or disable plain-text SEMP service. Changes to this attribute are synchronized to HA mates via config-sync. The default value is `true`. Available since 2.17.", + MarkdownDescription: "Enable or disable plain-text SEMP service. Changes to this attribute are synchronized to HA mates via config-sync. The default value is `true`. Available since SEMP API version 2.17.", Type: types.BoolType, TerraformType: tftypes.Bool, Converter: broker.SimpleConverter[bool]{TerraformType: tftypes.Bool}, Default: true, }, - { - BaseType: broker.Int64, - SempName: "serviceSempPlainTextListenPort", - TerraformName: "service_semp_plain_text_listen_port", - MarkdownDescription: "The TCP port for plain-text SEMP client connections. This attribute cannot be cannot be changed while service_semp_plain_text_enabled are set to true. Changes to this attribute are synchronized to HA mates via config-sync. The default value is `80`. Available since 2.17.", - Type: types.Int64Type, - TerraformType: tftypes.Number, - Converter: broker.IntegerConverter{}, - Int64Validators: []validator.Int64{ - int64validator.Between(1, 65535), - }, - Default: 80, - }, { BaseType: broker.Int64, SempName: "serviceSempSessionIdleTimeout", TerraformName: "service_semp_session_idle_timeout", - MarkdownDescription: "The session idle timeout, in minutes. Sessions will be invalidated if there is no activity in this period of time. Changes to this attribute are synchronized to HA mates via config-sync. The default value is `15`. Available since 2.21.", + MarkdownDescription: "The session idle timeout, in minutes. Sessions will be invalidated if there is no activity in this period of time. Changes to this attribute are synchronized to HA mates via config-sync. The default value is `15`. Available since SEMP API version 2.21.", Type: types.Int64Type, TerraformType: tftypes.Number, Converter: broker.IntegerConverter{}, @@ -1538,7 +1587,7 @@ func init() { BaseType: broker.Int64, SempName: "serviceSempSessionMaxLifetime", TerraformName: "service_semp_session_max_lifetime", - MarkdownDescription: "The maximum lifetime of a session, in minutes. Sessions will be invalidated after this period of time, regardless of activity. Changes to this attribute are synchronized to HA mates via config-sync. The default value is `43200`. Available since 2.21.", + MarkdownDescription: "The maximum lifetime of a session, in minutes. Sessions will be invalidated after this period of time, regardless of activity. Changes to this attribute are synchronized to HA mates via config-sync. The default value is `43200`. Available since SEMP API version 2.21.", Type: types.Int64Type, TerraformType: tftypes.Number, Converter: broker.IntegerConverter{}, @@ -1551,30 +1600,17 @@ func init() { BaseType: broker.Bool, SempName: "serviceSempTlsEnabled", TerraformName: "service_semp_tls_enabled", - MarkdownDescription: "Enable or disable TLS SEMP service. Changes to this attribute are synchronized to HA mates via config-sync. The default value is `true`. Available since 2.17.", + MarkdownDescription: "Enable or disable TLS SEMP service. Changes to this attribute are synchronized to HA mates via config-sync. The default value is `true`. Available since SEMP API version 2.17.", Type: types.BoolType, TerraformType: tftypes.Bool, Converter: broker.SimpleConverter[bool]{TerraformType: tftypes.Bool}, Default: true, }, - { - BaseType: broker.Int64, - SempName: "serviceSempTlsListenPort", - TerraformName: "service_semp_tls_listen_port", - MarkdownDescription: "The TCP port for TLS SEMP client connections. This attribute cannot be cannot be changed while service_semp_tls_enabled are set to true. Changes to this attribute are synchronized to HA mates via config-sync. The default value is `1943`. Available since 2.17.", - Type: types.Int64Type, - TerraformType: tftypes.Number, - Converter: broker.IntegerConverter{}, - Int64Validators: []validator.Int64{ - int64validator.Between(1, 65535), - }, - Default: 1943, - }, { BaseType: broker.Int64, SempName: "serviceSmfCompressionListenPort", TerraformName: "service_smf_compression_listen_port", - MarkdownDescription: "TCP port number that SMF clients can use to connect to the broker using raw compression TCP. Modifying this attribute while the object (or the relevant part of the object) is administratively enabled may be service impacting as service_smf_enabled will be temporarily set to false to apply the change. The default value is `55003`. Available since 2.17.", + MarkdownDescription: "TCP port number that SMF clients can use to connect to the broker using raw compression TCP. Modifying this attribute while the object (or the relevant part of the object) is administratively enabled may be service impacting as service_smf_enabled will be temporarily set to false to apply the change. The default value is `55003`. Available since SEMP API version 2.17.", Type: types.Int64Type, TerraformType: tftypes.Number, Converter: broker.IntegerConverter{}, @@ -1587,7 +1623,7 @@ func init() { BaseType: broker.Bool, SempName: "serviceSmfEnabled", TerraformName: "service_smf_enabled", - MarkdownDescription: "Enable or disable the SMF service. When disabled new SMF Clients may not connect through the global listen-ports, and all currently connected SMF Clients are immediately disconnected. The default value is `true`. Available since 2.17.", + MarkdownDescription: "Enable or disable the SMF service. When disabled new SMF Clients may not connect through the global listen-ports, and all currently connected SMF Clients are immediately disconnected. The default value is `true`. Available since SEMP API version 2.17.", Type: types.BoolType, TerraformType: tftypes.Bool, Converter: broker.SimpleConverter[bool]{TerraformType: tftypes.Bool}, @@ -1619,6 +1655,7 @@ func init() { path.MatchRelative().AtParent().AtName("set_value"), ), }, + Default: 60, }, { BaseType: broker.Int64, @@ -1661,6 +1698,7 @@ func init() { path.MatchRelative().AtParent().AtName("set_value"), ), }, + Default: 80, }, { BaseType: broker.Int64, @@ -1689,7 +1727,7 @@ func init() { BaseType: broker.Int64, SempName: "serviceSmfPlainTextListenPort", TerraformName: "service_smf_plain_text_listen_port", - MarkdownDescription: "TCP port number that SMF clients can use to connect to the broker using raw TCP. Modifying this attribute while the object (or the relevant part of the object) is administratively enabled may be service impacting as service_smf_enabled will be temporarily set to false to apply the change. The default value is `55555`. Available since 2.17.", + MarkdownDescription: "TCP port number that SMF clients can use to connect to the broker using raw TCP. Modifying this attribute while the object (or the relevant part of the object) is administratively enabled may be service impacting as service_smf_enabled will be temporarily set to false to apply the change. The default value is `55555`. Available since SEMP API version 2.17.", Type: types.Int64Type, TerraformType: tftypes.Number, Converter: broker.IntegerConverter{}, @@ -1702,7 +1740,7 @@ func init() { BaseType: broker.Int64, SempName: "serviceSmfRoutingControlListenPort", TerraformName: "service_smf_routing_control_listen_port", - MarkdownDescription: "TCP port number that SMF clients can use to connect to the broker using raw routing control TCP. Modifying this attribute while the object (or the relevant part of the object) is administratively enabled may be service impacting as service_smf_enabled will be temporarily set to false to apply the change. The default value is `55556`. Available since 2.17.", + MarkdownDescription: "TCP port number that SMF clients can use to connect to the broker using raw routing control TCP. Modifying this attribute while the object (or the relevant part of the object) is administratively enabled may be service impacting as service_smf_enabled will be temporarily set to false to apply the change. The default value is `55556`. Available since SEMP API version 2.17.", Type: types.Int64Type, TerraformType: tftypes.Number, Converter: broker.IntegerConverter{}, @@ -1715,7 +1753,7 @@ func init() { BaseType: broker.Int64, SempName: "serviceSmfTlsListenPort", TerraformName: "service_smf_tls_listen_port", - MarkdownDescription: "TCP port number that SMF clients can use to connect to the broker using raw TCP over TLS. Modifying this attribute while the object (or the relevant part of the object) is administratively enabled may be service impacting as service_smf_enabled will be temporarily set to false to apply the change. The default value is `55443`. Available since 2.17.", + MarkdownDescription: "TCP port number that SMF clients can use to connect to the broker using raw TCP over TLS. Modifying this attribute while the object (or the relevant part of the object) is administratively enabled may be service impacting as service_smf_enabled will be temporarily set to false to apply the change. The default value is `55443`. Available since SEMP API version 2.17.", Type: types.Int64Type, TerraformType: tftypes.Number, Converter: broker.IntegerConverter{}, @@ -1750,6 +1788,7 @@ func init() { path.MatchRelative().AtParent().AtName("set_value"), ), }, + Default: 60, }, { BaseType: broker.Int64, @@ -1792,6 +1831,7 @@ func init() { path.MatchRelative().AtParent().AtName("set_value"), ), }, + Default: 80, }, { BaseType: broker.Int64, @@ -1820,7 +1860,7 @@ func init() { BaseType: broker.Bool, SempName: "serviceWebTransportEnabled", TerraformName: "service_web_transport_enabled", - MarkdownDescription: "Enable or disable the web-transport service. When disabled new web-transport Clients may not connect through the global listen-ports, and all currently connected web-transport Clients are immediately disconnected. Changes to this attribute are synchronized to HA mates via config-sync. The default value is `false`. Available since 2.17.", + MarkdownDescription: "Enable or disable the web-transport service. When disabled new web-transport Clients may not connect through the global listen-ports, and all currently connected web-transport Clients are immediately disconnected. Changes to this attribute are synchronized to HA mates via config-sync. The default value is `false`. Available since SEMP API version 2.17.", Type: types.BoolType, TerraformType: tftypes.Bool, Converter: broker.SimpleConverter[bool]{TerraformType: tftypes.Bool}, @@ -1830,7 +1870,7 @@ func init() { BaseType: broker.Int64, SempName: "serviceWebTransportPlainTextListenPort", TerraformName: "service_web_transport_plain_text_listen_port", - MarkdownDescription: "The TCP port for plain-text WEB client connections. Modifying this attribute while the object (or the relevant part of the object) is administratively enabled may be service impacting as service_web_transport_enabled will be temporarily set to false to apply the change. Changes to this attribute are synchronized to HA mates via config-sync. The default value is `80`. Available since 2.17.", + MarkdownDescription: "The TCP port for plain-text WEB client connections. Modifying this attribute while the object (or the relevant part of the object) is administratively enabled may be service impacting as service_web_transport_enabled will be temporarily set to false to apply the change. Changes to this attribute are synchronized to HA mates via config-sync. The default value is `80`. Available since SEMP API version 2.17.", Type: types.Int64Type, TerraformType: tftypes.Number, Converter: broker.IntegerConverter{}, @@ -1843,7 +1883,7 @@ func init() { BaseType: broker.Int64, SempName: "serviceWebTransportTlsListenPort", TerraformName: "service_web_transport_tls_listen_port", - MarkdownDescription: "The TCP port for TLS WEB client connections. Modifying this attribute while the object (or the relevant part of the object) is administratively enabled may be service impacting as service_web_transport_enabled will be temporarily set to false to apply the change. Changes to this attribute are synchronized to HA mates via config-sync. The default value is `443`. Available since 2.17.", + MarkdownDescription: "The TCP port for TLS WEB client connections. Modifying this attribute while the object (or the relevant part of the object) is administratively enabled may be service impacting as service_web_transport_enabled will be temporarily set to false to apply the change. Changes to this attribute are synchronized to HA mates via config-sync. The default value is `443`. Available since SEMP API version 2.17.", Type: types.Int64Type, TerraformType: tftypes.Number, Converter: broker.IntegerConverter{}, @@ -1856,7 +1896,7 @@ func init() { BaseType: broker.String, SempName: "serviceWebTransportWebUrlSuffix", TerraformName: "service_web_transport_web_url_suffix", - MarkdownDescription: "Used to specify the Web URL suffix that will be used by Web clients when communicating with the broker. Modifying this attribute while the object (or the relevant part of the object) is administratively enabled may be service impacting as service_web_transport_enabled will be temporarily set to false to apply the change. The default value is `\"\"`. Available since 2.17.", + MarkdownDescription: "Used to specify the Web URL suffix that will be used by Web clients when communicating with the broker. Modifying this attribute while the object (or the relevant part of the object) is administratively enabled may be service impacting as service_web_transport_enabled will be temporarily set to false to apply the change. The default value is `\"\"`. Available since SEMP API version 2.17.", Type: types.StringType, TerraformType: tftypes.String, Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, @@ -1938,7 +1978,7 @@ func init() { BaseType: broker.String, SempName: "tlsServerCertContent", TerraformName: "tls_server_cert_content", - MarkdownDescription: "The PEM formatted content for the server certificate used for TLS connections. It must consist of a private key and between one and three certificates comprising the certificate trust chain. This attribute is absent from a GET and not updated when absent in a PUT, subject to the exceptions in note 4. Changing this attribute requires an HTTPS connection. The default value is `\"\"`.", + MarkdownDescription: "The PEM formatted content for the server certificate used for TLS connections. It must consist of a private key and between one and three certificates comprising the certificate trust chain. This attribute is absent from a GET and not updated when absent in a PUT, subject to the exceptions in note 4 (refer to the `Notes` section in the SEMP API `Config reference`). The default value is `\"\"`.", Sensitive: true, Type: types.StringType, TerraformType: tftypes.String, @@ -1952,7 +1992,7 @@ func init() { BaseType: broker.String, SempName: "tlsServerCertPassword", TerraformName: "tls_server_cert_password", - MarkdownDescription: "The password for the server certificate used for TLS connections. This attribute is absent from a GET and not updated when absent in a PUT, subject to the exceptions in note 4. Changing this attribute requires an HTTPS connection. The default value is `\"\"`.", + MarkdownDescription: "The password for the server certificate used for TLS connections. This attribute is absent from a GET and not updated when absent in a PUT, subject to the exceptions in note 4 (refer to the `Notes` section in the SEMP API `Config reference`). The default value is `\"\"`.", Sensitive: true, Requires: []string{"tls_server_cert_content"}, Type: types.StringType, @@ -1962,7 +2002,7 @@ func init() { stringvalidator.AlsoRequires( path.MatchRelative().AtParent().AtName("tls_server_cert_content"), ), - stringvalidator.LengthBetween(0, 32768), + stringvalidator.LengthBetween(0, 512), }, Default: "", }, @@ -1970,7 +2010,7 @@ func init() { BaseType: broker.Bool, SempName: "tlsStandardDomainCertificateAuthoritiesEnabled", TerraformName: "tls_standard_domain_certificate_authorities_enabled", - MarkdownDescription: "Enable or disable the standard domain certificate authority list. The default value is `true`. Available since 2.19.", + MarkdownDescription: "Enable or disable the standard domain certificate authority list. The default value is `true`. Available since SEMP API version 2.19.", Type: types.BoolType, TerraformType: tftypes.Bool, Converter: broker.SimpleConverter[bool]{TerraformType: tftypes.Bool}, @@ -1993,7 +2033,7 @@ func init() { BaseType: broker.Bool, SempName: "webManagerAllowUnencryptedWizardsEnabled", TerraformName: "web_manager_allow_unencrypted_wizards_enabled", - MarkdownDescription: "Enable or disable the use of unencrypted wizards in the Web-based Manager UI. This setting should be left at its default on all production systems or other systems that need to be secure. Enabling this option will permit the broker to forward plain-text data to other brokers, making important information or credentials available for snooping. Changes to this attribute are synchronized to HA mates via config-sync. The default value is `false`. Available since 2.28.", + MarkdownDescription: "Enable or disable the use of unencrypted wizards in the Web-based Manager UI. This setting should be left at its default on all production systems or other systems that need to be secure. Enabling this option will permit the broker to forward plain-text data to other brokers, making important information or credentials available for snooping. Changes to this attribute are synchronized to HA mates via config-sync. The default value is `false`. Available since SEMP API version 2.28.", Type: types.BoolType, TerraformType: tftypes.Bool, Converter: broker.SimpleConverter[bool]{TerraformType: tftypes.Bool}, @@ -2003,7 +2043,7 @@ func init() { BaseType: broker.String, SempName: "webManagerCustomization", TerraformName: "web_manager_customization", - MarkdownDescription: "Reserved for internal use by Solace. Changes to this attribute are synchronized to HA mates via config-sync. The default value is `\"\"`. Available since 2.25.", + MarkdownDescription: "Reserved for internal use by Solace. Changes to this attribute are synchronized to HA mates via config-sync. The default value is `\"\"`. Available since SEMP API version 2.25.", Type: types.StringType, TerraformType: tftypes.String, Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, @@ -2016,7 +2056,7 @@ func init() { BaseType: broker.Bool, SempName: "webManagerRedirectHttpEnabled", TerraformName: "web_manager_redirect_http_enabled", - MarkdownDescription: "Enable or disable redirection of HTTP requests for the broker manager to HTTPS. Changes to this attribute are synchronized to HA mates via config-sync. The default value is `true`. Available since 2.24.", + MarkdownDescription: "Enable or disable redirection of HTTP requests for the broker manager to HTTPS. Changes to this attribute are synchronized to HA mates via config-sync. The default value is `true`. Available since SEMP API version 2.24.", Type: types.BoolType, TerraformType: tftypes.Bool, Converter: broker.SimpleConverter[bool]{TerraformType: tftypes.Bool}, @@ -2026,7 +2066,7 @@ func init() { BaseType: broker.Int64, SempName: "webManagerRedirectHttpOverrideTlsPort", TerraformName: "web_manager_redirect_http_override_tls_port", - MarkdownDescription: "The HTTPS port that HTTP requests will be redirected towards in a HTTP 301 redirect response. Zero is a special value that means use the value specified for the SEMP TLS port value. Changes to this attribute are synchronized to HA mates via config-sync. The default value is `0`. Available since 2.24.", + MarkdownDescription: "The HTTPS port that HTTP requests will be redirected towards in a HTTP 301 redirect response. Zero is a special value that means use the value specified for the SEMP TLS port value. Changes to this attribute are synchronized to HA mates via config-sync. The default value is `0`. Available since SEMP API version 2.24.", Type: types.Int64Type, TerraformType: tftypes.Number, Converter: broker.IntegerConverter{}, diff --git a/internal/broker/generated/CertAuthority.go b/internal/broker/generated/CertAuthority.go deleted file mode 100644 index 2f40f74..0000000 --- a/internal/broker/generated/CertAuthority.go +++ /dev/null @@ -1,174 +0,0 @@ -// terraform-provider-solacebroker -// -// Copyright 2023 Solace Corporation. All rights reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -package generated - -import ( - "github.com/hashicorp/terraform-plugin-framework-validators/int64validator" - "github.com/hashicorp/terraform-plugin-framework-validators/stringvalidator" - "github.com/hashicorp/terraform-plugin-framework/path" - "github.com/hashicorp/terraform-plugin-framework/schema/validator" - "github.com/hashicorp/terraform-plugin-framework/types" - "github.com/hashicorp/terraform-plugin-go/tftypes" - "regexp" - "terraform-provider-solacebroker/internal/broker" -) - -func init() { - info := broker.EntityInputs{ - TerraformName: "cert_authority", - MarkdownDescription: "Clients can authenticate with the message broker over TLS by presenting a valid client certificate. The message broker authenticates the client certificate by constructing a full certificate chain (from the client certificate to intermediate CAs to a configured root CA). The intermediate CAs in this chain can be provided by the client, or configured in the message broker. The root CA must be configured on the message broker.\n\n\nAttribute|Identifying|Write-Only|Deprecated|Opaque\n:---|:---:|:---:|:---:|:---:\ncert_authority_name|x||x|\ncert_content|||x|\ncrl_day_list|||x|\ncrl_time_list|||x|\ncrl_url|||x|\nocsp_non_responder_cert_enabled|||x|\nocsp_override_url|||x|\nocsp_timeout|||x|\nrevocation_check_enabled|||x|\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"global/read-only\" is required to perform this operation.\n\nThis has been deprecated since 2.19. Replaced by clientCertAuthorities and domainCertAuthorities.", - ObjectType: broker.StandardObject, - PathTemplate: "/certAuthorities/{certAuthorityName}", - Version: 0, - Attributes: []*broker.AttributeInfo{ - { - BaseType: broker.String, - SempName: "certAuthorityName", - TerraformName: "cert_authority_name", - MarkdownDescription: "The name of the Certificate Authority. Deprecated since 2.19. Replaced by clientCertAuthorities and domainCertAuthorities.", - Identifying: true, - Required: true, - RequiresReplace: true, - Deprecated: true, - Type: types.StringType, - TerraformType: tftypes.String, - Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, - StringValidators: []validator.String{ - stringvalidator.LengthBetween(1, 64), - }, - }, - { - BaseType: broker.String, - SempName: "certContent", - TerraformName: "cert_content", - MarkdownDescription: "The PEM formatted content for the trusted root certificate of a Certificate Authority. Changes to this attribute are synchronized to HA mates via config-sync. The default value is `\"\"`. Deprecated since 2.19. certAuthorities replaced by clientCertAuthorities and domainCertAuthorities.", - Deprecated: true, - Type: types.StringType, - TerraformType: tftypes.String, - Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, - StringValidators: []validator.String{ - stringvalidator.LengthBetween(0, 32768), - }, - Default: "", - }, - { - BaseType: broker.String, - SempName: "crlDayList", - TerraformName: "crl_day_list", - MarkdownDescription: "The scheduled CRL refresh day(s), specified as \"daily\" or a comma-separated list of days. Days must be specified as \"Sun\", \"Mon\", \"Tue\", \"Wed\", \"Thu\", \"Fri\", or \"Sat\", with no spaces, and in sorted order from Sunday to Saturday. Changes to this attribute are synchronized to HA mates via config-sync. The default value is `\"daily\"`. Deprecated since 2.19. certAuthorities replaced by clientCertAuthorities and domainCertAuthorities.", - Deprecated: true, - Requires: []string{"crl_time_list"}, - Type: types.StringType, - TerraformType: tftypes.String, - Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, - StringValidators: []validator.String{ - stringvalidator.AlsoRequires( - path.MatchRelative().AtParent().AtName("crl_time_list"), - ), - stringvalidator.LengthBetween(0, 100), - }, - Default: "daily", - }, - { - BaseType: broker.String, - SempName: "crlTimeList", - TerraformName: "crl_time_list", - MarkdownDescription: "The scheduled CRL refresh time(s), specified as \"hourly\" or a comma-separated list of 24-hour times in the form hh:mm, or h:mm. There must be no spaces, and times must be in sorted order from 0:00 to 23:59. Changes to this attribute are synchronized to HA mates via config-sync. The default value is `\"3:00\"`. Deprecated since 2.19. certAuthorities replaced by clientCertAuthorities and domainCertAuthorities.", - Deprecated: true, - Requires: []string{"crl_day_list"}, - Type: types.StringType, - TerraformType: tftypes.String, - Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, - StringValidators: []validator.String{ - stringvalidator.AlsoRequires( - path.MatchRelative().AtParent().AtName("crl_day_list"), - ), - stringvalidator.LengthBetween(0, 100), - }, - Default: "3:00", - }, - { - BaseType: broker.String, - SempName: "crlUrl", - TerraformName: "crl_url", - MarkdownDescription: "The URL for the CRL source. This is a required attribute for CRL to be operational and the URL must be complete with http:// included. IPv6 addresses must be enclosed in square-brackets. Modifying this attribute while the object (or the relevant part of the object) is administratively enabled may be service impacting as revocation_check_enabled will be temporarily set to false to apply the change. Changes to this attribute are synchronized to HA mates via config-sync. The default value is `\"\"`. Deprecated since 2.19. certAuthorities replaced by clientCertAuthorities and domainCertAuthorities.", - Deprecated: true, - Type: types.StringType, - TerraformType: tftypes.String, - Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, - StringValidators: []validator.String{ - stringvalidator.LengthBetween(0, 2048), - stringvalidator.RegexMatches(regexp.MustCompile("^(.+://.+)?$"), ""), - }, - Default: "", - }, - { - BaseType: broker.Bool, - SempName: "ocspNonResponderCertEnabled", - TerraformName: "ocsp_non_responder_cert_enabled", - MarkdownDescription: "Enable or disable allowing a non-responder certificate to sign an OCSP response. Typically used with an OCSP override URL in cases where a single certificate is used to sign client certificates and OCSP responses. Changes to this attribute are synchronized to HA mates via config-sync. The default value is `false`. Deprecated since 2.19. certAuthorities replaced by clientCertAuthorities and domainCertAuthorities.", - Deprecated: true, - Type: types.BoolType, - TerraformType: tftypes.Bool, - Converter: broker.SimpleConverter[bool]{TerraformType: tftypes.Bool}, - Default: false, - }, - { - BaseType: broker.String, - SempName: "ocspOverrideUrl", - TerraformName: "ocsp_override_url", - MarkdownDescription: "The OCSP responder URL to use for overriding the one supplied in the client certificate. The URL must be complete with http:// included. Changes to this attribute are synchronized to HA mates via config-sync. The default value is `\"\"`. Deprecated since 2.19. certAuthorities replaced by clientCertAuthorities and domainCertAuthorities.", - Deprecated: true, - Type: types.StringType, - TerraformType: tftypes.String, - Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, - StringValidators: []validator.String{ - stringvalidator.LengthBetween(0, 2048), - stringvalidator.RegexMatches(regexp.MustCompile("^((.|..|...|....|[^h]....|.[^t]...|..[^t]..|...[^p].|....[^s]|.......*)://.+)?$"), ""), - }, - Default: "", - }, - { - BaseType: broker.Int64, - SempName: "ocspTimeout", - TerraformName: "ocsp_timeout", - MarkdownDescription: "The timeout in seconds to receive a response from the OCSP responder after sending a request or making the initial connection attempt. Changes to this attribute are synchronized to HA mates via config-sync. The default value is `5`. Deprecated since 2.19. certAuthorities replaced by clientCertAuthorities and domainCertAuthorities.", - Deprecated: true, - Type: types.Int64Type, - TerraformType: tftypes.Number, - Converter: broker.IntegerConverter{}, - Int64Validators: []validator.Int64{ - int64validator.Between(1, 86400), - }, - Default: 5, - }, - { - BaseType: broker.Bool, - SempName: "revocationCheckEnabled", - TerraformName: "revocation_check_enabled", - MarkdownDescription: "Enable or disable Certificate Authority revocation checking. Changes to this attribute are synchronized to HA mates via config-sync. The default value is `false`. Deprecated since 2.19. certAuthorities replaced by clientCertAuthorities and domainCertAuthorities.", - Deprecated: true, - Type: types.BoolType, - TerraformType: tftypes.Bool, - Converter: broker.SimpleConverter[bool]{TerraformType: tftypes.Bool}, - Default: false, - }, - }, - } - broker.RegisterResource(info) - broker.RegisterDataSource(info) -} diff --git a/internal/broker/generated/CertAuthorityOcspTlsTrustedCommonName.go b/internal/broker/generated/CertAuthorityOcspTlsTrustedCommonName.go deleted file mode 100644 index d73fad3..0000000 --- a/internal/broker/generated/CertAuthorityOcspTlsTrustedCommonName.go +++ /dev/null @@ -1,73 +0,0 @@ -// terraform-provider-solacebroker -// -// Copyright 2023 Solace Corporation. All rights reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -package generated - -import ( - "github.com/hashicorp/terraform-plugin-framework-validators/stringvalidator" - "github.com/hashicorp/terraform-plugin-framework/schema/validator" - "github.com/hashicorp/terraform-plugin-framework/types" - "github.com/hashicorp/terraform-plugin-go/tftypes" - "terraform-provider-solacebroker/internal/broker" -) - -func init() { - info := broker.EntityInputs{ - TerraformName: "cert_authority_ocsp_tls_trusted_common_name", - MarkdownDescription: "When an OCSP override URL is configured, the OCSP responder will be required to sign the OCSP responses with certificates issued to these Trusted Common Names. A maximum of 8 common names can be configured as valid response signers.\n\n\nAttribute|Identifying|Write-Only|Deprecated|Opaque\n:---|:---:|:---:|:---:|:---:\ncert_authority_name|x||x|\nocsp_tls_trusted_common_name|x||x|\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"global/read-only\" is required to perform this operation.\n\nThis has been deprecated since 2.19. Replaced by clientCertAuthorities.", - ObjectType: broker.ReplaceOnlyObject, - PathTemplate: "/certAuthorities/{certAuthorityName}/ocspTlsTrustedCommonNames/{ocspTlsTrustedCommonName}", - PostPathTemplate: "/certAuthorities/{certAuthorityName}/ocspTlsTrustedCommonNames", - Version: 0, - Attributes: []*broker.AttributeInfo{ - { - BaseType: broker.String, - SempName: "certAuthorityName", - TerraformName: "cert_authority_name", - MarkdownDescription: "The name of the Certificate Authority. Deprecated since 2.19. Replaced by clientCertAuthorities.", - Identifying: true, - Required: true, - ReadOnly: true, - RequiresReplace: true, - Deprecated: true, - Type: types.StringType, - TerraformType: tftypes.String, - Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, - StringValidators: []validator.String{ - stringvalidator.LengthBetween(1, 64), - }, - }, - { - BaseType: broker.String, - SempName: "ocspTlsTrustedCommonName", - TerraformName: "ocsp_tls_trusted_common_name", - MarkdownDescription: "The expected Trusted Common Name of the OCSP responder remote certificate. Deprecated since 2.19. Replaced by clientCertAuthorities.", - Identifying: true, - Required: true, - RequiresReplace: true, - Deprecated: true, - Type: types.StringType, - TerraformType: tftypes.String, - Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, - StringValidators: []validator.String{ - stringvalidator.LengthBetween(1, 64), - }, - }, - }, - } - broker.RegisterResource(info) - broker.RegisterDataSource(info) -} diff --git a/internal/broker/generated/ClientCertAuthority.go b/internal/broker/generated/ClientCertAuthority.go index b10a531..09b6041 100644 --- a/internal/broker/generated/ClientCertAuthority.go +++ b/internal/broker/generated/ClientCertAuthority.go @@ -30,11 +30,20 @@ import ( func init() { info := broker.EntityInputs{ TerraformName: "client_cert_authority", - MarkdownDescription: "Clients can authenticate with the message broker over TLS by presenting a valid client certificate. The message broker authenticates the client certificate by constructing a full certificate chain (from the client certificate to intermediate CAs to a configured root CA). The intermediate CAs in this chain can be provided by the client, or configured in the message broker. The root CA must be configured on the message broker.\n\n\nAttribute|Identifying|Write-Only|Deprecated|Opaque\n:---|:---:|:---:|:---:|:---:\ncert_authority_name|x|||\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"global/read-only\" is required to perform this operation.\n\nThis has been available since 2.19.", + MarkdownDescription: "Clients can authenticate with the message broker over TLS by presenting a valid client certificate. The message broker authenticates the client certificate by constructing a full certificate chain (from the client certificate to intermediate CAs to a configured root CA). The intermediate CAs in this chain can be provided by the client, or configured in the message broker. The root CA must be configured on the message broker.\n\n\nAttribute|Identifying\n:---|:---:\ncert_authority_name|x\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"global/read-only\" is required to perform this operation.\n\nThis has been available since SEMP API version 2.19.", ObjectType: broker.StandardObject, PathTemplate: "/clientCertAuthorities/{certAuthorityName}", Version: 0, Attributes: []*broker.AttributeInfo{ + { + BaseType: broker.String, + SempName: "id", + TerraformName: "id", + Type: types.StringType, + TerraformType: tftypes.String, + Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, + Default: "", + }, { BaseType: broker.String, SempName: "certAuthorityName", @@ -48,6 +57,7 @@ func init() { Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, StringValidators: []validator.String{ stringvalidator.LengthBetween(1, 64), + stringvalidator.RegexMatches(regexp.MustCompile("^[A-Za-z0-9_\\-.]+$"), ""), }, }, { diff --git a/internal/broker/generated/ClientCertAuthorityOcspTlsTrustedCommonName.go b/internal/broker/generated/ClientCertAuthorityOcspTlsTrustedCommonName.go index d94ca5f..7e9f7c1 100644 --- a/internal/broker/generated/ClientCertAuthorityOcspTlsTrustedCommonName.go +++ b/internal/broker/generated/ClientCertAuthorityOcspTlsTrustedCommonName.go @@ -21,18 +21,28 @@ import ( "github.com/hashicorp/terraform-plugin-framework/schema/validator" "github.com/hashicorp/terraform-plugin-framework/types" "github.com/hashicorp/terraform-plugin-go/tftypes" + "regexp" "terraform-provider-solacebroker/internal/broker" ) func init() { info := broker.EntityInputs{ TerraformName: "client_cert_authority_ocsp_tls_trusted_common_name", - MarkdownDescription: "When an OCSP override URL is configured, the OCSP responder will be required to sign the OCSP responses with certificates issued to these Trusted Common Names. A maximum of 8 common names can be configured as valid response signers.\n\n\nAttribute|Identifying|Write-Only|Deprecated|Opaque\n:---|:---:|:---:|:---:|:---:\ncert_authority_name|x|||\nocsp_tls_trusted_common_name|x|||\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"global/read-only\" is required to perform this operation.\n\nThis has been available since 2.19.", + MarkdownDescription: "When an OCSP override URL is configured, the OCSP responder will be required to sign the OCSP responses with certificates issued to these Trusted Common Names. A maximum of 8 common names can be configured as valid response signers.\n\n\nAttribute|Identifying\n:---|:---:\ncert_authority_name|x\nocsp_tls_trusted_common_name|x\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"global/read-only\" is required to perform this operation.\n\nThis has been available since SEMP API version 2.19.", ObjectType: broker.ReplaceOnlyObject, PathTemplate: "/clientCertAuthorities/{certAuthorityName}/ocspTlsTrustedCommonNames/{ocspTlsTrustedCommonName}", PostPathTemplate: "/clientCertAuthorities/{certAuthorityName}/ocspTlsTrustedCommonNames", Version: 0, Attributes: []*broker.AttributeInfo{ + { + BaseType: broker.String, + SempName: "id", + TerraformName: "id", + Type: types.StringType, + TerraformType: tftypes.String, + Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, + Default: "", + }, { BaseType: broker.String, SempName: "certAuthorityName", @@ -47,6 +57,7 @@ func init() { Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, StringValidators: []validator.String{ stringvalidator.LengthBetween(1, 64), + stringvalidator.RegexMatches(regexp.MustCompile("^[A-Za-z0-9_\\-.]+$"), ""), }, }, { diff --git a/internal/broker/generated/DmrCluster.go b/internal/broker/generated/DmrCluster.go index 2fceaa1..f7512b6 100644 --- a/internal/broker/generated/DmrCluster.go +++ b/internal/broker/generated/DmrCluster.go @@ -30,11 +30,20 @@ import ( func init() { info := broker.EntityInputs{ TerraformName: "dmr_cluster", - MarkdownDescription: "A Cluster is a provisioned object on a message broker that contains global DMR configuration parameters.\n\n\nAttribute|Identifying|Write-Only|Deprecated|Opaque\n:---|:---:|:---:|:---:|:---:\nauthentication_basic_password||x||x\nauthentication_client_cert_content||x||x\nauthentication_client_cert_password||x||\ndmr_cluster_name|x|||\ntls_server_cert_enforce_trusted_common_name_enabled|||x|\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"global/read-only\" is required to perform this operation.\n\nThis has been available since 2.11.", + MarkdownDescription: "A Cluster is a provisioned object on a message broker that contains global DMR configuration parameters.\n\n\nAttribute|Identifying|Write-Only|Deprecated|Opaque\n:---|:---:|:---:|:---:|:---:\nauthentication_basic_password||x||x\nauthentication_client_cert_content||x||x\nauthentication_client_cert_password||x||\ndmr_cluster_name|x|||\ntls_server_cert_enforce_trusted_common_name_enabled|||x|\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"global/read-only\" is required to perform this operation.\n\nThis has been available since SEMP API version 2.11.", ObjectType: broker.StandardObject, PathTemplate: "/dmrClusters/{dmrClusterName}", Version: 0, Attributes: []*broker.AttributeInfo{ + { + BaseType: broker.String, + SempName: "id", + TerraformName: "id", + Type: types.StringType, + TerraformType: tftypes.String, + Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, + Default: "", + }, { BaseType: broker.Bool, SempName: "authenticationBasicEnabled", @@ -49,7 +58,7 @@ func init() { BaseType: broker.String, SempName: "authenticationBasicPassword", TerraformName: "authentication_basic_password", - MarkdownDescription: "The password used to authenticate incoming Cluster Links when using basic internal authentication. The same password is also used by outgoing Cluster Links if a per-Link password is not configured. This attribute is absent from a GET and not updated when absent in a PUT, subject to the exceptions in note 4. Modifying this attribute while the object (or the relevant part of the object) is administratively enabled may be service impacting as enabled will be temporarily set to false to apply the change. Changes to this attribute are synchronized to HA mates via config-sync. The default value is `\"\"`.", + MarkdownDescription: "The password used to authenticate incoming Cluster Links when using basic internal authentication. The same password is also used by outgoing Cluster Links if a per-Link password is not configured. This attribute is absent from a GET and not updated when absent in a PUT, subject to the exceptions in note 4 (refer to the `Notes` section in the SEMP API `Config reference`). Modifying this attribute while the object (or the relevant part of the object) is administratively enabled may be service impacting as enabled will be temporarily set to false to apply the change. Changes to this attribute are synchronized to HA mates via config-sync. The default value is `\"\"`.", Sensitive: true, Type: types.StringType, TerraformType: tftypes.String, @@ -76,7 +85,7 @@ func init() { BaseType: broker.String, SempName: "authenticationClientCertContent", TerraformName: "authentication_client_cert_content", - MarkdownDescription: "The PEM formatted content for the client certificate used to login to the remote node. It must consist of a private key and between one and three certificates comprising the certificate trust chain. This attribute is absent from a GET and not updated when absent in a PUT, subject to the exceptions in note 4. Changing this attribute requires an HTTPS connection. Modifying this attribute while the object (or the relevant part of the object) is administratively enabled may be service impacting as enabled will be temporarily set to false to apply the change. The default value is `\"\"`.", + MarkdownDescription: "The PEM formatted content for the client certificate used to login to the remote node. It must consist of a private key and between one and three certificates comprising the certificate trust chain. This attribute is absent from a GET and not updated when absent in a PUT, subject to the exceptions in note 4 (refer to the `Notes` section in the SEMP API `Config reference`). Modifying this attribute while the object (or the relevant part of the object) is administratively enabled may be service impacting as enabled will be temporarily set to false to apply the change. The default value is `\"\"`.", Sensitive: true, Type: types.StringType, TerraformType: tftypes.String, @@ -100,7 +109,7 @@ func init() { BaseType: broker.String, SempName: "authenticationClientCertPassword", TerraformName: "authentication_client_cert_password", - MarkdownDescription: "The password for the client certificate. This attribute is absent from a GET and not updated when absent in a PUT, subject to the exceptions in note 4. Changing this attribute requires an HTTPS connection. Modifying this attribute while the object (or the relevant part of the object) is administratively enabled may be service impacting as enabled will be temporarily set to false to apply the change. The default value is `\"\"`.", + MarkdownDescription: "The password for the client certificate. This attribute is absent from a GET and not updated when absent in a PUT, subject to the exceptions in note 4 (refer to the `Notes` section in the SEMP API `Config reference`). Modifying this attribute while the object (or the relevant part of the object) is administratively enabled may be service impacting as enabled will be temporarily set to false to apply the change. The default value is `\"\"`.", Sensitive: true, Requires: []string{"authentication_client_cert_content"}, Type: types.StringType, @@ -110,7 +119,7 @@ func init() { stringvalidator.AlsoRequires( path.MatchRelative().AtParent().AtName("authentication_client_cert_content"), ), - stringvalidator.LengthBetween(0, 32768), + stringvalidator.LengthBetween(0, 512), }, Default: "", }, @@ -165,17 +174,6 @@ func init() { stringvalidator.RegexMatches(regexp.MustCompile("^[^*?'<>&/]+$"), ""), }, }, - { - BaseType: broker.Bool, - SempName: "tlsServerCertEnforceTrustedCommonNameEnabled", - TerraformName: "tls_server_cert_enforce_trusted_common_name_enabled", - MarkdownDescription: "Enable or disable the enforcing of the common name provided by the remote broker against the list of trusted common names configured for the Link. If enabled, the certificate's common name must match one of the trusted common names for the Link to be accepted. Common Name validation is not performed if Server Certificate Name Validation is enabled, even if Common Name validation is enabled. Changes to this attribute are synchronized to HA mates via config-sync. The default value is `false`. Deprecated since 2.18. Common Name validation has been replaced by Server Certificate Name validation.", - Deprecated: true, - Type: types.BoolType, - TerraformType: tftypes.Bool, - Converter: broker.SimpleConverter[bool]{TerraformType: tftypes.Bool}, - Default: false, - }, { BaseType: broker.Int64, SempName: "tlsServerCertMaxChainDepth", @@ -203,7 +201,7 @@ func init() { BaseType: broker.Bool, SempName: "tlsServerCertValidateNameEnabled", TerraformName: "tls_server_cert_validate_name_enabled", - MarkdownDescription: "Enable or disable the standard TLS authentication mechanism of verifying the name used to connect to the bridge. If enabled, the name used to connect to the bridge is checked against the names specified in the certificate returned by the remote router. Legacy Common Name validation is not performed if Server Certificate Name Validation is enabled, even if Common Name validation is also enabled. Changes to this attribute are synchronized to HA mates via config-sync. The default value is `true`. Available since 2.18.", + MarkdownDescription: "Enable or disable the standard TLS authentication mechanism of verifying the name used to connect to the bridge. If enabled, the name used to connect to the bridge is checked against the names specified in the certificate returned by the remote broker. Legacy Common Name validation is not performed if Server Certificate Name Validation is enabled, even if Common Name validation is also enabled. Changes to this attribute are synchronized to HA mates via config-sync. The default value is `true`. Available since SEMP API version 2.18.", Type: types.BoolType, TerraformType: tftypes.Bool, Converter: broker.SimpleConverter[bool]{TerraformType: tftypes.Bool}, diff --git a/internal/broker/generated/DmrClusterCertMatchingRule.go b/internal/broker/generated/DmrClusterCertMatchingRule.go index f08af90..e4ad6b2 100644 --- a/internal/broker/generated/DmrClusterCertMatchingRule.go +++ b/internal/broker/generated/DmrClusterCertMatchingRule.go @@ -27,11 +27,20 @@ import ( func init() { info := broker.EntityInputs{ TerraformName: "dmr_cluster_cert_matching_rule", - MarkdownDescription: "A Cert Matching Rule is a collection of conditions and attribute filters that all have to be satisfied for certificate to be acceptable as authentication for a given link.\n\n\nAttribute|Identifying|Write-Only|Deprecated|Opaque\n:---|:---:|:---:|:---:|:---:\ndmr_cluster_name|x|||\nrule_name|x|||\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"global/read-only\" is required to perform this operation.\n\nThis has been available since 2.28.", + MarkdownDescription: "A Cert Matching Rule is a collection of conditions and attribute filters that all have to be satisfied for certificate to be acceptable as authentication for a given link.\n\n\nAttribute|Identifying\n:---|:---:\ndmr_cluster_name|x\nrule_name|x\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"global/read-only\" is required to perform this operation.\n\nThis has been available since SEMP API version 2.28.", ObjectType: broker.StandardObject, PathTemplate: "/dmrClusters/{dmrClusterName}/certMatchingRules/{ruleName}", Version: 0, Attributes: []*broker.AttributeInfo{ + { + BaseType: broker.String, + SempName: "id", + TerraformName: "id", + Type: types.StringType, + TerraformType: tftypes.String, + Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, + Default: "", + }, { BaseType: broker.String, SempName: "dmrClusterName", diff --git a/internal/broker/generated/DmrClusterCertMatchingRuleAttributeFilter.go b/internal/broker/generated/DmrClusterCertMatchingRuleAttributeFilter.go index 2d13dae..abe6cf7 100644 --- a/internal/broker/generated/DmrClusterCertMatchingRuleAttributeFilter.go +++ b/internal/broker/generated/DmrClusterCertMatchingRuleAttributeFilter.go @@ -28,11 +28,20 @@ import ( func init() { info := broker.EntityInputs{ TerraformName: "dmr_cluster_cert_matching_rule_attribute_filter", - MarkdownDescription: "A Cert Matching Rule Attribute Filter compares a link attribute to a string.\n\n\nAttribute|Identifying|Write-Only|Deprecated|Opaque\n:---|:---:|:---:|:---:|:---:\ndmr_cluster_name|x|||\nfilter_name|x|||\nrule_name|x|||\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"global/read-only\" is required to perform this operation.\n\nThis has been available since 2.28.", + MarkdownDescription: "A Cert Matching Rule Attribute Filter compares a link attribute to a string.\n\n\nAttribute|Identifying\n:---|:---:\ndmr_cluster_name|x\nfilter_name|x\nrule_name|x\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"global/read-only\" is required to perform this operation.\n\nThis has been available since SEMP API version 2.28.", ObjectType: broker.StandardObject, PathTemplate: "/dmrClusters/{dmrClusterName}/certMatchingRules/{ruleName}/attributeFilters/{filterName}", Version: 0, Attributes: []*broker.AttributeInfo{ + { + BaseType: broker.String, + SempName: "id", + TerraformName: "id", + Type: types.StringType, + TerraformType: tftypes.String, + Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, + Default: "", + }, { BaseType: broker.String, SempName: "attributeName", diff --git a/internal/broker/generated/DmrClusterCertMatchingRuleCondition.go b/internal/broker/generated/DmrClusterCertMatchingRuleCondition.go index 9a57682..95e2c66 100644 --- a/internal/broker/generated/DmrClusterCertMatchingRuleCondition.go +++ b/internal/broker/generated/DmrClusterCertMatchingRuleCondition.go @@ -28,12 +28,21 @@ import ( func init() { info := broker.EntityInputs{ TerraformName: "dmr_cluster_cert_matching_rule_condition", - MarkdownDescription: "A Cert Matching Rule Condition compares data extracted from a certificate to a link attribute or an expression.\n\n\nAttribute|Identifying|Write-Only|Deprecated|Opaque\n:---|:---:|:---:|:---:|:---:\ndmr_cluster_name|x|||\nrule_name|x|||\nsource|x|||\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"global/read-only\" is required to perform this operation.\n\nThis has been available since 2.28.", + MarkdownDescription: "A Cert Matching Rule Condition compares data extracted from a certificate to a link attribute or an expression.\n\n\nAttribute|Identifying\n:---|:---:\ndmr_cluster_name|x\nrule_name|x\nsource|x\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"global/read-only\" is required to perform this operation.\n\nThis has been available since SEMP API version 2.28.", ObjectType: broker.ReplaceOnlyObject, PathTemplate: "/dmrClusters/{dmrClusterName}/certMatchingRules/{ruleName}/conditions/{source}", PostPathTemplate: "/dmrClusters/{dmrClusterName}/certMatchingRules/{ruleName}/conditions", Version: 0, Attributes: []*broker.AttributeInfo{ + { + BaseType: broker.String, + SempName: "id", + TerraformName: "id", + Type: types.StringType, + TerraformType: tftypes.String, + Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, + Default: "", + }, { BaseType: broker.String, SempName: "attribute", @@ -99,7 +108,7 @@ func init() { BaseType: broker.String, SempName: "source", TerraformName: "source", - MarkdownDescription: "Certificate field to be compared with the Attribute. The allowed values and their meaning are:\n\n
\n\"certificate-thumbprint\" - The attribute is computed as the SHA-1 hash over the entire DER-encoded contents of the client certificate.\n\"common-name\" - The attribute is extracted from the certificate's first instance of the Common Name attribute in the Subject DN.\n\"common-name-last\" - The attribute is extracted from the certificate's last instance of the Common Name attribute in the Subject DN.\n\"subject-alternate-name-msupn\" - The attribute is extracted from the certificate's Other Name type of the Subject Alternative Name and must have the msUPN signature.\n\"uid\" - The attribute is extracted from the certificate's first instance of the User Identifier attribute in the Subject DN.\n\"uid-last\" - The attribute is extracted from the certificate's last instance of the User Identifier attribute in the Subject DN.\n\"org-unit\" - The attribute is extracted from the certificate's first instance of the Org Unit attribute in the Subject DN.\n\"org-unit-last\" - The attribute is extracted from the certificate's last instance of the Org Unit attribute in the Subject DN.\n\"issuer\" - The attribute is extracted from the certificate's Issuer DN.\n\"subject\" - The attribute is extracted from the certificate's Subject DN.\n\"serial-number\" - The attribute is extracted from the certificate's Serial Number.\n\"dns-name\" - The attribute is extracted from the certificate's Subject Alt Name DNSName.\n\"ip-address\" - The attribute is extracted from the certificate's Subject Alt Name IPAddress.\n
\n", + MarkdownDescription: "Certificate field to be compared with the Attribute. The allowed values and their meaning are:\n\n
\n\"certificate-thumbprint\" - The attribute is computed as the SHA-1 hash over the entire DER-encoded contents of the client certificate.\n\"common-name\" - The attribute is extracted from the certificate's first instance of the Common Name attribute in the Subject DN.\n\"common-name-last\" - The attribute is extracted from the certificate's last instance of the Common Name attribute in the Subject DN.\n\"subject-alternate-name-msupn\" - The attribute is extracted from the certificate's Other Name type of the Subject Alternative Name and must have the msUPN signature.\n\"uid\" - The attribute is extracted from the certificate's first instance of the User Identifier attribute in the Subject DN.\n\"uid-last\" - The attribute is extracted from the certificate's last instance of the User Identifier attribute in the Subject DN.\n\"org-unit\" - The attribute is extracted from the certificate's first instance of the Org Unit attribute in the Subject DN.\n\"org-unit-last\" - The attribute is extracted from the certificate's last instance of the Org Unit attribute in the Subject DN.\n\"issuer\" - The attribute is extracted from the certificate's Issuer DN.\n\"subject\" - The attribute is extracted from the certificate's Subject DN.\n\"serial-number\" - The attribute is extracted from the certificate's Serial Number.\n\"dns-name\" - The attribute is extracted from the certificate's Subject Alt Name DNS Name.\n\"ip-address\" - The attribute is extracted from the certificate's Subject Alt Name IP Address.\n
\n", Identifying: true, Required: true, RequiresReplace: true, diff --git a/internal/broker/generated/DmrClusterLink.go b/internal/broker/generated/DmrClusterLink.go index ef5a8a4..98e2f7a 100644 --- a/internal/broker/generated/DmrClusterLink.go +++ b/internal/broker/generated/DmrClusterLink.go @@ -30,16 +30,25 @@ import ( func init() { info := broker.EntityInputs{ TerraformName: "dmr_cluster_link", - MarkdownDescription: "A Link connects nodes (either within a Cluster or between two different Clusters) and allows them to exchange topology information, subscriptions and data.\n\n\nAttribute|Identifying|Write-Only|Deprecated|Opaque\n:---|:---:|:---:|:---:|:---:\nauthentication_basic_password||x||x\ndmr_cluster_name|x|||\nremote_node_name|x|||\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"global/read-only\" is required to perform this operation.\n\nThis has been available since 2.11.", + MarkdownDescription: "A Link connects nodes (either within a Cluster or between two different Clusters) and allows them to exchange topology information, subscriptions and data.\n\n\nAttribute|Identifying|Write-Only|Opaque\n:---|:---:|:---:|:---:\nauthentication_basic_password||x|x\ndmr_cluster_name|x||\nremote_node_name|x||\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"global/read-only\" is required to perform this operation.\n\nThis has been available since SEMP API version 2.11.", ObjectType: broker.StandardObject, PathTemplate: "/dmrClusters/{dmrClusterName}/links/{remoteNodeName}", Version: 0, Attributes: []*broker.AttributeInfo{ + { + BaseType: broker.String, + SempName: "id", + TerraformName: "id", + Type: types.StringType, + TerraformType: tftypes.String, + Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, + Default: "", + }, { BaseType: broker.String, SempName: "authenticationBasicPassword", TerraformName: "authentication_basic_password", - MarkdownDescription: "The password used to authenticate with the remote node when using basic internal authentication. If this per-Link password is not configured, the Cluster's password is used instead. This attribute is absent from a GET and not updated when absent in a PUT, subject to the exceptions in note 4. Modifying this attribute while the object (or the relevant part of the object) is administratively enabled may be service impacting as enabled will be temporarily set to false to apply the change. Changes to this attribute are synchronized to HA mates via config-sync. The default value is `\"\"`.", + MarkdownDescription: "The password used to authenticate with the remote node when using basic internal authentication. If this per-Link password is not configured, the Cluster's password is used instead. This attribute is absent from a GET and not updated when absent in a PUT, subject to the exceptions in note 4 (refer to the `Notes` section in the SEMP API `Config reference`). Modifying this attribute while the object (or the relevant part of the object) is administratively enabled may be service impacting as enabled will be temporarily set to false to apply the change. Changes to this attribute are synchronized to HA mates via config-sync. The default value is `\"\"`.", Sensitive: true, Type: types.StringType, TerraformType: tftypes.String, @@ -183,7 +192,7 @@ func init() { BaseType: broker.Int64, SempName: "clientProfileQueueGuaranteed1MinMsgBurst", TerraformName: "client_profile_queue_guaranteed1_min_msg_burst", - MarkdownDescription: "The number of messages that are always allowed entry into the \"Guaranteed 1\" (G-3) priority queue, regardless of the `client_profile_queue_guaranteed1_max_depth` value. Changes to this attribute are synchronized to HA mates via config-sync. The default value is `255`.", + MarkdownDescription: "The number of messages that are always allowed entry into the \"Guaranteed 1\" (G-1) priority queue, regardless of the `client_profile_queue_guaranteed1_max_depth` value. Changes to this attribute are synchronized to HA mates via config-sync. The default value is `255`.", Type: types.Int64Type, TerraformType: tftypes.Number, Converter: broker.IntegerConverter{}, @@ -235,7 +244,7 @@ func init() { BaseType: broker.Int64, SempName: "clientProfileTcpKeepaliveInterval", TerraformName: "client_profile_tcp_keepalive_interval", - MarkdownDescription: "The amount of time between TCP keepalive retransmissions when no acknowledgement is received, in seconds. Changes to this attribute are synchronized to HA mates via config-sync. The default value is `1`.", + MarkdownDescription: "The amount of time between TCP keepalive retransmissions when no acknowledgment is received, in seconds. Changes to this attribute are synchronized to HA mates via config-sync. The default value is `1`.", Type: types.Int64Type, TerraformType: tftypes.Number, Converter: broker.IntegerConverter{}, @@ -261,7 +270,7 @@ func init() { BaseType: broker.Int64, SempName: "clientProfileTcpMaxWindowSize", TerraformName: "client_profile_tcp_max_window_size", - MarkdownDescription: "The TCP maximum window size, in kilobytes. Changes are applied to all existing connections. Changes to this attribute are synchronized to HA mates via config-sync. The default value is `256`.", + MarkdownDescription: "The TCP maximum window size, in kilobytes. Changes are applied to all existing connections. This setting is ignored on the software broker. Changes to this attribute are synchronized to HA mates via config-sync. The default value is `256`.", Type: types.Int64Type, TerraformType: tftypes.Number, Converter: broker.IntegerConverter{}, @@ -290,7 +299,7 @@ func init() { BaseType: broker.Int64, SempName: "egressFlowWindowSize", TerraformName: "egress_flow_window_size", - MarkdownDescription: "The number of outstanding guaranteed messages that can be sent over the Link before acknowledgement is received by the sender. Modifying this attribute while the object (or the relevant part of the object) is administratively enabled may be service impacting as enabled will be temporarily set to false to apply the change. Changes to this attribute are synchronized to HA mates via config-sync. The default value is `255`.", + MarkdownDescription: "The number of outstanding guaranteed messages that can be sent over the Link before acknowledgment is received by the sender. Modifying this attribute while the object (or the relevant part of the object) is administratively enabled may be service impacting as enabled will be temporarily set to false to apply the change. Changes to this attribute are synchronized to HA mates via config-sync. The default value is `255`.", Type: types.Int64Type, TerraformType: tftypes.Number, Converter: broker.IntegerConverter{}, @@ -362,6 +371,7 @@ func init() { path.MatchRelative().AtParent().AtName("set_value"), ), }, + Default: 1, }, { BaseType: broker.Int64, @@ -404,6 +414,7 @@ func init() { path.MatchRelative().AtParent().AtName("set_value"), ), }, + Default: 2, }, { BaseType: broker.Int64, @@ -484,12 +495,12 @@ func init() { BaseType: broker.String, SempName: "queueRejectMsgToSenderOnDiscardBehavior", TerraformName: "queue_reject_msg_to_sender_on_discard_behavior", - MarkdownDescription: "Determines when to return negative acknowledgements (NACKs) to sending clients on message discards. Note that NACKs cause the message to not be delivered to any destination and Transacted Session commits to fail. Changes to this attribute are synchronized to HA mates via config-sync. The default value is `\"always\"`. The allowed values and their meaning are:\n\n
\n\"always\" - Always return a negative acknowledgment (NACK) to the sending client on message discard.\n\"when-queue-enabled\" - Only return a negative acknowledgment (NACK) to the sending client on message discard when the Queue is enabled.\n\"never\" - Never return a negative acknowledgment (NACK) to the sending client on message discard.\n
\n", + MarkdownDescription: "Determines when to return negative acknowledgments (NACKs) to sending clients on message discards. Note that NACKs cause the message to not be delivered to any destination and Transacted Session commits to fail. Changes to this attribute are synchronized to HA mates via config-sync. The default value is `\"always\"`. The allowed values and their meaning are:\n\n
\n\"never\" - Silently discard messages.\n\"when-queue-enabled\" - NACK each message discard back to the client, except messages that are discarded because an endpoint is administratively disabled.\n\"always\" - NACK each message discard back to the client, including messages that are discarded because an endpoint is administratively disabled.\n
\n", Type: types.StringType, TerraformType: tftypes.String, Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, StringValidators: []validator.String{ - stringvalidator.OneOf("always", "when-queue-enabled", "never"), + stringvalidator.OneOf("never", "when-queue-enabled", "always"), }, Default: "always", }, diff --git a/internal/broker/generated/DmrClusterLinkAttribute.go b/internal/broker/generated/DmrClusterLinkAttribute.go index 65dab47..903f57c 100644 --- a/internal/broker/generated/DmrClusterLinkAttribute.go +++ b/internal/broker/generated/DmrClusterLinkAttribute.go @@ -28,12 +28,21 @@ import ( func init() { info := broker.EntityInputs{ TerraformName: "dmr_cluster_link_attribute", - MarkdownDescription: "A Link Attribute is a key+value pair that can be used to locate a DMR Cluster Link, for example when using client certificate mapping.\n\n\nAttribute|Identifying|Write-Only|Deprecated|Opaque\n:---|:---:|:---:|:---:|:---:\nattribute_name|x|||\nattribute_value|x|||\ndmr_cluster_name|x|||\nremote_node_name|x|||\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"global/read-only\" is required to perform this operation.\n\nThis has been available since 2.28.", + MarkdownDescription: "A Link Attribute is a key+value pair that can be used to locate a DMR Cluster Link, for example when using client certificate mapping.\n\n\nAttribute|Identifying\n:---|:---:\nattribute_name|x\nattribute_value|x\ndmr_cluster_name|x\nremote_node_name|x\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"global/read-only\" is required to perform this operation.\n\nThis has been available since SEMP API version 2.28.", ObjectType: broker.ReplaceOnlyObject, PathTemplate: "/dmrClusters/{dmrClusterName}/links/{remoteNodeName}/attributes/{attributeName},{attributeValue}", PostPathTemplate: "/dmrClusters/{dmrClusterName}/links/{remoteNodeName}/attributes", Version: 0, Attributes: []*broker.AttributeInfo{ + { + BaseType: broker.String, + SempName: "id", + TerraformName: "id", + Type: types.StringType, + TerraformType: tftypes.String, + Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, + Default: "", + }, { BaseType: broker.String, SempName: "attributeName", diff --git a/internal/broker/generated/DmrClusterLinkRemoteAddress.go b/internal/broker/generated/DmrClusterLinkRemoteAddress.go index 5b57996..5063d27 100644 --- a/internal/broker/generated/DmrClusterLinkRemoteAddress.go +++ b/internal/broker/generated/DmrClusterLinkRemoteAddress.go @@ -28,12 +28,21 @@ import ( func init() { info := broker.EntityInputs{ TerraformName: "dmr_cluster_link_remote_address", - MarkdownDescription: "Each Remote Address, consisting of a FQDN or IP address and optional port, is used to connect to the remote node for this Link. Up to 4 addresses may be provided for each Link, and will be tried on a round-robin basis.\n\n\nAttribute|Identifying|Write-Only|Deprecated|Opaque\n:---|:---:|:---:|:---:|:---:\ndmr_cluster_name|x|||\nremote_address|x|||\nremote_node_name|x|||\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"global/read-only\" is required to perform this operation.\n\nThis has been available since 2.11.", + MarkdownDescription: "Each Remote Address, consisting of a FQDN or IP address and optional port, is used to connect to the remote node for this Link. Up to 4 addresses may be provided for each Link, and will be tried on a round-robin basis.\n\n\nAttribute|Identifying\n:---|:---:\ndmr_cluster_name|x\nremote_address|x\nremote_node_name|x\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"global/read-only\" is required to perform this operation.\n\nThis has been available since SEMP API version 2.11.", ObjectType: broker.ReplaceOnlyObject, PathTemplate: "/dmrClusters/{dmrClusterName}/links/{remoteNodeName}/remoteAddresses/{remoteAddress}", PostPathTemplate: "/dmrClusters/{dmrClusterName}/links/{remoteNodeName}/remoteAddresses", Version: 0, Attributes: []*broker.AttributeInfo{ + { + BaseType: broker.String, + SempName: "id", + TerraformName: "id", + Type: types.StringType, + TerraformType: tftypes.String, + Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, + Default: "", + }, { BaseType: broker.String, SempName: "dmrClusterName", diff --git a/internal/broker/generated/DmrClusterLinkTlsTrustedCommonName.go b/internal/broker/generated/DmrClusterLinkTlsTrustedCommonName.go deleted file mode 100644 index c2dc880..0000000 --- a/internal/broker/generated/DmrClusterLinkTlsTrustedCommonName.go +++ /dev/null @@ -1,92 +0,0 @@ -// terraform-provider-solacebroker -// -// Copyright 2023 Solace Corporation. All rights reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -package generated - -import ( - "github.com/hashicorp/terraform-plugin-framework-validators/stringvalidator" - "github.com/hashicorp/terraform-plugin-framework/schema/validator" - "github.com/hashicorp/terraform-plugin-framework/types" - "github.com/hashicorp/terraform-plugin-go/tftypes" - "regexp" - "terraform-provider-solacebroker/internal/broker" -) - -func init() { - info := broker.EntityInputs{ - TerraformName: "dmr_cluster_link_tls_trusted_common_name", - MarkdownDescription: "The Trusted Common Names for the Link are used by encrypted transports to verify the name in the certificate presented by the remote node. They must include the common name of the remote node's server certificate or client certificate, depending upon the initiator of the connection.\n\n\nAttribute|Identifying|Write-Only|Deprecated|Opaque\n:---|:---:|:---:|:---:|:---:\ndmr_cluster_name|x||x|\nremote_node_name|x||x|\ntls_trusted_common_name|x||x|\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"global/read-only\" is required to perform this operation.\n\nThis has been deprecated since 2.18. Common Name validation has been replaced by Server Certificate Name validation.", - ObjectType: broker.ReplaceOnlyObject, - PathTemplate: "/dmrClusters/{dmrClusterName}/links/{remoteNodeName}/tlsTrustedCommonNames/{tlsTrustedCommonName}", - PostPathTemplate: "/dmrClusters/{dmrClusterName}/links/{remoteNodeName}/tlsTrustedCommonNames", - Version: 0, - Attributes: []*broker.AttributeInfo{ - { - BaseType: broker.String, - SempName: "dmrClusterName", - TerraformName: "dmr_cluster_name", - MarkdownDescription: "The name of the Cluster. Deprecated since 2.18. Common Name validation has been replaced by Server Certificate Name validation.", - Identifying: true, - Required: true, - ReadOnly: true, - RequiresReplace: true, - Deprecated: true, - Type: types.StringType, - TerraformType: tftypes.String, - Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, - StringValidators: []validator.String{ - stringvalidator.LengthBetween(1, 64), - }, - }, - { - BaseType: broker.String, - SempName: "remoteNodeName", - TerraformName: "remote_node_name", - MarkdownDescription: "The name of the node at the remote end of the Link. Deprecated since 2.18. Common Name validation has been replaced by Server Certificate Name validation.", - Identifying: true, - Required: true, - ReadOnly: true, - RequiresReplace: true, - Deprecated: true, - Type: types.StringType, - TerraformType: tftypes.String, - Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, - StringValidators: []validator.String{ - stringvalidator.LengthBetween(1, 64), - stringvalidator.RegexMatches(regexp.MustCompile("^[^*?'<>&/]+$"), ""), - }, - }, - { - BaseType: broker.String, - SempName: "tlsTrustedCommonName", - TerraformName: "tls_trusted_common_name", - MarkdownDescription: "The expected trusted common name of the remote certificate. Deprecated since 2.18. Common Name validation has been replaced by Server Certificate Name validation.", - Identifying: true, - Required: true, - RequiresReplace: true, - Deprecated: true, - Type: types.StringType, - TerraformType: tftypes.String, - Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, - StringValidators: []validator.String{ - stringvalidator.LengthBetween(1, 64), - }, - }, - }, - } - broker.RegisterResource(info) - broker.RegisterDataSource(info) -} diff --git a/internal/broker/generated/DomainCertAuthority.go b/internal/broker/generated/DomainCertAuthority.go index 86918db..3fe2fab 100644 --- a/internal/broker/generated/DomainCertAuthority.go +++ b/internal/broker/generated/DomainCertAuthority.go @@ -21,17 +21,27 @@ import ( "github.com/hashicorp/terraform-plugin-framework/schema/validator" "github.com/hashicorp/terraform-plugin-framework/types" "github.com/hashicorp/terraform-plugin-go/tftypes" + "regexp" "terraform-provider-solacebroker/internal/broker" ) func init() { info := broker.EntityInputs{ TerraformName: "domain_cert_authority", - MarkdownDescription: "Certificate Authorities trusted for domain verification.\n\n\nAttribute|Identifying|Write-Only|Deprecated|Opaque\n:---|:---:|:---:|:---:|:---:\ncert_authority_name|x|||\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"global/read-only\" is required to perform this operation.\n\nThis has been available since 2.19.", + MarkdownDescription: "Certificate Authorities trusted for domain verification.\n\n\nAttribute|Identifying\n:---|:---:\ncert_authority_name|x\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"global/read-only\" is required to perform this operation.\n\nThis has been available since SEMP API version 2.19.", ObjectType: broker.StandardObject, PathTemplate: "/domainCertAuthorities/{certAuthorityName}", Version: 0, Attributes: []*broker.AttributeInfo{ + { + BaseType: broker.String, + SempName: "id", + TerraformName: "id", + Type: types.StringType, + TerraformType: tftypes.String, + Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, + Default: "", + }, { BaseType: broker.String, SempName: "certAuthorityName", @@ -45,6 +55,7 @@ func init() { Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, StringValidators: []validator.String{ stringvalidator.LengthBetween(1, 64), + stringvalidator.RegexMatches(regexp.MustCompile("^[A-Za-z0-9_\\-.]+$"), ""), }, }, { diff --git a/internal/broker/generated/MsgVpn.go b/internal/broker/generated/MsgVpn.go index e8d96f6..95f5eb5 100644 --- a/internal/broker/generated/MsgVpn.go +++ b/internal/broker/generated/MsgVpn.go @@ -31,16 +31,25 @@ import ( func init() { info := broker.EntityInputs{ TerraformName: "msg_vpn", - MarkdownDescription: "Message VPNs (Virtual Private Networks) allow for the segregation of topic space and clients. They also group clients connecting to a network of message brokers, such that messages published within a particular group are only visible to that group's clients.\n\n\nAttribute|Identifying|Write-Only|Deprecated|Opaque\n:---|:---:|:---:|:---:|:---:\nauthentication_oauth_default_provider_name|||x|\nbridging_tls_server_cert_enforce_trusted_common_name_enabled|||x|\ndistributed_cache_management_enabled|||x|\nmsg_vpn_name|x|||\nprefer_ip_version|||x|\nreplication_bridge_authentication_basic_password||x||x\nreplication_bridge_authentication_client_cert_content||x||x\nreplication_bridge_authentication_client_cert_password||x||\nreplication_enabled_queue_behavior||x||\nrest_tls_server_cert_enforce_trusted_common_name_enabled|||x|\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"vpn/read-only\" is required to perform this operation.\n\nThis has been available since 2.0.", + MarkdownDescription: "Message VPNs (Virtual Private Networks) allow for the segregation of topic space and clients. They also group clients connecting to a network of message brokers, such that messages published within a particular group are only visible to that group's clients.\n\n\nAttribute|Identifying|Write-Only|Deprecated|Opaque\n:---|:---:|:---:|:---:|:---:\nauthentication_oauth_default_provider_name|||x|\nbridging_tls_server_cert_enforce_trusted_common_name_enabled|||x|\ndistributed_cache_management_enabled|||x|\nmsg_vpn_name|x|||\nprefer_ip_version|||x|\nreplication_bridge_authentication_basic_password||x||x\nreplication_bridge_authentication_client_cert_content||x||x\nreplication_bridge_authentication_client_cert_password||x||\nreplication_enabled_queue_behavior||x||\nrest_tls_server_cert_enforce_trusted_common_name_enabled|||x|\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"vpn/read-only\" is required to perform this operation.\n\nThis has been available since SEMP API version 2.0.", ObjectType: broker.StandardObject, PathTemplate: "/msgVpns/{msgVpnName}", Version: 0, Attributes: []*broker.AttributeInfo{ + { + BaseType: broker.String, + SempName: "id", + TerraformName: "id", + Type: types.StringType, + TerraformType: tftypes.String, + Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, + Default: "", + }, { BaseType: broker.String, SempName: "alias", TerraformName: "alias", - MarkdownDescription: "The name of another Message VPN which this Message VPN is an alias for. When this Message VPN is enabled, the alias has no effect. When this Message VPN is disabled, Clients (but not Bridges and routing Links) logging into this Message VPN are automatically logged in to the other Message VPN, and authentication and authorization take place in the context of the other Message VPN.\n\nAliases may form a non-circular chain, cascading one to the next. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `\"\"`. Available since 2.14.", + MarkdownDescription: "The name of another Message VPN which this Message VPN is an alias for. When this Message VPN is enabled, the alias has no effect. When this Message VPN is disabled, Clients (but not Bridges and routing Links) logging into this Message VPN are automatically logged in to the other Message VPN, and authentication and authorization take place in the context of the other Message VPN.\n\nAliases may form a non-circular chain, cascading one to the next.\n\nChanges to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `\"\"`. Available since SEMP API version 2.14.", Type: types.StringType, TerraformType: tftypes.String, Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, @@ -74,9 +83,8 @@ func init() { path.MatchRelative().AtParent().AtName("authentication_basic_type"), ), stringvalidator.LengthBetween(0, 32), - stringvalidator.RegexMatches(regexp.MustCompile("^([a-zA-Z0-9_]+|)$"), ""), + stringvalidator.RegexMatches(regexp.MustCompile("^[A-Za-z0-9_]*$"), ""), }, - Default: "default", }, { BaseType: broker.String, @@ -118,7 +126,7 @@ func init() { BaseType: broker.Bool, SempName: "authenticationClientCertCertificateMatchingRulesEnabled", TerraformName: "authentication_client_cert_certificate_matching_rules_enabled", - MarkdownDescription: "Enable or disable certificate matching rules. When disabled, any valid certificate is accepted. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `false`. Available since 2.27.", + MarkdownDescription: "Enable or disable certificate matching rules. When disabled, any valid certificate is accepted. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `false`. Available since SEMP API version 2.27.", Type: types.BoolType, TerraformType: tftypes.Bool, Converter: broker.SimpleConverter[bool]{TerraformType: tftypes.Bool}, @@ -151,7 +159,7 @@ func init() { BaseType: broker.String, SempName: "authenticationClientCertRevocationCheckMode", TerraformName: "authentication_client_cert_revocation_check_mode", - MarkdownDescription: "The desired behavior for client certificate revocation checking. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `\"allow-valid\"`. The allowed values and their meaning are:\n\n
\n\"allow-all\" - Allow the client to authenticate, the result of client certificate revocation check is ignored.\n\"allow-unknown\" - Allow the client to authenticate even if the revocation status of his certificate cannot be determined.\n\"allow-valid\" - Allow the client to authenticate only when the revocation check returned an explicit positive response.\n
\n Available since 2.8.", + MarkdownDescription: "The desired behavior for client certificate revocation checking. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `\"allow-valid\"`. The allowed values and their meaning are:\n\n
\n\"allow-all\" - Allow the client to authenticate, the result of client certificate revocation check is ignored.\n\"allow-unknown\" - Allow the client to authenticate even if the revocation status of his certificate cannot be determined.\n\"allow-valid\" - Allow the client to authenticate only when the revocation check returned an explicit positive response.\n
\n Available since SEMP API version 2.8.", Type: types.StringType, TerraformType: tftypes.String, Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, @@ -164,7 +172,7 @@ func init() { BaseType: broker.String, SempName: "authenticationClientCertUsernameSource", TerraformName: "authentication_client_cert_username_source", - MarkdownDescription: "The field from the client certificate to use as the client username. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `\"common-name\"`. The allowed values and their meaning are:\n\n
\n\"certificate-thumbprint\" - The username is computed as the SHA-1 hash over the entire DER-encoded contents of the client certificate.\n\"common-name\" - The username is extracted from the certificate's first instance of the Common Name attribute in the Subject DN.\n\"common-name-last\" - The username is extracted from the certificate's last instance of the Common Name attribute in the Subject DN.\n\"subject-alternate-name-msupn\" - The username is extracted from the certificate's Other Name type of the Subject Alternative Name and must have the msUPN signature.\n\"uid\" - The username is extracted from the certificate's first instance of the User Identifier attribute in the Subject DN.\n\"uid-last\" - The username is extracted from the certificate's last instance of the User Identifier attribute in the Subject DN.\n
\n Available since 2.5.", + MarkdownDescription: "The field from the client certificate to use as the client username. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `\"common-name\"`. The allowed values and their meaning are:\n\n
\n\"certificate-thumbprint\" - The username is computed as the SHA-1 hash over the entire DER-encoded contents of the client certificate.\n\"common-name\" - The username is extracted from the certificate's first instance of the Common Name attribute in the Subject DN.\n\"common-name-last\" - The username is extracted from the certificate's last instance of the Common Name attribute in the Subject DN.\n\"subject-alternate-name-msupn\" - The username is extracted from the certificate's Other Name type of the Subject Alternative Name and must have the msUPN signature.\n\"uid\" - The username is extracted from the certificate's first instance of the User Identifier attribute in the Subject DN.\n\"uid-last\" - The username is extracted from the certificate's last instance of the User Identifier attribute in the Subject DN.\n
\n Available since SEMP API version 2.5.", Type: types.StringType, TerraformType: tftypes.String, Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, @@ -207,27 +215,13 @@ func init() { BaseType: broker.String, SempName: "authenticationOauthDefaultProfileName", TerraformName: "authentication_oauth_default_profile_name", - MarkdownDescription: "The name of the profile to use when the client does not supply a profile name. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `\"\"`. Available since 2.25.", + MarkdownDescription: "The name of the profile to use when the client does not supply a profile name. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `\"\"`. Available since SEMP API version 2.25.", Type: types.StringType, TerraformType: tftypes.String, Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, StringValidators: []validator.String{ stringvalidator.LengthBetween(0, 32), - }, - Default: "", - }, - { - BaseType: broker.String, - SempName: "authenticationOauthDefaultProviderName", - TerraformName: "authentication_oauth_default_provider_name", - MarkdownDescription: "The name of the provider to use when the client does not supply a provider name. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `\"\"`. Deprecated since 2.25. authentication_oauth_default_provider_name and authenticationOauthProviders replaced by authentication_oauth_default_profile_name and authenticationoauth_profiles.", - Deprecated: true, - Type: types.StringType, - TerraformType: tftypes.String, - Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, - StringValidators: []validator.String{ - stringvalidator.LengthBetween(0, 31), - stringvalidator.RegexMatches(regexp.MustCompile("^[^~]*$"), ""), + stringvalidator.RegexMatches(regexp.MustCompile("^[A-Za-z0-9_]*$"), ""), }, Default: "", }, @@ -235,7 +229,7 @@ func init() { BaseType: broker.Bool, SempName: "authenticationOauthEnabled", TerraformName: "authentication_oauth_enabled", - MarkdownDescription: "Enable or disable OAuth authentication. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `false`. Available since 2.13.", + MarkdownDescription: "Enable or disable OAuth authentication. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `false`. Available since SEMP API version 2.13.", Type: types.BoolType, TerraformType: tftypes.Bool, Converter: broker.SimpleConverter[bool]{TerraformType: tftypes.Bool}, @@ -258,7 +252,7 @@ func init() { BaseType: broker.Bool, SempName: "authorizationLdapTrimClientUsernameDomainEnabled", TerraformName: "authorization_ldap_trim_client_username_domain_enabled", - MarkdownDescription: "Enable or disable client-username domain trimming for LDAP lookups of client connections. When enabled, the value of $CLIENT_USERNAME (when used for searching) will be truncated at the first occurance of the @ character. For example, if the client-username is in the form of an email address, then the domain portion will be removed. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `false`. Available since 2.13.", + MarkdownDescription: "Enable or disable client-username domain trimming for LDAP lookups of client connections. When enabled, the value of $CLIENT_USERNAME (when used for searching) will be truncated at the first occurrence of the @ character. For example, if the client-username is in the form of an email address, then the domain portion will be removed. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `false`. Available since SEMP API version 2.13.", Type: types.BoolType, TerraformType: tftypes.Bool, Converter: broker.SimpleConverter[bool]{TerraformType: tftypes.Bool}, @@ -278,7 +272,7 @@ func init() { path.MatchRelative().AtParent().AtName("authorization_type"), ), stringvalidator.LengthBetween(0, 32), - stringvalidator.RegexMatches(regexp.MustCompile("^([a-zA-Z0-9_]+|)$"), ""), + stringvalidator.RegexMatches(regexp.MustCompile("^[A-Za-z0-9_]*$"), ""), }, Default: "", }, @@ -295,17 +289,6 @@ func init() { }, Default: "internal", }, - { - BaseType: broker.Bool, - SempName: "bridgingTlsServerCertEnforceTrustedCommonNameEnabled", - TerraformName: "bridging_tls_server_cert_enforce_trusted_common_name_enabled", - MarkdownDescription: "Enable or disable validation of the Common Name (CN) in the server certificate from the remote broker. If enabled, the Common Name is checked against the list of Trusted Common Names configured for the Bridge. Common Name validation is not performed if Server Certificate Name Validation is enabled, even if Common Name validation is enabled. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `false`. Deprecated since 2.18. Common Name validation has been replaced by Server Certificate Name validation.", - Deprecated: true, - Type: types.BoolType, - TerraformType: tftypes.Bool, - Converter: broker.SimpleConverter[bool]{TerraformType: tftypes.Bool}, - Default: false, - }, { BaseType: broker.Int64, SempName: "bridgingTlsServerCertMaxChainDepth", @@ -333,18 +316,7 @@ func init() { BaseType: broker.Bool, SempName: "bridgingTlsServerCertValidateNameEnabled", TerraformName: "bridging_tls_server_cert_validate_name_enabled", - MarkdownDescription: "Enable or disable the standard TLS authentication mechanism of verifying the name used to connect to the bridge. If enabled, the name used to connect to the bridge is checked against the names specified in the certificate returned by the remote router. Legacy Common Name validation is not performed if Server Certificate Name Validation is enabled, even if Common Name validation is also enabled. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `true`. Available since 2.18.", - Type: types.BoolType, - TerraformType: tftypes.Bool, - Converter: broker.SimpleConverter[bool]{TerraformType: tftypes.Bool}, - Default: true, - }, - { - BaseType: broker.Bool, - SempName: "distributedCacheManagementEnabled", - TerraformName: "distributed_cache_management_enabled", - MarkdownDescription: "Enable or disable managing of cache instances over the message bus. The default value is `true`. Deprecated since 2.28. Distributed cache mangement is now redundancy aware and thus no longer requires administrative intervention for operational state.", - Deprecated: true, + MarkdownDescription: "Enable or disable the standard TLS authentication mechanism of verifying the name used to connect to the bridge. If enabled, the name used to connect to the bridge is checked against the names specified in the certificate returned by the remote broker. Legacy Common Name validation is not performed if Server Certificate Name Validation is enabled, even if Common Name validation is also enabled. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `true`. Available since SEMP API version 2.18.", Type: types.BoolType, TerraformType: tftypes.Bool, Converter: broker.SimpleConverter[bool]{TerraformType: tftypes.Bool}, @@ -354,7 +326,7 @@ func init() { BaseType: broker.Bool, SempName: "dmrEnabled", TerraformName: "dmr_enabled", - MarkdownDescription: "Enable or disable Dynamic Message Routing (DMR) for the Message VPN. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `false`. Available since 2.11.", + MarkdownDescription: "Enable or disable Dynamic Message Routing (DMR) for the Message VPN. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `false`. Available since SEMP API version 2.11.", Type: types.BoolType, TerraformType: tftypes.Bool, Converter: broker.SimpleConverter[bool]{TerraformType: tftypes.Bool}, @@ -396,6 +368,7 @@ func init() { path.MatchRelative().AtParent().AtName("set_value"), ), }, + Default: 60, }, { BaseType: broker.Int64, @@ -438,6 +411,7 @@ func init() { path.MatchRelative().AtParent().AtName("set_value"), ), }, + Default: 80, }, { BaseType: broker.Int64, @@ -488,6 +462,7 @@ func init() { path.MatchRelative().AtParent().AtName("set_value"), ), }, + Default: 60, }, { BaseType: broker.Int64, @@ -530,6 +505,7 @@ func init() { path.MatchRelative().AtParent().AtName("set_value"), ), }, + Default: 80, }, { BaseType: broker.Int64, @@ -575,6 +551,7 @@ func init() { ), int64validator.Between(0, 4294967295), }, + Default: 3e+06, }, { BaseType: broker.Int64, @@ -591,6 +568,7 @@ func init() { ), int64validator.Between(0, 4294967295), }, + Default: 4e+06, }, }, }, @@ -620,6 +598,7 @@ func init() { path.MatchRelative().AtParent().AtName("set_value"), ), }, + Default: 60, }, { BaseType: broker.Int64, @@ -662,6 +641,7 @@ func init() { path.MatchRelative().AtParent().AtName("set_value"), ), }, + Default: 80, }, { BaseType: broker.Int64, @@ -712,6 +692,7 @@ func init() { path.MatchRelative().AtParent().AtName("set_value"), ), }, + Default: 60, }, { BaseType: broker.Int64, @@ -754,6 +735,7 @@ func init() { path.MatchRelative().AtParent().AtName("set_value"), ), }, + Default: 80, }, { BaseType: broker.Int64, @@ -799,6 +781,7 @@ func init() { ), int64validator.Between(0, 4294967295), }, + Default: 3e+06, }, { BaseType: broker.Int64, @@ -815,6 +798,7 @@ func init() { ), int64validator.Between(0, 4294967295), }, + Default: 4e+06, }, }, }, @@ -870,6 +854,7 @@ func init() { path.MatchRelative().AtParent().AtName("set_value"), ), }, + Default: 60, }, { BaseType: broker.Int64, @@ -912,6 +897,7 @@ func init() { path.MatchRelative().AtParent().AtName("set_value"), ), }, + Default: 80, }, { BaseType: broker.Int64, @@ -1027,6 +1013,7 @@ func init() { path.MatchRelative().AtParent().AtName("set_value"), ), }, + Default: 60, }, { BaseType: broker.Int64, @@ -1069,6 +1056,7 @@ func init() { path.MatchRelative().AtParent().AtName("set_value"), ), }, + Default: 80, }, { BaseType: broker.Int64, @@ -1119,6 +1107,7 @@ func init() { path.MatchRelative().AtParent().AtName("set_value"), ), }, + Default: 60, }, { BaseType: broker.Int64, @@ -1161,6 +1150,7 @@ func init() { path.MatchRelative().AtParent().AtName("set_value"), ), }, + Default: 80, }, { BaseType: broker.Int64, @@ -1211,6 +1201,7 @@ func init() { path.MatchRelative().AtParent().AtName("set_value"), ), }, + Default: 60, }, { BaseType: broker.Int64, @@ -1253,6 +1244,7 @@ func init() { path.MatchRelative().AtParent().AtName("set_value"), ), }, + Default: 80, }, { BaseType: broker.Int64, @@ -1303,6 +1295,7 @@ func init() { path.MatchRelative().AtParent().AtName("set_value"), ), }, + Default: 60, }, { BaseType: broker.Int64, @@ -1345,6 +1338,7 @@ func init() { path.MatchRelative().AtParent().AtName("set_value"), ), }, + Default: 80, }, { BaseType: broker.Int64, @@ -1395,6 +1389,7 @@ func init() { path.MatchRelative().AtParent().AtName("set_value"), ), }, + Default: 60, }, { BaseType: broker.Int64, @@ -1437,6 +1432,7 @@ func init() { path.MatchRelative().AtParent().AtName("set_value"), ), }, + Default: 80, }, { BaseType: broker.Int64, @@ -1487,6 +1483,7 @@ func init() { path.MatchRelative().AtParent().AtName("set_value"), ), }, + Default: 60, }, { BaseType: broker.Int64, @@ -1529,6 +1526,7 @@ func init() { path.MatchRelative().AtParent().AtName("set_value"), ), }, + Default: 80, }, { BaseType: broker.Int64, @@ -1579,6 +1577,7 @@ func init() { path.MatchRelative().AtParent().AtName("set_value"), ), }, + Default: 60, }, { BaseType: broker.Int64, @@ -1621,6 +1620,7 @@ func init() { path.MatchRelative().AtParent().AtName("set_value"), ), }, + Default: 80, }, { BaseType: broker.Int64, @@ -1671,6 +1671,7 @@ func init() { path.MatchRelative().AtParent().AtName("set_value"), ), }, + Default: 60, }, { BaseType: broker.Int64, @@ -1713,6 +1714,7 @@ func init() { path.MatchRelative().AtParent().AtName("set_value"), ), }, + Default: 80, }, { BaseType: broker.Int64, @@ -1751,7 +1753,7 @@ func init() { BaseType: broker.Bool, SempName: "jndiEnabled", TerraformName: "jndi_enabled", - MarkdownDescription: "Enable or disable JNDI access for clients in the Message VPN. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `false`. Available since 2.4.", + MarkdownDescription: "Enable or disable JNDI access for clients in the Message VPN. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `false`. Available since SEMP API version 2.4.", Type: types.BoolType, TerraformType: tftypes.Bool, Converter: broker.SimpleConverter[bool]{TerraformType: tftypes.Bool}, @@ -1861,7 +1863,7 @@ func init() { BaseType: broker.Int64, SempName: "mqttRetainMaxMemory", TerraformName: "mqtt_retain_max_memory", - MarkdownDescription: "The maximum total memory usage of the MQTT Retain feature for this Message VPN, in MB. If the maximum memory is reached, any arriving retain messages that require more memory are discarded. A value of -1 indicates that the memory is bounded only by the global max memory limit. A value of 0 prevents MQTT Retain from becoming operational. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `-1`. Available since 2.11.", + MarkdownDescription: "The maximum total memory usage of the MQTT Retain feature for this Message VPN, in MB. If the maximum memory is reached, any arriving retain messages that require more memory are discarded. A value of -1 indicates that the memory is bounded only by the global max memory limit. A value of 0 prevents MQTT Retain from becoming operational. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `-1`. Available since SEMP API version 2.11.", Type: types.Int64Type, TerraformType: tftypes.Number, Converter: broker.IntegerConverter{}, @@ -1886,25 +1888,11 @@ func init() { stringvalidator.RegexMatches(regexp.MustCompile("^[^*?]+$"), ""), }, }, - { - BaseType: broker.String, - SempName: "preferIpVersion", - TerraformName: "prefer_ip_version", - MarkdownDescription: "IP version to use if DNS lookup contains both an IPv4 and IPv6 address. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `\"ipv6\"`. The allowed values and their meaning are:\n\n
\n\"ipv4\" - Use IPv4 address when DNS lookup contains both an IPv4 and IPv6 address.\n\"ipv6\" - Use IPv6 address when DNS lookup contains both an IPv4 and IPv6 address.\n
\n Deprecated since 2.24. Where supported, the broker will attempt connections to both IPv4 and IPv6 addresses as appropriate.", - Deprecated: true, - Type: types.StringType, - TerraformType: tftypes.String, - Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, - StringValidators: []validator.String{ - stringvalidator.OneOf("ipv4", "ipv6"), - }, - Default: "ipv6", - }, { BaseType: broker.Int64, SempName: "replicationAckPropagationIntervalMsgCount", TerraformName: "replication_ack_propagation_interval_msg_count", - MarkdownDescription: "The acknowledgement (ACK) propagation interval for the replication Bridge, in number of replicated messages. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `20`.", + MarkdownDescription: "The acknowledgment (ACK) propagation interval for the replication Bridge, in number of replicated messages. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `20`.", Type: types.Int64Type, TerraformType: tftypes.Number, Converter: broker.IntegerConverter{}, @@ -1935,7 +1923,7 @@ func init() { BaseType: broker.String, SempName: "replicationBridgeAuthenticationBasicPassword", TerraformName: "replication_bridge_authentication_basic_password", - MarkdownDescription: "The password for the Client Username. This attribute is absent from a GET and not updated when absent in a PUT, subject to the exceptions in note 4. Changes to this attribute are synchronized to HA mates via config-sync. The default value is `\"\"`.", + MarkdownDescription: "The password for the Client Username. This attribute is absent from a GET and not updated when absent in a PUT, subject to the exceptions in note 4 (refer to the `Notes` section in the SEMP API `Config reference`). Changes to this attribute are synchronized to HA mates via config-sync. The default value is `\"\"`.", Sensitive: true, Requires: []string{"replication_bridge_authentication_basic_client_username"}, Type: types.StringType, @@ -1953,7 +1941,7 @@ func init() { BaseType: broker.String, SempName: "replicationBridgeAuthenticationClientCertContent", TerraformName: "replication_bridge_authentication_client_cert_content", - MarkdownDescription: "The PEM formatted content for the client certificate used by this bridge to login to the Remote Message VPN. It must consist of a private key and between one and three certificates comprising the certificate trust chain. This attribute is absent from a GET and not updated when absent in a PUT, subject to the exceptions in note 4. Changing this attribute requires an HTTPS connection. The default value is `\"\"`. Available since 2.9.", + MarkdownDescription: "The PEM formatted content for the client certificate used by this bridge to login to the Remote Message VPN. It must consist of a private key and between one and three certificates comprising the certificate trust chain. This attribute is absent from a GET and not updated when absent in a PUT, subject to the exceptions in note 4 (refer to the `Notes` section in the SEMP API `Config reference`). The default value is `\"\"`. Available since SEMP API version 2.9.", Sensitive: true, Type: types.StringType, TerraformType: tftypes.String, @@ -1967,7 +1955,7 @@ func init() { BaseType: broker.String, SempName: "replicationBridgeAuthenticationClientCertPassword", TerraformName: "replication_bridge_authentication_client_cert_password", - MarkdownDescription: "The password for the client certificate. This attribute is absent from a GET and not updated when absent in a PUT, subject to the exceptions in note 4. Changing this attribute requires an HTTPS connection. The default value is `\"\"`. Available since 2.9.", + MarkdownDescription: "The password for the client certificate. This attribute is absent from a GET and not updated when absent in a PUT, subject to the exceptions in note 4 (refer to the `Notes` section in the SEMP API `Config reference`). The default value is `\"\"`. Available since SEMP API version 2.9.", Sensitive: true, Requires: []string{"replication_bridge_authentication_client_cert_content"}, Type: types.StringType, @@ -1977,7 +1965,7 @@ func init() { stringvalidator.AlsoRequires( path.MatchRelative().AtParent().AtName("replication_bridge_authentication_client_cert_content"), ), - stringvalidator.LengthBetween(0, 32768), + stringvalidator.LengthBetween(0, 512), }, Default: "", }, @@ -2068,7 +2056,7 @@ func init() { BaseType: broker.String, SempName: "replicationEnabledQueueBehavior", TerraformName: "replication_enabled_queue_behavior", - MarkdownDescription: "The behavior to take when enabling replication for the Message VPN, depending on the existence of the replication Queue. This attribute is absent from a GET and not updated when absent in a PUT, subject to the exceptions in note 4. Changes to this attribute are synchronized to HA mates via config-sync. The default value is `\"fail-on-existing-queue\"`. The allowed values and their meaning are:\n\n
\n\"fail-on-existing-queue\" - The data replication queue must not already exist.\n\"force-use-existing-queue\" - The data replication queue must already exist. Any data messages on the Queue will be forwarded to interested applications. IMPORTANT: Before using this mode be certain that the messages are not stale or otherwise unsuitable to be forwarded. This mode can only be specified when the existing queue is configured the same as is currently specified under replication configuration otherwise the enabling of replication will fail.\n\"force-recreate-queue\" - The data replication queue must already exist. Any data messages on the Queue will be discarded. IMPORTANT: Before using this mode be certain that the messages on the existing data replication queue are not needed by interested applications.\n
\n", + MarkdownDescription: "The behavior to take when enabling replication for the Message VPN, depending on the existence of the replication Queue. This attribute is absent from a GET and not updated when absent in a PUT, subject to the exceptions in note 4 (refer to the `Notes` section in the SEMP API `Config reference`). Changes to this attribute are synchronized to HA mates via config-sync. The default value is `\"fail-on-existing-queue\"`. The allowed values and their meaning are:\n\n
\n\"fail-on-existing-queue\" - The data replication queue must not already exist.\n\"force-use-existing-queue\" - The data replication queue must already exist. Any data messages on the Queue will be forwarded to interested applications. IMPORTANT: Before using this mode be certain that the messages are not stale or otherwise unsuitable to be forwarded. This mode can only be specified when the existing queue is configured the same as is currently specified under replication configuration otherwise the enabling of replication will fail.\n\"force-recreate-queue\" - The data replication queue must already exist. Any data messages on the Queue will be discarded. IMPORTANT: Before using this mode be certain that the messages on the existing data replication queue are not needed by interested applications.\n
\n", Sensitive: true, Requires: []string{"replication_enabled"}, Type: types.StringType, @@ -2141,17 +2129,6 @@ func init() { }, Default: "async", }, - { - BaseType: broker.Bool, - SempName: "restTlsServerCertEnforceTrustedCommonNameEnabled", - TerraformName: "rest_tls_server_cert_enforce_trusted_common_name_enabled", - MarkdownDescription: "Enable or disable validation of the Common Name (CN) in the server certificate from the remote REST Consumer. If enabled, the Common Name is checked against the list of Trusted Common Names configured for the REST Consumer. Common Name validation is not performed if Server Certificate Name Validation is enabled, even if Common Name validation is enabled. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `false`. Deprecated since 2.17. Common Name validation has been replaced by Server Certificate Name validation.", - Deprecated: true, - Type: types.BoolType, - TerraformType: tftypes.Bool, - Converter: broker.SimpleConverter[bool]{TerraformType: tftypes.Bool}, - Default: false, - }, { BaseType: broker.Int64, SempName: "restTlsServerCertMaxChainDepth", @@ -2179,7 +2156,7 @@ func init() { BaseType: broker.Bool, SempName: "restTlsServerCertValidateNameEnabled", TerraformName: "rest_tls_server_cert_validate_name_enabled", - MarkdownDescription: "Enable or disable the standard TLS authentication mechanism of verifying the name used to connect to the remote REST Consumer. If enabled, the name used to connect to the remote REST Consumer is checked against the names specified in the certificate returned by the remote router. Legacy Common Name validation is not performed if Server Certificate Name Validation is enabled, even if Common Name validation is also enabled. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `true`. Available since 2.17.", + MarkdownDescription: "Enable or disable the standard TLS authentication mechanism of verifying the name used to connect to the remote REST Consumer. If enabled, the name used to connect to the remote REST Consumer is checked against the names specified in the certificate returned by the remote broker. Legacy Common Name validation is not performed if Server Certificate Name Validation is enabled, even if Common Name validation is also enabled. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `true`. Available since SEMP API version 2.17.", Type: types.BoolType, TerraformType: tftypes.Bool, Converter: broker.SimpleConverter[bool]{TerraformType: tftypes.Bool}, @@ -2249,7 +2226,7 @@ func init() { BaseType: broker.Int64, SempName: "serviceAmqpMaxConnectionCount", TerraformName: "service_amqp_max_connection_count", - MarkdownDescription: "The maximum number of AMQP client connections that can be simultaneously connected to the Message VPN. This value may be higher than supported by the platform. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default is the maximum value supported by the platform. Available since 2.8.", + MarkdownDescription: "The maximum number of AMQP client connections that can be simultaneously connected to the Message VPN. This value may be higher than supported by the platform. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default is the maximum value supported by the platform. Available since SEMP API version 2.8.", Type: types.Int64Type, TerraformType: tftypes.Number, Converter: broker.IntegerConverter{}, @@ -2261,7 +2238,7 @@ func init() { BaseType: broker.Bool, SempName: "serviceAmqpPlainTextEnabled", TerraformName: "service_amqp_plain_text_enabled", - MarkdownDescription: "Enable or disable the plain-text AMQP service in the Message VPN. Disabling causes clients connected to the corresponding listen-port to be disconnected. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `false`. Available since 2.8.", + MarkdownDescription: "Enable or disable the plain-text AMQP service in the Message VPN. Disabling causes clients connected to the corresponding listen-port to be disconnected. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `false`. Available since SEMP API version 2.8.", Type: types.BoolType, TerraformType: tftypes.Bool, Converter: broker.SimpleConverter[bool]{TerraformType: tftypes.Bool}, @@ -2271,7 +2248,7 @@ func init() { BaseType: broker.Int64, SempName: "serviceAmqpPlainTextListenPort", TerraformName: "service_amqp_plain_text_listen_port", - MarkdownDescription: "The port number for plain-text AMQP clients that connect to the Message VPN. The port must be unique across the message backbone. A value of 0 means that the listen-port is unassigned and cannot be enabled. Modifying this attribute while the object (or the relevant part of the object) is administratively enabled may be service impacting as service_amqp_plain_text_enabled will be temporarily set to false to apply the change. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `0`. Available since 2.8.", + MarkdownDescription: "The port number for plain-text AMQP clients that connect to the Message VPN. The port must be unique across the message backbone. A value of 0 means that the listen-port is unassigned and cannot be enabled. Modifying this attribute while the object (or the relevant part of the object) is administratively enabled may be service impacting as service_amqp_plain_text_enabled will be temporarily set to false to apply the change. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `0`. Available since SEMP API version 2.8.", Type: types.Int64Type, TerraformType: tftypes.Number, Converter: broker.IntegerConverter{}, @@ -2284,7 +2261,7 @@ func init() { BaseType: broker.Bool, SempName: "serviceAmqpTlsEnabled", TerraformName: "service_amqp_tls_enabled", - MarkdownDescription: "Enable or disable the use of encryption (TLS) for the AMQP service in the Message VPN. Disabling causes clients currently connected over TLS to be disconnected. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `false`. Available since 2.8.", + MarkdownDescription: "Enable or disable the use of encryption (TLS) for the AMQP service in the Message VPN. Disabling causes clients currently connected over TLS to be disconnected. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `false`. Available since SEMP API version 2.8.", Type: types.BoolType, TerraformType: tftypes.Bool, Converter: broker.SimpleConverter[bool]{TerraformType: tftypes.Bool}, @@ -2294,7 +2271,7 @@ func init() { BaseType: broker.Int64, SempName: "serviceAmqpTlsListenPort", TerraformName: "service_amqp_tls_listen_port", - MarkdownDescription: "The port number for AMQP clients that connect to the Message VPN over TLS. The port must be unique across the message backbone. A value of 0 means that the listen-port is unassigned and cannot be enabled. Modifying this attribute while the object (or the relevant part of the object) is administratively enabled may be service impacting as service_amqp_tls_enabled will be temporarily set to false to apply the change. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `0`. Available since 2.8.", + MarkdownDescription: "The port number for AMQP clients that connect to the Message VPN over TLS. The port must be unique across the message backbone. A value of 0 means that the listen-port is unassigned and cannot be enabled. Modifying this attribute while the object (or the relevant part of the object) is administratively enabled may be service impacting as service_amqp_tls_enabled will be temporarily set to false to apply the change. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `0`. Available since SEMP API version 2.8.", Type: types.Int64Type, TerraformType: tftypes.Number, Converter: broker.IntegerConverter{}, @@ -2307,7 +2284,7 @@ func init() { BaseType: broker.String, SempName: "serviceMqttAuthenticationClientCertRequest", TerraformName: "service_mqtt_authentication_client_cert_request", - MarkdownDescription: "Determines when to request a client certificate from an incoming MQTT client connecting via a TLS port. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `\"when-enabled-in-message-vpn\"`. The allowed values and their meaning are:\n\n
\n\"always\" - Always ask for a client certificate regardless of the \"message-vpn > authentication > client-certificate > shutdown\" configuration.\n\"never\" - Never ask for a client certificate regardless of the \"message-vpn > authentication > client-certificate > shutdown\" configuration.\n\"when-enabled-in-message-vpn\" - Only ask for a client-certificate if client certificate authentication is enabled under \"message-vpn >  authentication > client-certificate > shutdown\".\n
\n Available since 2.21.", + MarkdownDescription: "Determines when to request a client certificate from an incoming MQTT client connecting via a TLS port. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `\"when-enabled-in-message-vpn\"`. The allowed values and their meaning are:\n\n
\n\"always\" - Always ask for a client certificate regardless of the \"message-vpn > authentication > client-certificate > shutdown\" configuration.\n\"never\" - Never ask for a client certificate regardless of the \"message-vpn > authentication > client-certificate > shutdown\" configuration.\n\"when-enabled-in-message-vpn\" - Only ask for a client-certificate if client certificate authentication is enabled under \"message-vpn >  authentication > client-certificate > shutdown\".\n
\n Available since SEMP API version 2.21.", Type: types.StringType, TerraformType: tftypes.String, Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, @@ -2320,7 +2297,7 @@ func init() { BaseType: broker.Int64, SempName: "serviceMqttMaxConnectionCount", TerraformName: "service_mqtt_max_connection_count", - MarkdownDescription: "The maximum number of MQTT client connections that can be simultaneously connected to the Message VPN. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default is the maximum value supported by the platform. Available since 2.4.", + MarkdownDescription: "The maximum number of MQTT client connections that can be simultaneously connected to the Message VPN. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default is the maximum value supported by the platform. Available since SEMP API version 2.4.", Type: types.Int64Type, TerraformType: tftypes.Number, Converter: broker.IntegerConverter{}, @@ -2332,7 +2309,7 @@ func init() { BaseType: broker.Bool, SempName: "serviceMqttPlainTextEnabled", TerraformName: "service_mqtt_plain_text_enabled", - MarkdownDescription: "Enable or disable the plain-text MQTT service in the Message VPN. Disabling causes clients currently connected to be disconnected. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `false`. Available since 2.4.", + MarkdownDescription: "Enable or disable the plain-text MQTT service in the Message VPN. Disabling causes clients currently connected to be disconnected. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `false`. Available since SEMP API version 2.4.", Type: types.BoolType, TerraformType: tftypes.Bool, Converter: broker.SimpleConverter[bool]{TerraformType: tftypes.Bool}, @@ -2342,7 +2319,7 @@ func init() { BaseType: broker.Int64, SempName: "serviceMqttPlainTextListenPort", TerraformName: "service_mqtt_plain_text_listen_port", - MarkdownDescription: "The port number for plain-text MQTT clients that connect to the Message VPN. The port must be unique across the message backbone. A value of 0 means that the listen-port is unassigned and cannot be enabled. Modifying this attribute while the object (or the relevant part of the object) is administratively enabled may be service impacting as service_mqtt_plain_text_enabled will be temporarily set to false to apply the change. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `0`. Available since 2.4.", + MarkdownDescription: "The port number for plain-text MQTT clients that connect to the Message VPN. The port must be unique across the message backbone. A value of 0 means that the listen-port is unassigned and cannot be enabled. Modifying this attribute while the object (or the relevant part of the object) is administratively enabled may be service impacting as service_mqtt_plain_text_enabled will be temporarily set to false to apply the change. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `0`. Available since SEMP API version 2.4.", Type: types.Int64Type, TerraformType: tftypes.Number, Converter: broker.IntegerConverter{}, @@ -2355,7 +2332,7 @@ func init() { BaseType: broker.Bool, SempName: "serviceMqttTlsEnabled", TerraformName: "service_mqtt_tls_enabled", - MarkdownDescription: "Enable or disable the use of encryption (TLS) for the MQTT service in the Message VPN. Disabling causes clients currently connected over TLS to be disconnected. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `false`. Available since 2.4.", + MarkdownDescription: "Enable or disable the use of encryption (TLS) for the MQTT service in the Message VPN. Disabling causes clients currently connected over TLS to be disconnected. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `false`. Available since SEMP API version 2.4.", Type: types.BoolType, TerraformType: tftypes.Bool, Converter: broker.SimpleConverter[bool]{TerraformType: tftypes.Bool}, @@ -2365,7 +2342,7 @@ func init() { BaseType: broker.Int64, SempName: "serviceMqttTlsListenPort", TerraformName: "service_mqtt_tls_listen_port", - MarkdownDescription: "The port number for MQTT clients that connect to the Message VPN over TLS. The port must be unique across the message backbone. A value of 0 means that the listen-port is unassigned and cannot be enabled. Modifying this attribute while the object (or the relevant part of the object) is administratively enabled may be service impacting as service_mqtt_tls_enabled will be temporarily set to false to apply the change. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `0`. Available since 2.4.", + MarkdownDescription: "The port number for MQTT clients that connect to the Message VPN over TLS. The port must be unique across the message backbone. A value of 0 means that the listen-port is unassigned and cannot be enabled. Modifying this attribute while the object (or the relevant part of the object) is administratively enabled may be service impacting as service_mqtt_tls_enabled will be temporarily set to false to apply the change. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `0`. Available since SEMP API version 2.4.", Type: types.Int64Type, TerraformType: tftypes.Number, Converter: broker.IntegerConverter{}, @@ -2378,7 +2355,7 @@ func init() { BaseType: broker.Bool, SempName: "serviceMqttTlsWebSocketEnabled", TerraformName: "service_mqtt_tls_web_socket_enabled", - MarkdownDescription: "Enable or disable the use of encrypted WebSocket (WebSocket over TLS) for the MQTT service in the Message VPN. Disabling causes clients currently connected by encrypted WebSocket to be disconnected. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `false`. Available since 2.4.", + MarkdownDescription: "Enable or disable the use of encrypted WebSocket (WebSocket over TLS) for the MQTT service in the Message VPN. Disabling causes clients currently connected by encrypted WebSocket to be disconnected. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `false`. Available since SEMP API version 2.4.", Type: types.BoolType, TerraformType: tftypes.Bool, Converter: broker.SimpleConverter[bool]{TerraformType: tftypes.Bool}, @@ -2388,7 +2365,7 @@ func init() { BaseType: broker.Int64, SempName: "serviceMqttTlsWebSocketListenPort", TerraformName: "service_mqtt_tls_web_socket_listen_port", - MarkdownDescription: "The port number for MQTT clients that connect to the Message VPN using WebSocket over TLS. The port must be unique across the message backbone. A value of 0 means that the listen-port is unassigned and cannot be enabled. Modifying this attribute while the object (or the relevant part of the object) is administratively enabled may be service impacting as service_mqtt_tls_web_socket_enabled will be temporarily set to false to apply the change. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `0`. Available since 2.4.", + MarkdownDescription: "The port number for MQTT clients that connect to the Message VPN using WebSocket over TLS. The port must be unique across the message backbone. A value of 0 means that the listen-port is unassigned and cannot be enabled. Modifying this attribute while the object (or the relevant part of the object) is administratively enabled may be service impacting as service_mqtt_tls_web_socket_enabled will be temporarily set to false to apply the change. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `0`. Available since SEMP API version 2.4.", Type: types.Int64Type, TerraformType: tftypes.Number, Converter: broker.IntegerConverter{}, @@ -2401,7 +2378,7 @@ func init() { BaseType: broker.Bool, SempName: "serviceMqttWebSocketEnabled", TerraformName: "service_mqtt_web_socket_enabled", - MarkdownDescription: "Enable or disable the use of WebSocket for the MQTT service in the Message VPN. Disabling causes clients currently connected by WebSocket to be disconnected. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `false`. Available since 2.4.", + MarkdownDescription: "Enable or disable the use of WebSocket for the MQTT service in the Message VPN. Disabling causes clients currently connected by WebSocket to be disconnected. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `false`. Available since SEMP API version 2.4.", Type: types.BoolType, TerraformType: tftypes.Bool, Converter: broker.SimpleConverter[bool]{TerraformType: tftypes.Bool}, @@ -2411,7 +2388,7 @@ func init() { BaseType: broker.Int64, SempName: "serviceMqttWebSocketListenPort", TerraformName: "service_mqtt_web_socket_listen_port", - MarkdownDescription: "The port number for plain-text MQTT clients that connect to the Message VPN using WebSocket. The port must be unique across the message backbone. A value of 0 means that the listen-port is unassigned and cannot be enabled. Modifying this attribute while the object (or the relevant part of the object) is administratively enabled may be service impacting as service_mqtt_web_socket_enabled will be temporarily set to false to apply the change. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `0`. Available since 2.4.", + MarkdownDescription: "The port number for plain-text MQTT clients that connect to the Message VPN using WebSocket. The port must be unique across the message backbone. A value of 0 means that the listen-port is unassigned and cannot be enabled. Modifying this attribute while the object (or the relevant part of the object) is administratively enabled may be service impacting as service_mqtt_web_socket_enabled will be temporarily set to false to apply the change. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `0`. Available since SEMP API version 2.4.", Type: types.Int64Type, TerraformType: tftypes.Number, Converter: broker.IntegerConverter{}, @@ -2424,7 +2401,7 @@ func init() { BaseType: broker.String, SempName: "serviceRestIncomingAuthenticationClientCertRequest", TerraformName: "service_rest_incoming_authentication_client_cert_request", - MarkdownDescription: "Determines when to request a client certificate from an incoming REST Producer connecting via a TLS port. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `\"when-enabled-in-message-vpn\"`. The allowed values and their meaning are:\n\n
\n\"always\" - Always ask for a client certificate regardless of the \"message-vpn > authentication > client-certificate > shutdown\" configuration.\n\"never\" - Never ask for a client certificate regardless of the \"message-vpn > authentication > client-certificate > shutdown\" configuration.\n\"when-enabled-in-message-vpn\" - Only ask for a client-certificate if client certificate authentication is enabled under \"message-vpn >  authentication > client-certificate > shutdown\".\n
\n Available since 2.21.", + MarkdownDescription: "Determines when to request a client certificate from an incoming REST Producer connecting via a TLS port. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `\"when-enabled-in-message-vpn\"`. The allowed values and their meaning are:\n\n
\n\"always\" - Always ask for a client certificate regardless of the \"message-vpn > authentication > client-certificate > shutdown\" configuration.\n\"never\" - Never ask for a client certificate regardless of the \"message-vpn > authentication > client-certificate > shutdown\" configuration.\n\"when-enabled-in-message-vpn\" - Only ask for a client-certificate if client certificate authentication is enabled under \"message-vpn >  authentication > client-certificate > shutdown\".\n
\n Available since SEMP API version 2.21.", Type: types.StringType, TerraformType: tftypes.String, Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, @@ -2437,7 +2414,7 @@ func init() { BaseType: broker.String, SempName: "serviceRestIncomingAuthorizationHeaderHandling", TerraformName: "service_rest_incoming_authorization_header_handling", - MarkdownDescription: "The handling of Authorization headers for incoming REST connections. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `\"drop\"`. The allowed values and their meaning are:\n\n
\n\"drop\" - Do not attach the Authorization header to the message as a user property. This configuration is most secure.\n\"forward\" - Forward the Authorization header, attaching it to the message as a user property in the same way as other headers. For best security, use the drop setting.\n\"legacy\" - If the Authorization header was used for authentication to the broker, do not attach it to the message. If the Authorization header was not used for authentication to the broker, attach it to the message as a user property in the same way as other headers. For best security, use the drop setting.\n
\n Available since 2.19.", + MarkdownDescription: "The handling of Authorization headers for incoming REST connections. Authorization header handling settings apply only when the Message VPN is in gateway mode. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `\"drop\"`. The allowed values and their meaning are:\n\n
\n\"drop\" - Do not attach the Authorization header to the message as a user property. This configuration is most secure.\n\"forward\" - Forward the Authorization header, attaching it to the message as a user property in the same way as other headers. For best security, use the drop setting.\n\"legacy\" - If the Authorization header was used for authentication to the broker, do not attach it to the message. If the Authorization header was not used for authentication to the broker, attach it to the message as a user property in the same way as other headers. For best security, use the drop setting.\n
\n Available since SEMP API version 2.19.", Type: types.StringType, TerraformType: tftypes.String, Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, @@ -2508,7 +2485,7 @@ func init() { BaseType: broker.String, SempName: "serviceRestMode", TerraformName: "service_rest_mode", - MarkdownDescription: "The REST service mode for incoming REST clients that connect to the Message VPN. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `\"messaging\"`. The allowed values and their meaning are:\n\n
\n\"gateway\" - Act as a message gateway through which REST messages are propagated.\n\"messaging\" - Act as a message broker on which REST messages are queued.\n
\n Available since 2.8.", + MarkdownDescription: "The REST service mode for incoming REST clients that connect to the Message VPN. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `\"messaging\"`. The allowed values and their meaning are:\n\n
\n\"gateway\" - Act as a message gateway through which REST messages are propagated.\n\"messaging\" - Act as a message broker on which REST messages are queued.\n
\n Available since SEMP API version 2.8.", Type: types.StringType, TerraformType: tftypes.String, Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, @@ -2565,7 +2542,7 @@ func init() { BaseType: broker.String, SempName: "serviceWebAuthenticationClientCertRequest", TerraformName: "service_web_authentication_client_cert_request", - MarkdownDescription: "Determines when to request a client certificate from a Web Transport client connecting via a TLS port. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `\"when-enabled-in-message-vpn\"`. The allowed values and their meaning are:\n\n
\n\"always\" - Always ask for a client certificate regardless of the \"message-vpn > authentication > client-certificate > shutdown\" configuration.\n\"never\" - Never ask for a client certificate regardless of the \"message-vpn > authentication > client-certificate > shutdown\" configuration.\n\"when-enabled-in-message-vpn\" - Only ask for a client-certificate if client certificate authentication is enabled under \"message-vpn >  authentication > client-certificate > shutdown\".\n
\n Available since 2.21.", + MarkdownDescription: "Determines when to request a client certificate from a Web Transport client connecting via a TLS port. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `\"when-enabled-in-message-vpn\"`. The allowed values and their meaning are:\n\n
\n\"always\" - Always ask for a client certificate regardless of the \"message-vpn > authentication > client-certificate > shutdown\" configuration.\n\"never\" - Never ask for a client certificate regardless of the \"message-vpn > authentication > client-certificate > shutdown\" configuration.\n\"when-enabled-in-message-vpn\" - Only ask for a client-certificate if client certificate authentication is enabled under \"message-vpn >  authentication > client-certificate > shutdown\".\n
\n Available since SEMP API version 2.21.", Type: types.StringType, TerraformType: tftypes.String, Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, diff --git a/internal/broker/generated/MsgVpnAclProfile.go b/internal/broker/generated/MsgVpnAclProfile.go index aec5834..5b6d9a6 100644 --- a/internal/broker/generated/MsgVpnAclProfile.go +++ b/internal/broker/generated/MsgVpnAclProfile.go @@ -28,11 +28,20 @@ import ( func init() { info := broker.EntityInputs{ TerraformName: "msg_vpn_acl_profile", - MarkdownDescription: "An ACL Profile controls whether an authenticated client is permitted to establish a connection with the message broker or permitted to publish and subscribe to specific topics.\n\n\nAttribute|Identifying|Write-Only|Deprecated|Opaque\n:---|:---:|:---:|:---:|:---:\nacl_profile_name|x|||\nmsg_vpn_name|x|||\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"vpn/read-only\" is required to perform this operation.\n\nThis has been available since 2.0.", + MarkdownDescription: "An ACL Profile controls whether an authenticated client is permitted to establish a connection with the message broker or permitted to publish and subscribe to specific topics.\n\n\nAttribute|Identifying\n:---|:---:\nacl_profile_name|x\nmsg_vpn_name|x\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"vpn/read-only\" is required to perform this operation.\n\nThis has been available since SEMP API version 2.0.", ObjectType: broker.StandardObject, PathTemplate: "/msgVpns/{msgVpnName}/aclProfiles/{aclProfileName}", Version: 0, Attributes: []*broker.AttributeInfo{ + { + BaseType: broker.String, + SempName: "id", + TerraformName: "id", + Type: types.StringType, + TerraformType: tftypes.String, + Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, + Default: "", + }, { BaseType: broker.String, SempName: "aclProfileName", @@ -95,7 +104,7 @@ func init() { BaseType: broker.String, SempName: "subscribeShareNameDefaultAction", TerraformName: "subscribe_share_name_default_action", - MarkdownDescription: "The default action to take when a client using the ACL Profile subscribes to a share-name subscription in the Message VPN. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `\"allow\"`. The allowed values and their meaning are:\n\n
\n\"allow\" - Allow topic unless an exception is found for it.\n\"disallow\" - Disallow topic unless an exception is found for it.\n
\n Available since 2.14.", + MarkdownDescription: "The default action to take when a client using the ACL Profile subscribes to a share-name subscription in the Message VPN. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `\"allow\"`. The allowed values and their meaning are:\n\n
\n\"allow\" - Allow topic unless an exception is found for it.\n\"disallow\" - Disallow topic unless an exception is found for it.\n
\n Available since SEMP API version 2.14.", Type: types.StringType, TerraformType: tftypes.String, Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, diff --git a/internal/broker/generated/MsgVpnAclProfileClientConnectException.go b/internal/broker/generated/MsgVpnAclProfileClientConnectException.go index acaba82..dedae66 100644 --- a/internal/broker/generated/MsgVpnAclProfileClientConnectException.go +++ b/internal/broker/generated/MsgVpnAclProfileClientConnectException.go @@ -28,12 +28,21 @@ import ( func init() { info := broker.EntityInputs{ TerraformName: "msg_vpn_acl_profile_client_connect_exception", - MarkdownDescription: "A Client Connect Exception is an exception to the default action to take when a client using the ACL Profile connects to the Message VPN. Exceptions must be expressed as an IP address/netmask in CIDR form.\n\n\nAttribute|Identifying|Write-Only|Deprecated|Opaque\n:---|:---:|:---:|:---:|:---:\nacl_profile_name|x|||\nclient_connect_exception_address|x|||\nmsg_vpn_name|x|||\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"vpn/read-only\" is required to perform this operation.\n\nThis has been available since 2.0.", + MarkdownDescription: "A Client Connect Exception is an exception to the default action to take when a client using the ACL Profile connects to the Message VPN. Exceptions must be expressed as an IP address/netmask in CIDR form.\n\n\nAttribute|Identifying\n:---|:---:\nacl_profile_name|x\nclient_connect_exception_address|x\nmsg_vpn_name|x\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"vpn/read-only\" is required to perform this operation.\n\nThis has been available since SEMP API version 2.0.", ObjectType: broker.ReplaceOnlyObject, PathTemplate: "/msgVpns/{msgVpnName}/aclProfiles/{aclProfileName}/clientConnectExceptions/{clientConnectExceptionAddress}", PostPathTemplate: "/msgVpns/{msgVpnName}/aclProfiles/{aclProfileName}/clientConnectExceptions", Version: 0, Attributes: []*broker.AttributeInfo{ + { + BaseType: broker.String, + SempName: "id", + TerraformName: "id", + Type: types.StringType, + TerraformType: tftypes.String, + Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, + Default: "", + }, { BaseType: broker.String, SempName: "aclProfileName", diff --git a/internal/broker/generated/MsgVpnAclProfilePublishException.go b/internal/broker/generated/MsgVpnAclProfilePublishException.go deleted file mode 100644 index 259e7d6..0000000 --- a/internal/broker/generated/MsgVpnAclProfilePublishException.go +++ /dev/null @@ -1,108 +0,0 @@ -// terraform-provider-solacebroker -// -// Copyright 2023 Solace Corporation. All rights reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -package generated - -import ( - "github.com/hashicorp/terraform-plugin-framework-validators/stringvalidator" - "github.com/hashicorp/terraform-plugin-framework/schema/validator" - "github.com/hashicorp/terraform-plugin-framework/types" - "github.com/hashicorp/terraform-plugin-go/tftypes" - "regexp" - "terraform-provider-solacebroker/internal/broker" -) - -func init() { - info := broker.EntityInputs{ - TerraformName: "msg_vpn_acl_profile_publish_exception", - MarkdownDescription: "A Publish Topic Exception is an exception to the default action to take when a client using the ACL Profile publishes to a topic in the Message VPN. Exceptions must be expressed as a topic.\n\n\nAttribute|Identifying|Write-Only|Deprecated|Opaque\n:---|:---:|:---:|:---:|:---:\nacl_profile_name|x||x|\nmsg_vpn_name|x||x|\npublish_exception_topic|x||x|\ntopic_syntax|x||x|\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"vpn/read-only\" is required to perform this operation.\n\nThis has been deprecated since 2.14. Replaced by publish_topic_exceptions.", - ObjectType: broker.ReplaceOnlyObject, - PathTemplate: "/msgVpns/{msgVpnName}/aclProfiles/{aclProfileName}/publishExceptions/{topicSyntax},{publishExceptionTopic}", - PostPathTemplate: "/msgVpns/{msgVpnName}/aclProfiles/{aclProfileName}/publishExceptions", - Version: 0, - Attributes: []*broker.AttributeInfo{ - { - BaseType: broker.String, - SempName: "aclProfileName", - TerraformName: "acl_profile_name", - MarkdownDescription: "The name of the ACL Profile. Deprecated since 2.14. Replaced by publish_topic_exceptions.", - Identifying: true, - Required: true, - ReadOnly: true, - RequiresReplace: true, - Deprecated: true, - Type: types.StringType, - TerraformType: tftypes.String, - Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, - StringValidators: []validator.String{ - stringvalidator.LengthBetween(1, 32), - }, - }, - { - BaseType: broker.String, - SempName: "msgVpnName", - TerraformName: "msg_vpn_name", - MarkdownDescription: "The name of the Message VPN. Deprecated since 2.14. Replaced by publish_topic_exceptions.", - Identifying: true, - Required: true, - ReadOnly: true, - RequiresReplace: true, - Deprecated: true, - Type: types.StringType, - TerraformType: tftypes.String, - Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, - StringValidators: []validator.String{ - stringvalidator.LengthBetween(1, 32), - stringvalidator.RegexMatches(regexp.MustCompile("^[^*?]+$"), ""), - }, - }, - { - BaseType: broker.String, - SempName: "publishExceptionTopic", - TerraformName: "publish_exception_topic", - MarkdownDescription: "The topic for the exception to the default action taken. May include wildcard characters. Deprecated since 2.14. Replaced by publish_topic_exceptions.", - Identifying: true, - Required: true, - RequiresReplace: true, - Deprecated: true, - Type: types.StringType, - TerraformType: tftypes.String, - Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, - StringValidators: []validator.String{ - stringvalidator.LengthBetween(1, 250), - }, - }, - { - BaseType: broker.String, - SempName: "topicSyntax", - TerraformName: "topic_syntax", - MarkdownDescription: "The syntax of the topic for the exception to the default action taken. The allowed values and their meaning are:\n\n
\n\"smf\" - Topic uses SMF syntax.\n\"mqtt\" - Topic uses MQTT syntax.\n
\n Deprecated since 2.14. Replaced by publish_topic_exceptions.", - Identifying: true, - Required: true, - RequiresReplace: true, - Deprecated: true, - Type: types.StringType, - TerraformType: tftypes.String, - Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, - StringValidators: []validator.String{ - stringvalidator.OneOf("smf", "mqtt"), - }, - }, - }, - } - broker.RegisterResource(info) - broker.RegisterDataSource(info) -} diff --git a/internal/broker/generated/MsgVpnAclProfilePublishTopicException.go b/internal/broker/generated/MsgVpnAclProfilePublishTopicException.go index 73a7f31..81f80ca 100644 --- a/internal/broker/generated/MsgVpnAclProfilePublishTopicException.go +++ b/internal/broker/generated/MsgVpnAclProfilePublishTopicException.go @@ -28,12 +28,21 @@ import ( func init() { info := broker.EntityInputs{ TerraformName: "msg_vpn_acl_profile_publish_topic_exception", - MarkdownDescription: "A Publish Topic Exception is an exception to the default action to take when a client using the ACL Profile publishes to a topic in the Message VPN. Exceptions must be expressed as a topic.\n\n\nAttribute|Identifying|Write-Only|Deprecated|Opaque\n:---|:---:|:---:|:---:|:---:\nacl_profile_name|x|||\nmsg_vpn_name|x|||\npublish_topic_exception|x|||\npublish_topic_exception_syntax|x|||\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"vpn/read-only\" is required to perform this operation.\n\nThis has been available since 2.14.", + MarkdownDescription: "A Publish Topic Exception is an exception to the default action to take when a client using the ACL Profile publishes to a topic in the Message VPN. Exceptions must be expressed as a topic.\n\n\nAttribute|Identifying\n:---|:---:\nacl_profile_name|x\nmsg_vpn_name|x\npublish_topic_exception|x\npublish_topic_exception_syntax|x\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"vpn/read-only\" is required to perform this operation.\n\nThis has been available since SEMP API version 2.14.", ObjectType: broker.ReplaceOnlyObject, PathTemplate: "/msgVpns/{msgVpnName}/aclProfiles/{aclProfileName}/publishTopicExceptions/{publishTopicExceptionSyntax},{publishTopicException}", PostPathTemplate: "/msgVpns/{msgVpnName}/aclProfiles/{aclProfileName}/publishTopicExceptions", Version: 0, Attributes: []*broker.AttributeInfo{ + { + BaseType: broker.String, + SempName: "id", + TerraformName: "id", + Type: types.StringType, + TerraformType: tftypes.String, + Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, + Default: "", + }, { BaseType: broker.String, SempName: "aclProfileName", diff --git a/internal/broker/generated/MsgVpnAclProfileSubscribeException.go b/internal/broker/generated/MsgVpnAclProfileSubscribeException.go deleted file mode 100644 index e991332..0000000 --- a/internal/broker/generated/MsgVpnAclProfileSubscribeException.go +++ /dev/null @@ -1,108 +0,0 @@ -// terraform-provider-solacebroker -// -// Copyright 2023 Solace Corporation. All rights reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -package generated - -import ( - "github.com/hashicorp/terraform-plugin-framework-validators/stringvalidator" - "github.com/hashicorp/terraform-plugin-framework/schema/validator" - "github.com/hashicorp/terraform-plugin-framework/types" - "github.com/hashicorp/terraform-plugin-go/tftypes" - "regexp" - "terraform-provider-solacebroker/internal/broker" -) - -func init() { - info := broker.EntityInputs{ - TerraformName: "msg_vpn_acl_profile_subscribe_exception", - MarkdownDescription: "A Subscribe Topic Exception is an exception to the default action to take when a client using the ACL Profile subscribes to a topic in the Message VPN. Exceptions must be expressed as a topic.\n\n\nAttribute|Identifying|Write-Only|Deprecated|Opaque\n:---|:---:|:---:|:---:|:---:\nacl_profile_name|x||x|\nmsg_vpn_name|x||x|\nsubscribe_exception_topic|x||x|\ntopic_syntax|x||x|\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"vpn/read-only\" is required to perform this operation.\n\nThis has been deprecated since 2.14. Replaced by subscribe_topic_exceptions.", - ObjectType: broker.ReplaceOnlyObject, - PathTemplate: "/msgVpns/{msgVpnName}/aclProfiles/{aclProfileName}/subscribeExceptions/{topicSyntax},{subscribeExceptionTopic}", - PostPathTemplate: "/msgVpns/{msgVpnName}/aclProfiles/{aclProfileName}/subscribeExceptions", - Version: 0, - Attributes: []*broker.AttributeInfo{ - { - BaseType: broker.String, - SempName: "aclProfileName", - TerraformName: "acl_profile_name", - MarkdownDescription: "The name of the ACL Profile. Deprecated since 2.14. Replaced by subscribe_topic_exceptions.", - Identifying: true, - Required: true, - ReadOnly: true, - RequiresReplace: true, - Deprecated: true, - Type: types.StringType, - TerraformType: tftypes.String, - Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, - StringValidators: []validator.String{ - stringvalidator.LengthBetween(1, 32), - }, - }, - { - BaseType: broker.String, - SempName: "msgVpnName", - TerraformName: "msg_vpn_name", - MarkdownDescription: "The name of the Message VPN. Deprecated since 2.14. Replaced by subscribe_topic_exceptions.", - Identifying: true, - Required: true, - ReadOnly: true, - RequiresReplace: true, - Deprecated: true, - Type: types.StringType, - TerraformType: tftypes.String, - Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, - StringValidators: []validator.String{ - stringvalidator.LengthBetween(1, 32), - stringvalidator.RegexMatches(regexp.MustCompile("^[^*?]+$"), ""), - }, - }, - { - BaseType: broker.String, - SempName: "subscribeExceptionTopic", - TerraformName: "subscribe_exception_topic", - MarkdownDescription: "The topic for the exception to the default action taken. May include wildcard characters. Deprecated since 2.14. Replaced by subscribe_topic_exceptions.", - Identifying: true, - Required: true, - RequiresReplace: true, - Deprecated: true, - Type: types.StringType, - TerraformType: tftypes.String, - Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, - StringValidators: []validator.String{ - stringvalidator.LengthBetween(1, 250), - }, - }, - { - BaseType: broker.String, - SempName: "topicSyntax", - TerraformName: "topic_syntax", - MarkdownDescription: "The syntax of the topic for the exception to the default action taken. The allowed values and their meaning are:\n\n
\n\"smf\" - Topic uses SMF syntax.\n\"mqtt\" - Topic uses MQTT syntax.\n
\n Deprecated since 2.14. Replaced by subscribe_topic_exceptions.", - Identifying: true, - Required: true, - RequiresReplace: true, - Deprecated: true, - Type: types.StringType, - TerraformType: tftypes.String, - Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, - StringValidators: []validator.String{ - stringvalidator.OneOf("smf", "mqtt"), - }, - }, - }, - } - broker.RegisterResource(info) - broker.RegisterDataSource(info) -} diff --git a/internal/broker/generated/MsgVpnAclProfileSubscribeShareNameException.go b/internal/broker/generated/MsgVpnAclProfileSubscribeShareNameException.go index 8b9c2ef..5de75a4 100644 --- a/internal/broker/generated/MsgVpnAclProfileSubscribeShareNameException.go +++ b/internal/broker/generated/MsgVpnAclProfileSubscribeShareNameException.go @@ -28,12 +28,21 @@ import ( func init() { info := broker.EntityInputs{ TerraformName: "msg_vpn_acl_profile_subscribe_share_name_exception", - MarkdownDescription: "A Subscribe Share Name Exception is an exception to the default action to take when a client using the ACL Profile subscribes to a share-name subscription in the Message VPN. Exceptions must be expressed as a topic.\n\n\nAttribute|Identifying|Write-Only|Deprecated|Opaque\n:---|:---:|:---:|:---:|:---:\nacl_profile_name|x|||\nmsg_vpn_name|x|||\nsubscribe_share_name_exception|x|||\nsubscribe_share_name_exception_syntax|x|||\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"vpn/read-only\" is required to perform this operation.\n\nThis has been available since 2.14.", + MarkdownDescription: "A Subscribe Share Name Exception is an exception to the default action to take when a client using the ACL Profile subscribes to a share-name subscription in the Message VPN. Exceptions must be expressed as a topic.\n\n\nAttribute|Identifying\n:---|:---:\nacl_profile_name|x\nmsg_vpn_name|x\nsubscribe_share_name_exception|x\nsubscribe_share_name_exception_syntax|x\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"vpn/read-only\" is required to perform this operation.\n\nThis has been available since SEMP API version 2.14.", ObjectType: broker.ReplaceOnlyObject, PathTemplate: "/msgVpns/{msgVpnName}/aclProfiles/{aclProfileName}/subscribeShareNameExceptions/{subscribeShareNameExceptionSyntax},{subscribeShareNameException}", PostPathTemplate: "/msgVpns/{msgVpnName}/aclProfiles/{aclProfileName}/subscribeShareNameExceptions", Version: 0, Attributes: []*broker.AttributeInfo{ + { + BaseType: broker.String, + SempName: "id", + TerraformName: "id", + Type: types.StringType, + TerraformType: tftypes.String, + Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, + Default: "", + }, { BaseType: broker.String, SempName: "aclProfileName", diff --git a/internal/broker/generated/MsgVpnAclProfileSubscribeTopicException.go b/internal/broker/generated/MsgVpnAclProfileSubscribeTopicException.go index 346b02c..09c1b46 100644 --- a/internal/broker/generated/MsgVpnAclProfileSubscribeTopicException.go +++ b/internal/broker/generated/MsgVpnAclProfileSubscribeTopicException.go @@ -28,12 +28,21 @@ import ( func init() { info := broker.EntityInputs{ TerraformName: "msg_vpn_acl_profile_subscribe_topic_exception", - MarkdownDescription: "A Subscribe Topic Exception is an exception to the default action to take when a client using the ACL Profile subscribes to a topic in the Message VPN. Exceptions must be expressed as a topic.\n\n\nAttribute|Identifying|Write-Only|Deprecated|Opaque\n:---|:---:|:---:|:---:|:---:\nacl_profile_name|x|||\nmsg_vpn_name|x|||\nsubscribe_topic_exception|x|||\nsubscribe_topic_exception_syntax|x|||\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"vpn/read-only\" is required to perform this operation.\n\nThis has been available since 2.14.", + MarkdownDescription: "A Subscribe Topic Exception is an exception to the default action to take when a client using the ACL Profile subscribes to a topic in the Message VPN. Exceptions must be expressed as a topic.\n\n\nAttribute|Identifying\n:---|:---:\nacl_profile_name|x\nmsg_vpn_name|x\nsubscribe_topic_exception|x\nsubscribe_topic_exception_syntax|x\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"vpn/read-only\" is required to perform this operation.\n\nThis has been available since SEMP API version 2.14.", ObjectType: broker.ReplaceOnlyObject, PathTemplate: "/msgVpns/{msgVpnName}/aclProfiles/{aclProfileName}/subscribeTopicExceptions/{subscribeTopicExceptionSyntax},{subscribeTopicException}", PostPathTemplate: "/msgVpns/{msgVpnName}/aclProfiles/{aclProfileName}/subscribeTopicExceptions", Version: 0, Attributes: []*broker.AttributeInfo{ + { + BaseType: broker.String, + SempName: "id", + TerraformName: "id", + Type: types.StringType, + TerraformType: tftypes.String, + Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, + Default: "", + }, { BaseType: broker.String, SempName: "aclProfileName", diff --git a/internal/broker/generated/MsgVpnAuthenticationOauthProfile.go b/internal/broker/generated/MsgVpnAuthenticationOauthProfile.go index 2b3ca87..78df159 100644 --- a/internal/broker/generated/MsgVpnAuthenticationOauthProfile.go +++ b/internal/broker/generated/MsgVpnAuthenticationOauthProfile.go @@ -29,11 +29,20 @@ import ( func init() { info := broker.EntityInputs{ TerraformName: "msg_vpn_authentication_oauth_profile", - MarkdownDescription: "OAuth profiles specify how to securely authenticate to an OAuth provider.\n\n\nAttribute|Identifying|Write-Only|Deprecated|Opaque\n:---|:---:|:---:|:---:|:---:\nclient_secret||x||x\nmsg_vpn_name|x|||\noauth_profile_name|x|||\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"vpn/read-only\" is required to perform this operation.\n\nThis has been available since 2.25.", + MarkdownDescription: "OAuth profiles specify how to securely authenticate to an OAuth provider.\n\n\nAttribute|Identifying|Write-Only|Opaque\n:---|:---:|:---:|:---:\nclient_secret||x|x\nmsg_vpn_name|x||\noauth_profile_name|x||\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"vpn/read-only\" is required to perform this operation.\n\nThis has been available since SEMP API version 2.25.", ObjectType: broker.StandardObject, PathTemplate: "/msgVpns/{msgVpnName}/authenticationOauthProfiles/{oauthProfileName}", Version: 0, Attributes: []*broker.AttributeInfo{ + { + BaseType: broker.String, + SempName: "id", + TerraformName: "id", + Type: types.StringType, + TerraformType: tftypes.String, + Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, + Default: "", + }, { BaseType: broker.String, SempName: "authorizationGroupsClaimName", @@ -51,7 +60,7 @@ func init() { BaseType: broker.String, SempName: "authorizationGroupsClaimStringFormat", TerraformName: "authorization_groups_claim_string_format", - MarkdownDescription: "The format of the authorization groups claim value when it is a string. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `\"single\"`. The allowed values and their meaning are:\n\n
\n\"single\" - When the claim is a string, it is interpreted as a single group.\n\"space-delimited\" - When the claim is a string, it is interpreted as a space-delimited list of groups, similar to the \"scope\" claim.\n
\n Available since 2.32.", + MarkdownDescription: "The format of the authorization groups claim value when it is a string. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `\"single\"`. The allowed values and their meaning are:\n\n
\n\"single\" - When the claim is a string, it is interpreted as as single group.\n\"space-delimited\" - When the claim is a string, it is interpreted as a space-delimited list of groups, similar to the \"scope\" claim.\n
\n Available since SEMP API version 2.32.", Type: types.StringType, TerraformType: tftypes.String, Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, @@ -90,7 +99,7 @@ func init() { BaseType: broker.String, SempName: "clientSecret", TerraformName: "client_secret", - MarkdownDescription: "The OAuth client secret. This attribute is absent from a GET and not updated when absent in a PUT, subject to the exceptions in note 4. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `\"\"`.", + MarkdownDescription: "The OAuth client secret. This attribute is absent from a GET and not updated when absent in a PUT, subject to the exceptions in note 4 (refer to the `Notes` section in the SEMP API `Config reference`). Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `\"\"`.", Sensitive: true, Type: types.StringType, TerraformType: tftypes.String, @@ -287,6 +296,7 @@ func init() { Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, StringValidators: []validator.String{ stringvalidator.LengthBetween(1, 32), + stringvalidator.RegexMatches(regexp.MustCompile("^[A-Za-z0-9_]+$"), ""), }, }, { diff --git a/internal/broker/generated/MsgVpnAuthenticationOauthProfileClientRequiredClaim.go b/internal/broker/generated/MsgVpnAuthenticationOauthProfileClientRequiredClaim.go index ecd1038..3b8e3a0 100644 --- a/internal/broker/generated/MsgVpnAuthenticationOauthProfileClientRequiredClaim.go +++ b/internal/broker/generated/MsgVpnAuthenticationOauthProfileClientRequiredClaim.go @@ -28,12 +28,21 @@ import ( func init() { info := broker.EntityInputs{ TerraformName: "msg_vpn_authentication_oauth_profile_client_required_claim", - MarkdownDescription: "Additional claims to be verified in the ID token.\n\n\nAttribute|Identifying|Write-Only|Deprecated|Opaque\n:---|:---:|:---:|:---:|:---:\nclient_required_claim_name|x|||\nmsg_vpn_name|x|||\noauth_profile_name|x|||\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"vpn/read-only\" is required to perform this operation.\n\nThis has been available since 2.25.", + MarkdownDescription: "Additional claims to be verified in the ID token.\n\n\nAttribute|Identifying\n:---|:---:\nclient_required_claim_name|x\nmsg_vpn_name|x\noauth_profile_name|x\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"vpn/read-only\" is required to perform this operation.\n\nThis has been available since SEMP API version 2.25.", ObjectType: broker.ReplaceOnlyObject, PathTemplate: "/msgVpns/{msgVpnName}/authenticationOauthProfiles/{oauthProfileName}/clientRequiredClaims/{clientRequiredClaimName}", PostPathTemplate: "/msgVpns/{msgVpnName}/authenticationOauthProfiles/{oauthProfileName}/clientRequiredClaims", Version: 0, Attributes: []*broker.AttributeInfo{ + { + BaseType: broker.String, + SempName: "id", + TerraformName: "id", + Type: types.StringType, + TerraformType: tftypes.String, + Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, + Default: "", + }, { BaseType: broker.String, SempName: "clientRequiredClaimName", @@ -94,6 +103,7 @@ func init() { Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, StringValidators: []validator.String{ stringvalidator.LengthBetween(1, 32), + stringvalidator.RegexMatches(regexp.MustCompile("^[A-Za-z0-9_]+$"), ""), }, }, }, diff --git a/internal/broker/generated/MsgVpnAuthenticationOauthProfileResourceServerRequiredClaim.go b/internal/broker/generated/MsgVpnAuthenticationOauthProfileResourceServerRequiredClaim.go index beba780..965e298 100644 --- a/internal/broker/generated/MsgVpnAuthenticationOauthProfileResourceServerRequiredClaim.go +++ b/internal/broker/generated/MsgVpnAuthenticationOauthProfileResourceServerRequiredClaim.go @@ -28,12 +28,21 @@ import ( func init() { info := broker.EntityInputs{ TerraformName: "msg_vpn_authentication_oauth_profile_resource_server_required_claim", - MarkdownDescription: "Additional claims to be verified in the access token.\n\n\nAttribute|Identifying|Write-Only|Deprecated|Opaque\n:---|:---:|:---:|:---:|:---:\nmsg_vpn_name|x|||\noauth_profile_name|x|||\nresource_server_required_claim_name|x|||\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"vpn/read-only\" is required to perform this operation.\n\nThis has been available since 2.25.", + MarkdownDescription: "Additional claims to be verified in the access token.\n\n\nAttribute|Identifying\n:---|:---:\nmsg_vpn_name|x\noauth_profile_name|x\nresource_server_required_claim_name|x\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"vpn/read-only\" is required to perform this operation.\n\nThis has been available since SEMP API version 2.25.", ObjectType: broker.ReplaceOnlyObject, PathTemplate: "/msgVpns/{msgVpnName}/authenticationOauthProfiles/{oauthProfileName}/resourceServerRequiredClaims/{resourceServerRequiredClaimName}", PostPathTemplate: "/msgVpns/{msgVpnName}/authenticationOauthProfiles/{oauthProfileName}/resourceServerRequiredClaims", Version: 0, Attributes: []*broker.AttributeInfo{ + { + BaseType: broker.String, + SempName: "id", + TerraformName: "id", + Type: types.StringType, + TerraformType: tftypes.String, + Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, + Default: "", + }, { BaseType: broker.String, SempName: "msgVpnName", @@ -65,6 +74,7 @@ func init() { Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, StringValidators: []validator.String{ stringvalidator.LengthBetween(1, 32), + stringvalidator.RegexMatches(regexp.MustCompile("^[A-Za-z0-9_]+$"), ""), }, }, { diff --git a/internal/broker/generated/MsgVpnAuthenticationOauthProvider.go b/internal/broker/generated/MsgVpnAuthenticationOauthProvider.go deleted file mode 100644 index c3f8c3f..0000000 --- a/internal/broker/generated/MsgVpnAuthenticationOauthProvider.go +++ /dev/null @@ -1,339 +0,0 @@ -// terraform-provider-solacebroker -// -// Copyright 2023 Solace Corporation. All rights reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -package generated - -import ( - "github.com/hashicorp/terraform-plugin-framework-validators/int64validator" - "github.com/hashicorp/terraform-plugin-framework-validators/stringvalidator" - "github.com/hashicorp/terraform-plugin-framework/schema/validator" - "github.com/hashicorp/terraform-plugin-framework/types" - "github.com/hashicorp/terraform-plugin-go/tftypes" - "regexp" - "terraform-provider-solacebroker/internal/broker" -) - -func init() { - info := broker.EntityInputs{ - TerraformName: "msg_vpn_authentication_oauth_provider", - MarkdownDescription: "OAuth Providers contain information about the issuer of an OAuth token that is needed to validate the token and derive a client username from it.\n\n\nAttribute|Identifying|Write-Only|Deprecated|Opaque\n:---|:---:|:---:|:---:|:---:\naudience_claim_name|||x|\naudience_claim_source|||x|\naudience_claim_value|||x|\naudience_validation_enabled|||x|\nauthorization_group_claim_name|||x|\nauthorization_group_claim_source|||x|\nauthorization_group_enabled|||x|\ndisconnect_on_token_expiration_enabled|||x|\nenabled|||x|\njwks_refresh_interval|||x|\njwks_uri|||x|\nmsg_vpn_name|x||x|\noauth_provider_name|x||x|\ntoken_ignore_time_limits_enabled|||x|\ntoken_introspection_parameter_name|||x|\ntoken_introspection_password||x|x|x\ntoken_introspection_timeout|||x|\ntoken_introspection_uri|||x|\ntoken_introspection_username|||x|\nusername_claim_name|||x|\nusername_claim_source|||x|\nusername_validate_enabled|||x|\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"vpn/read-only\" is required to perform this operation.\n\nThis has been deprecated since 2.25. Replaced by authenticationoauth_profiles.", - ObjectType: broker.StandardObject, - PathTemplate: "/msgVpns/{msgVpnName}/authenticationOauthProviders/{oauthProviderName}", - Version: 0, - Attributes: []*broker.AttributeInfo{ - { - BaseType: broker.String, - SempName: "audienceClaimName", - TerraformName: "audience_claim_name", - MarkdownDescription: "The audience claim name, indicating which part of the object to use for determining the audience. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `\"aud\"`. Deprecated since 2.25. authenticationOauthProviders replaced by authenticationoauth_profiles.", - Deprecated: true, - Type: types.StringType, - TerraformType: tftypes.String, - Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, - StringValidators: []validator.String{ - stringvalidator.LengthBetween(0, 32), - }, - Default: "aud", - }, - { - BaseType: broker.String, - SempName: "audienceClaimSource", - TerraformName: "audience_claim_source", - MarkdownDescription: "The audience claim source, indicating where to search for the audience value. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `\"id-token\"`. The allowed values and their meaning are:\n\n
\n\"access-token\" - The OAuth v2 access_token.\n\"id-token\" - The OpenID Connect id_token.\n\"introspection\" - The result of introspecting the OAuth v2 access_token.\n
\n Deprecated since 2.25. authenticationOauthProviders replaced by authenticationoauth_profiles.", - Deprecated: true, - Type: types.StringType, - TerraformType: tftypes.String, - Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, - StringValidators: []validator.String{ - stringvalidator.OneOf("access-token", "id-token", "introspection"), - }, - Default: "id-token", - }, - { - BaseType: broker.String, - SempName: "audienceClaimValue", - TerraformName: "audience_claim_value", - MarkdownDescription: "The required audience value for a token to be considered valid. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `\"\"`. Deprecated since 2.25. authenticationOauthProviders replaced by authenticationoauth_profiles.", - Deprecated: true, - Type: types.StringType, - TerraformType: tftypes.String, - Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, - StringValidators: []validator.String{ - stringvalidator.LengthBetween(0, 64), - }, - Default: "", - }, - { - BaseType: broker.Bool, - SempName: "audienceValidationEnabled", - TerraformName: "audience_validation_enabled", - MarkdownDescription: "Enable or disable audience validation. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `false`. Deprecated since 2.25. authenticationOauthProviders replaced by authenticationoauth_profiles.", - Deprecated: true, - Type: types.BoolType, - TerraformType: tftypes.Bool, - Converter: broker.SimpleConverter[bool]{TerraformType: tftypes.Bool}, - Default: false, - }, - { - BaseType: broker.String, - SempName: "authorizationGroupClaimName", - TerraformName: "authorization_group_claim_name", - MarkdownDescription: "The authorization group claim name, indicating which part of the object to use for determining the authorization group. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `\"scope\"`. Deprecated since 2.25. authenticationOauthProviders replaced by authenticationoauth_profiles.", - Deprecated: true, - Type: types.StringType, - TerraformType: tftypes.String, - Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, - StringValidators: []validator.String{ - stringvalidator.LengthBetween(0, 32), - }, - Default: "scope", - }, - { - BaseType: broker.String, - SempName: "authorizationGroupClaimSource", - TerraformName: "authorization_group_claim_source", - MarkdownDescription: "The authorization group claim source, indicating where to search for the authorization group name. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `\"id-token\"`. The allowed values and their meaning are:\n\n
\n\"access-token\" - The OAuth v2 access_token.\n\"id-token\" - The OpenID Connect id_token.\n\"introspection\" - The result of introspecting the OAuth v2 access_token.\n
\n Deprecated since 2.25. authenticationOauthProviders replaced by authenticationoauth_profiles.", - Deprecated: true, - Type: types.StringType, - TerraformType: tftypes.String, - Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, - StringValidators: []validator.String{ - stringvalidator.OneOf("access-token", "id-token", "introspection"), - }, - Default: "id-token", - }, - { - BaseType: broker.Bool, - SempName: "authorizationGroupEnabled", - TerraformName: "authorization_group_enabled", - MarkdownDescription: "Enable or disable OAuth based authorization. When enabled, the configured authorization type for OAuth clients is overridden. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `false`. Deprecated since 2.25. authenticationOauthProviders replaced by authenticationoauth_profiles.", - Deprecated: true, - Type: types.BoolType, - TerraformType: tftypes.Bool, - Converter: broker.SimpleConverter[bool]{TerraformType: tftypes.Bool}, - Default: false, - }, - { - BaseType: broker.Bool, - SempName: "disconnectOnTokenExpirationEnabled", - TerraformName: "disconnect_on_token_expiration_enabled", - MarkdownDescription: "Enable or disable the disconnection of clients when their tokens expire. Changing this value does not affect existing clients, only new client connections. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `true`. Deprecated since 2.25. authenticationOauthProviders replaced by authenticationoauth_profiles.", - Deprecated: true, - Type: types.BoolType, - TerraformType: tftypes.Bool, - Converter: broker.SimpleConverter[bool]{TerraformType: tftypes.Bool}, - Default: true, - }, - { - BaseType: broker.Bool, - SempName: "enabled", - TerraformName: "enabled", - MarkdownDescription: "Enable or disable OAuth Provider client authentication. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `false`. Deprecated since 2.25. authenticationOauthProviders replaced by authenticationoauth_profiles.", - Deprecated: true, - Type: types.BoolType, - TerraformType: tftypes.Bool, - Converter: broker.SimpleConverter[bool]{TerraformType: tftypes.Bool}, - Default: false, - }, - { - BaseType: broker.Int64, - SempName: "jwksRefreshInterval", - TerraformName: "jwks_refresh_interval", - MarkdownDescription: "The number of seconds between forced JWKS public key refreshing. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `86400`. Deprecated since 2.25. authenticationOauthProviders replaced by authenticationoauth_profiles.", - Deprecated: true, - Type: types.Int64Type, - TerraformType: tftypes.Number, - Converter: broker.IntegerConverter{}, - Int64Validators: []validator.Int64{ - int64validator.Between(60, 31536000), - }, - Default: 86400, - }, - { - BaseType: broker.String, - SempName: "jwksUri", - TerraformName: "jwks_uri", - MarkdownDescription: "The URI where the OAuth provider publishes its JWKS public keys. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `\"\"`. Deprecated since 2.25. authenticationOauthProviders replaced by authenticationoauth_profiles.", - Deprecated: true, - Type: types.StringType, - TerraformType: tftypes.String, - Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, - StringValidators: []validator.String{ - stringvalidator.LengthBetween(0, 2048), - }, - Default: "", - }, - { - BaseType: broker.String, - SempName: "msgVpnName", - TerraformName: "msg_vpn_name", - MarkdownDescription: "The name of the Message VPN. Deprecated since 2.25. Replaced by authenticationoauth_profiles.", - Identifying: true, - Required: true, - ReadOnly: true, - RequiresReplace: true, - Deprecated: true, - Type: types.StringType, - TerraformType: tftypes.String, - Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, - StringValidators: []validator.String{ - stringvalidator.LengthBetween(1, 32), - stringvalidator.RegexMatches(regexp.MustCompile("^[^*?]+$"), ""), - }, - }, - { - BaseType: broker.String, - SempName: "oauthProviderName", - TerraformName: "oauth_provider_name", - MarkdownDescription: "The name of the OAuth Provider. Deprecated since 2.25. Replaced by authenticationoauth_profiles.", - Identifying: true, - Required: true, - RequiresReplace: true, - Deprecated: true, - Type: types.StringType, - TerraformType: tftypes.String, - Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, - StringValidators: []validator.String{ - stringvalidator.LengthBetween(1, 31), - stringvalidator.RegexMatches(regexp.MustCompile("^[^~]*$"), ""), - }, - }, - { - BaseType: broker.Bool, - SempName: "tokenIgnoreTimeLimitsEnabled", - TerraformName: "token_ignore_time_limits_enabled", - MarkdownDescription: "Enable or disable whether to ignore time limits and accept tokens that are not yet valid or are no longer valid. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `false`. Deprecated since 2.25. authenticationOauthProviders replaced by authenticationoauth_profiles.", - Deprecated: true, - Type: types.BoolType, - TerraformType: tftypes.Bool, - Converter: broker.SimpleConverter[bool]{TerraformType: tftypes.Bool}, - Default: false, - }, - { - BaseType: broker.String, - SempName: "tokenIntrospectionParameterName", - TerraformName: "token_introspection_parameter_name", - MarkdownDescription: "The parameter name used to identify the token during access token introspection. A standards compliant OAuth introspection server expects \"token\". Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `\"token\"`. Deprecated since 2.25. authenticationOauthProviders replaced by authenticationoauth_profiles.", - Deprecated: true, - Type: types.StringType, - TerraformType: tftypes.String, - Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, - StringValidators: []validator.String{ - stringvalidator.LengthBetween(0, 32), - }, - Default: "token", - }, - { - BaseType: broker.String, - SempName: "tokenIntrospectionPassword", - TerraformName: "token_introspection_password", - MarkdownDescription: "The password to use when logging into the token introspection URI. This attribute is absent from a GET and not updated when absent in a PUT, subject to the exceptions in note 4. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `\"\"`. Deprecated since 2.25. authenticationOauthProviders replaced by authenticationoauth_profiles.", - Sensitive: true, - Deprecated: true, - Type: types.StringType, - TerraformType: tftypes.String, - Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, - StringValidators: []validator.String{ - stringvalidator.LengthBetween(0, 64), - }, - Default: "", - }, - { - BaseType: broker.Int64, - SempName: "tokenIntrospectionTimeout", - TerraformName: "token_introspection_timeout", - MarkdownDescription: "The maximum time in seconds a token introspection is allowed to take. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `1`. Deprecated since 2.25. authenticationOauthProviders replaced by authenticationoauth_profiles.", - Deprecated: true, - Type: types.Int64Type, - TerraformType: tftypes.Number, - Converter: broker.IntegerConverter{}, - Int64Validators: []validator.Int64{ - int64validator.Between(1, 60), - }, - Default: 1, - }, - { - BaseType: broker.String, - SempName: "tokenIntrospectionUri", - TerraformName: "token_introspection_uri", - MarkdownDescription: "The token introspection URI of the OAuth authentication server. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `\"\"`. Deprecated since 2.25. authenticationOauthProviders replaced by authenticationoauth_profiles.", - Deprecated: true, - Type: types.StringType, - TerraformType: tftypes.String, - Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, - StringValidators: []validator.String{ - stringvalidator.LengthBetween(0, 2048), - }, - Default: "", - }, - { - BaseType: broker.String, - SempName: "tokenIntrospectionUsername", - TerraformName: "token_introspection_username", - MarkdownDescription: "The username to use when logging into the token introspection URI. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `\"\"`. Deprecated since 2.25. authenticationOauthProviders replaced by authenticationoauth_profiles.", - Deprecated: true, - Type: types.StringType, - TerraformType: tftypes.String, - Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, - StringValidators: []validator.String{ - stringvalidator.LengthBetween(0, 32), - }, - Default: "", - }, - { - BaseType: broker.String, - SempName: "usernameClaimName", - TerraformName: "username_claim_name", - MarkdownDescription: "The username claim name, indicating which part of the object to use for determining the username. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `\"sub\"`. Deprecated since 2.25. authenticationOauthProviders replaced by authenticationoauth_profiles.", - Deprecated: true, - Type: types.StringType, - TerraformType: tftypes.String, - Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, - StringValidators: []validator.String{ - stringvalidator.LengthBetween(0, 64), - }, - Default: "sub", - }, - { - BaseType: broker.String, - SempName: "usernameClaimSource", - TerraformName: "username_claim_source", - MarkdownDescription: "The username claim source, indicating where to search for the username value. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `\"id-token\"`. The allowed values and their meaning are:\n\n
\n\"access-token\" - The OAuth v2 access_token.\n\"id-token\" - The OpenID Connect id_token.\n\"introspection\" - The result of introspecting the OAuth v2 access_token.\n
\n Deprecated since 2.25. authenticationOauthProviders replaced by authenticationoauth_profiles.", - Deprecated: true, - Type: types.StringType, - TerraformType: tftypes.String, - Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, - StringValidators: []validator.String{ - stringvalidator.OneOf("access-token", "id-token", "introspection"), - }, - Default: "id-token", - }, - { - BaseType: broker.Bool, - SempName: "usernameValidateEnabled", - TerraformName: "username_validate_enabled", - MarkdownDescription: "Enable or disable whether the API provided username will be validated against the username calculated from the token(s); the connection attempt is rejected if they differ. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `false`. Deprecated since 2.25. authenticationOauthProviders replaced by authenticationoauth_profiles.", - Deprecated: true, - Type: types.BoolType, - TerraformType: tftypes.Bool, - Converter: broker.SimpleConverter[bool]{TerraformType: tftypes.Bool}, - Default: false, - }, - }, - } - broker.RegisterResource(info) - broker.RegisterDataSource(info) -} diff --git a/internal/broker/generated/MsgVpnAuthorizationGroup.go b/internal/broker/generated/MsgVpnAuthorizationGroup.go index b0b07f5..00291df 100644 --- a/internal/broker/generated/MsgVpnAuthorizationGroup.go +++ b/internal/broker/generated/MsgVpnAuthorizationGroup.go @@ -29,11 +29,20 @@ import ( func init() { info := broker.EntityInputs{ TerraformName: "msg_vpn_authorization_group", - MarkdownDescription: "To use client authorization groups configured on an external server to provide client authorizations, Authorization Group objects must be created on the Message VPN that match the authorization groups provisioned on the external server. These objects must be configured with the client profiles and ACL profiles that will be assigned to the clients that belong to those authorization groups. A newly created group is placed at the end of the group list which is the lowest priority.\n\n\nAttribute|Identifying|Write-Only|Deprecated|Opaque\n:---|:---:|:---:|:---:|:---:\nauthorization_group_name|x|||\nmsg_vpn_name|x|||\norder_after_authorization_group_name||x||\norder_before_authorization_group_name||x||\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"vpn/read-only\" is required to perform this operation.\n\nThis has been available since 2.0.", + MarkdownDescription: "To use client authorization groups configured on an external server to provide client authorizations, Authorization Group objects must be created on the Message VPN that match the authorization groups provisioned on the external server. These objects must be configured with the client profiles and ACL profiles that will be assigned to the clients that belong to those authorization groups. A newly created group is placed at the end of the group list which is the lowest priority.\n\n\nAttribute|Identifying|Write-Only\n:---|:---:|:---:\nauthorization_group_name|x|\nmsg_vpn_name|x|\norder_after_authorization_group_name||x\norder_before_authorization_group_name||x\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"vpn/read-only\" is required to perform this operation.\n\nThis has been available since SEMP API version 2.0.", ObjectType: broker.StandardObject, PathTemplate: "/msgVpns/{msgVpnName}/authorizationGroups/{authorizationGroupName}", Version: 0, Attributes: []*broker.AttributeInfo{ + { + BaseType: broker.String, + SempName: "id", + TerraformName: "id", + Type: types.StringType, + TerraformType: tftypes.String, + Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, + Default: "", + }, { BaseType: broker.String, SempName: "aclProfileName", @@ -107,7 +116,7 @@ func init() { BaseType: broker.String, SempName: "orderAfterAuthorizationGroupName", TerraformName: "order_after_authorization_group_name", - MarkdownDescription: "Lower the priority to be less than this group. This attribute is absent from a GET and not updated when absent in a PUT, subject to the exceptions in note 4. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default is not applicable.", + MarkdownDescription: "Lower the priority to be less than this group. This attribute is absent from a GET and not updated when absent in a PUT, subject to the exceptions in note 4 (refer to the `Notes` section in the SEMP API `Config reference`). Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default is not applicable.", Sensitive: true, ConflictsWith: []string{"order_before_authorization_group_name"}, Type: types.StringType, @@ -124,7 +133,7 @@ func init() { BaseType: broker.String, SempName: "orderBeforeAuthorizationGroupName", TerraformName: "order_before_authorization_group_name", - MarkdownDescription: "Raise the priority to be greater than this group. This attribute is absent from a GET and not updated when absent in a PUT, subject to the exceptions in note 4. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default is not applicable.", + MarkdownDescription: "Raise the priority to be greater than this group. This attribute is absent from a GET and not updated when absent in a PUT, subject to the exceptions in note 4 (refer to the `Notes` section in the SEMP API `Config reference`). Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default is not applicable.", Sensitive: true, ConflictsWith: []string{"order_after_authorization_group_name"}, Type: types.StringType, diff --git a/internal/broker/generated/MsgVpnBridge.go b/internal/broker/generated/MsgVpnBridge.go index 318dd48..9cbd7da 100644 --- a/internal/broker/generated/MsgVpnBridge.go +++ b/internal/broker/generated/MsgVpnBridge.go @@ -30,11 +30,20 @@ import ( func init() { info := broker.EntityInputs{ TerraformName: "msg_vpn_bridge", - MarkdownDescription: "Bridges can be used to link two Message VPNs so that messages published to one Message VPN that match the topic subscriptions set for the bridge are also delivered to the linked Message VPN.\n\n\nAttribute|Identifying|Write-Only|Deprecated|Opaque\n:---|:---:|:---:|:---:|:---:\nbridge_name|x|||\nbridge_virtual_router|x|||\nmsg_vpn_name|x|||\nremote_authentication_basic_password||x||x\nremote_authentication_client_cert_content||x||x\nremote_authentication_client_cert_password||x||\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"vpn/read-only\" is required to perform this operation.\n\nThis has been available since 2.0.", + MarkdownDescription: "Bridges can be used to link two Message VPNs so that messages published to one Message VPN that match the topic subscriptions set for the bridge are also delivered to the linked Message VPN.\n\n\nAttribute|Identifying|Write-Only|Opaque\n:---|:---:|:---:|:---:\nbridge_name|x||\nbridge_virtual_router|x||\nmsg_vpn_name|x||\nremote_authentication_basic_password||x|x\nremote_authentication_client_cert_content||x|x\nremote_authentication_client_cert_password||x|\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"vpn/read-only\" is required to perform this operation.\n\nThis has been available since SEMP API version 2.0.", ObjectType: broker.StandardObject, PathTemplate: "/msgVpns/{msgVpnName}/bridges/{bridgeName},{bridgeVirtualRouter}", Version: 0, Attributes: []*broker.AttributeInfo{ + { + BaseType: broker.String, + SempName: "id", + TerraformName: "id", + Type: types.StringType, + TerraformType: tftypes.String, + Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, + Default: "", + }, { BaseType: broker.String, SempName: "bridgeName", @@ -128,7 +137,7 @@ func init() { BaseType: broker.String, SempName: "remoteAuthenticationBasicPassword", TerraformName: "remote_authentication_basic_password", - MarkdownDescription: "The password for the Client Username. This attribute is absent from a GET and not updated when absent in a PUT, subject to the exceptions in note 4. Modifying this attribute while the object (or the relevant part of the object) is administratively enabled may be service impacting as enabled will be temporarily set to false to apply the change. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `\"\"`.", + MarkdownDescription: "The password for the Client Username. This attribute is absent from a GET and not updated when absent in a PUT, subject to the exceptions in note 4 (refer to the `Notes` section in the SEMP API `Config reference`). Modifying this attribute while the object (or the relevant part of the object) is administratively enabled may be service impacting as enabled will be temporarily set to false to apply the change. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `\"\"`.", Sensitive: true, Requires: []string{"remote_authentication_basic_client_username"}, Type: types.StringType, @@ -146,7 +155,7 @@ func init() { BaseType: broker.String, SempName: "remoteAuthenticationClientCertContent", TerraformName: "remote_authentication_client_cert_content", - MarkdownDescription: "The PEM formatted content for the client certificate used by the Bridge to login to the remote Message VPN. It must consist of a private key and between one and three certificates comprising the certificate trust chain. This attribute is absent from a GET and not updated when absent in a PUT, subject to the exceptions in note 4. Changing this attribute requires an HTTPS connection. Modifying this attribute while the object (or the relevant part of the object) is administratively enabled may be service impacting as enabled will be temporarily set to false to apply the change. The default value is `\"\"`. Available since 2.9.", + MarkdownDescription: "The PEM formatted content for the client certificate used by the Bridge to login to the remote Message VPN. It must consist of a private key and between one and three certificates comprising the certificate trust chain. This attribute is absent from a GET and not updated when absent in a PUT, subject to the exceptions in note 4 (refer to the `Notes` section in the SEMP API `Config reference`). Modifying this attribute while the object (or the relevant part of the object) is administratively enabled may be service impacting as enabled will be temporarily set to false to apply the change. The default value is `\"\"`. Available since SEMP API version 2.9.", Sensitive: true, Type: types.StringType, TerraformType: tftypes.String, @@ -160,7 +169,7 @@ func init() { BaseType: broker.String, SempName: "remoteAuthenticationClientCertPassword", TerraformName: "remote_authentication_client_cert_password", - MarkdownDescription: "The password for the client certificate. This attribute is absent from a GET and not updated when absent in a PUT, subject to the exceptions in note 4. Changing this attribute requires an HTTPS connection. Modifying this attribute while the object (or the relevant part of the object) is administratively enabled may be service impacting as enabled will be temporarily set to false to apply the change. The default value is `\"\"`. Available since 2.9.", + MarkdownDescription: "The password for the client certificate. This attribute is absent from a GET and not updated when absent in a PUT, subject to the exceptions in note 4 (refer to the `Notes` section in the SEMP API `Config reference`). Modifying this attribute while the object (or the relevant part of the object) is administratively enabled may be service impacting as enabled will be temporarily set to false to apply the change. The default value is `\"\"`. Available since SEMP API version 2.9.", Sensitive: true, Requires: []string{"remote_authentication_client_cert_content"}, Type: types.StringType, @@ -170,7 +179,7 @@ func init() { stringvalidator.AlsoRequires( path.MatchRelative().AtParent().AtName("remote_authentication_client_cert_content"), ), - stringvalidator.LengthBetween(0, 32768), + stringvalidator.LengthBetween(0, 512), }, Default: "", }, diff --git a/internal/broker/generated/MsgVpnBridgeRemoteMsgVpn.go b/internal/broker/generated/MsgVpnBridgeRemoteMsgVpn.go index ad6eb86..b34e258 100644 --- a/internal/broker/generated/MsgVpnBridgeRemoteMsgVpn.go +++ b/internal/broker/generated/MsgVpnBridgeRemoteMsgVpn.go @@ -30,11 +30,20 @@ import ( func init() { info := broker.EntityInputs{ TerraformName: "msg_vpn_bridge_remote_msg_vpn", - MarkdownDescription: "The Remote Message VPN is the Message VPN that the Bridge connects to.\n\n\nAttribute|Identifying|Write-Only|Deprecated|Opaque\n:---|:---:|:---:|:---:|:---:\nbridge_name|x|||\nbridge_virtual_router|x|||\nmsg_vpn_name|x|||\npassword||x||x\nremote_msg_vpn_interface|x|||\nremote_msg_vpn_location|x|||\nremote_msg_vpn_name|x|||\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"vpn/read-only\" is required to perform this operation.\n\nThis has been available since 2.0.", + MarkdownDescription: "The Remote Message VPN is the Message VPN that the Bridge connects to.\n\n\nAttribute|Identifying|Write-Only|Opaque\n:---|:---:|:---:|:---:\nbridge_name|x||\nbridge_virtual_router|x||\nmsg_vpn_name|x||\npassword||x|x\nremote_msg_vpn_interface|x||\nremote_msg_vpn_location|x||\nremote_msg_vpn_name|x||\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"vpn/read-only\" is required to perform this operation.\n\nThis has been available since SEMP API version 2.0.", ObjectType: broker.StandardObject, PathTemplate: "/msgVpns/{msgVpnName}/bridges/{bridgeName},{bridgeVirtualRouter}/remoteMsgVpns/{remoteMsgVpnName},{remoteMsgVpnLocation},{remoteMsgVpnInterface}", Version: 0, Attributes: []*broker.AttributeInfo{ + { + BaseType: broker.String, + SempName: "id", + TerraformName: "id", + Type: types.StringType, + TerraformType: tftypes.String, + Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, + Default: "", + }, { BaseType: broker.String, SempName: "bridgeName", @@ -113,7 +122,7 @@ func init() { BaseType: broker.Int64, SempName: "egressFlowWindowSize", TerraformName: "egress_flow_window_size", - MarkdownDescription: "The number of outstanding guaranteed messages that can be transmitted over the remote Message VPN connection before an acknowledgement is received. Modifying this attribute while the object (or the relevant part of the object) is administratively enabled may be service impacting as enabled will be temporarily set to false to apply the change. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `255`.", + MarkdownDescription: "The number of outstanding guaranteed messages that can be transmitted over the remote Message VPN connection before an acknowledgment is received. Modifying this attribute while the object (or the relevant part of the object) is administratively enabled may be service impacting as enabled will be temporarily set to false to apply the change. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `255`.", Type: types.Int64Type, TerraformType: tftypes.Number, Converter: broker.IntegerConverter{}, @@ -153,7 +162,7 @@ func init() { BaseType: broker.String, SempName: "password", TerraformName: "password", - MarkdownDescription: "The password for the Client Username. This attribute is absent from a GET and not updated when absent in a PUT, subject to the exceptions in note 4. Modifying this attribute while the object (or the relevant part of the object) is administratively enabled may be service impacting as enabled will be temporarily set to false to apply the change. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `\"\"`.", + MarkdownDescription: "The password for the Client Username. This attribute is absent from a GET and not updated when absent in a PUT, subject to the exceptions in note 4 (refer to the `Notes` section in the SEMP API `Config reference`). Modifying this attribute while the object (or the relevant part of the object) is administratively enabled may be service impacting as enabled will be temporarily set to false to apply the change. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `\"\"`.", Sensitive: true, Requires: []string{"client_username"}, Type: types.StringType, @@ -242,7 +251,7 @@ func init() { BaseType: broker.String, SempName: "unidirectionalClientProfile", TerraformName: "unidirectional_client_profile", - MarkdownDescription: "The Client Profile for the unidirectional Bridge of the remote Message VPN. The Client Profile must exist in the local Message VPN, and it is used only for the TCP parameters. Note that the default client profile has a TCP maximum window size of 2MB. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `\"#client-profile\"`.", + MarkdownDescription: "The Client Profile for the unidirectional Bridge of the remote Message VPN. The Client Profile must exist in the local Message VPN, and it is used only for the TCP parameters. Note that the default client profile has a TCP maximum window size of 2 MB. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `\"#client-profile\"`.", Type: types.StringType, TerraformType: tftypes.String, Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, diff --git a/internal/broker/generated/MsgVpnBridgeRemoteSubscription.go b/internal/broker/generated/MsgVpnBridgeRemoteSubscription.go index dd6603d..8f875ac 100644 --- a/internal/broker/generated/MsgVpnBridgeRemoteSubscription.go +++ b/internal/broker/generated/MsgVpnBridgeRemoteSubscription.go @@ -28,12 +28,21 @@ import ( func init() { info := broker.EntityInputs{ TerraformName: "msg_vpn_bridge_remote_subscription", - MarkdownDescription: "A Remote Subscription is a topic subscription used by the Message VPN Bridge to attract messages from the remote message broker.\n\n\nAttribute|Identifying|Write-Only|Deprecated|Opaque\n:---|:---:|:---:|:---:|:---:\nbridge_name|x|||\nbridge_virtual_router|x|||\nmsg_vpn_name|x|||\nremote_subscription_topic|x|||\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"vpn/read-only\" is required to perform this operation.\n\nThis has been available since 2.0.", + MarkdownDescription: "A Remote Subscription is a topic subscription used by the Message VPN Bridge to attract messages from the remote message broker.\n\n\nAttribute|Identifying\n:---|:---:\nbridge_name|x\nbridge_virtual_router|x\nmsg_vpn_name|x\nremote_subscription_topic|x\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"vpn/read-only\" is required to perform this operation.\n\nThis has been available since SEMP API version 2.0.", ObjectType: broker.ReplaceOnlyObject, PathTemplate: "/msgVpns/{msgVpnName}/bridges/{bridgeName},{bridgeVirtualRouter}/remoteSubscriptions/{remoteSubscriptionTopic}", PostPathTemplate: "/msgVpns/{msgVpnName}/bridges/{bridgeName},{bridgeVirtualRouter}/remoteSubscriptions", Version: 0, Attributes: []*broker.AttributeInfo{ + { + BaseType: broker.String, + SempName: "id", + TerraformName: "id", + Type: types.StringType, + TerraformType: tftypes.String, + Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, + Default: "", + }, { BaseType: broker.String, SempName: "bridgeName", diff --git a/internal/broker/generated/MsgVpnBridgeTlsTrustedCommonName.go b/internal/broker/generated/MsgVpnBridgeTlsTrustedCommonName.go deleted file mode 100644 index fd861a5..0000000 --- a/internal/broker/generated/MsgVpnBridgeTlsTrustedCommonName.go +++ /dev/null @@ -1,110 +0,0 @@ -// terraform-provider-solacebroker -// -// Copyright 2023 Solace Corporation. All rights reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -package generated - -import ( - "github.com/hashicorp/terraform-plugin-framework-validators/stringvalidator" - "github.com/hashicorp/terraform-plugin-framework/schema/validator" - "github.com/hashicorp/terraform-plugin-framework/types" - "github.com/hashicorp/terraform-plugin-go/tftypes" - "regexp" - "terraform-provider-solacebroker/internal/broker" -) - -func init() { - info := broker.EntityInputs{ - TerraformName: "msg_vpn_bridge_tls_trusted_common_name", - MarkdownDescription: "The Trusted Common Names for the Bridge are used by encrypted transports to verify the name in the certificate presented by the remote node. They must include the common name of the remote node's server certificate or client certificate, depending upon the initiator of the connection.\n\n\nAttribute|Identifying|Write-Only|Deprecated|Opaque\n:---|:---:|:---:|:---:|:---:\nbridge_name|x||x|\nbridge_virtual_router|x||x|\nmsg_vpn_name|x||x|\ntls_trusted_common_name|x||x|\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"vpn/read-only\" is required to perform this operation.\n\nThis has been deprecated since 2.18. Common Name validation has been replaced by Server Certificate Name validation.", - ObjectType: broker.ReplaceOnlyObject, - PathTemplate: "/msgVpns/{msgVpnName}/bridges/{bridgeName},{bridgeVirtualRouter}/tlsTrustedCommonNames/{tlsTrustedCommonName}", - PostPathTemplate: "/msgVpns/{msgVpnName}/bridges/{bridgeName},{bridgeVirtualRouter}/tlsTrustedCommonNames", - Version: 0, - Attributes: []*broker.AttributeInfo{ - { - BaseType: broker.String, - SempName: "bridgeName", - TerraformName: "bridge_name", - MarkdownDescription: "The name of the Bridge. Deprecated since 2.18. Common Name validation has been replaced by Server Certificate Name validation.", - Identifying: true, - Required: true, - ReadOnly: true, - RequiresReplace: true, - Deprecated: true, - Type: types.StringType, - TerraformType: tftypes.String, - Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, - StringValidators: []validator.String{ - stringvalidator.LengthBetween(1, 150), - stringvalidator.RegexMatches(regexp.MustCompile("^[A-Za-z0-9\"~`!\\\\@$%|\\^()_+={}:,.#\\-;\\[\\]]+$"), ""), - }, - }, - { - BaseType: broker.String, - SempName: "bridgeVirtualRouter", - TerraformName: "bridge_virtual_router", - MarkdownDescription: "The virtual router of the Bridge. The allowed values and their meaning are:\n\n
\n\"primary\" - The Bridge is used for the primary virtual router.\n\"backup\" - The Bridge is used for the backup virtual router.\n\"auto\" - The Bridge is automatically assigned a virtual router at creation, depending on the broker's active-standby role.\n
\n Deprecated since 2.18. Common Name validation has been replaced by Server Certificate Name validation.", - Identifying: true, - Required: true, - ReadOnly: true, - RequiresReplace: true, - Deprecated: true, - Type: types.StringType, - TerraformType: tftypes.String, - Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, - StringValidators: []validator.String{ - stringvalidator.OneOf("primary", "backup", "auto"), - }, - }, - { - BaseType: broker.String, - SempName: "msgVpnName", - TerraformName: "msg_vpn_name", - MarkdownDescription: "The name of the Message VPN. Deprecated since 2.18. Common Name validation has been replaced by Server Certificate Name validation.", - Identifying: true, - Required: true, - ReadOnly: true, - RequiresReplace: true, - Deprecated: true, - Type: types.StringType, - TerraformType: tftypes.String, - Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, - StringValidators: []validator.String{ - stringvalidator.LengthBetween(1, 32), - stringvalidator.RegexMatches(regexp.MustCompile("^[^*?]+$"), ""), - }, - }, - { - BaseType: broker.String, - SempName: "tlsTrustedCommonName", - TerraformName: "tls_trusted_common_name", - MarkdownDescription: "The expected trusted common name of the remote certificate. Deprecated since 2.18. Common Name validation has been replaced by Server Certificate Name validation.", - Identifying: true, - Required: true, - RequiresReplace: true, - Deprecated: true, - Type: types.StringType, - TerraformType: tftypes.String, - Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, - StringValidators: []validator.String{ - stringvalidator.LengthBetween(1, 64), - }, - }, - }, - } - broker.RegisterResource(info) - broker.RegisterDataSource(info) -} diff --git a/internal/broker/generated/MsgVpnCertMatchingRule.go b/internal/broker/generated/MsgVpnCertMatchingRule.go index b0125cc..0c0fbf5 100644 --- a/internal/broker/generated/MsgVpnCertMatchingRule.go +++ b/internal/broker/generated/MsgVpnCertMatchingRule.go @@ -28,11 +28,20 @@ import ( func init() { info := broker.EntityInputs{ TerraformName: "msg_vpn_cert_matching_rule", - MarkdownDescription: "A Cert Matching Rule is a collection of conditions and attribute filters that all have to be satisfied for certificate to be acceptable as authentication for a given username.\n\n\nAttribute|Identifying|Write-Only|Deprecated|Opaque\n:---|:---:|:---:|:---:|:---:\nmsg_vpn_name|x|||\nrule_name|x|||\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"vpn/read-only\" is required to perform this operation.\n\nThis has been available since 2.27.", + MarkdownDescription: "A Cert Matching Rule is a collection of conditions and attribute filters that all have to be satisfied for certificate to be acceptable as authentication for a given username.\n\n\nAttribute|Identifying\n:---|:---:\nmsg_vpn_name|x\nrule_name|x\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"vpn/read-only\" is required to perform this operation.\n\nThis has been available since SEMP API version 2.27.", ObjectType: broker.StandardObject, PathTemplate: "/msgVpns/{msgVpnName}/certMatchingRules/{ruleName}", Version: 0, Attributes: []*broker.AttributeInfo{ + { + BaseType: broker.String, + SempName: "id", + TerraformName: "id", + Type: types.StringType, + TerraformType: tftypes.String, + Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, + Default: "", + }, { BaseType: broker.Bool, SempName: "enabled", diff --git a/internal/broker/generated/MsgVpnCertMatchingRuleAttributeFilter.go b/internal/broker/generated/MsgVpnCertMatchingRuleAttributeFilter.go index d69868a..bc342ed 100644 --- a/internal/broker/generated/MsgVpnCertMatchingRuleAttributeFilter.go +++ b/internal/broker/generated/MsgVpnCertMatchingRuleAttributeFilter.go @@ -28,11 +28,20 @@ import ( func init() { info := broker.EntityInputs{ TerraformName: "msg_vpn_cert_matching_rule_attribute_filter", - MarkdownDescription: "A Cert Matching Rule Attribute Filter compares a username attribute to a string.\n\n\nAttribute|Identifying|Write-Only|Deprecated|Opaque\n:---|:---:|:---:|:---:|:---:\nfilter_name|x|||\nmsg_vpn_name|x|||\nrule_name|x|||\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"vpn/read-only\" is required to perform this operation.\n\nThis has been available since 2.28.", + MarkdownDescription: "A Cert Matching Rule Attribute Filter compares a username attribute to a string.\n\n\nAttribute|Identifying\n:---|:---:\nfilter_name|x\nmsg_vpn_name|x\nrule_name|x\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"vpn/read-only\" is required to perform this operation.\n\nThis has been available since SEMP API version 2.28.", ObjectType: broker.StandardObject, PathTemplate: "/msgVpns/{msgVpnName}/certMatchingRules/{ruleName}/attributeFilters/{filterName}", Version: 0, Attributes: []*broker.AttributeInfo{ + { + BaseType: broker.String, + SempName: "id", + TerraformName: "id", + Type: types.StringType, + TerraformType: tftypes.String, + Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, + Default: "", + }, { BaseType: broker.String, SempName: "attributeName", diff --git a/internal/broker/generated/MsgVpnCertMatchingRuleCondition.go b/internal/broker/generated/MsgVpnCertMatchingRuleCondition.go index 52f66fc..4178801 100644 --- a/internal/broker/generated/MsgVpnCertMatchingRuleCondition.go +++ b/internal/broker/generated/MsgVpnCertMatchingRuleCondition.go @@ -28,12 +28,21 @@ import ( func init() { info := broker.EntityInputs{ TerraformName: "msg_vpn_cert_matching_rule_condition", - MarkdownDescription: "A Cert Matching Rule Condition compares data extracted from a certificate to a username attribute or an expression.\n\n\nAttribute|Identifying|Write-Only|Deprecated|Opaque\n:---|:---:|:---:|:---:|:---:\nmsg_vpn_name|x|||\nrule_name|x|||\nsource|x|||\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"vpn/read-only\" is required to perform this operation.\n\nThis has been available since 2.27.", + MarkdownDescription: "A Cert Matching Rule Condition compares data extracted from a certificate to a username attribute or an expression.\n\n\nAttribute|Identifying\n:---|:---:\nmsg_vpn_name|x\nrule_name|x\nsource|x\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"vpn/read-only\" is required to perform this operation.\n\nThis has been available since SEMP API version 2.27.", ObjectType: broker.ReplaceOnlyObject, PathTemplate: "/msgVpns/{msgVpnName}/certMatchingRules/{ruleName}/conditions/{source}", PostPathTemplate: "/msgVpns/{msgVpnName}/certMatchingRules/{ruleName}/conditions", Version: 0, Attributes: []*broker.AttributeInfo{ + { + BaseType: broker.String, + SempName: "id", + TerraformName: "id", + Type: types.StringType, + TerraformType: tftypes.String, + Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, + Default: "", + }, { BaseType: broker.String, SempName: "attribute", @@ -100,7 +109,7 @@ func init() { BaseType: broker.String, SempName: "source", TerraformName: "source", - MarkdownDescription: "Certificate field to be compared with the Attribute. The allowed values and their meaning are:\n\n
\n\"certificate-thumbprint\" - The attribute is computed as the SHA-1 hash over the entire DER-encoded contents of the client certificate.\n\"common-name\" - The attribute is extracted from the certificate's first instance of the Common Name attribute in the Subject DN.\n\"common-name-last\" - The attribute is extracted from the certificate's last instance of the Common Name attribute in the Subject DN.\n\"subject-alternate-name-msupn\" - The attribute is extracted from the certificate's Other Name type of the Subject Alternative Name and must have the msUPN signature.\n\"uid\" - The attribute is extracted from the certificate's first instance of the User Identifier attribute in the Subject DN.\n\"uid-last\" - The attribute is extracted from the certificate's last instance of the User Identifier attribute in the Subject DN.\n\"org-unit\" - The attribute is extracted from the certificate's first instance of the Org Unit attribute in the Subject DN.\n\"org-unit-last\" - The attribute is extracted from the certificate's last instance of the Org Unit attribute in the Subject DN.\n\"issuer\" - The attribute is extracted from the certificate's Issuer DN.\n\"subject\" - The attribute is extracted from the certificate's Subject DN.\n\"serial-number\" - The attribute is extracted from the certificate's Serial Number.\n\"dns-name\" - The attribute is extracted from the certificate's Subject Alt Name DNSName.\n\"ip-address\" - The attribute is extracted from the certificate's Subject Alt Name IPAddress.\n
\n", + MarkdownDescription: "Certificate field to be compared with the Attribute. The allowed values and their meaning are:\n\n
\n\"certificate-thumbprint\" - The attribute is computed as the SHA-1 hash over the entire DER-encoded contents of the client certificate.\n\"common-name\" - The attribute is extracted from the certificate's first instance of the Common Name attribute in the Subject DN.\n\"common-name-last\" - The attribute is extracted from the certificate's last instance of the Common Name attribute in the Subject DN.\n\"subject-alternate-name-msupn\" - The attribute is extracted from the certificate's Other Name type of the Subject Alternative Name and must have the msUPN signature.\n\"uid\" - The attribute is extracted from the certificate's first instance of the User Identifier attribute in the Subject DN.\n\"uid-last\" - The attribute is extracted from the certificate's last instance of the User Identifier attribute in the Subject DN.\n\"org-unit\" - The attribute is extracted from the certificate's first instance of the Org Unit attribute in the Subject DN.\n\"org-unit-last\" - The attribute is extracted from the certificate's last instance of the Org Unit attribute in the Subject DN.\n\"issuer\" - The attribute is extracted from the certificate's Issuer DN.\n\"subject\" - The attribute is extracted from the certificate's Subject DN.\n\"serial-number\" - The attribute is extracted from the certificate's Serial Number.\n\"dns-name\" - The attribute is extracted from the certificate's Subject Alt Name DNS Name.\n\"ip-address\" - The attribute is extracted from the certificate's Subject Alt Name IP Address.\n
\n", Identifying: true, Required: true, RequiresReplace: true, diff --git a/internal/broker/generated/MsgVpnClientProfile.go b/internal/broker/generated/MsgVpnClientProfile.go index e8436dc..b14e4c2 100644 --- a/internal/broker/generated/MsgVpnClientProfile.go +++ b/internal/broker/generated/MsgVpnClientProfile.go @@ -30,11 +30,20 @@ import ( func init() { info := broker.EntityInputs{ TerraformName: "msg_vpn_client_profile", - MarkdownDescription: "Client Profiles are used to assign common configuration properties to clients that have been successfully authorized.\n\n\nAttribute|Identifying|Write-Only|Deprecated|Opaque\n:---|:---:|:---:|:---:|:---:\nallow_cut_through_forwarding_enabled|||x|\napi_queue_management_copy_from_on_create_name|||x|\napi_topic_endpoint_management_copy_from_on_create_name|||x|\nclient_profile_name|x|||\nmsg_vpn_name|x|||\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"vpn/read-only\" is required to perform this operation.\n\nThis has been available since 2.0.", + MarkdownDescription: "Client Profiles are used to assign common configuration properties to clients that have been successfully authorized.\n\n\nAttribute|Identifying|Deprecated\n:---|:---:|:---:\nallow_cut_through_forwarding_enabled||x\napi_queue_management_copy_from_on_create_name||x\napi_topic_endpoint_management_copy_from_on_create_name||x\nclient_profile_name|x|\nmsg_vpn_name|x|\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"vpn/read-only\" is required to perform this operation.\n\nThis has been available since SEMP API version 2.0.", ObjectType: broker.StandardObject, PathTemplate: "/msgVpns/{msgVpnName}/clientProfiles/{clientProfileName}", Version: 0, Attributes: []*broker.AttributeInfo{ + { + BaseType: broker.String, + SempName: "id", + TerraformName: "id", + Type: types.StringType, + TerraformType: tftypes.String, + Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, + Default: "", + }, { BaseType: broker.Bool, SempName: "allowBridgeConnectionsEnabled", @@ -45,22 +54,11 @@ func init() { Converter: broker.SimpleConverter[bool]{TerraformType: tftypes.Bool}, Default: false, }, - { - BaseType: broker.Bool, - SempName: "allowCutThroughForwardingEnabled", - TerraformName: "allow_cut_through_forwarding_enabled", - MarkdownDescription: "Enable or disable allowing clients using the Client Profile to bind to endpoints with the cut-through forwarding delivery mode. Changing this value does not affect existing client connections. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `false`. Deprecated since 2.22. This attribute has been deprecated. Please visit the Solace Product Lifecycle Policy web page for details on deprecated features.", - Deprecated: true, - Type: types.BoolType, - TerraformType: tftypes.Bool, - Converter: broker.SimpleConverter[bool]{TerraformType: tftypes.Bool}, - Default: false, - }, { BaseType: broker.String, SempName: "allowGuaranteedEndpointCreateDurability", TerraformName: "allow_guaranteed_endpoint_create_durability", - MarkdownDescription: "The types of Queues and Topic Endpoints that clients using the client-profile can create. Changing this value does not affect existing client connections. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `\"all\"`. The allowed values and their meaning are:\n\n
\n\"all\" - Client can create any type of endpoint.\n\"durable\" - Client can create only durable endpoints.\n\"non-durable\" - Client can create only non-durable endpoints.\n
\n Available since 2.14.", + MarkdownDescription: "The types of Queues and Topic Endpoints that clients using the client-profile can create. Changing this value does not affect existing client connections. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `\"all\"`. The allowed values and their meaning are:\n\n
\n\"all\" - Client can create any type of endpoint.\n\"durable\" - Client can create only durable endpoints.\n\"non-durable\" - Client can create only non-durable endpoints.\n
\n Available since SEMP API version 2.14.", Type: types.StringType, TerraformType: tftypes.String, Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, @@ -73,7 +71,7 @@ func init() { BaseType: broker.Bool, SempName: "allowGuaranteedEndpointCreateEnabled", TerraformName: "allow_guaranteed_endpoint_create_enabled", - MarkdownDescription: "Enable or disable allowing clients using the Client Profile to create topic endponts or queues. Changing this value does not affect existing client connections. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `false`.", + MarkdownDescription: "Enable or disable allowing clients using the Client Profile to create topic endpoints or queues. Changing this value does not affect existing client connections. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `false`.", Type: types.BoolType, TerraformType: tftypes.Bool, Converter: broker.SimpleConverter[bool]{TerraformType: tftypes.Bool}, @@ -103,7 +101,7 @@ func init() { BaseType: broker.Bool, SempName: "allowSharedSubscriptionsEnabled", TerraformName: "allow_shared_subscriptions_enabled", - MarkdownDescription: "Enable or disable allowing shared subscriptions. Changing this setting does not affect existing subscriptions. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `false`. Available since 2.11.", + MarkdownDescription: "Enable or disable allowing shared subscriptions. Changing this setting does not affect existing subscriptions. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `false`. Available since SEMP API version 2.11.", Type: types.BoolType, TerraformType: tftypes.Bool, Converter: broker.SimpleConverter[bool]{TerraformType: tftypes.Bool}, @@ -119,26 +117,11 @@ func init() { Converter: broker.SimpleConverter[bool]{TerraformType: tftypes.Bool}, Default: false, }, - { - BaseType: broker.String, - SempName: "apiQueueManagementCopyFromOnCreateName", - TerraformName: "api_queue_management_copy_from_on_create_name", - MarkdownDescription: "The name of a queue to copy settings from when a new queue is created by a client using the Client Profile. The referenced queue must exist in the Message VPN. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `\"\"`. Deprecated since 2.14. This attribute has been replaced with `api_queue_management_copy_from_on_create_template_name`.", - Deprecated: true, - Type: types.StringType, - TerraformType: tftypes.String, - Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, - StringValidators: []validator.String{ - stringvalidator.LengthBetween(0, 200), - stringvalidator.RegexMatches(regexp.MustCompile("^[^*?'<>&;]*$"), ""), - }, - Default: "", - }, { BaseType: broker.String, SempName: "apiQueueManagementCopyFromOnCreateTemplateName", TerraformName: "api_queue_management_copy_from_on_create_template_name", - MarkdownDescription: "The name of a queue template to copy settings from when a new queue is created by a client using the Client Profile. If the referenced queue template does not exist, queue creation will fail when it tries to resolve this template. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `\"\"`. Available since 2.14.", + MarkdownDescription: "The name of a queue template to copy settings from when a new queue is created by a client using the Client Profile. If the referenced queue template does not exist, queue creation will fail when it tries to resolve this template. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `\"\"`. Available since SEMP API version 2.14.", Type: types.StringType, TerraformType: tftypes.String, Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, @@ -148,25 +131,11 @@ func init() { }, Default: "", }, - { - BaseType: broker.String, - SempName: "apiTopicEndpointManagementCopyFromOnCreateName", - TerraformName: "api_topic_endpoint_management_copy_from_on_create_name", - MarkdownDescription: "The name of a topic endpoint to copy settings from when a new topic endpoint is created by a client using the Client Profile. The referenced topic endpoint must exist in the Message VPN. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `\"\"`. Deprecated since 2.14. This attribute has been replaced with `api_topic_endpoint_management_copy_from_on_create_template_name`.", - Deprecated: true, - Type: types.StringType, - TerraformType: tftypes.String, - Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, - StringValidators: []validator.String{ - stringvalidator.LengthBetween(0, 200), - }, - Default: "", - }, { BaseType: broker.String, SempName: "apiTopicEndpointManagementCopyFromOnCreateTemplateName", TerraformName: "api_topic_endpoint_management_copy_from_on_create_template_name", - MarkdownDescription: "The name of a topic endpoint template to copy settings from when a new topic endpoint is created by a client using the Client Profile. If the referenced topic endpoint template does not exist, topic endpoint creation will fail when it tries to resolve this template. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `\"\"`. Available since 2.14.", + MarkdownDescription: "The name of a topic endpoint template to copy settings from when a new topic endpoint is created by a client using the Client Profile. If the referenced topic endpoint template does not exist, topic endpoint creation will fail when it tries to resolve this template. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `\"\"`. Available since SEMP API version 2.14.", Type: types.StringType, TerraformType: tftypes.String, Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, @@ -196,7 +165,7 @@ func init() { BaseType: broker.Bool, SempName: "compressionEnabled", TerraformName: "compression_enabled", - MarkdownDescription: "Enable or disable allowing clients using the Client Profile to use compression. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `true`. Available since 2.10.", + MarkdownDescription: "Enable or disable allowing clients using the Client Profile to use compression. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `true`. Available since SEMP API version 2.10.", Type: types.BoolType, TerraformType: tftypes.Bool, Converter: broker.SimpleConverter[bool]{TerraformType: tftypes.Bool}, @@ -306,6 +275,7 @@ func init() { path.MatchRelative().AtParent().AtName("set_value"), ), }, + Default: 60, }, { BaseType: broker.Int64, @@ -348,6 +318,7 @@ func init() { path.MatchRelative().AtParent().AtName("set_value"), ), }, + Default: 80, }, { BaseType: broker.Int64, @@ -398,6 +369,7 @@ func init() { path.MatchRelative().AtParent().AtName("set_value"), ), }, + Default: 60, }, { BaseType: broker.Int64, @@ -440,6 +412,7 @@ func init() { path.MatchRelative().AtParent().AtName("set_value"), ), }, + Default: 80, }, { BaseType: broker.Int64, @@ -490,6 +463,7 @@ func init() { path.MatchRelative().AtParent().AtName("set_value"), ), }, + Default: 60, }, { BaseType: broker.Int64, @@ -532,6 +506,7 @@ func init() { path.MatchRelative().AtParent().AtName("set_value"), ), }, + Default: 80, }, { BaseType: broker.Int64, @@ -582,6 +557,7 @@ func init() { path.MatchRelative().AtParent().AtName("set_value"), ), }, + Default: 60, }, { BaseType: broker.Int64, @@ -624,6 +600,7 @@ func init() { path.MatchRelative().AtParent().AtName("set_value"), ), }, + Default: 80, }, { BaseType: broker.Int64, @@ -674,6 +651,7 @@ func init() { path.MatchRelative().AtParent().AtName("set_value"), ), }, + Default: 60, }, { BaseType: broker.Int64, @@ -716,6 +694,7 @@ func init() { path.MatchRelative().AtParent().AtName("set_value"), ), }, + Default: 80, }, { BaseType: broker.Int64, @@ -766,6 +745,7 @@ func init() { path.MatchRelative().AtParent().AtName("set_value"), ), }, + Default: 60, }, { BaseType: broker.Int64, @@ -808,6 +788,7 @@ func init() { path.MatchRelative().AtParent().AtName("set_value"), ), }, + Default: 80, }, { BaseType: broker.Int64, @@ -858,6 +839,7 @@ func init() { path.MatchRelative().AtParent().AtName("set_value"), ), }, + Default: 60, }, { BaseType: broker.Int64, @@ -900,6 +882,7 @@ func init() { path.MatchRelative().AtParent().AtName("set_value"), ), }, + Default: 80, }, { BaseType: broker.Int64, @@ -950,6 +933,7 @@ func init() { path.MatchRelative().AtParent().AtName("set_value"), ), }, + Default: 60, }, { BaseType: broker.Int64, @@ -992,6 +976,7 @@ func init() { path.MatchRelative().AtParent().AtName("set_value"), ), }, + Default: 80, }, { BaseType: broker.Int64, @@ -1042,6 +1027,7 @@ func init() { path.MatchRelative().AtParent().AtName("set_value"), ), }, + Default: 60, }, { BaseType: broker.Int64, @@ -1084,6 +1070,7 @@ func init() { path.MatchRelative().AtParent().AtName("set_value"), ), }, + Default: 80, }, { BaseType: broker.Int64, @@ -1163,7 +1150,7 @@ func init() { BaseType: broker.Int64, SempName: "maxMsgsPerTransaction", TerraformName: "max_msgs_per_transaction", - MarkdownDescription: "The maximum number of publisher and consumer messages combined that is allowed within a transaction for each client associated with this client-profile. Exceeding this limit will result in a transaction prepare or commit failure. Changing this value during operation will not affect existing sessions. It is only validated at transaction creation time. Large transactions consume more resources and are more likely to require retrieving messages from the ADB or from disk to process the transaction prepare or commit requests. The transaction processing rate may diminish if a large number of messages must be retrieved from the ADB or from disk. Care should be taken to not use excessively large transactions needlessly to avoid exceeding resource limits and to avoid reducing the overall broker performance. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `256`. Available since 2.20.", + MarkdownDescription: "The maximum number of publisher and consumer messages combined that is allowed within a transaction for each client associated with this client-profile. Exceeding this limit will result in a transaction prepare or commit failure. Changing this value during operation will not affect existing sessions. It is only validated at transaction creation time. Large transactions consume more resources and are more likely to require retrieving messages from the ADB or from disk to process the transaction prepare or commit requests. The transaction processing rate may diminish if a large number of messages must be retrieved from the ADB or from disk. Care should be taken to not use excessively large transactions needlessly to avoid exceeding resource limits and to avoid reducing the overall broker performance. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `256`. Available since SEMP API version 2.20.", Type: types.Int64Type, TerraformType: tftypes.Number, Converter: broker.IntegerConverter{}, @@ -1347,7 +1334,7 @@ func init() { BaseType: broker.Int64, SempName: "queueGuaranteed1MinMsgBurst", TerraformName: "queue_guaranteed1_min_msg_burst", - MarkdownDescription: "The number of messages that are always allowed entry into the \"Guaranteed 1\" (G-3) priority queue, regardless of the `queue_guaranteed1_max_depth` value. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `255`.", + MarkdownDescription: "The number of messages that are always allowed entry into the \"Guaranteed 1\" (G-1) priority queue, regardless of the `queue_guaranteed1_max_depth` value. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `255`.", Type: types.Int64Type, TerraformType: tftypes.Number, Converter: broker.IntegerConverter{}, @@ -1360,7 +1347,7 @@ func init() { BaseType: broker.Bool, SempName: "rejectMsgToSenderOnNoSubscriptionMatchEnabled", TerraformName: "reject_msg_to_sender_on_no_subscription_match_enabled", - MarkdownDescription: "Enable or disable the sending of a negative acknowledgement (NACK) to a client using the Client Profile when discarding a guaranteed message due to no matching subscription found. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `false`.", + MarkdownDescription: "Enable or disable the sending of a negative acknowledgment (NACK) to a client using the Client Profile when discarding a guaranteed message due to no matching subscription found. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `false`.", Type: types.BoolType, TerraformType: tftypes.Bool, Converter: broker.SimpleConverter[bool]{TerraformType: tftypes.Bool}, @@ -1380,7 +1367,7 @@ func init() { BaseType: broker.Int64, SempName: "serviceMinKeepaliveTimeout", TerraformName: "service_min_keepalive_timeout", - MarkdownDescription: "The minimum client keepalive timeout which will be enforced for client connections. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `30`. Available since 2.19.", + MarkdownDescription: "The minimum client keepalive timeout which will be enforced for client connections. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `30`. Available since SEMP API version 2.19.", Type: types.Int64Type, TerraformType: tftypes.Number, Converter: broker.IntegerConverter{}, @@ -1405,7 +1392,7 @@ func init() { BaseType: broker.Bool, SempName: "serviceSmfMinKeepaliveEnabled", TerraformName: "service_smf_min_keepalive_enabled", - MarkdownDescription: "Enable or disable the enforcement of a minimum keepalive timeout for SMF clients. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `false`. Available since 2.19.", + MarkdownDescription: "Enable or disable the enforcement of a minimum keepalive timeout for SMF clients. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `false`. Available since SEMP API version 2.19.", Type: types.BoolType, TerraformType: tftypes.Bool, Converter: broker.SimpleConverter[bool]{TerraformType: tftypes.Bool}, @@ -1492,7 +1479,7 @@ func init() { BaseType: broker.Int64, SempName: "tcpKeepaliveInterval", TerraformName: "tcp_keepalive_interval", - MarkdownDescription: "The amount of time between TCP keepalive retransmissions to a client using the Client Profile when no acknowledgement is received, in seconds. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `1`.", + MarkdownDescription: "The amount of time between TCP keepalive retransmissions to a client using the Client Profile when no acknowledgment is received, in seconds. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `1`.", Type: types.Int64Type, TerraformType: tftypes.Number, Converter: broker.IntegerConverter{}, @@ -1518,7 +1505,7 @@ func init() { BaseType: broker.Int64, SempName: "tcpMaxWindowSize", TerraformName: "tcp_max_window_size", - MarkdownDescription: "The TCP maximum window size for clients using the Client Profile, in kilobytes. Changes are applied to all existing connections. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `256`.", + MarkdownDescription: "The TCP maximum window size for clients using the Client Profile, in kilobytes. Changes are applied to all existing connections. This setting is ignored on the software broker. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `256`.", Type: types.Int64Type, TerraformType: tftypes.Number, Converter: broker.IntegerConverter{}, @@ -1531,7 +1518,7 @@ func init() { BaseType: broker.Bool, SempName: "tlsAllowDowngradeToPlainTextEnabled", TerraformName: "tls_allow_downgrade_to_plain_text_enabled", - MarkdownDescription: "Enable or disable allowing a client using the Client Profile to downgrade an encrypted connection to plain text. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `true`. Available since 2.8.", + MarkdownDescription: "Enable or disable allowing a client using the Client Profile to downgrade an encrypted connection to plain text. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `true`. Available since SEMP API version 2.8.", Type: types.BoolType, TerraformType: tftypes.Bool, Converter: broker.SimpleConverter[bool]{TerraformType: tftypes.Bool}, diff --git a/internal/broker/generated/MsgVpnClientUsername.go b/internal/broker/generated/MsgVpnClientUsername.go index dd44e2c..f801c1b 100644 --- a/internal/broker/generated/MsgVpnClientUsername.go +++ b/internal/broker/generated/MsgVpnClientUsername.go @@ -28,11 +28,20 @@ import ( func init() { info := broker.EntityInputs{ TerraformName: "msg_vpn_client_username", - MarkdownDescription: "A client is only authorized to connect to a Message VPN that is associated with a Client Username that the client has been assigned.\n\n\nAttribute|Identifying|Write-Only|Deprecated|Opaque\n:---|:---:|:---:|:---:|:---:\nclient_username|x|||\nmsg_vpn_name|x|||\npassword||x||x\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"vpn/read-only\" is required to perform this operation.\n\nThis has been available since 2.0.", + MarkdownDescription: "A client is only authorized to connect to a Message VPN that is associated with a Client Username that the client has been assigned.\n\n\nAttribute|Identifying|Write-Only|Opaque\n:---|:---:|:---:|:---:\nclient_username|x||\nmsg_vpn_name|x||\npassword||x|x\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"vpn/read-only\" is required to perform this operation.\n\nThis has been available since SEMP API version 2.0.", ObjectType: broker.StandardObject, PathTemplate: "/msgVpns/{msgVpnName}/clientUsernames/{clientUsername}", Version: 0, Attributes: []*broker.AttributeInfo{ + { + BaseType: broker.String, + SempName: "id", + TerraformName: "id", + Type: types.StringType, + TerraformType: tftypes.String, + Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, + Default: "", + }, { BaseType: broker.String, SempName: "aclProfileName", @@ -117,7 +126,7 @@ func init() { BaseType: broker.String, SempName: "password", TerraformName: "password", - MarkdownDescription: "The password for the Client Username. This attribute is absent from a GET and not updated when absent in a PUT, subject to the exceptions in note 4. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `\"\"`.", + MarkdownDescription: "The password for the Client Username. This attribute is absent from a GET and not updated when absent in a PUT, subject to the exceptions in note 4 (refer to the `Notes` section in the SEMP API `Config reference`). Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `\"\"`.", Sensitive: true, Type: types.StringType, TerraformType: tftypes.String, diff --git a/internal/broker/generated/MsgVpnClientUsernameAttribute.go b/internal/broker/generated/MsgVpnClientUsernameAttribute.go index 6928068..0ae9ae0 100644 --- a/internal/broker/generated/MsgVpnClientUsernameAttribute.go +++ b/internal/broker/generated/MsgVpnClientUsernameAttribute.go @@ -28,12 +28,21 @@ import ( func init() { info := broker.EntityInputs{ TerraformName: "msg_vpn_client_username_attribute", - MarkdownDescription: "A ClientUsername Attribute is a key+value pair that can be used to locate a client username, for example when using client certificate mapping.\n\n\nAttribute|Identifying|Write-Only|Deprecated|Opaque\n:---|:---:|:---:|:---:|:---:\nattribute_name|x|||\nattribute_value|x|||\nclient_username|x|||\nmsg_vpn_name|x|||\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"vpn/read-only\" is required to perform this operation.\n\nThis has been available since 2.27.", + MarkdownDescription: "A ClientUsername Attribute is a key+value pair that can be used to locate a client username, for example when using client certificate mapping.\n\n\nAttribute|Identifying\n:---|:---:\nattribute_name|x\nattribute_value|x\nclient_username|x\nmsg_vpn_name|x\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"vpn/read-only\" is required to perform this operation.\n\nThis has been available since SEMP API version 2.27.", ObjectType: broker.ReplaceOnlyObject, PathTemplate: "/msgVpns/{msgVpnName}/clientUsernames/{clientUsername}/attributes/{attributeName},{attributeValue}", PostPathTemplate: "/msgVpns/{msgVpnName}/clientUsernames/{clientUsername}/attributes", Version: 0, Attributes: []*broker.AttributeInfo{ + { + BaseType: broker.String, + SempName: "id", + TerraformName: "id", + Type: types.StringType, + TerraformType: tftypes.String, + Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, + Default: "", + }, { BaseType: broker.String, SempName: "attributeName", diff --git a/internal/broker/generated/MsgVpnDistributedCache.go b/internal/broker/generated/MsgVpnDistributedCache.go index b40eece..87d707c 100644 --- a/internal/broker/generated/MsgVpnDistributedCache.go +++ b/internal/broker/generated/MsgVpnDistributedCache.go @@ -30,11 +30,20 @@ import ( func init() { info := broker.EntityInputs{ TerraformName: "msg_vpn_distributed_cache", - MarkdownDescription: "A Distributed Cache is a collection of one or more Cache Clusters that belong to the same Message VPN. Each Cache Cluster in a Distributed Cache is configured to subscribe to a different set of topics. This effectively divides up the configured topic space, to provide scaling to very large topic spaces or very high cached message throughput.\n\n\nAttribute|Identifying|Write-Only|Deprecated|Opaque\n:---|:---:|:---:|:---:|:---:\ncache_name|x|||\nmsg_vpn_name|x|||\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"vpn/read-only\" is required to perform this operation.\n\nThis has been available since 2.11.", + MarkdownDescription: "A Distributed Cache is a collection of one or more Cache Clusters that belong to the same Message VPN. Each Cache Cluster in a Distributed Cache is configured to subscribe to a different set of topics. This effectively divides up the configured topic space, to provide scaling to very large topic spaces or very high cached message throughput.\n\n\nAttribute|Identifying\n:---|:---:\ncache_name|x\nmsg_vpn_name|x\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"vpn/read-only\" is required to perform this operation.\n\nThis has been available since SEMP API version 2.11.", ObjectType: broker.StandardObject, PathTemplate: "/msgVpns/{msgVpnName}/distributedCaches/{cacheName}", Version: 0, Attributes: []*broker.AttributeInfo{ + { + BaseType: broker.String, + SempName: "id", + TerraformName: "id", + Type: types.StringType, + TerraformType: tftypes.String, + Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, + Default: "", + }, { BaseType: broker.String, SempName: "cacheName", @@ -55,7 +64,7 @@ func init() { BaseType: broker.String, SempName: "cacheVirtualRouter", TerraformName: "cache_virtual_router", - MarkdownDescription: "The virtual router of the Distributed Cache. The default value is `\"auto\"`. The allowed values and their meaning are:\n\n
\n\"primary\" - The Distributed Cache is used for the primary virtual router.\n\"backup\" - The Distributed Cache is used for the backup virtual router.\n\"auto\" - The Distributed Cache is automatically assigned a virtual router at creation, depending on the broker's active-standby role.\n
\n Available since 2.28.", + MarkdownDescription: "The virtual router of the Distributed Cache. The default value is `\"auto\"`. The allowed values and their meaning are:\n\n
\n\"primary\" - The Distributed Cache is used for the primary virtual router.\n\"backup\" - The Distributed Cache is used for the backup virtual router.\n\"auto\" - The Distributed Cache is automatically assigned a virtual router at creation, depending on the broker's active-standby role.\n
\n Available since SEMP API version 2.28.", RequiresReplace: true, Type: types.StringType, TerraformType: tftypes.String, diff --git a/internal/broker/generated/MsgVpnDistributedCacheCluster.go b/internal/broker/generated/MsgVpnDistributedCacheCluster.go index 377ac39..364fc8a 100644 --- a/internal/broker/generated/MsgVpnDistributedCacheCluster.go +++ b/internal/broker/generated/MsgVpnDistributedCacheCluster.go @@ -30,11 +30,20 @@ import ( func init() { info := broker.EntityInputs{ TerraformName: "msg_vpn_distributed_cache_cluster", - MarkdownDescription: "A Cache Cluster is a collection of one or more Cache Instances that subscribe to exactly the same topics. Cache Instances are grouped together in a Cache Cluster for the purpose of fault tolerance and load balancing. As published messages are received, the message broker message bus sends these live data messages to the Cache Instances in the Cache Cluster. This enables client cache requests to be served by any of Cache Instances in the Cache Cluster.\n\n\nAttribute|Identifying|Write-Only|Deprecated|Opaque\n:---|:---:|:---:|:---:|:---:\ncache_name|x|||\ncluster_name|x|||\nmsg_vpn_name|x|||\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"vpn/read-only\" is required to perform this operation.\n\nThis has been available since 2.11.", + MarkdownDescription: "A Cache Cluster is a collection of one or more Cache Instances that subscribe to exactly the same topics. Cache Instances are grouped together in a Cache Cluster for the purpose of fault tolerance and load balancing. As published messages are received, the message broker message bus sends these live data messages to the Cache Instances in the Cache Cluster. This enables client cache requests to be served by any of Cache Instances in the Cache Cluster.\n\n\nAttribute|Identifying\n:---|:---:\ncache_name|x\ncluster_name|x\nmsg_vpn_name|x\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"vpn/read-only\" is required to perform this operation.\n\nThis has been available since SEMP API version 2.11.", ObjectType: broker.StandardObject, PathTemplate: "/msgVpns/{msgVpnName}/distributedCaches/{cacheName}/clusters/{clusterName}", Version: 0, Attributes: []*broker.AttributeInfo{ + { + BaseType: broker.String, + SempName: "id", + TerraformName: "id", + Type: types.StringType, + TerraformType: tftypes.String, + Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, + Default: "", + }, { BaseType: broker.String, SempName: "cacheName", @@ -109,6 +118,7 @@ func init() { ), int64validator.Between(0, 4294967295), }, + Default: 1.875e+08, }, { BaseType: broker.Int64, @@ -125,6 +135,7 @@ func init() { ), int64validator.Between(0, 4294967295), }, + Default: 2.5e+08, }, }, }, @@ -149,6 +160,7 @@ func init() { ), int64validator.Between(0, 4294967295), }, + Default: 36000, }, { BaseType: broker.Int64, @@ -165,6 +177,7 @@ func init() { ), int64validator.Between(0, 4294967295), }, + Default: 48000, }, }, }, @@ -189,6 +202,7 @@ func init() { ), int64validator.Between(0, 100), }, + Default: 60, }, { BaseType: broker.Int64, @@ -205,6 +219,7 @@ func init() { ), int64validator.Between(0, 100), }, + Default: 80, }, }, }, @@ -229,6 +244,7 @@ func init() { ), int64validator.Between(0, 100), }, + Default: 60, }, { BaseType: broker.Int64, @@ -245,6 +261,7 @@ func init() { ), int64validator.Between(0, 100), }, + Default: 80, }, }, }, @@ -269,6 +286,7 @@ func init() { ), int64validator.Between(0, 100), }, + Default: 60, }, { BaseType: broker.Int64, @@ -285,6 +303,7 @@ func init() { ), int64validator.Between(0, 100), }, + Default: 80, }, }, }, @@ -309,6 +328,7 @@ func init() { ), int64validator.Between(0, 4294967295), }, + Default: 1000, }, { BaseType: broker.Int64, @@ -325,6 +345,7 @@ func init() { ), int64validator.Between(0, 4294967295), }, + Default: 25000, }, }, }, @@ -349,6 +370,7 @@ func init() { ), int64validator.Between(0, 4294967295), }, + Default: 1000, }, { BaseType: broker.Int64, @@ -365,6 +387,7 @@ func init() { ), int64validator.Between(0, 4294967295), }, + Default: 80000, }, }, }, diff --git a/internal/broker/generated/MsgVpnDistributedCacheClusterGlobalCachingHomeCluster.go b/internal/broker/generated/MsgVpnDistributedCacheClusterGlobalCachingHomeCluster.go index 6e6b30a..a3859e9 100644 --- a/internal/broker/generated/MsgVpnDistributedCacheClusterGlobalCachingHomeCluster.go +++ b/internal/broker/generated/MsgVpnDistributedCacheClusterGlobalCachingHomeCluster.go @@ -28,12 +28,21 @@ import ( func init() { info := broker.EntityInputs{ TerraformName: "msg_vpn_distributed_cache_cluster_global_caching_home_cluster", - MarkdownDescription: "A Home Cache Cluster is a Cache Cluster that is the \"definitive\" Cache Cluster for a given topic in the context of the Global Caching feature.\n\n\nAttribute|Identifying|Write-Only|Deprecated|Opaque\n:---|:---:|:---:|:---:|:---:\ncache_name|x|||\ncluster_name|x|||\nhome_cluster_name|x|||\nmsg_vpn_name|x|||\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"vpn/read-only\" is required to perform this operation.\n\nThis has been available since 2.11.", + MarkdownDescription: "A Home Cache Cluster is a Cache Cluster that is the \"definitive\" Cache Cluster for a given topic in the context of the Global Caching feature.\n\n\nAttribute|Identifying\n:---|:---:\ncache_name|x\ncluster_name|x\nhome_cluster_name|x\nmsg_vpn_name|x\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"vpn/read-only\" is required to perform this operation.\n\nThis has been available since SEMP API version 2.11.", ObjectType: broker.ReplaceOnlyObject, PathTemplate: "/msgVpns/{msgVpnName}/distributedCaches/{cacheName}/clusters/{clusterName}/globalCachingHomeClusters/{homeClusterName}", PostPathTemplate: "/msgVpns/{msgVpnName}/distributedCaches/{cacheName}/clusters/{clusterName}/globalCachingHomeClusters", Version: 0, Attributes: []*broker.AttributeInfo{ + { + BaseType: broker.String, + SempName: "id", + TerraformName: "id", + Type: types.StringType, + TerraformType: tftypes.String, + Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, + Default: "", + }, { BaseType: broker.String, SempName: "cacheName", diff --git a/internal/broker/generated/MsgVpnDistributedCacheClusterGlobalCachingHomeClusterTopicPrefix.go b/internal/broker/generated/MsgVpnDistributedCacheClusterGlobalCachingHomeClusterTopicPrefix.go index c0c3967..6fa37e1 100644 --- a/internal/broker/generated/MsgVpnDistributedCacheClusterGlobalCachingHomeClusterTopicPrefix.go +++ b/internal/broker/generated/MsgVpnDistributedCacheClusterGlobalCachingHomeClusterTopicPrefix.go @@ -28,12 +28,21 @@ import ( func init() { info := broker.EntityInputs{ TerraformName: "msg_vpn_distributed_cache_cluster_global_caching_home_cluster_topic_prefix", - MarkdownDescription: "A Topic Prefix is a prefix for a global topic that is available from the containing Home Cache Cluster.\n\n\nAttribute|Identifying|Write-Only|Deprecated|Opaque\n:---|:---:|:---:|:---:|:---:\ncache_name|x|||\ncluster_name|x|||\nhome_cluster_name|x|||\nmsg_vpn_name|x|||\ntopic_prefix|x|||\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"vpn/read-only\" is required to perform this operation.\n\nThis has been available since 2.11.", + MarkdownDescription: "A Topic Prefix is a prefix for a global topic that is available from the containing Home Cache Cluster.\n\n\nAttribute|Identifying\n:---|:---:\ncache_name|x\ncluster_name|x\nhome_cluster_name|x\nmsg_vpn_name|x\ntopic_prefix|x\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"vpn/read-only\" is required to perform this operation.\n\nThis has been available since SEMP API version 2.11.", ObjectType: broker.ReplaceOnlyObject, PathTemplate: "/msgVpns/{msgVpnName}/distributedCaches/{cacheName}/clusters/{clusterName}/globalCachingHomeClusters/{homeClusterName}/topicPrefixes/{topicPrefix}", PostPathTemplate: "/msgVpns/{msgVpnName}/distributedCaches/{cacheName}/clusters/{clusterName}/globalCachingHomeClusters/{homeClusterName}/topicPrefixes", Version: 0, Attributes: []*broker.AttributeInfo{ + { + BaseType: broker.String, + SempName: "id", + TerraformName: "id", + Type: types.StringType, + TerraformType: tftypes.String, + Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, + Default: "", + }, { BaseType: broker.String, SempName: "cacheName", diff --git a/internal/broker/generated/MsgVpnDistributedCacheClusterInstance.go b/internal/broker/generated/MsgVpnDistributedCacheClusterInstance.go index 832d110..db2610f 100644 --- a/internal/broker/generated/MsgVpnDistributedCacheClusterInstance.go +++ b/internal/broker/generated/MsgVpnDistributedCacheClusterInstance.go @@ -28,11 +28,20 @@ import ( func init() { info := broker.EntityInputs{ TerraformName: "msg_vpn_distributed_cache_cluster_instance", - MarkdownDescription: "A Cache Instance is a single Cache process that belongs to a single Cache Cluster. A Cache Instance object provisioned on the broker is used to disseminate configuration information to the Cache process. Cache Instances listen for and cache live data messages that match the topic subscriptions configured for their parent Cache Cluster.\n\n\nAttribute|Identifying|Write-Only|Deprecated|Opaque\n:---|:---:|:---:|:---:|:---:\ncache_name|x|||\ncluster_name|x|||\ninstance_name|x|||\nmsg_vpn_name|x|||\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"vpn/read-only\" is required to perform this operation.\n\nThis has been available since 2.11.", + MarkdownDescription: "A Cache Instance is a single Cache process that belongs to a single Cache Cluster. A Cache Instance object provisioned on the broker is used to disseminate configuration information to the Cache process. Cache Instances listen for and cache live data messages that match the topic subscriptions configured for their parent Cache Cluster.\n\n\nAttribute|Identifying\n:---|:---:\ncache_name|x\ncluster_name|x\ninstance_name|x\nmsg_vpn_name|x\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"vpn/read-only\" is required to perform this operation.\n\nThis has been available since SEMP API version 2.11.", ObjectType: broker.StandardObject, PathTemplate: "/msgVpns/{msgVpnName}/distributedCaches/{cacheName}/clusters/{clusterName}/instances/{instanceName}", Version: 0, Attributes: []*broker.AttributeInfo{ + { + BaseType: broker.String, + SempName: "id", + TerraformName: "id", + Type: types.StringType, + TerraformType: tftypes.String, + Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, + Default: "", + }, { BaseType: broker.Bool, SempName: "autoStartEnabled", diff --git a/internal/broker/generated/MsgVpnDistributedCacheClusterTopic.go b/internal/broker/generated/MsgVpnDistributedCacheClusterTopic.go index b839bd1..0c6d0c8 100644 --- a/internal/broker/generated/MsgVpnDistributedCacheClusterTopic.go +++ b/internal/broker/generated/MsgVpnDistributedCacheClusterTopic.go @@ -28,12 +28,21 @@ import ( func init() { info := broker.EntityInputs{ TerraformName: "msg_vpn_distributed_cache_cluster_topic", - MarkdownDescription: "The Cache Instances that belong to the containing Cache Cluster will cache any messages published to topics that match a Topic Subscription.\n\n\nAttribute|Identifying|Write-Only|Deprecated|Opaque\n:---|:---:|:---:|:---:|:---:\ncache_name|x|||\ncluster_name|x|||\nmsg_vpn_name|x|||\ntopic|x|||\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"vpn/read-only\" is required to perform this operation.\n\nThis has been available since 2.11.", + MarkdownDescription: "The Cache Instances that belong to the containing Cache Cluster will cache any messages published to topics that match a Topic Subscription.\n\n\nAttribute|Identifying\n:---|:---:\ncache_name|x\ncluster_name|x\nmsg_vpn_name|x\ntopic|x\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"vpn/read-only\" is required to perform this operation.\n\nThis has been available since SEMP API version 2.11.", ObjectType: broker.ReplaceOnlyObject, PathTemplate: "/msgVpns/{msgVpnName}/distributedCaches/{cacheName}/clusters/{clusterName}/topics/{topic}", PostPathTemplate: "/msgVpns/{msgVpnName}/distributedCaches/{cacheName}/clusters/{clusterName}/topics", Version: 0, Attributes: []*broker.AttributeInfo{ + { + BaseType: broker.String, + SempName: "id", + TerraformName: "id", + Type: types.StringType, + TerraformType: tftypes.String, + Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, + Default: "", + }, { BaseType: broker.String, SempName: "cacheName", diff --git a/internal/broker/generated/MsgVpnDmrBridge.go b/internal/broker/generated/MsgVpnDmrBridge.go index a3d76fa..f209665 100644 --- a/internal/broker/generated/MsgVpnDmrBridge.go +++ b/internal/broker/generated/MsgVpnDmrBridge.go @@ -28,11 +28,20 @@ import ( func init() { info := broker.EntityInputs{ TerraformName: "msg_vpn_dmr_bridge", - MarkdownDescription: "A DMR Bridge is required to establish a data channel over a corresponding external link to the remote node for a given Message VPN. Each DMR Bridge identifies which external link the Message VPN should use, and what the name of the equivalent Message VPN at the remote node is.\n\n\nAttribute|Identifying|Write-Only|Deprecated|Opaque\n:---|:---:|:---:|:---:|:---:\nmsg_vpn_name|x|||\nremote_node_name|x|||\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"vpn/read-only\" is required to perform this operation.\n\nThis has been available since 2.11.", + MarkdownDescription: "A DMR Bridge is required to establish a data channel over a corresponding external link to the remote node for a given Message VPN. Each DMR Bridge identifies which external link the Message VPN should use, and what the name of the equivalent Message VPN at the remote node is.\n\n\nAttribute|Identifying\n:---|:---:\nmsg_vpn_name|x\nremote_node_name|x\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"vpn/read-only\" is required to perform this operation.\n\nThis has been available since SEMP API version 2.11.", ObjectType: broker.StandardObject, PathTemplate: "/msgVpns/{msgVpnName}/dmrBridges/{remoteNodeName}", Version: 0, Attributes: []*broker.AttributeInfo{ + { + BaseType: broker.String, + SempName: "id", + TerraformName: "id", + Type: types.StringType, + TerraformType: tftypes.String, + Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, + Default: "", + }, { BaseType: broker.String, SempName: "msgVpnName", diff --git a/internal/broker/generated/MsgVpnJndiConnectionFactory.go b/internal/broker/generated/MsgVpnJndiConnectionFactory.go index 8b3be0a..1995770 100644 --- a/internal/broker/generated/MsgVpnJndiConnectionFactory.go +++ b/internal/broker/generated/MsgVpnJndiConnectionFactory.go @@ -29,11 +29,20 @@ import ( func init() { info := broker.EntityInputs{ TerraformName: "msg_vpn_jndi_connection_factory", - MarkdownDescription: "The message broker provides an internal JNDI store for provisioned Connection Factory objects that clients can access through JNDI lookups.\n\n\nAttribute|Identifying|Write-Only|Deprecated|Opaque\n:---|:---:|:---:|:---:|:---:\nconnection_factory_name|x|||\nmsg_vpn_name|x|||\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"vpn/read-only\" is required to perform this operation.\n\nThis has been available since 2.4.", + MarkdownDescription: "The message broker provides an internal JNDI store for provisioned Connection Factory objects that clients can access through JNDI lookups.\n\n\nAttribute|Identifying\n:---|:---:\nconnection_factory_name|x\nmsg_vpn_name|x\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"vpn/read-only\" is required to perform this operation.\n\nThis has been available since SEMP API version 2.4.", ObjectType: broker.StandardObject, PathTemplate: "/msgVpns/{msgVpnName}/jndiConnectionFactories/{connectionFactoryName}", Version: 0, Attributes: []*broker.AttributeInfo{ + { + BaseType: broker.String, + SempName: "id", + TerraformName: "id", + Type: types.StringType, + TerraformType: tftypes.String, + Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, + Default: "", + }, { BaseType: broker.Bool, SempName: "allowDuplicateClientIdEnabled", @@ -53,7 +62,7 @@ func init() { TerraformType: tftypes.String, Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, StringValidators: []validator.String{ - stringvalidator.LengthBetween(0, 256), + stringvalidator.LengthBetween(0, 255), }, Default: "", }, @@ -66,7 +75,7 @@ func init() { TerraformType: tftypes.String, Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, StringValidators: []validator.String{ - stringvalidator.LengthBetween(0, 256), + stringvalidator.LengthBetween(0, 250), }, Default: "", }, @@ -156,7 +165,7 @@ func init() { BaseType: broker.Int64, SempName: "guaranteedReceiveAckTimeout", TerraformName: "guaranteed_receive_ack_timeout", - MarkdownDescription: "The timeout for sending the acknowledgement (ACK) for guaranteed messages received by the Subscriber (Consumer), in milliseconds. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `1000`.", + MarkdownDescription: "The timeout for sending the acknowledgment (ACK) for guaranteed messages received by the Subscriber (Consumer), in milliseconds. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `1000`.", Type: types.Int64Type, TerraformType: tftypes.Number, Converter: broker.IntegerConverter{}, @@ -169,7 +178,7 @@ func init() { BaseType: broker.Int64, SempName: "guaranteedReceiveReconnectRetryCount", TerraformName: "guaranteed_receive_reconnect_retry_count", - MarkdownDescription: "The maximum number of attempts to reconnect to the host or list of hosts after the guaranteed messaging connection has been lost. The value \"-1\" means to retry forever. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `-1`. Available since 2.14.", + MarkdownDescription: "The maximum number of attempts to reconnect to the host or list of hosts after the guaranteed messaging connection has been lost. The value \"-1\" means to retry forever. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `-1`. Available since SEMP API version 2.14.", Type: types.Int64Type, TerraformType: tftypes.Number, Converter: broker.IntegerConverter{}, @@ -182,7 +191,7 @@ func init() { BaseType: broker.Int64, SempName: "guaranteedReceiveReconnectRetryWait", TerraformName: "guaranteed_receive_reconnect_retry_wait", - MarkdownDescription: "The amount of time to wait before making another attempt to connect or reconnect to the host after the guaranteed messaging connection has been lost, in milliseconds. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `3000`. Available since 2.14.", + MarkdownDescription: "The amount of time to wait before making another attempt to connect or reconnect to the host after the guaranteed messaging connection has been lost, in milliseconds. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `3000`. Available since SEMP API version 2.14.", Type: types.Int64Type, TerraformType: tftypes.Number, Converter: broker.IntegerConverter{}, @@ -208,7 +217,7 @@ func init() { BaseType: broker.Int64, SempName: "guaranteedReceiveWindowSizeAckThreshold", TerraformName: "guaranteed_receive_window_size_ack_threshold", - MarkdownDescription: "The threshold for sending the acknowledgement (ACK) for guaranteed messages received by the Subscriber (Consumer) as a percentage of `guaranteed_receive_window_size`. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `60`.", + MarkdownDescription: "The threshold for sending the acknowledgment (ACK) for guaranteed messages received by the Subscriber (Consumer) as a percentage of `guaranteed_receive_window_size`. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `60`.", Type: types.Int64Type, TerraformType: tftypes.Number, Converter: broker.IntegerConverter{}, @@ -221,7 +230,7 @@ func init() { BaseType: broker.Int64, SempName: "guaranteedSendAckTimeout", TerraformName: "guaranteed_send_ack_timeout", - MarkdownDescription: "The timeout for receiving the acknowledgement (ACK) for guaranteed messages sent by the Publisher (Producer), in milliseconds. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `2000`.", + MarkdownDescription: "The timeout for receiving the acknowledgment (ACK) for guaranteed messages sent by the Publisher (Producer), in milliseconds. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `2000`.", Type: types.Int64Type, TerraformType: tftypes.Number, Converter: broker.IntegerConverter{}, diff --git a/internal/broker/generated/MsgVpnJndiQueue.go b/internal/broker/generated/MsgVpnJndiQueue.go index 84d99f9..8101c9b 100644 --- a/internal/broker/generated/MsgVpnJndiQueue.go +++ b/internal/broker/generated/MsgVpnJndiQueue.go @@ -28,11 +28,20 @@ import ( func init() { info := broker.EntityInputs{ TerraformName: "msg_vpn_jndi_queue", - MarkdownDescription: "The message broker provides an internal JNDI store for provisioned Queue objects that clients can access through JNDI lookups.\n\n\nAttribute|Identifying|Write-Only|Deprecated|Opaque\n:---|:---:|:---:|:---:|:---:\nmsg_vpn_name|x|||\nqueue_name|x|||\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"vpn/read-only\" is required to perform this operation.\n\nThis has been available since 2.4.", + MarkdownDescription: "The message broker provides an internal JNDI store for provisioned Queue objects that clients can access through JNDI lookups.\n\n\nAttribute|Identifying\n:---|:---:\nmsg_vpn_name|x\nqueue_name|x\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"vpn/read-only\" is required to perform this operation.\n\nThis has been available since SEMP API version 2.4.", ObjectType: broker.StandardObject, PathTemplate: "/msgVpns/{msgVpnName}/jndiQueues/{queueName}", Version: 0, Attributes: []*broker.AttributeInfo{ + { + BaseType: broker.String, + SempName: "id", + TerraformName: "id", + Type: types.StringType, + TerraformType: tftypes.String, + Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, + Default: "", + }, { BaseType: broker.String, SempName: "msgVpnName", @@ -59,7 +68,7 @@ func init() { TerraformType: tftypes.String, Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, StringValidators: []validator.String{ - stringvalidator.LengthBetween(0, 256), + stringvalidator.LengthBetween(0, 200), }, Default: "", }, diff --git a/internal/broker/generated/MsgVpnJndiTopic.go b/internal/broker/generated/MsgVpnJndiTopic.go index 8933db7..de7047e 100644 --- a/internal/broker/generated/MsgVpnJndiTopic.go +++ b/internal/broker/generated/MsgVpnJndiTopic.go @@ -28,11 +28,20 @@ import ( func init() { info := broker.EntityInputs{ TerraformName: "msg_vpn_jndi_topic", - MarkdownDescription: "The message broker provides an internal JNDI store for provisioned Topic objects that clients can access through JNDI lookups.\n\n\nAttribute|Identifying|Write-Only|Deprecated|Opaque\n:---|:---:|:---:|:---:|:---:\nmsg_vpn_name|x|||\ntopic_name|x|||\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"vpn/read-only\" is required to perform this operation.\n\nThis has been available since 2.4.", + MarkdownDescription: "The message broker provides an internal JNDI store for provisioned Topic objects that clients can access through JNDI lookups.\n\n\nAttribute|Identifying\n:---|:---:\nmsg_vpn_name|x\ntopic_name|x\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"vpn/read-only\" is required to perform this operation.\n\nThis has been available since SEMP API version 2.4.", ObjectType: broker.StandardObject, PathTemplate: "/msgVpns/{msgVpnName}/jndiTopics/{topicName}", Version: 0, Attributes: []*broker.AttributeInfo{ + { + BaseType: broker.String, + SempName: "id", + TerraformName: "id", + Type: types.StringType, + TerraformType: tftypes.String, + Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, + Default: "", + }, { BaseType: broker.String, SempName: "msgVpnName", @@ -59,7 +68,7 @@ func init() { TerraformType: tftypes.String, Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, StringValidators: []validator.String{ - stringvalidator.LengthBetween(0, 256), + stringvalidator.LengthBetween(0, 250), }, Default: "", }, diff --git a/internal/broker/generated/MsgVpnMqttRetainCache.go b/internal/broker/generated/MsgVpnMqttRetainCache.go index 5a6ca34..d5b15b6 100644 --- a/internal/broker/generated/MsgVpnMqttRetainCache.go +++ b/internal/broker/generated/MsgVpnMqttRetainCache.go @@ -29,11 +29,20 @@ import ( func init() { info := broker.EntityInputs{ TerraformName: "msg_vpn_mqtt_retain_cache", - MarkdownDescription: "Using MQTT retained messages allows publishing MQTT clients to indicate that a message must be stored for later delivery to subscribing clients when those subscribing clients add subscriptions matching the retained message's topic. An MQTT Retain Cache processes all retained messages for a Message VPN.\n\n\nAttribute|Identifying|Write-Only|Deprecated|Opaque\n:---|:---:|:---:|:---:|:---:\ncache_name|x|||\nmsg_vpn_name|x|||\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"vpn/read-only\" is required to perform this operation.\n\nThis has been available since 2.11.", + MarkdownDescription: "Using MQTT retained messages allows publishing MQTT clients to indicate that a message must be stored for later delivery to subscribing clients when those subscribing clients add subscriptions matching the retained message's topic. An MQTT Retain Cache processes all retained messages for a Message VPN.\n\n\nAttribute|Identifying\n:---|:---:\ncache_name|x\nmsg_vpn_name|x\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"vpn/read-only\" is required to perform this operation.\n\nThis has been available since SEMP API version 2.11.", ObjectType: broker.StandardObject, PathTemplate: "/msgVpns/{msgVpnName}/mqttRetainCaches/{cacheName}", Version: 0, Attributes: []*broker.AttributeInfo{ + { + BaseType: broker.String, + SempName: "id", + TerraformName: "id", + Type: types.StringType, + TerraformType: tftypes.String, + Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, + Default: "", + }, { BaseType: broker.String, SempName: "cacheName", diff --git a/internal/broker/generated/MsgVpnMqttSession.go b/internal/broker/generated/MsgVpnMqttSession.go index 0dc7abe..6aec064 100644 --- a/internal/broker/generated/MsgVpnMqttSession.go +++ b/internal/broker/generated/MsgVpnMqttSession.go @@ -30,11 +30,20 @@ import ( func init() { info := broker.EntityInputs{ TerraformName: "msg_vpn_mqtt_session", - MarkdownDescription: "An MQTT Session object is a virtual representation of an MQTT client connection. An MQTT session holds the state of an MQTT client (that is, it is used to contain a client's QoS 0 and QoS 1 subscription sets and any undelivered QoS 1 messages).\n\n\nAttribute|Identifying|Write-Only|Deprecated|Opaque\n:---|:---:|:---:|:---:|:---:\nmqtt_session_client_id|x|||\nmqtt_session_virtual_router|x|||\nmsg_vpn_name|x|||\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"vpn/read-only\" is required to perform this operation.\n\nThis has been available since 2.4.", + MarkdownDescription: "An MQTT Session object is a virtual representation of an MQTT client connection. An MQTT session holds the state of an MQTT client (that is, it is used to contain a client's QoS 0 and QoS 1 subscription sets and any undelivered QoS 1 messages).\n\n\nAttribute|Identifying\n:---|:---:\nmqtt_session_client_id|x\nmqtt_session_virtual_router|x\nmsg_vpn_name|x\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"vpn/read-only\" is required to perform this operation.\n\nThis has been available since SEMP API version 2.4.", ObjectType: broker.StandardObject, PathTemplate: "/msgVpns/{msgVpnName}/mqttSessions/{mqttSessionClientId},{mqttSessionVirtualRouter}", Version: 0, Attributes: []*broker.AttributeInfo{ + { + BaseType: broker.String, + SempName: "id", + TerraformName: "id", + Type: types.StringType, + TerraformType: tftypes.String, + Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, + Default: "", + }, { BaseType: broker.Bool, SempName: "enabled", @@ -109,7 +118,7 @@ func init() { BaseType: broker.Bool, SempName: "queueConsumerAckPropagationEnabled", TerraformName: "queue_consumer_ack_propagation_enabled", - MarkdownDescription: "Enable or disable the propagation of consumer acknowledgements (ACKs) received on the active replication Message VPN to the standby replication Message VPN. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `true`. Available since 2.14.", + MarkdownDescription: "Enable or disable the propagation of consumer acknowledgments (ACKs) received on the active replication Message VPN to the standby replication Message VPN. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `true`. Available since SEMP API version 2.14.", Type: types.BoolType, TerraformType: tftypes.Bool, Converter: broker.SimpleConverter[bool]{TerraformType: tftypes.Bool}, @@ -119,7 +128,7 @@ func init() { BaseType: broker.String, SempName: "queueDeadMsgQueue", TerraformName: "queue_dead_msg_queue", - MarkdownDescription: "The name of the Dead Message Queue (DMQ) used by the MQTT Session Queue. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `\"#DEAD_MSG_QUEUE\"`. Available since 2.14.", + MarkdownDescription: "The name of the Dead Message Queue (DMQ) used by the MQTT Session Queue. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `\"#DEAD_MSG_QUEUE\"`. Available since SEMP API version 2.14.", Type: types.StringType, TerraformType: tftypes.String, Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, @@ -155,6 +164,7 @@ func init() { path.MatchRelative().AtParent().AtName("set_value"), ), }, + Default: 60, }, { BaseType: broker.Int64, @@ -197,6 +207,7 @@ func init() { path.MatchRelative().AtParent().AtName("set_value"), ), }, + Default: 80, }, { BaseType: broker.Int64, @@ -341,6 +352,7 @@ func init() { path.MatchRelative().AtParent().AtName("set_value"), ), }, + Default: 60, }, { BaseType: broker.Int64, @@ -383,6 +395,7 @@ func init() { path.MatchRelative().AtParent().AtName("set_value"), ), }, + Default: 80, }, { BaseType: broker.Int64, @@ -411,7 +424,7 @@ func init() { BaseType: broker.Int64, SempName: "queueMaxBindCount", TerraformName: "queue_max_bind_count", - MarkdownDescription: "The maximum number of consumer flows that can bind to the MQTT Session Queue. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `1000`. Available since 2.14.", + MarkdownDescription: "The maximum number of consumer flows that can bind to the MQTT Session Queue. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `1000`. Available since SEMP API version 2.14.", Type: types.Int64Type, TerraformType: tftypes.Number, Converter: broker.IntegerConverter{}, @@ -424,7 +437,7 @@ func init() { BaseType: broker.Int64, SempName: "queueMaxDeliveredUnackedMsgsPerFlow", TerraformName: "queue_max_delivered_unacked_msgs_per_flow", - MarkdownDescription: "The maximum number of messages delivered but not acknowledged per flow for the MQTT Session Queue. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `10000`. Available since 2.14.", + MarkdownDescription: "The maximum number of messages delivered but not acknowledged per flow for the MQTT Session Queue. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `10000`. Available since SEMP API version 2.14.", Type: types.Int64Type, TerraformType: tftypes.Number, Converter: broker.IntegerConverter{}, @@ -437,7 +450,7 @@ func init() { BaseType: broker.Int64, SempName: "queueMaxMsgSize", TerraformName: "queue_max_msg_size", - MarkdownDescription: "The maximum message size allowed in the MQTT Session Queue, in bytes (B). Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `10000000`. Available since 2.14.", + MarkdownDescription: "The maximum message size allowed in the MQTT Session Queue, in bytes (B). Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `10000000`. Available since SEMP API version 2.14.", Type: types.Int64Type, TerraformType: tftypes.Number, Converter: broker.IntegerConverter{}, @@ -450,7 +463,7 @@ func init() { BaseType: broker.Int64, SempName: "queueMaxMsgSpoolUsage", TerraformName: "queue_max_msg_spool_usage", - MarkdownDescription: "The maximum message spool usage allowed by the MQTT Session Queue, in megabytes (MB). A value of 0 only allows spooling of the last message received and disables quota checking. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `5000`. Available since 2.14.", + MarkdownDescription: "The maximum message spool usage allowed by the MQTT Session Queue, in megabytes (MB). A value of 0 only allows spooling of the last message received and disables quota checking. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `5000`. Available since SEMP API version 2.14.", Type: types.Int64Type, TerraformType: tftypes.Number, Converter: broker.IntegerConverter{}, @@ -463,7 +476,7 @@ func init() { BaseType: broker.Int64, SempName: "queueMaxRedeliveryCount", TerraformName: "queue_max_redelivery_count", - MarkdownDescription: "The maximum number of times the MQTT Session Queue will attempt redelivery of a message prior to it being discarded or moved to the DMQ. A value of 0 means to retry forever. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `0`. Available since 2.14.", + MarkdownDescription: "The maximum number of times the MQTT Session Queue will attempt redelivery of a message prior to it being discarded or moved to the DMQ. A value of 0 means to retry forever. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `0`. Available since SEMP API version 2.14.", Type: types.Int64Type, TerraformType: tftypes.Number, Converter: broker.IntegerConverter{}, @@ -476,7 +489,7 @@ func init() { BaseType: broker.Int64, SempName: "queueMaxTtl", TerraformName: "queue_max_ttl", - MarkdownDescription: "The maximum time in seconds a message can stay in the MQTT Session Queue when `queue_respect_ttl_enabled` is `\"true\"`. A message expires when the lesser of the sender assigned time-to-live (TTL) in the message and the `queue_max_ttl` configured for the MQTT Session Queue, is exceeded. A value of 0 disables expiry. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `0`. Available since 2.14.", + MarkdownDescription: "The maximum time in seconds a message can stay in the MQTT Session Queue when `queue_respect_ttl_enabled` is `\"true\"`. A message expires when the lesser of the sender assigned time-to-live (TTL) in the message and the `queue_max_ttl` configured for the MQTT Session Queue, is exceeded. A value of 0 disables expiry. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `0`. Available since SEMP API version 2.14.", Type: types.Int64Type, TerraformType: tftypes.Number, Converter: broker.IntegerConverter{}, @@ -489,7 +502,7 @@ func init() { BaseType: broker.Bool, SempName: "queueRejectLowPriorityMsgEnabled", TerraformName: "queue_reject_low_priority_msg_enabled", - MarkdownDescription: "Enable or disable the checking of low priority messages against the `queue_reject_low_priority_msg_limit`. This may only be enabled if `queue_reject_msg_to_sender_on_discard_behavior` does not have a value of `\"never\"`. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `false`. Available since 2.14.", + MarkdownDescription: "Enable or disable the checking of low priority messages against the `queue_reject_low_priority_msg_limit`. This may only be enabled if `queue_reject_msg_to_sender_on_discard_behavior` does not have a value of `\"never\"`. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `false`. Available since SEMP API version 2.14.", Type: types.BoolType, TerraformType: tftypes.Bool, Converter: broker.SimpleConverter[bool]{TerraformType: tftypes.Bool}, @@ -499,7 +512,7 @@ func init() { BaseType: broker.Int64, SempName: "queueRejectLowPriorityMsgLimit", TerraformName: "queue_reject_low_priority_msg_limit", - MarkdownDescription: "The number of messages of any priority in the MQTT Session Queue above which low priority messages are not admitted but higher priority messages are allowed. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `0`. Available since 2.14.", + MarkdownDescription: "The number of messages of any priority in the MQTT Session Queue above which low priority messages are not admitted but higher priority messages are allowed. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `0`. Available since SEMP API version 2.14.", Type: types.Int64Type, TerraformType: tftypes.Number, Converter: broker.IntegerConverter{}, @@ -512,12 +525,12 @@ func init() { BaseType: broker.String, SempName: "queueRejectMsgToSenderOnDiscardBehavior", TerraformName: "queue_reject_msg_to_sender_on_discard_behavior", - MarkdownDescription: "Determines when to return negative acknowledgements (NACKs) to sending clients on message discards. Note that NACKs cause the message to not be delivered to any destination and Transacted Session commits to fail. Modifying this attribute while the object (or the relevant part of the object) is administratively enabled may be service impacting as queue_reject_low_priority_msg_enabled will be temporarily set to false to apply the change. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `\"when-queue-enabled\"`. The allowed values and their meaning are:\n\n
\n\"always\" - Always return a negative acknowledgment (NACK) to the sending client on message discard.\n\"when-queue-enabled\" - Only return a negative acknowledgment (NACK) to the sending client on message discard when the Queue is enabled.\n\"never\" - Never return a negative acknowledgment (NACK) to the sending client on message discard.\n
\n Available since 2.14.", + MarkdownDescription: "Determines when to return negative acknowledgments (NACKs) to sending clients on message discards. Note that NACKs cause the message to not be delivered to any destination and Transacted Session commits to fail. Modifying this attribute while the object (or the relevant part of the object) is administratively enabled may be service impacting as queue_reject_low_priority_msg_enabled will be temporarily set to false to apply the change. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `\"when-queue-enabled\"`. The allowed values and their meaning are:\n\n
\n\"never\" - Silently discard messages.\n\"when-queue-enabled\" - NACK each message discard back to the client, except messages that are discarded because an endpoint is administratively disabled.\n\"always\" - NACK each message discard back to the client, including messages that are discarded because an endpoint is administratively disabled.\n
\n Available since SEMP API version 2.14.", Type: types.StringType, TerraformType: tftypes.String, Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, StringValidators: []validator.String{ - stringvalidator.OneOf("always", "when-queue-enabled", "never"), + stringvalidator.OneOf("never", "when-queue-enabled", "always"), }, Default: "when-queue-enabled", }, @@ -525,7 +538,7 @@ func init() { BaseType: broker.Bool, SempName: "queueRespectTtlEnabled", TerraformName: "queue_respect_ttl_enabled", - MarkdownDescription: "Enable or disable the respecting of the time-to-live (TTL) for messages in the MQTT Session Queue. When enabled, expired messages are discarded or moved to the DMQ. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `false`. Available since 2.14.", + MarkdownDescription: "Enable or disable the respecting of the time-to-live (TTL) for messages in the MQTT Session Queue. When enabled, expired messages are discarded or moved to the DMQ. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `false`. Available since SEMP API version 2.14.", Type: types.BoolType, TerraformType: tftypes.Bool, Converter: broker.SimpleConverter[bool]{TerraformType: tftypes.Bool}, diff --git a/internal/broker/generated/MsgVpnMqttSessionSubscription.go b/internal/broker/generated/MsgVpnMqttSessionSubscription.go index 21239fe..9193fc4 100644 --- a/internal/broker/generated/MsgVpnMqttSessionSubscription.go +++ b/internal/broker/generated/MsgVpnMqttSessionSubscription.go @@ -29,11 +29,20 @@ import ( func init() { info := broker.EntityInputs{ TerraformName: "msg_vpn_mqtt_session_subscription", - MarkdownDescription: "An MQTT session contains a client's QoS 0 and QoS 1 subscription sets. On creation, a subscription defaults to QoS 0.\n\n\nAttribute|Identifying|Write-Only|Deprecated|Opaque\n:---|:---:|:---:|:---:|:---:\nmqtt_session_client_id|x|||\nmqtt_session_virtual_router|x|||\nmsg_vpn_name|x|||\nsubscription_topic|x|||\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"vpn/read-only\" is required to perform this operation.\n\nThis has been available since 2.4.", + MarkdownDescription: "An MQTT session contains a client's QoS 0 and QoS 1 subscription sets. On creation, a subscription defaults to QoS 0.\n\n\nAttribute|Identifying\n:---|:---:\nmqtt_session_client_id|x\nmqtt_session_virtual_router|x\nmsg_vpn_name|x\nsubscription_topic|x\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"vpn/read-only\" is required to perform this operation.\n\nThis has been available since SEMP API version 2.4.", ObjectType: broker.StandardObject, PathTemplate: "/msgVpns/{msgVpnName}/mqttSessions/{mqttSessionClientId},{mqttSessionVirtualRouter}/subscriptions/{subscriptionTopic}", Version: 0, Attributes: []*broker.AttributeInfo{ + { + BaseType: broker.String, + SempName: "id", + TerraformName: "id", + Type: types.StringType, + TerraformType: tftypes.String, + Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, + Default: "", + }, { BaseType: broker.String, SempName: "mqttSessionClientId", diff --git a/internal/broker/generated/MsgVpnProxy.go b/internal/broker/generated/MsgVpnProxy.go new file mode 100644 index 0000000..a9c6d33 --- /dev/null +++ b/internal/broker/generated/MsgVpnProxy.go @@ -0,0 +1,173 @@ +// terraform-provider-solacebroker +// +// Copyright 2023 Solace Corporation. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +package generated + +import ( + "github.com/hashicorp/terraform-plugin-framework-validators/int64validator" + "github.com/hashicorp/terraform-plugin-framework-validators/stringvalidator" + "github.com/hashicorp/terraform-plugin-framework/schema/validator" + "github.com/hashicorp/terraform-plugin-framework/types" + "github.com/hashicorp/terraform-plugin-go/tftypes" + "regexp" + "terraform-provider-solacebroker/internal/broker" +) + +func init() { + info := broker.EntityInputs{ + TerraformName: "msg_vpn_proxy", + MarkdownDescription: "Proxy objects define the connection parameters for a proxy server. To use a proxy for a particular connection such as a REST Consumer, select the proxy by name in the configuration for that object.\n\n\nAttribute|Identifying|Write-Only|Opaque\n:---|:---:|:---:|:---:\nauthentication_basic_password||x|x\nmsg_vpn_name|x||\nproxy_name|x||\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"vpn/read-only\" is required to perform this operation.\n\nThis has been available since SEMP API version 2.36.", + ObjectType: broker.StandardObject, + PathTemplate: "/msgVpns/{msgVpnName}/proxies/{proxyName}", + Version: 0, + Attributes: []*broker.AttributeInfo{ + { + BaseType: broker.String, + SempName: "id", + TerraformName: "id", + Type: types.StringType, + TerraformType: tftypes.String, + Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, + Default: "", + }, + { + BaseType: broker.String, + SempName: "authenticationBasicPassword", + TerraformName: "authentication_basic_password", + MarkdownDescription: "The password to use with basic authentication. This attribute is absent from a GET and not updated when absent in a PUT, subject to the exceptions in note 4 (refer to the `Notes` section in the SEMP API `Config reference`). Changes to this attribute are synchronized to HA mates via config-sync. The default value is `\"\"`.", + Sensitive: true, + Type: types.StringType, + TerraformType: tftypes.String, + Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, + StringValidators: []validator.String{ + stringvalidator.LengthBetween(0, 64), + }, + Default: "", + }, + { + BaseType: broker.String, + SempName: "authenticationBasicUsername", + TerraformName: "authentication_basic_username", + MarkdownDescription: "The username to use with basic authentication. Changes to this attribute are synchronized to HA mates via config-sync. The default value is `\"\"`.", + Type: types.StringType, + TerraformType: tftypes.String, + Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, + StringValidators: []validator.String{ + stringvalidator.LengthBetween(0, 32), + }, + Default: "", + }, + { + BaseType: broker.String, + SempName: "authenticationScheme", + TerraformName: "authentication_scheme", + MarkdownDescription: "The authentication scheme used to connect to the proxy. Changes to this attribute are synchronized to HA mates via config-sync. The default value is `\"none\"`. The allowed values and their meaning are:\n\n
\n\"none\" - No authentication.\n\"basic\" - Username/password authentication.\n
\n", + Type: types.StringType, + TerraformType: tftypes.String, + Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, + StringValidators: []validator.String{ + stringvalidator.OneOf("none", "basic"), + }, + Default: "none", + }, + { + BaseType: broker.Bool, + SempName: "enabled", + TerraformName: "enabled", + MarkdownDescription: "Enable or disable the proxy. When disabled, no connections are initiated to this particular Proxy. Changes to this attribute are synchronized to HA mates via config-sync. The default value is `false`.", + Type: types.BoolType, + TerraformType: tftypes.Bool, + Converter: broker.SimpleConverter[bool]{TerraformType: tftypes.Bool}, + Default: false, + }, + { + BaseType: broker.String, + SempName: "host", + TerraformName: "host", + MarkdownDescription: "The IP address or host name of the proxy. Changes to this attribute are synchronized to HA mates via config-sync. The default value is `\"\"`.", + Type: types.StringType, + TerraformType: tftypes.String, + Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, + StringValidators: []validator.String{ + stringvalidator.LengthBetween(0, 253), + stringvalidator.RegexMatches(regexp.MustCompile("^([0-9a-zA-Z\\-\\.]*|([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|\\[([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}\\]|([0-9a-fA-F]{1,4}:){1,7}:|\\[([0-9a-fA-F]{1,4}:){1,7}:\\]|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|\\[([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}\\]|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|\\[([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}\\]|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|\\[([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}\\]|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|\\[([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}\\]|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|\\[([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}\\]|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|\\[[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})\\]|:((:[0-9a-fA-F]{1,4}){1,7}|:)|\\[:((:[0-9a-fA-F]{1,4}){1,7}|:)\\])$"), ""), + }, + Default: "", + }, + { + BaseType: broker.String, + SempName: "msgVpnName", + TerraformName: "msg_vpn_name", + MarkdownDescription: "The name of the Message VPN.", + Identifying: true, + Required: true, + ReadOnly: true, + RequiresReplace: true, + Type: types.StringType, + TerraformType: tftypes.String, + Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, + StringValidators: []validator.String{ + stringvalidator.LengthBetween(1, 32), + stringvalidator.RegexMatches(regexp.MustCompile("^[^*?]+$"), ""), + }, + }, + { + BaseType: broker.Int64, + SempName: "port", + TerraformName: "port", + MarkdownDescription: "The port to connect to on the proxy host. Changes to this attribute are synchronized to HA mates via config-sync. The default value is `0`.", + Type: types.Int64Type, + TerraformType: tftypes.Number, + Converter: broker.IntegerConverter{}, + Int64Validators: []validator.Int64{ + int64validator.Between(0, 65535), + }, + Default: 0, + }, + { + BaseType: broker.String, + SempName: "proxyName", + TerraformName: "proxy_name", + MarkdownDescription: "The name of the proxy.", + Identifying: true, + Required: true, + RequiresReplace: true, + Type: types.StringType, + TerraformType: tftypes.String, + Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, + StringValidators: []validator.String{ + stringvalidator.LengthBetween(1, 32), + stringvalidator.RegexMatches(regexp.MustCompile("^[^#*? ]([^*?]*[^*? ])?$"), ""), + }, + }, + { + BaseType: broker.String, + SempName: "proxyType", + TerraformName: "proxy_type", + MarkdownDescription: "The type of proxy. Changes to this attribute are synchronized to HA mates via config-sync. The default value is `\"direct\"`. The allowed values and their meaning are:\n\n
\n\"direct\" - Direct connection (no proxy).\n\"http\" - HTTP proxy.\n
\n", + Type: types.StringType, + TerraformType: tftypes.String, + Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, + StringValidators: []validator.String{ + stringvalidator.OneOf("direct", "http"), + }, + Default: "direct", + }, + }, + } + broker.RegisterResource(info) + broker.RegisterDataSource(info) +} diff --git a/internal/broker/generated/MsgVpnQueue.go b/internal/broker/generated/MsgVpnQueue.go index 4a32c2b..192c731 100644 --- a/internal/broker/generated/MsgVpnQueue.go +++ b/internal/broker/generated/MsgVpnQueue.go @@ -30,16 +30,25 @@ import ( func init() { info := broker.EntityInputs{ TerraformName: "msg_vpn_queue", - MarkdownDescription: "A Queue acts as both a destination that clients can publish messages to, and as an endpoint that clients can bind consumers to and consume messages from.\n\n\nAttribute|Identifying|Write-Only|Deprecated|Opaque\n:---|:---:|:---:|:---:|:---:\nmsg_vpn_name|x|||\nqueue_name|x|||\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"vpn/read-only\" is required to perform this operation.\n\nThis has been available since 2.0.", + MarkdownDescription: "A Queue acts as both a destination that clients can publish messages to, and as an endpoint that clients can bind consumers to and consume messages from.\n\n\nAttribute|Identifying\n:---|:---:\nmsg_vpn_name|x\nqueue_name|x\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"vpn/read-only\" is required to perform this operation.\n\nThis has been available since SEMP API version 2.0.", ObjectType: broker.StandardObject, PathTemplate: "/msgVpns/{msgVpnName}/queues/{queueName}", Version: 0, Attributes: []*broker.AttributeInfo{ + { + BaseType: broker.String, + SempName: "id", + TerraformName: "id", + Type: types.StringType, + TerraformType: tftypes.String, + Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, + Default: "", + }, { BaseType: broker.String, SempName: "accessType", TerraformName: "access_type", - MarkdownDescription: "The access type for delivering messages to consumer flows bound to the Queue. Modifying this attribute while the object (or the relevant part of the object) is administratively enabled may be service impacting as egress_enabled will be temporarily set to false to apply the change. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `\"exclusive\"`. The allowed values and their meaning are:\n\n
\n\"exclusive\" - Exclusive delivery of messages to the first bound consumer flow.\n\"non-exclusive\" - Non-exclusive delivery of messages to all bound consumer flows in a round-robin fashion.\n
\n", + MarkdownDescription: "The access type for delivering messages to consumer flows bound to the Queue. Modifying this attribute while the object (or the relevant part of the object) is administratively enabled may be service impacting as egress_enabled will be temporarily set to false to apply the change. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `\"exclusive\"`. The allowed values and their meaning are:\n\n
\n\"exclusive\" - Exclusive delivery of messages to the first bound consumer flow.\n\"non-exclusive\" - Non-exclusive delivery of messages to bound consumer flows in a round-robin (if partition count is zero) or partitioned (if partition count is non-zero) fashion.\n
\n", Type: types.StringType, TerraformType: tftypes.String, Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, @@ -52,7 +61,7 @@ func init() { BaseType: broker.Bool, SempName: "consumerAckPropagationEnabled", TerraformName: "consumer_ack_propagation_enabled", - MarkdownDescription: "Enable or disable the propagation of consumer acknowledgements (ACKs) received on the active replication Message VPN to the standby replication Message VPN. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `true`.", + MarkdownDescription: "Enable or disable the propagation of consumer acknowledgments (ACKs) received on the active replication Message VPN to the standby replication Message VPN. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `true`.", Type: types.BoolType, TerraformType: tftypes.Bool, Converter: broker.SimpleConverter[bool]{TerraformType: tftypes.Bool}, @@ -76,7 +85,7 @@ func init() { BaseType: broker.Bool, SempName: "deliveryCountEnabled", TerraformName: "delivery_count_enabled", - MarkdownDescription: "Enable or disable the ability for client applications to query the message delivery count of messages received from the Queue. This is a controlled availability feature. Please contact support to find out if this feature is supported for your use case. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `false`. Available since 2.19.", + MarkdownDescription: "Enable or disable the ability for client applications to query the message delivery count of messages received from the Queue. This is a controlled availability feature. Please contact support to find out if this feature is supported for your use case. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `false`. Available since SEMP API version 2.19.", Type: types.BoolType, TerraformType: tftypes.Bool, Converter: broker.SimpleConverter[bool]{TerraformType: tftypes.Bool}, @@ -86,7 +95,7 @@ func init() { BaseType: broker.Int64, SempName: "deliveryDelay", TerraformName: "delivery_delay", - MarkdownDescription: "The delay, in seconds, to apply to messages arriving on the Queue before the messages are eligible for delivery. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `0`. Available since 2.22.", + MarkdownDescription: "The delay, in seconds, to apply to messages arriving on the Queue before the messages are eligible for delivery. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `0`. Available since SEMP API version 2.22.", Type: types.Int64Type, TerraformType: tftypes.Number, Converter: broker.IntegerConverter{}, @@ -131,6 +140,7 @@ func init() { path.MatchRelative().AtParent().AtName("set_value"), ), }, + Default: 60, }, { BaseType: broker.Int64, @@ -173,6 +183,7 @@ func init() { path.MatchRelative().AtParent().AtName("set_value"), ), }, + Default: 80, }, { BaseType: broker.Int64, @@ -317,6 +328,7 @@ func init() { path.MatchRelative().AtParent().AtName("set_value"), ), }, + Default: 60, }, { BaseType: broker.Int64, @@ -359,6 +371,7 @@ func init() { path.MatchRelative().AtParent().AtName("set_value"), ), }, + Default: 80, }, { BaseType: broker.Int64, @@ -501,6 +514,45 @@ func init() { }, Default: "", }, + { + BaseType: broker.Int64, + SempName: "partitionCount", + TerraformName: "partition_count", + MarkdownDescription: "The count of partitions of the queue. Only relevant for queues with an access type of non-exclusive. When zero, bound clients receive messages round-robin. Otherwise, bound clients receive messages from individually assigned partitions. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `0`. Available since SEMP API version 2.35.", + Type: types.Int64Type, + TerraformType: tftypes.Number, + Converter: broker.IntegerConverter{}, + Int64Validators: []validator.Int64{ + int64validator.Between(0, 1000), + }, + Default: 0, + }, + { + BaseType: broker.Int64, + SempName: "partitionRebalanceDelay", + TerraformName: "partition_rebalance_delay", + MarkdownDescription: "The delay (in seconds) before a partition rebalance is started once needed. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `5`. Available since SEMP API version 2.35.", + Type: types.Int64Type, + TerraformType: tftypes.Number, + Converter: broker.IntegerConverter{}, + Int64Validators: []validator.Int64{ + int64validator.Between(0, 4294967295), + }, + Default: 5, + }, + { + BaseType: broker.Int64, + SempName: "partitionRebalanceMaxHandoffTime", + TerraformName: "partition_rebalance_max_handoff_time", + MarkdownDescription: "The maximum time (in seconds) to wait before handing off a partition while rebalancing. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `3`. Available since SEMP API version 2.35.", + Type: types.Int64Type, + TerraformType: tftypes.Number, + Converter: broker.IntegerConverter{}, + Int64Validators: []validator.Int64{ + int64validator.Between(0, 4294967295), + }, + Default: 3, + }, { BaseType: broker.String, SempName: "permission", @@ -534,7 +586,7 @@ func init() { BaseType: broker.Bool, SempName: "redeliveryDelayEnabled", TerraformName: "redelivery_delay_enabled", - MarkdownDescription: "Enable or disable a message redelivery delay. When false, messages are redelivered as soon as possible. When true, messages are redelivered according to the initial, max and multiplier. This should only be enabled when redelivery is enabled. Modifying this attribute while the object (or the relevant part of the object) is administratively enabled may be service impacting as egress_enabled will be temporarily set to false to apply the change. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `false`. Available since 2.33.", + MarkdownDescription: "Enable or disable a message redelivery delay. When false, messages are redelivered as soon as possible. When true, messages are redelivered according to the initial, max and multiplier. This should only be enabled when redelivery is enabled. Modifying this attribute while the object (or the relevant part of the object) is administratively enabled may be service impacting as egress_enabled will be temporarily set to false to apply the change. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `false`. Available since SEMP API version 2.33.", Type: types.BoolType, TerraformType: tftypes.Bool, Converter: broker.SimpleConverter[bool]{TerraformType: tftypes.Bool}, @@ -544,7 +596,7 @@ func init() { BaseType: broker.Int64, SempName: "redeliveryDelayInitialInterval", TerraformName: "redelivery_delay_initial_interval", - MarkdownDescription: "The delay to be used between the first 2 redelivery attempts. This value is in milliseconds. Modifying this attribute while the object (or the relevant part of the object) is administratively enabled may be service impacting as egress_enabled will be temporarily set to false to apply the change. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `1000`. Available since 2.33.", + MarkdownDescription: "The delay to be used between the first 2 redelivery attempts. This value is in milliseconds. Modifying this attribute while the object (or the relevant part of the object) is administratively enabled may be service impacting as egress_enabled will be temporarily set to false to apply the change. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `1000`. Available since SEMP API version 2.33.", Type: types.Int64Type, TerraformType: tftypes.Number, Converter: broker.IntegerConverter{}, @@ -557,7 +609,7 @@ func init() { BaseType: broker.Int64, SempName: "redeliveryDelayMaxInterval", TerraformName: "redelivery_delay_max_interval", - MarkdownDescription: "The maximum delay to be used between any 2 redelivery attempts. This value is in milliseconds. Due to technical limitations, some redelivery attempt delays may slightly exceed this value. Modifying this attribute while the object (or the relevant part of the object) is administratively enabled may be service impacting as egress_enabled will be temporarily set to false to apply the change. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `64000`. Available since 2.33.", + MarkdownDescription: "The maximum delay to be used between any 2 redelivery attempts. This value is in milliseconds. Due to technical limitations, some redelivery attempt delays may slightly exceed this value. Modifying this attribute while the object (or the relevant part of the object) is administratively enabled may be service impacting as egress_enabled will be temporarily set to false to apply the change. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `64000`. Available since SEMP API version 2.33.", Type: types.Int64Type, TerraformType: tftypes.Number, Converter: broker.IntegerConverter{}, @@ -570,7 +622,7 @@ func init() { BaseType: broker.Int64, SempName: "redeliveryDelayMultiplier", TerraformName: "redelivery_delay_multiplier", - MarkdownDescription: "The amount each delay interval is multiplied by after each failed delivery attempt. This number is in a fixed-point decimal format in which you must divide by 100 to get the floating point value. For example, a value of 125 would cause the delay to be multiplied by 1.25. Modifying this attribute while the object (or the relevant part of the object) is administratively enabled may be service impacting as egress_enabled will be temporarily set to false to apply the change. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `200`. Available since 2.33.", + MarkdownDescription: "The amount each delay interval is multiplied by after each failed delivery attempt. This number is in a fixed-point decimal format in which you must divide by 100 to get the floating point value. For example, a value of 125 would cause the delay to be multiplied by 1.25. Modifying this attribute while the object (or the relevant part of the object) is administratively enabled may be service impacting as egress_enabled will be temporarily set to false to apply the change. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `200`. Available since SEMP API version 2.33.", Type: types.Int64Type, TerraformType: tftypes.Number, Converter: broker.IntegerConverter{}, @@ -583,7 +635,7 @@ func init() { BaseType: broker.Bool, SempName: "redeliveryEnabled", TerraformName: "redelivery_enabled", - MarkdownDescription: "Enable or disable message redelivery. When enabled, the number of redelivery attempts is controlled by max_redelivery_count. When disabled, the message will never be delivered from the queue more than once. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `true`. Available since 2.18.", + MarkdownDescription: "Enable or disable message redelivery. When enabled, the number of redelivery attempts is controlled by max_redelivery_count. When disabled, the message will never be delivered from the queue more than once. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `true`. Available since SEMP API version 2.18.", Type: types.BoolType, TerraformType: tftypes.Bool, Converter: broker.SimpleConverter[bool]{TerraformType: tftypes.Bool}, @@ -616,12 +668,12 @@ func init() { BaseType: broker.String, SempName: "rejectMsgToSenderOnDiscardBehavior", TerraformName: "reject_msg_to_sender_on_discard_behavior", - MarkdownDescription: "Determines when to return negative acknowledgements (NACKs) to sending clients on message discards. Note that NACKs cause the message to not be delivered to any destination and Transacted Session commits to fail. Modifying this attribute while the object (or the relevant part of the object) is administratively enabled may be service impacting as reject_low_priority_msg_enabled will be temporarily set to false to apply the change. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `\"when-queue-enabled\"`. The allowed values and their meaning are:\n\n
\n\"always\" - Always return a negative acknowledgment (NACK) to the sending client on message discard.\n\"when-queue-enabled\" - Only return a negative acknowledgment (NACK) to the sending client on message discard when the Queue is enabled.\n\"never\" - Never return a negative acknowledgment (NACK) to the sending client on message discard.\n
\n", + MarkdownDescription: "Determines when to return negative acknowledgments (NACKs) to sending clients on message discards. Note that NACKs cause the message to not be delivered to any destination and Transacted Session commits to fail. Modifying this attribute while the object (or the relevant part of the object) is administratively enabled may be service impacting as reject_low_priority_msg_enabled will be temporarily set to false to apply the change. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `\"when-queue-enabled\"`. The allowed values and their meaning are:\n\n
\n\"never\" - Silently discard messages.\n\"when-queue-enabled\" - NACK each message discard back to the client, except messages that are discarded because an endpoint is administratively disabled.\n\"always\" - NACK each message discard back to the client, including messages that are discarded because an endpoint is administratively disabled.\n
\n", Type: types.StringType, TerraformType: tftypes.String, Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, StringValidators: []validator.String{ - stringvalidator.OneOf("always", "when-queue-enabled", "never"), + stringvalidator.OneOf("never", "when-queue-enabled", "always"), }, Default: "when-queue-enabled", }, @@ -629,7 +681,7 @@ func init() { BaseType: broker.Bool, SempName: "respectMsgPriorityEnabled", TerraformName: "respect_msg_priority_enabled", - MarkdownDescription: "Enable or disable the respecting of message priority. When enabled, messages contained in the Queue are delivered in priority order, from 9 (highest) to 0 (lowest). MQTT queues do not support enabling message priority. Modifying this attribute while the object (or the relevant part of the object) is administratively enabled may be service impacting as egress_enabled and ingress_enabled will be temporarily set to false to apply the change. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `false`. Available since 2.8.", + MarkdownDescription: "Enable or disable the respecting of message priority. When enabled, messages contained in the Queue are delivered in priority order, from 9 (highest) to 0 (lowest). Regardless of this setting, message priority is not respected when browsing the queue, when the queue is used by a bridge, or if the queue is partitioned. Modifying this attribute while the object (or the relevant part of the object) is administratively enabled may be service impacting as egress_enabled and ingress_enabled will be temporarily set to false to apply the change. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `false`. Available since SEMP API version 2.8.", Type: types.BoolType, TerraformType: tftypes.Bool, Converter: broker.SimpleConverter[bool]{TerraformType: tftypes.Bool}, diff --git a/internal/broker/generated/MsgVpnQueueSubscription.go b/internal/broker/generated/MsgVpnQueueSubscription.go index b4bdb1b..6a841ac 100644 --- a/internal/broker/generated/MsgVpnQueueSubscription.go +++ b/internal/broker/generated/MsgVpnQueueSubscription.go @@ -28,12 +28,21 @@ import ( func init() { info := broker.EntityInputs{ TerraformName: "msg_vpn_queue_subscription", - MarkdownDescription: "One or more Queue Subscriptions can be added to a durable queue so that Guaranteed messages published to matching topics are also delivered to and spooled by the queue.\n\n\nAttribute|Identifying|Write-Only|Deprecated|Opaque\n:---|:---:|:---:|:---:|:---:\nmsg_vpn_name|x|||\nqueue_name|x|||\nsubscription_topic|x|||\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"vpn/read-only\" is required to perform this operation.\n\nThis has been available since 2.0.", + MarkdownDescription: "One or more Queue Subscriptions can be added to a durable queue so that Guaranteed messages published to matching topics are also delivered to and spooled by the queue.\n\n\nAttribute|Identifying\n:---|:---:\nmsg_vpn_name|x\nqueue_name|x\nsubscription_topic|x\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"vpn/read-only\" is required to perform this operation.\n\nThis has been available since SEMP API version 2.0.", ObjectType: broker.ReplaceOnlyObject, PathTemplate: "/msgVpns/{msgVpnName}/queues/{queueName}/subscriptions/{subscriptionTopic}", PostPathTemplate: "/msgVpns/{msgVpnName}/queues/{queueName}/subscriptions", Version: 0, Attributes: []*broker.AttributeInfo{ + { + BaseType: broker.String, + SempName: "id", + TerraformName: "id", + Type: types.StringType, + TerraformType: tftypes.String, + Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, + Default: "", + }, { BaseType: broker.String, SempName: "msgVpnName", diff --git a/internal/broker/generated/MsgVpnQueueTemplate.go b/internal/broker/generated/MsgVpnQueueTemplate.go index c60bc77..4396a31 100644 --- a/internal/broker/generated/MsgVpnQueueTemplate.go +++ b/internal/broker/generated/MsgVpnQueueTemplate.go @@ -30,16 +30,25 @@ import ( func init() { info := broker.EntityInputs{ TerraformName: "msg_vpn_queue_template", - MarkdownDescription: "A Queue Template provides a mechanism for specifying the initial state for client created queues.\n\n\nAttribute|Identifying|Write-Only|Deprecated|Opaque\n:---|:---:|:---:|:---:|:---:\nmsg_vpn_name|x|||\nqueue_template_name|x|||\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"vpn/read-only\" is required to perform this operation.\n\nThis has been available since 2.14.", + MarkdownDescription: "A Queue Template provides a mechanism for specifying the initial state for client created queues.\n\n\nAttribute|Identifying\n:---|:---:\nmsg_vpn_name|x\nqueue_template_name|x\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"vpn/read-only\" is required to perform this operation.\n\nThis has been available since SEMP API version 2.14.", ObjectType: broker.StandardObject, PathTemplate: "/msgVpns/{msgVpnName}/queueTemplates/{queueTemplateName}", Version: 0, Attributes: []*broker.AttributeInfo{ + { + BaseType: broker.String, + SempName: "id", + TerraformName: "id", + Type: types.StringType, + TerraformType: tftypes.String, + Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, + Default: "", + }, { BaseType: broker.String, SempName: "accessType", TerraformName: "access_type", - MarkdownDescription: "The access type for delivering messages to consumer flows. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `\"exclusive\"`. The allowed values and their meaning are:\n\n
\n\"exclusive\" - Exclusive delivery of messages to the first bound consumer flow.\n\"non-exclusive\" - Non-exclusive delivery of messages to all bound consumer flows in a round-robin fashion.\n
\n", + MarkdownDescription: "The access type for delivering messages to consumer flows. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `\"exclusive\"`. The allowed values and their meaning are:\n\n
\n\"exclusive\" - Exclusive delivery of messages to the first bound consumer flow.\n\"non-exclusive\" - Non-exclusive delivery of messages to bound consumer flows in a round-robin (if partition count is zero) or partitioned (if partition count is non-zero) fashion.\n
\n", Type: types.StringType, TerraformType: tftypes.String, Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, @@ -52,7 +61,7 @@ func init() { BaseType: broker.Bool, SempName: "consumerAckPropagationEnabled", TerraformName: "consumer_ack_propagation_enabled", - MarkdownDescription: "Enable or disable the propagation of consumer acknowledgements (ACKs) received on the active replication Message VPN to the standby replication Message VPN. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `true`.", + MarkdownDescription: "Enable or disable the propagation of consumer acknowledgments (ACKs) received on the active replication Message VPN to the standby replication Message VPN. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `true`.", Type: types.BoolType, TerraformType: tftypes.Bool, Converter: broker.SimpleConverter[bool]{TerraformType: tftypes.Bool}, @@ -76,7 +85,7 @@ func init() { BaseType: broker.Int64, SempName: "deliveryDelay", TerraformName: "delivery_delay", - MarkdownDescription: "The delay, in seconds, to apply to messages arriving on the Queue before the messages are eligible for delivery. This attribute does not apply to MQTT queues created from this template, but it may apply in future releases. Therefore, to maintain forward compatibility, do not set this value on templates that might be used for MQTT queues. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `0`. Available since 2.22.", + MarkdownDescription: "The delay, in seconds, to apply to messages arriving on the Queue before the messages are eligible for delivery. This attribute does not apply to MQTT queues created from this template, but it may apply in future releases. Therefore, to maintain forward compatibility, do not set this value on templates that might be used for MQTT queues. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `0`. Available since SEMP API version 2.22.", Type: types.Int64Type, TerraformType: tftypes.Number, Converter: broker.IntegerConverter{}, @@ -124,6 +133,7 @@ func init() { path.MatchRelative().AtParent().AtName("set_value"), ), }, + Default: 60, }, { BaseType: broker.Int64, @@ -139,7 +149,7 @@ func init() { int64validator.AlsoRequires( path.MatchRelative().AtParent().AtName("set_value"), ), - int64validator.Between(0, 4294967295), + int64validator.Between(0, 10000), int64validator.ConflictsWith( path.MatchRelative().AtParent().AtName("clear_percent"), path.MatchRelative().AtParent().AtName("set_percent"), @@ -166,6 +176,7 @@ func init() { path.MatchRelative().AtParent().AtName("set_value"), ), }, + Default: 80, }, { BaseType: broker.Int64, @@ -181,7 +192,7 @@ func init() { int64validator.AlsoRequires( path.MatchRelative().AtParent().AtName("clear_value"), ), - int64validator.Between(0, 4294967295), + int64validator.Between(0, 10000), int64validator.ConflictsWith( path.MatchRelative().AtParent().AtName("clear_percent"), path.MatchRelative().AtParent().AtName("set_percent"), @@ -232,7 +243,7 @@ func init() { int64validator.AlsoRequires( path.MatchRelative().AtParent().AtName("set_value"), ), - int64validator.Between(0, 4294967295), + int64validator.Between(0, 6000000), int64validator.ConflictsWith( path.MatchRelative().AtParent().AtName("clear_percent"), path.MatchRelative().AtParent().AtName("set_percent"), @@ -275,7 +286,7 @@ func init() { int64validator.AlsoRequires( path.MatchRelative().AtParent().AtName("clear_value"), ), - int64validator.Between(0, 4294967295), + int64validator.Between(0, 6000000), int64validator.ConflictsWith( path.MatchRelative().AtParent().AtName("clear_percent"), path.MatchRelative().AtParent().AtName("set_percent"), @@ -310,6 +321,7 @@ func init() { path.MatchRelative().AtParent().AtName("set_value"), ), }, + Default: 60, }, { BaseType: broker.Int64, @@ -352,6 +364,7 @@ func init() { path.MatchRelative().AtParent().AtName("set_value"), ), }, + Default: 80, }, { BaseType: broker.Int64, @@ -488,7 +501,7 @@ func init() { BaseType: broker.String, SempName: "queueNameFilter", TerraformName: "queue_name_filter", - MarkdownDescription: "A wildcardable pattern used to determine which Queues use settings from this Template. Two different wildcards are supported: * and >. Similar to topic filters or subscription patterns, a > matches anything (but only when used at the end), and a * matches zero or more characters but never a slash (/). A > is only a wildcard when used at the end, after a /. A * is only allowed at the end, after a slash (/). Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `\"\"`.", + MarkdownDescription: "A pattern used to determine which Queues use settings from this Template. Two different wildcards can be used in the pattern: * and >. Similar to topic filters or subscription patterns, a > matches anything (but only when used at the end), and a * matches zero or more characters but never a slash (/). A > is only a wildcard when used at the end, after a /. A * is only allowed at the end, after a slash (/). Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `\"\"`.", Type: types.StringType, TerraformType: tftypes.String, Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, @@ -517,7 +530,7 @@ func init() { BaseType: broker.Bool, SempName: "redeliveryDelayEnabled", TerraformName: "redelivery_delay_enabled", - MarkdownDescription: "Enable or disable a message redelivery delay. When false, messages are redelivered as soon as possible. When true, messages are redelivered according to the initial, max and multiplier. This should only be enabled when redelivery is enabled. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `false`. Available since 2.33.", + MarkdownDescription: "Enable or disable a message redelivery delay. When false, messages are redelivered as soon as possible. When true, messages are redelivered according to the initial, max and multiplier. This should only be enabled when redelivery is enabled. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `false`. Available since SEMP API version 2.33.", Type: types.BoolType, TerraformType: tftypes.Bool, Converter: broker.SimpleConverter[bool]{TerraformType: tftypes.Bool}, @@ -527,7 +540,7 @@ func init() { BaseType: broker.Int64, SempName: "redeliveryDelayInitialInterval", TerraformName: "redelivery_delay_initial_interval", - MarkdownDescription: "The delay to be used between the first 2 redelivery attempts. This value is in milliseconds. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `1000`. Available since 2.33.", + MarkdownDescription: "The delay to be used between the first 2 redelivery attempts. This value is in milliseconds. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `1000`. Available since SEMP API version 2.33.", Type: types.Int64Type, TerraformType: tftypes.Number, Converter: broker.IntegerConverter{}, @@ -540,7 +553,7 @@ func init() { BaseType: broker.Int64, SempName: "redeliveryDelayMaxInterval", TerraformName: "redelivery_delay_max_interval", - MarkdownDescription: "The maximum delay to be used between any 2 redelivery attempts. This value is in milliseconds. Due to technical limitations, some redelivery attempt delays may slightly exceed this value. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `64000`. Available since 2.33.", + MarkdownDescription: "The maximum delay to be used between any 2 redelivery attempts. This value is in milliseconds. Due to technical limitations, some redelivery attempt delays may slightly exceed this value. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `64000`. Available since SEMP API version 2.33.", Type: types.Int64Type, TerraformType: tftypes.Number, Converter: broker.IntegerConverter{}, @@ -553,7 +566,7 @@ func init() { BaseType: broker.Int64, SempName: "redeliveryDelayMultiplier", TerraformName: "redelivery_delay_multiplier", - MarkdownDescription: "The amount each delay interval is multiplied by after each failed delivery attempt. This number is in a fixed-point decimal format in which you must divide by 100 to get the floating point value. For example, a value of 125 would cause the delay to be multiplied by 1.25. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `200`. Available since 2.33.", + MarkdownDescription: "The amount each delay interval is multiplied by after each failed delivery attempt. This number is in a fixed-point decimal format in which you must divide by 100 to get the floating point value. For example, a value of 125 would cause the delay to be multiplied by 1.25. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `200`. Available since SEMP API version 2.33.", Type: types.Int64Type, TerraformType: tftypes.Number, Converter: broker.IntegerConverter{}, @@ -566,7 +579,7 @@ func init() { BaseType: broker.Bool, SempName: "redeliveryEnabled", TerraformName: "redelivery_enabled", - MarkdownDescription: "Enable or disable message redelivery. When enabled, the number of redelivery attempts is controlled by max_redelivery_count. When disabled, the message will never be delivered from the queue more than once. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `true`. Available since 2.18.", + MarkdownDescription: "Enable or disable message redelivery. When enabled, the number of redelivery attempts is controlled by max_redelivery_count. When disabled, the message will never be delivered from the queue more than once. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `true`. Available since SEMP API version 2.18.", Type: types.BoolType, TerraformType: tftypes.Bool, Converter: broker.SimpleConverter[bool]{TerraformType: tftypes.Bool}, @@ -599,12 +612,12 @@ func init() { BaseType: broker.String, SempName: "rejectMsgToSenderOnDiscardBehavior", TerraformName: "reject_msg_to_sender_on_discard_behavior", - MarkdownDescription: "Determines when to return negative acknowledgements (NACKs) to sending clients on message discards. Note that NACKs prevent the message from being delivered to any destination and Transacted Session commits to fail. Modifying this attribute while the object (or the relevant part of the object) is administratively enabled may be service impacting as reject_low_priority_msg_enabled will be temporarily set to false to apply the change. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `\"when-queue-enabled\"`. The allowed values and their meaning are:\n\n
\n\"always\" - Always return a negative acknowledgment (NACK) to the sending client on message discard.\n\"when-queue-enabled\" - Only return a negative acknowledgment (NACK) to the sending client on message discard when the Queue is enabled.\n\"never\" - Never return a negative acknowledgment (NACK) to the sending client on message discard.\n
\n", + MarkdownDescription: "Determines when to return negative acknowledgments (NACKs) to sending clients on message discards. Note that NACKs prevent the message from being delivered to any destination and Transacted Session commits to fail. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `\"when-queue-enabled\"`. The allowed values and their meaning are:\n\n
\n\"never\" - Silently discard messages.\n\"when-queue-enabled\" - NACK each message discard back to the client, except messages that are discarded because an endpoint is administratively disabled.\n\"always\" - NACK each message discard back to the client, including messages that are discarded because an endpoint is administratively disabled.\n
\n", Type: types.StringType, TerraformType: tftypes.String, Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, StringValidators: []validator.String{ - stringvalidator.OneOf("always", "when-queue-enabled", "never"), + stringvalidator.OneOf("never", "when-queue-enabled", "always"), }, Default: "when-queue-enabled", }, diff --git a/internal/broker/generated/MsgVpnReplayLog.go b/internal/broker/generated/MsgVpnReplayLog.go index 0dc3326..dbc5d47 100644 --- a/internal/broker/generated/MsgVpnReplayLog.go +++ b/internal/broker/generated/MsgVpnReplayLog.go @@ -29,11 +29,20 @@ import ( func init() { info := broker.EntityInputs{ TerraformName: "msg_vpn_replay_log", - MarkdownDescription: "When the Message Replay feature is enabled, message brokers store persistent messages in a Replay Log. These messages are kept until the log is full, after which the oldest messages are removed to free up space for new messages.\n\n\nAttribute|Identifying|Write-Only|Deprecated|Opaque\n:---|:---:|:---:|:---:|:---:\nmsg_vpn_name|x|||\nreplay_log_name|x|||\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"vpn/read-only\" is required to perform this operation.\n\nThis has been available since 2.10.", + MarkdownDescription: "When the Message Replay feature is enabled, message brokers store persistent messages in a Replay Log. These messages are kept until the log is full, after which the oldest messages are removed to free up space for new messages.\n\n\nAttribute|Identifying\n:---|:---:\nmsg_vpn_name|x\nreplay_log_name|x\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"vpn/read-only\" is required to perform this operation.\n\nThis has been available since SEMP API version 2.10.", ObjectType: broker.StandardObject, PathTemplate: "/msgVpns/{msgVpnName}/replayLogs/{replayLogName}", Version: 0, Attributes: []*broker.AttributeInfo{ + { + BaseType: broker.String, + SempName: "id", + TerraformName: "id", + Type: types.StringType, + TerraformType: tftypes.String, + Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, + Default: "", + }, { BaseType: broker.Bool, SempName: "egressEnabled", @@ -104,7 +113,7 @@ func init() { BaseType: broker.Bool, SempName: "topicFilterEnabled", TerraformName: "topic_filter_enabled", - MarkdownDescription: "Enable or disable topic filtering for the Replay Log. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `false`. Available since 2.27.", + MarkdownDescription: "Enable or disable topic filtering for the Replay Log. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `false`. Available since SEMP API version 2.27.", Type: types.BoolType, TerraformType: tftypes.Bool, Converter: broker.SimpleConverter[bool]{TerraformType: tftypes.Bool}, diff --git a/internal/broker/generated/MsgVpnReplayLogTopicFilterSubscription.go b/internal/broker/generated/MsgVpnReplayLogTopicFilterSubscription.go index a16cef6..7faed9f 100644 --- a/internal/broker/generated/MsgVpnReplayLogTopicFilterSubscription.go +++ b/internal/broker/generated/MsgVpnReplayLogTopicFilterSubscription.go @@ -28,12 +28,21 @@ import ( func init() { info := broker.EntityInputs{ TerraformName: "msg_vpn_replay_log_topic_filter_subscription", - MarkdownDescription: "One or more Subscriptions can be added to a replay-log so that only guaranteed messages published to matching topics are stored in the Replay Log.\n\n\nAttribute|Identifying|Write-Only|Deprecated|Opaque\n:---|:---:|:---:|:---:|:---:\nmsg_vpn_name|x|||\nreplay_log_name|x|||\ntopic_filter_subscription|x|||\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"vpn/read-only\" is required to perform this operation.\n\nThis has been available since 2.27.", + MarkdownDescription: "One or more Subscriptions can be added to a replay-log so that only guaranteed messages published to matching topics are stored in the Replay Log.\n\n\nAttribute|Identifying\n:---|:---:\nmsg_vpn_name|x\nreplay_log_name|x\ntopic_filter_subscription|x\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"vpn/read-only\" is required to perform this operation.\n\nThis has been available since SEMP API version 2.27.", ObjectType: broker.ReplaceOnlyObject, PathTemplate: "/msgVpns/{msgVpnName}/replayLogs/{replayLogName}/topicFilterSubscriptions/{topicFilterSubscription}", PostPathTemplate: "/msgVpns/{msgVpnName}/replayLogs/{replayLogName}/topicFilterSubscriptions", Version: 0, Attributes: []*broker.AttributeInfo{ + { + BaseType: broker.String, + SempName: "id", + TerraformName: "id", + Type: types.StringType, + TerraformType: tftypes.String, + Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, + Default: "", + }, { BaseType: broker.String, SempName: "msgVpnName", diff --git a/internal/broker/generated/MsgVpnReplicatedTopic.go b/internal/broker/generated/MsgVpnReplicatedTopic.go index 9ed5bcb..3ab650f 100644 --- a/internal/broker/generated/MsgVpnReplicatedTopic.go +++ b/internal/broker/generated/MsgVpnReplicatedTopic.go @@ -28,11 +28,20 @@ import ( func init() { info := broker.EntityInputs{ TerraformName: "msg_vpn_replicated_topic", - MarkdownDescription: "To indicate which messages should be replicated between the active and standby site, a Replicated Topic subscription must be configured on a Message VPN. If a published message matches both a replicated topic and an endpoint on the active site, then the message is replicated to the standby site.\n\n\nAttribute|Identifying|Write-Only|Deprecated|Opaque\n:---|:---:|:---:|:---:|:---:\nmsg_vpn_name|x|||\nreplicated_topic|x|||\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"vpn/read-only\" is required to perform this operation.\n\nThis has been available since 2.4.", + MarkdownDescription: "To indicate which messages should be replicated between the active and standby site, a Replicated Topic subscription must be configured on a Message VPN. If a published message matches both a replicated topic and an endpoint on the active site, then the message is replicated to the standby site.\n\n\nAttribute|Identifying\n:---|:---:\nmsg_vpn_name|x\nreplicated_topic|x\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"vpn/read-only\" is required to perform this operation.\n\nThis has been available since SEMP API version 2.4.", ObjectType: broker.StandardObject, PathTemplate: "/msgVpns/{msgVpnName}/replicatedTopics/{replicatedTopic}", Version: 0, Attributes: []*broker.AttributeInfo{ + { + BaseType: broker.String, + SempName: "id", + TerraformName: "id", + Type: types.StringType, + TerraformType: tftypes.String, + Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, + Default: "", + }, { BaseType: broker.String, SempName: "msgVpnName", diff --git a/internal/broker/generated/MsgVpnRestDeliveryPoint.go b/internal/broker/generated/MsgVpnRestDeliveryPoint.go index 0b4b438..b17ef51 100644 --- a/internal/broker/generated/MsgVpnRestDeliveryPoint.go +++ b/internal/broker/generated/MsgVpnRestDeliveryPoint.go @@ -28,11 +28,20 @@ import ( func init() { info := broker.EntityInputs{ TerraformName: "msg_vpn_rest_delivery_point", - MarkdownDescription: "A REST Delivery Point manages delivery of messages from queues to a named list of REST Consumers.\n\n\nAttribute|Identifying|Write-Only|Deprecated|Opaque\n:---|:---:|:---:|:---:|:---:\nmsg_vpn_name|x|||\nrest_delivery_point_name|x|||\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"vpn/read-only\" is required to perform this operation.\n\nThis has been available since 2.0.", + MarkdownDescription: "A REST Delivery Point manages delivery of messages from queues to a named list of REST Consumers.\n\n\nAttribute|Identifying\n:---|:---:\nmsg_vpn_name|x\nrest_delivery_point_name|x\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"vpn/read-only\" is required to perform this operation.\n\nThis has been available since SEMP API version 2.0.", ObjectType: broker.StandardObject, PathTemplate: "/msgVpns/{msgVpnName}/restDeliveryPoints/{restDeliveryPointName}", Version: 0, Attributes: []*broker.AttributeInfo{ + { + BaseType: broker.String, + SempName: "id", + TerraformName: "id", + Type: types.StringType, + TerraformType: tftypes.String, + Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, + Default: "", + }, { BaseType: broker.String, SempName: "clientProfileName", @@ -93,7 +102,7 @@ func init() { BaseType: broker.String, SempName: "service", TerraformName: "service", - MarkdownDescription: "The name of the service that this REST Delivery Point connects to. Internally the broker does not use this value; it is informational only. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `\"\"`. Available since 2.19.", + MarkdownDescription: "The name of the service that this REST Delivery Point connects to. Internally the broker does not use this value; it is informational only. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `\"\"`. Available since SEMP API version 2.19.", Type: types.StringType, TerraformType: tftypes.String, Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, @@ -106,7 +115,7 @@ func init() { BaseType: broker.String, SempName: "vendor", TerraformName: "vendor", - MarkdownDescription: "The name of the vendor that this REST Delivery Point connects to. Internally the broker does not use this value; it is informational only. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `\"\"`. Available since 2.19.", + MarkdownDescription: "The name of the vendor that this REST Delivery Point connects to. Internally the broker does not use this value; it is informational only. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `\"\"`. Available since SEMP API version 2.19.", Type: types.StringType, TerraformType: tftypes.String, Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, diff --git a/internal/broker/generated/MsgVpnRestDeliveryPointQueueBinding.go b/internal/broker/generated/MsgVpnRestDeliveryPointQueueBinding.go index 1abf3af..a2e3c73 100644 --- a/internal/broker/generated/MsgVpnRestDeliveryPointQueueBinding.go +++ b/internal/broker/generated/MsgVpnRestDeliveryPointQueueBinding.go @@ -28,16 +28,25 @@ import ( func init() { info := broker.EntityInputs{ TerraformName: "msg_vpn_rest_delivery_point_queue_binding", - MarkdownDescription: "A Queue Binding for a REST Delivery Point attracts messages to be delivered to REST consumers. If the queue does not exist it can be created subsequently, and once the queue is operational the broker performs the queue binding. Removing the queue binding does not delete the queue itself. Similarly, removing the queue does not remove the queue binding, which fails until the queue is recreated or the queue binding is deleted.\n\n\nAttribute|Identifying|Write-Only|Deprecated|Opaque\n:---|:---:|:---:|:---:|:---:\nmsg_vpn_name|x|||\nqueue_binding_name|x|||\nrest_delivery_point_name|x|||\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"vpn/read-only\" is required to perform this operation.\n\nThis has been available since 2.0.", + MarkdownDescription: "A Queue Binding for a REST Delivery Point attracts messages to be delivered to REST consumers. If the queue does not exist it can be created subsequently, and once the queue is operational the broker performs the queue binding. Removing the queue binding does not delete the queue itself. Similarly, removing the queue does not remove the queue binding, which fails until the queue is recreated or the queue binding is deleted.\n\n\nAttribute|Identifying\n:---|:---:\nmsg_vpn_name|x\nqueue_binding_name|x\nrest_delivery_point_name|x\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"vpn/read-only\" is required to perform this operation.\n\nThis has been available since SEMP API version 2.0.", ObjectType: broker.StandardObject, PathTemplate: "/msgVpns/{msgVpnName}/restDeliveryPoints/{restDeliveryPointName}/queueBindings/{queueBindingName}", Version: 0, Attributes: []*broker.AttributeInfo{ + { + BaseType: broker.String, + SempName: "id", + TerraformName: "id", + Type: types.StringType, + TerraformType: tftypes.String, + Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, + Default: "", + }, { BaseType: broker.Bool, SempName: "gatewayReplaceTargetAuthorityEnabled", TerraformName: "gateway_replace_target_authority_enabled", - MarkdownDescription: "Enable or disable whether the authority for the request-target is replaced with that configured for the REST Consumer remote. When enabled, the broker sends HTTP requests in absolute-form, with the request-target's authority taken from the REST Consumer's remote host and port configuration. When disabled, the broker sends HTTP requests whose request-target matches that of the original request message, including whether to use absolute-form or origin-form. This configuration is applicable only when the Message VPN is in REST gateway mode. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `false`. Available since 2.8.", + MarkdownDescription: "Enable or disable whether the authority for the request-target is replaced with that configured for the REST Consumer remote. When enabled, the broker sends HTTP requests in absolute-form, with the request-target's authority taken from the REST Consumer's remote host and port configuration. When disabled, the broker sends HTTP requests whose request-target matches that of the original request message, including whether to use absolute-form or origin-form. This configuration is applicable only when the Message VPN is in REST gateway mode. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `false`. Available since SEMP API version 2.8.", Type: types.BoolType, TerraformType: tftypes.Bool, Converter: broker.SimpleConverter[bool]{TerraformType: tftypes.Bool}, @@ -93,7 +102,7 @@ func init() { BaseType: broker.String, SempName: "requestTargetEvaluation", TerraformName: "request_target_evaluation", - MarkdownDescription: "The type of evaluation to perform on the request target. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `\"none\"`. The allowed values and their meaning are:\n\n
\n\"none\" - Do not evaluate substitution expressions on the request target.\n\"substitution-expressions\" - Evaluate substitution expressions on the request target.\n
\n Available since 2.23.", + MarkdownDescription: "The type of evaluation to perform on the request target. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `\"none\"`. The allowed values and their meaning are:\n\n
\n\"none\" - Do not evaluate substitution expressions on the request target.\n\"substitution-expressions\" - Evaluate substitution expressions on the request target.\n
\n Available since SEMP API version 2.23.", Type: types.StringType, TerraformType: tftypes.String, Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, diff --git a/internal/broker/generated/MsgVpnRestDeliveryPointQueueBindingProtectedRequestHeader.go b/internal/broker/generated/MsgVpnRestDeliveryPointQueueBindingProtectedRequestHeader.go index 3d2a759..6113242 100644 --- a/internal/broker/generated/MsgVpnRestDeliveryPointQueueBindingProtectedRequestHeader.go +++ b/internal/broker/generated/MsgVpnRestDeliveryPointQueueBindingProtectedRequestHeader.go @@ -28,11 +28,20 @@ import ( func init() { info := broker.EntityInputs{ TerraformName: "msg_vpn_rest_delivery_point_queue_binding_protected_request_header", - MarkdownDescription: "A protected request header to be added to the HTTP request. Unlike a non-protected request header, the header value cannot be displayed after it is set.\n\n\nAttribute|Identifying|Write-Only|Deprecated|Opaque\n:---|:---:|:---:|:---:|:---:\nheader_name|x|||\nheader_value||x||x\nmsg_vpn_name|x|||\nqueue_binding_name|x|||\nrest_delivery_point_name|x|||\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"vpn/read-only\" is required to perform this operation.\n\nThis has been available since 2.30.", + MarkdownDescription: "A protected request header to be added to the HTTP request. Unlike a non-protected request header, the header value cannot be displayed after it is set.\n\n\nAttribute|Identifying|Write-Only|Opaque\n:---|:---:|:---:|:---:\nheader_name|x||\nheader_value||x|x\nmsg_vpn_name|x||\nqueue_binding_name|x||\nrest_delivery_point_name|x||\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"vpn/read-only\" is required to perform this operation.\n\nThis has been available since SEMP API version 2.30.", ObjectType: broker.StandardObject, PathTemplate: "/msgVpns/{msgVpnName}/restDeliveryPoints/{restDeliveryPointName}/queueBindings/{queueBindingName}/protectedRequestHeaders/{headerName}", Version: 0, Attributes: []*broker.AttributeInfo{ + { + BaseType: broker.String, + SempName: "id", + TerraformName: "id", + Type: types.StringType, + TerraformType: tftypes.String, + Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, + Default: "", + }, { BaseType: broker.String, SempName: "headerName", @@ -53,7 +62,7 @@ func init() { BaseType: broker.String, SempName: "headerValue", TerraformName: "header_value", - MarkdownDescription: "The value of the protected HTTP request header. Unlike a non-protected request header, this value cannot be displayed after it is set, and does not support substitution expressions. This attribute is absent from a GET and not updated when absent in a PUT, subject to the exceptions in note 4. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `\"\"`.", + MarkdownDescription: "The value of the protected HTTP request header. Unlike a non-protected request header, this value cannot be displayed after it is set, and does not support substitution expressions. This attribute is absent from a GET and not updated when absent in a PUT, subject to the exceptions in note 4 (refer to the `Notes` section in the SEMP API `Config reference`). Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `\"\"`.", Sensitive: true, Type: types.StringType, TerraformType: tftypes.String, diff --git a/internal/broker/generated/MsgVpnRestDeliveryPointQueueBindingRequestHeader.go b/internal/broker/generated/MsgVpnRestDeliveryPointQueueBindingRequestHeader.go index 1a7f62a..66f1505 100644 --- a/internal/broker/generated/MsgVpnRestDeliveryPointQueueBindingRequestHeader.go +++ b/internal/broker/generated/MsgVpnRestDeliveryPointQueueBindingRequestHeader.go @@ -28,11 +28,20 @@ import ( func init() { info := broker.EntityInputs{ TerraformName: "msg_vpn_rest_delivery_point_queue_binding_request_header", - MarkdownDescription: "A request header to be added to the HTTP request.\n\n\nAttribute|Identifying|Write-Only|Deprecated|Opaque\n:---|:---:|:---:|:---:|:---:\nheader_name|x|||\nmsg_vpn_name|x|||\nqueue_binding_name|x|||\nrest_delivery_point_name|x|||\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"vpn/read-only\" is required to perform this operation.\n\nThis has been available since 2.23.", + MarkdownDescription: "A request header to be added to the HTTP request.\n\n\nAttribute|Identifying\n:---|:---:\nheader_name|x\nmsg_vpn_name|x\nqueue_binding_name|x\nrest_delivery_point_name|x\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"vpn/read-only\" is required to perform this operation.\n\nThis has been available since SEMP API version 2.23.", ObjectType: broker.StandardObject, PathTemplate: "/msgVpns/{msgVpnName}/restDeliveryPoints/{restDeliveryPointName}/queueBindings/{queueBindingName}/requestHeaders/{headerName}", Version: 0, Attributes: []*broker.AttributeInfo{ + { + BaseType: broker.String, + SempName: "id", + TerraformName: "id", + Type: types.StringType, + TerraformType: tftypes.String, + Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, + Default: "", + }, { BaseType: broker.String, SempName: "headerName", diff --git a/internal/broker/generated/MsgVpnRestDeliveryPointRestConsumer.go b/internal/broker/generated/MsgVpnRestDeliveryPointRestConsumer.go index 7081a6b..23aa464 100644 --- a/internal/broker/generated/MsgVpnRestDeliveryPointRestConsumer.go +++ b/internal/broker/generated/MsgVpnRestDeliveryPointRestConsumer.go @@ -31,16 +31,25 @@ import ( func init() { info := broker.EntityInputs{ TerraformName: "msg_vpn_rest_delivery_point_rest_consumer", - MarkdownDescription: "REST Consumer objects establish HTTP connectivity to REST consumer applications who wish to receive messages from a broker.\n\n\nAttribute|Identifying|Write-Only|Deprecated|Opaque\n:---|:---:|:---:|:---:|:---:\nauthentication_aws_secret_access_key||x||x\nauthentication_client_cert_content||x||x\nauthentication_client_cert_password||x||\nauthentication_http_basic_password||x||x\nauthentication_http_header_value||x||x\nauthentication_oauth_client_secret||x||x\nauthentication_oauth_jwt_secret_key||x||x\nmsg_vpn_name|x|||\nrest_consumer_name|x|||\nrest_delivery_point_name|x|||\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"vpn/read-only\" is required to perform this operation.\n\nThis has been available since 2.0.", + MarkdownDescription: "REST Consumer objects establish HTTP connectivity to REST consumer applications who wish to receive messages from a broker.\n\n\nAttribute|Identifying|Write-Only|Opaque\n:---|:---:|:---:|:---:\nauthentication_aws_secret_access_key||x|x\nauthentication_client_cert_content||x|x\nauthentication_client_cert_password||x|\nauthentication_http_basic_password||x|x\nauthentication_http_header_value||x|x\nauthentication_oauth_client_secret||x|x\nauthentication_oauth_jwt_secret_key||x|x\nmsg_vpn_name|x||\nrest_consumer_name|x||\nrest_delivery_point_name|x||\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"vpn/read-only\" is required to perform this operation.\n\nThis has been available since SEMP API version 2.0.", ObjectType: broker.StandardObject, PathTemplate: "/msgVpns/{msgVpnName}/restDeliveryPoints/{restDeliveryPointName}/restConsumers/{restConsumerName}", Version: 0, Attributes: []*broker.AttributeInfo{ + { + BaseType: broker.String, + SempName: "id", + TerraformName: "id", + Type: types.StringType, + TerraformType: tftypes.String, + Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, + Default: "", + }, { BaseType: broker.String, SempName: "authenticationAwsAccessKeyId", TerraformName: "authentication_aws_access_key_id", - MarkdownDescription: "The AWS access key id. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `\"\"`. Available since 2.26.", + MarkdownDescription: "The AWS access key id. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `\"\"`. Available since SEMP API version 2.26.", Type: types.StringType, TerraformType: tftypes.String, Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, @@ -53,7 +62,7 @@ func init() { BaseType: broker.String, SempName: "authenticationAwsRegion", TerraformName: "authentication_aws_region", - MarkdownDescription: "The AWS region id. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `\"\"`. Available since 2.26.", + MarkdownDescription: "The AWS region id. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `\"\"`. Available since SEMP API version 2.26.", Type: types.StringType, TerraformType: tftypes.String, Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, @@ -66,7 +75,7 @@ func init() { BaseType: broker.String, SempName: "authenticationAwsSecretAccessKey", TerraformName: "authentication_aws_secret_access_key", - MarkdownDescription: "The AWS secret access key. This attribute is absent from a GET and not updated when absent in a PUT, subject to the exceptions in note 4. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `\"\"`. Available since 2.26.", + MarkdownDescription: "The AWS secret access key. This attribute is absent from a GET and not updated when absent in a PUT, subject to the exceptions in note 4 (refer to the `Notes` section in the SEMP API `Config reference`). Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `\"\"`. Available since SEMP API version 2.26.", Sensitive: true, Type: types.StringType, TerraformType: tftypes.String, @@ -80,7 +89,7 @@ func init() { BaseType: broker.String, SempName: "authenticationAwsService", TerraformName: "authentication_aws_service", - MarkdownDescription: "The AWS service id. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `\"\"`. Available since 2.26.", + MarkdownDescription: "The AWS service id. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `\"\"`. Available since SEMP API version 2.26.", Type: types.StringType, TerraformType: tftypes.String, Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, @@ -93,7 +102,7 @@ func init() { BaseType: broker.String, SempName: "authenticationClientCertContent", TerraformName: "authentication_client_cert_content", - MarkdownDescription: "The PEM formatted content for the client certificate that the REST Consumer will present to the REST host. It must consist of a private key and between one and three certificates comprising the certificate trust chain. This attribute is absent from a GET and not updated when absent in a PUT, subject to the exceptions in note 4. Changing this attribute requires an HTTPS connection. Modifying this attribute while the object (or the relevant part of the object) is administratively enabled may be service impacting as enabled will be temporarily set to false to apply the change. The default value is `\"\"`. Available since 2.9.", + MarkdownDescription: "The PEM formatted content for the client certificate that the REST Consumer will present to the REST host. It must consist of a private key and between one and three certificates comprising the certificate trust chain. This attribute is absent from a GET and not updated when absent in a PUT, subject to the exceptions in note 4 (refer to the `Notes` section in the SEMP API `Config reference`). Modifying this attribute while the object (or the relevant part of the object) is administratively enabled may be service impacting as enabled will be temporarily set to false to apply the change. The default value is `\"\"`. Available since SEMP API version 2.9.", Sensitive: true, Type: types.StringType, TerraformType: tftypes.String, @@ -107,7 +116,7 @@ func init() { BaseType: broker.String, SempName: "authenticationClientCertPassword", TerraformName: "authentication_client_cert_password", - MarkdownDescription: "The password for the client certificate. This attribute is absent from a GET and not updated when absent in a PUT, subject to the exceptions in note 4. Changing this attribute requires an HTTPS connection. Modifying this attribute while the object (or the relevant part of the object) is administratively enabled may be service impacting as enabled will be temporarily set to false to apply the change. The default value is `\"\"`. Available since 2.9.", + MarkdownDescription: "The password for the client certificate. This attribute is absent from a GET and not updated when absent in a PUT, subject to the exceptions in note 4 (refer to the `Notes` section in the SEMP API `Config reference`). Modifying this attribute while the object (or the relevant part of the object) is administratively enabled may be service impacting as enabled will be temporarily set to false to apply the change. The default value is `\"\"`. Available since SEMP API version 2.9.", Sensitive: true, Requires: []string{"authentication_client_cert_content"}, Type: types.StringType, @@ -117,7 +126,7 @@ func init() { stringvalidator.AlsoRequires( path.MatchRelative().AtParent().AtName("authentication_client_cert_content"), ), - stringvalidator.LengthBetween(0, 32768), + stringvalidator.LengthBetween(0, 512), }, Default: "", }, @@ -125,7 +134,7 @@ func init() { BaseType: broker.String, SempName: "authenticationHttpBasicPassword", TerraformName: "authentication_http_basic_password", - MarkdownDescription: "The password for the username. This attribute is absent from a GET and not updated when absent in a PUT, subject to the exceptions in note 4. Modifying this attribute while the object (or the relevant part of the object) is administratively enabled may be service impacting as enabled will be temporarily set to false to apply the change. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `\"\"`.", + MarkdownDescription: "The password for the username. This attribute is absent from a GET and not updated when absent in a PUT, subject to the exceptions in note 4 (refer to the `Notes` section in the SEMP API `Config reference`). Modifying this attribute while the object (or the relevant part of the object) is administratively enabled may be service impacting as enabled will be temporarily set to false to apply the change. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `\"\"`.", Sensitive: true, Requires: []string{"authentication_http_basic_username"}, Type: types.StringType, @@ -160,7 +169,7 @@ func init() { BaseType: broker.String, SempName: "authenticationHttpHeaderName", TerraformName: "authentication_http_header_name", - MarkdownDescription: "The authentication header name. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `\"\"`. Available since 2.15.", + MarkdownDescription: "The authentication header name. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `\"\"`. Available since SEMP API version 2.15.", Type: types.StringType, TerraformType: tftypes.String, Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, @@ -174,7 +183,7 @@ func init() { BaseType: broker.String, SempName: "authenticationHttpHeaderValue", TerraformName: "authentication_http_header_value", - MarkdownDescription: "The authentication header value. This attribute is absent from a GET and not updated when absent in a PUT, subject to the exceptions in note 4. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `\"\"`. Available since 2.15.", + MarkdownDescription: "The authentication header value. This attribute is absent from a GET and not updated when absent in a PUT, subject to the exceptions in note 4 (refer to the `Notes` section in the SEMP API `Config reference`). Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `\"\"`. Available since SEMP API version 2.15.", Sensitive: true, Type: types.StringType, TerraformType: tftypes.String, @@ -189,7 +198,7 @@ func init() { BaseType: broker.String, SempName: "authenticationOauthClientId", TerraformName: "authentication_oauth_client_id", - MarkdownDescription: "The OAuth client ID. Modifying this attribute while the object (or the relevant part of the object) is administratively enabled may be service impacting as enabled will be temporarily set to false to apply the change. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `\"\"`. Available since 2.19.", + MarkdownDescription: "The OAuth client ID. Modifying this attribute while the object (or the relevant part of the object) is administratively enabled may be service impacting as enabled will be temporarily set to false to apply the change. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `\"\"`. Available since SEMP API version 2.19.", Type: types.StringType, TerraformType: tftypes.String, Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, @@ -202,7 +211,7 @@ func init() { BaseType: broker.String, SempName: "authenticationOauthClientScope", TerraformName: "authentication_oauth_client_scope", - MarkdownDescription: "The OAuth scope. Modifying this attribute while the object (or the relevant part of the object) is administratively enabled may be service impacting as enabled will be temporarily set to false to apply the change. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `\"\"`. Available since 2.19.", + MarkdownDescription: "The OAuth scope. Modifying this attribute while the object (or the relevant part of the object) is administratively enabled may be service impacting as enabled will be temporarily set to false to apply the change. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `\"\"`. Available since SEMP API version 2.19.", Type: types.StringType, TerraformType: tftypes.String, Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, @@ -215,7 +224,7 @@ func init() { BaseType: broker.String, SempName: "authenticationOauthClientSecret", TerraformName: "authentication_oauth_client_secret", - MarkdownDescription: "The OAuth client secret. This attribute is absent from a GET and not updated when absent in a PUT, subject to the exceptions in note 4. Modifying this attribute while the object (or the relevant part of the object) is administratively enabled may be service impacting as enabled will be temporarily set to false to apply the change. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `\"\"`. Available since 2.19.", + MarkdownDescription: "The OAuth client secret. This attribute is absent from a GET and not updated when absent in a PUT, subject to the exceptions in note 4 (refer to the `Notes` section in the SEMP API `Config reference`). Modifying this attribute while the object (or the relevant part of the object) is administratively enabled may be service impacting as enabled will be temporarily set to false to apply the change. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `\"\"`. Available since SEMP API version 2.19.", Sensitive: true, Type: types.StringType, TerraformType: tftypes.String, @@ -229,7 +238,7 @@ func init() { BaseType: broker.String, SempName: "authenticationOauthClientTokenEndpoint", TerraformName: "authentication_oauth_client_token_endpoint", - MarkdownDescription: "The OAuth token endpoint URL that the REST Consumer will use to request a token for login to the REST host. Must begin with \"https\". Modifying this attribute while the object (or the relevant part of the object) is administratively enabled may be service impacting as enabled will be temporarily set to false to apply the change. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `\"\"`. Available since 2.19.", + MarkdownDescription: "The OAuth token endpoint URL that the REST Consumer will use to request a token for login to the REST host. Must begin with \"https\". Modifying this attribute while the object (or the relevant part of the object) is administratively enabled may be service impacting as enabled will be temporarily set to false to apply the change. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `\"\"`. Available since SEMP API version 2.19.", Type: types.StringType, TerraformType: tftypes.String, Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, @@ -242,7 +251,7 @@ func init() { BaseType: broker.Int64, SempName: "authenticationOauthClientTokenExpiryDefault", TerraformName: "authentication_oauth_client_token_expiry_default", - MarkdownDescription: "The default expiry time for a token, in seconds. Only used when the token endpoint does not return an expiry time. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. Modifying this attribute while the object (or the relevant part of the object) is administratively enabled may be service impacting as enabled will be temporarily set to false to apply the change. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `900`. Available since 2.30.", + MarkdownDescription: "The default expiry time for a token, in seconds. Only used when the token endpoint does not return an expiry time. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. Modifying this attribute while the object (or the relevant part of the object) is administratively enabled may be service impacting as enabled will be temporarily set to false to apply the change. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `900`. Available since SEMP API version 2.30.", Type: types.Int64Type, TerraformType: tftypes.Number, Converter: broker.IntegerConverter{}, @@ -255,7 +264,7 @@ func init() { BaseType: broker.String, SempName: "authenticationOauthJwtSecretKey", TerraformName: "authentication_oauth_jwt_secret_key", - MarkdownDescription: "The OAuth secret key used to sign the token request JWT. This attribute is absent from a GET and not updated when absent in a PUT, subject to the exceptions in note 4. Modifying this attribute while the object (or the relevant part of the object) is administratively enabled may be service impacting as enabled will be temporarily set to false to apply the change. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `\"\"`. Available since 2.21.", + MarkdownDescription: "The OAuth secret key used to sign the token request JWT. This attribute is absent from a GET and not updated when absent in a PUT, subject to the exceptions in note 4 (refer to the `Notes` section in the SEMP API `Config reference`). Modifying this attribute while the object (or the relevant part of the object) is administratively enabled may be service impacting as enabled will be temporarily set to false to apply the change. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `\"\"`. Available since SEMP API version 2.21.", Sensitive: true, Type: types.StringType, TerraformType: tftypes.String, @@ -269,7 +278,7 @@ func init() { BaseType: broker.String, SempName: "authenticationOauthJwtTokenEndpoint", TerraformName: "authentication_oauth_jwt_token_endpoint", - MarkdownDescription: "The OAuth token endpoint URL that the REST Consumer will use to request a token for login to the REST host. Modifying this attribute while the object (or the relevant part of the object) is administratively enabled may be service impacting as enabled will be temporarily set to false to apply the change. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `\"\"`. Available since 2.21.", + MarkdownDescription: "The OAuth token endpoint URL that the REST Consumer will use to request a token for login to the REST host. Modifying this attribute while the object (or the relevant part of the object) is administratively enabled may be service impacting as enabled will be temporarily set to false to apply the change. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `\"\"`. Available since SEMP API version 2.21.", Type: types.StringType, TerraformType: tftypes.String, Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, @@ -282,7 +291,7 @@ func init() { BaseType: broker.Int64, SempName: "authenticationOauthJwtTokenExpiryDefault", TerraformName: "authentication_oauth_jwt_token_expiry_default", - MarkdownDescription: "The default expiry time for a token, in seconds. Only used when the token endpoint does not return an expiry time. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. Modifying this attribute while the object (or the relevant part of the object) is administratively enabled may be service impacting as enabled will be temporarily set to false to apply the change. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `900`. Available since 2.30.", + MarkdownDescription: "The default expiry time for a token, in seconds. Only used when the token endpoint does not return an expiry time. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. Modifying this attribute while the object (or the relevant part of the object) is administratively enabled may be service impacting as enabled will be temporarily set to false to apply the change. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `900`. Available since SEMP API version 2.30.", Type: types.Int64Type, TerraformType: tftypes.Number, Converter: broker.IntegerConverter{}, @@ -295,7 +304,7 @@ func init() { BaseType: broker.String, SempName: "authenticationScheme", TerraformName: "authentication_scheme", - MarkdownDescription: "The authentication scheme used by the REST Consumer to login to the REST host. Modifying this attribute while the object (or the relevant part of the object) is administratively enabled may be service impacting as enabled will be temporarily set to false to apply the change. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `\"none\"`. The allowed values and their meaning are:\n\n
\n\"none\" - Login with no authentication. This may be useful for anonymous connections or when a REST Consumer does not require authentication.\n\"http-basic\" - Login with a username and optional password according to HTTP Basic authentication as per RFC2616.\n\"client-certificate\" - Login with a client TLS certificate as per RFC5246. Client certificate authentication is only available on TLS connections.\n\"http-header\" - Login with a specified HTTP header.\n\"oauth-client\" - Login with OAuth 2.0 client credentials.\n\"oauth-jwt\" - Login with OAuth (RFC 7523 JWT Profile).\n\"transparent\" - Login using the Authorization header from the message properties, if present. Transparent authentication passes along existing Authorization header metadata instead of discarding it. Note that if the message is coming from a REST producer, the REST service must be configured to forward the Authorization header.\n\"aws\" - Login using AWS Signature Version 4 authentication (AWS4-HMAC-SHA256).\n
\n", + MarkdownDescription: "The authentication scheme used by the REST Consumer to login to the REST host. Modifying this attribute while the object (or the relevant part of the object) is administratively enabled may be service impacting as enabled will be temporarily set to false to apply the change. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `\"none\"`. The allowed values and their meaning are:\n\n
\n\"none\" - Login with no authentication. This may be useful for anonymous connections or when a REST Consumer does not require authentication.\n\"http-basic\" - Login with a username and optional password according to HTTP Basic authentication as per RFC 2616.\n\"client-certificate\" - Login with a client TLS certificate as per RFC 5246. Client certificate authentication is only available on TLS connections.\n\"http-header\" - Login with a specified HTTP header.\n\"oauth-client\" - Login with OAuth 2.0 client credentials.\n\"oauth-jwt\" - Login with OAuth (RFC 7523 JWT Profile).\n\"transparent\" - Login using the Authorization header from the message properties, if present. Transparent authentication passes along existing Authorization header metadata instead of discarding it. Note that if the message is coming from a REST producer, the REST service must be configured to forward the Authorization header.\n\"aws\" - Login using AWS Signature Version 4 authentication (AWS4-HMAC-SHA256).\n
\n", Type: types.StringType, TerraformType: tftypes.String, Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, @@ -318,7 +327,7 @@ func init() { BaseType: broker.String, SempName: "httpMethod", TerraformName: "http_method", - MarkdownDescription: "The HTTP method to use (POST or PUT). This is used only when operating in the REST service \"messaging\" mode and is ignored in \"gateway\" mode. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `\"post\"`. The allowed values and their meaning are:\n\n
\n\"post\" - Use the POST HTTP method.\n\"put\" - Use the PUT HTTP method.\n
\n Available since 2.17.", + MarkdownDescription: "The HTTP method to use (POST or PUT). This is used only when operating in the REST service \"messaging\" mode and is ignored in \"gateway\" mode. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `\"post\"`. The allowed values and their meaning are:\n\n
\n\"post\" - Use the POST HTTP method.\n\"put\" - Use the PUT HTTP method.\n
\n Available since SEMP API version 2.17.", Type: types.StringType, TerraformType: tftypes.String, Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, @@ -383,6 +392,19 @@ func init() { }, Default: 3, }, + { + BaseType: broker.String, + SempName: "proxyName", + TerraformName: "proxy_name", + MarkdownDescription: "The name of the proxy to use. Leave empty for no proxy. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `\"\"`. Available since SEMP API version 2.36.", + Type: types.StringType, + TerraformType: tftypes.String, + Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, + StringValidators: []validator.String{ + stringvalidator.LengthBetween(0, 32), + }, + Default: "", + }, { BaseType: broker.String, SempName: "remoteHost", diff --git a/internal/broker/generated/MsgVpnRestDeliveryPointRestConsumerOauthJwtClaim.go b/internal/broker/generated/MsgVpnRestDeliveryPointRestConsumerOauthJwtClaim.go index 0de1d70..d46490f 100644 --- a/internal/broker/generated/MsgVpnRestDeliveryPointRestConsumerOauthJwtClaim.go +++ b/internal/broker/generated/MsgVpnRestDeliveryPointRestConsumerOauthJwtClaim.go @@ -28,12 +28,21 @@ import ( func init() { info := broker.EntityInputs{ TerraformName: "msg_vpn_rest_delivery_point_rest_consumer_oauth_jwt_claim", - MarkdownDescription: "A Claim is added to the JWT sent to the OAuth token request endpoint.\n\n\nAttribute|Identifying|Write-Only|Deprecated|Opaque\n:---|:---:|:---:|:---:|:---:\nmsg_vpn_name|x|||\noauth_jwt_claim_name|x|||\nrest_consumer_name|x|||\nrest_delivery_point_name|x|||\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"vpn/read-only\" is required to perform this operation.\n\nThis has been available since 2.21.", + MarkdownDescription: "A Claim is added to the JWT sent to the OAuth token request endpoint.\n\n\nAttribute|Identifying\n:---|:---:\nmsg_vpn_name|x\noauth_jwt_claim_name|x\nrest_consumer_name|x\nrest_delivery_point_name|x\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"vpn/read-only\" is required to perform this operation.\n\nThis has been available since SEMP API version 2.21.", ObjectType: broker.ReplaceOnlyObject, PathTemplate: "/msgVpns/{msgVpnName}/restDeliveryPoints/{restDeliveryPointName}/restConsumers/{restConsumerName}/oauthJwtClaims/{oauthJwtClaimName}", PostPathTemplate: "/msgVpns/{msgVpnName}/restDeliveryPoints/{restDeliveryPointName}/restConsumers/{restConsumerName}/oauthJwtClaims", Version: 0, Attributes: []*broker.AttributeInfo{ + { + BaseType: broker.String, + SempName: "id", + TerraformName: "id", + Type: types.StringType, + TerraformType: tftypes.String, + Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, + Default: "", + }, { BaseType: broker.String, SempName: "msgVpnName", @@ -77,7 +86,7 @@ func init() { TerraformType: tftypes.String, Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, StringValidators: []validator.String{ - stringvalidator.LengthBetween(0, 200), + stringvalidator.LengthBetween(1, 200), }, }, { diff --git a/internal/broker/generated/MsgVpnRestDeliveryPointRestConsumerTlsTrustedCommonName.go b/internal/broker/generated/MsgVpnRestDeliveryPointRestConsumerTlsTrustedCommonName.go deleted file mode 100644 index df4621b..0000000 --- a/internal/broker/generated/MsgVpnRestDeliveryPointRestConsumerTlsTrustedCommonName.go +++ /dev/null @@ -1,109 +0,0 @@ -// terraform-provider-solacebroker -// -// Copyright 2023 Solace Corporation. All rights reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -package generated - -import ( - "github.com/hashicorp/terraform-plugin-framework-validators/stringvalidator" - "github.com/hashicorp/terraform-plugin-framework/schema/validator" - "github.com/hashicorp/terraform-plugin-framework/types" - "github.com/hashicorp/terraform-plugin-go/tftypes" - "regexp" - "terraform-provider-solacebroker/internal/broker" -) - -func init() { - info := broker.EntityInputs{ - TerraformName: "msg_vpn_rest_delivery_point_rest_consumer_tls_trusted_common_name", - MarkdownDescription: "The Trusted Common Names for the REST Consumer are used by encrypted transports to verify the name in the certificate presented by the remote REST consumer. They must include the common name of the remote REST consumer's server certificate.\n\n\nAttribute|Identifying|Write-Only|Deprecated|Opaque\n:---|:---:|:---:|:---:|:---:\nmsg_vpn_name|x||x|\nrest_consumer_name|x||x|\nrest_delivery_point_name|x||x|\ntls_trusted_common_name|x||x|\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"vpn/read-only\" is required to perform this operation.\n\nThis has been deprecated since 2.17. Common Name validation has been replaced by Server Certificate Name validation.", - ObjectType: broker.ReplaceOnlyObject, - PathTemplate: "/msgVpns/{msgVpnName}/restDeliveryPoints/{restDeliveryPointName}/restConsumers/{restConsumerName}/tlsTrustedCommonNames/{tlsTrustedCommonName}", - PostPathTemplate: "/msgVpns/{msgVpnName}/restDeliveryPoints/{restDeliveryPointName}/restConsumers/{restConsumerName}/tlsTrustedCommonNames", - Version: 0, - Attributes: []*broker.AttributeInfo{ - { - BaseType: broker.String, - SempName: "msgVpnName", - TerraformName: "msg_vpn_name", - MarkdownDescription: "The name of the Message VPN. Deprecated since 2.17. Common Name validation has been replaced by Server Certificate Name validation.", - Identifying: true, - Required: true, - ReadOnly: true, - RequiresReplace: true, - Deprecated: true, - Type: types.StringType, - TerraformType: tftypes.String, - Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, - StringValidators: []validator.String{ - stringvalidator.LengthBetween(1, 32), - stringvalidator.RegexMatches(regexp.MustCompile("^[^*?]+$"), ""), - }, - }, - { - BaseType: broker.String, - SempName: "restConsumerName", - TerraformName: "rest_consumer_name", - MarkdownDescription: "The name of the REST Consumer. Deprecated since 2.17. Common Name validation has been replaced by Server Certificate Name validation.", - Identifying: true, - Required: true, - ReadOnly: true, - RequiresReplace: true, - Deprecated: true, - Type: types.StringType, - TerraformType: tftypes.String, - Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, - StringValidators: []validator.String{ - stringvalidator.LengthBetween(1, 32), - }, - }, - { - BaseType: broker.String, - SempName: "restDeliveryPointName", - TerraformName: "rest_delivery_point_name", - MarkdownDescription: "The name of the REST Delivery Point. Deprecated since 2.17. Common Name validation has been replaced by Server Certificate Name validation.", - Identifying: true, - Required: true, - ReadOnly: true, - RequiresReplace: true, - Deprecated: true, - Type: types.StringType, - TerraformType: tftypes.String, - Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, - StringValidators: []validator.String{ - stringvalidator.LengthBetween(1, 100), - }, - }, - { - BaseType: broker.String, - SempName: "tlsTrustedCommonName", - TerraformName: "tls_trusted_common_name", - MarkdownDescription: "The expected trusted common name of the remote certificate. Deprecated since 2.17. Common Name validation has been replaced by Server Certificate Name validation.", - Identifying: true, - Required: true, - RequiresReplace: true, - Deprecated: true, - Type: types.StringType, - TerraformType: tftypes.String, - Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, - StringValidators: []validator.String{ - stringvalidator.LengthBetween(1, 64), - }, - }, - }, - } - broker.RegisterResource(info) - broker.RegisterDataSource(info) -} diff --git a/internal/broker/generated/MsgVpnSequencedTopic.go b/internal/broker/generated/MsgVpnSequencedTopic.go index 0e5b080..a78607b 100644 --- a/internal/broker/generated/MsgVpnSequencedTopic.go +++ b/internal/broker/generated/MsgVpnSequencedTopic.go @@ -28,12 +28,21 @@ import ( func init() { info := broker.EntityInputs{ TerraformName: "msg_vpn_sequenced_topic", - MarkdownDescription: "A Sequenced Topic is a topic subscription for which any matching messages received on the Message VPN are assigned a sequence number that is monotonically increased by a value of one per message.\n\n\nAttribute|Identifying|Write-Only|Deprecated|Opaque\n:---|:---:|:---:|:---:|:---:\nmsg_vpn_name|x|||\nsequenced_topic|x|||\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"vpn/read-only\" is required to perform this operation.\n\nThis has been available since 2.0.", + MarkdownDescription: "A Sequenced Topic is a topic subscription for which any matching messages received on the Message VPN are assigned a sequence number that is monotonically increased by a value of one per message.\n\n\nAttribute|Identifying\n:---|:---:\nmsg_vpn_name|x\nsequenced_topic|x\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"vpn/read-only\" is required to perform this operation.\n\nThis has been available since SEMP API version 2.0.", ObjectType: broker.ReplaceOnlyObject, PathTemplate: "/msgVpns/{msgVpnName}/sequencedTopics/{sequencedTopic}", PostPathTemplate: "/msgVpns/{msgVpnName}/sequencedTopics", Version: 0, Attributes: []*broker.AttributeInfo{ + { + BaseType: broker.String, + SempName: "id", + TerraformName: "id", + Type: types.StringType, + TerraformType: tftypes.String, + Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, + Default: "", + }, { BaseType: broker.String, SempName: "msgVpnName", diff --git a/internal/broker/generated/MsgVpnTelemetryProfile.go b/internal/broker/generated/MsgVpnTelemetryProfile.go index 5a89d53..d66003e 100644 --- a/internal/broker/generated/MsgVpnTelemetryProfile.go +++ b/internal/broker/generated/MsgVpnTelemetryProfile.go @@ -30,11 +30,20 @@ import ( func init() { info := broker.EntityInputs{ TerraformName: "msg_vpn_telemetry_profile", - MarkdownDescription: "Using the Telemetry Profile allows trace spans to be generated as messages are processed by the broker. The generated spans are stored persistently on the broker and may be consumed by the Solace receiver component of an OpenTelemetry Collector.\n\n\nAttribute|Identifying|Write-Only|Deprecated|Opaque\n:---|:---:|:---:|:---:|:---:\nmsg_vpn_name|x|||\ntelemetry_profile_name|x|||\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"vpn/read-only\" is required to perform this operation.\n\nThis has been available since 2.31.", + MarkdownDescription: "Using the Telemetry Profile allows trace spans to be generated as messages are processed by the broker. The generated spans are stored persistently on the broker and may be consumed by the Solace receiver component of an OpenTelemetry Collector.\n\n\nAttribute|Identifying\n:---|:---:\nmsg_vpn_name|x\ntelemetry_profile_name|x\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"vpn/read-only\" is required to perform this operation.\n\nThis has been available since SEMP API version 2.31.", ObjectType: broker.StandardObject, PathTemplate: "/msgVpns/{msgVpnName}/telemetryProfiles/{telemetryProfileName}", Version: 0, Attributes: []*broker.AttributeInfo{ + { + BaseType: broker.String, + SempName: "id", + TerraformName: "id", + Type: types.StringType, + TerraformType: tftypes.String, + Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, + Default: "", + }, { BaseType: broker.String, SempName: "msgVpnName", @@ -78,6 +87,7 @@ func init() { path.MatchRelative().AtParent().AtName("set_value"), ), }, + Default: 60, }, { BaseType: broker.Int64, @@ -120,6 +130,7 @@ func init() { path.MatchRelative().AtParent().AtName("set_value"), ), }, + Default: 80, }, { BaseType: broker.Int64, @@ -313,6 +324,7 @@ func init() { path.MatchRelative().AtParent().AtName("set_value"), ), }, + Default: 60, }, { BaseType: broker.Int64, @@ -355,6 +367,7 @@ func init() { path.MatchRelative().AtParent().AtName("set_value"), ), }, + Default: 80, }, { BaseType: broker.Int64, @@ -434,7 +447,7 @@ func init() { BaseType: broker.Int64, SempName: "receiverTcpKeepaliveInterval", TerraformName: "receiver_tcp_keepalive_interval", - MarkdownDescription: "The amount of time between TCP keepalive retransmissions to a client using the Client Profile when no acknowledgement is received, in seconds. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `1`.", + MarkdownDescription: "The amount of time between TCP keepalive retransmissions to a client using the Client Profile when no acknowledgment is received, in seconds. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `1`.", Type: types.Int64Type, TerraformType: tftypes.Number, Converter: broker.IntegerConverter{}, @@ -460,7 +473,7 @@ func init() { BaseType: broker.Int64, SempName: "receiverTcpMaxWindowSize", TerraformName: "receiver_tcp_max_window_size", - MarkdownDescription: "The TCP maximum window size for clients using the Client Profile, in kilobytes. Changes are applied to all existing connections. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `256`.", + MarkdownDescription: "The TCP maximum window size for clients using the Client Profile, in kilobytes. Changes are applied to all existing connections. This setting is ignored on the software broker. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `256`.", Type: types.Int64Type, TerraformType: tftypes.Number, Converter: broker.IntegerConverter{}, @@ -495,6 +508,16 @@ func init() { Converter: broker.SimpleConverter[bool]{TerraformType: tftypes.Bool}, Default: false, }, + { + BaseType: broker.Bool, + SempName: "traceSendSpanGenerationEnabled", + TerraformName: "trace_send_span_generation_enabled", + MarkdownDescription: "Enable or disable generation of send spans. For the most complete view of broker message processing, this should be enabled. If the information provided by send spans are not needed, send spans can be disabled to reduce the performance impact of tracing. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `true`. Available since SEMP API version 2.36.", + Type: types.BoolType, + TerraformType: tftypes.Bool, + Converter: broker.SimpleConverter[bool]{TerraformType: tftypes.Bool}, + Default: true, + }, }, } broker.RegisterResource(info) diff --git a/internal/broker/generated/MsgVpnTelemetryProfileReceiverAclConnectException.go b/internal/broker/generated/MsgVpnTelemetryProfileReceiverAclConnectException.go index e156157..724215b 100644 --- a/internal/broker/generated/MsgVpnTelemetryProfileReceiverAclConnectException.go +++ b/internal/broker/generated/MsgVpnTelemetryProfileReceiverAclConnectException.go @@ -28,12 +28,21 @@ import ( func init() { info := broker.EntityInputs{ TerraformName: "msg_vpn_telemetry_profile_receiver_acl_connect_exception", - MarkdownDescription: "A Receiver ACL Connect Exception is an exception to the default action to take when a receiver connects to the broker. Exceptions must be expressed as an IP address/netmask in CIDR form.\n\n\nAttribute|Identifying|Write-Only|Deprecated|Opaque\n:---|:---:|:---:|:---:|:---:\nmsg_vpn_name|x|||\nreceiver_acl_connect_exception_address|x|||\ntelemetry_profile_name|x|||\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"vpn/read-only\" is required to perform this operation.\n\nThis has been available since 2.31.", + MarkdownDescription: "A Receiver ACL Connect Exception is an exception to the default action to take when a receiver connects to the broker. Exceptions must be expressed as an IP address/netmask in CIDR form.\n\n\nAttribute|Identifying\n:---|:---:\nmsg_vpn_name|x\nreceiver_acl_connect_exception_address|x\ntelemetry_profile_name|x\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"vpn/read-only\" is required to perform this operation.\n\nThis has been available since SEMP API version 2.31.", ObjectType: broker.ReplaceOnlyObject, PathTemplate: "/msgVpns/{msgVpnName}/telemetryProfiles/{telemetryProfileName}/receiverAclConnectExceptions/{receiverAclConnectExceptionAddress}", PostPathTemplate: "/msgVpns/{msgVpnName}/telemetryProfiles/{telemetryProfileName}/receiverAclConnectExceptions", Version: 0, Attributes: []*broker.AttributeInfo{ + { + BaseType: broker.String, + SempName: "id", + TerraformName: "id", + Type: types.StringType, + TerraformType: tftypes.String, + Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, + Default: "", + }, { BaseType: broker.String, SempName: "msgVpnName", diff --git a/internal/broker/generated/MsgVpnTelemetryProfileTraceFilter.go b/internal/broker/generated/MsgVpnTelemetryProfileTraceFilter.go index 82a3eab..45a73cd 100644 --- a/internal/broker/generated/MsgVpnTelemetryProfileTraceFilter.go +++ b/internal/broker/generated/MsgVpnTelemetryProfileTraceFilter.go @@ -28,11 +28,20 @@ import ( func init() { info := broker.EntityInputs{ TerraformName: "msg_vpn_telemetry_profile_trace_filter", - MarkdownDescription: "A Trace Filter controls which messages received by the broker will be traced. If an incoming message matches an enabled tracing filter's subscription, the message will be traced as it passes through the broker.\n\n\nAttribute|Identifying|Write-Only|Deprecated|Opaque\n:---|:---:|:---:|:---:|:---:\nmsg_vpn_name|x|||\ntelemetry_profile_name|x|||\ntrace_filter_name|x|||\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"vpn/read-only\" is required to perform this operation.\n\nThis has been available since 2.31.", + MarkdownDescription: "A Trace Filter controls which messages received by the broker will be traced. If an incoming message matches an enabled tracing filter's subscription, the message will be traced as it passes through the broker.\n\n\nAttribute|Identifying\n:---|:---:\nmsg_vpn_name|x\ntelemetry_profile_name|x\ntrace_filter_name|x\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"vpn/read-only\" is required to perform this operation.\n\nThis has been available since SEMP API version 2.31.", ObjectType: broker.StandardObject, PathTemplate: "/msgVpns/{msgVpnName}/telemetryProfiles/{telemetryProfileName}/traceFilters/{traceFilterName}", Version: 0, Attributes: []*broker.AttributeInfo{ + { + BaseType: broker.String, + SempName: "id", + TerraformName: "id", + Type: types.StringType, + TerraformType: tftypes.String, + Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, + Default: "", + }, { BaseType: broker.Bool, SempName: "enabled", diff --git a/internal/broker/generated/MsgVpnTelemetryProfileTraceFilterSubscription.go b/internal/broker/generated/MsgVpnTelemetryProfileTraceFilterSubscription.go index 5866601..30d4694 100644 --- a/internal/broker/generated/MsgVpnTelemetryProfileTraceFilterSubscription.go +++ b/internal/broker/generated/MsgVpnTelemetryProfileTraceFilterSubscription.go @@ -28,12 +28,21 @@ import ( func init() { info := broker.EntityInputs{ TerraformName: "msg_vpn_telemetry_profile_trace_filter_subscription", - MarkdownDescription: "Trace filter subscriptions control which messages will be attracted by the tracing filter.\n\n\nAttribute|Identifying|Write-Only|Deprecated|Opaque\n:---|:---:|:---:|:---:|:---:\nmsg_vpn_name|x|||\nsubscription|x|||\nsubscription_syntax|x|||\ntelemetry_profile_name|x|||\ntrace_filter_name|x|||\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"vpn/read-only\" is required to perform this operation.\n\nThis has been available since 2.31.", + MarkdownDescription: "Trace filter subscriptions control which messages will be attracted by the tracing filter.\n\n\nAttribute|Identifying\n:---|:---:\nmsg_vpn_name|x\nsubscription|x\nsubscription_syntax|x\ntelemetry_profile_name|x\ntrace_filter_name|x\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"vpn/read-only\" is required to perform this operation.\n\nThis has been available since SEMP API version 2.31.", ObjectType: broker.ReplaceOnlyObject, PathTemplate: "/msgVpns/{msgVpnName}/telemetryProfiles/{telemetryProfileName}/traceFilters/{traceFilterName}/subscriptions/{subscription},{subscriptionSyntax}", PostPathTemplate: "/msgVpns/{msgVpnName}/telemetryProfiles/{telemetryProfileName}/traceFilters/{traceFilterName}/subscriptions", Version: 0, Attributes: []*broker.AttributeInfo{ + { + BaseType: broker.String, + SempName: "id", + TerraformName: "id", + Type: types.StringType, + TerraformType: tftypes.String, + Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, + Default: "", + }, { BaseType: broker.String, SempName: "msgVpnName", diff --git a/internal/broker/generated/MsgVpnTopicEndpoint.go b/internal/broker/generated/MsgVpnTopicEndpoint.go index 4425909..fa098c2 100644 --- a/internal/broker/generated/MsgVpnTopicEndpoint.go +++ b/internal/broker/generated/MsgVpnTopicEndpoint.go @@ -30,16 +30,25 @@ import ( func init() { info := broker.EntityInputs{ TerraformName: "msg_vpn_topic_endpoint", - MarkdownDescription: "A Topic Endpoint attracts messages published to a topic for which the Topic Endpoint has a matching topic subscription. The topic subscription for the Topic Endpoint is specified in the client request to bind a Flow to that Topic Endpoint. Queues are significantly more flexible than Topic Endpoints and are the recommended approach for most applications. The use of Topic Endpoints should be restricted to JMS applications.\n\n\nAttribute|Identifying|Write-Only|Deprecated|Opaque\n:---|:---:|:---:|:---:|:---:\nmsg_vpn_name|x|||\ntopic_endpoint_name|x|||\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"vpn/read-only\" is required to perform this operation.\n\nThis has been available since 2.4.", + MarkdownDescription: "A Topic Endpoint attracts messages published to a topic for which the Topic Endpoint has a matching topic subscription. The topic subscription for the Topic Endpoint is specified in the client request to bind a Flow to that Topic Endpoint. Queues are significantly more flexible than Topic Endpoints and are the recommended approach for most applications. The use of Topic Endpoints should be restricted to JMS applications.\n\n\nAttribute|Identifying\n:---|:---:\nmsg_vpn_name|x\ntopic_endpoint_name|x\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"vpn/read-only\" is required to perform this operation.\n\nThis has been available since SEMP API version 2.4.", ObjectType: broker.StandardObject, PathTemplate: "/msgVpns/{msgVpnName}/topicEndpoints/{topicEndpointName}", Version: 0, Attributes: []*broker.AttributeInfo{ + { + BaseType: broker.String, + SempName: "id", + TerraformName: "id", + Type: types.StringType, + TerraformType: tftypes.String, + Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, + Default: "", + }, { BaseType: broker.String, SempName: "accessType", TerraformName: "access_type", - MarkdownDescription: "The access type for delivering messages to consumer flows bound to the Topic Endpoint. Modifying this attribute while the object (or the relevant part of the object) is administratively enabled may be service impacting as egress_enabled will be temporarily set to false to apply the change. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `\"exclusive\"`. The allowed values and their meaning are:\n\n
\n\"exclusive\" - Exclusive delivery of messages to the first bound consumer flow.\n\"non-exclusive\" - Non-exclusive delivery of messages to all bound consumer flows in a round-robin fashion.\n
\n", + MarkdownDescription: "The access type for delivering messages to consumer flows bound to the Topic Endpoint. Modifying this attribute while the object (or the relevant part of the object) is administratively enabled may be service impacting as egress_enabled will be temporarily set to false to apply the change. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `\"exclusive\"`. The allowed values and their meaning are:\n\n
\n\"exclusive\" - Exclusive delivery of messages to the first bound consumer flow.\n\"non-exclusive\" - Non-exclusive delivery of messages to bound consumer flows in a round-robin (if partition count is zero) or partitioned (if partition count is non-zero) fashion.\n
\n", Type: types.StringType, TerraformType: tftypes.String, Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, @@ -52,7 +61,7 @@ func init() { BaseType: broker.Bool, SempName: "consumerAckPropagationEnabled", TerraformName: "consumer_ack_propagation_enabled", - MarkdownDescription: "Enable or disable the propagation of consumer acknowledgements (ACKs) received on the active replication Message VPN to the standby replication Message VPN. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `true`.", + MarkdownDescription: "Enable or disable the propagation of consumer acknowledgments (ACKs) received on the active replication Message VPN to the standby replication Message VPN. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `true`.", Type: types.BoolType, TerraformType: tftypes.Bool, Converter: broker.SimpleConverter[bool]{TerraformType: tftypes.Bool}, @@ -76,7 +85,7 @@ func init() { BaseType: broker.Bool, SempName: "deliveryCountEnabled", TerraformName: "delivery_count_enabled", - MarkdownDescription: "Enable or disable the ability for client applications to query the message delivery count of messages received from the Topic Endpoint. This is a controlled availability feature. Please contact support to find out if this feature is supported for your use case. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `false`. Available since 2.19.", + MarkdownDescription: "Enable or disable the ability for client applications to query the message delivery count of messages received from the Topic Endpoint. This is a controlled availability feature. Please contact support to find out if this feature is supported for your use case. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `false`. Available since SEMP API version 2.19.", Type: types.BoolType, TerraformType: tftypes.Bool, Converter: broker.SimpleConverter[bool]{TerraformType: tftypes.Bool}, @@ -86,7 +95,7 @@ func init() { BaseType: broker.Int64, SempName: "deliveryDelay", TerraformName: "delivery_delay", - MarkdownDescription: "The delay, in seconds, to apply to messages arriving on the Topic Endpoint before the messages are eligible for delivery. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `0`. Available since 2.22.", + MarkdownDescription: "The delay, in seconds, to apply to messages arriving on the Topic Endpoint before the messages are eligible for delivery. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `0`. Available since SEMP API version 2.22.", Type: types.Int64Type, TerraformType: tftypes.Number, Converter: broker.IntegerConverter{}, @@ -131,6 +140,7 @@ func init() { path.MatchRelative().AtParent().AtName("set_value"), ), }, + Default: 60, }, { BaseType: broker.Int64, @@ -173,6 +183,7 @@ func init() { path.MatchRelative().AtParent().AtName("set_value"), ), }, + Default: 80, }, { BaseType: broker.Int64, @@ -223,6 +234,7 @@ func init() { path.MatchRelative().AtParent().AtName("set_value"), ), }, + Default: 60, }, { BaseType: broker.Int64, @@ -265,6 +277,7 @@ func init() { path.MatchRelative().AtParent().AtName("set_value"), ), }, + Default: 80, }, { BaseType: broker.Int64, @@ -518,7 +531,7 @@ func init() { BaseType: broker.Bool, SempName: "redeliveryDelayEnabled", TerraformName: "redelivery_delay_enabled", - MarkdownDescription: "Enable or disable a message redelivery delay. When false, messages are redelivered as-soon-as-possible. When true, messages are redelivered according to the initial, max and multiplier. This should only be enabled when redelivery is enabled. Modifying this attribute while the object (or the relevant part of the object) is administratively enabled may be service impacting as egress_enabled will be temporarily set to false to apply the change. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `false`. Available since 2.33.", + MarkdownDescription: "Enable or disable a message redelivery delay. When false, messages are redelivered as-soon-as-possible. When true, messages are redelivered according to the initial, max and multiplier. This should only be enabled when redelivery is enabled. Modifying this attribute while the object (or the relevant part of the object) is administratively enabled may be service impacting as egress_enabled will be temporarily set to false to apply the change. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `false`. Available since SEMP API version 2.33.", Type: types.BoolType, TerraformType: tftypes.Bool, Converter: broker.SimpleConverter[bool]{TerraformType: tftypes.Bool}, @@ -528,7 +541,7 @@ func init() { BaseType: broker.Int64, SempName: "redeliveryDelayInitialInterval", TerraformName: "redelivery_delay_initial_interval", - MarkdownDescription: "The delay to be used between the first 2 redelivery attempts. This value is in milliseconds. Modifying this attribute while the object (or the relevant part of the object) is administratively enabled may be service impacting as egress_enabled will be temporarily set to false to apply the change. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `1000`. Available since 2.33.", + MarkdownDescription: "The delay to be used between the first 2 redelivery attempts. This value is in milliseconds. Modifying this attribute while the object (or the relevant part of the object) is administratively enabled may be service impacting as egress_enabled will be temporarily set to false to apply the change. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `1000`. Available since SEMP API version 2.33.", Type: types.Int64Type, TerraformType: tftypes.Number, Converter: broker.IntegerConverter{}, @@ -541,7 +554,7 @@ func init() { BaseType: broker.Int64, SempName: "redeliveryDelayMaxInterval", TerraformName: "redelivery_delay_max_interval", - MarkdownDescription: "The maximum delay to be used between any 2 redelivery attempts. This value is in milliseconds. Due to technical limitations, some redelivery attempt delays may slightly exceed this value. Modifying this attribute while the object (or the relevant part of the object) is administratively enabled may be service impacting as egress_enabled will be temporarily set to false to apply the change. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `64000`. Available since 2.33.", + MarkdownDescription: "The maximum delay to be used between any 2 redelivery attempts. This value is in milliseconds. Due to technical limitations, some redelivery attempt delays may slightly exceed this value. Modifying this attribute while the object (or the relevant part of the object) is administratively enabled may be service impacting as egress_enabled will be temporarily set to false to apply the change. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `64000`. Available since SEMP API version 2.33.", Type: types.Int64Type, TerraformType: tftypes.Number, Converter: broker.IntegerConverter{}, @@ -554,7 +567,7 @@ func init() { BaseType: broker.Int64, SempName: "redeliveryDelayMultiplier", TerraformName: "redelivery_delay_multiplier", - MarkdownDescription: "The amount each delay interval is multiplied by after each failed delivery attempt. This number is in a fixed-point decimal format in which you must divide by 100 to get the floating point value. For example, a value of 125 would cause the delay to be multiplied by 1.25. Modifying this attribute while the object (or the relevant part of the object) is administratively enabled may be service impacting as egress_enabled will be temporarily set to false to apply the change. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `200`. Available since 2.33.", + MarkdownDescription: "The amount each delay interval is multiplied by after each failed delivery attempt. This number is in a fixed-point decimal format in which you must divide by 100 to get the floating point value. For example, a value of 125 would cause the delay to be multiplied by 1.25. Modifying this attribute while the object (or the relevant part of the object) is administratively enabled may be service impacting as egress_enabled will be temporarily set to false to apply the change. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `200`. Available since SEMP API version 2.33.", Type: types.Int64Type, TerraformType: tftypes.Number, Converter: broker.IntegerConverter{}, @@ -567,7 +580,7 @@ func init() { BaseType: broker.Bool, SempName: "redeliveryEnabled", TerraformName: "redelivery_enabled", - MarkdownDescription: "Enable or disable message redelivery. When enabled, the number of redelivery attempts is controlled by max_redelivery_count. When disabled, the message will never be delivered from the topic-endpoint more than once. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `true`. Available since 2.18.", + MarkdownDescription: "Enable or disable message redelivery. When enabled, the number of redelivery attempts is controlled by max_redelivery_count. When disabled, the message will never be delivered from the topic-endpoint more than once. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `true`. Available since SEMP API version 2.18.", Type: types.BoolType, TerraformType: tftypes.Bool, Converter: broker.SimpleConverter[bool]{TerraformType: tftypes.Bool}, @@ -600,12 +613,12 @@ func init() { BaseType: broker.String, SempName: "rejectMsgToSenderOnDiscardBehavior", TerraformName: "reject_msg_to_sender_on_discard_behavior", - MarkdownDescription: "Determines when to return negative acknowledgements (NACKs) to sending clients on message discards. Note that NACKs cause the message to not be delivered to any destination and Transacted Session commits to fail. Modifying this attribute while the object (or the relevant part of the object) is administratively enabled may be service impacting as reject_low_priority_msg_enabled will be temporarily set to false to apply the change. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `\"never\"`. The allowed values and their meaning are:\n\n
\n\"always\" - Always return a negative acknowledgment (NACK) to the sending client on message discard.\n\"when-topic-endpoint-enabled\" - Only return a negative acknowledgment (NACK) to the sending client on message discard when the Topic Endpoint is enabled.\n\"never\" - Never return a negative acknowledgment (NACK) to the sending client on message discard.\n
\n", + MarkdownDescription: "Determines when to return negative acknowledgments (NACKs) to sending clients on message discards. Note that NACKs cause the message to not be delivered to any destination and Transacted Session commits to fail. Modifying this attribute while the object (or the relevant part of the object) is administratively enabled may be service impacting as reject_low_priority_msg_enabled will be temporarily set to false to apply the change. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `\"never\"`. The allowed values and their meaning are:\n\n
\n\"never\" - Silently discard messages.\n\"when-topic-endpoint-enabled\" - NACK each message discard back to the client, except messages that are discarded because an endpoint is administratively disabled.\n\"always\" - NACK each message discard back to the client, including messages that are discarded because an endpoint is administratively disabled.\n
\n", Type: types.StringType, TerraformType: tftypes.String, Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, StringValidators: []validator.String{ - stringvalidator.OneOf("always", "when-topic-endpoint-enabled", "never"), + stringvalidator.OneOf("never", "when-topic-endpoint-enabled", "always"), }, Default: "never", }, @@ -613,7 +626,7 @@ func init() { BaseType: broker.Bool, SempName: "respectMsgPriorityEnabled", TerraformName: "respect_msg_priority_enabled", - MarkdownDescription: "Enable or disable the respecting of message priority. When enabled, messages contained in the Topic Endpoint are delivered in priority order, from 9 (highest) to 0 (lowest). Modifying this attribute while the object (or the relevant part of the object) is administratively enabled may be service impacting as egress_enabled and ingress_enabled will be temporarily set to false to apply the change. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `false`. Available since 2.8.", + MarkdownDescription: "Enable or disable the respecting of message priority. When enabled, messages contained in the Topic Endpoint are delivered in priority order, from 9 (highest) to 0 (lowest). Modifying this attribute while the object (or the relevant part of the object) is administratively enabled may be service impacting as egress_enabled and ingress_enabled will be temporarily set to false to apply the change. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `false`. Available since SEMP API version 2.8.", Type: types.BoolType, TerraformType: tftypes.Bool, Converter: broker.SimpleConverter[bool]{TerraformType: tftypes.Bool}, diff --git a/internal/broker/generated/MsgVpnTopicEndpointTemplate.go b/internal/broker/generated/MsgVpnTopicEndpointTemplate.go index 39b449b..ace01df 100644 --- a/internal/broker/generated/MsgVpnTopicEndpointTemplate.go +++ b/internal/broker/generated/MsgVpnTopicEndpointTemplate.go @@ -30,16 +30,25 @@ import ( func init() { info := broker.EntityInputs{ TerraformName: "msg_vpn_topic_endpoint_template", - MarkdownDescription: "A Topic Endpoint Template provides a mechanism for specifying the initial state for client created topic endpoints.\n\n\nAttribute|Identifying|Write-Only|Deprecated|Opaque\n:---|:---:|:---:|:---:|:---:\nmsg_vpn_name|x|||\ntopic_endpoint_template_name|x|||\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"vpn/read-only\" is required to perform this operation.\n\nThis has been available since 2.14.", + MarkdownDescription: "A Topic Endpoint Template provides a mechanism for specifying the initial state for client created topic endpoints.\n\n\nAttribute|Identifying\n:---|:---:\nmsg_vpn_name|x\ntopic_endpoint_template_name|x\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"vpn/read-only\" is required to perform this operation.\n\nThis has been available since SEMP API version 2.14.", ObjectType: broker.StandardObject, PathTemplate: "/msgVpns/{msgVpnName}/topicEndpointTemplates/{topicEndpointTemplateName}", Version: 0, Attributes: []*broker.AttributeInfo{ + { + BaseType: broker.String, + SempName: "id", + TerraformName: "id", + Type: types.StringType, + TerraformType: tftypes.String, + Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, + Default: "", + }, { BaseType: broker.String, SempName: "accessType", TerraformName: "access_type", - MarkdownDescription: "The access type for delivering messages to consumer flows. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `\"exclusive\"`. The allowed values and their meaning are:\n\n
\n\"exclusive\" - Exclusive delivery of messages to the first bound consumer flow.\n\"non-exclusive\" - Non-exclusive delivery of messages to all bound consumer flows in a round-robin fashion.\n
\n", + MarkdownDescription: "The access type for delivering messages to consumer flows. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `\"exclusive\"`. The allowed values and their meaning are:\n\n
\n\"exclusive\" - Exclusive delivery of messages to the first bound consumer flow.\n\"non-exclusive\" - Non-exclusive delivery of messages to bound consumer flows in a round-robin (if partition count is zero) or partitioned (if partition count is non-zero) fashion.\n
\n", Type: types.StringType, TerraformType: tftypes.String, Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, @@ -52,7 +61,7 @@ func init() { BaseType: broker.Bool, SempName: "consumerAckPropagationEnabled", TerraformName: "consumer_ack_propagation_enabled", - MarkdownDescription: "Enable or disable the propagation of consumer acknowledgements (ACKs) received on the active replication Message VPN to the standby replication Message VPN. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `true`.", + MarkdownDescription: "Enable or disable the propagation of consumer acknowledgments (ACKs) received on the active replication Message VPN to the standby replication Message VPN. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `true`.", Type: types.BoolType, TerraformType: tftypes.Bool, Converter: broker.SimpleConverter[bool]{TerraformType: tftypes.Bool}, @@ -76,7 +85,7 @@ func init() { BaseType: broker.Int64, SempName: "deliveryDelay", TerraformName: "delivery_delay", - MarkdownDescription: "The delay, in seconds, to apply to messages arriving on the Topic Endpoint before the messages are eligible for delivery. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `0`. Available since 2.22.", + MarkdownDescription: "The delay, in seconds, to apply to messages arriving on the Topic Endpoint before the messages are eligible for delivery. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `0`. Available since SEMP API version 2.22.", Type: types.Int64Type, TerraformType: tftypes.Number, Converter: broker.IntegerConverter{}, @@ -111,6 +120,7 @@ func init() { path.MatchRelative().AtParent().AtName("set_value"), ), }, + Default: 60, }, { BaseType: broker.Int64, @@ -126,7 +136,7 @@ func init() { int64validator.AlsoRequires( path.MatchRelative().AtParent().AtName("set_value"), ), - int64validator.Between(0, 4294967295), + int64validator.Between(0, 10000), int64validator.ConflictsWith( path.MatchRelative().AtParent().AtName("clear_percent"), path.MatchRelative().AtParent().AtName("set_percent"), @@ -153,6 +163,7 @@ func init() { path.MatchRelative().AtParent().AtName("set_value"), ), }, + Default: 80, }, { BaseType: broker.Int64, @@ -168,7 +179,7 @@ func init() { int64validator.AlsoRequires( path.MatchRelative().AtParent().AtName("clear_value"), ), - int64validator.Between(0, 4294967295), + int64validator.Between(0, 10000), int64validator.ConflictsWith( path.MatchRelative().AtParent().AtName("clear_percent"), path.MatchRelative().AtParent().AtName("set_percent"), @@ -219,7 +230,7 @@ func init() { int64validator.AlsoRequires( path.MatchRelative().AtParent().AtName("set_value"), ), - int64validator.Between(0, 4294967295), + int64validator.Between(0, 6000000), int64validator.ConflictsWith( path.MatchRelative().AtParent().AtName("clear_percent"), path.MatchRelative().AtParent().AtName("set_percent"), @@ -262,7 +273,7 @@ func init() { int64validator.AlsoRequires( path.MatchRelative().AtParent().AtName("clear_value"), ), - int64validator.Between(0, 4294967295), + int64validator.Between(0, 6000000), int64validator.ConflictsWith( path.MatchRelative().AtParent().AtName("clear_percent"), path.MatchRelative().AtParent().AtName("set_percent"), @@ -297,6 +308,7 @@ func init() { path.MatchRelative().AtParent().AtName("set_value"), ), }, + Default: 60, }, { BaseType: broker.Int64, @@ -339,6 +351,7 @@ func init() { path.MatchRelative().AtParent().AtName("set_value"), ), }, + Default: 80, }, { BaseType: broker.Int64, @@ -475,7 +488,7 @@ func init() { BaseType: broker.Bool, SempName: "redeliveryDelayEnabled", TerraformName: "redelivery_delay_enabled", - MarkdownDescription: "Enable or disable a message redelivery delay. When false, messages are redelivered as-soon-as-possible. When true, messages are redelivered according to the initial, max and multiplier. This should only be enabled when redelivery is enabled. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `false`. Available since 2.33.", + MarkdownDescription: "Enable or disable a message redelivery delay. When false, messages are redelivered as-soon-as-possible. When true, messages are redelivered according to the initial, max and multiplier. This should only be enabled when redelivery is enabled. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `false`. Available since SEMP API version 2.33.", Type: types.BoolType, TerraformType: tftypes.Bool, Converter: broker.SimpleConverter[bool]{TerraformType: tftypes.Bool}, @@ -485,7 +498,7 @@ func init() { BaseType: broker.Int64, SempName: "redeliveryDelayInitialInterval", TerraformName: "redelivery_delay_initial_interval", - MarkdownDescription: "The delay to be used between the first 2 redelivery attempts. This value is in milliseconds. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `1000`. Available since 2.33.", + MarkdownDescription: "The delay to be used between the first 2 redelivery attempts. This value is in milliseconds. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `1000`. Available since SEMP API version 2.33.", Type: types.Int64Type, TerraformType: tftypes.Number, Converter: broker.IntegerConverter{}, @@ -498,7 +511,7 @@ func init() { BaseType: broker.Int64, SempName: "redeliveryDelayMaxInterval", TerraformName: "redelivery_delay_max_interval", - MarkdownDescription: "The maximum delay to be used between any 2 redelivery attempts. This value is in milliseconds. Due to technical limitations, some redelivery attempt delays may slightly exceed this value. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `64000`. Available since 2.33.", + MarkdownDescription: "The maximum delay to be used between any 2 redelivery attempts. This value is in milliseconds. Due to technical limitations, some redelivery attempt delays may slightly exceed this value. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `64000`. Available since SEMP API version 2.33.", Type: types.Int64Type, TerraformType: tftypes.Number, Converter: broker.IntegerConverter{}, @@ -511,7 +524,7 @@ func init() { BaseType: broker.Int64, SempName: "redeliveryDelayMultiplier", TerraformName: "redelivery_delay_multiplier", - MarkdownDescription: "The amount each delay interval is multiplied by after each failed delivery attempt. This number is in a fixed-point decimal format in which you must divide by 100 to get the floating point value. For example, a value of 125 would cause the delay to be multiplied by 1.25. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `200`. Available since 2.33.", + MarkdownDescription: "The amount each delay interval is multiplied by after each failed delivery attempt. This number is in a fixed-point decimal format in which you must divide by 100 to get the floating point value. For example, a value of 125 would cause the delay to be multiplied by 1.25. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `200`. Available since SEMP API version 2.33.", Type: types.Int64Type, TerraformType: tftypes.Number, Converter: broker.IntegerConverter{}, @@ -524,7 +537,7 @@ func init() { BaseType: broker.Bool, SempName: "redeliveryEnabled", TerraformName: "redelivery_enabled", - MarkdownDescription: "Enable or disable message redelivery. When enabled, the number of redelivery attempts is controlled by max_redelivery_count. When disabled, the message will never be delivered from the topic-endpoint more than once. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `true`. Available since 2.18.", + MarkdownDescription: "Enable or disable message redelivery. When enabled, the number of redelivery attempts is controlled by max_redelivery_count. When disabled, the message will never be delivered from the topic-endpoint more than once. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `true`. Available since SEMP API version 2.18.", Type: types.BoolType, TerraformType: tftypes.Bool, Converter: broker.SimpleConverter[bool]{TerraformType: tftypes.Bool}, @@ -557,12 +570,12 @@ func init() { BaseType: broker.String, SempName: "rejectMsgToSenderOnDiscardBehavior", TerraformName: "reject_msg_to_sender_on_discard_behavior", - MarkdownDescription: "Determines when to return negative acknowledgements (NACKs) to sending clients on message discards. Note that NACKs cause the message to not be delivered to any destination and Transacted Session commits to fail. Modifying this attribute while the object (or the relevant part of the object) is administratively enabled may be service impacting as reject_low_priority_msg_enabled will be temporarily set to false to apply the change. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `\"never\"`. The allowed values and their meaning are:\n\n
\n\"always\" - Always return a negative acknowledgment (NACK) to the sending client on message discard.\n\"when-topic-endpoint-enabled\" - Only return a negative acknowledgment (NACK) to the sending client on message discard when the Topic Endpoint is enabled.\n\"never\" - Never return a negative acknowledgment (NACK) to the sending client on message discard.\n
\n", + MarkdownDescription: "Determines when to return negative acknowledgments (NACKs) to sending clients on message discards. Note that NACKs cause the message to not be delivered to any destination and Transacted Session commits to fail. Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `\"never\"`. The allowed values and their meaning are:\n\n
\n\"never\" - Silently discard messages.\n\"when-topic-endpoint-enabled\" - NACK each message discard back to the client, except messages that are discarded because an endpoint is administratively disabled.\n\"always\" - NACK each message discard back to the client, including messages that are discarded because an endpoint is administratively disabled.\n
\n", Type: types.StringType, TerraformType: tftypes.String, Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, StringValidators: []validator.String{ - stringvalidator.OneOf("always", "when-topic-endpoint-enabled", "never"), + stringvalidator.OneOf("never", "when-topic-endpoint-enabled", "always"), }, Default: "never", }, @@ -590,7 +603,7 @@ func init() { BaseType: broker.String, SempName: "topicEndpointNameFilter", TerraformName: "topic_endpoint_name_filter", - MarkdownDescription: "A wildcardable pattern used to determine which Topic Endpoints use settings from this Template. Two different wildcards are supported: * and >. Similar to topic filters or subscription patterns, a > matches anything (but only when used at the end), and a * matches zero or more characters but never a slash (/). A > is only a wildcard when used at the end, after a /. A * is only allowed at the end, after a slash (/). Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `\"\"`.", + MarkdownDescription: "A pattern used to determine which Topic Endpoints use settings from this Template. Two different wildcards can be used in the pattern: * and >. Similar to topic filters or subscription patterns, a > matches anything (but only when used at the end), and a * matches zero or more characters but never a slash (/). A > is only a wildcard when used at the end, after a /. A * is only allowed at the end, after a slash (/). Changes to this attribute are synchronized to HA mates and replication sites via config-sync. The default value is `\"\"`.", Type: types.StringType, TerraformType: tftypes.String, Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, diff --git a/internal/broker/generated/OauthProfile.go b/internal/broker/generated/OauthProfile.go index 72f33cf..4ca5cb3 100644 --- a/internal/broker/generated/OauthProfile.go +++ b/internal/broker/generated/OauthProfile.go @@ -22,17 +22,27 @@ import ( "github.com/hashicorp/terraform-plugin-framework/schema/validator" "github.com/hashicorp/terraform-plugin-framework/types" "github.com/hashicorp/terraform-plugin-go/tftypes" + "regexp" "terraform-provider-solacebroker/internal/broker" ) func init() { info := broker.EntityInputs{ TerraformName: "oauth_profile", - MarkdownDescription: "OAuth profiles specify how to securely authenticate to an OAuth provider.\n\n\nAttribute|Identifying|Write-Only|Deprecated|Opaque\n:---|:---:|:---:|:---:|:---:\nclient_secret||x||x\noauth_profile_name|x|||\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"global/read-only\" is required to perform this operation.\n\nThis has been available since 2.24.", + MarkdownDescription: "OAuth profiles specify how to securely authenticate to an OAuth provider.\n\n\nAttribute|Identifying|Write-Only|Opaque\n:---|:---:|:---:|:---:\nclient_secret||x|x\noauth_profile_name|x||\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"global/read-only\" is required to perform this operation.\n\nThis has been available since SEMP API version 2.24.", ObjectType: broker.StandardObject, PathTemplate: "/oauthProfiles/{oauthProfileName}", Version: 0, Attributes: []*broker.AttributeInfo{ + { + BaseType: broker.String, + SempName: "id", + TerraformName: "id", + Type: types.StringType, + TerraformType: tftypes.String, + Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, + Default: "", + }, { BaseType: broker.String, SempName: "accessLevelGroupsClaimName", @@ -50,7 +60,7 @@ func init() { BaseType: broker.String, SempName: "accessLevelGroupsClaimStringFormat", TerraformName: "access_level_groups_claim_string_format", - MarkdownDescription: "The format of the access level groups claim value when it is a string. Changes to this attribute are synchronized to HA mates via config-sync. The default value is `\"single\"`. The allowed values and their meaning are:\n\n
\n\"single\" - When the claim is a string, it is interpreted as a single group.\n\"space-delimited\" - When the claim is a string, it is interpreted as a space-delimited list of groups, similar to the \"scope\" claim.\n
\n Available since 2.32.", + MarkdownDescription: "The format of the access level groups claim value when it is a string. Changes to this attribute are synchronized to HA mates via config-sync. The default value is `\"single\"`. The allowed values and their meaning are:\n\n
\n\"single\" - When the claim is a string, it is interpreted as as single group.\n\"space-delimited\" - When the claim is a string, it is interpreted as a space-delimited list of groups, similar to the \"scope\" claim.\n
\n Available since SEMP API version 2.32.", Type: types.StringType, TerraformType: tftypes.String, Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, @@ -115,7 +125,7 @@ func init() { BaseType: broker.String, SempName: "clientSecret", TerraformName: "client_secret", - MarkdownDescription: "The OAuth client secret. This attribute is absent from a GET and not updated when absent in a PUT, subject to the exceptions in note 4. Changes to this attribute are synchronized to HA mates via config-sync. The default value is `\"\"`.", + MarkdownDescription: "The OAuth client secret. This attribute is absent from a GET and not updated when absent in a PUT, subject to the exceptions in note 4 (refer to the `Notes` section in the SEMP API `Config reference`). Changes to this attribute are synchronized to HA mates via config-sync. The default value is `\"\"`.", Sensitive: true, Type: types.StringType, TerraformType: tftypes.String, @@ -389,6 +399,7 @@ func init() { Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, StringValidators: []validator.String{ stringvalidator.LengthBetween(1, 32), + stringvalidator.RegexMatches(regexp.MustCompile("^[A-Za-z0-9_]+$"), ""), }, }, { diff --git a/internal/broker/generated/OauthProfileAccessLevelGroup.go b/internal/broker/generated/OauthProfileAccessLevelGroup.go index 209acbc..10f7bee 100644 --- a/internal/broker/generated/OauthProfileAccessLevelGroup.go +++ b/internal/broker/generated/OauthProfileAccessLevelGroup.go @@ -21,17 +21,27 @@ import ( "github.com/hashicorp/terraform-plugin-framework/schema/validator" "github.com/hashicorp/terraform-plugin-framework/types" "github.com/hashicorp/terraform-plugin-go/tftypes" + "regexp" "terraform-provider-solacebroker/internal/broker" ) func init() { info := broker.EntityInputs{ TerraformName: "oauth_profile_access_level_group", - MarkdownDescription: "The name of a group as it exists on the OAuth server being used to authenticate SEMP users.\n\n\nAttribute|Identifying|Write-Only|Deprecated|Opaque\n:---|:---:|:---:|:---:|:---:\ngroup_name|x|||\noauth_profile_name|x|||\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"global/read-only\" is required to perform this operation.\n\nThis has been available since 2.24.", + MarkdownDescription: "The name of a group as it exists on the OAuth server being used to authenticate SEMP users.\n\n\nAttribute|Identifying\n:---|:---:\ngroup_name|x\noauth_profile_name|x\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"global/read-only\" is required to perform this operation.\n\nThis has been available since SEMP API version 2.24.", ObjectType: broker.StandardObject, PathTemplate: "/oauthProfiles/{oauthProfileName}/accessLevelGroups/{groupName}", Version: 0, Attributes: []*broker.AttributeInfo{ + { + BaseType: broker.String, + SempName: "id", + TerraformName: "id", + Type: types.StringType, + TerraformType: tftypes.String, + Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, + Default: "", + }, { BaseType: broker.String, SempName: "description", @@ -100,6 +110,7 @@ func init() { Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, StringValidators: []validator.String{ stringvalidator.LengthBetween(1, 32), + stringvalidator.RegexMatches(regexp.MustCompile("^[A-Za-z0-9_]+$"), ""), }, }, }, diff --git a/internal/broker/generated/OauthProfileAccessLevelGroupMsgVpnAccessLevelException.go b/internal/broker/generated/OauthProfileAccessLevelGroupMsgVpnAccessLevelException.go index 68045e6..5a06ae6 100644 --- a/internal/broker/generated/OauthProfileAccessLevelGroupMsgVpnAccessLevelException.go +++ b/internal/broker/generated/OauthProfileAccessLevelGroupMsgVpnAccessLevelException.go @@ -28,11 +28,20 @@ import ( func init() { info := broker.EntityInputs{ TerraformName: "oauth_profile_access_level_group_msg_vpn_access_level_exception", - MarkdownDescription: "Message VPN access-level exceptions for members of this group.\n\n\nAttribute|Identifying|Write-Only|Deprecated|Opaque\n:---|:---:|:---:|:---:|:---:\ngroup_name|x|||\nmsg_vpn_name|x|||\noauth_profile_name|x|||\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"global/read-only\" is required to perform this operation.\n\nThis has been available since 2.24.", + MarkdownDescription: "Message VPN access-level exceptions for members of this group.\n\n\nAttribute|Identifying\n:---|:---:\ngroup_name|x\nmsg_vpn_name|x\noauth_profile_name|x\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"global/read-only\" is required to perform this operation.\n\nThis has been available since SEMP API version 2.24.", ObjectType: broker.StandardObject, PathTemplate: "/oauthProfiles/{oauthProfileName}/accessLevelGroups/{groupName}/msgVpnAccessLevelExceptions/{msgVpnName}", Version: 0, Attributes: []*broker.AttributeInfo{ + { + BaseType: broker.String, + SempName: "id", + TerraformName: "id", + Type: types.StringType, + TerraformType: tftypes.String, + Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, + Default: "", + }, { BaseType: broker.String, SempName: "accessLevel", @@ -92,6 +101,7 @@ func init() { Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, StringValidators: []validator.String{ stringvalidator.LengthBetween(1, 32), + stringvalidator.RegexMatches(regexp.MustCompile("^[A-Za-z0-9_]+$"), ""), }, }, }, diff --git a/internal/broker/generated/OauthProfileClientAllowedHost.go b/internal/broker/generated/OauthProfileClientAllowedHost.go index 407e93f..275114c 100644 --- a/internal/broker/generated/OauthProfileClientAllowedHost.go +++ b/internal/broker/generated/OauthProfileClientAllowedHost.go @@ -21,18 +21,28 @@ import ( "github.com/hashicorp/terraform-plugin-framework/schema/validator" "github.com/hashicorp/terraform-plugin-framework/types" "github.com/hashicorp/terraform-plugin-go/tftypes" + "regexp" "terraform-provider-solacebroker/internal/broker" ) func init() { info := broker.EntityInputs{ TerraformName: "oauth_profile_client_allowed_host", - MarkdownDescription: "A valid hostname for this broker in OAuth redirects.\n\n\nAttribute|Identifying|Write-Only|Deprecated|Opaque\n:---|:---:|:---:|:---:|:---:\nallowed_host|x|||\noauth_profile_name|x|||\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"global/read-only\" is required to perform this operation.\n\nThis has been available since 2.24.", + MarkdownDescription: "A valid hostname for this broker in OAuth redirects.\n\n\nAttribute|Identifying\n:---|:---:\nallowed_host|x\noauth_profile_name|x\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"global/read-only\" is required to perform this operation.\n\nThis has been available since SEMP API version 2.24.", ObjectType: broker.ReplaceOnlyObject, PathTemplate: "/oauthProfiles/{oauthProfileName}/clientAllowedHosts/{allowedHost}", PostPathTemplate: "/oauthProfiles/{oauthProfileName}/clientAllowedHosts", Version: 0, Attributes: []*broker.AttributeInfo{ + { + BaseType: broker.String, + SempName: "id", + TerraformName: "id", + Type: types.StringType, + TerraformType: tftypes.String, + Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, + Default: "", + }, { BaseType: broker.String, SempName: "allowedHost", @@ -62,6 +72,7 @@ func init() { Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, StringValidators: []validator.String{ stringvalidator.LengthBetween(1, 32), + stringvalidator.RegexMatches(regexp.MustCompile("^[A-Za-z0-9_]+$"), ""), }, }, }, diff --git a/internal/broker/generated/OauthProfileClientAuthorizationParameter.go b/internal/broker/generated/OauthProfileClientAuthorizationParameter.go index 5292355..133e5bc 100644 --- a/internal/broker/generated/OauthProfileClientAuthorizationParameter.go +++ b/internal/broker/generated/OauthProfileClientAuthorizationParameter.go @@ -21,17 +21,27 @@ import ( "github.com/hashicorp/terraform-plugin-framework/schema/validator" "github.com/hashicorp/terraform-plugin-framework/types" "github.com/hashicorp/terraform-plugin-go/tftypes" + "regexp" "terraform-provider-solacebroker/internal/broker" ) func init() { info := broker.EntityInputs{ TerraformName: "oauth_profile_client_authorization_parameter", - MarkdownDescription: "Additional parameters to be passed to the OAuth authorization endpoint.\n\n\nAttribute|Identifying|Write-Only|Deprecated|Opaque\n:---|:---:|:---:|:---:|:---:\nauthorization_parameter_name|x|||\noauth_profile_name|x|||\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"global/read-only\" is required to perform this operation.\n\nThis has been available since 2.24.", + MarkdownDescription: "Additional parameters to be passed to the OAuth authorization endpoint.\n\n\nAttribute|Identifying\n:---|:---:\nauthorization_parameter_name|x\noauth_profile_name|x\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"global/read-only\" is required to perform this operation.\n\nThis has been available since SEMP API version 2.24.", ObjectType: broker.StandardObject, PathTemplate: "/oauthProfiles/{oauthProfileName}/clientAuthorizationParameters/{authorizationParameterName}", Version: 0, Attributes: []*broker.AttributeInfo{ + { + BaseType: broker.String, + SempName: "id", + TerraformName: "id", + Type: types.StringType, + TerraformType: tftypes.String, + Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, + Default: "", + }, { BaseType: broker.String, SempName: "authorizationParameterName", @@ -74,6 +84,7 @@ func init() { Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, StringValidators: []validator.String{ stringvalidator.LengthBetween(1, 32), + stringvalidator.RegexMatches(regexp.MustCompile("^[A-Za-z0-9_]+$"), ""), }, }, }, diff --git a/internal/broker/generated/OauthProfileClientRequiredClaim.go b/internal/broker/generated/OauthProfileClientRequiredClaim.go index e6db90d..22a4618 100644 --- a/internal/broker/generated/OauthProfileClientRequiredClaim.go +++ b/internal/broker/generated/OauthProfileClientRequiredClaim.go @@ -21,18 +21,28 @@ import ( "github.com/hashicorp/terraform-plugin-framework/schema/validator" "github.com/hashicorp/terraform-plugin-framework/types" "github.com/hashicorp/terraform-plugin-go/tftypes" + "regexp" "terraform-provider-solacebroker/internal/broker" ) func init() { info := broker.EntityInputs{ TerraformName: "oauth_profile_client_required_claim", - MarkdownDescription: "Additional claims to be verified in the ID token.\n\n\nAttribute|Identifying|Write-Only|Deprecated|Opaque\n:---|:---:|:---:|:---:|:---:\nclient_required_claim_name|x|||\noauth_profile_name|x|||\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"global/read-only\" is required to perform this operation.\n\nThis has been available since 2.24.", + MarkdownDescription: "Additional claims to be verified in the ID token.\n\n\nAttribute|Identifying\n:---|:---:\nclient_required_claim_name|x\noauth_profile_name|x\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"global/read-only\" is required to perform this operation.\n\nThis has been available since SEMP API version 2.24.", ObjectType: broker.ReplaceOnlyObject, PathTemplate: "/oauthProfiles/{oauthProfileName}/clientRequiredClaims/{clientRequiredClaimName}", PostPathTemplate: "/oauthProfiles/{oauthProfileName}/clientRequiredClaims", Version: 0, Attributes: []*broker.AttributeInfo{ + { + BaseType: broker.String, + SempName: "id", + TerraformName: "id", + Type: types.StringType, + TerraformType: tftypes.String, + Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, + Default: "", + }, { BaseType: broker.String, SempName: "clientRequiredClaimName", @@ -76,6 +86,7 @@ func init() { Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, StringValidators: []validator.String{ stringvalidator.LengthBetween(1, 32), + stringvalidator.RegexMatches(regexp.MustCompile("^[A-Za-z0-9_]+$"), ""), }, }, }, diff --git a/internal/broker/generated/OauthProfileDefaultMsgVpnAccessLevelException.go b/internal/broker/generated/OauthProfileDefaultMsgVpnAccessLevelException.go index e2ac8b4..a2c30df 100644 --- a/internal/broker/generated/OauthProfileDefaultMsgVpnAccessLevelException.go +++ b/internal/broker/generated/OauthProfileDefaultMsgVpnAccessLevelException.go @@ -28,11 +28,20 @@ import ( func init() { info := broker.EntityInputs{ TerraformName: "oauth_profile_default_msg_vpn_access_level_exception", - MarkdownDescription: "Default message VPN access-level exceptions.\n\n\nAttribute|Identifying|Write-Only|Deprecated|Opaque\n:---|:---:|:---:|:---:|:---:\nmsg_vpn_name|x|||\noauth_profile_name|x|||\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"global/read-only\" is required to perform this operation.\n\nThis has been available since 2.24.", + MarkdownDescription: "Default message VPN access-level exceptions.\n\n\nAttribute|Identifying\n:---|:---:\nmsg_vpn_name|x\noauth_profile_name|x\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"global/read-only\" is required to perform this operation.\n\nThis has been available since SEMP API version 2.24.", ObjectType: broker.StandardObject, PathTemplate: "/oauthProfiles/{oauthProfileName}/defaultMsgVpnAccessLevelExceptions/{msgVpnName}", Version: 0, Attributes: []*broker.AttributeInfo{ + { + BaseType: broker.String, + SempName: "id", + TerraformName: "id", + Type: types.StringType, + TerraformType: tftypes.String, + Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, + Default: "", + }, { BaseType: broker.String, SempName: "accessLevel", @@ -76,6 +85,7 @@ func init() { Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, StringValidators: []validator.String{ stringvalidator.LengthBetween(1, 32), + stringvalidator.RegexMatches(regexp.MustCompile("^[A-Za-z0-9_]+$"), ""), }, }, }, diff --git a/internal/broker/generated/OauthProfileResourceServerRequiredClaim.go b/internal/broker/generated/OauthProfileResourceServerRequiredClaim.go index 89e1af5..cff2990 100644 --- a/internal/broker/generated/OauthProfileResourceServerRequiredClaim.go +++ b/internal/broker/generated/OauthProfileResourceServerRequiredClaim.go @@ -21,18 +21,28 @@ import ( "github.com/hashicorp/terraform-plugin-framework/schema/validator" "github.com/hashicorp/terraform-plugin-framework/types" "github.com/hashicorp/terraform-plugin-go/tftypes" + "regexp" "terraform-provider-solacebroker/internal/broker" ) func init() { info := broker.EntityInputs{ TerraformName: "oauth_profile_resource_server_required_claim", - MarkdownDescription: "Additional claims to be verified in the access token.\n\n\nAttribute|Identifying|Write-Only|Deprecated|Opaque\n:---|:---:|:---:|:---:|:---:\noauth_profile_name|x|||\nresource_server_required_claim_name|x|||\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"global/read-only\" is required to perform this operation.\n\nThis has been available since 2.24.", + MarkdownDescription: "Additional claims to be verified in the access token.\n\n\nAttribute|Identifying\n:---|:---:\noauth_profile_name|x\nresource_server_required_claim_name|x\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"global/read-only\" is required to perform this operation.\n\nThis has been available since SEMP API version 2.24.", ObjectType: broker.ReplaceOnlyObject, PathTemplate: "/oauthProfiles/{oauthProfileName}/resourceServerRequiredClaims/{resourceServerRequiredClaimName}", PostPathTemplate: "/oauthProfiles/{oauthProfileName}/resourceServerRequiredClaims", Version: 0, Attributes: []*broker.AttributeInfo{ + { + BaseType: broker.String, + SempName: "id", + TerraformName: "id", + Type: types.StringType, + TerraformType: tftypes.String, + Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, + Default: "", + }, { BaseType: broker.String, SempName: "oauthProfileName", @@ -47,6 +57,7 @@ func init() { Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, StringValidators: []validator.String{ stringvalidator.LengthBetween(1, 32), + stringvalidator.RegexMatches(regexp.MustCompile("^[A-Za-z0-9_]+$"), ""), }, }, { diff --git a/internal/broker/generated/SystemInformation.go b/internal/broker/generated/SystemInformation.go deleted file mode 100644 index 37fc552..0000000 --- a/internal/broker/generated/SystemInformation.go +++ /dev/null @@ -1,68 +0,0 @@ -// terraform-provider-solacebroker -// -// Copyright 2023 Solace Corporation. All rights reserved. -// -// Licensed under the Apache License, Version 2.0 (the "License"); -// you may not use this file except in compliance with the License. -// You may obtain a copy of the License at -// -// http://www.apache.org/licenses/LICENSE-2.0 -// -// Unless required by applicable law or agreed to in writing, software -// distributed under the License is distributed on an "AS IS" BASIS, -// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -// See the License for the specific language governing permissions and -// limitations under the License. - -package generated - -import ( - "github.com/hashicorp/terraform-plugin-framework-validators/stringvalidator" - "github.com/hashicorp/terraform-plugin-framework/schema/validator" - "github.com/hashicorp/terraform-plugin-framework/types" - "github.com/hashicorp/terraform-plugin-go/tftypes" - "terraform-provider-solacebroker/internal/broker" -) - -func init() { - info := broker.EntityInputs{ - TerraformName: "system_information", - MarkdownDescription: "The System Information object provides metadata about the SEMP API.\n\n\nAttribute|Identifying|Write-Only|Deprecated|Opaque\n:---|:---:|:---:|:---:|:---:\nplatform|||x|\nsemp_version|||x|\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"global/none\" is required to perform this operation.\n\nThis has been deprecated since 2.4. /systemInformation was replaced by /about/api.", - ObjectType: broker.DataSourceObject, - PathTemplate: "/systemInformation", - Version: 0, - Attributes: []*broker.AttributeInfo{ - { - BaseType: broker.String, - SempName: "platform", - TerraformName: "platform", - MarkdownDescription: "The platform running the SEMP API. Deprecated since 2.4. /systemInformation was replaced by /about/api.", - ReadOnly: true, - RequiresReplace: true, - Deprecated: true, - Type: types.StringType, - TerraformType: tftypes.String, - Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, - StringValidators: []validator.String{ - stringvalidator.LengthBetween(0, 10), - }, - }, - { - BaseType: broker.String, - SempName: "sempVersion", - TerraformName: "semp_version", - MarkdownDescription: "The version of the SEMP API. Deprecated since 2.4. /systemInformation was replaced by /about/api.", - ReadOnly: true, - RequiresReplace: true, - Deprecated: true, - Type: types.StringType, - TerraformType: tftypes.String, - Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, - StringValidators: []validator.String{ - stringvalidator.LengthBetween(0, 10), - }, - }, - }, - } - broker.RegisterDataSource(info) -} diff --git a/internal/broker/generated/VersionDetails.go b/internal/broker/generated/VersionDetails.go new file mode 100644 index 0000000..40380e5 --- /dev/null +++ b/internal/broker/generated/VersionDetails.go @@ -0,0 +1,26 @@ +// terraform-provider-solacebroker +// +// Copyright 2023 Solace Corporation. All rights reserved. +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +package generated + +import "terraform-provider-solacebroker/internal/broker" + +const BasePath = "/SEMP/v2/config" +const SempVersion = "2.38+" + +func init() { + broker.RegisterSempVersionDetails(BasePath, SempVersion) +} diff --git a/internal/broker/generated/VirtualHostname.go b/internal/broker/generated/VirtualHostname.go index b29a674..05b1e04 100644 --- a/internal/broker/generated/VirtualHostname.go +++ b/internal/broker/generated/VirtualHostname.go @@ -28,11 +28,20 @@ import ( func init() { info := broker.EntityInputs{ TerraformName: "virtual_hostname", - MarkdownDescription: "A Virtual Hostname is a provisioned object on a message broker that contains a Virtual Hostname to Message VPN mapping.\n\nClients which connect to a global (as opposed to per Message VPN) port and provides this hostname will be directed to its corresponding Message VPN. A case-insentive match is performed on the full client-provided hostname against the configured virtual-hostname.\n\nThis mechanism is only supported for hostnames provided through the Server Name Indication (SNI) extension of TLS.\n\n\nAttribute|Identifying|Write-Only|Deprecated|Opaque\n:---|:---:|:---:|:---:|:---:\nvirtual_hostname|x|||\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"global/read-only\" is required to perform this operation.\n\nThis has been available since 2.17.", + MarkdownDescription: "A Virtual Hostname is a provisioned object on a message broker that contains a Virtual Hostname to Message VPN mapping.\n\nClients which connect to a global (as opposed to per Message VPN) port and provides this hostname will be directed to its corresponding Message VPN. A case-insentive match is performed on the full client-provided hostname against the configured virtual-hostname.\n\nThis mechanism is only supported for hostnames provided through the Server Name Indication (SNI) extension of TLS.\n\n\nAttribute|Identifying\n:---|:---:\nvirtual_hostname|x\n\n\n\nA SEMP client authorized with a minimum access scope/level of \"global/read-only\" is required to perform this operation.\n\nThis has been available since SEMP API version 2.17.", ObjectType: broker.StandardObject, PathTemplate: "/virtualHostnames/{virtualHostname}", Version: 0, Attributes: []*broker.AttributeInfo{ + { + BaseType: broker.String, + SempName: "id", + TerraformName: "id", + Type: types.StringType, + TerraformType: tftypes.String, + Converter: broker.SimpleConverter[string]{TerraformType: tftypes.String}, + Default: "", + }, { BaseType: broker.Bool, SempName: "enabled", diff --git a/version.go b/version.go index 8a4c578..e0032c7 100644 --- a/version.go +++ b/version.go @@ -16,4 +16,4 @@ package main -const version = "0.2.33" +const version = "0.2.34" From b1f60ec72122d91ef14a824d226032cd85934a05 Mon Sep 17 00:00:00 2001 From: Loadbuild User Date: Fri, 24 Nov 2023 19:44:49 -0500 Subject: [PATCH 2/4] Updating generated source matching API 100.0main.0.820 --- internal/broker/generated/VersionDetails.go | 2 +- version.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/broker/generated/VersionDetails.go b/internal/broker/generated/VersionDetails.go index 40380e5..b08a98e 100644 --- a/internal/broker/generated/VersionDetails.go +++ b/internal/broker/generated/VersionDetails.go @@ -19,7 +19,7 @@ package generated import "terraform-provider-solacebroker/internal/broker" const BasePath = "/SEMP/v2/config" -const SempVersion = "2.38+" +const SempVersion = "2.39+" func init() { broker.RegisterSempVersionDetails(BasePath, SempVersion) diff --git a/version.go b/version.go index e0032c7..cc2855e 100644 --- a/version.go +++ b/version.go @@ -16,4 +16,4 @@ package main -const version = "0.2.34" +const version = "0.2.35" From cea026bfa47a5f993a86d94208ccb47f00665320 Mon Sep 17 00:00:00 2001 From: Loadbuild User Date: Tue, 28 Nov 2023 17:45:20 -0500 Subject: [PATCH 3/4] Updating generated source matching API 100.0main.0.821 --- version.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/version.go b/version.go index cc2855e..045e416 100644 --- a/version.go +++ b/version.go @@ -16,4 +16,4 @@ package main -const version = "0.2.35" +const version = "0.2.36" From a47ad713af0dbbb7628c48741b19f5899e546c2f Mon Sep 17 00:00:00 2001 From: Loadbuild User Date: Fri, 1 Dec 2023 11:39:47 -0500 Subject: [PATCH 4/4] Updating generated source matching API 100.0main.0.822 --- version.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/version.go b/version.go index 045e416..fcb9c31 100644 --- a/version.go +++ b/version.go @@ -16,4 +16,4 @@ package main -const version = "0.2.36" +const version = "0.2.37"