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

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

package com.pulumi.azure.storage.kotlin.outputs

import kotlin.Boolean
import kotlin.String
import kotlin.Suppress

/**
 * A collection of values returned by getAccountSAS.
 * @property connectionString
 * @property expiry
 * @property httpsOnly
 * @property id The provider-assigned unique ID for this managed resource.
 * @property ipAddresses
 * @property permissions
 * @property resourceTypes
 * @property sas The computed Account Shared Access Signature (SAS).
 * @property services
 * @property signedVersion
 * @property start
 */
public data class GetAccountSASResult(
    public val connectionString: String,
    public val expiry: String,
    public val httpsOnly: Boolean? = null,
    public val id: String,
    public val ipAddresses: String? = null,
    public val permissions: GetAccountSASPermissions,
    public val resourceTypes: GetAccountSASResourceTypes,
    public val sas: String,
    public val services: GetAccountSASServices,
    public val signedVersion: String? = null,
    public val start: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.storage.outputs.GetAccountSASResult):
            GetAccountSASResult = GetAccountSASResult(
            connectionString = javaType.connectionString(),
            expiry = javaType.expiry(),
            httpsOnly = javaType.httpsOnly().map({ args0 -> args0 }).orElse(null),
            id = javaType.id(),
            ipAddresses = javaType.ipAddresses().map({ args0 -> args0 }).orElse(null),
            permissions = javaType.permissions().let({ args0 ->
                com.pulumi.azure.storage.kotlin.outputs.GetAccountSASPermissions.Companion.toKotlin(args0)
            }),
            resourceTypes = javaType.resourceTypes().let({ args0 ->
                com.pulumi.azure.storage.kotlin.outputs.GetAccountSASResourceTypes.Companion.toKotlin(args0)
            }),
            sas = javaType.sas(),
            services = javaType.services().let({ args0 ->
                com.pulumi.azure.storage.kotlin.outputs.GetAccountSASServices.Companion.toKotlin(args0)
            }),
            signedVersion = javaType.signedVersion().map({ args0 -> args0 }).orElse(null),
            start = javaType.start(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy