All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.googlenative.apigee.v1.kotlin.Apigee_v1Functions.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.googlenative.apigee.v1.kotlin

import com.pulumi.googlenative.apigee.v1.Apigee_v1Functions.getAliasPlain
import com.pulumi.googlenative.apigee.v1.Apigee_v1Functions.getApiPlain
import com.pulumi.googlenative.apigee.v1.Apigee_v1Functions.getApiProductPlain
import com.pulumi.googlenative.apigee.v1.Apigee_v1Functions.getApicategoryPlain
import com.pulumi.googlenative.apigee.v1.Apigee_v1Functions.getAppPlain
import com.pulumi.googlenative.apigee.v1.Apigee_v1Functions.getArchiveDeploymentPlain
import com.pulumi.googlenative.apigee.v1.Apigee_v1Functions.getCanaryEvaluationPlain
import com.pulumi.googlenative.apigee.v1.Apigee_v1Functions.getDataCollectorPlain
import com.pulumi.googlenative.apigee.v1.Apigee_v1Functions.getDatastorePlain
import com.pulumi.googlenative.apigee.v1.Apigee_v1Functions.getDebugSessionPlain
import com.pulumi.googlenative.apigee.v1.Apigee_v1Functions.getDeveloperPlain
import com.pulumi.googlenative.apigee.v1.Apigee_v1Functions.getEndpointAttachmentPlain
import com.pulumi.googlenative.apigee.v1.Apigee_v1Functions.getEntryPlain
import com.pulumi.googlenative.apigee.v1.Apigee_v1Functions.getEnvgroupAttachmentPlain
import com.pulumi.googlenative.apigee.v1.Apigee_v1Functions.getEnvgroupPlain
import com.pulumi.googlenative.apigee.v1.Apigee_v1Functions.getEnvironmentEntryPlain
import com.pulumi.googlenative.apigee.v1.Apigee_v1Functions.getEnvironmentPlain
import com.pulumi.googlenative.apigee.v1.Apigee_v1Functions.getExportPlain
import com.pulumi.googlenative.apigee.v1.Apigee_v1Functions.getHostQueryPlain
import com.pulumi.googlenative.apigee.v1.Apigee_v1Functions.getHostSecurityReportPlain
import com.pulumi.googlenative.apigee.v1.Apigee_v1Functions.getInstanceAttachmentPlain
import com.pulumi.googlenative.apigee.v1.Apigee_v1Functions.getInstancePlain
import com.pulumi.googlenative.apigee.v1.Apigee_v1Functions.getKeyPlain
import com.pulumi.googlenative.apigee.v1.Apigee_v1Functions.getKeystorePlain
import com.pulumi.googlenative.apigee.v1.Apigee_v1Functions.getNatAddressPlain
import com.pulumi.googlenative.apigee.v1.Apigee_v1Functions.getOrganizationEnvironmentIamPolicyPlain
import com.pulumi.googlenative.apigee.v1.Apigee_v1Functions.getOrganizationPlain
import com.pulumi.googlenative.apigee.v1.Apigee_v1Functions.getOverridePlain
import com.pulumi.googlenative.apigee.v1.Apigee_v1Functions.getQueryPlain
import com.pulumi.googlenative.apigee.v1.Apigee_v1Functions.getRatePlanPlain
import com.pulumi.googlenative.apigee.v1.Apigee_v1Functions.getReferencePlain
import com.pulumi.googlenative.apigee.v1.Apigee_v1Functions.getReportPlain
import com.pulumi.googlenative.apigee.v1.Apigee_v1Functions.getResourcefilePlain
import com.pulumi.googlenative.apigee.v1.Apigee_v1Functions.getSecurityReportPlain
import com.pulumi.googlenative.apigee.v1.Apigee_v1Functions.getSharedflowPlain
import com.pulumi.googlenative.apigee.v1.Apigee_v1Functions.getSubscriptionPlain
import com.pulumi.googlenative.apigee.v1.Apigee_v1Functions.getTargetServerPlain
import com.pulumi.googlenative.apigee.v1.kotlin.inputs.GetAliasPlainArgs
import com.pulumi.googlenative.apigee.v1.kotlin.inputs.GetAliasPlainArgsBuilder
import com.pulumi.googlenative.apigee.v1.kotlin.inputs.GetApiPlainArgs
import com.pulumi.googlenative.apigee.v1.kotlin.inputs.GetApiPlainArgsBuilder
import com.pulumi.googlenative.apigee.v1.kotlin.inputs.GetApiProductPlainArgs
import com.pulumi.googlenative.apigee.v1.kotlin.inputs.GetApiProductPlainArgsBuilder
import com.pulumi.googlenative.apigee.v1.kotlin.inputs.GetApicategoryPlainArgs
import com.pulumi.googlenative.apigee.v1.kotlin.inputs.GetApicategoryPlainArgsBuilder
import com.pulumi.googlenative.apigee.v1.kotlin.inputs.GetAppPlainArgs
import com.pulumi.googlenative.apigee.v1.kotlin.inputs.GetAppPlainArgsBuilder
import com.pulumi.googlenative.apigee.v1.kotlin.inputs.GetArchiveDeploymentPlainArgs
import com.pulumi.googlenative.apigee.v1.kotlin.inputs.GetArchiveDeploymentPlainArgsBuilder
import com.pulumi.googlenative.apigee.v1.kotlin.inputs.GetCanaryEvaluationPlainArgs
import com.pulumi.googlenative.apigee.v1.kotlin.inputs.GetCanaryEvaluationPlainArgsBuilder
import com.pulumi.googlenative.apigee.v1.kotlin.inputs.GetDataCollectorPlainArgs
import com.pulumi.googlenative.apigee.v1.kotlin.inputs.GetDataCollectorPlainArgsBuilder
import com.pulumi.googlenative.apigee.v1.kotlin.inputs.GetDatastorePlainArgs
import com.pulumi.googlenative.apigee.v1.kotlin.inputs.GetDatastorePlainArgsBuilder
import com.pulumi.googlenative.apigee.v1.kotlin.inputs.GetDebugSessionPlainArgs
import com.pulumi.googlenative.apigee.v1.kotlin.inputs.GetDebugSessionPlainArgsBuilder
import com.pulumi.googlenative.apigee.v1.kotlin.inputs.GetDeveloperPlainArgs
import com.pulumi.googlenative.apigee.v1.kotlin.inputs.GetDeveloperPlainArgsBuilder
import com.pulumi.googlenative.apigee.v1.kotlin.inputs.GetEndpointAttachmentPlainArgs
import com.pulumi.googlenative.apigee.v1.kotlin.inputs.GetEndpointAttachmentPlainArgsBuilder
import com.pulumi.googlenative.apigee.v1.kotlin.inputs.GetEntryPlainArgs
import com.pulumi.googlenative.apigee.v1.kotlin.inputs.GetEntryPlainArgsBuilder
import com.pulumi.googlenative.apigee.v1.kotlin.inputs.GetEnvgroupAttachmentPlainArgs
import com.pulumi.googlenative.apigee.v1.kotlin.inputs.GetEnvgroupAttachmentPlainArgsBuilder
import com.pulumi.googlenative.apigee.v1.kotlin.inputs.GetEnvgroupPlainArgs
import com.pulumi.googlenative.apigee.v1.kotlin.inputs.GetEnvgroupPlainArgsBuilder
import com.pulumi.googlenative.apigee.v1.kotlin.inputs.GetEnvironmentEntryPlainArgs
import com.pulumi.googlenative.apigee.v1.kotlin.inputs.GetEnvironmentEntryPlainArgsBuilder
import com.pulumi.googlenative.apigee.v1.kotlin.inputs.GetEnvironmentPlainArgs
import com.pulumi.googlenative.apigee.v1.kotlin.inputs.GetEnvironmentPlainArgsBuilder
import com.pulumi.googlenative.apigee.v1.kotlin.inputs.GetExportPlainArgs
import com.pulumi.googlenative.apigee.v1.kotlin.inputs.GetExportPlainArgsBuilder
import com.pulumi.googlenative.apigee.v1.kotlin.inputs.GetHostQueryPlainArgs
import com.pulumi.googlenative.apigee.v1.kotlin.inputs.GetHostQueryPlainArgsBuilder
import com.pulumi.googlenative.apigee.v1.kotlin.inputs.GetHostSecurityReportPlainArgs
import com.pulumi.googlenative.apigee.v1.kotlin.inputs.GetHostSecurityReportPlainArgsBuilder
import com.pulumi.googlenative.apigee.v1.kotlin.inputs.GetInstanceAttachmentPlainArgs
import com.pulumi.googlenative.apigee.v1.kotlin.inputs.GetInstanceAttachmentPlainArgsBuilder
import com.pulumi.googlenative.apigee.v1.kotlin.inputs.GetInstancePlainArgs
import com.pulumi.googlenative.apigee.v1.kotlin.inputs.GetInstancePlainArgsBuilder
import com.pulumi.googlenative.apigee.v1.kotlin.inputs.GetKeyPlainArgs
import com.pulumi.googlenative.apigee.v1.kotlin.inputs.GetKeyPlainArgsBuilder
import com.pulumi.googlenative.apigee.v1.kotlin.inputs.GetKeystorePlainArgs
import com.pulumi.googlenative.apigee.v1.kotlin.inputs.GetKeystorePlainArgsBuilder
import com.pulumi.googlenative.apigee.v1.kotlin.inputs.GetNatAddressPlainArgs
import com.pulumi.googlenative.apigee.v1.kotlin.inputs.GetNatAddressPlainArgsBuilder
import com.pulumi.googlenative.apigee.v1.kotlin.inputs.GetOrganizationEnvironmentIamPolicyPlainArgs
import com.pulumi.googlenative.apigee.v1.kotlin.inputs.GetOrganizationEnvironmentIamPolicyPlainArgsBuilder
import com.pulumi.googlenative.apigee.v1.kotlin.inputs.GetOrganizationPlainArgs
import com.pulumi.googlenative.apigee.v1.kotlin.inputs.GetOrganizationPlainArgsBuilder
import com.pulumi.googlenative.apigee.v1.kotlin.inputs.GetOverridePlainArgs
import com.pulumi.googlenative.apigee.v1.kotlin.inputs.GetOverridePlainArgsBuilder
import com.pulumi.googlenative.apigee.v1.kotlin.inputs.GetQueryPlainArgs
import com.pulumi.googlenative.apigee.v1.kotlin.inputs.GetQueryPlainArgsBuilder
import com.pulumi.googlenative.apigee.v1.kotlin.inputs.GetRatePlanPlainArgs
import com.pulumi.googlenative.apigee.v1.kotlin.inputs.GetRatePlanPlainArgsBuilder
import com.pulumi.googlenative.apigee.v1.kotlin.inputs.GetReferencePlainArgs
import com.pulumi.googlenative.apigee.v1.kotlin.inputs.GetReferencePlainArgsBuilder
import com.pulumi.googlenative.apigee.v1.kotlin.inputs.GetReportPlainArgs
import com.pulumi.googlenative.apigee.v1.kotlin.inputs.GetReportPlainArgsBuilder
import com.pulumi.googlenative.apigee.v1.kotlin.inputs.GetResourcefilePlainArgs
import com.pulumi.googlenative.apigee.v1.kotlin.inputs.GetResourcefilePlainArgsBuilder
import com.pulumi.googlenative.apigee.v1.kotlin.inputs.GetSecurityReportPlainArgs
import com.pulumi.googlenative.apigee.v1.kotlin.inputs.GetSecurityReportPlainArgsBuilder
import com.pulumi.googlenative.apigee.v1.kotlin.inputs.GetSharedflowPlainArgs
import com.pulumi.googlenative.apigee.v1.kotlin.inputs.GetSharedflowPlainArgsBuilder
import com.pulumi.googlenative.apigee.v1.kotlin.inputs.GetSubscriptionPlainArgs
import com.pulumi.googlenative.apigee.v1.kotlin.inputs.GetSubscriptionPlainArgsBuilder
import com.pulumi.googlenative.apigee.v1.kotlin.inputs.GetTargetServerPlainArgs
import com.pulumi.googlenative.apigee.v1.kotlin.inputs.GetTargetServerPlainArgsBuilder
import com.pulumi.googlenative.apigee.v1.kotlin.outputs.GetAliasResult
import com.pulumi.googlenative.apigee.v1.kotlin.outputs.GetApiProductResult
import com.pulumi.googlenative.apigee.v1.kotlin.outputs.GetApiResult
import com.pulumi.googlenative.apigee.v1.kotlin.outputs.GetApicategoryResult
import com.pulumi.googlenative.apigee.v1.kotlin.outputs.GetAppResult
import com.pulumi.googlenative.apigee.v1.kotlin.outputs.GetArchiveDeploymentResult
import com.pulumi.googlenative.apigee.v1.kotlin.outputs.GetCanaryEvaluationResult
import com.pulumi.googlenative.apigee.v1.kotlin.outputs.GetDataCollectorResult
import com.pulumi.googlenative.apigee.v1.kotlin.outputs.GetDatastoreResult
import com.pulumi.googlenative.apigee.v1.kotlin.outputs.GetDebugSessionResult
import com.pulumi.googlenative.apigee.v1.kotlin.outputs.GetDeveloperResult
import com.pulumi.googlenative.apigee.v1.kotlin.outputs.GetEndpointAttachmentResult
import com.pulumi.googlenative.apigee.v1.kotlin.outputs.GetEntryResult
import com.pulumi.googlenative.apigee.v1.kotlin.outputs.GetEnvgroupAttachmentResult
import com.pulumi.googlenative.apigee.v1.kotlin.outputs.GetEnvgroupResult
import com.pulumi.googlenative.apigee.v1.kotlin.outputs.GetEnvironmentEntryResult
import com.pulumi.googlenative.apigee.v1.kotlin.outputs.GetEnvironmentResult
import com.pulumi.googlenative.apigee.v1.kotlin.outputs.GetExportResult
import com.pulumi.googlenative.apigee.v1.kotlin.outputs.GetHostQueryResult
import com.pulumi.googlenative.apigee.v1.kotlin.outputs.GetHostSecurityReportResult
import com.pulumi.googlenative.apigee.v1.kotlin.outputs.GetInstanceAttachmentResult
import com.pulumi.googlenative.apigee.v1.kotlin.outputs.GetInstanceResult
import com.pulumi.googlenative.apigee.v1.kotlin.outputs.GetKeyResult
import com.pulumi.googlenative.apigee.v1.kotlin.outputs.GetKeystoreResult
import com.pulumi.googlenative.apigee.v1.kotlin.outputs.GetNatAddressResult
import com.pulumi.googlenative.apigee.v1.kotlin.outputs.GetOrganizationEnvironmentIamPolicyResult
import com.pulumi.googlenative.apigee.v1.kotlin.outputs.GetOrganizationResult
import com.pulumi.googlenative.apigee.v1.kotlin.outputs.GetOverrideResult
import com.pulumi.googlenative.apigee.v1.kotlin.outputs.GetQueryResult
import com.pulumi.googlenative.apigee.v1.kotlin.outputs.GetRatePlanResult
import com.pulumi.googlenative.apigee.v1.kotlin.outputs.GetReferenceResult
import com.pulumi.googlenative.apigee.v1.kotlin.outputs.GetReportResult
import com.pulumi.googlenative.apigee.v1.kotlin.outputs.GetResourcefileResult
import com.pulumi.googlenative.apigee.v1.kotlin.outputs.GetSecurityReportResult
import com.pulumi.googlenative.apigee.v1.kotlin.outputs.GetSharedflowResult
import com.pulumi.googlenative.apigee.v1.kotlin.outputs.GetSubscriptionResult
import com.pulumi.googlenative.apigee.v1.kotlin.outputs.GetTargetServerResult
import kotlinx.coroutines.future.await
import kotlin.Int
import kotlin.String
import kotlin.Suppress
import kotlin.Unit
import com.pulumi.googlenative.apigee.v1.kotlin.outputs.GetAliasResult.Companion.toKotlin as getAliasResultToKotlin
import com.pulumi.googlenative.apigee.v1.kotlin.outputs.GetApiProductResult.Companion.toKotlin as getApiProductResultToKotlin
import com.pulumi.googlenative.apigee.v1.kotlin.outputs.GetApiResult.Companion.toKotlin as getApiResultToKotlin
import com.pulumi.googlenative.apigee.v1.kotlin.outputs.GetApicategoryResult.Companion.toKotlin as getApicategoryResultToKotlin
import com.pulumi.googlenative.apigee.v1.kotlin.outputs.GetAppResult.Companion.toKotlin as getAppResultToKotlin
import com.pulumi.googlenative.apigee.v1.kotlin.outputs.GetArchiveDeploymentResult.Companion.toKotlin as getArchiveDeploymentResultToKotlin
import com.pulumi.googlenative.apigee.v1.kotlin.outputs.GetCanaryEvaluationResult.Companion.toKotlin as getCanaryEvaluationResultToKotlin
import com.pulumi.googlenative.apigee.v1.kotlin.outputs.GetDataCollectorResult.Companion.toKotlin as getDataCollectorResultToKotlin
import com.pulumi.googlenative.apigee.v1.kotlin.outputs.GetDatastoreResult.Companion.toKotlin as getDatastoreResultToKotlin
import com.pulumi.googlenative.apigee.v1.kotlin.outputs.GetDebugSessionResult.Companion.toKotlin as getDebugSessionResultToKotlin
import com.pulumi.googlenative.apigee.v1.kotlin.outputs.GetDeveloperResult.Companion.toKotlin as getDeveloperResultToKotlin
import com.pulumi.googlenative.apigee.v1.kotlin.outputs.GetEndpointAttachmentResult.Companion.toKotlin as getEndpointAttachmentResultToKotlin
import com.pulumi.googlenative.apigee.v1.kotlin.outputs.GetEntryResult.Companion.toKotlin as getEntryResultToKotlin
import com.pulumi.googlenative.apigee.v1.kotlin.outputs.GetEnvgroupAttachmentResult.Companion.toKotlin as getEnvgroupAttachmentResultToKotlin
import com.pulumi.googlenative.apigee.v1.kotlin.outputs.GetEnvgroupResult.Companion.toKotlin as getEnvgroupResultToKotlin
import com.pulumi.googlenative.apigee.v1.kotlin.outputs.GetEnvironmentEntryResult.Companion.toKotlin as getEnvironmentEntryResultToKotlin
import com.pulumi.googlenative.apigee.v1.kotlin.outputs.GetEnvironmentResult.Companion.toKotlin as getEnvironmentResultToKotlin
import com.pulumi.googlenative.apigee.v1.kotlin.outputs.GetExportResult.Companion.toKotlin as getExportResultToKotlin
import com.pulumi.googlenative.apigee.v1.kotlin.outputs.GetHostQueryResult.Companion.toKotlin as getHostQueryResultToKotlin
import com.pulumi.googlenative.apigee.v1.kotlin.outputs.GetHostSecurityReportResult.Companion.toKotlin as getHostSecurityReportResultToKotlin
import com.pulumi.googlenative.apigee.v1.kotlin.outputs.GetInstanceAttachmentResult.Companion.toKotlin as getInstanceAttachmentResultToKotlin
import com.pulumi.googlenative.apigee.v1.kotlin.outputs.GetInstanceResult.Companion.toKotlin as getInstanceResultToKotlin
import com.pulumi.googlenative.apigee.v1.kotlin.outputs.GetKeyResult.Companion.toKotlin as getKeyResultToKotlin
import com.pulumi.googlenative.apigee.v1.kotlin.outputs.GetKeystoreResult.Companion.toKotlin as getKeystoreResultToKotlin
import com.pulumi.googlenative.apigee.v1.kotlin.outputs.GetNatAddressResult.Companion.toKotlin as getNatAddressResultToKotlin
import com.pulumi.googlenative.apigee.v1.kotlin.outputs.GetOrganizationEnvironmentIamPolicyResult.Companion.toKotlin as getOrganizationEnvironmentIamPolicyResultToKotlin
import com.pulumi.googlenative.apigee.v1.kotlin.outputs.GetOrganizationResult.Companion.toKotlin as getOrganizationResultToKotlin
import com.pulumi.googlenative.apigee.v1.kotlin.outputs.GetOverrideResult.Companion.toKotlin as getOverrideResultToKotlin
import com.pulumi.googlenative.apigee.v1.kotlin.outputs.GetQueryResult.Companion.toKotlin as getQueryResultToKotlin
import com.pulumi.googlenative.apigee.v1.kotlin.outputs.GetRatePlanResult.Companion.toKotlin as getRatePlanResultToKotlin
import com.pulumi.googlenative.apigee.v1.kotlin.outputs.GetReferenceResult.Companion.toKotlin as getReferenceResultToKotlin
import com.pulumi.googlenative.apigee.v1.kotlin.outputs.GetReportResult.Companion.toKotlin as getReportResultToKotlin
import com.pulumi.googlenative.apigee.v1.kotlin.outputs.GetResourcefileResult.Companion.toKotlin as getResourcefileResultToKotlin
import com.pulumi.googlenative.apigee.v1.kotlin.outputs.GetSecurityReportResult.Companion.toKotlin as getSecurityReportResultToKotlin
import com.pulumi.googlenative.apigee.v1.kotlin.outputs.GetSharedflowResult.Companion.toKotlin as getSharedflowResultToKotlin
import com.pulumi.googlenative.apigee.v1.kotlin.outputs.GetSubscriptionResult.Companion.toKotlin as getSubscriptionResultToKotlin
import com.pulumi.googlenative.apigee.v1.kotlin.outputs.GetTargetServerResult.Companion.toKotlin as getTargetServerResultToKotlin

public object Apigee_v1Functions {
    /**
     * Gets an alias.
     * @param argument null
     * @return null
     */
    public suspend fun getAlias(argument: GetAliasPlainArgs): GetAliasResult =
        getAliasResultToKotlin(getAliasPlain(argument.toJava()).await())

    /**
     * @see [getAlias].
     * @param aliasId
     * @param environmentId
     * @param keystoreId
     * @param organizationId
     * @return null
     */
    public suspend fun getAlias(
        aliasId: String,
        environmentId: String,
        keystoreId: String,
        organizationId: String,
    ): GetAliasResult {
        val argument = GetAliasPlainArgs(
            aliasId = aliasId,
            environmentId = environmentId,
            keystoreId = keystoreId,
            organizationId = organizationId,
        )
        return getAliasResultToKotlin(getAliasPlain(argument.toJava()).await())
    }

    /**
     * @see [getAlias].
     * @param argument Builder for [com.pulumi.googlenative.apigee.v1.kotlin.inputs.GetAliasPlainArgs].
     * @return null
     */
    public suspend fun getAlias(argument: suspend GetAliasPlainArgsBuilder.() -> Unit): GetAliasResult {
        val builder = GetAliasPlainArgsBuilder()
        builder.argument()
        val builtArgument = builder.build()
        return getAliasResultToKotlin(getAliasPlain(builtArgument.toJava()).await())
    }

    /**
     * Gets an API proxy including a list of existing revisions.
     * @param argument null
     * @return null
     */
    public suspend fun getApi(argument: GetApiPlainArgs): GetApiResult =
        getApiResultToKotlin(getApiPlain(argument.toJava()).await())

    /**
     * @see [getApi].
     * @param apiId
     * @param organizationId
     * @return null
     */
    public suspend fun getApi(apiId: String, organizationId: String): GetApiResult {
        val argument = GetApiPlainArgs(
            apiId = apiId,
            organizationId = organizationId,
        )
        return getApiResultToKotlin(getApiPlain(argument.toJava()).await())
    }

    /**
     * @see [getApi].
     * @param argument Builder for [com.pulumi.googlenative.apigee.v1.kotlin.inputs.GetApiPlainArgs].
     * @return null
     */
    public suspend fun getApi(argument: suspend GetApiPlainArgsBuilder.() -> Unit): GetApiResult {
        val builder = GetApiPlainArgsBuilder()
        builder.argument()
        val builtArgument = builder.build()
        return getApiResultToKotlin(getApiPlain(builtArgument.toJava()).await())
    }

    /**
     * Gets configuration details for an API product. The API product name required in the request URL is the internal name of the product, not the display name. While they may be the same, it depends on whether the API product was created via the UI or the API. View the list of API products to verify the internal name.
     * @param argument null
     * @return null
     */
    public suspend fun getApiProduct(argument: GetApiProductPlainArgs): GetApiProductResult =
        getApiProductResultToKotlin(getApiProductPlain(argument.toJava()).await())

    /**
     * @see [getApiProduct].
     * @param apiproductId
     * @param organizationId
     * @return null
     */
    public suspend fun getApiProduct(apiproductId: String, organizationId: String): GetApiProductResult {
        val argument = GetApiProductPlainArgs(
            apiproductId = apiproductId,
            organizationId = organizationId,
        )
        return getApiProductResultToKotlin(getApiProductPlain(argument.toJava()).await())
    }

    /**
     * @see [getApiProduct].
     * @param argument Builder for [com.pulumi.googlenative.apigee.v1.kotlin.inputs.GetApiProductPlainArgs].
     * @return null
     */
    public suspend fun getApiProduct(argument: suspend GetApiProductPlainArgsBuilder.() -> Unit): GetApiProductResult {
        val builder = GetApiProductPlainArgsBuilder()
        builder.argument()
        val builtArgument = builder.build()
        return getApiProductResultToKotlin(getApiProductPlain(builtArgument.toJava()).await())
    }

    /**
     * Gets a category on the portal.
     * @param argument null
     * @return null
     */
    public suspend fun getApicategory(argument: GetApicategoryPlainArgs): GetApicategoryResult =
        getApicategoryResultToKotlin(getApicategoryPlain(argument.toJava()).await())

    /**
     * @see [getApicategory].
     * @param apicategoryId
     * @param organizationId
     * @param siteId
     * @return null
     */
    public suspend fun getApicategory(
        apicategoryId: String,
        organizationId: String,
        siteId: String,
    ): GetApicategoryResult {
        val argument = GetApicategoryPlainArgs(
            apicategoryId = apicategoryId,
            organizationId = organizationId,
            siteId = siteId,
        )
        return getApicategoryResultToKotlin(getApicategoryPlain(argument.toJava()).await())
    }

    /**
     * @see [getApicategory].
     * @param argument Builder for [com.pulumi.googlenative.apigee.v1.kotlin.inputs.GetApicategoryPlainArgs].
     * @return null
     */
    public suspend fun getApicategory(argument: suspend GetApicategoryPlainArgsBuilder.() -> Unit): GetApicategoryResult {
        val builder = GetApicategoryPlainArgsBuilder()
        builder.argument()
        val builtArgument = builder.build()
        return getApicategoryResultToKotlin(getApicategoryPlain(builtArgument.toJava()).await())
    }

    /**
     * Returns the details for a developer app.
     * @param argument null
     * @return null
     */
    public suspend fun getApp(argument: GetAppPlainArgs): GetAppResult =
        getAppResultToKotlin(getAppPlain(argument.toJava()).await())

    /**
     * @see [getApp].
     * @param appId
     * @param developerId
     * @param entity
     * @param organizationId
     * @param query
     * @return null
     */
    public suspend fun getApp(
        appId: String,
        developerId: String,
        entity: String? = null,
        organizationId: String,
        query: String? = null,
    ): GetAppResult {
        val argument = GetAppPlainArgs(
            appId = appId,
            developerId = developerId,
            entity = entity,
            organizationId = organizationId,
            query = query,
        )
        return getAppResultToKotlin(getAppPlain(argument.toJava()).await())
    }

    /**
     * @see [getApp].
     * @param argument Builder for [com.pulumi.googlenative.apigee.v1.kotlin.inputs.GetAppPlainArgs].
     * @return null
     */
    public suspend fun getApp(argument: suspend GetAppPlainArgsBuilder.() -> Unit): GetAppResult {
        val builder = GetAppPlainArgsBuilder()
        builder.argument()
        val builtArgument = builder.build()
        return getAppResultToKotlin(getAppPlain(builtArgument.toJava()).await())
    }

    /**
     * Gets the specified ArchiveDeployment.
     * @param argument null
     * @return null
     */
    public suspend fun getArchiveDeployment(argument: GetArchiveDeploymentPlainArgs): GetArchiveDeploymentResult =
        getArchiveDeploymentResultToKotlin(getArchiveDeploymentPlain(argument.toJava()).await())

    /**
     * @see [getArchiveDeployment].
     * @param archiveDeploymentId
     * @param environmentId
     * @param organizationId
     * @return null
     */
    public suspend fun getArchiveDeployment(
        archiveDeploymentId: String,
        environmentId: String,
        organizationId: String,
    ): GetArchiveDeploymentResult {
        val argument = GetArchiveDeploymentPlainArgs(
            archiveDeploymentId = archiveDeploymentId,
            environmentId = environmentId,
            organizationId = organizationId,
        )
        return getArchiveDeploymentResultToKotlin(getArchiveDeploymentPlain(argument.toJava()).await())
    }

    /**
     * @see [getArchiveDeployment].
     * @param argument Builder for [com.pulumi.googlenative.apigee.v1.kotlin.inputs.GetArchiveDeploymentPlainArgs].
     * @return null
     */
    public suspend fun getArchiveDeployment(argument: suspend GetArchiveDeploymentPlainArgsBuilder.() -> Unit): GetArchiveDeploymentResult {
        val builder = GetArchiveDeploymentPlainArgsBuilder()
        builder.argument()
        val builtArgument = builder.build()
        return getArchiveDeploymentResultToKotlin(getArchiveDeploymentPlain(builtArgument.toJava()).await())
    }

    /**
     * Gets a CanaryEvaluation for an organization.
     * @param argument null
     * @return null
     */
    public suspend fun getCanaryEvaluation(argument: GetCanaryEvaluationPlainArgs): GetCanaryEvaluationResult =
        getCanaryEvaluationResultToKotlin(getCanaryEvaluationPlain(argument.toJava()).await())

    /**
     * @see [getCanaryEvaluation].
     * @param canaryevaluationId
     * @param instanceId
     * @param organizationId
     * @return null
     */
    public suspend fun getCanaryEvaluation(
        canaryevaluationId: String,
        instanceId: String,
        organizationId: String,
    ): GetCanaryEvaluationResult {
        val argument = GetCanaryEvaluationPlainArgs(
            canaryevaluationId = canaryevaluationId,
            instanceId = instanceId,
            organizationId = organizationId,
        )
        return getCanaryEvaluationResultToKotlin(getCanaryEvaluationPlain(argument.toJava()).await())
    }

    /**
     * @see [getCanaryEvaluation].
     * @param argument Builder for [com.pulumi.googlenative.apigee.v1.kotlin.inputs.GetCanaryEvaluationPlainArgs].
     * @return null
     */
    public suspend fun getCanaryEvaluation(argument: suspend GetCanaryEvaluationPlainArgsBuilder.() -> Unit): GetCanaryEvaluationResult {
        val builder = GetCanaryEvaluationPlainArgsBuilder()
        builder.argument()
        val builtArgument = builder.build()
        return getCanaryEvaluationResultToKotlin(getCanaryEvaluationPlain(builtArgument.toJava()).await())
    }

    /**
     * Gets a data collector.
     * @param argument null
     * @return null
     */
    public suspend fun getDataCollector(argument: GetDataCollectorPlainArgs): GetDataCollectorResult =
        getDataCollectorResultToKotlin(getDataCollectorPlain(argument.toJava()).await())

    /**
     * @see [getDataCollector].
     * @param datacollectorId
     * @param organizationId
     * @return null
     */
    public suspend fun getDataCollector(datacollectorId: String, organizationId: String): GetDataCollectorResult {
        val argument = GetDataCollectorPlainArgs(
            datacollectorId = datacollectorId,
            organizationId = organizationId,
        )
        return getDataCollectorResultToKotlin(getDataCollectorPlain(argument.toJava()).await())
    }

    /**
     * @see [getDataCollector].
     * @param argument Builder for [com.pulumi.googlenative.apigee.v1.kotlin.inputs.GetDataCollectorPlainArgs].
     * @return null
     */
    public suspend fun getDataCollector(argument: suspend GetDataCollectorPlainArgsBuilder.() -> Unit): GetDataCollectorResult {
        val builder = GetDataCollectorPlainArgsBuilder()
        builder.argument()
        val builtArgument = builder.build()
        return getDataCollectorResultToKotlin(getDataCollectorPlain(builtArgument.toJava()).await())
    }

    /**
     * Get a Datastore
     * @param argument null
     * @return null
     */
    public suspend fun getDatastore(argument: GetDatastorePlainArgs): GetDatastoreResult =
        getDatastoreResultToKotlin(getDatastorePlain(argument.toJava()).await())

    /**
     * @see [getDatastore].
     * @param datastoreId
     * @param organizationId
     * @return null
     */
    public suspend fun getDatastore(datastoreId: String, organizationId: String): GetDatastoreResult {
        val argument = GetDatastorePlainArgs(
            datastoreId = datastoreId,
            organizationId = organizationId,
        )
        return getDatastoreResultToKotlin(getDatastorePlain(argument.toJava()).await())
    }

    /**
     * @see [getDatastore].
     * @param argument Builder for [com.pulumi.googlenative.apigee.v1.kotlin.inputs.GetDatastorePlainArgs].
     * @return null
     */
    public suspend fun getDatastore(argument: suspend GetDatastorePlainArgsBuilder.() -> Unit): GetDatastoreResult {
        val builder = GetDatastorePlainArgsBuilder()
        builder.argument()
        val builtArgument = builder.build()
        return getDatastoreResultToKotlin(getDatastorePlain(builtArgument.toJava()).await())
    }

    /**
     * Retrieves a debug session.
     * @param argument null
     * @return null
     */
    public suspend fun getDebugSession(argument: GetDebugSessionPlainArgs): GetDebugSessionResult =
        getDebugSessionResultToKotlin(getDebugSessionPlain(argument.toJava()).await())

    /**
     * @see [getDebugSession].
     * @param apiId
     * @param debugsessionId
     * @param environmentId
     * @param organizationId
     * @param revisionId
     * @return null
     */
    public suspend fun getDebugSession(
        apiId: String,
        debugsessionId: String,
        environmentId: String,
        organizationId: String,
        revisionId: String,
    ): GetDebugSessionResult {
        val argument = GetDebugSessionPlainArgs(
            apiId = apiId,
            debugsessionId = debugsessionId,
            environmentId = environmentId,
            organizationId = organizationId,
            revisionId = revisionId,
        )
        return getDebugSessionResultToKotlin(getDebugSessionPlain(argument.toJava()).await())
    }

    /**
     * @see [getDebugSession].
     * @param argument Builder for [com.pulumi.googlenative.apigee.v1.kotlin.inputs.GetDebugSessionPlainArgs].
     * @return null
     */
    public suspend fun getDebugSession(argument: suspend GetDebugSessionPlainArgsBuilder.() -> Unit): GetDebugSessionResult {
        val builder = GetDebugSessionPlainArgsBuilder()
        builder.argument()
        val builtArgument = builder.build()
        return getDebugSessionResultToKotlin(getDebugSessionPlain(builtArgument.toJava()).await())
    }

    /**
     * Returns the developer details, including the developer's name, email address, apps, and other information. **Note**: The response includes only the first 100 developer apps.
     * @param argument null
     * @return null
     */
    public suspend fun getDeveloper(argument: GetDeveloperPlainArgs): GetDeveloperResult =
        getDeveloperResultToKotlin(getDeveloperPlain(argument.toJava()).await())

    /**
     * @see [getDeveloper].
     * @param action
     * @param developerId
     * @param organizationId
     * @return null
     */
    public suspend fun getDeveloper(
        action: String? = null,
        developerId: String,
        organizationId: String,
    ): GetDeveloperResult {
        val argument = GetDeveloperPlainArgs(
            action = action,
            developerId = developerId,
            organizationId = organizationId,
        )
        return getDeveloperResultToKotlin(getDeveloperPlain(argument.toJava()).await())
    }

    /**
     * @see [getDeveloper].
     * @param argument Builder for [com.pulumi.googlenative.apigee.v1.kotlin.inputs.GetDeveloperPlainArgs].
     * @return null
     */
    public suspend fun getDeveloper(argument: suspend GetDeveloperPlainArgsBuilder.() -> Unit): GetDeveloperResult {
        val builder = GetDeveloperPlainArgsBuilder()
        builder.argument()
        val builtArgument = builder.build()
        return getDeveloperResultToKotlin(getDeveloperPlain(builtArgument.toJava()).await())
    }

    /**
     * Gets the endpoint attachment.
     * @param argument null
     * @return null
     */
    public suspend fun getEndpointAttachment(argument: GetEndpointAttachmentPlainArgs): GetEndpointAttachmentResult =
        getEndpointAttachmentResultToKotlin(getEndpointAttachmentPlain(argument.toJava()).await())

    /**
     * @see [getEndpointAttachment].
     * @param endpointAttachmentId
     * @param organizationId
     * @return null
     */
    public suspend fun getEndpointAttachment(endpointAttachmentId: String, organizationId: String): GetEndpointAttachmentResult {
        val argument = GetEndpointAttachmentPlainArgs(
            endpointAttachmentId = endpointAttachmentId,
            organizationId = organizationId,
        )
        return getEndpointAttachmentResultToKotlin(getEndpointAttachmentPlain(argument.toJava()).await())
    }

    /**
     * @see [getEndpointAttachment].
     * @param argument Builder for [com.pulumi.googlenative.apigee.v1.kotlin.inputs.GetEndpointAttachmentPlainArgs].
     * @return null
     */
    public suspend fun getEndpointAttachment(argument: suspend GetEndpointAttachmentPlainArgsBuilder.() -> Unit): GetEndpointAttachmentResult {
        val builder = GetEndpointAttachmentPlainArgsBuilder()
        builder.argument()
        val builtArgument = builder.build()
        return getEndpointAttachmentResultToKotlin(getEndpointAttachmentPlain(builtArgument.toJava()).await())
    }

    /**
     * Get the key value entry value for a key value map scoped to an organization, environment, or API proxy. **Note**: Supported for Apigee hybrid 1.8.x and higher.
     * @param argument null
     * @return null
     */
    public suspend fun getEntry(argument: GetEntryPlainArgs): GetEntryResult =
        getEntryResultToKotlin(getEntryPlain(argument.toJava()).await())

    /**
     * @see [getEntry].
     * @param apiId
     * @param entryId
     * @param keyvaluemapId
     * @param organizationId
     * @return null
     */
    public suspend fun getEntry(
        apiId: String,
        entryId: String,
        keyvaluemapId: String,
        organizationId: String,
    ): GetEntryResult {
        val argument = GetEntryPlainArgs(
            apiId = apiId,
            entryId = entryId,
            keyvaluemapId = keyvaluemapId,
            organizationId = organizationId,
        )
        return getEntryResultToKotlin(getEntryPlain(argument.toJava()).await())
    }

    /**
     * @see [getEntry].
     * @param argument Builder for [com.pulumi.googlenative.apigee.v1.kotlin.inputs.GetEntryPlainArgs].
     * @return null
     */
    public suspend fun getEntry(argument: suspend GetEntryPlainArgsBuilder.() -> Unit): GetEntryResult {
        val builder = GetEntryPlainArgsBuilder()
        builder.argument()
        val builtArgument = builder.build()
        return getEntryResultToKotlin(getEntryPlain(builtArgument.toJava()).await())
    }

    /**
     * Gets an environment group.
     * @param argument null
     * @return null
     */
    public suspend fun getEnvgroup(argument: GetEnvgroupPlainArgs): GetEnvgroupResult =
        getEnvgroupResultToKotlin(getEnvgroupPlain(argument.toJava()).await())

    /**
     * @see [getEnvgroup].
     * @param envgroupId
     * @param organizationId
     * @return null
     */
    public suspend fun getEnvgroup(envgroupId: String, organizationId: String): GetEnvgroupResult {
        val argument = GetEnvgroupPlainArgs(
            envgroupId = envgroupId,
            organizationId = organizationId,
        )
        return getEnvgroupResultToKotlin(getEnvgroupPlain(argument.toJava()).await())
    }

    /**
     * @see [getEnvgroup].
     * @param argument Builder for [com.pulumi.googlenative.apigee.v1.kotlin.inputs.GetEnvgroupPlainArgs].
     * @return null
     */
    public suspend fun getEnvgroup(argument: suspend GetEnvgroupPlainArgsBuilder.() -> Unit): GetEnvgroupResult {
        val builder = GetEnvgroupPlainArgsBuilder()
        builder.argument()
        val builtArgument = builder.build()
        return getEnvgroupResultToKotlin(getEnvgroupPlain(builtArgument.toJava()).await())
    }

    /**
     * Gets an environment group attachment.
     * @param argument null
     * @return null
     */
    public suspend fun getEnvgroupAttachment(argument: GetEnvgroupAttachmentPlainArgs): GetEnvgroupAttachmentResult =
        getEnvgroupAttachmentResultToKotlin(getEnvgroupAttachmentPlain(argument.toJava()).await())

    /**
     * @see [getEnvgroupAttachment].
     * @param attachmentId
     * @param envgroupId
     * @param organizationId
     * @return null
     */
    public suspend fun getEnvgroupAttachment(
        attachmentId: String,
        envgroupId: String,
        organizationId: String,
    ): GetEnvgroupAttachmentResult {
        val argument = GetEnvgroupAttachmentPlainArgs(
            attachmentId = attachmentId,
            envgroupId = envgroupId,
            organizationId = organizationId,
        )
        return getEnvgroupAttachmentResultToKotlin(getEnvgroupAttachmentPlain(argument.toJava()).await())
    }

    /**
     * @see [getEnvgroupAttachment].
     * @param argument Builder for [com.pulumi.googlenative.apigee.v1.kotlin.inputs.GetEnvgroupAttachmentPlainArgs].
     * @return null
     */
    public suspend fun getEnvgroupAttachment(argument: suspend GetEnvgroupAttachmentPlainArgsBuilder.() -> Unit): GetEnvgroupAttachmentResult {
        val builder = GetEnvgroupAttachmentPlainArgsBuilder()
        builder.argument()
        val builtArgument = builder.build()
        return getEnvgroupAttachmentResultToKotlin(getEnvgroupAttachmentPlain(builtArgument.toJava()).await())
    }

    /**
     * Gets environment details.
     * @param argument null
     * @return null
     */
    public suspend fun getEnvironment(argument: GetEnvironmentPlainArgs): GetEnvironmentResult =
        getEnvironmentResultToKotlin(getEnvironmentPlain(argument.toJava()).await())

    /**
     * @see [getEnvironment].
     * @param environmentId
     * @param organizationId
     * @return null
     */
    public suspend fun getEnvironment(environmentId: String, organizationId: String): GetEnvironmentResult {
        val argument = GetEnvironmentPlainArgs(
            environmentId = environmentId,
            organizationId = organizationId,
        )
        return getEnvironmentResultToKotlin(getEnvironmentPlain(argument.toJava()).await())
    }

    /**
     * @see [getEnvironment].
     * @param argument Builder for [com.pulumi.googlenative.apigee.v1.kotlin.inputs.GetEnvironmentPlainArgs].
     * @return null
     */
    public suspend fun getEnvironment(argument: suspend GetEnvironmentPlainArgsBuilder.() -> Unit): GetEnvironmentResult {
        val builder = GetEnvironmentPlainArgsBuilder()
        builder.argument()
        val builtArgument = builder.build()
        return getEnvironmentResultToKotlin(getEnvironmentPlain(builtArgument.toJava()).await())
    }

    /**
     * Get the key value entry value for a key value map scoped to an organization, environment, or API proxy. **Note**: Supported for Apigee hybrid 1.8.x and higher.
     * @param argument null
     * @return null
     */
    public suspend fun getEnvironmentEntry(argument: GetEnvironmentEntryPlainArgs): GetEnvironmentEntryResult =
        getEnvironmentEntryResultToKotlin(getEnvironmentEntryPlain(argument.toJava()).await())

    /**
     * @see [getEnvironmentEntry].
     * @param entryId
     * @param environmentId
     * @param keyvaluemapId
     * @param organizationId
     * @return null
     */
    public suspend fun getEnvironmentEntry(
        entryId: String,
        environmentId: String,
        keyvaluemapId: String,
        organizationId: String,
    ): GetEnvironmentEntryResult {
        val argument = GetEnvironmentEntryPlainArgs(
            entryId = entryId,
            environmentId = environmentId,
            keyvaluemapId = keyvaluemapId,
            organizationId = organizationId,
        )
        return getEnvironmentEntryResultToKotlin(getEnvironmentEntryPlain(argument.toJava()).await())
    }

    /**
     * @see [getEnvironmentEntry].
     * @param argument Builder for [com.pulumi.googlenative.apigee.v1.kotlin.inputs.GetEnvironmentEntryPlainArgs].
     * @return null
     */
    public suspend fun getEnvironmentEntry(argument: suspend GetEnvironmentEntryPlainArgsBuilder.() -> Unit): GetEnvironmentEntryResult {
        val builder = GetEnvironmentEntryPlainArgsBuilder()
        builder.argument()
        val builtArgument = builder.build()
        return getEnvironmentEntryResultToKotlin(getEnvironmentEntryPlain(builtArgument.toJava()).await())
    }

    /**
     * Gets the details and status of an analytics export job. If the export job is still in progress, its `state` is set to "running". After the export job has completed successfully, its `state` is set to "completed". If the export job fails, its `state` is set to `failed`.
     * @param argument null
     * @return null
     */
    public suspend fun getExport(argument: GetExportPlainArgs): GetExportResult =
        getExportResultToKotlin(getExportPlain(argument.toJava()).await())

    /**
     * @see [getExport].
     * @param environmentId
     * @param exportId
     * @param organizationId
     * @return null
     */
    public suspend fun getExport(
        environmentId: String,
        exportId: String,
        organizationId: String,
    ): GetExportResult {
        val argument = GetExportPlainArgs(
            environmentId = environmentId,
            exportId = exportId,
            organizationId = organizationId,
        )
        return getExportResultToKotlin(getExportPlain(argument.toJava()).await())
    }

    /**
     * @see [getExport].
     * @param argument Builder for [com.pulumi.googlenative.apigee.v1.kotlin.inputs.GetExportPlainArgs].
     * @return null
     */
    public suspend fun getExport(argument: suspend GetExportPlainArgsBuilder.() -> Unit): GetExportResult {
        val builder = GetExportPlainArgsBuilder()
        builder.argument()
        val builtArgument = builder.build()
        return getExportResultToKotlin(getExportPlain(builtArgument.toJava()).await())
    }

    /**
     * Get status of a query submitted at host level. If the query is still in progress, the `state` is set to "running" After the query has completed successfully, `state` is set to "completed"
     * @param argument null
     * @return null
     */
    public suspend fun getHostQuery(argument: GetHostQueryPlainArgs): GetHostQueryResult =
        getHostQueryResultToKotlin(getHostQueryPlain(argument.toJava()).await())

    /**
     * @see [getHostQuery].
     * @param hostQueryId
     * @param organizationId
     * @return null
     */
    public suspend fun getHostQuery(hostQueryId: String, organizationId: String): GetHostQueryResult {
        val argument = GetHostQueryPlainArgs(
            hostQueryId = hostQueryId,
            organizationId = organizationId,
        )
        return getHostQueryResultToKotlin(getHostQueryPlain(argument.toJava()).await())
    }

    /**
     * @see [getHostQuery].
     * @param argument Builder for [com.pulumi.googlenative.apigee.v1.kotlin.inputs.GetHostQueryPlainArgs].
     * @return null
     */
    public suspend fun getHostQuery(argument: suspend GetHostQueryPlainArgsBuilder.() -> Unit): GetHostQueryResult {
        val builder = GetHostQueryPlainArgsBuilder()
        builder.argument()
        val builtArgument = builder.build()
        return getHostQueryResultToKotlin(getHostQueryPlain(builtArgument.toJava()).await())
    }

    /**
     * Get status of a query submitted at host level. If the query is still in progress, the `state` is set to "running" After the query has completed successfully, `state` is set to "completed"
     * @param argument null
     * @return null
     */
    public suspend fun getHostSecurityReport(argument: GetHostSecurityReportPlainArgs): GetHostSecurityReportResult =
        getHostSecurityReportResultToKotlin(getHostSecurityReportPlain(argument.toJava()).await())

    /**
     * @see [getHostSecurityReport].
     * @param hostSecurityReportId
     * @param organizationId
     * @return null
     */
    public suspend fun getHostSecurityReport(hostSecurityReportId: String, organizationId: String): GetHostSecurityReportResult {
        val argument = GetHostSecurityReportPlainArgs(
            hostSecurityReportId = hostSecurityReportId,
            organizationId = organizationId,
        )
        return getHostSecurityReportResultToKotlin(getHostSecurityReportPlain(argument.toJava()).await())
    }

    /**
     * @see [getHostSecurityReport].
     * @param argument Builder for [com.pulumi.googlenative.apigee.v1.kotlin.inputs.GetHostSecurityReportPlainArgs].
     * @return null
     */
    public suspend fun getHostSecurityReport(argument: suspend GetHostSecurityReportPlainArgsBuilder.() -> Unit): GetHostSecurityReportResult {
        val builder = GetHostSecurityReportPlainArgsBuilder()
        builder.argument()
        val builtArgument = builder.build()
        return getHostSecurityReportResultToKotlin(getHostSecurityReportPlain(builtArgument.toJava()).await())
    }

    /**
     * Gets the details for an Apigee runtime instance. **Note:** Not supported for Apigee hybrid.
     * @param argument null
     * @return null
     */
    public suspend fun getInstance(argument: GetInstancePlainArgs): GetInstanceResult =
        getInstanceResultToKotlin(getInstancePlain(argument.toJava()).await())

    /**
     * @see [getInstance].
     * @param instanceId
     * @param organizationId
     * @return null
     */
    public suspend fun getInstance(instanceId: String, organizationId: String): GetInstanceResult {
        val argument = GetInstancePlainArgs(
            instanceId = instanceId,
            organizationId = organizationId,
        )
        return getInstanceResultToKotlin(getInstancePlain(argument.toJava()).await())
    }

    /**
     * @see [getInstance].
     * @param argument Builder for [com.pulumi.googlenative.apigee.v1.kotlin.inputs.GetInstancePlainArgs].
     * @return null
     */
    public suspend fun getInstance(argument: suspend GetInstancePlainArgsBuilder.() -> Unit): GetInstanceResult {
        val builder = GetInstancePlainArgsBuilder()
        builder.argument()
        val builtArgument = builder.build()
        return getInstanceResultToKotlin(getInstancePlain(builtArgument.toJava()).await())
    }

    /**
     * Gets an attachment. **Note:** Not supported for Apigee hybrid.
     * @param argument null
     * @return null
     */
    public suspend fun getInstanceAttachment(argument: GetInstanceAttachmentPlainArgs): GetInstanceAttachmentResult =
        getInstanceAttachmentResultToKotlin(getInstanceAttachmentPlain(argument.toJava()).await())

    /**
     * @see [getInstanceAttachment].
     * @param attachmentId
     * @param instanceId
     * @param organizationId
     * @return null
     */
    public suspend fun getInstanceAttachment(
        attachmentId: String,
        instanceId: String,
        organizationId: String,
    ): GetInstanceAttachmentResult {
        val argument = GetInstanceAttachmentPlainArgs(
            attachmentId = attachmentId,
            instanceId = instanceId,
            organizationId = organizationId,
        )
        return getInstanceAttachmentResultToKotlin(getInstanceAttachmentPlain(argument.toJava()).await())
    }

    /**
     * @see [getInstanceAttachment].
     * @param argument Builder for [com.pulumi.googlenative.apigee.v1.kotlin.inputs.GetInstanceAttachmentPlainArgs].
     * @return null
     */
    public suspend fun getInstanceAttachment(argument: suspend GetInstanceAttachmentPlainArgsBuilder.() -> Unit): GetInstanceAttachmentResult {
        val builder = GetInstanceAttachmentPlainArgsBuilder()
        builder.argument()
        val builtArgument = builder.build()
        return getInstanceAttachmentResultToKotlin(getInstanceAttachmentPlain(builtArgument.toJava()).await())
    }

    /**
     * Gets details for a consumer key for a developer app, including the key and secret value, associated API products, and other information.
     * @param argument null
     * @return null
     */
    public suspend fun getKey(argument: GetKeyPlainArgs): GetKeyResult =
        getKeyResultToKotlin(getKeyPlain(argument.toJava()).await())

    /**
     * @see [getKey].
     * @param appId
     * @param developerId
     * @param keyId
     * @param organizationId
     * @return null
     */
    public suspend fun getKey(
        appId: String,
        developerId: String,
        keyId: String,
        organizationId: String,
    ): GetKeyResult {
        val argument = GetKeyPlainArgs(
            appId = appId,
            developerId = developerId,
            keyId = keyId,
            organizationId = organizationId,
        )
        return getKeyResultToKotlin(getKeyPlain(argument.toJava()).await())
    }

    /**
     * @see [getKey].
     * @param argument Builder for [com.pulumi.googlenative.apigee.v1.kotlin.inputs.GetKeyPlainArgs].
     * @return null
     */
    public suspend fun getKey(argument: suspend GetKeyPlainArgsBuilder.() -> Unit): GetKeyResult {
        val builder = GetKeyPlainArgsBuilder()
        builder.argument()
        val builtArgument = builder.build()
        return getKeyResultToKotlin(getKeyPlain(builtArgument.toJava()).await())
    }

    /**
     * Gets a keystore or truststore.
     * @param argument null
     * @return null
     */
    public suspend fun getKeystore(argument: GetKeystorePlainArgs): GetKeystoreResult =
        getKeystoreResultToKotlin(getKeystorePlain(argument.toJava()).await())

    /**
     * @see [getKeystore].
     * @param environmentId
     * @param keystoreId
     * @param organizationId
     * @return null
     */
    public suspend fun getKeystore(
        environmentId: String,
        keystoreId: String,
        organizationId: String,
    ): GetKeystoreResult {
        val argument = GetKeystorePlainArgs(
            environmentId = environmentId,
            keystoreId = keystoreId,
            organizationId = organizationId,
        )
        return getKeystoreResultToKotlin(getKeystorePlain(argument.toJava()).await())
    }

    /**
     * @see [getKeystore].
     * @param argument Builder for [com.pulumi.googlenative.apigee.v1.kotlin.inputs.GetKeystorePlainArgs].
     * @return null
     */
    public suspend fun getKeystore(argument: suspend GetKeystorePlainArgsBuilder.() -> Unit): GetKeystoreResult {
        val builder = GetKeystorePlainArgsBuilder()
        builder.argument()
        val builtArgument = builder.build()
        return getKeystoreResultToKotlin(getKeystorePlain(builtArgument.toJava()).await())
    }

    /**
     * Gets the details of a NAT address. **Note:** Not supported for Apigee hybrid.
     * @param argument null
     * @return null
     */
    public suspend fun getNatAddress(argument: GetNatAddressPlainArgs): GetNatAddressResult =
        getNatAddressResultToKotlin(getNatAddressPlain(argument.toJava()).await())

    /**
     * @see [getNatAddress].
     * @param instanceId
     * @param natAddressId
     * @param organizationId
     * @return null
     */
    public suspend fun getNatAddress(
        instanceId: String,
        natAddressId: String,
        organizationId: String,
    ): GetNatAddressResult {
        val argument = GetNatAddressPlainArgs(
            instanceId = instanceId,
            natAddressId = natAddressId,
            organizationId = organizationId,
        )
        return getNatAddressResultToKotlin(getNatAddressPlain(argument.toJava()).await())
    }

    /**
     * @see [getNatAddress].
     * @param argument Builder for [com.pulumi.googlenative.apigee.v1.kotlin.inputs.GetNatAddressPlainArgs].
     * @return null
     */
    public suspend fun getNatAddress(argument: suspend GetNatAddressPlainArgsBuilder.() -> Unit): GetNatAddressResult {
        val builder = GetNatAddressPlainArgsBuilder()
        builder.argument()
        val builtArgument = builder.build()
        return getNatAddressResultToKotlin(getNatAddressPlain(builtArgument.toJava()).await())
    }

    /**
     * Gets the profile for an Apigee organization. See [Understanding organizations](https://cloud.google.com/apigee/docs/api-platform/fundamentals/organization-structure).
     * @param argument null
     * @return null
     */
    public suspend fun getOrganization(argument: GetOrganizationPlainArgs): GetOrganizationResult =
        getOrganizationResultToKotlin(getOrganizationPlain(argument.toJava()).await())

    /**
     * @see [getOrganization].
     * @param organizationId
     * @return null
     */
    public suspend fun getOrganization(organizationId: String): GetOrganizationResult {
        val argument = GetOrganizationPlainArgs(
            organizationId = organizationId,
        )
        return getOrganizationResultToKotlin(getOrganizationPlain(argument.toJava()).await())
    }

    /**
     * @see [getOrganization].
     * @param argument Builder for [com.pulumi.googlenative.apigee.v1.kotlin.inputs.GetOrganizationPlainArgs].
     * @return null
     */
    public suspend fun getOrganization(argument: suspend GetOrganizationPlainArgsBuilder.() -> Unit): GetOrganizationResult {
        val builder = GetOrganizationPlainArgsBuilder()
        builder.argument()
        val builtArgument = builder.build()
        return getOrganizationResultToKotlin(getOrganizationPlain(builtArgument.toJava()).await())
    }

    /**
     * Gets the IAM policy on an environment. For more information, see [Manage users, roles, and permissions using the API](https://cloud.google.com/apigee/docs/api-platform/system-administration/manage-users-roles). You must have the `apigee.environments.getIamPolicy` permission to call this API.
     * @param argument null
     * @return null
     */
    public suspend fun getOrganizationEnvironmentIamPolicy(argument: GetOrganizationEnvironmentIamPolicyPlainArgs): GetOrganizationEnvironmentIamPolicyResult =
        getOrganizationEnvironmentIamPolicyResultToKotlin(getOrganizationEnvironmentIamPolicyPlain(argument.toJava()).await())

    /**
     * @see [getOrganizationEnvironmentIamPolicy].
     * @param environmentId
     * @param optionsRequestedPolicyVersion
     * @param organizationId
     * @return null
     */
    public suspend fun getOrganizationEnvironmentIamPolicy(
        environmentId: String,
        optionsRequestedPolicyVersion: Int? = null,
        organizationId: String,
    ): GetOrganizationEnvironmentIamPolicyResult {
        val argument = GetOrganizationEnvironmentIamPolicyPlainArgs(
            environmentId = environmentId,
            optionsRequestedPolicyVersion = optionsRequestedPolicyVersion,
            organizationId = organizationId,
        )
        return getOrganizationEnvironmentIamPolicyResultToKotlin(getOrganizationEnvironmentIamPolicyPlain(argument.toJava()).await())
    }

    /**
     * @see [getOrganizationEnvironmentIamPolicy].
     * @param argument Builder for [com.pulumi.googlenative.apigee.v1.kotlin.inputs.GetOrganizationEnvironmentIamPolicyPlainArgs].
     * @return null
     */
    public suspend fun getOrganizationEnvironmentIamPolicy(argument: suspend GetOrganizationEnvironmentIamPolicyPlainArgsBuilder.() -> Unit): GetOrganizationEnvironmentIamPolicyResult {
        val builder = GetOrganizationEnvironmentIamPolicyPlainArgsBuilder()
        builder.argument()
        val builtArgument = builder.build()
        return getOrganizationEnvironmentIamPolicyResultToKotlin(getOrganizationEnvironmentIamPolicyPlain(builtArgument.toJava()).await())
    }

    /**
     * Gets a trace configuration override.
     * @param argument null
     * @return null
     */
    public suspend fun getOverride(argument: GetOverridePlainArgs): GetOverrideResult =
        getOverrideResultToKotlin(getOverridePlain(argument.toJava()).await())

    /**
     * @see [getOverride].
     * @param environmentId
     * @param organizationId
     * @param overrideId
     * @return null
     */
    public suspend fun getOverride(
        environmentId: String,
        organizationId: String,
        overrideId: String,
    ): GetOverrideResult {
        val argument = GetOverridePlainArgs(
            environmentId = environmentId,
            organizationId = organizationId,
            overrideId = overrideId,
        )
        return getOverrideResultToKotlin(getOverridePlain(argument.toJava()).await())
    }

    /**
     * @see [getOverride].
     * @param argument Builder for [com.pulumi.googlenative.apigee.v1.kotlin.inputs.GetOverridePlainArgs].
     * @return null
     */
    public suspend fun getOverride(argument: suspend GetOverridePlainArgsBuilder.() -> Unit): GetOverrideResult {
        val builder = GetOverridePlainArgsBuilder()
        builder.argument()
        val builtArgument = builder.build()
        return getOverrideResultToKotlin(getOverridePlain(builtArgument.toJava()).await())
    }

    /**
     * Get query status If the query is still in progress, the `state` is set to "running" After the query has completed successfully, `state` is set to "completed"
     * @param argument null
     * @return null
     */
    public suspend fun getQuery(argument: GetQueryPlainArgs): GetQueryResult =
        getQueryResultToKotlin(getQueryPlain(argument.toJava()).await())

    /**
     * @see [getQuery].
     * @param environmentId
     * @param organizationId
     * @param queryId
     * @return null
     */
    public suspend fun getQuery(
        environmentId: String,
        organizationId: String,
        queryId: String,
    ): GetQueryResult {
        val argument = GetQueryPlainArgs(
            environmentId = environmentId,
            organizationId = organizationId,
            queryId = queryId,
        )
        return getQueryResultToKotlin(getQueryPlain(argument.toJava()).await())
    }

    /**
     * @see [getQuery].
     * @param argument Builder for [com.pulumi.googlenative.apigee.v1.kotlin.inputs.GetQueryPlainArgs].
     * @return null
     */
    public suspend fun getQuery(argument: suspend GetQueryPlainArgsBuilder.() -> Unit): GetQueryResult {
        val builder = GetQueryPlainArgsBuilder()
        builder.argument()
        val builtArgument = builder.build()
        return getQueryResultToKotlin(getQueryPlain(builtArgument.toJava()).await())
    }

    /**
     * Gets the details of a rate plan.
     * @param argument null
     * @return null
     */
    public suspend fun getRatePlan(argument: GetRatePlanPlainArgs): GetRatePlanResult =
        getRatePlanResultToKotlin(getRatePlanPlain(argument.toJava()).await())

    /**
     * @see [getRatePlan].
     * @param apiproductId
     * @param organizationId
     * @param rateplanId
     * @return null
     */
    public suspend fun getRatePlan(
        apiproductId: String,
        organizationId: String,
        rateplanId: String,
    ): GetRatePlanResult {
        val argument = GetRatePlanPlainArgs(
            apiproductId = apiproductId,
            organizationId = organizationId,
            rateplanId = rateplanId,
        )
        return getRatePlanResultToKotlin(getRatePlanPlain(argument.toJava()).await())
    }

    /**
     * @see [getRatePlan].
     * @param argument Builder for [com.pulumi.googlenative.apigee.v1.kotlin.inputs.GetRatePlanPlainArgs].
     * @return null
     */
    public suspend fun getRatePlan(argument: suspend GetRatePlanPlainArgsBuilder.() -> Unit): GetRatePlanResult {
        val builder = GetRatePlanPlainArgsBuilder()
        builder.argument()
        val builtArgument = builder.build()
        return getRatePlanResultToKotlin(getRatePlanPlain(builtArgument.toJava()).await())
    }

    /**
     * Gets a Reference resource.
     * @param argument null
     * @return null
     */
    public suspend fun getReference(argument: GetReferencePlainArgs): GetReferenceResult =
        getReferenceResultToKotlin(getReferencePlain(argument.toJava()).await())

    /**
     * @see [getReference].
     * @param environmentId
     * @param organizationId
     * @param referenceId
     * @return null
     */
    public suspend fun getReference(
        environmentId: String,
        organizationId: String,
        referenceId: String,
    ): GetReferenceResult {
        val argument = GetReferencePlainArgs(
            environmentId = environmentId,
            organizationId = organizationId,
            referenceId = referenceId,
        )
        return getReferenceResultToKotlin(getReferencePlain(argument.toJava()).await())
    }

    /**
     * @see [getReference].
     * @param argument Builder for [com.pulumi.googlenative.apigee.v1.kotlin.inputs.GetReferencePlainArgs].
     * @return null
     */
    public suspend fun getReference(argument: suspend GetReferencePlainArgsBuilder.() -> Unit): GetReferenceResult {
        val builder = GetReferencePlainArgsBuilder()
        builder.argument()
        val builtArgument = builder.build()
        return getReferenceResultToKotlin(getReferencePlain(builtArgument.toJava()).await())
    }

    /**
     * Retrieve a custom report definition.
     * @param argument null
     * @return null
     */
    public suspend fun getReport(argument: GetReportPlainArgs): GetReportResult =
        getReportResultToKotlin(getReportPlain(argument.toJava()).await())

    /**
     * @see [getReport].
     * @param organizationId
     * @param reportId
     * @return null
     */
    public suspend fun getReport(organizationId: String, reportId: String): GetReportResult {
        val argument = GetReportPlainArgs(
            organizationId = organizationId,
            reportId = reportId,
        )
        return getReportResultToKotlin(getReportPlain(argument.toJava()).await())
    }

    /**
     * @see [getReport].
     * @param argument Builder for [com.pulumi.googlenative.apigee.v1.kotlin.inputs.GetReportPlainArgs].
     * @return null
     */
    public suspend fun getReport(argument: suspend GetReportPlainArgsBuilder.() -> Unit): GetReportResult {
        val builder = GetReportPlainArgsBuilder()
        builder.argument()
        val builtArgument = builder.build()
        return getReportResultToKotlin(getReportPlain(builtArgument.toJava()).await())
    }

    /**
     * Gets the contents of a resource file. For more information about resource files, see [Resource files](https://cloud.google.com/apigee/docs/api-platform/develop/resource-files).
     * @param argument null
     * @return null
     */
    public suspend fun getResourcefile(argument: GetResourcefilePlainArgs): GetResourcefileResult =
        getResourcefileResultToKotlin(getResourcefilePlain(argument.toJava()).await())

    /**
     * @see [getResourcefile].
     * @param environmentId
     * @param name
     * @param organizationId
     * @param type
     * @return null
     */
    public suspend fun getResourcefile(
        environmentId: String,
        name: String,
        organizationId: String,
        type: String,
    ): GetResourcefileResult {
        val argument = GetResourcefilePlainArgs(
            environmentId = environmentId,
            name = name,
            organizationId = organizationId,
            type = type,
        )
        return getResourcefileResultToKotlin(getResourcefilePlain(argument.toJava()).await())
    }

    /**
     * @see [getResourcefile].
     * @param argument Builder for [com.pulumi.googlenative.apigee.v1.kotlin.inputs.GetResourcefilePlainArgs].
     * @return null
     */
    public suspend fun getResourcefile(argument: suspend GetResourcefilePlainArgsBuilder.() -> Unit): GetResourcefileResult {
        val builder = GetResourcefilePlainArgsBuilder()
        builder.argument()
        val builtArgument = builder.build()
        return getResourcefileResultToKotlin(getResourcefilePlain(builtArgument.toJava()).await())
    }

    /**
     * Get security report status If the query is still in progress, the `state` is set to "running" After the query has completed successfully, `state` is set to "completed"
     * @param argument null
     * @return null
     */
    public suspend fun getSecurityReport(argument: GetSecurityReportPlainArgs): GetSecurityReportResult =
        getSecurityReportResultToKotlin(getSecurityReportPlain(argument.toJava()).await())

    /**
     * @see [getSecurityReport].
     * @param environmentId
     * @param organizationId
     * @param securityReportId
     * @return null
     */
    public suspend fun getSecurityReport(
        environmentId: String,
        organizationId: String,
        securityReportId: String,
    ): GetSecurityReportResult {
        val argument = GetSecurityReportPlainArgs(
            environmentId = environmentId,
            organizationId = organizationId,
            securityReportId = securityReportId,
        )
        return getSecurityReportResultToKotlin(getSecurityReportPlain(argument.toJava()).await())
    }

    /**
     * @see [getSecurityReport].
     * @param argument Builder for [com.pulumi.googlenative.apigee.v1.kotlin.inputs.GetSecurityReportPlainArgs].
     * @return null
     */
    public suspend fun getSecurityReport(argument: suspend GetSecurityReportPlainArgsBuilder.() -> Unit): GetSecurityReportResult {
        val builder = GetSecurityReportPlainArgsBuilder()
        builder.argument()
        val builtArgument = builder.build()
        return getSecurityReportResultToKotlin(getSecurityReportPlain(builtArgument.toJava()).await())
    }

    /**
     * Gets a shared flow by name, including a list of its revisions.
     * @param argument null
     * @return null
     */
    public suspend fun getSharedflow(argument: GetSharedflowPlainArgs): GetSharedflowResult =
        getSharedflowResultToKotlin(getSharedflowPlain(argument.toJava()).await())

    /**
     * @see [getSharedflow].
     * @param organizationId
     * @param sharedflowId
     * @return null
     */
    public suspend fun getSharedflow(organizationId: String, sharedflowId: String): GetSharedflowResult {
        val argument = GetSharedflowPlainArgs(
            organizationId = organizationId,
            sharedflowId = sharedflowId,
        )
        return getSharedflowResultToKotlin(getSharedflowPlain(argument.toJava()).await())
    }

    /**
     * @see [getSharedflow].
     * @param argument Builder for [com.pulumi.googlenative.apigee.v1.kotlin.inputs.GetSharedflowPlainArgs].
     * @return null
     */
    public suspend fun getSharedflow(argument: suspend GetSharedflowPlainArgsBuilder.() -> Unit): GetSharedflowResult {
        val builder = GetSharedflowPlainArgsBuilder()
        builder.argument()
        val builtArgument = builder.build()
        return getSharedflowResultToKotlin(getSharedflowPlain(builtArgument.toJava()).await())
    }

    /**
     * Gets details for an API product subscription.
     * @param argument null
     * @return null
     */
    public suspend fun getSubscription(argument: GetSubscriptionPlainArgs): GetSubscriptionResult =
        getSubscriptionResultToKotlin(getSubscriptionPlain(argument.toJava()).await())

    /**
     * @see [getSubscription].
     * @param developerId
     * @param organizationId
     * @param subscriptionId
     * @return null
     */
    public suspend fun getSubscription(
        developerId: String,
        organizationId: String,
        subscriptionId: String,
    ): GetSubscriptionResult {
        val argument = GetSubscriptionPlainArgs(
            developerId = developerId,
            organizationId = organizationId,
            subscriptionId = subscriptionId,
        )
        return getSubscriptionResultToKotlin(getSubscriptionPlain(argument.toJava()).await())
    }

    /**
     * @see [getSubscription].
     * @param argument Builder for [com.pulumi.googlenative.apigee.v1.kotlin.inputs.GetSubscriptionPlainArgs].
     * @return null
     */
    public suspend fun getSubscription(argument: suspend GetSubscriptionPlainArgsBuilder.() -> Unit): GetSubscriptionResult {
        val builder = GetSubscriptionPlainArgsBuilder()
        builder.argument()
        val builtArgument = builder.build()
        return getSubscriptionResultToKotlin(getSubscriptionPlain(builtArgument.toJava()).await())
    }

    /**
     * Gets a TargetServer resource.
     * @param argument null
     * @return null
     */
    public suspend fun getTargetServer(argument: GetTargetServerPlainArgs): GetTargetServerResult =
        getTargetServerResultToKotlin(getTargetServerPlain(argument.toJava()).await())

    /**
     * @see [getTargetServer].
     * @param environmentId
     * @param organizationId
     * @param targetserverId
     * @return null
     */
    public suspend fun getTargetServer(
        environmentId: String,
        organizationId: String,
        targetserverId: String,
    ): GetTargetServerResult {
        val argument = GetTargetServerPlainArgs(
            environmentId = environmentId,
            organizationId = organizationId,
            targetserverId = targetserverId,
        )
        return getTargetServerResultToKotlin(getTargetServerPlain(argument.toJava()).await())
    }

    /**
     * @see [getTargetServer].
     * @param argument Builder for [com.pulumi.googlenative.apigee.v1.kotlin.inputs.GetTargetServerPlainArgs].
     * @return null
     */
    public suspend fun getTargetServer(argument: suspend GetTargetServerPlainArgsBuilder.() -> Unit): GetTargetServerResult {
        val builder = GetTargetServerPlainArgsBuilder()
        builder.argument()
        val builtArgument = builder.build()
        return getTargetServerResultToKotlin(getTargetServerPlain(builtArgument.toJava()).await())
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy