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

com.pulumi.azure.containerservice.kotlin.outputs.GetRegistryResult.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.containerservice.kotlin.outputs

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

/**
 * A collection of values returned by getRegistry.
 * @property adminEnabled Is the Administrator account enabled for this Container Registry.
 * @property adminPassword The Password associated with the Container Registry Admin account - if the admin account is enabled.
 * @property adminUsername The Username associated with the Container Registry Admin account - if the admin account is enabled.
 * @property dataEndpointEnabled Whether dedicated data endpoints for this Container Registry are enabled?
 * @property id The provider-assigned unique ID for this managed resource.
 * @property location The Azure Region in which this Container Registry exists.
 * @property loginServer The URL that can be used to log into the container registry.
 * @property name
 * @property resourceGroupName
 * @property sku The SKU of this Container Registry, such as `Basic`.
 * @property tags A map of tags assigned to the Container Registry.
 */
public data class GetRegistryResult(
    public val adminEnabled: Boolean,
    public val adminPassword: String,
    public val adminUsername: String,
    public val dataEndpointEnabled: Boolean,
    public val id: String,
    public val location: String,
    public val loginServer: String,
    public val name: String,
    public val resourceGroupName: String,
    public val sku: String,
    public val tags: Map,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.containerservice.outputs.GetRegistryResult): GetRegistryResult = GetRegistryResult(
            adminEnabled = javaType.adminEnabled(),
            adminPassword = javaType.adminPassword(),
            adminUsername = javaType.adminUsername(),
            dataEndpointEnabled = javaType.dataEndpointEnabled(),
            id = javaType.id(),
            location = javaType.location(),
            loginServer = javaType.loginServer(),
            name = javaType.name(),
            resourceGroupName = javaType.resourceGroupName(),
            sku = javaType.sku(),
            tags = javaType.tags().map({ args0 -> args0.key.to(args0.value) }).toMap(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy