updateSolNetworkInstance

Update 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.

Samples

import aws.smithy.kotlin.runtime.content.Document
import aws.smithy.kotlin.runtime.content.buildDocument
fun main() { 
   //sampleStart 
   // Update a Sol Network Instance
val resp = tnbClient.updateSolNetworkInstance {
    nsInstanceId = "ni-0d5b823eb5c2a9241"
    updateType = UpdateSolNetworkType.fromValue("MODIFY_VNF_INFORMATION")
    modifyVnfInfoData = UpdateSolNetworkModify {
        vnfInstanceId = "fi-0d5b823eb5c2a9241"
        vnfConfigurableProperties = buildDocument {
            "pcf.port" to Document("8080")
            "pcf.pods" to Document("10")
        }
    }
    tags = mapOf<String, String>(
        "Name" to "Resource"
    )
} 
   //sampleEnd
}