UNPKG

rhizo-co-terraform-provider-oci

Version:

Prebuilt oci Provider for Terraform CDK (cdktf)

145 lines (144 loc) 8.26 kB
import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface DataOciUsageProxySubscriptionRewardConfig extends cdktf.TerraformMetaArguments { /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/usage_proxy_subscription_reward#id DataOciUsageProxySubscriptionReward#id} * * Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. * If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable. */ readonly id?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/usage_proxy_subscription_reward#subscription_id DataOciUsageProxySubscriptionReward#subscription_id} */ readonly subscriptionId: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/usage_proxy_subscription_reward#tenancy_id DataOciUsageProxySubscriptionReward#tenancy_id} */ readonly tenancyId: string; } export interface DataOciUsageProxySubscriptionRewardItems { } export declare function dataOciUsageProxySubscriptionRewardItemsToTerraform(struct?: DataOciUsageProxySubscriptionRewardItems): any; export declare function dataOciUsageProxySubscriptionRewardItemsToHclTerraform(struct?: DataOciUsageProxySubscriptionRewardItems): any; export declare class DataOciUsageProxySubscriptionRewardItemsOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param complexObjectIndex the index of this item in the list * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean); get internalValue(): DataOciUsageProxySubscriptionRewardItems | undefined; set internalValue(value: DataOciUsageProxySubscriptionRewardItems | undefined); get availableRewards(): number; get earnedRewards(): number; get eligibleUsageAmount(): number; get ineligibleUsageAmount(): number; get isManual(): cdktf.IResolvable; get redeemedRewards(): number; get timeRewardsEarned(): string; get timeRewardsExpired(): string; get timeUsageEnded(): string; get timeUsageStarted(): string; get usageAmount(): number; get usagePeriodKey(): string; } export declare class DataOciUsageProxySubscriptionRewardItemsList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean); /** * @param index the index of the item to return */ get(index: number): DataOciUsageProxySubscriptionRewardItemsOutputReference; } export interface DataOciUsageProxySubscriptionRewardSummary { } export declare function dataOciUsageProxySubscriptionRewardSummaryToTerraform(struct?: DataOciUsageProxySubscriptionRewardSummary): any; export declare function dataOciUsageProxySubscriptionRewardSummaryToHclTerraform(struct?: DataOciUsageProxySubscriptionRewardSummary): any; export declare class DataOciUsageProxySubscriptionRewardSummaryOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param complexObjectIndex the index of this item in the list * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean); get internalValue(): DataOciUsageProxySubscriptionRewardSummary | undefined; set internalValue(value: DataOciUsageProxySubscriptionRewardSummary | undefined); get currency(): string; get redemptionCode(): string; get rewardsRate(): number; get subscriptionId(): string; get tenancyId(): string; get totalRewardsAvailable(): number; } export declare class DataOciUsageProxySubscriptionRewardSummaryList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean); /** * @param index the index of the item to return */ get(index: number): DataOciUsageProxySubscriptionRewardSummaryOutputReference; } /** * Represents a {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/usage_proxy_subscription_reward oci_usage_proxy_subscription_reward} */ export declare class DataOciUsageProxySubscriptionReward extends cdktf.TerraformDataSource { static readonly tfResourceType = "oci_usage_proxy_subscription_reward"; /** * Generates CDKTF code for importing a DataOciUsageProxySubscriptionReward resource upon running "cdktf plan <stack-name>" * @param scope The scope in which to define this construct * @param importToId The construct id used in the generated config for the DataOciUsageProxySubscriptionReward to import * @param importFromId The id of the existing DataOciUsageProxySubscriptionReward that should be imported. Refer to the {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/usage_proxy_subscription_reward#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the DataOciUsageProxySubscriptionReward to import is found */ static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): cdktf.ImportableResource; /** * Create a new {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/usage_proxy_subscription_reward oci_usage_proxy_subscription_reward} Data Source * * @param scope The scope in which to define this construct * @param id The scoped construct ID. Must be unique amongst siblings in the same scope * @param options DataOciUsageProxySubscriptionRewardConfig */ constructor(scope: Construct, id: string, config: DataOciUsageProxySubscriptionRewardConfig); private _id?; get id(): string; set id(value: string); resetId(): void; get idInput(): string | undefined; private _items; get items(): DataOciUsageProxySubscriptionRewardItemsList; private _subscriptionId?; get subscriptionId(): string; set subscriptionId(value: string); get subscriptionIdInput(): string | undefined; private _summary; get summary(): DataOciUsageProxySubscriptionRewardSummaryList; private _tenancyId?; get tenancyId(): string; set tenancyId(value: string); get tenancyIdInput(): string | undefined; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }