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 Dhcp Options in Oracle Cloud Infrastructure Core service. * * Lists the sets of DHCP options in the specified VCN and specified compartment. * If the VCN ID is not provided, then the list includes the sets of DHCP options from all VCNs in the specified compartment. * The response includes the default set of options that automatically comes with each VCN, * plus any other sets you've created. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testDhcpOptions = oci.core.getDhcpOptions({ * compartmentId: compartmentId, * displayName: dhcpOptionsDisplayName, * state: dhcpOptionsState, * vcnId: testVcn.id, * }); * ``` */ export declare function getDhcpOptions(args: GetDhcpOptionsArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getDhcpOptions. */ export interface GetDhcpOptionsArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ compartmentId: string; /** * A filter to return only resources that match the given display name exactly. */ displayName?: string; filters?: inputs.Core.GetDhcpOptionsFilter[]; /** * A filter to only return resources that match the given lifecycle state. The state value is case-insensitive. */ state?: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN. */ vcnId?: string; } /** * A collection of values returned by getDhcpOptions. */ export interface GetDhcpOptionsResult { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment containing the set of DHCP options. */ readonly compartmentId: string; /** * A user-friendly name. Does not have to be unique, and it's changeable. Avoid entering confidential information. */ readonly displayName?: string; readonly filters?: outputs.Core.GetDhcpOptionsFilter[]; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; /** * The collection of individual DHCP options. */ readonly options: outputs.Core.GetDhcpOptionsOption[]; /** * The current state of the set of DHCP options. */ readonly state?: string; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN the set of DHCP options belongs to. */ readonly vcnId?: string; } /** * This data source provides the list of Dhcp Options in Oracle Cloud Infrastructure Core service. * * Lists the sets of DHCP options in the specified VCN and specified compartment. * If the VCN ID is not provided, then the list includes the sets of DHCP options from all VCNs in the specified compartment. * The response includes the default set of options that automatically comes with each VCN, * plus any other sets you've created. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as oci from "@pulumi/oci"; * * const testDhcpOptions = oci.core.getDhcpOptions({ * compartmentId: compartmentId, * displayName: dhcpOptionsDisplayName, * state: dhcpOptionsState, * vcnId: testVcn.id, * }); * ``` */ export declare function getDhcpOptionsOutput(args: GetDhcpOptionsOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output; /** * A collection of arguments for invoking getDhcpOptions. */ export interface GetDhcpOptionsOutputArgs { /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the compartment. */ compartmentId: pulumi.Input; /** * A filter to return only resources that match the given display name exactly. */ displayName?: pulumi.Input; filters?: pulumi.Input[] | undefined>; /** * A filter to only return resources that match the given lifecycle state. The state value is case-insensitive. */ state?: pulumi.Input; /** * The [OCID](https://docs.cloud.oracle.com/iaas/Content/General/Concepts/identifiers.htm) of the VCN. */ vcnId?: pulumi.Input; } //# sourceMappingURL=getDhcpOptions.d.ts.map