rhizo-co-terraform-provider-oci
Version:
Prebuilt oci Provider for Terraform CDK (cdktf)
132 lines (131 loc) • 7.74 kB
TypeScript
import { Construct } from 'constructs';
import * as cdktf from 'cdktf';
export interface DataOciFileStorageFilesystemSnapshotPolicyConfig extends cdktf.TerraformMetaArguments {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/file_storage_filesystem_snapshot_policy#filesystem_snapshot_policy_id DataOciFileStorageFilesystemSnapshotPolicy#filesystem_snapshot_policy_id}
*/
readonly filesystemSnapshotPolicyId: string;
}
export interface DataOciFileStorageFilesystemSnapshotPolicyLocks {
}
export declare function dataOciFileStorageFilesystemSnapshotPolicyLocksToTerraform(struct?: DataOciFileStorageFilesystemSnapshotPolicyLocks): any;
export declare function dataOciFileStorageFilesystemSnapshotPolicyLocksToHclTerraform(struct?: DataOciFileStorageFilesystemSnapshotPolicyLocks): any;
export declare class DataOciFileStorageFilesystemSnapshotPolicyLocksOutputReference 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(): DataOciFileStorageFilesystemSnapshotPolicyLocks | undefined;
set internalValue(value: DataOciFileStorageFilesystemSnapshotPolicyLocks | undefined);
get message(): string;
get relatedResourceId(): string;
get timeCreated(): string;
get type(): string;
}
export declare class DataOciFileStorageFilesystemSnapshotPolicyLocksList 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): DataOciFileStorageFilesystemSnapshotPolicyLocksOutputReference;
}
export interface DataOciFileStorageFilesystemSnapshotPolicySchedules {
}
export declare function dataOciFileStorageFilesystemSnapshotPolicySchedulesToTerraform(struct?: DataOciFileStorageFilesystemSnapshotPolicySchedules): any;
export declare function dataOciFileStorageFilesystemSnapshotPolicySchedulesToHclTerraform(struct?: DataOciFileStorageFilesystemSnapshotPolicySchedules): any;
export declare class DataOciFileStorageFilesystemSnapshotPolicySchedulesOutputReference 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(): DataOciFileStorageFilesystemSnapshotPolicySchedules | undefined;
set internalValue(value: DataOciFileStorageFilesystemSnapshotPolicySchedules | undefined);
get dayOfMonth(): number;
get dayOfWeek(): string;
get hourOfDay(): number;
get month(): string;
get period(): string;
get retentionDurationInSeconds(): string;
get schedulePrefix(): string;
get timeScheduleStart(): string;
get timeZone(): string;
}
export declare class DataOciFileStorageFilesystemSnapshotPolicySchedulesList 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): DataOciFileStorageFilesystemSnapshotPolicySchedulesOutputReference;
}
/**
* Represents a {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/file_storage_filesystem_snapshot_policy oci_file_storage_filesystem_snapshot_policy}
*/
export declare class DataOciFileStorageFilesystemSnapshotPolicy extends cdktf.TerraformDataSource {
static readonly tfResourceType = "oci_file_storage_filesystem_snapshot_policy";
/**
* Generates CDKTF code for importing a DataOciFileStorageFilesystemSnapshotPolicy 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 DataOciFileStorageFilesystemSnapshotPolicy to import
* @param importFromId The id of the existing DataOciFileStorageFilesystemSnapshotPolicy that should be imported. Refer to the {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/file_storage_filesystem_snapshot_policy#import import section} in the documentation of this resource for the id to use
* @param provider? Optional instance of the provider where the DataOciFileStorageFilesystemSnapshotPolicy 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/file_storage_filesystem_snapshot_policy oci_file_storage_filesystem_snapshot_policy} 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 DataOciFileStorageFilesystemSnapshotPolicyConfig
*/
constructor(scope: Construct, id: string, config: DataOciFileStorageFilesystemSnapshotPolicyConfig);
get availabilityDomain(): string;
get compartmentId(): string;
private _definedTags;
get definedTags(): cdktf.StringMap;
get displayName(): string;
private _filesystemSnapshotPolicyId?;
get filesystemSnapshotPolicyId(): string;
set filesystemSnapshotPolicyId(value: string);
get filesystemSnapshotPolicyIdInput(): string | undefined;
private _freeformTags;
get freeformTags(): cdktf.StringMap;
get id(): string;
get isLockOverride(): cdktf.IResolvable;
private _locks;
get locks(): DataOciFileStorageFilesystemSnapshotPolicyLocksList;
get policyPrefix(): string;
private _schedules;
get schedules(): DataOciFileStorageFilesystemSnapshotPolicySchedulesList;
get state(): string;
get timeCreated(): string;
protected synthesizeAttributes(): {
[name: string]: any;
};
protected synthesizeHclAttributes(): {
[name: string]: any;
};
}