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

com.pulumi.azure.apimanagement.kotlin.outputs.GetServiceResult.kt Maven / Gradle / Ivy

Go to download

Build cloud applications and infrastructure by combining the safety and reliability of infrastructure as code with the power of the Kotlin programming language.

There is a newer version: 6.14.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.apimanagement.kotlin.outputs

import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
import kotlin.collections.Map

/**
 * A collection of values returned by getService.
 * @property additionalLocations Zero or more `additional_location` blocks as defined below
 * @property developerPortalUrl The URL for the Developer Portal associated with this API Management service.
 * @property gatewayRegionalUrl Gateway URL of the API Management service in the Region.
 * @property gatewayUrl The URL for the API Management Service's Gateway.
 * @property hostnameConfigurations A `hostname_configuration` block as defined below.
 * @property id The provider-assigned unique ID for this managed resource.
 * @property identities (Optional) An `identity` block as defined below.
 * @property location The location name of the additional region among Azure Data center regions.
 * @property managementApiUrl The URL for the Management API.
 * @property name Specifies the plan's pricing tier.
 * @property notificationSenderEmail The email address from which the notification will be sent.
 * @property portalUrl The URL of the Publisher Portal.
 * @property privateIpAddresses Private IP addresses of the API Management service in the additional location, for instances using virtual network mode.
 * @property publicIpAddressId ID of the standard SKU IPv4 Public IP. Available only for Premium SKU deployed in a virtual network.
 * @property publicIpAddresses Public Static Load Balanced IP addresses of the API Management service in the additional location. Available only for Basic, Standard and Premium SKU.
 * @property publisherEmail The email of Publisher/Company of the API Management Service.
 * @property publisherName The name of the Publisher/Company of the API Management Service.
 * @property resourceGroupName
 * @property scmUrl The SCM (Source Code Management) endpoint.
 * @property skuName
 * @property tags A mapping of tags assigned to the resource.
 * @property tenantAccesses A `tenant_access` block as defined below.
 */
public data class GetServiceResult(
    public val additionalLocations: List,
    public val developerPortalUrl: String,
    public val gatewayRegionalUrl: String,
    public val gatewayUrl: String,
    public val hostnameConfigurations: List,
    public val id: String,
    public val identities: List,
    public val location: String,
    public val managementApiUrl: String,
    public val name: String,
    public val notificationSenderEmail: String,
    public val portalUrl: String,
    public val privateIpAddresses: List,
    public val publicIpAddressId: String,
    public val publicIpAddresses: List,
    public val publisherEmail: String,
    public val publisherName: String,
    public val resourceGroupName: String,
    public val scmUrl: String,
    public val skuName: String,
    public val tags: Map? = null,
    public val tenantAccesses: List,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.apimanagement.outputs.GetServiceResult):
            GetServiceResult = GetServiceResult(
            additionalLocations = javaType.additionalLocations().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.apimanagement.kotlin.outputs.GetServiceAdditionalLocation.Companion.toKotlin(args0)
                })
            }),
            developerPortalUrl = javaType.developerPortalUrl(),
            gatewayRegionalUrl = javaType.gatewayRegionalUrl(),
            gatewayUrl = javaType.gatewayUrl(),
            hostnameConfigurations = javaType.hostnameConfigurations().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.apimanagement.kotlin.outputs.GetServiceHostnameConfiguration.Companion.toKotlin(args0)
                })
            }),
            id = javaType.id(),
            identities = javaType.identities().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.apimanagement.kotlin.outputs.GetServiceIdentity.Companion.toKotlin(args0)
                })
            }),
            location = javaType.location(),
            managementApiUrl = javaType.managementApiUrl(),
            name = javaType.name(),
            notificationSenderEmail = javaType.notificationSenderEmail(),
            portalUrl = javaType.portalUrl(),
            privateIpAddresses = javaType.privateIpAddresses().map({ args0 -> args0 }),
            publicIpAddressId = javaType.publicIpAddressId(),
            publicIpAddresses = javaType.publicIpAddresses().map({ args0 -> args0 }),
            publisherEmail = javaType.publisherEmail(),
            publisherName = javaType.publisherName(),
            resourceGroupName = javaType.resourceGroupName(),
            scmUrl = javaType.scmUrl(),
            skuName = javaType.skuName(),
            tags = javaType.tags().map({ args0 -> args0.key.to(args0.value) }).toMap(),
            tenantAccesses = javaType.tenantAccesses().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.apimanagement.kotlin.outputs.GetServiceTenantAccess.Companion.toKotlin(args0)
                })
            }),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy