rhizo-co-terraform-provider-oci
Version:
Prebuilt oci Provider for Terraform CDK (cdktf)
280 lines (279 loc) • 17.1 kB
TypeScript
import { Construct } from 'constructs';
import * as cdktf from 'cdktf';
export interface DataOciUsageProxySubscriptionRewardsConfig extends cdktf.TerraformMetaArguments {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/usage_proxy_subscription_rewards#id DataOciUsageProxySubscriptionRewards#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_rewards#subscription_id DataOciUsageProxySubscriptionRewards#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_rewards#tenancy_id DataOciUsageProxySubscriptionRewards#tenancy_id}
*/
readonly tenancyId: string;
/**
* filter block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/usage_proxy_subscription_rewards#filter DataOciUsageProxySubscriptionRewards#filter}
*/
readonly filter?: DataOciUsageProxySubscriptionRewardsFilter[] | cdktf.IResolvable;
}
export interface DataOciUsageProxySubscriptionRewardsRewardCollectionItemsItems {
}
export declare function dataOciUsageProxySubscriptionRewardsRewardCollectionItemsItemsToTerraform(struct?: DataOciUsageProxySubscriptionRewardsRewardCollectionItemsItems): any;
export declare function dataOciUsageProxySubscriptionRewardsRewardCollectionItemsItemsToHclTerraform(struct?: DataOciUsageProxySubscriptionRewardsRewardCollectionItemsItems): any;
export declare class DataOciUsageProxySubscriptionRewardsRewardCollectionItemsItemsOutputReference 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(): DataOciUsageProxySubscriptionRewardsRewardCollectionItemsItems | undefined;
set internalValue(value: DataOciUsageProxySubscriptionRewardsRewardCollectionItemsItems | 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 DataOciUsageProxySubscriptionRewardsRewardCollectionItemsItemsList 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): DataOciUsageProxySubscriptionRewardsRewardCollectionItemsItemsOutputReference;
}
export interface DataOciUsageProxySubscriptionRewardsRewardCollectionItemsSummary {
}
export declare function dataOciUsageProxySubscriptionRewardsRewardCollectionItemsSummaryToTerraform(struct?: DataOciUsageProxySubscriptionRewardsRewardCollectionItemsSummary): any;
export declare function dataOciUsageProxySubscriptionRewardsRewardCollectionItemsSummaryToHclTerraform(struct?: DataOciUsageProxySubscriptionRewardsRewardCollectionItemsSummary): any;
export declare class DataOciUsageProxySubscriptionRewardsRewardCollectionItemsSummaryOutputReference 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(): DataOciUsageProxySubscriptionRewardsRewardCollectionItemsSummary | undefined;
set internalValue(value: DataOciUsageProxySubscriptionRewardsRewardCollectionItemsSummary | undefined);
get currency(): string;
get redemptionCode(): string;
get rewardsRate(): number;
get subscriptionId(): string;
get tenancyId(): string;
get totalRewardsAvailable(): number;
}
export declare class DataOciUsageProxySubscriptionRewardsRewardCollectionItemsSummaryList 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): DataOciUsageProxySubscriptionRewardsRewardCollectionItemsSummaryOutputReference;
}
export interface DataOciUsageProxySubscriptionRewardsRewardCollectionItems {
}
export declare function dataOciUsageProxySubscriptionRewardsRewardCollectionItemsToTerraform(struct?: DataOciUsageProxySubscriptionRewardsRewardCollectionItems): any;
export declare function dataOciUsageProxySubscriptionRewardsRewardCollectionItemsToHclTerraform(struct?: DataOciUsageProxySubscriptionRewardsRewardCollectionItems): any;
export declare class DataOciUsageProxySubscriptionRewardsRewardCollectionItemsOutputReference 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(): DataOciUsageProxySubscriptionRewardsRewardCollectionItems | undefined;
set internalValue(value: DataOciUsageProxySubscriptionRewardsRewardCollectionItems | undefined);
private _items;
get items(): DataOciUsageProxySubscriptionRewardsRewardCollectionItemsItemsList;
private _summary;
get summary(): DataOciUsageProxySubscriptionRewardsRewardCollectionItemsSummaryList;
}
export declare class DataOciUsageProxySubscriptionRewardsRewardCollectionItemsList 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): DataOciUsageProxySubscriptionRewardsRewardCollectionItemsOutputReference;
}
export interface DataOciUsageProxySubscriptionRewardsRewardCollection {
}
export declare function dataOciUsageProxySubscriptionRewardsRewardCollectionToTerraform(struct?: DataOciUsageProxySubscriptionRewardsRewardCollection): any;
export declare function dataOciUsageProxySubscriptionRewardsRewardCollectionToHclTerraform(struct?: DataOciUsageProxySubscriptionRewardsRewardCollection): any;
export declare class DataOciUsageProxySubscriptionRewardsRewardCollectionOutputReference 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(): DataOciUsageProxySubscriptionRewardsRewardCollection | undefined;
set internalValue(value: DataOciUsageProxySubscriptionRewardsRewardCollection | undefined);
private _items;
get items(): DataOciUsageProxySubscriptionRewardsRewardCollectionItemsList;
}
export declare class DataOciUsageProxySubscriptionRewardsRewardCollectionList 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): DataOciUsageProxySubscriptionRewardsRewardCollectionOutputReference;
}
export interface DataOciUsageProxySubscriptionRewardsFilter {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/usage_proxy_subscription_rewards#name DataOciUsageProxySubscriptionRewards#name}
*/
readonly name: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/usage_proxy_subscription_rewards#regex DataOciUsageProxySubscriptionRewards#regex}
*/
readonly regex?: boolean | cdktf.IResolvable;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/usage_proxy_subscription_rewards#values DataOciUsageProxySubscriptionRewards#values}
*/
readonly values: string[];
}
export declare function dataOciUsageProxySubscriptionRewardsFilterToTerraform(struct?: DataOciUsageProxySubscriptionRewardsFilter | cdktf.IResolvable): any;
export declare function dataOciUsageProxySubscriptionRewardsFilterToHclTerraform(struct?: DataOciUsageProxySubscriptionRewardsFilter | cdktf.IResolvable): any;
export declare class DataOciUsageProxySubscriptionRewardsFilterOutputReference extends cdktf.ComplexObject {
private isEmptyObject;
private resolvableValue?;
/**
* @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(): DataOciUsageProxySubscriptionRewardsFilter | cdktf.IResolvable | undefined;
set internalValue(value: DataOciUsageProxySubscriptionRewardsFilter | cdktf.IResolvable | undefined);
private _name?;
get name(): string;
set name(value: string);
get nameInput(): string | undefined;
private _regex?;
get regex(): boolean | cdktf.IResolvable;
set regex(value: boolean | cdktf.IResolvable);
resetRegex(): void;
get regexInput(): boolean | cdktf.IResolvable | undefined;
private _values?;
get values(): string[];
set values(value: string[]);
get valuesInput(): string[] | undefined;
}
export declare class DataOciUsageProxySubscriptionRewardsFilterList extends cdktf.ComplexList {
protected terraformResource: cdktf.IInterpolatingParent;
protected terraformAttribute: string;
protected wrapsSet: boolean;
internalValue?: DataOciUsageProxySubscriptionRewardsFilter[] | cdktf.IResolvable;
/**
* @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): DataOciUsageProxySubscriptionRewardsFilterOutputReference;
}
/**
* Represents a {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/usage_proxy_subscription_rewards oci_usage_proxy_subscription_rewards}
*/
export declare class DataOciUsageProxySubscriptionRewards extends cdktf.TerraformDataSource {
static readonly tfResourceType = "oci_usage_proxy_subscription_rewards";
/**
* Generates CDKTF code for importing a DataOciUsageProxySubscriptionRewards 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 DataOciUsageProxySubscriptionRewards to import
* @param importFromId The id of the existing DataOciUsageProxySubscriptionRewards that should be imported. Refer to the {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/usage_proxy_subscription_rewards#import import section} in the documentation of this resource for the id to use
* @param provider? Optional instance of the provider where the DataOciUsageProxySubscriptionRewards 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_rewards oci_usage_proxy_subscription_rewards} 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 DataOciUsageProxySubscriptionRewardsConfig
*/
constructor(scope: Construct, id: string, config: DataOciUsageProxySubscriptionRewardsConfig);
private _id?;
get id(): string;
set id(value: string);
resetId(): void;
get idInput(): string | undefined;
private _rewardCollection;
get rewardCollection(): DataOciUsageProxySubscriptionRewardsRewardCollectionList;
private _subscriptionId?;
get subscriptionId(): string;
set subscriptionId(value: string);
get subscriptionIdInput(): string | undefined;
private _tenancyId?;
get tenancyId(): string;
set tenancyId(value: string);
get tenancyIdInput(): string | undefined;
private _filter;
get filter(): DataOciUsageProxySubscriptionRewardsFilterList;
putFilter(value: DataOciUsageProxySubscriptionRewardsFilter[] | cdktf.IResolvable): void;
resetFilter(): void;
get filterInput(): cdktf.IResolvable | DataOciUsageProxySubscriptionRewardsFilter[] | undefined;
protected synthesizeAttributes(): {
[name: string]: any;
};
protected synthesizeHclAttributes(): {
[name: string]: any;
};
}