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

com.pulumi.azure.eventgrid.kotlin.outputs.GetDomainResult.kt Maven / Gradle / Ivy

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

package com.pulumi.azure.eventgrid.kotlin.outputs

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

/**
 * A collection of values returned by getDomain.
 * @property endpoint The Endpoint associated with the EventGrid Domain.
 * @property id The provider-assigned unique ID for this managed resource.
 * @property identities An `identity` block as documented below.
 * @property inboundIpRules One or more `inbound_ip_rule` blocks as defined below.
 * @property inputMappingDefaultValues A `input_mapping_default_values` block as defined below.
 * @property inputMappingFields A `input_mapping_fields` block as defined below.
 * @property inputSchema The schema in which incoming events will be published to this domain. Possible values are `CloudEventSchemaV1_0`, `CustomEventSchema`, or `EventGridSchema`.
 * @property location The Azure Region in which this EventGrid Domain exists.
 * @property name
 * @property primaryAccessKey The primary access key associated with the EventGrid Domain.
 * @property publicNetworkAccessEnabled Whether or not public network access is allowed for this server.
 * @property resourceGroupName
 * @property secondaryAccessKey The secondary access key associated with the EventGrid Domain.
 * @property tags A mapping of tags assigned to the EventGrid Domain.
 */
public data class GetDomainResult(
    public val endpoint: String,
    public val id: String,
    public val identities: List,
    public val inboundIpRules: List,
    public val inputMappingDefaultValues: List,
    public val inputMappingFields: List,
    public val inputSchema: String,
    public val location: String,
    public val name: String,
    public val primaryAccessKey: String,
    public val publicNetworkAccessEnabled: Boolean,
    public val resourceGroupName: String,
    public val secondaryAccessKey: String,
    public val tags: Map,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.eventgrid.outputs.GetDomainResult): GetDomainResult = GetDomainResult(
            endpoint = javaType.endpoint(),
            id = javaType.id(),
            identities = javaType.identities().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.eventgrid.kotlin.outputs.GetDomainIdentity.Companion.toKotlin(args0)
                })
            }),
            inboundIpRules = javaType.inboundIpRules().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.eventgrid.kotlin.outputs.GetDomainInboundIpRule.Companion.toKotlin(args0)
                })
            }),
            inputMappingDefaultValues = javaType.inputMappingDefaultValues().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.eventgrid.kotlin.outputs.GetDomainInputMappingDefaultValue.Companion.toKotlin(args0)
                })
            }),
            inputMappingFields = javaType.inputMappingFields().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.eventgrid.kotlin.outputs.GetDomainInputMappingField.Companion.toKotlin(args0)
                })
            }),
            inputSchema = javaType.inputSchema(),
            location = javaType.location(),
            name = javaType.name(),
            primaryAccessKey = javaType.primaryAccessKey(),
            publicNetworkAccessEnabled = javaType.publicNetworkAccessEnabled(),
            resourceGroupName = javaType.resourceGroupName(),
            secondaryAccessKey = javaType.secondaryAccessKey(),
            tags = javaType.tags().map({ args0 -> args0.key.to(args0.value) }).toMap(),
        )
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy