updateServiceAttributes
Submits a request to update a specified service to add service-level attributes.
Samples
fun main() {
//sampleStart
// This example submits a request to update the specified service to add a port attribute with the
// value 80.
val resp = serviceDiscoveryClient.updateServiceAttributes {
serviceId = "srv-e4anhexample0004"
attributes = mapOf<String, String>(
"port" to "80"
)
}
//sampleEnd
}