import * as pulumi from "@pulumi/pulumi"; /** * This data source can retrieve one or more attributes via RESTCONF. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as iosxe from "@pulumi/iosxe"; * * const example = iosxe.getRestconf({ * path: "Cisco-IOS-XE-native:native/banner/login", * }); * ``` */ export declare function getRestconf(args: GetRestconfArgs, opts?: pulumi.InvokeOptions): Promise; /** * A collection of arguments for invoking getRestconf. */ export interface GetRestconfArgs { /** * A device name from the provider configuration. */ device?: string; /** * A RESTCONF path, e.g. `openconfig-interfaces:interfaces`. */ path: string; } /** * A collection of values returned by getRestconf. */ export interface GetRestconfResult { /** * Map of key-value pairs which represents the attributes and its values. */ readonly attributes: { [key: string]: string; }; /** * A device name from the provider configuration. */ readonly device?: string; /** * The path of the retrieved object. */ readonly id: string; /** * A RESTCONF path, e.g. `openconfig-interfaces:interfaces`. */ readonly path: string; } /** * This data source can retrieve one or more attributes via RESTCONF. * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as iosxe from "@pulumi/iosxe"; * * const example = iosxe.getRestconf({ * path: "Cisco-IOS-XE-native:native/banner/login", * }); * ``` */ export declare function getRestconfOutput(args: GetRestconfOutputArgs, opts?: pulumi.InvokeOptions): pulumi.Output; /** * A collection of arguments for invoking getRestconf. */ export interface GetRestconfOutputArgs { /** * A device name from the provider configuration. */ device?: pulumi.Input; /** * A RESTCONF path, e.g. `openconfig-interfaces:interfaces`. */ path: pulumi.Input; }