terminateSolNetworkInstance
inline suspend fun TnbClient.terminateSolNetworkInstance(crossinline block: TerminateSolNetworkInstanceRequest.Builder.() -> Unit): TerminateSolNetworkInstanceResponse
Terminates a network instance.
A network instance is a single network created in Amazon Web Services TNB that can be deployed and on which life-cycle operations (like terminate, update, and delete) can be performed.
You must terminate a network instance before you can delete it.
Samples
fun main() {
//sampleStart
// Terminate a Sol Network Instance
val resp = tnbClient.terminateSolNetworkInstance {
nsInstanceId = "ni-0d5b823eb5c2a9241"
tags = mapOf<String, String>(
"Name" to "Resource"
)
}
//sampleEnd
}