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

com.pulumi.azure.monitoring.kotlin.outputs.GetDataCollectionEndpointResult.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.15.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.monitoring.kotlin.outputs

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

/**
 * A collection of values returned by getDataCollectionEndpoint.
 * @property configurationAccessEndpoint The endpoint used for accessing configuration, e.g., `https://mydce-abcd.eastus-1.control.monitor.azure.com`.
 * @property description Specifies a description for the Data Collection Endpoint.
 * @property id The provider-assigned unique ID for this managed resource.
 * @property kind The kind of the Data Collection Endpoint. Possible values are `Linux` and `Windows`.
 * @property location The Azure Region where the Data Collection Endpoint should exist.
 * @property logsIngestionEndpoint The endpoint used for ingesting logs, e.g., `https://mydce-abcd.eastus-1.ingest.monitor.azure.com`.
 * @property name
 * @property publicNetworkAccessEnabled Whether network access from public internet to the Data Collection Endpoint are allowed. Possible values are `true` and `false`.
 * @property resourceGroupName
 * @property tags A mapping of tags which should be assigned to the Data Collection Endpoint.
 */
public data class GetDataCollectionEndpointResult(
    public val configurationAccessEndpoint: String,
    public val description: String,
    public val id: String,
    public val kind: String,
    public val location: String,
    public val logsIngestionEndpoint: String,
    public val name: String,
    public val publicNetworkAccessEnabled: Boolean,
    public val resourceGroupName: String,
    public val tags: Map,
) {
    public companion object {
        public
        fun toKotlin(javaType: com.pulumi.azure.monitoring.outputs.GetDataCollectionEndpointResult):
            GetDataCollectionEndpointResult = GetDataCollectionEndpointResult(
            configurationAccessEndpoint = javaType.configurationAccessEndpoint(),
            description = javaType.description(),
            id = javaType.id(),
            kind = javaType.kind(),
            location = javaType.location(),
            logsIngestionEndpoint = javaType.logsIngestionEndpoint(),
            name = javaType.name(),
            publicNetworkAccessEnabled = javaType.publicNetworkAccessEnabled(),
            resourceGroupName = javaType.resourceGroupName(),
            tags = javaType.tags().map({ args0 -> args0.key.to(args0.value) }).toMap(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy