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

com.pulumi.azure.automation.kotlin.outputs.GetAccountResult.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.automation.kotlin.outputs

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

/**
 * A collection of values returned by getAccount.
 * @property endpoint The Endpoint for this Automation Account.
 * @property hybridServiceUrl The URL of automation hybrid service which is used for hybrid worker on-boarding With this Automation Account.
 * @property id The provider-assigned unique ID for this managed resource.
 * @property identities (Optional) An `identity` block as defined below.
 * @property name
 * @property primaryKey The Primary Access Key for the Automation Account.
 * @property privateEndpointConnections
 * @property resourceGroupName
 * @property secondaryKey The Secondary Access Key for the Automation Account.
 */
public data class GetAccountResult(
    public val endpoint: String,
    public val hybridServiceUrl: String,
    public val id: String,
    public val identities: List,
    public val name: String,
    public val primaryKey: String,
    public val privateEndpointConnections: List,
    public val resourceGroupName: String,
    public val secondaryKey: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.automation.outputs.GetAccountResult): GetAccountResult = GetAccountResult(
            endpoint = javaType.endpoint(),
            hybridServiceUrl = javaType.hybridServiceUrl(),
            id = javaType.id(),
            identities = javaType.identities().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.automation.kotlin.outputs.GetAccountIdentity.Companion.toKotlin(args0)
                })
            }),
            name = javaType.name(),
            primaryKey = javaType.primaryKey(),
            privateEndpointConnections = javaType.privateEndpointConnections().map({ args0 ->
                args0.let({ args0 ->
                    com.pulumi.azure.automation.kotlin.outputs.GetAccountPrivateEndpointConnection.Companion.toKotlin(args0)
                })
            }),
            resourceGroupName = javaType.resourceGroupName(),
            secondaryKey = javaType.secondaryKey(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy