rhizo-co-terraform-provider-oci
Version:
Prebuilt oci Provider for Terraform CDK (cdktf)
256 lines (255 loc) • 14.4 kB
TypeScript
import { Construct } from 'constructs';
import * as cdktf from 'cdktf';
export interface DataOciArtifactsGenericArtifactsConfig extends cdktf.TerraformMetaArguments {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/artifacts_generic_artifacts#artifact_path DataOciArtifactsGenericArtifacts#artifact_path}
*/
readonly artifactPath?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/artifacts_generic_artifacts#compartment_id DataOciArtifactsGenericArtifacts#compartment_id}
*/
readonly compartmentId: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/artifacts_generic_artifacts#display_name DataOciArtifactsGenericArtifacts#display_name}
*/
readonly displayName?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/artifacts_generic_artifacts#id DataOciArtifactsGenericArtifacts#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/artifacts_generic_artifacts#repository_id DataOciArtifactsGenericArtifacts#repository_id}
*/
readonly repositoryId: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/artifacts_generic_artifacts#sha256 DataOciArtifactsGenericArtifacts#sha256}
*/
readonly sha256?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/artifacts_generic_artifacts#state DataOciArtifactsGenericArtifacts#state}
*/
readonly state?: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/artifacts_generic_artifacts#version DataOciArtifactsGenericArtifacts#version}
*/
readonly version?: string;
/**
* filter block
*
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/artifacts_generic_artifacts#filter DataOciArtifactsGenericArtifacts#filter}
*/
readonly filter?: DataOciArtifactsGenericArtifactsFilter[] | cdktf.IResolvable;
}
export interface DataOciArtifactsGenericArtifactsGenericArtifactCollectionItems {
}
export declare function dataOciArtifactsGenericArtifactsGenericArtifactCollectionItemsToTerraform(struct?: DataOciArtifactsGenericArtifactsGenericArtifactCollectionItems): any;
export declare function dataOciArtifactsGenericArtifactsGenericArtifactCollectionItemsToHclTerraform(struct?: DataOciArtifactsGenericArtifactsGenericArtifactCollectionItems): any;
export declare class DataOciArtifactsGenericArtifactsGenericArtifactCollectionItemsOutputReference 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(): DataOciArtifactsGenericArtifactsGenericArtifactCollectionItems | undefined;
set internalValue(value: DataOciArtifactsGenericArtifactsGenericArtifactCollectionItems | undefined);
get artifactId(): string;
get artifactPath(): string;
get compartmentId(): string;
private _definedTags;
get definedTags(): cdktf.StringMap;
get displayName(): string;
private _freeformTags;
get freeformTags(): cdktf.StringMap;
get id(): string;
get repositoryId(): string;
get sha256(): string;
get sizeInBytes(): string;
get state(): string;
get timeCreated(): string;
get version(): string;
}
export declare class DataOciArtifactsGenericArtifactsGenericArtifactCollectionItemsList 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): DataOciArtifactsGenericArtifactsGenericArtifactCollectionItemsOutputReference;
}
export interface DataOciArtifactsGenericArtifactsGenericArtifactCollection {
}
export declare function dataOciArtifactsGenericArtifactsGenericArtifactCollectionToTerraform(struct?: DataOciArtifactsGenericArtifactsGenericArtifactCollection): any;
export declare function dataOciArtifactsGenericArtifactsGenericArtifactCollectionToHclTerraform(struct?: DataOciArtifactsGenericArtifactsGenericArtifactCollection): any;
export declare class DataOciArtifactsGenericArtifactsGenericArtifactCollectionOutputReference 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(): DataOciArtifactsGenericArtifactsGenericArtifactCollection | undefined;
set internalValue(value: DataOciArtifactsGenericArtifactsGenericArtifactCollection | undefined);
private _items;
get items(): DataOciArtifactsGenericArtifactsGenericArtifactCollectionItemsList;
}
export declare class DataOciArtifactsGenericArtifactsGenericArtifactCollectionList 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): DataOciArtifactsGenericArtifactsGenericArtifactCollectionOutputReference;
}
export interface DataOciArtifactsGenericArtifactsFilter {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/artifacts_generic_artifacts#name DataOciArtifactsGenericArtifacts#name}
*/
readonly name: string;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/artifacts_generic_artifacts#regex DataOciArtifactsGenericArtifacts#regex}
*/
readonly regex?: boolean | cdktf.IResolvable;
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/artifacts_generic_artifacts#values DataOciArtifactsGenericArtifacts#values}
*/
readonly values: string[];
}
export declare function dataOciArtifactsGenericArtifactsFilterToTerraform(struct?: DataOciArtifactsGenericArtifactsFilter | cdktf.IResolvable): any;
export declare function dataOciArtifactsGenericArtifactsFilterToHclTerraform(struct?: DataOciArtifactsGenericArtifactsFilter | cdktf.IResolvable): any;
export declare class DataOciArtifactsGenericArtifactsFilterOutputReference 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(): DataOciArtifactsGenericArtifactsFilter | cdktf.IResolvable | undefined;
set internalValue(value: DataOciArtifactsGenericArtifactsFilter | 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 DataOciArtifactsGenericArtifactsFilterList extends cdktf.ComplexList {
protected terraformResource: cdktf.IInterpolatingParent;
protected terraformAttribute: string;
protected wrapsSet: boolean;
internalValue?: DataOciArtifactsGenericArtifactsFilter[] | 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): DataOciArtifactsGenericArtifactsFilterOutputReference;
}
/**
* Represents a {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/artifacts_generic_artifacts oci_artifacts_generic_artifacts}
*/
export declare class DataOciArtifactsGenericArtifacts extends cdktf.TerraformDataSource {
static readonly tfResourceType = "oci_artifacts_generic_artifacts";
/**
* Generates CDKTF code for importing a DataOciArtifactsGenericArtifacts 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 DataOciArtifactsGenericArtifacts to import
* @param importFromId The id of the existing DataOciArtifactsGenericArtifacts that should be imported. Refer to the {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/artifacts_generic_artifacts#import import section} in the documentation of this resource for the id to use
* @param provider? Optional instance of the provider where the DataOciArtifactsGenericArtifacts 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/artifacts_generic_artifacts oci_artifacts_generic_artifacts} 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 DataOciArtifactsGenericArtifactsConfig
*/
constructor(scope: Construct, id: string, config: DataOciArtifactsGenericArtifactsConfig);
private _artifactPath?;
get artifactPath(): string;
set artifactPath(value: string);
resetArtifactPath(): void;
get artifactPathInput(): string | undefined;
private _compartmentId?;
get compartmentId(): string;
set compartmentId(value: string);
get compartmentIdInput(): string | undefined;
private _displayName?;
get displayName(): string;
set displayName(value: string);
resetDisplayName(): void;
get displayNameInput(): string | undefined;
private _genericArtifactCollection;
get genericArtifactCollection(): DataOciArtifactsGenericArtifactsGenericArtifactCollectionList;
private _id?;
get id(): string;
set id(value: string);
resetId(): void;
get idInput(): string | undefined;
private _repositoryId?;
get repositoryId(): string;
set repositoryId(value: string);
get repositoryIdInput(): string | undefined;
private _sha256?;
get sha256(): string;
set sha256(value: string);
resetSha256(): void;
get sha256Input(): string | undefined;
private _state?;
get state(): string;
set state(value: string);
resetState(): void;
get stateInput(): string | undefined;
private _version?;
get version(): string;
set version(value: string);
resetVersion(): void;
get versionInput(): string | undefined;
private _filter;
get filter(): DataOciArtifactsGenericArtifactsFilterList;
putFilter(value: DataOciArtifactsGenericArtifactsFilter[] | cdktf.IResolvable): void;
resetFilter(): void;
get filterInput(): cdktf.IResolvable | DataOciArtifactsGenericArtifactsFilter[] | undefined;
protected synthesizeAttributes(): {
[name: string]: any;
};
protected synthesizeHclAttributes(): {
[name: string]: any;
};
}