UNPKG

@pulumi/gcp

Version:

A Pulumi package for creating and managing Google Cloud Platform resources.

113 lines 3.15 kB
import * as pulumi from "@pulumi/pulumi"; /** * Get information about an ODB Network. * * For more information see the * [API](https://cloud.google.com/oracle/database/docs/reference/rest/v1/projects.locations.odbNetworks). * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as gcp from "@pulumi/gcp"; * * const my_network = gcp.oracledatabase.getOdbNetwork({ * location: "us-east4", * odbNetworkId: "my-network-id", * }); * ``` * * ## Attributes reference * * See gcp.oracledatabase.OdbNetwork resource for details of the available attributes. */ export declare function getOdbNetwork(args: GetOdbNetworkArgs, opts?: pulumi.InvokeOptions): Promise<GetOdbNetworkResult>; /** * A collection of arguments for invoking getOdbNetwork. */ export interface GetOdbNetworkArgs { /** * The location of the resource. */ location: string; /** * The ID of the ODB Network. */ odbNetworkId: string; /** * The project to which the resource belongs. If it * is not provided, the provider project is used. */ project?: string; } /** * A collection of values returned by getOdbNetwork. */ export interface GetOdbNetworkResult { readonly createTime: string; readonly deletionPolicy: string; readonly deletionProtection: boolean; readonly effectiveLabels: { [key: string]: string; }; readonly entitlementId: string; readonly gcpOracleZone: string; /** * The provider-assigned unique ID for this managed resource. */ readonly id: string; readonly labels: { [key: string]: string; }; readonly location: string; readonly name: string; readonly network: string; readonly odbNetworkId: string; readonly project?: string; readonly pulumiLabels: { [key: string]: string; }; readonly state: string; } /** * Get information about an ODB Network. * * For more information see the * [API](https://cloud.google.com/oracle/database/docs/reference/rest/v1/projects.locations.odbNetworks). * * ## Example Usage * * ```typescript * import * as pulumi from "@pulumi/pulumi"; * import * as gcp from "@pulumi/gcp"; * * const my_network = gcp.oracledatabase.getOdbNetwork({ * location: "us-east4", * odbNetworkId: "my-network-id", * }); * ``` * * ## Attributes reference * * See gcp.oracledatabase.OdbNetwork resource for details of the available attributes. */ export declare function getOdbNetworkOutput(args: GetOdbNetworkOutputArgs, opts?: pulumi.InvokeOutputOptions): pulumi.Output<GetOdbNetworkResult>; /** * A collection of arguments for invoking getOdbNetwork. */ export interface GetOdbNetworkOutputArgs { /** * The location of the resource. */ location: pulumi.Input<string>; /** * The ID of the ODB Network. */ odbNetworkId: pulumi.Input<string>; /** * The project to which the resource belongs. If it * is not provided, the provider project is used. */ project?: pulumi.Input<string | undefined>; } //# sourceMappingURL=getOdbNetwork.d.ts.map