UNPKG

@pulumi/gcp

Version:

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

22 lines 852 B
import * as pulumi from "@pulumi/pulumi"; /** * Returns the short-form name 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 nameFromId(id: string, opts?: pulumi.InvokeOptions): Promise<string>; /** * Returns the short-form name 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 nameFromIdOutput(id: pulumi.Input<string>, opts?: pulumi.InvokeOutputOptions): pulumi.Output<string>; //# sourceMappingURL=nameFromId.d.ts.map