UNPKG

@cdktf/provider-google

Version:

Prebuilt google Provider for Terraform CDK (cdktf)

828 lines 90.6 kB
/** * Copyright (c) HashiCorp, Inc. * SPDX-License-Identifier: MPL-2.0 */ import { Construct } from 'constructs'; import * as cdktf from 'cdktf'; export interface OsConfigPatchDeploymentConfig extends cdktf.TerraformMetaArguments { /** * Description of the patch deployment. Length of the description is limited to 1024 characters. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/os_config_patch_deployment#description OsConfigPatchDeployment#description} */ readonly description?: string; /** * Duration of the patch. After the duration ends, the patch times out. * A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s" * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/os_config_patch_deployment#duration OsConfigPatchDeployment#duration} */ readonly duration?: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/os_config_patch_deployment#id OsConfigPatchDeployment#id} * * Please be aware that the id field is automatically added to all resources in Terraform providers using a Terraform provider SDK version below 2. * If you experience problems setting this value it might not be settable. Please take a look at the provider documentation to ensure it should be settable. */ readonly id?: string; /** * A name for the patch deployment in the project. When creating a name the following rules apply: * * Must contain only lowercase letters, numbers, and hyphens. * * Must start with a letter. * * Must be between 1-63 characters. * * Must end with a number or a letter. * * Must be unique within the project. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/os_config_patch_deployment#patch_deployment_id OsConfigPatchDeployment#patch_deployment_id} */ readonly patchDeploymentId: string; /** * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/os_config_patch_deployment#project OsConfigPatchDeployment#project} */ readonly project?: string; /** * instance_filter block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/os_config_patch_deployment#instance_filter OsConfigPatchDeployment#instance_filter} */ readonly instanceFilter: OsConfigPatchDeploymentInstanceFilter; /** * one_time_schedule block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/os_config_patch_deployment#one_time_schedule OsConfigPatchDeployment#one_time_schedule} */ readonly oneTimeSchedule?: OsConfigPatchDeploymentOneTimeSchedule; /** * patch_config block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/os_config_patch_deployment#patch_config OsConfigPatchDeployment#patch_config} */ readonly patchConfig?: OsConfigPatchDeploymentPatchConfig; /** * recurring_schedule block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/os_config_patch_deployment#recurring_schedule OsConfigPatchDeployment#recurring_schedule} */ readonly recurringSchedule?: OsConfigPatchDeploymentRecurringSchedule; /** * rollout block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/os_config_patch_deployment#rollout OsConfigPatchDeployment#rollout} */ readonly rollout?: OsConfigPatchDeploymentRollout; /** * timeouts block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/os_config_patch_deployment#timeouts OsConfigPatchDeployment#timeouts} */ readonly timeouts?: OsConfigPatchDeploymentTimeouts; } export interface OsConfigPatchDeploymentInstanceFilterGroupLabels { /** * Compute Engine instance labels that must be present for a VM instance to be targeted by this filter * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/os_config_patch_deployment#labels OsConfigPatchDeployment#labels} */ readonly labels: { [key: string]: string; }; } export declare function osConfigPatchDeploymentInstanceFilterGroupLabelsToTerraform(struct?: OsConfigPatchDeploymentInstanceFilterGroupLabels | cdktf.IResolvable): any; export declare function osConfigPatchDeploymentInstanceFilterGroupLabelsToHclTerraform(struct?: OsConfigPatchDeploymentInstanceFilterGroupLabels | cdktf.IResolvable): any; export declare class OsConfigPatchDeploymentInstanceFilterGroupLabelsOutputReference extends cdktf.ComplexObject { private isEmptyObject; private resolvableValue?; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param complexObjectIndex the index of this item in the list * @param complexObjectIsFromSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, complexObjectIndex: number, complexObjectIsFromSet: boolean); get internalValue(): OsConfigPatchDeploymentInstanceFilterGroupLabels | cdktf.IResolvable | undefined; set internalValue(value: OsConfigPatchDeploymentInstanceFilterGroupLabels | cdktf.IResolvable | undefined); private _labels?; get labels(): { [key: string]: string; }; set labels(value: { [key: string]: string; }); get labelsInput(): { [key: string]: string; } | undefined; } export declare class OsConfigPatchDeploymentInstanceFilterGroupLabelsList extends cdktf.ComplexList { protected terraformResource: cdktf.IInterpolatingParent; protected terraformAttribute: string; protected wrapsSet: boolean; internalValue?: OsConfigPatchDeploymentInstanceFilterGroupLabels[] | cdktf.IResolvable; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing * @param wrapsSet whether the list is wrapping a set (will add tolist() to be able to access an item via an index) */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string, wrapsSet: boolean); /** * @param index the index of the item to return */ get(index: number): OsConfigPatchDeploymentInstanceFilterGroupLabelsOutputReference; } export interface OsConfigPatchDeploymentInstanceFilter { /** * Target all VM instances in the project. If true, no other criteria is permitted. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/os_config_patch_deployment#all OsConfigPatchDeployment#all} */ readonly all?: boolean | cdktf.IResolvable; /** * Targets VMs whose name starts with one of these prefixes. Similar to labels, this is another way to group * VMs when targeting configs, for example prefix="prod-". * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/os_config_patch_deployment#instance_name_prefixes OsConfigPatchDeployment#instance_name_prefixes} */ readonly instanceNamePrefixes?: string[]; /** * Targets any of the VM instances specified. Instances are specified by their URI in the 'form zones/{{zone}}/instances/{{instance_name}}', * 'projects/{{project_id}}/zones/{{zone}}/instances/{{instance_name}}', or * 'https://www.googleapis.com/compute/v1/projects/{{project_id}}/zones/{{zone}}/instances/{{instance_name}}' * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/os_config_patch_deployment#instances OsConfigPatchDeployment#instances} */ readonly instances?: string[]; /** * Targets VM instances in ANY of these zones. Leave empty to target VM instances in any zone. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/os_config_patch_deployment#zones OsConfigPatchDeployment#zones} */ readonly zones?: string[]; /** * group_labels block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/os_config_patch_deployment#group_labels OsConfigPatchDeployment#group_labels} */ readonly groupLabels?: OsConfigPatchDeploymentInstanceFilterGroupLabels[] | cdktf.IResolvable; } export declare function osConfigPatchDeploymentInstanceFilterToTerraform(struct?: OsConfigPatchDeploymentInstanceFilterOutputReference | OsConfigPatchDeploymentInstanceFilter): any; export declare function osConfigPatchDeploymentInstanceFilterToHclTerraform(struct?: OsConfigPatchDeploymentInstanceFilterOutputReference | OsConfigPatchDeploymentInstanceFilter): any; export declare class OsConfigPatchDeploymentInstanceFilterOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string); get internalValue(): OsConfigPatchDeploymentInstanceFilter | undefined; set internalValue(value: OsConfigPatchDeploymentInstanceFilter | undefined); private _all?; get all(): boolean | cdktf.IResolvable; set all(value: boolean | cdktf.IResolvable); resetAll(): void; get allInput(): boolean | cdktf.IResolvable | undefined; private _instanceNamePrefixes?; get instanceNamePrefixes(): string[]; set instanceNamePrefixes(value: string[]); resetInstanceNamePrefixes(): void; get instanceNamePrefixesInput(): string[] | undefined; private _instances?; get instances(): string[]; set instances(value: string[]); resetInstances(): void; get instancesInput(): string[] | undefined; private _zones?; get zones(): string[]; set zones(value: string[]); resetZones(): void; get zonesInput(): string[] | undefined; private _groupLabels; get groupLabels(): OsConfigPatchDeploymentInstanceFilterGroupLabelsList; putGroupLabels(value: OsConfigPatchDeploymentInstanceFilterGroupLabels[] | cdktf.IResolvable): void; resetGroupLabels(): void; get groupLabelsInput(): cdktf.IResolvable | OsConfigPatchDeploymentInstanceFilterGroupLabels[] | undefined; } export interface OsConfigPatchDeploymentOneTimeSchedule { /** * The desired patch job execution time. A timestamp in RFC3339 UTC "Zulu" format, * accurate to nanoseconds. Example: "2014-10-02T15:01:23.045123456Z". * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/os_config_patch_deployment#execute_time OsConfigPatchDeployment#execute_time} */ readonly executeTime: string; } export declare function osConfigPatchDeploymentOneTimeScheduleToTerraform(struct?: OsConfigPatchDeploymentOneTimeScheduleOutputReference | OsConfigPatchDeploymentOneTimeSchedule): any; export declare function osConfigPatchDeploymentOneTimeScheduleToHclTerraform(struct?: OsConfigPatchDeploymentOneTimeScheduleOutputReference | OsConfigPatchDeploymentOneTimeSchedule): any; export declare class OsConfigPatchDeploymentOneTimeScheduleOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string); get internalValue(): OsConfigPatchDeploymentOneTimeSchedule | undefined; set internalValue(value: OsConfigPatchDeploymentOneTimeSchedule | undefined); private _executeTime?; get executeTime(): string; set executeTime(value: string); get executeTimeInput(): string | undefined; } export interface OsConfigPatchDeploymentPatchConfigApt { /** * List of packages to exclude from update. These packages will be excluded. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/os_config_patch_deployment#excludes OsConfigPatchDeployment#excludes} */ readonly excludes?: string[]; /** * An exclusive list of packages to be updated. These are the only packages that will be updated. * If these packages are not installed, they will be ignored. This field cannot be specified with * any other patch configuration fields. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/os_config_patch_deployment#exclusive_packages OsConfigPatchDeployment#exclusive_packages} */ readonly exclusivePackages?: string[]; /** * By changing the type to DIST, the patching is performed using apt-get dist-upgrade instead. Possible values: ["DIST", "UPGRADE"] * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/os_config_patch_deployment#type OsConfigPatchDeployment#type} */ readonly type?: string; } export declare function osConfigPatchDeploymentPatchConfigAptToTerraform(struct?: OsConfigPatchDeploymentPatchConfigAptOutputReference | OsConfigPatchDeploymentPatchConfigApt): any; export declare function osConfigPatchDeploymentPatchConfigAptToHclTerraform(struct?: OsConfigPatchDeploymentPatchConfigAptOutputReference | OsConfigPatchDeploymentPatchConfigApt): any; export declare class OsConfigPatchDeploymentPatchConfigAptOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string); get internalValue(): OsConfigPatchDeploymentPatchConfigApt | undefined; set internalValue(value: OsConfigPatchDeploymentPatchConfigApt | undefined); private _excludes?; get excludes(): string[]; set excludes(value: string[]); resetExcludes(): void; get excludesInput(): string[] | undefined; private _exclusivePackages?; get exclusivePackages(): string[]; set exclusivePackages(value: string[]); resetExclusivePackages(): void; get exclusivePackagesInput(): string[] | undefined; private _type?; get type(): string; set type(value: string); resetType(): void; get typeInput(): string | undefined; } export interface OsConfigPatchDeploymentPatchConfigGoo { /** * goo update settings. Use this setting to override the default goo patch rules. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/os_config_patch_deployment#enabled OsConfigPatchDeployment#enabled} */ readonly enabled: boolean | cdktf.IResolvable; } export declare function osConfigPatchDeploymentPatchConfigGooToTerraform(struct?: OsConfigPatchDeploymentPatchConfigGooOutputReference | OsConfigPatchDeploymentPatchConfigGoo): any; export declare function osConfigPatchDeploymentPatchConfigGooToHclTerraform(struct?: OsConfigPatchDeploymentPatchConfigGooOutputReference | OsConfigPatchDeploymentPatchConfigGoo): any; export declare class OsConfigPatchDeploymentPatchConfigGooOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string); get internalValue(): OsConfigPatchDeploymentPatchConfigGoo | undefined; set internalValue(value: OsConfigPatchDeploymentPatchConfigGoo | undefined); private _enabled?; get enabled(): boolean | cdktf.IResolvable; set enabled(value: boolean | cdktf.IResolvable); get enabledInput(): boolean | cdktf.IResolvable | undefined; } export interface OsConfigPatchDeploymentPatchConfigPostStepLinuxExecStepConfigGcsObject { /** * Bucket of the Cloud Storage object. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/os_config_patch_deployment#bucket OsConfigPatchDeployment#bucket} */ readonly bucket: string; /** * Generation number of the Cloud Storage object. This is used to ensure that the ExecStep specified by this PatchJob does not change. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/os_config_patch_deployment#generation_number OsConfigPatchDeployment#generation_number} */ readonly generationNumber: string; /** * Name of the Cloud Storage object. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/os_config_patch_deployment#object OsConfigPatchDeployment#object} */ readonly object: string; } export declare function osConfigPatchDeploymentPatchConfigPostStepLinuxExecStepConfigGcsObjectToTerraform(struct?: OsConfigPatchDeploymentPatchConfigPostStepLinuxExecStepConfigGcsObjectOutputReference | OsConfigPatchDeploymentPatchConfigPostStepLinuxExecStepConfigGcsObject): any; export declare function osConfigPatchDeploymentPatchConfigPostStepLinuxExecStepConfigGcsObjectToHclTerraform(struct?: OsConfigPatchDeploymentPatchConfigPostStepLinuxExecStepConfigGcsObjectOutputReference | OsConfigPatchDeploymentPatchConfigPostStepLinuxExecStepConfigGcsObject): any; export declare class OsConfigPatchDeploymentPatchConfigPostStepLinuxExecStepConfigGcsObjectOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string); get internalValue(): OsConfigPatchDeploymentPatchConfigPostStepLinuxExecStepConfigGcsObject | undefined; set internalValue(value: OsConfigPatchDeploymentPatchConfigPostStepLinuxExecStepConfigGcsObject | undefined); private _bucket?; get bucket(): string; set bucket(value: string); get bucketInput(): string | undefined; private _generationNumber?; get generationNumber(): string; set generationNumber(value: string); get generationNumberInput(): string | undefined; private _object?; get object(): string; set object(value: string); get objectInput(): string | undefined; } export interface OsConfigPatchDeploymentPatchConfigPostStepLinuxExecStepConfig { /** * Defaults to [0]. A list of possible return values that the execution can return to indicate a success. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/os_config_patch_deployment#allowed_success_codes OsConfigPatchDeployment#allowed_success_codes} */ readonly allowedSuccessCodes?: number[]; /** * The script interpreter to use to run the script. If no interpreter is specified the script will * be executed directly, which will likely only succeed for scripts with shebang lines. Possible values: ["SHELL", "POWERSHELL"] * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/os_config_patch_deployment#interpreter OsConfigPatchDeployment#interpreter} */ readonly interpreter?: string; /** * An absolute path to the executable on the VM. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/os_config_patch_deployment#local_path OsConfigPatchDeployment#local_path} */ readonly localPath?: string; /** * gcs_object block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/os_config_patch_deployment#gcs_object OsConfigPatchDeployment#gcs_object} */ readonly gcsObject?: OsConfigPatchDeploymentPatchConfigPostStepLinuxExecStepConfigGcsObject; } export declare function osConfigPatchDeploymentPatchConfigPostStepLinuxExecStepConfigToTerraform(struct?: OsConfigPatchDeploymentPatchConfigPostStepLinuxExecStepConfigOutputReference | OsConfigPatchDeploymentPatchConfigPostStepLinuxExecStepConfig): any; export declare function osConfigPatchDeploymentPatchConfigPostStepLinuxExecStepConfigToHclTerraform(struct?: OsConfigPatchDeploymentPatchConfigPostStepLinuxExecStepConfigOutputReference | OsConfigPatchDeploymentPatchConfigPostStepLinuxExecStepConfig): any; export declare class OsConfigPatchDeploymentPatchConfigPostStepLinuxExecStepConfigOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string); get internalValue(): OsConfigPatchDeploymentPatchConfigPostStepLinuxExecStepConfig | undefined; set internalValue(value: OsConfigPatchDeploymentPatchConfigPostStepLinuxExecStepConfig | undefined); private _allowedSuccessCodes?; get allowedSuccessCodes(): number[]; set allowedSuccessCodes(value: number[]); resetAllowedSuccessCodes(): void; get allowedSuccessCodesInput(): number[] | undefined; private _interpreter?; get interpreter(): string; set interpreter(value: string); resetInterpreter(): void; get interpreterInput(): string | undefined; private _localPath?; get localPath(): string; set localPath(value: string); resetLocalPath(): void; get localPathInput(): string | undefined; private _gcsObject; get gcsObject(): OsConfigPatchDeploymentPatchConfigPostStepLinuxExecStepConfigGcsObjectOutputReference; putGcsObject(value: OsConfigPatchDeploymentPatchConfigPostStepLinuxExecStepConfigGcsObject): void; resetGcsObject(): void; get gcsObjectInput(): OsConfigPatchDeploymentPatchConfigPostStepLinuxExecStepConfigGcsObject | undefined; } export interface OsConfigPatchDeploymentPatchConfigPostStepWindowsExecStepConfigGcsObject { /** * Bucket of the Cloud Storage object. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/os_config_patch_deployment#bucket OsConfigPatchDeployment#bucket} */ readonly bucket: string; /** * Generation number of the Cloud Storage object. This is used to ensure that the ExecStep specified by this PatchJob does not change. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/os_config_patch_deployment#generation_number OsConfigPatchDeployment#generation_number} */ readonly generationNumber: string; /** * Name of the Cloud Storage object. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/os_config_patch_deployment#object OsConfigPatchDeployment#object} */ readonly object: string; } export declare function osConfigPatchDeploymentPatchConfigPostStepWindowsExecStepConfigGcsObjectToTerraform(struct?: OsConfigPatchDeploymentPatchConfigPostStepWindowsExecStepConfigGcsObjectOutputReference | OsConfigPatchDeploymentPatchConfigPostStepWindowsExecStepConfigGcsObject): any; export declare function osConfigPatchDeploymentPatchConfigPostStepWindowsExecStepConfigGcsObjectToHclTerraform(struct?: OsConfigPatchDeploymentPatchConfigPostStepWindowsExecStepConfigGcsObjectOutputReference | OsConfigPatchDeploymentPatchConfigPostStepWindowsExecStepConfigGcsObject): any; export declare class OsConfigPatchDeploymentPatchConfigPostStepWindowsExecStepConfigGcsObjectOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string); get internalValue(): OsConfigPatchDeploymentPatchConfigPostStepWindowsExecStepConfigGcsObject | undefined; set internalValue(value: OsConfigPatchDeploymentPatchConfigPostStepWindowsExecStepConfigGcsObject | undefined); private _bucket?; get bucket(): string; set bucket(value: string); get bucketInput(): string | undefined; private _generationNumber?; get generationNumber(): string; set generationNumber(value: string); get generationNumberInput(): string | undefined; private _object?; get object(): string; set object(value: string); get objectInput(): string | undefined; } export interface OsConfigPatchDeploymentPatchConfigPostStepWindowsExecStepConfig { /** * Defaults to [0]. A list of possible return values that the execution can return to indicate a success. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/os_config_patch_deployment#allowed_success_codes OsConfigPatchDeployment#allowed_success_codes} */ readonly allowedSuccessCodes?: number[]; /** * The script interpreter to use to run the script. If no interpreter is specified the script will * be executed directly, which will likely only succeed for scripts with shebang lines. Possible values: ["SHELL", "POWERSHELL"] * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/os_config_patch_deployment#interpreter OsConfigPatchDeployment#interpreter} */ readonly interpreter?: string; /** * An absolute path to the executable on the VM. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/os_config_patch_deployment#local_path OsConfigPatchDeployment#local_path} */ readonly localPath?: string; /** * gcs_object block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/os_config_patch_deployment#gcs_object OsConfigPatchDeployment#gcs_object} */ readonly gcsObject?: OsConfigPatchDeploymentPatchConfigPostStepWindowsExecStepConfigGcsObject; } export declare function osConfigPatchDeploymentPatchConfigPostStepWindowsExecStepConfigToTerraform(struct?: OsConfigPatchDeploymentPatchConfigPostStepWindowsExecStepConfigOutputReference | OsConfigPatchDeploymentPatchConfigPostStepWindowsExecStepConfig): any; export declare function osConfigPatchDeploymentPatchConfigPostStepWindowsExecStepConfigToHclTerraform(struct?: OsConfigPatchDeploymentPatchConfigPostStepWindowsExecStepConfigOutputReference | OsConfigPatchDeploymentPatchConfigPostStepWindowsExecStepConfig): any; export declare class OsConfigPatchDeploymentPatchConfigPostStepWindowsExecStepConfigOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string); get internalValue(): OsConfigPatchDeploymentPatchConfigPostStepWindowsExecStepConfig | undefined; set internalValue(value: OsConfigPatchDeploymentPatchConfigPostStepWindowsExecStepConfig | undefined); private _allowedSuccessCodes?; get allowedSuccessCodes(): number[]; set allowedSuccessCodes(value: number[]); resetAllowedSuccessCodes(): void; get allowedSuccessCodesInput(): number[] | undefined; private _interpreter?; get interpreter(): string; set interpreter(value: string); resetInterpreter(): void; get interpreterInput(): string | undefined; private _localPath?; get localPath(): string; set localPath(value: string); resetLocalPath(): void; get localPathInput(): string | undefined; private _gcsObject; get gcsObject(): OsConfigPatchDeploymentPatchConfigPostStepWindowsExecStepConfigGcsObjectOutputReference; putGcsObject(value: OsConfigPatchDeploymentPatchConfigPostStepWindowsExecStepConfigGcsObject): void; resetGcsObject(): void; get gcsObjectInput(): OsConfigPatchDeploymentPatchConfigPostStepWindowsExecStepConfigGcsObject | undefined; } export interface OsConfigPatchDeploymentPatchConfigPostStep { /** * linux_exec_step_config block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/os_config_patch_deployment#linux_exec_step_config OsConfigPatchDeployment#linux_exec_step_config} */ readonly linuxExecStepConfig?: OsConfigPatchDeploymentPatchConfigPostStepLinuxExecStepConfig; /** * windows_exec_step_config block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/os_config_patch_deployment#windows_exec_step_config OsConfigPatchDeployment#windows_exec_step_config} */ readonly windowsExecStepConfig?: OsConfigPatchDeploymentPatchConfigPostStepWindowsExecStepConfig; } export declare function osConfigPatchDeploymentPatchConfigPostStepToTerraform(struct?: OsConfigPatchDeploymentPatchConfigPostStepOutputReference | OsConfigPatchDeploymentPatchConfigPostStep): any; export declare function osConfigPatchDeploymentPatchConfigPostStepToHclTerraform(struct?: OsConfigPatchDeploymentPatchConfigPostStepOutputReference | OsConfigPatchDeploymentPatchConfigPostStep): any; export declare class OsConfigPatchDeploymentPatchConfigPostStepOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string); get internalValue(): OsConfigPatchDeploymentPatchConfigPostStep | undefined; set internalValue(value: OsConfigPatchDeploymentPatchConfigPostStep | undefined); private _linuxExecStepConfig; get linuxExecStepConfig(): OsConfigPatchDeploymentPatchConfigPostStepLinuxExecStepConfigOutputReference; putLinuxExecStepConfig(value: OsConfigPatchDeploymentPatchConfigPostStepLinuxExecStepConfig): void; resetLinuxExecStepConfig(): void; get linuxExecStepConfigInput(): OsConfigPatchDeploymentPatchConfigPostStepLinuxExecStepConfig | undefined; private _windowsExecStepConfig; get windowsExecStepConfig(): OsConfigPatchDeploymentPatchConfigPostStepWindowsExecStepConfigOutputReference; putWindowsExecStepConfig(value: OsConfigPatchDeploymentPatchConfigPostStepWindowsExecStepConfig): void; resetWindowsExecStepConfig(): void; get windowsExecStepConfigInput(): OsConfigPatchDeploymentPatchConfigPostStepWindowsExecStepConfig | undefined; } export interface OsConfigPatchDeploymentPatchConfigPreStepLinuxExecStepConfigGcsObject { /** * Bucket of the Cloud Storage object. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/os_config_patch_deployment#bucket OsConfigPatchDeployment#bucket} */ readonly bucket: string; /** * Generation number of the Cloud Storage object. This is used to ensure that the ExecStep specified by this PatchJob does not change. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/os_config_patch_deployment#generation_number OsConfigPatchDeployment#generation_number} */ readonly generationNumber: string; /** * Name of the Cloud Storage object. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/os_config_patch_deployment#object OsConfigPatchDeployment#object} */ readonly object: string; } export declare function osConfigPatchDeploymentPatchConfigPreStepLinuxExecStepConfigGcsObjectToTerraform(struct?: OsConfigPatchDeploymentPatchConfigPreStepLinuxExecStepConfigGcsObjectOutputReference | OsConfigPatchDeploymentPatchConfigPreStepLinuxExecStepConfigGcsObject): any; export declare function osConfigPatchDeploymentPatchConfigPreStepLinuxExecStepConfigGcsObjectToHclTerraform(struct?: OsConfigPatchDeploymentPatchConfigPreStepLinuxExecStepConfigGcsObjectOutputReference | OsConfigPatchDeploymentPatchConfigPreStepLinuxExecStepConfigGcsObject): any; export declare class OsConfigPatchDeploymentPatchConfigPreStepLinuxExecStepConfigGcsObjectOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string); get internalValue(): OsConfigPatchDeploymentPatchConfigPreStepLinuxExecStepConfigGcsObject | undefined; set internalValue(value: OsConfigPatchDeploymentPatchConfigPreStepLinuxExecStepConfigGcsObject | undefined); private _bucket?; get bucket(): string; set bucket(value: string); get bucketInput(): string | undefined; private _generationNumber?; get generationNumber(): string; set generationNumber(value: string); get generationNumberInput(): string | undefined; private _object?; get object(): string; set object(value: string); get objectInput(): string | undefined; } export interface OsConfigPatchDeploymentPatchConfigPreStepLinuxExecStepConfig { /** * Defaults to [0]. A list of possible return values that the execution can return to indicate a success. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/os_config_patch_deployment#allowed_success_codes OsConfigPatchDeployment#allowed_success_codes} */ readonly allowedSuccessCodes?: number[]; /** * The script interpreter to use to run the script. If no interpreter is specified the script will * be executed directly, which will likely only succeed for scripts with shebang lines. Possible values: ["SHELL", "POWERSHELL"] * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/os_config_patch_deployment#interpreter OsConfigPatchDeployment#interpreter} */ readonly interpreter?: string; /** * An absolute path to the executable on the VM. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/os_config_patch_deployment#local_path OsConfigPatchDeployment#local_path} */ readonly localPath?: string; /** * gcs_object block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/os_config_patch_deployment#gcs_object OsConfigPatchDeployment#gcs_object} */ readonly gcsObject?: OsConfigPatchDeploymentPatchConfigPreStepLinuxExecStepConfigGcsObject; } export declare function osConfigPatchDeploymentPatchConfigPreStepLinuxExecStepConfigToTerraform(struct?: OsConfigPatchDeploymentPatchConfigPreStepLinuxExecStepConfigOutputReference | OsConfigPatchDeploymentPatchConfigPreStepLinuxExecStepConfig): any; export declare function osConfigPatchDeploymentPatchConfigPreStepLinuxExecStepConfigToHclTerraform(struct?: OsConfigPatchDeploymentPatchConfigPreStepLinuxExecStepConfigOutputReference | OsConfigPatchDeploymentPatchConfigPreStepLinuxExecStepConfig): any; export declare class OsConfigPatchDeploymentPatchConfigPreStepLinuxExecStepConfigOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string); get internalValue(): OsConfigPatchDeploymentPatchConfigPreStepLinuxExecStepConfig | undefined; set internalValue(value: OsConfigPatchDeploymentPatchConfigPreStepLinuxExecStepConfig | undefined); private _allowedSuccessCodes?; get allowedSuccessCodes(): number[]; set allowedSuccessCodes(value: number[]); resetAllowedSuccessCodes(): void; get allowedSuccessCodesInput(): number[] | undefined; private _interpreter?; get interpreter(): string; set interpreter(value: string); resetInterpreter(): void; get interpreterInput(): string | undefined; private _localPath?; get localPath(): string; set localPath(value: string); resetLocalPath(): void; get localPathInput(): string | undefined; private _gcsObject; get gcsObject(): OsConfigPatchDeploymentPatchConfigPreStepLinuxExecStepConfigGcsObjectOutputReference; putGcsObject(value: OsConfigPatchDeploymentPatchConfigPreStepLinuxExecStepConfigGcsObject): void; resetGcsObject(): void; get gcsObjectInput(): OsConfigPatchDeploymentPatchConfigPreStepLinuxExecStepConfigGcsObject | undefined; } export interface OsConfigPatchDeploymentPatchConfigPreStepWindowsExecStepConfigGcsObject { /** * Bucket of the Cloud Storage object. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/os_config_patch_deployment#bucket OsConfigPatchDeployment#bucket} */ readonly bucket: string; /** * Generation number of the Cloud Storage object. This is used to ensure that the ExecStep specified by this PatchJob does not change. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/os_config_patch_deployment#generation_number OsConfigPatchDeployment#generation_number} */ readonly generationNumber: string; /** * Name of the Cloud Storage object. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/os_config_patch_deployment#object OsConfigPatchDeployment#object} */ readonly object: string; } export declare function osConfigPatchDeploymentPatchConfigPreStepWindowsExecStepConfigGcsObjectToTerraform(struct?: OsConfigPatchDeploymentPatchConfigPreStepWindowsExecStepConfigGcsObjectOutputReference | OsConfigPatchDeploymentPatchConfigPreStepWindowsExecStepConfigGcsObject): any; export declare function osConfigPatchDeploymentPatchConfigPreStepWindowsExecStepConfigGcsObjectToHclTerraform(struct?: OsConfigPatchDeploymentPatchConfigPreStepWindowsExecStepConfigGcsObjectOutputReference | OsConfigPatchDeploymentPatchConfigPreStepWindowsExecStepConfigGcsObject): any; export declare class OsConfigPatchDeploymentPatchConfigPreStepWindowsExecStepConfigGcsObjectOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string); get internalValue(): OsConfigPatchDeploymentPatchConfigPreStepWindowsExecStepConfigGcsObject | undefined; set internalValue(value: OsConfigPatchDeploymentPatchConfigPreStepWindowsExecStepConfigGcsObject | undefined); private _bucket?; get bucket(): string; set bucket(value: string); get bucketInput(): string | undefined; private _generationNumber?; get generationNumber(): string; set generationNumber(value: string); get generationNumberInput(): string | undefined; private _object?; get object(): string; set object(value: string); get objectInput(): string | undefined; } export interface OsConfigPatchDeploymentPatchConfigPreStepWindowsExecStepConfig { /** * Defaults to [0]. A list of possible return values that the execution can return to indicate a success. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/os_config_patch_deployment#allowed_success_codes OsConfigPatchDeployment#allowed_success_codes} */ readonly allowedSuccessCodes?: number[]; /** * The script interpreter to use to run the script. If no interpreter is specified the script will * be executed directly, which will likely only succeed for scripts with shebang lines. Possible values: ["SHELL", "POWERSHELL"] * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/os_config_patch_deployment#interpreter OsConfigPatchDeployment#interpreter} */ readonly interpreter?: string; /** * An absolute path to the executable on the VM. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/os_config_patch_deployment#local_path OsConfigPatchDeployment#local_path} */ readonly localPath?: string; /** * gcs_object block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/os_config_patch_deployment#gcs_object OsConfigPatchDeployment#gcs_object} */ readonly gcsObject?: OsConfigPatchDeploymentPatchConfigPreStepWindowsExecStepConfigGcsObject; } export declare function osConfigPatchDeploymentPatchConfigPreStepWindowsExecStepConfigToTerraform(struct?: OsConfigPatchDeploymentPatchConfigPreStepWindowsExecStepConfigOutputReference | OsConfigPatchDeploymentPatchConfigPreStepWindowsExecStepConfig): any; export declare function osConfigPatchDeploymentPatchConfigPreStepWindowsExecStepConfigToHclTerraform(struct?: OsConfigPatchDeploymentPatchConfigPreStepWindowsExecStepConfigOutputReference | OsConfigPatchDeploymentPatchConfigPreStepWindowsExecStepConfig): any; export declare class OsConfigPatchDeploymentPatchConfigPreStepWindowsExecStepConfigOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string); get internalValue(): OsConfigPatchDeploymentPatchConfigPreStepWindowsExecStepConfig | undefined; set internalValue(value: OsConfigPatchDeploymentPatchConfigPreStepWindowsExecStepConfig | undefined); private _allowedSuccessCodes?; get allowedSuccessCodes(): number[]; set allowedSuccessCodes(value: number[]); resetAllowedSuccessCodes(): void; get allowedSuccessCodesInput(): number[] | undefined; private _interpreter?; get interpreter(): string; set interpreter(value: string); resetInterpreter(): void; get interpreterInput(): string | undefined; private _localPath?; get localPath(): string; set localPath(value: string); resetLocalPath(): void; get localPathInput(): string | undefined; private _gcsObject; get gcsObject(): OsConfigPatchDeploymentPatchConfigPreStepWindowsExecStepConfigGcsObjectOutputReference; putGcsObject(value: OsConfigPatchDeploymentPatchConfigPreStepWindowsExecStepConfigGcsObject): void; resetGcsObject(): void; get gcsObjectInput(): OsConfigPatchDeploymentPatchConfigPreStepWindowsExecStepConfigGcsObject | undefined; } export interface OsConfigPatchDeploymentPatchConfigPreStep { /** * linux_exec_step_config block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/os_config_patch_deployment#linux_exec_step_config OsConfigPatchDeployment#linux_exec_step_config} */ readonly linuxExecStepConfig?: OsConfigPatchDeploymentPatchConfigPreStepLinuxExecStepConfig; /** * windows_exec_step_config block * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/os_config_patch_deployment#windows_exec_step_config OsConfigPatchDeployment#windows_exec_step_config} */ readonly windowsExecStepConfig?: OsConfigPatchDeploymentPatchConfigPreStepWindowsExecStepConfig; } export declare function osConfigPatchDeploymentPatchConfigPreStepToTerraform(struct?: OsConfigPatchDeploymentPatchConfigPreStepOutputReference | OsConfigPatchDeploymentPatchConfigPreStep): any; export declare function osConfigPatchDeploymentPatchConfigPreStepToHclTerraform(struct?: OsConfigPatchDeploymentPatchConfigPreStepOutputReference | OsConfigPatchDeploymentPatchConfigPreStep): any; export declare class OsConfigPatchDeploymentPatchConfigPreStepOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string); get internalValue(): OsConfigPatchDeploymentPatchConfigPreStep | undefined; set internalValue(value: OsConfigPatchDeploymentPatchConfigPreStep | undefined); private _linuxExecStepConfig; get linuxExecStepConfig(): OsConfigPatchDeploymentPatchConfigPreStepLinuxExecStepConfigOutputReference; putLinuxExecStepConfig(value: OsConfigPatchDeploymentPatchConfigPreStepLinuxExecStepConfig): void; resetLinuxExecStepConfig(): void; get linuxExecStepConfigInput(): OsConfigPatchDeploymentPatchConfigPreStepLinuxExecStepConfig | undefined; private _windowsExecStepConfig; get windowsExecStepConfig(): OsConfigPatchDeploymentPatchConfigPreStepWindowsExecStepConfigOutputReference; putWindowsExecStepConfig(value: OsConfigPatchDeploymentPatchConfigPreStepWindowsExecStepConfig): void; resetWindowsExecStepConfig(): void; get windowsExecStepConfigInput(): OsConfigPatchDeploymentPatchConfigPreStepWindowsExecStepConfig | undefined; } export interface OsConfigPatchDeploymentPatchConfigWindowsUpdate { /** * Only apply updates of these windows update classifications. If empty, all updates are applied. Possible values: ["CRITICAL", "SECURITY", "DEFINITION", "DRIVER", "FEATURE_PACK", "SERVICE_PACK", "TOOL", "UPDATE_ROLLUP", "UPDATE"] * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/os_config_patch_deployment#classifications OsConfigPatchDeployment#classifications} */ readonly classifications?: string[]; /** * List of KBs to exclude from update. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/os_config_patch_deployment#excludes OsConfigPatchDeployment#excludes} */ readonly excludes?: string[]; /** * An exclusive list of kbs to be updated. These are the only patches that will be updated. * This field must not be used with other patch configurations. * * Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/6.13.0/docs/resources/os_config_patch_deployment#exclusive_patches OsConfigPatchDeployment#exclusive_patches} */ readonly exclusivePatches?: string[]; } export declare function osConfigPatchDeploymentPatchConfigWindowsUpdateToTerraform(struct?: OsConfigPatchDeploymentPatchConfigWindowsUpdateOutputReference | OsConfigPatchDeploymentPatchConfigWindowsUpdate): any; export declare function osConfigPatchDeploymentPatchConfigWindowsUpdateToHclTerraform(struct?: OsConfigPatchDeploymentPatchConfigWindowsUpdateOutputReference | OsConfigPatchDeploymentPatchConfigWindowsUpdate): any; export declare class OsConfigPatchDeploymentPatchConfigWindowsUpdateOutputReference extends cdktf.ComplexObject { private isEmptyObject; /** * @param terraformResource The parent resource * @param terraformAttribute The attribute on the parent resource this class is referencing */ constructor(terraformResource: cdktf.IInterpolatingParent, terraformAttribute: string); get internalValue(): OsConfigPatchDeploymentPatchConfigWindowsUpdate | undefined; set internalValue(value: OsConfigPatchDeploymentPatchConfigWindowsUpdate | undefined); private _classifications?; get classifications(): string[]; set classifications(value: string[]); resetClassifications(): void; get classificationsInput(): string[] | undefined; private _excludes?; get excludes(): string[]; set excludes(value: string[]); resetExcludes(): void; get excludesInput(): string[] | undefined; private _exclusivePatches?; get exclusi