getApi

suspend fun getApi(argument: GetApiPlainArgs): GetApiResult

Gets the details of the API specified by its identifier. API Version: 2020-12-01.

Return

Api details.

Parameters

argument

null


suspend fun getApi(apiId: String, resourceGroupName: String, serviceName: String): GetApiResult

Return

Api details.

Parameters

apiId

API revision identifier. Must be unique in the current API Management service instance. Non-current revision has ;rev=n as a suffix where n is the revision number.

resourceGroupName

The name of the resource group.

serviceName

The name of the API Management service.

See also


suspend fun getApi(argument: suspend GetApiPlainArgsBuilder.() -> Unit): GetApiResult

Return

Api details.

Parameters

argument

Builder for com.pulumi.azurenative.apimanagement.kotlin.inputs.GetApiPlainArgs.

See also