UNPKG

@pulumi/gcp

Version:

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

22 lines 850 B
import * as pulumi from "@pulumi/pulumi"; /** * Returns the location within a provided resource's id, resource URI, self link, or full resource name. * * For more information about using provider-defined functions with Terraform see the official documentation. * * ## Example Usage * * ## Signature */ export declare function locationFromId(id: string, opts?: pulumi.InvokeOptions): Promise<string>; /** * Returns the location within a provided resource's id, resource URI, self link, or full resource name. * * For more information about using provider-defined functions with Terraform see the official documentation. * * ## Example Usage * * ## Signature */ export declare function locationFromIdOutput(id: pulumi.Input<string>, opts?: pulumi.InvokeOutputOptions): pulumi.Output<string>; //# sourceMappingURL=locationFromId.d.ts.map