diff --git a/openstack/dms/v2/kafka/instances/results.go b/openstack/dms/v2/kafka/instances/results.go index 0f66e0269..a16ca7f99 100644 --- a/openstack/dms/v2/kafka/instances/results.go +++ b/openstack/dms/v2/kafka/instances/results.go @@ -107,6 +107,7 @@ type Instance struct { Tags []tags.ResourceTag `json:"tags"` CertReplaced bool `json:"cert_replaced"` SslTwoWayEnable bool `json:"ssl_two_way_enable"` + PortProtocols PortProtocols `json:"port_protocols"` } type Task struct { @@ -115,6 +116,27 @@ type Task struct { CreatedAt string `json:"created_at"` } +type PortProtocols struct { + PrivatePlainEnable bool `json:"private_plain_enable"` + PrivatePlainAddress string `json:"private_plain_address"` + PrivatePlainDomainName string `json:"private_plain_domain_name"` + PrivateSaslSslEnable bool `json:"private_sasl_ssl_enable"` + PrivateSaslSslAddress string `json:"private_sasl_ssl_address"` + PrivateSaslSslDomainName string `json:"private_sasl_ssl_domain_name"` + PrivateSaslPlaintextEnable bool `json:"private_sasl_plaintext_enable"` + PrivateSaslPlaintextAddress string `json:"private_sasl_plaintext_address"` + PrivateSaslPlaintextDomainName string `json:"private_sasl_plaintext_domain_name"` + PublicPlainEnable bool `json:"public_plain_enable"` + PublicPlainAddress string `json:"public_plain_address"` + PublicPlainDomainName string `json:"public_plain_domain_name"` + PublicSaslSslEnable bool `json:"public_sasl_ssl_enable"` + PublicSaslSslAddress string `json:"public_sasl_ssl_address"` + PublicSaslSslDomainName string `json:"public_sasl_ssl_domain_name"` + PublicSaslPlaintextEnable bool `json:"public_sasl_plaintext_enable"` + PublicSaslPlaintextAddress string `json:"public_sasl_plaintext_address"` + PublicSaslPlaintextDomainName string `json:"public_sasl_plaintext_domain_name"` +} + // UpdateResult is a struct from which can get the result of update method type UpdateResult struct { golangsdk.Result