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

com.pulumi.azurenative.billing.kotlin.outputs.AssociatedTenantPropertiesResponse.kt Maven / Gradle / Ivy

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

package com.pulumi.azurenative.billing.kotlin.outputs

import kotlin.String
import kotlin.Suppress

/**
 * An associated tenant.
 * @property billingManagementState The state determines whether users from the associated tenant can be assigned roles for commerce activities like viewing and downloading invoices, managing payments, and making purchases.
 * @property displayName The name of the associated tenant.
 * @property provisioningBillingRequestId The unique identifier for the billing request that is created when enabling provisioning for an associated tenant.
 * @property provisioningManagementState The state determines whether subscriptions and licenses can be provisioned in the associated tenant. It can be set to 'Pending' to initiate a billing request.
 * @property provisioningState The provisioning state of the resource during a long-running operation.
 * @property tenantId The ID that uniquely identifies a tenant.
 */
public data class AssociatedTenantPropertiesResponse(
    public val billingManagementState: String? = null,
    public val displayName: String? = null,
    public val provisioningBillingRequestId: String,
    public val provisioningManagementState: String? = null,
    public val provisioningState: String,
    public val tenantId: String? = null,
) {
    public companion object {
        public fun toKotlin(javaType: com.pulumi.azurenative.billing.outputs.AssociatedTenantPropertiesResponse): AssociatedTenantPropertiesResponse = AssociatedTenantPropertiesResponse(
            billingManagementState = javaType.billingManagementState().map({ args0 -> args0 }).orElse(null),
            displayName = javaType.displayName().map({ args0 -> args0 }).orElse(null),
            provisioningBillingRequestId = javaType.provisioningBillingRequestId(),
            provisioningManagementState = javaType.provisioningManagementState().map({ args0 ->
                args0
            }).orElse(null),
            provisioningState = javaType.provisioningState(),
            tenantId = javaType.tenantId().map({ args0 -> args0 }).orElse(null),
        )
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy