createApiKey

fun createApiKey(apiVersion: String, productSubscriptionKey: String): Flow<NetworkResult<ApiKey>>

Gets the API Key based on the ApiUser Id and OCP Subscription Id.

Return

A Flow emitting a NetworkResult containing the ApiKey.

Parameters

apiVersion

The version of the API to use.

productSubscriptionKey

The subscription key for the product.