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

com.pulumi.azurenative.azurearcdata.kotlin.outputs.UploadServicePrincipalResponse.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: 2.82.0.0
Show newest version
@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azurenative.azurearcdata.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 * Service principal for uploading billing, metrics and logs.
 * @property authority Authority for the service principal. Example: https://login.microsoftonline.com/
 * @property clientId Client ID of the service principal for uploading data.
 * @property tenantId Tenant ID of the service principal.
 */
public data class UploadServicePrincipalResponse(
    public val authority: String? = null,
    public val clientId: String? = null,
    public val tenantId: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azurenative.azurearcdata.outputs.UploadServicePrincipalResponse): UploadServicePrincipalResponse = UploadServicePrincipalResponse(
            authority = javaType.authority().map({ args0 -> args0 }).orElse(null),
            clientId = javaType.clientId().map({ args0 -> args0 }).orElse(null),
            tenantId = javaType.tenantId().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy