GetDiscountResult

data class GetDiscountResult(val appliedScopeType: String? = null, val benefitResourceId: String, val billingAccountResourceId: String, val billingProfileResourceId: String, val customerResourceId: String, val displayName: String? = null, val entityType: String, val etag: String, val id: String, val identity: ManagedServiceIdentityResponse? = null, val kind: String? = null, val location: String, val managedBy: String? = null, val name: String, val plan: PlanResponse? = null, val productCode: String, val provisioningState: String, val sku: SkuResponse? = null, val startAt: String, val status: String, val systemData: SystemDataResponse, val systemId: String? = null, val tags: Map<String, String>? = null, val type: String)

Resource definition for Discounts.

Constructors

Link copied to clipboard
constructor(appliedScopeType: String? = null, benefitResourceId: String, billingAccountResourceId: String, billingProfileResourceId: String, customerResourceId: String, displayName: String? = null, entityType: String, etag: String, id: String, identity: ManagedServiceIdentityResponse? = null, kind: String? = null, location: String, managedBy: String? = null, name: String, plan: PlanResponse? = null, productCode: String, provisioningState: String, sku: SkuResponse? = null, startAt: String, status: String, systemData: SystemDataResponse, systemId: String? = null, tags: Map<String, String>? = null, type: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

List of applied scopes supported for discounts.

Link copied to clipboard

Fully-qualified identifier of the benefit under applicable benefit list.

Link copied to clipboard

Billing account resource id where the discount metadata is present.

Link copied to clipboard

Billing profile resource id where the discount is scoped to.

Link copied to clipboard

Customer resource id where the discount is scoped to.

Link copied to clipboard
val displayName: String? = null

This defines a user friendly display name for the discount.

Link copied to clipboard

This defines whether the entity being created is primary or affiliate. Supported values: primary, affiliate. Validation: Required, must match one of the 2 values.

Link copied to clipboard

The etag field is not required. If it is provided in the response body, it must also be provided as a header per the normal etag convention. Entity tags are used for comparing two or more entities from the same requested resource. HTTP/1.1 uses entity tags in the etag (section 14.19), If-Match (section 14.24), If-None-Match (section 14.26), and If-Range (section 14.27) header fields.

Link copied to clipboard
val id: String

Fully qualified resource ID for the resource. E.g. "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/{resourceProviderNamespace}/{resourceType}/{resourceName}"

Link copied to clipboard

Managed service identity (system assigned and/or user assigned identities)

Link copied to clipboard
val kind: String? = null

Metadata used by portal/tooling/etc to render different UX experiences for resources of the same type. E.g. ApiApps are a kind of Microsoft.Web/sites type. If supported, the resource provider must validate and persist this value.

Link copied to clipboard

The geo-location where the resource lives

Link copied to clipboard
val managedBy: String? = null

The fully qualified resource ID of the resource that manages this resource. Indicates if this resource is managed by another Azure resource. If this is present, complete mode deployment will not delete the resource if it is removed from the template since it is managed by another resource.

Link copied to clipboard

The name of the resource

Link copied to clipboard
val plan: PlanResponse? = null

Plan for the resource.

Link copied to clipboard

This is the catalog UPN for the product.

Link copied to clipboard

The state of the resource. Supported values are Pending, Failed, Succeeded, Canceled.

Link copied to clipboard
val sku: SkuResponse? = null

The resource model definition representing SKU

Link copied to clipboard

Start date of the discount. Value is the date the discount started or will start in the future.

Link copied to clipboard

Represents the current status of the discount.

Link copied to clipboard

Azure Resource Manager metadata containing createdBy and modifiedBy information.

Link copied to clipboard
val systemId: String? = null

This is the globally unique identifier of the Discount which will not change for the lifetime of the Discount.

Link copied to clipboard
val tags: Map<String, String>? = null

Resource tags.

Link copied to clipboard

The type of the resource. E.g. "Microsoft.Compute/virtualMachines" or "Microsoft.Storage/storageAccounts"