GetFolder
Use this data source to get information about a Google Cloud Folder.
Using GetFolder
function getFolder(args: GetFolderArgs, opts?: InvokeOptions): Promise<GetFolderResult>function get_folder(folder=None, lookup_organization=None, opts=None)func LookupFolder(ctx *Context, args *LookupFolderArgs, opts ...InvokeOption) (*LookupFolderResult, error)Note: This function is named
LookupFolderin the Go SDK.
public static class GetFolder {
public static Task<GetFolderResult> InvokeAsync(GetFolderArgs args, InvokeOptions? opts = null)
}The following arguments are supported:
- Folder string
The name of the Folder in the form
{folder_id}orfolders/{folder_id}.- Lookup
Organization bool trueto find the organization that the folder belongs,falseto avoid the lookup. It searches up the tree. (defaults tofalse)
- Folder string
The name of the Folder in the form
{folder_id}orfolders/{folder_id}.- Lookup
Organization bool trueto find the organization that the folder belongs,falseto avoid the lookup. It searches up the tree. (defaults tofalse)
- folder string
The name of the Folder in the form
{folder_id}orfolders/{folder_id}.- lookup
Organization boolean trueto find the organization that the folder belongs,falseto avoid the lookup. It searches up the tree. (defaults tofalse)
- folder str
The name of the Folder in the form
{folder_id}orfolders/{folder_id}.- lookup_
organization bool trueto find the organization that the folder belongs,falseto avoid the lookup. It searches up the tree. (defaults tofalse)
GetFolder Result
The following output properties are available:
- Create
Time string Timestamp when the Organization was created. A timestamp in RFC3339 UTC “Zulu” format, accurate to nanoseconds. Example: “2014-10-02T15:01:23.045123456Z”.
- Display
Name string The folder’s display name.
- Folder string
- Id string
The provider-assigned unique ID for this managed resource.
- Lifecycle
State string The Folder’s current lifecycle state.
- Name string
The resource name of the Folder in the form
folders/{folder_id}.- Organization string
If
lookup_organizationis enable, the resource name of the Organization that the folder belongs.- Parent string
The resource name of the parent Folder or Organization.
- Lookup
Organization bool
- Create
Time string Timestamp when the Organization was created. A timestamp in RFC3339 UTC “Zulu” format, accurate to nanoseconds. Example: “2014-10-02T15:01:23.045123456Z”.
- Display
Name string The folder’s display name.
- Folder string
- Id string
The provider-assigned unique ID for this managed resource.
- Lifecycle
State string The Folder’s current lifecycle state.
- Name string
The resource name of the Folder in the form
folders/{folder_id}.- Organization string
If
lookup_organizationis enable, the resource name of the Organization that the folder belongs.- Parent string
The resource name of the parent Folder or Organization.
- Lookup
Organization bool
- create
Time string Timestamp when the Organization was created. A timestamp in RFC3339 UTC “Zulu” format, accurate to nanoseconds. Example: “2014-10-02T15:01:23.045123456Z”.
- display
Name string The folder’s display name.
- folder string
- id string
The provider-assigned unique ID for this managed resource.
- lifecycle
State string The Folder’s current lifecycle state.
- name string
The resource name of the Folder in the form
folders/{folder_id}.- organization string
If
lookup_organizationis enable, the resource name of the Organization that the folder belongs.- parent string
The resource name of the parent Folder or Organization.
- lookup
Organization boolean
- create_
time str Timestamp when the Organization was created. A timestamp in RFC3339 UTC “Zulu” format, accurate to nanoseconds. Example: “2014-10-02T15:01:23.045123456Z”.
- display_
name str The folder’s display name.
- folder str
- id str
The provider-assigned unique ID for this managed resource.
- lifecycle_
state str The Folder’s current lifecycle state.
- name str
The resource name of the Folder in the form
folders/{folder_id}.- organization str
If
lookup_organizationis enable, the resource name of the Organization that the folder belongs.- parent str
The resource name of the parent Folder or Organization.
- lookup_
organization bool
Package Details
- Repository
- https://github.com/pulumi/pulumi-gcp
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
google-betaTerraform Provider.