rhizo-co-terraform-provider-oci
Version:
Prebuilt oci Provider for Terraform CDK (cdktf)
144 lines (143 loc) • 7.79 kB
TypeScript
import { Construct } from 'constructs';
import * as cdktf from 'cdktf';
export interface DataOciArtifactsContainerImageConfig extends cdktf.TerraformMetaArguments {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/artifacts_container_image#id DataOciArtifactsContainerImage#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_container_image#image_id DataOciArtifactsContainerImage#image_id}
*/
readonly imageId: string;
}
export interface DataOciArtifactsContainerImageLayers {
}
export declare function dataOciArtifactsContainerImageLayersToTerraform(struct?: DataOciArtifactsContainerImageLayers): any;
export declare function dataOciArtifactsContainerImageLayersToHclTerraform(struct?: DataOciArtifactsContainerImageLayers): any;
export declare class DataOciArtifactsContainerImageLayersOutputReference 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(): DataOciArtifactsContainerImageLayers | undefined;
set internalValue(value: DataOciArtifactsContainerImageLayers | undefined);
get digest(): string;
get sizeInBytes(): string;
get timeCreated(): string;
}
export declare class DataOciArtifactsContainerImageLayersList 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): DataOciArtifactsContainerImageLayersOutputReference;
}
export interface DataOciArtifactsContainerImageVersions {
}
export declare function dataOciArtifactsContainerImageVersionsToTerraform(struct?: DataOciArtifactsContainerImageVersions): any;
export declare function dataOciArtifactsContainerImageVersionsToHclTerraform(struct?: DataOciArtifactsContainerImageVersions): any;
export declare class DataOciArtifactsContainerImageVersionsOutputReference 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(): DataOciArtifactsContainerImageVersions | undefined;
set internalValue(value: DataOciArtifactsContainerImageVersions | undefined);
get createdBy(): string;
get timeCreated(): string;
get version(): string;
}
export declare class DataOciArtifactsContainerImageVersionsList 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): DataOciArtifactsContainerImageVersionsOutputReference;
}
/**
* Represents a {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/artifacts_container_image oci_artifacts_container_image}
*/
export declare class DataOciArtifactsContainerImage extends cdktf.TerraformDataSource {
static readonly tfResourceType = "oci_artifacts_container_image";
/**
* Generates CDKTF code for importing a DataOciArtifactsContainerImage 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 DataOciArtifactsContainerImage to import
* @param importFromId The id of the existing DataOciArtifactsContainerImage that should be imported. Refer to the {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/artifacts_container_image#import import section} in the documentation of this resource for the id to use
* @param provider? Optional instance of the provider where the DataOciArtifactsContainerImage 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_container_image oci_artifacts_container_image} 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 DataOciArtifactsContainerImageConfig
*/
constructor(scope: Construct, id: string, config: DataOciArtifactsContainerImageConfig);
get compartmentId(): string;
get createdBy(): string;
private _definedTags;
get definedTags(): cdktf.StringMap;
get digest(): string;
get displayName(): string;
private _freeformTags;
get freeformTags(): cdktf.StringMap;
private _id?;
get id(): string;
set id(value: string);
resetId(): void;
get idInput(): string | undefined;
private _imageId?;
get imageId(): string;
set imageId(value: string);
get imageIdInput(): string | undefined;
private _layers;
get layers(): DataOciArtifactsContainerImageLayersList;
get layersSizeInBytes(): string;
get manifestSizeInBytes(): number;
get pullCount(): string;
get repositoryId(): string;
get repositoryName(): string;
get state(): string;
private _systemTags;
get systemTags(): cdktf.StringMap;
get timeCreated(): string;
get timeLastPulled(): string;
get version(): string;
private _versions;
get versions(): DataOciArtifactsContainerImageVersionsList;
protected synthesizeAttributes(): {
[name: string]: any;
};
protected synthesizeHclAttributes(): {
[name: string]: any;
};
}