getApi

suspend fun getApi(argument: GetApiPlainArgs): GetApiResult

Returns details of the API. Uses Azure REST API version 2024-03-01. Other available API versions: 2024-03-15-preview, 2024-06-01-preview.

Return

API entity.

Parameters

argument

null


suspend fun getApi(apiName: String, resourceGroupName: String, serviceName: String, workspaceName: String): GetApiResult

Return

API entity.

Parameters

apiName

The name of the API.

resourceGroupName

The name of the resource group. The name is case insensitive.

serviceName

The name of Azure API Center service.

workspaceName

The name of the workspace.

See also


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

Return

API entity.

Parameters

argument

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

See also