import * as pulumi from "@pulumi/pulumi"; import * as inputs from "../types/input"; import * as outputs from "../types/output"; /** * This data source provides the list of Vnic Attachments in Oracle Cloud Infrastructure Core service. * * Lists the VNIC attachments in the specified compartment. A VNIC attachment * resides in the same compartment as the attached instance. The list can be * filtered by instance, VNIC, or availability domain. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testVnicAttachments = oci.core.getVnicAttachments({ * compartmentId: compartmentId, * availabilityDomain: vnicAttachmentAvailabilityDomain, * instanceId: testInstance.id, * vnicId: testVnic.id, * }); * ``` */ export declare function getVnicAttachments(args: GetVnicAttachmentsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getVnicAttachments. */ export interface GetVnicAttachmentsArgs { /** * The name of the availability domain. Example: `Uocm:PHX-AD-1` */ availabilityDomain?: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ compartmentId: string; filters?: inputs.Core.GetVnicAttachmentsFilter[]; /** * The OCID of the instance. */ instanceId?: string; /** * The OCID of the VNIC. */ vnicId?: string; } /** * A collection of values returned by getVnicAttachments. */ export interface GetVnicAttachmentsResult { /** * The availability domain of the instance. Example: `Uocm:PHX-AD-1` */ readonly availabilityDomain?: string; /** * The OCID of the compartment the VNIC attachment is in, which is the same compartment the instance is in. */ readonly compartmentId: string; readonly filters?: outputs.Core.GetVnicAttachmentsFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The OCID of the instance. */ readonly instanceId?: string; /** * The list of vnic_attachments. */ readonly vnicAttachments: outputs.Core.GetVnicAttachmentsVnicAttachment[]; /** * The OCID of the VNIC. Available after the attachment process is complete. */ readonly vnicId?: string; } /** * This data source provides the list of Vnic Attachments in Oracle Cloud Infrastructure Core service. * * Lists the VNIC attachments in the specified compartment. A VNIC attachment * resides in the same compartment as the attached instance. The list can be * filtered by instance, VNIC, or availability domain. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testVnicAttachments = oci.core.getVnicAttachments({ * compartmentId: compartmentId, * availabilityDomain: vnicAttachmentAvailabilityDomain, * instanceId: testInstance.id, * vnicId: testVnic.id, * }); * ``` */ export declare function getVnicAttachmentsOutput(args: GetVnicAttachmentsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getVnicAttachments. */ export interface GetVnicAttachmentsOutputArgs { /** * The name of the availability domain. Example: `Uocm:PHX-AD-1` */ availabilityDomain?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ compartmentId: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * The OCID of the instance. */ instanceId?: pulumi.Input; /** * The OCID of the VNIC. */ vnicId?: pulumi.Input; } //# sourceMappingURL=getVnicAttachments.d.ts.map