getSolFunctionPackageDescriptor
inline suspend fun TnbClient.getSolFunctionPackageDescriptor(crossinline block: GetSolFunctionPackageDescriptorRequest.Builder.() -> Unit): GetSolFunctionPackageDescriptorResponse
Gets a function package descriptor in a function package.
A function package descriptor is a .yaml file in a function package that uses the TOSCA standard to describe how the network function in the function package should run on your network.
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 descriptor of a function package
val resp = tnbClient.getSolFunctionPackageDescriptor {
accept = DescriptorContentType.fromValue("text/plain")
vnfPkgId = "fp-07aa863e53460a2a6"
}
//sampleEnd
}