Package-level declarations

Types

Link copied to clipboard
Link copied to clipboard
class Discount : KotlinCustomResource

Resource definition for Discounts. Uses Azure REST API version 2024-11-01-preview. In version 2.x of the Azure Native provider, it used API version 2024-11-01-preview.

Link copied to clipboard
data class DiscountArgs(val appliedScopeType: Output<Either<String, DiscountAppliedScopeType>>? = null, val discountName: Output<String>? = null, val displayName: Output<String>? = null, val entityType: Output<Either<String, DiscountEntityType>>? = null, val identity: Output<ManagedServiceIdentityArgs>? = null, val kind: Output<String>? = null, val location: Output<String>? = null, val managedBy: Output<String>? = null, val plan: Output<PlanArgs>? = null, val productCode: Output<String>? = null, val resourceGroupName: Output<String>? = null, val sku: Output<SkuArgs>? = null, val startAt: Output<String>? = null, val systemId: Output<String>? = null, val tags: Output<Map<String, String>>? = null) : ConvertibleToJava<DiscountArgs>

Resource definition for Discounts. Uses Azure REST API version 2024-11-01-preview. In version 2.x of the Azure Native provider, it used API version 2024-11-01-preview.

Link copied to clipboard
Link copied to clipboard
object DiscountMapper : ResourceMapper<Discount>
Link copied to clipboard

Functions

Link copied to clipboard
suspend fun discount(name: String, block: suspend DiscountResourceBuilder.() -> Unit): Discount