createSolNetworkInstance
abstract suspend fun createSolNetworkInstance(input: CreateSolNetworkInstanceRequest): CreateSolNetworkInstanceResponse
Creates 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. Creating a network instance is the third step after creating a network package. For more information about network instances, Network instances in the Amazon Web Services Telco Network Builder User Guide.
Once you create a network instance, you can instantiate it. To instantiate a network, see InstantiateSolNetworkInstance.
Samples
fun main() {
//sampleStart
// Create a Sol Network Instance
val resp = tnbClient.createSolNetworkInstance {
nsdInfoId = "np-0d5b823eb5c2a9241"
nsName = "CITY Instance"
nsDescription = "Test network for CITY"
tags = mapOf<String, String>(
"Name" to "Resource"
)
}
//sampleEnd
}