com.pulumi.googlenative.cloudchannel.v1.kotlin.outputs.GetEntitlementResult.kt Maven / Gradle / Ivy
@file:Suppress("NAME_SHADOWING", "DEPRECATION")
package com.pulumi.googlenative.cloudchannel.v1.kotlin.outputs
import kotlin.String
import kotlin.Suppress
import kotlin.collections.List
/**
*
* @property associationInfo Association information to other entitlements.
* @property billingAccount Optional. The billing account resource name that is used to pay for this entitlement.
* @property commitmentSettings Commitment settings for a commitment-based Offer. Required for commitment based offers.
* @property createTime The time at which the entitlement is created.
* @property name Resource name of an entitlement in the form: accounts/{account_id}/customers/{customer_id}/entitlements/{entitlement_id}.
* @property offer The offer resource name for which the entitlement is to be created. Takes the form: accounts/{account_id}/offers/{offer_id}.
* @property parameters Extended entitlement parameters. When creating an entitlement, valid parameter names and values are defined in the Offer.parameter_definitions. For Google Workspace, the following Parameters may be accepted as input: - max_units: The maximum assignable units for a flexible offer OR - num_units: The total commitment for commitment-based offers The response may additionally include the following output-only Parameters: - assigned_units: The number of licenses assigned to users. For Google Cloud billing subaccounts, the following Parameter may be accepted as input: - display_name: The display name of the billing subaccount.
* @property provisionedService Service provisioning details for the entitlement.
* @property provisioningState Current provisioning state of the entitlement.
* @property purchaseOrderId Optional. This purchase order (PO) information is for resellers to use for their company tracking usage. If a purchaseOrderId value is given, it appears in the API responses and shows up in the invoice. The property accepts up to 80 plain text characters. This is only supported for Google Workspace entitlements.
* @property suspensionReasons Enumerable of all current suspension reasons for an entitlement.
* @property trialSettings Settings for trial offers.
* @property updateTime The time at which the entitlement is updated.
*/
public data class GetEntitlementResult(
public val associationInfo: GoogleCloudChannelV1AssociationInfoResponse,
public val billingAccount: String,
public val commitmentSettings: GoogleCloudChannelV1CommitmentSettingsResponse,
public val createTime: String,
public val name: String,
public val offer: String,
public val parameters: List,
public val provisionedService: GoogleCloudChannelV1ProvisionedServiceResponse,
public val provisioningState: String,
public val purchaseOrderId: String,
public val suspensionReasons: List,
public val trialSettings: GoogleCloudChannelV1TrialSettingsResponse,
public val updateTime: String,
) {
public companion object {
public fun toKotlin(javaType: com.pulumi.googlenative.cloudchannel.v1.outputs.GetEntitlementResult): GetEntitlementResult = GetEntitlementResult(
associationInfo = javaType.associationInfo().let({ args0 ->
com.pulumi.googlenative.cloudchannel.v1.kotlin.outputs.GoogleCloudChannelV1AssociationInfoResponse.Companion.toKotlin(args0)
}),
billingAccount = javaType.billingAccount(),
commitmentSettings = javaType.commitmentSettings().let({ args0 ->
com.pulumi.googlenative.cloudchannel.v1.kotlin.outputs.GoogleCloudChannelV1CommitmentSettingsResponse.Companion.toKotlin(args0)
}),
createTime = javaType.createTime(),
name = javaType.name(),
offer = javaType.offer(),
parameters = javaType.parameters().map({ args0 ->
args0.let({ args0 ->
com.pulumi.googlenative.cloudchannel.v1.kotlin.outputs.GoogleCloudChannelV1ParameterResponse.Companion.toKotlin(args0)
})
}),
provisionedService = javaType.provisionedService().let({ args0 ->
com.pulumi.googlenative.cloudchannel.v1.kotlin.outputs.GoogleCloudChannelV1ProvisionedServiceResponse.Companion.toKotlin(args0)
}),
provisioningState = javaType.provisioningState(),
purchaseOrderId = javaType.purchaseOrderId(),
suspensionReasons = javaType.suspensionReasons().map({ args0 -> args0 }),
trialSettings = javaType.trialSettings().let({ args0 ->
com.pulumi.googlenative.cloudchannel.v1.kotlin.outputs.GoogleCloudChannelV1TrialSettingsResponse.Companion.toKotlin(args0)
}),
updateTime = javaType.updateTime(),
)
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy