updateSolNetworkPackage

Updates the operational state of a network package.

A network package is a .zip file in CSAR (Cloud Service Archive) format defines the function packages you want to deploy and the Amazon Web Services infrastructure you want to deploy them on.

A network service descriptor is a .yaml file in a network package that uses the TOSCA standard to describe the network functions you want to deploy and the Amazon Web Services infrastructure you want to deploy the network functions on.

Samples


fun main() { 
   //sampleStart 
   // Enable a network package s Operational State
val resp = tnbClient.updateSolNetworkPackage {
    nsdInfoId = "np-0d5b823eb5c2a9241"
    nsdOperationalState = NsdOperationalState.fromValue("ENABLED")
} 
   //sampleEnd
}

fun main() { 
   //sampleStart 
   // Disable a network package s Operational State
val resp = tnbClient.updateSolNetworkPackage {
    nsdInfoId = "np-0d5b823eb5c2a9241"
    nsdOperationalState = NsdOperationalState.fromValue("DISABLED")
} 
   //sampleEnd
}