import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This resource provides the Drg Attachments List resource in Oracle Cloud Infrastructure Core service. * Api doc link for the resource: https://docs.oracle.com/iaas/api/#/en/iaas/latest/DrgAttachmentsList * * Example terraform configs related to the resource : https://github.com/oracle/terraform-provider-oci/tree/master/examples/ * * Returns a complete list of DRG attachments that belong to a particular DRG. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testDrgAttachmentsList = new oci.core.DrgAttachmentsList("test_drg_attachments_list", { * drgId: testDrg.id, * attachmentType: drgAttachmentsListAttachmentType, * isCrossTenancy: drgAttachmentsListIsCrossTenancy === "true", * }); * ``` * * ## Import * * Import is not supported for this resource. */ export declare class DrgAttachmentsList extends pulumi.CustomResource { /** * Get an existing DrgAttachmentsList resource's state with the given name, ID, and optional extra * properties used to qualify the lookup. * * @param name The _unique_ name of the resulting resource. * @param id The _unique_ provider ID of the resource to lookup. * @param state Any extra arguments used during the lookup. * @param opts Optional settings to control the behavior of the CustomResource. */ static get(name: string, id: pulumi.Input, state?: DrgAttachmentsListState, opts?: pulumi.CustomResourceOptions): DrgAttachmentsList; /** * Returns true if the given object is an instance of DrgAttachmentsList. This is designed to work even * when multiple copies of the Pulumi SDK have been loaded into the same process. */ static isInstance(obj: any): obj is DrgAttachmentsList; /** * The type for the network resource attached to the DRG. */ readonly attachmentType: pulumi.Output; /** * The list of drg_attachments. */ readonly drgAllAttachments: pulumi.Output; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG. */ readonly drgId: pulumi.Output; /** * Whether the DRG attachment lives in a different tenancy than the DRG. * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ readonly isCrossTenancy: pulumi.Output; /** * Create a DrgAttachmentsList resource with the given unique name, arguments, and options. * * @param name The _unique_ name of the resource. * @param args The arguments to use to populate this resource's properties. * @param opts A bag of options that control this resource's behavior. */ constructor(name: string, args: DrgAttachmentsListArgs, opts?: pulumi.CustomResourceOptions); } /** * Input properties used for looking up and filtering DrgAttachmentsList resources. */ export interface DrgAttachmentsListState { /** * The type for the network resource attached to the DRG. */ attachmentType?: pulumi.Input; /** * The list of drg_attachments. */ drgAllAttachments?: pulumi.Input[] | undefined>; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG. */ drgId?: pulumi.Input; /** * Whether the DRG attachment lives in a different tenancy than the DRG. * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ isCrossTenancy?: pulumi.Input; } /** * The set of arguments for constructing a DrgAttachmentsList resource. */ export interface DrgAttachmentsListArgs { /** * The type for the network resource attached to the DRG. */ attachmentType?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the DRG. */ drgId: pulumi.Input; /** * Whether the DRG attachment lives in a different tenancy than the DRG. * * ** IMPORTANT ** * Any change to a property that does not support update will force the destruction and recreation of the resource with the new property values */ isCrossTenancy?: pulumi.Input; } //# sourceMappingURL=drgAttachmentsList.d.ts.map