getSolFunctionPackageContent
inline suspend fun TnbClient.getSolFunctionPackageContent(crossinline block: GetSolFunctionPackageContentRequest.Builder.() -> Unit): GetSolFunctionPackageContentResponse
Gets the contents of a function package.
A function package is a .zip file in CSAR (Cloud Service Archive) format that contains a network function (an ETSI standard telecommunication application) and function package descriptor that uses the TOSCA standard to describe how the network functions should run on your network.
Samples
fun main() {
//sampleStart
// Get the content of a function package
val resp = tnbClient.getSolFunctionPackageContent {
accept = PackageContentType.fromValue("application/zip")
vnfPkgId = "fp-07aa863e53460a2a6"
}
//sampleEnd
}