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

com.pulumi.azure.keyvault.kotlin.outputs.GetManagedHardwareSecurityModuleResult.kt Maven / Gradle / Ivy

@file:Suppress("NAME_SHADOWING", "DEPRECATION")

package com.pulumi.azure.keyvault.kotlin.outputs

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

/**
 * A collection of values returned by getManagedHardwareSecurityModule.
 * @property adminObjectIds Specifies a list of administrators object IDs for the key vault Managed Hardware Security Module.
 * @property hsmUri The URI of the Hardware Security Module for performing operations on keys and secrets.
 * @property id The provider-assigned unique ID for this managed resource.
 * @property location The Azure Region in which the Key Vault managed Hardware Security Module exists.
 * @property name
 * @property purgeProtectionEnabled Is purge protection enabled on this Key Vault Managed Hardware Security Module?
 * @property resourceGroupName
 * @property skuName The Name of the SKU used for this Key Vault Managed Hardware Security Module.
 * @property softDeleteRetentionDays The number of days that items should be retained for soft-deleted.
 * @property tags A mapping of tags assigned to the Key Vault Managed Hardware Security Module.
 * @property tenantId The Azure Active Directory Tenant ID used for authenticating requests to the Key Vault Managed Hardware Security Module.
 */
public data class GetManagedHardwareSecurityModuleResult(
    public val adminObjectIds: List,
    public val hsmUri: String,
    public val id: String,
    public val location: String,
    public val name: String,
    public val purgeProtectionEnabled: Boolean,
    public val resourceGroupName: String,
    public val skuName: String,
    public val softDeleteRetentionDays: Int,
    public val tags: Map,
    public val tenantId: String,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azure.keyvault.outputs.GetManagedHardwareSecurityModuleResult): GetManagedHardwareSecurityModuleResult = GetManagedHardwareSecurityModuleResult(
            adminObjectIds = javaType.adminObjectIds().map({ args0 -> args0 }),
            hsmUri = javaType.hsmUri(),
            id = javaType.id(),
            location = javaType.location(),
            name = javaType.name(),
            purgeProtectionEnabled = javaType.purgeProtectionEnabled(),
            resourceGroupName = javaType.resourceGroupName(),
            skuName = javaType.skuName(),
            softDeleteRetentionDays = javaType.softDeleteRetentionDays(),
            tags = javaType.tags().map({ args0 -> args0.key.to(args0.value) }).toMap(),
            tenantId = javaType.tenantId(),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy