rhizo-co-terraform-provider-oci
Version:
Prebuilt oci Provider for Terraform CDK (cdktf)
170 lines (169 loc) • 9.4 kB
TypeScript
import { Construct } from 'constructs';
import * as cdktf from 'cdktf';
export interface DataOciServiceMeshAccessPolicyConfig extends cdktf.TerraformMetaArguments {
/**
* Docs at Terraform Registry: {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/service_mesh_access_policy#access_policy_id DataOciServiceMeshAccessPolicy#access_policy_id}
*/
readonly accessPolicyId: string;
}
export interface DataOciServiceMeshAccessPolicyRulesDestination {
}
export declare function dataOciServiceMeshAccessPolicyRulesDestinationToTerraform(struct?: DataOciServiceMeshAccessPolicyRulesDestination): any;
export declare function dataOciServiceMeshAccessPolicyRulesDestinationToHclTerraform(struct?: DataOciServiceMeshAccessPolicyRulesDestination): any;
export declare class DataOciServiceMeshAccessPolicyRulesDestinationOutputReference 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(): DataOciServiceMeshAccessPolicyRulesDestination | undefined;
set internalValue(value: DataOciServiceMeshAccessPolicyRulesDestination | undefined);
get hostnames(): string[];
get ingressGatewayId(): string;
get ipAddresses(): string[];
get ports(): number[];
get protocol(): string;
get type(): string;
get virtualServiceId(): string;
}
export declare class DataOciServiceMeshAccessPolicyRulesDestinationList 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): DataOciServiceMeshAccessPolicyRulesDestinationOutputReference;
}
export interface DataOciServiceMeshAccessPolicyRulesSource {
}
export declare function dataOciServiceMeshAccessPolicyRulesSourceToTerraform(struct?: DataOciServiceMeshAccessPolicyRulesSource): any;
export declare function dataOciServiceMeshAccessPolicyRulesSourceToHclTerraform(struct?: DataOciServiceMeshAccessPolicyRulesSource): any;
export declare class DataOciServiceMeshAccessPolicyRulesSourceOutputReference 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(): DataOciServiceMeshAccessPolicyRulesSource | undefined;
set internalValue(value: DataOciServiceMeshAccessPolicyRulesSource | undefined);
get hostnames(): string[];
get ingressGatewayId(): string;
get ipAddresses(): string[];
get ports(): number[];
get protocol(): string;
get type(): string;
get virtualServiceId(): string;
}
export declare class DataOciServiceMeshAccessPolicyRulesSourceList 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): DataOciServiceMeshAccessPolicyRulesSourceOutputReference;
}
export interface DataOciServiceMeshAccessPolicyRules {
}
export declare function dataOciServiceMeshAccessPolicyRulesToTerraform(struct?: DataOciServiceMeshAccessPolicyRules): any;
export declare function dataOciServiceMeshAccessPolicyRulesToHclTerraform(struct?: DataOciServiceMeshAccessPolicyRules): any;
export declare class DataOciServiceMeshAccessPolicyRulesOutputReference 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(): DataOciServiceMeshAccessPolicyRules | undefined;
set internalValue(value: DataOciServiceMeshAccessPolicyRules | undefined);
get action(): string;
private _destination;
get destination(): DataOciServiceMeshAccessPolicyRulesDestinationList;
private _source;
get source(): DataOciServiceMeshAccessPolicyRulesSourceList;
}
export declare class DataOciServiceMeshAccessPolicyRulesList 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): DataOciServiceMeshAccessPolicyRulesOutputReference;
}
/**
* Represents a {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/service_mesh_access_policy oci_service_mesh_access_policy}
*/
export declare class DataOciServiceMeshAccessPolicy extends cdktf.TerraformDataSource {
static readonly tfResourceType = "oci_service_mesh_access_policy";
/**
* Generates CDKTF code for importing a DataOciServiceMeshAccessPolicy 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 DataOciServiceMeshAccessPolicy to import
* @param importFromId The id of the existing DataOciServiceMeshAccessPolicy that should be imported. Refer to the {@link https://registry.terraform.io/providers/oracle/oci/6.18.0/docs/data-sources/service_mesh_access_policy#import import section} in the documentation of this resource for the id to use
* @param provider? Optional instance of the provider where the DataOciServiceMeshAccessPolicy 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/service_mesh_access_policy oci_service_mesh_access_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 DataOciServiceMeshAccessPolicyConfig
*/
constructor(scope: Construct, id: string, config: DataOciServiceMeshAccessPolicyConfig);
private _accessPolicyId?;
get accessPolicyId(): string;
set accessPolicyId(value: string);
get accessPolicyIdInput(): string | undefined;
get compartmentId(): string;
private _definedTags;
get definedTags(): cdktf.StringMap;
get description(): string;
private _freeformTags;
get freeformTags(): cdktf.StringMap;
get id(): string;
get lifecycleDetails(): string;
get meshId(): string;
get name(): string;
private _rules;
get rules(): DataOciServiceMeshAccessPolicyRulesList;
get state(): string;
private _systemTags;
get systemTags(): cdktf.StringMap;
get timeCreated(): string;
get timeUpdated(): string;
protected synthesizeAttributes(): {
[name: string]: any;
};
protected synthesizeHclAttributes(): {
[name: string]: any;
};
}