UNPKG

@cdktf/provider-googleworkspace

Version:

Prebuilt googleworkspace Provider for Terraform CDK (cdktf)

66 lines (65 loc) 4.07 kB
/** * Copyright (c) HashiCorp, Inc. * SPDX-License-Identifier: MPL-2.0 */ import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface DataGoogleworkspaceOrgUnitConfig extends cdktf.TerraformMetaArguments { /** * The unique ID of the organizational unit. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/googleworkspace/0.7.0/docs/data-sources/org_unit#org_unit_id DataGoogleworkspaceOrgUnit#org_unit_id} */ readonly orgUnitId?: string; /** * The full path to the organizational unit. The orgUnitPath is a derived property. When listed, it is derived from parentOrgunitPath and organizational unit's name. For example, for an organizational unit named 'apps' under parent organization '/engineering', the orgUnitPath is '/engineering/apps'. In order to edit an orgUnitPath, either update the name of the organization or the parentOrgunitPath. A user's organizational unit determines which Google Workspace services the user has access to. If the user is moved to a new organization, the user's access changes. For more information about organization structures, see the [administration help center](https://support.google.com/a/answer/4352075). For more information about moving a user to a different organization, see [chromeosdevices.update a user](https://developers.google.com/admin-sdk/directory/v1/guides/manage-users#update_user). * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/googleworkspace/0.7.0/docs/data-sources/org_unit#org_unit_path DataGoogleworkspaceOrgUnit#org_unit_path} */ readonly orgUnitPath?: string; } /** * Represents a {@link https://registry.terraform.io/providers/hashicorp/googleworkspace/0.7.0/docs/data-sources/org_unit googleworkspace_org_unit} */ export declare class DataGoogleworkspaceOrgUnit extends cdktf.TerraformDataSource { static readonly tfResourceType = "googleworkspace_org_unit"; /** * Generates CDKTF code for importing a DataGoogleworkspaceOrgUnit resource upon running "cdktf plan <stack-name>" * @param scope The scope in which to define this construct * @param importToId The construct id used in the generated config for the DataGoogleworkspaceOrgUnit to import * @param importFromId The id of the existing DataGoogleworkspaceOrgUnit that should be imported. Refer to the {@link https://registry.terraform.io/providers/hashicorp/googleworkspace/0.7.0/docs/data-sources/org_unit#import import section} in the documentation of this resource for the id to use * @param provider? Optional instance of the provider where the DataGoogleworkspaceOrgUnit to import is found */ static generateConfigForImport(scope: Construct, importToId: string, importFromId: string, provider?: cdktf.TerraformProvider): cdktf.ImportableResource; /** * Create a new {@link https://registry.terraform.io/providers/hashicorp/googleworkspace/0.7.0/docs/data-sources/org_unit googleworkspace_org_unit} Data Source * * @param scope The scope in which to define this construct * @param id The scoped construct ID. Must be unique amongst siblings in the same scope * @param options DataGoogleworkspaceOrgUnitConfig = {} */ constructor(scope: Construct, id: string, config?: DataGoogleworkspaceOrgUnitConfig); get blockInheritance(): cdktf.IResolvable; get description(): string; get etag(): string; get id(): string; get name(): string; private _orgUnitId?; get orgUnitId(): string; set orgUnitId(value: string); resetOrgUnitId(): void; get orgUnitIdInput(): string | undefined; private _orgUnitPath?; get orgUnitPath(): string; set orgUnitPath(value: string); resetOrgUnitPath(): void; get orgUnitPathInput(): string | undefined; get parentOrgUnitId(): string; get parentOrgUnitPath(): string; protected synthesizeAttributes(): { [name: string]: any; }; protected synthesizeHclAttributes(): { [name: string]: any; }; }