Documentation ¶
Index ¶
- type LookupWorkstationConfigIamPolicyArgs
- type LookupWorkstationConfigIamPolicyOutputArgs
- type LookupWorkstationConfigIamPolicyResult
- type LookupWorkstationConfigIamPolicyResultOutput
- func (LookupWorkstationConfigIamPolicyResultOutput) ElementType() reflect.Type
- func (o LookupWorkstationConfigIamPolicyResultOutput) Etag() pulumi.StringOutput
- func (o LookupWorkstationConfigIamPolicyResultOutput) Id() pulumi.StringOutput
- func (o LookupWorkstationConfigIamPolicyResultOutput) Location() pulumi.StringOutput
- func (o LookupWorkstationConfigIamPolicyResultOutput) PolicyData() pulumi.StringOutput
- func (o LookupWorkstationConfigIamPolicyResultOutput) Project() pulumi.StringOutput
- func (o LookupWorkstationConfigIamPolicyResultOutput) ToLookupWorkstationConfigIamPolicyResultOutput() LookupWorkstationConfigIamPolicyResultOutput
- func (o LookupWorkstationConfigIamPolicyResultOutput) ToLookupWorkstationConfigIamPolicyResultOutputWithContext(ctx context.Context) LookupWorkstationConfigIamPolicyResultOutput
- func (o LookupWorkstationConfigIamPolicyResultOutput) WorkstationClusterId() pulumi.StringOutput
- func (o LookupWorkstationConfigIamPolicyResultOutput) WorkstationConfigId() pulumi.StringOutput
- type LookupWorkstationIamPolicyArgs
- type LookupWorkstationIamPolicyOutputArgs
- type LookupWorkstationIamPolicyResult
- type LookupWorkstationIamPolicyResultOutput
- func (LookupWorkstationIamPolicyResultOutput) ElementType() reflect.Type
- func (o LookupWorkstationIamPolicyResultOutput) Etag() pulumi.StringOutput
- func (o LookupWorkstationIamPolicyResultOutput) Id() pulumi.StringOutput
- func (o LookupWorkstationIamPolicyResultOutput) Location() pulumi.StringOutput
- func (o LookupWorkstationIamPolicyResultOutput) PolicyData() pulumi.StringOutput
- func (o LookupWorkstationIamPolicyResultOutput) Project() pulumi.StringOutput
- func (o LookupWorkstationIamPolicyResultOutput) ToLookupWorkstationIamPolicyResultOutput() LookupWorkstationIamPolicyResultOutput
- func (o LookupWorkstationIamPolicyResultOutput) ToLookupWorkstationIamPolicyResultOutputWithContext(ctx context.Context) LookupWorkstationIamPolicyResultOutput
- func (o LookupWorkstationIamPolicyResultOutput) WorkstationClusterId() pulumi.StringOutput
- func (o LookupWorkstationIamPolicyResultOutput) WorkstationConfigId() pulumi.StringOutput
- func (o LookupWorkstationIamPolicyResultOutput) WorkstationId() pulumi.StringOutput
- type Workstation
- type WorkstationArgs
- type WorkstationArray
- type WorkstationArrayInput
- type WorkstationArrayOutput
- func (WorkstationArrayOutput) ElementType() reflect.Type
- func (o WorkstationArrayOutput) Index(i pulumi.IntInput) WorkstationOutput
- func (o WorkstationArrayOutput) ToWorkstationArrayOutput() WorkstationArrayOutput
- func (o WorkstationArrayOutput) ToWorkstationArrayOutputWithContext(ctx context.Context) WorkstationArrayOutput
- type WorkstationCluster
- type WorkstationClusterArgs
- type WorkstationClusterArray
- type WorkstationClusterArrayInput
- type WorkstationClusterArrayOutput
- func (WorkstationClusterArrayOutput) ElementType() reflect.Type
- func (o WorkstationClusterArrayOutput) Index(i pulumi.IntInput) WorkstationClusterOutput
- func (o WorkstationClusterArrayOutput) ToWorkstationClusterArrayOutput() WorkstationClusterArrayOutput
- func (o WorkstationClusterArrayOutput) ToWorkstationClusterArrayOutputWithContext(ctx context.Context) WorkstationClusterArrayOutput
- type WorkstationClusterCondition
- type WorkstationClusterConditionArgs
- func (WorkstationClusterConditionArgs) ElementType() reflect.Type
- func (i WorkstationClusterConditionArgs) ToWorkstationClusterConditionOutput() WorkstationClusterConditionOutput
- func (i WorkstationClusterConditionArgs) ToWorkstationClusterConditionOutputWithContext(ctx context.Context) WorkstationClusterConditionOutput
- type WorkstationClusterConditionArray
- func (WorkstationClusterConditionArray) ElementType() reflect.Type
- func (i WorkstationClusterConditionArray) ToWorkstationClusterConditionArrayOutput() WorkstationClusterConditionArrayOutput
- func (i WorkstationClusterConditionArray) ToWorkstationClusterConditionArrayOutputWithContext(ctx context.Context) WorkstationClusterConditionArrayOutput
- type WorkstationClusterConditionArrayInput
- type WorkstationClusterConditionArrayOutput
- func (WorkstationClusterConditionArrayOutput) ElementType() reflect.Type
- func (o WorkstationClusterConditionArrayOutput) Index(i pulumi.IntInput) WorkstationClusterConditionOutput
- func (o WorkstationClusterConditionArrayOutput) ToWorkstationClusterConditionArrayOutput() WorkstationClusterConditionArrayOutput
- func (o WorkstationClusterConditionArrayOutput) ToWorkstationClusterConditionArrayOutputWithContext(ctx context.Context) WorkstationClusterConditionArrayOutput
- type WorkstationClusterConditionInput
- type WorkstationClusterConditionOutput
- func (o WorkstationClusterConditionOutput) Code() pulumi.IntPtrOutput
- func (o WorkstationClusterConditionOutput) Details() pulumi.StringMapArrayOutput
- func (WorkstationClusterConditionOutput) ElementType() reflect.Type
- func (o WorkstationClusterConditionOutput) Message() pulumi.StringPtrOutput
- func (o WorkstationClusterConditionOutput) ToWorkstationClusterConditionOutput() WorkstationClusterConditionOutput
- func (o WorkstationClusterConditionOutput) ToWorkstationClusterConditionOutputWithContext(ctx context.Context) WorkstationClusterConditionOutput
- type WorkstationClusterDomainConfig
- type WorkstationClusterDomainConfigArgs
- func (WorkstationClusterDomainConfigArgs) ElementType() reflect.Type
- func (i WorkstationClusterDomainConfigArgs) ToWorkstationClusterDomainConfigOutput() WorkstationClusterDomainConfigOutput
- func (i WorkstationClusterDomainConfigArgs) ToWorkstationClusterDomainConfigOutputWithContext(ctx context.Context) WorkstationClusterDomainConfigOutput
- func (i WorkstationClusterDomainConfigArgs) ToWorkstationClusterDomainConfigPtrOutput() WorkstationClusterDomainConfigPtrOutput
- func (i WorkstationClusterDomainConfigArgs) ToWorkstationClusterDomainConfigPtrOutputWithContext(ctx context.Context) WorkstationClusterDomainConfigPtrOutput
- type WorkstationClusterDomainConfigInput
- type WorkstationClusterDomainConfigOutput
- func (o WorkstationClusterDomainConfigOutput) Domain() pulumi.StringOutput
- func (WorkstationClusterDomainConfigOutput) ElementType() reflect.Type
- func (o WorkstationClusterDomainConfigOutput) ToWorkstationClusterDomainConfigOutput() WorkstationClusterDomainConfigOutput
- func (o WorkstationClusterDomainConfigOutput) ToWorkstationClusterDomainConfigOutputWithContext(ctx context.Context) WorkstationClusterDomainConfigOutput
- func (o WorkstationClusterDomainConfigOutput) ToWorkstationClusterDomainConfigPtrOutput() WorkstationClusterDomainConfigPtrOutput
- func (o WorkstationClusterDomainConfigOutput) ToWorkstationClusterDomainConfigPtrOutputWithContext(ctx context.Context) WorkstationClusterDomainConfigPtrOutput
- type WorkstationClusterDomainConfigPtrInput
- type WorkstationClusterDomainConfigPtrOutput
- func (o WorkstationClusterDomainConfigPtrOutput) Domain() pulumi.StringPtrOutput
- func (o WorkstationClusterDomainConfigPtrOutput) Elem() WorkstationClusterDomainConfigOutput
- func (WorkstationClusterDomainConfigPtrOutput) ElementType() reflect.Type
- func (o WorkstationClusterDomainConfigPtrOutput) ToWorkstationClusterDomainConfigPtrOutput() WorkstationClusterDomainConfigPtrOutput
- func (o WorkstationClusterDomainConfigPtrOutput) ToWorkstationClusterDomainConfigPtrOutputWithContext(ctx context.Context) WorkstationClusterDomainConfigPtrOutput
- type WorkstationClusterInput
- type WorkstationClusterMap
- type WorkstationClusterMapInput
- type WorkstationClusterMapOutput
- func (WorkstationClusterMapOutput) ElementType() reflect.Type
- func (o WorkstationClusterMapOutput) MapIndex(k pulumi.StringInput) WorkstationClusterOutput
- func (o WorkstationClusterMapOutput) ToWorkstationClusterMapOutput() WorkstationClusterMapOutput
- func (o WorkstationClusterMapOutput) ToWorkstationClusterMapOutputWithContext(ctx context.Context) WorkstationClusterMapOutput
- type WorkstationClusterOutput
- func (o WorkstationClusterOutput) Annotations() pulumi.StringMapOutput
- func (o WorkstationClusterOutput) Conditions() WorkstationClusterConditionArrayOutput
- func (o WorkstationClusterOutput) ControlPlaneIp() pulumi.StringOutput
- func (o WorkstationClusterOutput) CreateTime() pulumi.StringOutput
- func (o WorkstationClusterOutput) Degraded() pulumi.BoolOutput
- func (o WorkstationClusterOutput) DisplayName() pulumi.StringPtrOutput
- func (o WorkstationClusterOutput) DomainConfig() WorkstationClusterDomainConfigPtrOutput
- func (o WorkstationClusterOutput) EffectiveAnnotations() pulumi.StringMapOutput
- func (o WorkstationClusterOutput) EffectiveLabels() pulumi.StringMapOutput
- func (WorkstationClusterOutput) ElementType() reflect.Type
- func (o WorkstationClusterOutput) Etag() pulumi.StringOutput
- func (o WorkstationClusterOutput) Labels() pulumi.StringMapOutput
- func (o WorkstationClusterOutput) Location() pulumi.StringPtrOutput
- func (o WorkstationClusterOutput) Name() pulumi.StringOutput
- func (o WorkstationClusterOutput) Network() pulumi.StringOutput
- func (o WorkstationClusterOutput) PrivateClusterConfig() WorkstationClusterPrivateClusterConfigPtrOutput
- func (o WorkstationClusterOutput) Project() pulumi.StringOutput
- func (o WorkstationClusterOutput) PulumiLabels() pulumi.StringMapOutput
- func (o WorkstationClusterOutput) Subnetwork() pulumi.StringOutput
- func (o WorkstationClusterOutput) ToWorkstationClusterOutput() WorkstationClusterOutput
- func (o WorkstationClusterOutput) ToWorkstationClusterOutputWithContext(ctx context.Context) WorkstationClusterOutput
- func (o WorkstationClusterOutput) Uid() pulumi.StringOutput
- func (o WorkstationClusterOutput) WorkstationClusterId() pulumi.StringOutput
- type WorkstationClusterPrivateClusterConfig
- type WorkstationClusterPrivateClusterConfigArgs
- func (WorkstationClusterPrivateClusterConfigArgs) ElementType() reflect.Type
- func (i WorkstationClusterPrivateClusterConfigArgs) ToWorkstationClusterPrivateClusterConfigOutput() WorkstationClusterPrivateClusterConfigOutput
- func (i WorkstationClusterPrivateClusterConfigArgs) ToWorkstationClusterPrivateClusterConfigOutputWithContext(ctx context.Context) WorkstationClusterPrivateClusterConfigOutput
- func (i WorkstationClusterPrivateClusterConfigArgs) ToWorkstationClusterPrivateClusterConfigPtrOutput() WorkstationClusterPrivateClusterConfigPtrOutput
- func (i WorkstationClusterPrivateClusterConfigArgs) ToWorkstationClusterPrivateClusterConfigPtrOutputWithContext(ctx context.Context) WorkstationClusterPrivateClusterConfigPtrOutput
- type WorkstationClusterPrivateClusterConfigInput
- type WorkstationClusterPrivateClusterConfigOutput
- func (o WorkstationClusterPrivateClusterConfigOutput) AllowedProjects() pulumi.StringArrayOutput
- func (o WorkstationClusterPrivateClusterConfigOutput) ClusterHostname() pulumi.StringPtrOutput
- func (WorkstationClusterPrivateClusterConfigOutput) ElementType() reflect.Type
- func (o WorkstationClusterPrivateClusterConfigOutput) EnablePrivateEndpoint() pulumi.BoolOutput
- func (o WorkstationClusterPrivateClusterConfigOutput) ServiceAttachmentUri() pulumi.StringPtrOutput
- func (o WorkstationClusterPrivateClusterConfigOutput) ToWorkstationClusterPrivateClusterConfigOutput() WorkstationClusterPrivateClusterConfigOutput
- func (o WorkstationClusterPrivateClusterConfigOutput) ToWorkstationClusterPrivateClusterConfigOutputWithContext(ctx context.Context) WorkstationClusterPrivateClusterConfigOutput
- func (o WorkstationClusterPrivateClusterConfigOutput) ToWorkstationClusterPrivateClusterConfigPtrOutput() WorkstationClusterPrivateClusterConfigPtrOutput
- func (o WorkstationClusterPrivateClusterConfigOutput) ToWorkstationClusterPrivateClusterConfigPtrOutputWithContext(ctx context.Context) WorkstationClusterPrivateClusterConfigPtrOutput
- type WorkstationClusterPrivateClusterConfigPtrInput
- type WorkstationClusterPrivateClusterConfigPtrOutput
- func (o WorkstationClusterPrivateClusterConfigPtrOutput) AllowedProjects() pulumi.StringArrayOutput
- func (o WorkstationClusterPrivateClusterConfigPtrOutput) ClusterHostname() pulumi.StringPtrOutput
- func (o WorkstationClusterPrivateClusterConfigPtrOutput) Elem() WorkstationClusterPrivateClusterConfigOutput
- func (WorkstationClusterPrivateClusterConfigPtrOutput) ElementType() reflect.Type
- func (o WorkstationClusterPrivateClusterConfigPtrOutput) EnablePrivateEndpoint() pulumi.BoolPtrOutput
- func (o WorkstationClusterPrivateClusterConfigPtrOutput) ServiceAttachmentUri() pulumi.StringPtrOutput
- func (o WorkstationClusterPrivateClusterConfigPtrOutput) ToWorkstationClusterPrivateClusterConfigPtrOutput() WorkstationClusterPrivateClusterConfigPtrOutput
- func (o WorkstationClusterPrivateClusterConfigPtrOutput) ToWorkstationClusterPrivateClusterConfigPtrOutputWithContext(ctx context.Context) WorkstationClusterPrivateClusterConfigPtrOutput
- type WorkstationClusterState
- type WorkstationConfig
- type WorkstationConfigArgs
- type WorkstationConfigArray
- type WorkstationConfigArrayInput
- type WorkstationConfigArrayOutput
- func (WorkstationConfigArrayOutput) ElementType() reflect.Type
- func (o WorkstationConfigArrayOutput) Index(i pulumi.IntInput) WorkstationConfigOutput
- func (o WorkstationConfigArrayOutput) ToWorkstationConfigArrayOutput() WorkstationConfigArrayOutput
- func (o WorkstationConfigArrayOutput) ToWorkstationConfigArrayOutputWithContext(ctx context.Context) WorkstationConfigArrayOutput
- type WorkstationConfigCondition
- type WorkstationConfigConditionArgs
- func (WorkstationConfigConditionArgs) ElementType() reflect.Type
- func (i WorkstationConfigConditionArgs) ToWorkstationConfigConditionOutput() WorkstationConfigConditionOutput
- func (i WorkstationConfigConditionArgs) ToWorkstationConfigConditionOutputWithContext(ctx context.Context) WorkstationConfigConditionOutput
- type WorkstationConfigConditionArray
- func (WorkstationConfigConditionArray) ElementType() reflect.Type
- func (i WorkstationConfigConditionArray) ToWorkstationConfigConditionArrayOutput() WorkstationConfigConditionArrayOutput
- func (i WorkstationConfigConditionArray) ToWorkstationConfigConditionArrayOutputWithContext(ctx context.Context) WorkstationConfigConditionArrayOutput
- type WorkstationConfigConditionArrayInput
- type WorkstationConfigConditionArrayOutput
- func (WorkstationConfigConditionArrayOutput) ElementType() reflect.Type
- func (o WorkstationConfigConditionArrayOutput) Index(i pulumi.IntInput) WorkstationConfigConditionOutput
- func (o WorkstationConfigConditionArrayOutput) ToWorkstationConfigConditionArrayOutput() WorkstationConfigConditionArrayOutput
- func (o WorkstationConfigConditionArrayOutput) ToWorkstationConfigConditionArrayOutputWithContext(ctx context.Context) WorkstationConfigConditionArrayOutput
- type WorkstationConfigConditionInput
- type WorkstationConfigConditionOutput
- func (o WorkstationConfigConditionOutput) Code() pulumi.IntPtrOutput
- func (o WorkstationConfigConditionOutput) Details() pulumi.StringMapArrayOutput
- func (WorkstationConfigConditionOutput) ElementType() reflect.Type
- func (o WorkstationConfigConditionOutput) Message() pulumi.StringPtrOutput
- func (o WorkstationConfigConditionOutput) ToWorkstationConfigConditionOutput() WorkstationConfigConditionOutput
- func (o WorkstationConfigConditionOutput) ToWorkstationConfigConditionOutputWithContext(ctx context.Context) WorkstationConfigConditionOutput
- type WorkstationConfigContainer
- type WorkstationConfigContainerArgs
- func (WorkstationConfigContainerArgs) ElementType() reflect.Type
- func (i WorkstationConfigContainerArgs) ToWorkstationConfigContainerOutput() WorkstationConfigContainerOutput
- func (i WorkstationConfigContainerArgs) ToWorkstationConfigContainerOutputWithContext(ctx context.Context) WorkstationConfigContainerOutput
- func (i WorkstationConfigContainerArgs) ToWorkstationConfigContainerPtrOutput() WorkstationConfigContainerPtrOutput
- func (i WorkstationConfigContainerArgs) ToWorkstationConfigContainerPtrOutputWithContext(ctx context.Context) WorkstationConfigContainerPtrOutput
- type WorkstationConfigContainerInput
- type WorkstationConfigContainerOutput
- func (o WorkstationConfigContainerOutput) Args() pulumi.StringArrayOutput
- func (o WorkstationConfigContainerOutput) Commands() pulumi.StringArrayOutput
- func (WorkstationConfigContainerOutput) ElementType() reflect.Type
- func (o WorkstationConfigContainerOutput) Env() pulumi.StringMapOutput
- func (o WorkstationConfigContainerOutput) Image() pulumi.StringPtrOutput
- func (o WorkstationConfigContainerOutput) RunAsUser() pulumi.IntPtrOutput
- func (o WorkstationConfigContainerOutput) ToWorkstationConfigContainerOutput() WorkstationConfigContainerOutput
- func (o WorkstationConfigContainerOutput) ToWorkstationConfigContainerOutputWithContext(ctx context.Context) WorkstationConfigContainerOutput
- func (o WorkstationConfigContainerOutput) ToWorkstationConfigContainerPtrOutput() WorkstationConfigContainerPtrOutput
- func (o WorkstationConfigContainerOutput) ToWorkstationConfigContainerPtrOutputWithContext(ctx context.Context) WorkstationConfigContainerPtrOutput
- func (o WorkstationConfigContainerOutput) WorkingDir() pulumi.StringPtrOutput
- type WorkstationConfigContainerPtrInput
- type WorkstationConfigContainerPtrOutput
- func (o WorkstationConfigContainerPtrOutput) Args() pulumi.StringArrayOutput
- func (o WorkstationConfigContainerPtrOutput) Commands() pulumi.StringArrayOutput
- func (o WorkstationConfigContainerPtrOutput) Elem() WorkstationConfigContainerOutput
- func (WorkstationConfigContainerPtrOutput) ElementType() reflect.Type
- func (o WorkstationConfigContainerPtrOutput) Env() pulumi.StringMapOutput
- func (o WorkstationConfigContainerPtrOutput) Image() pulumi.StringPtrOutput
- func (o WorkstationConfigContainerPtrOutput) RunAsUser() pulumi.IntPtrOutput
- func (o WorkstationConfigContainerPtrOutput) ToWorkstationConfigContainerPtrOutput() WorkstationConfigContainerPtrOutput
- func (o WorkstationConfigContainerPtrOutput) ToWorkstationConfigContainerPtrOutputWithContext(ctx context.Context) WorkstationConfigContainerPtrOutput
- func (o WorkstationConfigContainerPtrOutput) WorkingDir() pulumi.StringPtrOutput
- type WorkstationConfigEncryptionKey
- type WorkstationConfigEncryptionKeyArgs
- func (WorkstationConfigEncryptionKeyArgs) ElementType() reflect.Type
- func (i WorkstationConfigEncryptionKeyArgs) ToWorkstationConfigEncryptionKeyOutput() WorkstationConfigEncryptionKeyOutput
- func (i WorkstationConfigEncryptionKeyArgs) ToWorkstationConfigEncryptionKeyOutputWithContext(ctx context.Context) WorkstationConfigEncryptionKeyOutput
- func (i WorkstationConfigEncryptionKeyArgs) ToWorkstationConfigEncryptionKeyPtrOutput() WorkstationConfigEncryptionKeyPtrOutput
- func (i WorkstationConfigEncryptionKeyArgs) ToWorkstationConfigEncryptionKeyPtrOutputWithContext(ctx context.Context) WorkstationConfigEncryptionKeyPtrOutput
- type WorkstationConfigEncryptionKeyInput
- type WorkstationConfigEncryptionKeyOutput
- func (WorkstationConfigEncryptionKeyOutput) ElementType() reflect.Type
- func (o WorkstationConfigEncryptionKeyOutput) KmsKey() pulumi.StringOutput
- func (o WorkstationConfigEncryptionKeyOutput) KmsKeyServiceAccount() pulumi.StringOutput
- func (o WorkstationConfigEncryptionKeyOutput) ToWorkstationConfigEncryptionKeyOutput() WorkstationConfigEncryptionKeyOutput
- func (o WorkstationConfigEncryptionKeyOutput) ToWorkstationConfigEncryptionKeyOutputWithContext(ctx context.Context) WorkstationConfigEncryptionKeyOutput
- func (o WorkstationConfigEncryptionKeyOutput) ToWorkstationConfigEncryptionKeyPtrOutput() WorkstationConfigEncryptionKeyPtrOutput
- func (o WorkstationConfigEncryptionKeyOutput) ToWorkstationConfigEncryptionKeyPtrOutputWithContext(ctx context.Context) WorkstationConfigEncryptionKeyPtrOutput
- type WorkstationConfigEncryptionKeyPtrInput
- type WorkstationConfigEncryptionKeyPtrOutput
- func (o WorkstationConfigEncryptionKeyPtrOutput) Elem() WorkstationConfigEncryptionKeyOutput
- func (WorkstationConfigEncryptionKeyPtrOutput) ElementType() reflect.Type
- func (o WorkstationConfigEncryptionKeyPtrOutput) KmsKey() pulumi.StringPtrOutput
- func (o WorkstationConfigEncryptionKeyPtrOutput) KmsKeyServiceAccount() pulumi.StringPtrOutput
- func (o WorkstationConfigEncryptionKeyPtrOutput) ToWorkstationConfigEncryptionKeyPtrOutput() WorkstationConfigEncryptionKeyPtrOutput
- func (o WorkstationConfigEncryptionKeyPtrOutput) ToWorkstationConfigEncryptionKeyPtrOutputWithContext(ctx context.Context) WorkstationConfigEncryptionKeyPtrOutput
- type WorkstationConfigEphemeralDirectory
- type WorkstationConfigEphemeralDirectoryArgs
- func (WorkstationConfigEphemeralDirectoryArgs) ElementType() reflect.Type
- func (i WorkstationConfigEphemeralDirectoryArgs) ToWorkstationConfigEphemeralDirectoryOutput() WorkstationConfigEphemeralDirectoryOutput
- func (i WorkstationConfigEphemeralDirectoryArgs) ToWorkstationConfigEphemeralDirectoryOutputWithContext(ctx context.Context) WorkstationConfigEphemeralDirectoryOutput
- type WorkstationConfigEphemeralDirectoryArray
- func (WorkstationConfigEphemeralDirectoryArray) ElementType() reflect.Type
- func (i WorkstationConfigEphemeralDirectoryArray) ToWorkstationConfigEphemeralDirectoryArrayOutput() WorkstationConfigEphemeralDirectoryArrayOutput
- func (i WorkstationConfigEphemeralDirectoryArray) ToWorkstationConfigEphemeralDirectoryArrayOutputWithContext(ctx context.Context) WorkstationConfigEphemeralDirectoryArrayOutput
- type WorkstationConfigEphemeralDirectoryArrayInput
- type WorkstationConfigEphemeralDirectoryArrayOutput
- func (WorkstationConfigEphemeralDirectoryArrayOutput) ElementType() reflect.Type
- func (o WorkstationConfigEphemeralDirectoryArrayOutput) Index(i pulumi.IntInput) WorkstationConfigEphemeralDirectoryOutput
- func (o WorkstationConfigEphemeralDirectoryArrayOutput) ToWorkstationConfigEphemeralDirectoryArrayOutput() WorkstationConfigEphemeralDirectoryArrayOutput
- func (o WorkstationConfigEphemeralDirectoryArrayOutput) ToWorkstationConfigEphemeralDirectoryArrayOutputWithContext(ctx context.Context) WorkstationConfigEphemeralDirectoryArrayOutput
- type WorkstationConfigEphemeralDirectoryGcePd
- type WorkstationConfigEphemeralDirectoryGcePdArgs
- func (WorkstationConfigEphemeralDirectoryGcePdArgs) ElementType() reflect.Type
- func (i WorkstationConfigEphemeralDirectoryGcePdArgs) ToWorkstationConfigEphemeralDirectoryGcePdOutput() WorkstationConfigEphemeralDirectoryGcePdOutput
- func (i WorkstationConfigEphemeralDirectoryGcePdArgs) ToWorkstationConfigEphemeralDirectoryGcePdOutputWithContext(ctx context.Context) WorkstationConfigEphemeralDirectoryGcePdOutput
- func (i WorkstationConfigEphemeralDirectoryGcePdArgs) ToWorkstationConfigEphemeralDirectoryGcePdPtrOutput() WorkstationConfigEphemeralDirectoryGcePdPtrOutput
- func (i WorkstationConfigEphemeralDirectoryGcePdArgs) ToWorkstationConfigEphemeralDirectoryGcePdPtrOutputWithContext(ctx context.Context) WorkstationConfigEphemeralDirectoryGcePdPtrOutput
- type WorkstationConfigEphemeralDirectoryGcePdInput
- type WorkstationConfigEphemeralDirectoryGcePdOutput
- func (o WorkstationConfigEphemeralDirectoryGcePdOutput) DiskType() pulumi.StringPtrOutput
- func (WorkstationConfigEphemeralDirectoryGcePdOutput) ElementType() reflect.Type
- func (o WorkstationConfigEphemeralDirectoryGcePdOutput) ReadOnly() pulumi.BoolPtrOutput
- func (o WorkstationConfigEphemeralDirectoryGcePdOutput) SourceImage() pulumi.StringPtrOutput
- func (o WorkstationConfigEphemeralDirectoryGcePdOutput) SourceSnapshot() pulumi.StringPtrOutput
- func (o WorkstationConfigEphemeralDirectoryGcePdOutput) ToWorkstationConfigEphemeralDirectoryGcePdOutput() WorkstationConfigEphemeralDirectoryGcePdOutput
- func (o WorkstationConfigEphemeralDirectoryGcePdOutput) ToWorkstationConfigEphemeralDirectoryGcePdOutputWithContext(ctx context.Context) WorkstationConfigEphemeralDirectoryGcePdOutput
- func (o WorkstationConfigEphemeralDirectoryGcePdOutput) ToWorkstationConfigEphemeralDirectoryGcePdPtrOutput() WorkstationConfigEphemeralDirectoryGcePdPtrOutput
- func (o WorkstationConfigEphemeralDirectoryGcePdOutput) ToWorkstationConfigEphemeralDirectoryGcePdPtrOutputWithContext(ctx context.Context) WorkstationConfigEphemeralDirectoryGcePdPtrOutput
- type WorkstationConfigEphemeralDirectoryGcePdPtrInput
- type WorkstationConfigEphemeralDirectoryGcePdPtrOutput
- func (o WorkstationConfigEphemeralDirectoryGcePdPtrOutput) DiskType() pulumi.StringPtrOutput
- func (o WorkstationConfigEphemeralDirectoryGcePdPtrOutput) Elem() WorkstationConfigEphemeralDirectoryGcePdOutput
- func (WorkstationConfigEphemeralDirectoryGcePdPtrOutput) ElementType() reflect.Type
- func (o WorkstationConfigEphemeralDirectoryGcePdPtrOutput) ReadOnly() pulumi.BoolPtrOutput
- func (o WorkstationConfigEphemeralDirectoryGcePdPtrOutput) SourceImage() pulumi.StringPtrOutput
- func (o WorkstationConfigEphemeralDirectoryGcePdPtrOutput) SourceSnapshot() pulumi.StringPtrOutput
- func (o WorkstationConfigEphemeralDirectoryGcePdPtrOutput) ToWorkstationConfigEphemeralDirectoryGcePdPtrOutput() WorkstationConfigEphemeralDirectoryGcePdPtrOutput
- func (o WorkstationConfigEphemeralDirectoryGcePdPtrOutput) ToWorkstationConfigEphemeralDirectoryGcePdPtrOutputWithContext(ctx context.Context) WorkstationConfigEphemeralDirectoryGcePdPtrOutput
- type WorkstationConfigEphemeralDirectoryInput
- type WorkstationConfigEphemeralDirectoryOutput
- func (WorkstationConfigEphemeralDirectoryOutput) ElementType() reflect.Type
- func (o WorkstationConfigEphemeralDirectoryOutput) GcePd() WorkstationConfigEphemeralDirectoryGcePdPtrOutput
- func (o WorkstationConfigEphemeralDirectoryOutput) MountPath() pulumi.StringPtrOutput
- func (o WorkstationConfigEphemeralDirectoryOutput) ToWorkstationConfigEphemeralDirectoryOutput() WorkstationConfigEphemeralDirectoryOutput
- func (o WorkstationConfigEphemeralDirectoryOutput) ToWorkstationConfigEphemeralDirectoryOutputWithContext(ctx context.Context) WorkstationConfigEphemeralDirectoryOutput
- type WorkstationConfigHost
- type WorkstationConfigHostArgs
- func (WorkstationConfigHostArgs) ElementType() reflect.Type
- func (i WorkstationConfigHostArgs) ToWorkstationConfigHostOutput() WorkstationConfigHostOutput
- func (i WorkstationConfigHostArgs) ToWorkstationConfigHostOutputWithContext(ctx context.Context) WorkstationConfigHostOutput
- func (i WorkstationConfigHostArgs) ToWorkstationConfigHostPtrOutput() WorkstationConfigHostPtrOutput
- func (i WorkstationConfigHostArgs) ToWorkstationConfigHostPtrOutputWithContext(ctx context.Context) WorkstationConfigHostPtrOutput
- type WorkstationConfigHostGceInstance
- type WorkstationConfigHostGceInstanceAccelerator
- type WorkstationConfigHostGceInstanceAcceleratorArgs
- func (WorkstationConfigHostGceInstanceAcceleratorArgs) ElementType() reflect.Type
- func (i WorkstationConfigHostGceInstanceAcceleratorArgs) ToWorkstationConfigHostGceInstanceAcceleratorOutput() WorkstationConfigHostGceInstanceAcceleratorOutput
- func (i WorkstationConfigHostGceInstanceAcceleratorArgs) ToWorkstationConfigHostGceInstanceAcceleratorOutputWithContext(ctx context.Context) WorkstationConfigHostGceInstanceAcceleratorOutput
- type WorkstationConfigHostGceInstanceAcceleratorArray
- func (WorkstationConfigHostGceInstanceAcceleratorArray) ElementType() reflect.Type
- func (i WorkstationConfigHostGceInstanceAcceleratorArray) ToWorkstationConfigHostGceInstanceAcceleratorArrayOutput() WorkstationConfigHostGceInstanceAcceleratorArrayOutput
- func (i WorkstationConfigHostGceInstanceAcceleratorArray) ToWorkstationConfigHostGceInstanceAcceleratorArrayOutputWithContext(ctx context.Context) WorkstationConfigHostGceInstanceAcceleratorArrayOutput
- type WorkstationConfigHostGceInstanceAcceleratorArrayInput
- type WorkstationConfigHostGceInstanceAcceleratorArrayOutput
- func (WorkstationConfigHostGceInstanceAcceleratorArrayOutput) ElementType() reflect.Type
- func (o WorkstationConfigHostGceInstanceAcceleratorArrayOutput) Index(i pulumi.IntInput) WorkstationConfigHostGceInstanceAcceleratorOutput
- func (o WorkstationConfigHostGceInstanceAcceleratorArrayOutput) ToWorkstationConfigHostGceInstanceAcceleratorArrayOutput() WorkstationConfigHostGceInstanceAcceleratorArrayOutput
- func (o WorkstationConfigHostGceInstanceAcceleratorArrayOutput) ToWorkstationConfigHostGceInstanceAcceleratorArrayOutputWithContext(ctx context.Context) WorkstationConfigHostGceInstanceAcceleratorArrayOutput
- type WorkstationConfigHostGceInstanceAcceleratorInput
- type WorkstationConfigHostGceInstanceAcceleratorOutput
- func (o WorkstationConfigHostGceInstanceAcceleratorOutput) Count() pulumi.IntOutput
- func (WorkstationConfigHostGceInstanceAcceleratorOutput) ElementType() reflect.Type
- func (o WorkstationConfigHostGceInstanceAcceleratorOutput) ToWorkstationConfigHostGceInstanceAcceleratorOutput() WorkstationConfigHostGceInstanceAcceleratorOutput
- func (o WorkstationConfigHostGceInstanceAcceleratorOutput) ToWorkstationConfigHostGceInstanceAcceleratorOutputWithContext(ctx context.Context) WorkstationConfigHostGceInstanceAcceleratorOutput
- func (o WorkstationConfigHostGceInstanceAcceleratorOutput) Type() pulumi.StringOutput
- type WorkstationConfigHostGceInstanceArgs
- func (WorkstationConfigHostGceInstanceArgs) ElementType() reflect.Type
- func (i WorkstationConfigHostGceInstanceArgs) ToWorkstationConfigHostGceInstanceOutput() WorkstationConfigHostGceInstanceOutput
- func (i WorkstationConfigHostGceInstanceArgs) ToWorkstationConfigHostGceInstanceOutputWithContext(ctx context.Context) WorkstationConfigHostGceInstanceOutput
- func (i WorkstationConfigHostGceInstanceArgs) ToWorkstationConfigHostGceInstancePtrOutput() WorkstationConfigHostGceInstancePtrOutput
- func (i WorkstationConfigHostGceInstanceArgs) ToWorkstationConfigHostGceInstancePtrOutputWithContext(ctx context.Context) WorkstationConfigHostGceInstancePtrOutput
- type WorkstationConfigHostGceInstanceBoostConfig
- type WorkstationConfigHostGceInstanceBoostConfigAccelerator
- type WorkstationConfigHostGceInstanceBoostConfigAcceleratorArgs
- func (WorkstationConfigHostGceInstanceBoostConfigAcceleratorArgs) ElementType() reflect.Type
- func (i WorkstationConfigHostGceInstanceBoostConfigAcceleratorArgs) ToWorkstationConfigHostGceInstanceBoostConfigAcceleratorOutput() WorkstationConfigHostGceInstanceBoostConfigAcceleratorOutput
- func (i WorkstationConfigHostGceInstanceBoostConfigAcceleratorArgs) ToWorkstationConfigHostGceInstanceBoostConfigAcceleratorOutputWithContext(ctx context.Context) WorkstationConfigHostGceInstanceBoostConfigAcceleratorOutput
- type WorkstationConfigHostGceInstanceBoostConfigAcceleratorArray
- func (WorkstationConfigHostGceInstanceBoostConfigAcceleratorArray) ElementType() reflect.Type
- func (i WorkstationConfigHostGceInstanceBoostConfigAcceleratorArray) ToWorkstationConfigHostGceInstanceBoostConfigAcceleratorArrayOutput() WorkstationConfigHostGceInstanceBoostConfigAcceleratorArrayOutput
- func (i WorkstationConfigHostGceInstanceBoostConfigAcceleratorArray) ToWorkstationConfigHostGceInstanceBoostConfigAcceleratorArrayOutputWithContext(ctx context.Context) WorkstationConfigHostGceInstanceBoostConfigAcceleratorArrayOutput
- type WorkstationConfigHostGceInstanceBoostConfigAcceleratorArrayInput
- type WorkstationConfigHostGceInstanceBoostConfigAcceleratorArrayOutput
- func (WorkstationConfigHostGceInstanceBoostConfigAcceleratorArrayOutput) ElementType() reflect.Type
- func (o WorkstationConfigHostGceInstanceBoostConfigAcceleratorArrayOutput) Index(i pulumi.IntInput) WorkstationConfigHostGceInstanceBoostConfigAcceleratorOutput
- func (o WorkstationConfigHostGceInstanceBoostConfigAcceleratorArrayOutput) ToWorkstationConfigHostGceInstanceBoostConfigAcceleratorArrayOutput() WorkstationConfigHostGceInstanceBoostConfigAcceleratorArrayOutput
- func (o WorkstationConfigHostGceInstanceBoostConfigAcceleratorArrayOutput) ToWorkstationConfigHostGceInstanceBoostConfigAcceleratorArrayOutputWithContext(ctx context.Context) WorkstationConfigHostGceInstanceBoostConfigAcceleratorArrayOutput
- type WorkstationConfigHostGceInstanceBoostConfigAcceleratorInput
- type WorkstationConfigHostGceInstanceBoostConfigAcceleratorOutput
- func (o WorkstationConfigHostGceInstanceBoostConfigAcceleratorOutput) Count() pulumi.IntOutput
- func (WorkstationConfigHostGceInstanceBoostConfigAcceleratorOutput) ElementType() reflect.Type
- func (o WorkstationConfigHostGceInstanceBoostConfigAcceleratorOutput) ToWorkstationConfigHostGceInstanceBoostConfigAcceleratorOutput() WorkstationConfigHostGceInstanceBoostConfigAcceleratorOutput
- func (o WorkstationConfigHostGceInstanceBoostConfigAcceleratorOutput) ToWorkstationConfigHostGceInstanceBoostConfigAcceleratorOutputWithContext(ctx context.Context) WorkstationConfigHostGceInstanceBoostConfigAcceleratorOutput
- func (o WorkstationConfigHostGceInstanceBoostConfigAcceleratorOutput) Type() pulumi.StringOutput
- type WorkstationConfigHostGceInstanceBoostConfigArgs
- func (WorkstationConfigHostGceInstanceBoostConfigArgs) ElementType() reflect.Type
- func (i WorkstationConfigHostGceInstanceBoostConfigArgs) ToWorkstationConfigHostGceInstanceBoostConfigOutput() WorkstationConfigHostGceInstanceBoostConfigOutput
- func (i WorkstationConfigHostGceInstanceBoostConfigArgs) ToWorkstationConfigHostGceInstanceBoostConfigOutputWithContext(ctx context.Context) WorkstationConfigHostGceInstanceBoostConfigOutput
- type WorkstationConfigHostGceInstanceBoostConfigArray
- func (WorkstationConfigHostGceInstanceBoostConfigArray) ElementType() reflect.Type
- func (i WorkstationConfigHostGceInstanceBoostConfigArray) ToWorkstationConfigHostGceInstanceBoostConfigArrayOutput() WorkstationConfigHostGceInstanceBoostConfigArrayOutput
- func (i WorkstationConfigHostGceInstanceBoostConfigArray) ToWorkstationConfigHostGceInstanceBoostConfigArrayOutputWithContext(ctx context.Context) WorkstationConfigHostGceInstanceBoostConfigArrayOutput
- type WorkstationConfigHostGceInstanceBoostConfigArrayInput
- type WorkstationConfigHostGceInstanceBoostConfigArrayOutput
- func (WorkstationConfigHostGceInstanceBoostConfigArrayOutput) ElementType() reflect.Type
- func (o WorkstationConfigHostGceInstanceBoostConfigArrayOutput) Index(i pulumi.IntInput) WorkstationConfigHostGceInstanceBoostConfigOutput
- func (o WorkstationConfigHostGceInstanceBoostConfigArrayOutput) ToWorkstationConfigHostGceInstanceBoostConfigArrayOutput() WorkstationConfigHostGceInstanceBoostConfigArrayOutput
- func (o WorkstationConfigHostGceInstanceBoostConfigArrayOutput) ToWorkstationConfigHostGceInstanceBoostConfigArrayOutputWithContext(ctx context.Context) WorkstationConfigHostGceInstanceBoostConfigArrayOutput
- type WorkstationConfigHostGceInstanceBoostConfigInput
- type WorkstationConfigHostGceInstanceBoostConfigOutput
- func (o WorkstationConfigHostGceInstanceBoostConfigOutput) Accelerators() WorkstationConfigHostGceInstanceBoostConfigAcceleratorArrayOutput
- func (o WorkstationConfigHostGceInstanceBoostConfigOutput) BootDiskSizeGb() pulumi.IntPtrOutput
- func (WorkstationConfigHostGceInstanceBoostConfigOutput) ElementType() reflect.Type
- func (o WorkstationConfigHostGceInstanceBoostConfigOutput) EnableNestedVirtualization() pulumi.BoolPtrOutput
- func (o WorkstationConfigHostGceInstanceBoostConfigOutput) Id() pulumi.StringOutput
- func (o WorkstationConfigHostGceInstanceBoostConfigOutput) MachineType() pulumi.StringPtrOutput
- func (o WorkstationConfigHostGceInstanceBoostConfigOutput) PoolSize() pulumi.IntPtrOutput
- func (o WorkstationConfigHostGceInstanceBoostConfigOutput) ToWorkstationConfigHostGceInstanceBoostConfigOutput() WorkstationConfigHostGceInstanceBoostConfigOutput
- func (o WorkstationConfigHostGceInstanceBoostConfigOutput) ToWorkstationConfigHostGceInstanceBoostConfigOutputWithContext(ctx context.Context) WorkstationConfigHostGceInstanceBoostConfigOutput
- type WorkstationConfigHostGceInstanceConfidentialInstanceConfig
- type WorkstationConfigHostGceInstanceConfidentialInstanceConfigArgs
- func (WorkstationConfigHostGceInstanceConfidentialInstanceConfigArgs) ElementType() reflect.Type
- func (i WorkstationConfigHostGceInstanceConfidentialInstanceConfigArgs) ToWorkstationConfigHostGceInstanceConfidentialInstanceConfigOutput() WorkstationConfigHostGceInstanceConfidentialInstanceConfigOutput
- func (i WorkstationConfigHostGceInstanceConfidentialInstanceConfigArgs) ToWorkstationConfigHostGceInstanceConfidentialInstanceConfigOutputWithContext(ctx context.Context) WorkstationConfigHostGceInstanceConfidentialInstanceConfigOutput
- func (i WorkstationConfigHostGceInstanceConfidentialInstanceConfigArgs) ToWorkstationConfigHostGceInstanceConfidentialInstanceConfigPtrOutput() WorkstationConfigHostGceInstanceConfidentialInstanceConfigPtrOutput
- func (i WorkstationConfigHostGceInstanceConfidentialInstanceConfigArgs) ToWorkstationConfigHostGceInstanceConfidentialInstanceConfigPtrOutputWithContext(ctx context.Context) WorkstationConfigHostGceInstanceConfidentialInstanceConfigPtrOutput
- type WorkstationConfigHostGceInstanceConfidentialInstanceConfigInput
- type WorkstationConfigHostGceInstanceConfidentialInstanceConfigOutput
- func (WorkstationConfigHostGceInstanceConfidentialInstanceConfigOutput) ElementType() reflect.Type
- func (o WorkstationConfigHostGceInstanceConfidentialInstanceConfigOutput) EnableConfidentialCompute() pulumi.BoolPtrOutput
- func (o WorkstationConfigHostGceInstanceConfidentialInstanceConfigOutput) ToWorkstationConfigHostGceInstanceConfidentialInstanceConfigOutput() WorkstationConfigHostGceInstanceConfidentialInstanceConfigOutput
- func (o WorkstationConfigHostGceInstanceConfidentialInstanceConfigOutput) ToWorkstationConfigHostGceInstanceConfidentialInstanceConfigOutputWithContext(ctx context.Context) WorkstationConfigHostGceInstanceConfidentialInstanceConfigOutput
- func (o WorkstationConfigHostGceInstanceConfidentialInstanceConfigOutput) ToWorkstationConfigHostGceInstanceConfidentialInstanceConfigPtrOutput() WorkstationConfigHostGceInstanceConfidentialInstanceConfigPtrOutput
- func (o WorkstationConfigHostGceInstanceConfidentialInstanceConfigOutput) ToWorkstationConfigHostGceInstanceConfidentialInstanceConfigPtrOutputWithContext(ctx context.Context) WorkstationConfigHostGceInstanceConfidentialInstanceConfigPtrOutput
- type WorkstationConfigHostGceInstanceConfidentialInstanceConfigPtrInput
- type WorkstationConfigHostGceInstanceConfidentialInstanceConfigPtrOutput
- func (o WorkstationConfigHostGceInstanceConfidentialInstanceConfigPtrOutput) Elem() WorkstationConfigHostGceInstanceConfidentialInstanceConfigOutput
- func (WorkstationConfigHostGceInstanceConfidentialInstanceConfigPtrOutput) ElementType() reflect.Type
- func (o WorkstationConfigHostGceInstanceConfidentialInstanceConfigPtrOutput) EnableConfidentialCompute() pulumi.BoolPtrOutput
- func (o WorkstationConfigHostGceInstanceConfidentialInstanceConfigPtrOutput) ToWorkstationConfigHostGceInstanceConfidentialInstanceConfigPtrOutput() WorkstationConfigHostGceInstanceConfidentialInstanceConfigPtrOutput
- func (o WorkstationConfigHostGceInstanceConfidentialInstanceConfigPtrOutput) ToWorkstationConfigHostGceInstanceConfidentialInstanceConfigPtrOutputWithContext(ctx context.Context) WorkstationConfigHostGceInstanceConfidentialInstanceConfigPtrOutput
- type WorkstationConfigHostGceInstanceInput
- type WorkstationConfigHostGceInstanceOutput
- func (o WorkstationConfigHostGceInstanceOutput) Accelerators() WorkstationConfigHostGceInstanceAcceleratorArrayOutput
- func (o WorkstationConfigHostGceInstanceOutput) BoostConfigs() WorkstationConfigHostGceInstanceBoostConfigArrayOutput
- func (o WorkstationConfigHostGceInstanceOutput) BootDiskSizeGb() pulumi.IntPtrOutput
- func (o WorkstationConfigHostGceInstanceOutput) ConfidentialInstanceConfig() WorkstationConfigHostGceInstanceConfidentialInstanceConfigPtrOutput
- func (o WorkstationConfigHostGceInstanceOutput) DisablePublicIpAddresses() pulumi.BoolPtrOutput
- func (o WorkstationConfigHostGceInstanceOutput) DisableSsh() pulumi.BoolPtrOutput
- func (WorkstationConfigHostGceInstanceOutput) ElementType() reflect.Type
- func (o WorkstationConfigHostGceInstanceOutput) EnableNestedVirtualization() pulumi.BoolPtrOutput
- func (o WorkstationConfigHostGceInstanceOutput) MachineType() pulumi.StringPtrOutput
- func (o WorkstationConfigHostGceInstanceOutput) PoolSize() pulumi.IntPtrOutput
- func (o WorkstationConfigHostGceInstanceOutput) ServiceAccount() pulumi.StringPtrOutput
- func (o WorkstationConfigHostGceInstanceOutput) ServiceAccountScopes() pulumi.StringArrayOutput
- func (o WorkstationConfigHostGceInstanceOutput) ShieldedInstanceConfig() WorkstationConfigHostGceInstanceShieldedInstanceConfigPtrOutput
- func (o WorkstationConfigHostGceInstanceOutput) Tags() pulumi.StringArrayOutput
- func (o WorkstationConfigHostGceInstanceOutput) ToWorkstationConfigHostGceInstanceOutput() WorkstationConfigHostGceInstanceOutput
- func (o WorkstationConfigHostGceInstanceOutput) ToWorkstationConfigHostGceInstanceOutputWithContext(ctx context.Context) WorkstationConfigHostGceInstanceOutput
- func (o WorkstationConfigHostGceInstanceOutput) ToWorkstationConfigHostGceInstancePtrOutput() WorkstationConfigHostGceInstancePtrOutput
- func (o WorkstationConfigHostGceInstanceOutput) ToWorkstationConfigHostGceInstancePtrOutputWithContext(ctx context.Context) WorkstationConfigHostGceInstancePtrOutput
- func (o WorkstationConfigHostGceInstanceOutput) VmTags() pulumi.StringMapOutput
- type WorkstationConfigHostGceInstancePtrInput
- type WorkstationConfigHostGceInstancePtrOutput
- func (o WorkstationConfigHostGceInstancePtrOutput) Accelerators() WorkstationConfigHostGceInstanceAcceleratorArrayOutput
- func (o WorkstationConfigHostGceInstancePtrOutput) BoostConfigs() WorkstationConfigHostGceInstanceBoostConfigArrayOutput
- func (o WorkstationConfigHostGceInstancePtrOutput) BootDiskSizeGb() pulumi.IntPtrOutput
- func (o WorkstationConfigHostGceInstancePtrOutput) ConfidentialInstanceConfig() WorkstationConfigHostGceInstanceConfidentialInstanceConfigPtrOutput
- func (o WorkstationConfigHostGceInstancePtrOutput) DisablePublicIpAddresses() pulumi.BoolPtrOutput
- func (o WorkstationConfigHostGceInstancePtrOutput) DisableSsh() pulumi.BoolPtrOutput
- func (o WorkstationConfigHostGceInstancePtrOutput) Elem() WorkstationConfigHostGceInstanceOutput
- func (WorkstationConfigHostGceInstancePtrOutput) ElementType() reflect.Type
- func (o WorkstationConfigHostGceInstancePtrOutput) EnableNestedVirtualization() pulumi.BoolPtrOutput
- func (o WorkstationConfigHostGceInstancePtrOutput) MachineType() pulumi.StringPtrOutput
- func (o WorkstationConfigHostGceInstancePtrOutput) PoolSize() pulumi.IntPtrOutput
- func (o WorkstationConfigHostGceInstancePtrOutput) ServiceAccount() pulumi.StringPtrOutput
- func (o WorkstationConfigHostGceInstancePtrOutput) ServiceAccountScopes() pulumi.StringArrayOutput
- func (o WorkstationConfigHostGceInstancePtrOutput) ShieldedInstanceConfig() WorkstationConfigHostGceInstanceShieldedInstanceConfigPtrOutput
- func (o WorkstationConfigHostGceInstancePtrOutput) Tags() pulumi.StringArrayOutput
- func (o WorkstationConfigHostGceInstancePtrOutput) ToWorkstationConfigHostGceInstancePtrOutput() WorkstationConfigHostGceInstancePtrOutput
- func (o WorkstationConfigHostGceInstancePtrOutput) ToWorkstationConfigHostGceInstancePtrOutputWithContext(ctx context.Context) WorkstationConfigHostGceInstancePtrOutput
- func (o WorkstationConfigHostGceInstancePtrOutput) VmTags() pulumi.StringMapOutput
- type WorkstationConfigHostGceInstanceShieldedInstanceConfig
- type WorkstationConfigHostGceInstanceShieldedInstanceConfigArgs
- func (WorkstationConfigHostGceInstanceShieldedInstanceConfigArgs) ElementType() reflect.Type
- func (i WorkstationConfigHostGceInstanceShieldedInstanceConfigArgs) ToWorkstationConfigHostGceInstanceShieldedInstanceConfigOutput() WorkstationConfigHostGceInstanceShieldedInstanceConfigOutput
- func (i WorkstationConfigHostGceInstanceShieldedInstanceConfigArgs) ToWorkstationConfigHostGceInstanceShieldedInstanceConfigOutputWithContext(ctx context.Context) WorkstationConfigHostGceInstanceShieldedInstanceConfigOutput
- func (i WorkstationConfigHostGceInstanceShieldedInstanceConfigArgs) ToWorkstationConfigHostGceInstanceShieldedInstanceConfigPtrOutput() WorkstationConfigHostGceInstanceShieldedInstanceConfigPtrOutput
- func (i WorkstationConfigHostGceInstanceShieldedInstanceConfigArgs) ToWorkstationConfigHostGceInstanceShieldedInstanceConfigPtrOutputWithContext(ctx context.Context) WorkstationConfigHostGceInstanceShieldedInstanceConfigPtrOutput
- type WorkstationConfigHostGceInstanceShieldedInstanceConfigInput
- type WorkstationConfigHostGceInstanceShieldedInstanceConfigOutput
- func (WorkstationConfigHostGceInstanceShieldedInstanceConfigOutput) ElementType() reflect.Type
- func (o WorkstationConfigHostGceInstanceShieldedInstanceConfigOutput) EnableIntegrityMonitoring() pulumi.BoolPtrOutput
- func (o WorkstationConfigHostGceInstanceShieldedInstanceConfigOutput) EnableSecureBoot() pulumi.BoolPtrOutput
- func (o WorkstationConfigHostGceInstanceShieldedInstanceConfigOutput) EnableVtpm() pulumi.BoolPtrOutput
- func (o WorkstationConfigHostGceInstanceShieldedInstanceConfigOutput) ToWorkstationConfigHostGceInstanceShieldedInstanceConfigOutput() WorkstationConfigHostGceInstanceShieldedInstanceConfigOutput
- func (o WorkstationConfigHostGceInstanceShieldedInstanceConfigOutput) ToWorkstationConfigHostGceInstanceShieldedInstanceConfigOutputWithContext(ctx context.Context) WorkstationConfigHostGceInstanceShieldedInstanceConfigOutput
- func (o WorkstationConfigHostGceInstanceShieldedInstanceConfigOutput) ToWorkstationConfigHostGceInstanceShieldedInstanceConfigPtrOutput() WorkstationConfigHostGceInstanceShieldedInstanceConfigPtrOutput
- func (o WorkstationConfigHostGceInstanceShieldedInstanceConfigOutput) ToWorkstationConfigHostGceInstanceShieldedInstanceConfigPtrOutputWithContext(ctx context.Context) WorkstationConfigHostGceInstanceShieldedInstanceConfigPtrOutput
- type WorkstationConfigHostGceInstanceShieldedInstanceConfigPtrInput
- type WorkstationConfigHostGceInstanceShieldedInstanceConfigPtrOutput
- func (o WorkstationConfigHostGceInstanceShieldedInstanceConfigPtrOutput) Elem() WorkstationConfigHostGceInstanceShieldedInstanceConfigOutput
- func (WorkstationConfigHostGceInstanceShieldedInstanceConfigPtrOutput) ElementType() reflect.Type
- func (o WorkstationConfigHostGceInstanceShieldedInstanceConfigPtrOutput) EnableIntegrityMonitoring() pulumi.BoolPtrOutput
- func (o WorkstationConfigHostGceInstanceShieldedInstanceConfigPtrOutput) EnableSecureBoot() pulumi.BoolPtrOutput
- func (o WorkstationConfigHostGceInstanceShieldedInstanceConfigPtrOutput) EnableVtpm() pulumi.BoolPtrOutput
- func (o WorkstationConfigHostGceInstanceShieldedInstanceConfigPtrOutput) ToWorkstationConfigHostGceInstanceShieldedInstanceConfigPtrOutput() WorkstationConfigHostGceInstanceShieldedInstanceConfigPtrOutput
- func (o WorkstationConfigHostGceInstanceShieldedInstanceConfigPtrOutput) ToWorkstationConfigHostGceInstanceShieldedInstanceConfigPtrOutputWithContext(ctx context.Context) WorkstationConfigHostGceInstanceShieldedInstanceConfigPtrOutput
- type WorkstationConfigHostInput
- type WorkstationConfigHostOutput
- func (WorkstationConfigHostOutput) ElementType() reflect.Type
- func (o WorkstationConfigHostOutput) GceInstance() WorkstationConfigHostGceInstancePtrOutput
- func (o WorkstationConfigHostOutput) ToWorkstationConfigHostOutput() WorkstationConfigHostOutput
- func (o WorkstationConfigHostOutput) ToWorkstationConfigHostOutputWithContext(ctx context.Context) WorkstationConfigHostOutput
- func (o WorkstationConfigHostOutput) ToWorkstationConfigHostPtrOutput() WorkstationConfigHostPtrOutput
- func (o WorkstationConfigHostOutput) ToWorkstationConfigHostPtrOutputWithContext(ctx context.Context) WorkstationConfigHostPtrOutput
- type WorkstationConfigHostPtrInput
- type WorkstationConfigHostPtrOutput
- func (o WorkstationConfigHostPtrOutput) Elem() WorkstationConfigHostOutput
- func (WorkstationConfigHostPtrOutput) ElementType() reflect.Type
- func (o WorkstationConfigHostPtrOutput) GceInstance() WorkstationConfigHostGceInstancePtrOutput
- func (o WorkstationConfigHostPtrOutput) ToWorkstationConfigHostPtrOutput() WorkstationConfigHostPtrOutput
- func (o WorkstationConfigHostPtrOutput) ToWorkstationConfigHostPtrOutputWithContext(ctx context.Context) WorkstationConfigHostPtrOutput
- type WorkstationConfigIamBinding
- func (*WorkstationConfigIamBinding) ElementType() reflect.Type
- func (i *WorkstationConfigIamBinding) ToWorkstationConfigIamBindingOutput() WorkstationConfigIamBindingOutput
- func (i *WorkstationConfigIamBinding) ToWorkstationConfigIamBindingOutputWithContext(ctx context.Context) WorkstationConfigIamBindingOutput
- type WorkstationConfigIamBindingArgs
- type WorkstationConfigIamBindingArray
- func (WorkstationConfigIamBindingArray) ElementType() reflect.Type
- func (i WorkstationConfigIamBindingArray) ToWorkstationConfigIamBindingArrayOutput() WorkstationConfigIamBindingArrayOutput
- func (i WorkstationConfigIamBindingArray) ToWorkstationConfigIamBindingArrayOutputWithContext(ctx context.Context) WorkstationConfigIamBindingArrayOutput
- type WorkstationConfigIamBindingArrayInput
- type WorkstationConfigIamBindingArrayOutput
- func (WorkstationConfigIamBindingArrayOutput) ElementType() reflect.Type
- func (o WorkstationConfigIamBindingArrayOutput) Index(i pulumi.IntInput) WorkstationConfigIamBindingOutput
- func (o WorkstationConfigIamBindingArrayOutput) ToWorkstationConfigIamBindingArrayOutput() WorkstationConfigIamBindingArrayOutput
- func (o WorkstationConfigIamBindingArrayOutput) ToWorkstationConfigIamBindingArrayOutputWithContext(ctx context.Context) WorkstationConfigIamBindingArrayOutput
- type WorkstationConfigIamBindingCondition
- type WorkstationConfigIamBindingConditionArgs
- func (WorkstationConfigIamBindingConditionArgs) ElementType() reflect.Type
- func (i WorkstationConfigIamBindingConditionArgs) ToWorkstationConfigIamBindingConditionOutput() WorkstationConfigIamBindingConditionOutput
- func (i WorkstationConfigIamBindingConditionArgs) ToWorkstationConfigIamBindingConditionOutputWithContext(ctx context.Context) WorkstationConfigIamBindingConditionOutput
- func (i WorkstationConfigIamBindingConditionArgs) ToWorkstationConfigIamBindingConditionPtrOutput() WorkstationConfigIamBindingConditionPtrOutput
- func (i WorkstationConfigIamBindingConditionArgs) ToWorkstationConfigIamBindingConditionPtrOutputWithContext(ctx context.Context) WorkstationConfigIamBindingConditionPtrOutput
- type WorkstationConfigIamBindingConditionInput
- type WorkstationConfigIamBindingConditionOutput
- func (o WorkstationConfigIamBindingConditionOutput) Description() pulumi.StringPtrOutput
- func (WorkstationConfigIamBindingConditionOutput) ElementType() reflect.Type
- func (o WorkstationConfigIamBindingConditionOutput) Expression() pulumi.StringOutput
- func (o WorkstationConfigIamBindingConditionOutput) Title() pulumi.StringOutput
- func (o WorkstationConfigIamBindingConditionOutput) ToWorkstationConfigIamBindingConditionOutput() WorkstationConfigIamBindingConditionOutput
- func (o WorkstationConfigIamBindingConditionOutput) ToWorkstationConfigIamBindingConditionOutputWithContext(ctx context.Context) WorkstationConfigIamBindingConditionOutput
- func (o WorkstationConfigIamBindingConditionOutput) ToWorkstationConfigIamBindingConditionPtrOutput() WorkstationConfigIamBindingConditionPtrOutput
- func (o WorkstationConfigIamBindingConditionOutput) ToWorkstationConfigIamBindingConditionPtrOutputWithContext(ctx context.Context) WorkstationConfigIamBindingConditionPtrOutput
- type WorkstationConfigIamBindingConditionPtrInput
- type WorkstationConfigIamBindingConditionPtrOutput
- func (o WorkstationConfigIamBindingConditionPtrOutput) Description() pulumi.StringPtrOutput
- func (o WorkstationConfigIamBindingConditionPtrOutput) Elem() WorkstationConfigIamBindingConditionOutput
- func (WorkstationConfigIamBindingConditionPtrOutput) ElementType() reflect.Type
- func (o WorkstationConfigIamBindingConditionPtrOutput) Expression() pulumi.StringPtrOutput
- func (o WorkstationConfigIamBindingConditionPtrOutput) Title() pulumi.StringPtrOutput
- func (o WorkstationConfigIamBindingConditionPtrOutput) ToWorkstationConfigIamBindingConditionPtrOutput() WorkstationConfigIamBindingConditionPtrOutput
- func (o WorkstationConfigIamBindingConditionPtrOutput) ToWorkstationConfigIamBindingConditionPtrOutputWithContext(ctx context.Context) WorkstationConfigIamBindingConditionPtrOutput
- type WorkstationConfigIamBindingInput
- type WorkstationConfigIamBindingMap
- func (WorkstationConfigIamBindingMap) ElementType() reflect.Type
- func (i WorkstationConfigIamBindingMap) ToWorkstationConfigIamBindingMapOutput() WorkstationConfigIamBindingMapOutput
- func (i WorkstationConfigIamBindingMap) ToWorkstationConfigIamBindingMapOutputWithContext(ctx context.Context) WorkstationConfigIamBindingMapOutput
- type WorkstationConfigIamBindingMapInput
- type WorkstationConfigIamBindingMapOutput
- func (WorkstationConfigIamBindingMapOutput) ElementType() reflect.Type
- func (o WorkstationConfigIamBindingMapOutput) MapIndex(k pulumi.StringInput) WorkstationConfigIamBindingOutput
- func (o WorkstationConfigIamBindingMapOutput) ToWorkstationConfigIamBindingMapOutput() WorkstationConfigIamBindingMapOutput
- func (o WorkstationConfigIamBindingMapOutput) ToWorkstationConfigIamBindingMapOutputWithContext(ctx context.Context) WorkstationConfigIamBindingMapOutput
- type WorkstationConfigIamBindingOutput
- func (o WorkstationConfigIamBindingOutput) Condition() WorkstationConfigIamBindingConditionPtrOutput
- func (WorkstationConfigIamBindingOutput) ElementType() reflect.Type
- func (o WorkstationConfigIamBindingOutput) Etag() pulumi.StringOutput
- func (o WorkstationConfigIamBindingOutput) Location() pulumi.StringOutput
- func (o WorkstationConfigIamBindingOutput) Members() pulumi.StringArrayOutput
- func (o WorkstationConfigIamBindingOutput) Project() pulumi.StringOutput
- func (o WorkstationConfigIamBindingOutput) Role() pulumi.StringOutput
- func (o WorkstationConfigIamBindingOutput) ToWorkstationConfigIamBindingOutput() WorkstationConfigIamBindingOutput
- func (o WorkstationConfigIamBindingOutput) ToWorkstationConfigIamBindingOutputWithContext(ctx context.Context) WorkstationConfigIamBindingOutput
- func (o WorkstationConfigIamBindingOutput) WorkstationClusterId() pulumi.StringOutput
- func (o WorkstationConfigIamBindingOutput) WorkstationConfigId() pulumi.StringOutput
- type WorkstationConfigIamBindingState
- type WorkstationConfigIamMember
- func (*WorkstationConfigIamMember) ElementType() reflect.Type
- func (i *WorkstationConfigIamMember) ToWorkstationConfigIamMemberOutput() WorkstationConfigIamMemberOutput
- func (i *WorkstationConfigIamMember) ToWorkstationConfigIamMemberOutputWithContext(ctx context.Context) WorkstationConfigIamMemberOutput
- type WorkstationConfigIamMemberArgs
- type WorkstationConfigIamMemberArray
- func (WorkstationConfigIamMemberArray) ElementType() reflect.Type
- func (i WorkstationConfigIamMemberArray) ToWorkstationConfigIamMemberArrayOutput() WorkstationConfigIamMemberArrayOutput
- func (i WorkstationConfigIamMemberArray) ToWorkstationConfigIamMemberArrayOutputWithContext(ctx context.Context) WorkstationConfigIamMemberArrayOutput
- type WorkstationConfigIamMemberArrayInput
- type WorkstationConfigIamMemberArrayOutput
- func (WorkstationConfigIamMemberArrayOutput) ElementType() reflect.Type
- func (o WorkstationConfigIamMemberArrayOutput) Index(i pulumi.IntInput) WorkstationConfigIamMemberOutput
- func (o WorkstationConfigIamMemberArrayOutput) ToWorkstationConfigIamMemberArrayOutput() WorkstationConfigIamMemberArrayOutput
- func (o WorkstationConfigIamMemberArrayOutput) ToWorkstationConfigIamMemberArrayOutputWithContext(ctx context.Context) WorkstationConfigIamMemberArrayOutput
- type WorkstationConfigIamMemberCondition
- type WorkstationConfigIamMemberConditionArgs
- func (WorkstationConfigIamMemberConditionArgs) ElementType() reflect.Type
- func (i WorkstationConfigIamMemberConditionArgs) ToWorkstationConfigIamMemberConditionOutput() WorkstationConfigIamMemberConditionOutput
- func (i WorkstationConfigIamMemberConditionArgs) ToWorkstationConfigIamMemberConditionOutputWithContext(ctx context.Context) WorkstationConfigIamMemberConditionOutput
- func (i WorkstationConfigIamMemberConditionArgs) ToWorkstationConfigIamMemberConditionPtrOutput() WorkstationConfigIamMemberConditionPtrOutput
- func (i WorkstationConfigIamMemberConditionArgs) ToWorkstationConfigIamMemberConditionPtrOutputWithContext(ctx context.Context) WorkstationConfigIamMemberConditionPtrOutput
- type WorkstationConfigIamMemberConditionInput
- type WorkstationConfigIamMemberConditionOutput
- func (o WorkstationConfigIamMemberConditionOutput) Description() pulumi.StringPtrOutput
- func (WorkstationConfigIamMemberConditionOutput) ElementType() reflect.Type
- func (o WorkstationConfigIamMemberConditionOutput) Expression() pulumi.StringOutput
- func (o WorkstationConfigIamMemberConditionOutput) Title() pulumi.StringOutput
- func (o WorkstationConfigIamMemberConditionOutput) ToWorkstationConfigIamMemberConditionOutput() WorkstationConfigIamMemberConditionOutput
- func (o WorkstationConfigIamMemberConditionOutput) ToWorkstationConfigIamMemberConditionOutputWithContext(ctx context.Context) WorkstationConfigIamMemberConditionOutput
- func (o WorkstationConfigIamMemberConditionOutput) ToWorkstationConfigIamMemberConditionPtrOutput() WorkstationConfigIamMemberConditionPtrOutput
- func (o WorkstationConfigIamMemberConditionOutput) ToWorkstationConfigIamMemberConditionPtrOutputWithContext(ctx context.Context) WorkstationConfigIamMemberConditionPtrOutput
- type WorkstationConfigIamMemberConditionPtrInput
- type WorkstationConfigIamMemberConditionPtrOutput
- func (o WorkstationConfigIamMemberConditionPtrOutput) Description() pulumi.StringPtrOutput
- func (o WorkstationConfigIamMemberConditionPtrOutput) Elem() WorkstationConfigIamMemberConditionOutput
- func (WorkstationConfigIamMemberConditionPtrOutput) ElementType() reflect.Type
- func (o WorkstationConfigIamMemberConditionPtrOutput) Expression() pulumi.StringPtrOutput
- func (o WorkstationConfigIamMemberConditionPtrOutput) Title() pulumi.StringPtrOutput
- func (o WorkstationConfigIamMemberConditionPtrOutput) ToWorkstationConfigIamMemberConditionPtrOutput() WorkstationConfigIamMemberConditionPtrOutput
- func (o WorkstationConfigIamMemberConditionPtrOutput) ToWorkstationConfigIamMemberConditionPtrOutputWithContext(ctx context.Context) WorkstationConfigIamMemberConditionPtrOutput
- type WorkstationConfigIamMemberInput
- type WorkstationConfigIamMemberMap
- func (WorkstationConfigIamMemberMap) ElementType() reflect.Type
- func (i WorkstationConfigIamMemberMap) ToWorkstationConfigIamMemberMapOutput() WorkstationConfigIamMemberMapOutput
- func (i WorkstationConfigIamMemberMap) ToWorkstationConfigIamMemberMapOutputWithContext(ctx context.Context) WorkstationConfigIamMemberMapOutput
- type WorkstationConfigIamMemberMapInput
- type WorkstationConfigIamMemberMapOutput
- func (WorkstationConfigIamMemberMapOutput) ElementType() reflect.Type
- func (o WorkstationConfigIamMemberMapOutput) MapIndex(k pulumi.StringInput) WorkstationConfigIamMemberOutput
- func (o WorkstationConfigIamMemberMapOutput) ToWorkstationConfigIamMemberMapOutput() WorkstationConfigIamMemberMapOutput
- func (o WorkstationConfigIamMemberMapOutput) ToWorkstationConfigIamMemberMapOutputWithContext(ctx context.Context) WorkstationConfigIamMemberMapOutput
- type WorkstationConfigIamMemberOutput
- func (o WorkstationConfigIamMemberOutput) Condition() WorkstationConfigIamMemberConditionPtrOutput
- func (WorkstationConfigIamMemberOutput) ElementType() reflect.Type
- func (o WorkstationConfigIamMemberOutput) Etag() pulumi.StringOutput
- func (o WorkstationConfigIamMemberOutput) Location() pulumi.StringOutput
- func (o WorkstationConfigIamMemberOutput) Member() pulumi.StringOutput
- func (o WorkstationConfigIamMemberOutput) Project() pulumi.StringOutput
- func (o WorkstationConfigIamMemberOutput) Role() pulumi.StringOutput
- func (o WorkstationConfigIamMemberOutput) ToWorkstationConfigIamMemberOutput() WorkstationConfigIamMemberOutput
- func (o WorkstationConfigIamMemberOutput) ToWorkstationConfigIamMemberOutputWithContext(ctx context.Context) WorkstationConfigIamMemberOutput
- func (o WorkstationConfigIamMemberOutput) WorkstationClusterId() pulumi.StringOutput
- func (o WorkstationConfigIamMemberOutput) WorkstationConfigId() pulumi.StringOutput
- type WorkstationConfigIamMemberState
- type WorkstationConfigIamPolicy
- func (*WorkstationConfigIamPolicy) ElementType() reflect.Type
- func (i *WorkstationConfigIamPolicy) ToWorkstationConfigIamPolicyOutput() WorkstationConfigIamPolicyOutput
- func (i *WorkstationConfigIamPolicy) ToWorkstationConfigIamPolicyOutputWithContext(ctx context.Context) WorkstationConfigIamPolicyOutput
- type WorkstationConfigIamPolicyArgs
- type WorkstationConfigIamPolicyArray
- func (WorkstationConfigIamPolicyArray) ElementType() reflect.Type
- func (i WorkstationConfigIamPolicyArray) ToWorkstationConfigIamPolicyArrayOutput() WorkstationConfigIamPolicyArrayOutput
- func (i WorkstationConfigIamPolicyArray) ToWorkstationConfigIamPolicyArrayOutputWithContext(ctx context.Context) WorkstationConfigIamPolicyArrayOutput
- type WorkstationConfigIamPolicyArrayInput
- type WorkstationConfigIamPolicyArrayOutput
- func (WorkstationConfigIamPolicyArrayOutput) ElementType() reflect.Type
- func (o WorkstationConfigIamPolicyArrayOutput) Index(i pulumi.IntInput) WorkstationConfigIamPolicyOutput
- func (o WorkstationConfigIamPolicyArrayOutput) ToWorkstationConfigIamPolicyArrayOutput() WorkstationConfigIamPolicyArrayOutput
- func (o WorkstationConfigIamPolicyArrayOutput) ToWorkstationConfigIamPolicyArrayOutputWithContext(ctx context.Context) WorkstationConfigIamPolicyArrayOutput
- type WorkstationConfigIamPolicyInput
- type WorkstationConfigIamPolicyMap
- func (WorkstationConfigIamPolicyMap) ElementType() reflect.Type
- func (i WorkstationConfigIamPolicyMap) ToWorkstationConfigIamPolicyMapOutput() WorkstationConfigIamPolicyMapOutput
- func (i WorkstationConfigIamPolicyMap) ToWorkstationConfigIamPolicyMapOutputWithContext(ctx context.Context) WorkstationConfigIamPolicyMapOutput
- type WorkstationConfigIamPolicyMapInput
- type WorkstationConfigIamPolicyMapOutput
- func (WorkstationConfigIamPolicyMapOutput) ElementType() reflect.Type
- func (o WorkstationConfigIamPolicyMapOutput) MapIndex(k pulumi.StringInput) WorkstationConfigIamPolicyOutput
- func (o WorkstationConfigIamPolicyMapOutput) ToWorkstationConfigIamPolicyMapOutput() WorkstationConfigIamPolicyMapOutput
- func (o WorkstationConfigIamPolicyMapOutput) ToWorkstationConfigIamPolicyMapOutputWithContext(ctx context.Context) WorkstationConfigIamPolicyMapOutput
- type WorkstationConfigIamPolicyOutput
- func (WorkstationConfigIamPolicyOutput) ElementType() reflect.Type
- func (o WorkstationConfigIamPolicyOutput) Etag() pulumi.StringOutput
- func (o WorkstationConfigIamPolicyOutput) Location() pulumi.StringOutput
- func (o WorkstationConfigIamPolicyOutput) PolicyData() pulumi.StringOutput
- func (o WorkstationConfigIamPolicyOutput) Project() pulumi.StringOutput
- func (o WorkstationConfigIamPolicyOutput) ToWorkstationConfigIamPolicyOutput() WorkstationConfigIamPolicyOutput
- func (o WorkstationConfigIamPolicyOutput) ToWorkstationConfigIamPolicyOutputWithContext(ctx context.Context) WorkstationConfigIamPolicyOutput
- func (o WorkstationConfigIamPolicyOutput) WorkstationClusterId() pulumi.StringOutput
- func (o WorkstationConfigIamPolicyOutput) WorkstationConfigId() pulumi.StringOutput
- type WorkstationConfigIamPolicyState
- type WorkstationConfigInput
- type WorkstationConfigMap
- type WorkstationConfigMapInput
- type WorkstationConfigMapOutput
- func (WorkstationConfigMapOutput) ElementType() reflect.Type
- func (o WorkstationConfigMapOutput) MapIndex(k pulumi.StringInput) WorkstationConfigOutput
- func (o WorkstationConfigMapOutput) ToWorkstationConfigMapOutput() WorkstationConfigMapOutput
- func (o WorkstationConfigMapOutput) ToWorkstationConfigMapOutputWithContext(ctx context.Context) WorkstationConfigMapOutput
- type WorkstationConfigOutput
- func (o WorkstationConfigOutput) Annotations() pulumi.StringMapOutput
- func (o WorkstationConfigOutput) Conditions() WorkstationConfigConditionArrayOutput
- func (o WorkstationConfigOutput) Container() WorkstationConfigContainerOutput
- func (o WorkstationConfigOutput) CreateTime() pulumi.StringOutput
- func (o WorkstationConfigOutput) Degraded() pulumi.BoolOutput
- func (o WorkstationConfigOutput) DisableTcpConnections() pulumi.BoolPtrOutput
- func (o WorkstationConfigOutput) DisplayName() pulumi.StringPtrOutput
- func (o WorkstationConfigOutput) EffectiveAnnotations() pulumi.StringMapOutput
- func (o WorkstationConfigOutput) EffectiveLabels() pulumi.StringMapOutput
- func (WorkstationConfigOutput) ElementType() reflect.Type
- func (o WorkstationConfigOutput) EnableAuditAgent() pulumi.BoolPtrOutput
- func (o WorkstationConfigOutput) EncryptionKey() WorkstationConfigEncryptionKeyPtrOutput
- func (o WorkstationConfigOutput) EphemeralDirectories() WorkstationConfigEphemeralDirectoryArrayOutput
- func (o WorkstationConfigOutput) Etag() pulumi.StringOutput
- func (o WorkstationConfigOutput) Host() WorkstationConfigHostOutput
- func (o WorkstationConfigOutput) IdleTimeout() pulumi.StringPtrOutput
- func (o WorkstationConfigOutput) Labels() pulumi.StringMapOutput
- func (o WorkstationConfigOutput) Location() pulumi.StringOutput
- func (o WorkstationConfigOutput) Name() pulumi.StringOutput
- func (o WorkstationConfigOutput) PersistentDirectories() WorkstationConfigPersistentDirectoryArrayOutput
- func (o WorkstationConfigOutput) Project() pulumi.StringOutput
- func (o WorkstationConfigOutput) PulumiLabels() pulumi.StringMapOutput
- func (o WorkstationConfigOutput) ReadinessChecks() WorkstationConfigReadinessCheckArrayOutput
- func (o WorkstationConfigOutput) ReplicaZones() pulumi.StringArrayOutput
- func (o WorkstationConfigOutput) RunningTimeout() pulumi.StringPtrOutput
- func (o WorkstationConfigOutput) ToWorkstationConfigOutput() WorkstationConfigOutput
- func (o WorkstationConfigOutput) ToWorkstationConfigOutputWithContext(ctx context.Context) WorkstationConfigOutput
- func (o WorkstationConfigOutput) Uid() pulumi.StringOutput
- func (o WorkstationConfigOutput) WorkstationClusterId() pulumi.StringOutput
- func (o WorkstationConfigOutput) WorkstationConfigId() pulumi.StringOutput
- type WorkstationConfigPersistentDirectory
- type WorkstationConfigPersistentDirectoryArgs
- func (WorkstationConfigPersistentDirectoryArgs) ElementType() reflect.Type
- func (i WorkstationConfigPersistentDirectoryArgs) ToWorkstationConfigPersistentDirectoryOutput() WorkstationConfigPersistentDirectoryOutput
- func (i WorkstationConfigPersistentDirectoryArgs) ToWorkstationConfigPersistentDirectoryOutputWithContext(ctx context.Context) WorkstationConfigPersistentDirectoryOutput
- type WorkstationConfigPersistentDirectoryArray
- func (WorkstationConfigPersistentDirectoryArray) ElementType() reflect.Type
- func (i WorkstationConfigPersistentDirectoryArray) ToWorkstationConfigPersistentDirectoryArrayOutput() WorkstationConfigPersistentDirectoryArrayOutput
- func (i WorkstationConfigPersistentDirectoryArray) ToWorkstationConfigPersistentDirectoryArrayOutputWithContext(ctx context.Context) WorkstationConfigPersistentDirectoryArrayOutput
- type WorkstationConfigPersistentDirectoryArrayInput
- type WorkstationConfigPersistentDirectoryArrayOutput
- func (WorkstationConfigPersistentDirectoryArrayOutput) ElementType() reflect.Type
- func (o WorkstationConfigPersistentDirectoryArrayOutput) Index(i pulumi.IntInput) WorkstationConfigPersistentDirectoryOutput
- func (o WorkstationConfigPersistentDirectoryArrayOutput) ToWorkstationConfigPersistentDirectoryArrayOutput() WorkstationConfigPersistentDirectoryArrayOutput
- func (o WorkstationConfigPersistentDirectoryArrayOutput) ToWorkstationConfigPersistentDirectoryArrayOutputWithContext(ctx context.Context) WorkstationConfigPersistentDirectoryArrayOutput
- type WorkstationConfigPersistentDirectoryGcePd
- type WorkstationConfigPersistentDirectoryGcePdArgs
- func (WorkstationConfigPersistentDirectoryGcePdArgs) ElementType() reflect.Type
- func (i WorkstationConfigPersistentDirectoryGcePdArgs) ToWorkstationConfigPersistentDirectoryGcePdOutput() WorkstationConfigPersistentDirectoryGcePdOutput
- func (i WorkstationConfigPersistentDirectoryGcePdArgs) ToWorkstationConfigPersistentDirectoryGcePdOutputWithContext(ctx context.Context) WorkstationConfigPersistentDirectoryGcePdOutput
- func (i WorkstationConfigPersistentDirectoryGcePdArgs) ToWorkstationConfigPersistentDirectoryGcePdPtrOutput() WorkstationConfigPersistentDirectoryGcePdPtrOutput
- func (i WorkstationConfigPersistentDirectoryGcePdArgs) ToWorkstationConfigPersistentDirectoryGcePdPtrOutputWithContext(ctx context.Context) WorkstationConfigPersistentDirectoryGcePdPtrOutput
- type WorkstationConfigPersistentDirectoryGcePdInput
- type WorkstationConfigPersistentDirectoryGcePdOutput
- func (o WorkstationConfigPersistentDirectoryGcePdOutput) DiskType() pulumi.StringPtrOutput
- func (WorkstationConfigPersistentDirectoryGcePdOutput) ElementType() reflect.Type
- func (o WorkstationConfigPersistentDirectoryGcePdOutput) FsType() pulumi.StringPtrOutput
- func (o WorkstationConfigPersistentDirectoryGcePdOutput) ReclaimPolicy() pulumi.StringPtrOutput
- func (o WorkstationConfigPersistentDirectoryGcePdOutput) SizeGb() pulumi.IntPtrOutput
- func (o WorkstationConfigPersistentDirectoryGcePdOutput) SourceSnapshot() pulumi.StringPtrOutput
- func (o WorkstationConfigPersistentDirectoryGcePdOutput) ToWorkstationConfigPersistentDirectoryGcePdOutput() WorkstationConfigPersistentDirectoryGcePdOutput
- func (o WorkstationConfigPersistentDirectoryGcePdOutput) ToWorkstationConfigPersistentDirectoryGcePdOutputWithContext(ctx context.Context) WorkstationConfigPersistentDirectoryGcePdOutput
- func (o WorkstationConfigPersistentDirectoryGcePdOutput) ToWorkstationConfigPersistentDirectoryGcePdPtrOutput() WorkstationConfigPersistentDirectoryGcePdPtrOutput
- func (o WorkstationConfigPersistentDirectoryGcePdOutput) ToWorkstationConfigPersistentDirectoryGcePdPtrOutputWithContext(ctx context.Context) WorkstationConfigPersistentDirectoryGcePdPtrOutput
- type WorkstationConfigPersistentDirectoryGcePdPtrInput
- type WorkstationConfigPersistentDirectoryGcePdPtrOutput
- func (o WorkstationConfigPersistentDirectoryGcePdPtrOutput) DiskType() pulumi.StringPtrOutput
- func (o WorkstationConfigPersistentDirectoryGcePdPtrOutput) Elem() WorkstationConfigPersistentDirectoryGcePdOutput
- func (WorkstationConfigPersistentDirectoryGcePdPtrOutput) ElementType() reflect.Type
- func (o WorkstationConfigPersistentDirectoryGcePdPtrOutput) FsType() pulumi.StringPtrOutput
- func (o WorkstationConfigPersistentDirectoryGcePdPtrOutput) ReclaimPolicy() pulumi.StringPtrOutput
- func (o WorkstationConfigPersistentDirectoryGcePdPtrOutput) SizeGb() pulumi.IntPtrOutput
- func (o WorkstationConfigPersistentDirectoryGcePdPtrOutput) SourceSnapshot() pulumi.StringPtrOutput
- func (o WorkstationConfigPersistentDirectoryGcePdPtrOutput) ToWorkstationConfigPersistentDirectoryGcePdPtrOutput() WorkstationConfigPersistentDirectoryGcePdPtrOutput
- func (o WorkstationConfigPersistentDirectoryGcePdPtrOutput) ToWorkstationConfigPersistentDirectoryGcePdPtrOutputWithContext(ctx context.Context) WorkstationConfigPersistentDirectoryGcePdPtrOutput
- type WorkstationConfigPersistentDirectoryInput
- type WorkstationConfigPersistentDirectoryOutput
- func (WorkstationConfigPersistentDirectoryOutput) ElementType() reflect.Type
- func (o WorkstationConfigPersistentDirectoryOutput) GcePd() WorkstationConfigPersistentDirectoryGcePdPtrOutput
- func (o WorkstationConfigPersistentDirectoryOutput) MountPath() pulumi.StringPtrOutput
- func (o WorkstationConfigPersistentDirectoryOutput) ToWorkstationConfigPersistentDirectoryOutput() WorkstationConfigPersistentDirectoryOutput
- func (o WorkstationConfigPersistentDirectoryOutput) ToWorkstationConfigPersistentDirectoryOutputWithContext(ctx context.Context) WorkstationConfigPersistentDirectoryOutput
- type WorkstationConfigReadinessCheck
- type WorkstationConfigReadinessCheckArgs
- func (WorkstationConfigReadinessCheckArgs) ElementType() reflect.Type
- func (i WorkstationConfigReadinessCheckArgs) ToWorkstationConfigReadinessCheckOutput() WorkstationConfigReadinessCheckOutput
- func (i WorkstationConfigReadinessCheckArgs) ToWorkstationConfigReadinessCheckOutputWithContext(ctx context.Context) WorkstationConfigReadinessCheckOutput
- type WorkstationConfigReadinessCheckArray
- func (WorkstationConfigReadinessCheckArray) ElementType() reflect.Type
- func (i WorkstationConfigReadinessCheckArray) ToWorkstationConfigReadinessCheckArrayOutput() WorkstationConfigReadinessCheckArrayOutput
- func (i WorkstationConfigReadinessCheckArray) ToWorkstationConfigReadinessCheckArrayOutputWithContext(ctx context.Context) WorkstationConfigReadinessCheckArrayOutput
- type WorkstationConfigReadinessCheckArrayInput
- type WorkstationConfigReadinessCheckArrayOutput
- func (WorkstationConfigReadinessCheckArrayOutput) ElementType() reflect.Type
- func (o WorkstationConfigReadinessCheckArrayOutput) Index(i pulumi.IntInput) WorkstationConfigReadinessCheckOutput
- func (o WorkstationConfigReadinessCheckArrayOutput) ToWorkstationConfigReadinessCheckArrayOutput() WorkstationConfigReadinessCheckArrayOutput
- func (o WorkstationConfigReadinessCheckArrayOutput) ToWorkstationConfigReadinessCheckArrayOutputWithContext(ctx context.Context) WorkstationConfigReadinessCheckArrayOutput
- type WorkstationConfigReadinessCheckInput
- type WorkstationConfigReadinessCheckOutput
- func (WorkstationConfigReadinessCheckOutput) ElementType() reflect.Type
- func (o WorkstationConfigReadinessCheckOutput) Path() pulumi.StringOutput
- func (o WorkstationConfigReadinessCheckOutput) Port() pulumi.IntOutput
- func (o WorkstationConfigReadinessCheckOutput) ToWorkstationConfigReadinessCheckOutput() WorkstationConfigReadinessCheckOutput
- func (o WorkstationConfigReadinessCheckOutput) ToWorkstationConfigReadinessCheckOutputWithContext(ctx context.Context) WorkstationConfigReadinessCheckOutput
- type WorkstationConfigState
- type WorkstationIamBinding
- type WorkstationIamBindingArgs
- type WorkstationIamBindingArray
- func (WorkstationIamBindingArray) ElementType() reflect.Type
- func (i WorkstationIamBindingArray) ToWorkstationIamBindingArrayOutput() WorkstationIamBindingArrayOutput
- func (i WorkstationIamBindingArray) ToWorkstationIamBindingArrayOutputWithContext(ctx context.Context) WorkstationIamBindingArrayOutput
- type WorkstationIamBindingArrayInput
- type WorkstationIamBindingArrayOutput
- func (WorkstationIamBindingArrayOutput) ElementType() reflect.Type
- func (o WorkstationIamBindingArrayOutput) Index(i pulumi.IntInput) WorkstationIamBindingOutput
- func (o WorkstationIamBindingArrayOutput) ToWorkstationIamBindingArrayOutput() WorkstationIamBindingArrayOutput
- func (o WorkstationIamBindingArrayOutput) ToWorkstationIamBindingArrayOutputWithContext(ctx context.Context) WorkstationIamBindingArrayOutput
- type WorkstationIamBindingCondition
- type WorkstationIamBindingConditionArgs
- func (WorkstationIamBindingConditionArgs) ElementType() reflect.Type
- func (i WorkstationIamBindingConditionArgs) ToWorkstationIamBindingConditionOutput() WorkstationIamBindingConditionOutput
- func (i WorkstationIamBindingConditionArgs) ToWorkstationIamBindingConditionOutputWithContext(ctx context.Context) WorkstationIamBindingConditionOutput
- func (i WorkstationIamBindingConditionArgs) ToWorkstationIamBindingConditionPtrOutput() WorkstationIamBindingConditionPtrOutput
- func (i WorkstationIamBindingConditionArgs) ToWorkstationIamBindingConditionPtrOutputWithContext(ctx context.Context) WorkstationIamBindingConditionPtrOutput
- type WorkstationIamBindingConditionInput
- type WorkstationIamBindingConditionOutput
- func (o WorkstationIamBindingConditionOutput) Description() pulumi.StringPtrOutput
- func (WorkstationIamBindingConditionOutput) ElementType() reflect.Type
- func (o WorkstationIamBindingConditionOutput) Expression() pulumi.StringOutput
- func (o WorkstationIamBindingConditionOutput) Title() pulumi.StringOutput
- func (o WorkstationIamBindingConditionOutput) ToWorkstationIamBindingConditionOutput() WorkstationIamBindingConditionOutput
- func (o WorkstationIamBindingConditionOutput) ToWorkstationIamBindingConditionOutputWithContext(ctx context.Context) WorkstationIamBindingConditionOutput
- func (o WorkstationIamBindingConditionOutput) ToWorkstationIamBindingConditionPtrOutput() WorkstationIamBindingConditionPtrOutput
- func (o WorkstationIamBindingConditionOutput) ToWorkstationIamBindingConditionPtrOutputWithContext(ctx context.Context) WorkstationIamBindingConditionPtrOutput
- type WorkstationIamBindingConditionPtrInput
- type WorkstationIamBindingConditionPtrOutput
- func (o WorkstationIamBindingConditionPtrOutput) Description() pulumi.StringPtrOutput
- func (o WorkstationIamBindingConditionPtrOutput) Elem() WorkstationIamBindingConditionOutput
- func (WorkstationIamBindingConditionPtrOutput) ElementType() reflect.Type
- func (o WorkstationIamBindingConditionPtrOutput) Expression() pulumi.StringPtrOutput
- func (o WorkstationIamBindingConditionPtrOutput) Title() pulumi.StringPtrOutput
- func (o WorkstationIamBindingConditionPtrOutput) ToWorkstationIamBindingConditionPtrOutput() WorkstationIamBindingConditionPtrOutput
- func (o WorkstationIamBindingConditionPtrOutput) ToWorkstationIamBindingConditionPtrOutputWithContext(ctx context.Context) WorkstationIamBindingConditionPtrOutput
- type WorkstationIamBindingInput
- type WorkstationIamBindingMap
- type WorkstationIamBindingMapInput
- type WorkstationIamBindingMapOutput
- func (WorkstationIamBindingMapOutput) ElementType() reflect.Type
- func (o WorkstationIamBindingMapOutput) MapIndex(k pulumi.StringInput) WorkstationIamBindingOutput
- func (o WorkstationIamBindingMapOutput) ToWorkstationIamBindingMapOutput() WorkstationIamBindingMapOutput
- func (o WorkstationIamBindingMapOutput) ToWorkstationIamBindingMapOutputWithContext(ctx context.Context) WorkstationIamBindingMapOutput
- type WorkstationIamBindingOutput
- func (o WorkstationIamBindingOutput) Condition() WorkstationIamBindingConditionPtrOutput
- func (WorkstationIamBindingOutput) ElementType() reflect.Type
- func (o WorkstationIamBindingOutput) Etag() pulumi.StringOutput
- func (o WorkstationIamBindingOutput) Location() pulumi.StringOutput
- func (o WorkstationIamBindingOutput) Members() pulumi.StringArrayOutput
- func (o WorkstationIamBindingOutput) Project() pulumi.StringOutput
- func (o WorkstationIamBindingOutput) Role() pulumi.StringOutput
- func (o WorkstationIamBindingOutput) ToWorkstationIamBindingOutput() WorkstationIamBindingOutput
- func (o WorkstationIamBindingOutput) ToWorkstationIamBindingOutputWithContext(ctx context.Context) WorkstationIamBindingOutput
- func (o WorkstationIamBindingOutput) WorkstationClusterId() pulumi.StringOutput
- func (o WorkstationIamBindingOutput) WorkstationConfigId() pulumi.StringOutput
- func (o WorkstationIamBindingOutput) WorkstationId() pulumi.StringOutput
- type WorkstationIamBindingState
- type WorkstationIamMember
- type WorkstationIamMemberArgs
- type WorkstationIamMemberArray
- type WorkstationIamMemberArrayInput
- type WorkstationIamMemberArrayOutput
- func (WorkstationIamMemberArrayOutput) ElementType() reflect.Type
- func (o WorkstationIamMemberArrayOutput) Index(i pulumi.IntInput) WorkstationIamMemberOutput
- func (o WorkstationIamMemberArrayOutput) ToWorkstationIamMemberArrayOutput() WorkstationIamMemberArrayOutput
- func (o WorkstationIamMemberArrayOutput) ToWorkstationIamMemberArrayOutputWithContext(ctx context.Context) WorkstationIamMemberArrayOutput
- type WorkstationIamMemberCondition
- type WorkstationIamMemberConditionArgs
- func (WorkstationIamMemberConditionArgs) ElementType() reflect.Type
- func (i WorkstationIamMemberConditionArgs) ToWorkstationIamMemberConditionOutput() WorkstationIamMemberConditionOutput
- func (i WorkstationIamMemberConditionArgs) ToWorkstationIamMemberConditionOutputWithContext(ctx context.Context) WorkstationIamMemberConditionOutput
- func (i WorkstationIamMemberConditionArgs) ToWorkstationIamMemberConditionPtrOutput() WorkstationIamMemberConditionPtrOutput
- func (i WorkstationIamMemberConditionArgs) ToWorkstationIamMemberConditionPtrOutputWithContext(ctx context.Context) WorkstationIamMemberConditionPtrOutput
- type WorkstationIamMemberConditionInput
- type WorkstationIamMemberConditionOutput
- func (o WorkstationIamMemberConditionOutput) Description() pulumi.StringPtrOutput
- func (WorkstationIamMemberConditionOutput) ElementType() reflect.Type
- func (o WorkstationIamMemberConditionOutput) Expression() pulumi.StringOutput
- func (o WorkstationIamMemberConditionOutput) Title() pulumi.StringOutput
- func (o WorkstationIamMemberConditionOutput) ToWorkstationIamMemberConditionOutput() WorkstationIamMemberConditionOutput
- func (o WorkstationIamMemberConditionOutput) ToWorkstationIamMemberConditionOutputWithContext(ctx context.Context) WorkstationIamMemberConditionOutput
- func (o WorkstationIamMemberConditionOutput) ToWorkstationIamMemberConditionPtrOutput() WorkstationIamMemberConditionPtrOutput
- func (o WorkstationIamMemberConditionOutput) ToWorkstationIamMemberConditionPtrOutputWithContext(ctx context.Context) WorkstationIamMemberConditionPtrOutput
- type WorkstationIamMemberConditionPtrInput
- type WorkstationIamMemberConditionPtrOutput
- func (o WorkstationIamMemberConditionPtrOutput) Description() pulumi.StringPtrOutput
- func (o WorkstationIamMemberConditionPtrOutput) Elem() WorkstationIamMemberConditionOutput
- func (WorkstationIamMemberConditionPtrOutput) ElementType() reflect.Type
- func (o WorkstationIamMemberConditionPtrOutput) Expression() pulumi.StringPtrOutput
- func (o WorkstationIamMemberConditionPtrOutput) Title() pulumi.StringPtrOutput
- func (o WorkstationIamMemberConditionPtrOutput) ToWorkstationIamMemberConditionPtrOutput() WorkstationIamMemberConditionPtrOutput
- func (o WorkstationIamMemberConditionPtrOutput) ToWorkstationIamMemberConditionPtrOutputWithContext(ctx context.Context) WorkstationIamMemberConditionPtrOutput
- type WorkstationIamMemberInput
- type WorkstationIamMemberMap
- type WorkstationIamMemberMapInput
- type WorkstationIamMemberMapOutput
- func (WorkstationIamMemberMapOutput) ElementType() reflect.Type
- func (o WorkstationIamMemberMapOutput) MapIndex(k pulumi.StringInput) WorkstationIamMemberOutput
- func (o WorkstationIamMemberMapOutput) ToWorkstationIamMemberMapOutput() WorkstationIamMemberMapOutput
- func (o WorkstationIamMemberMapOutput) ToWorkstationIamMemberMapOutputWithContext(ctx context.Context) WorkstationIamMemberMapOutput
- type WorkstationIamMemberOutput
- func (o WorkstationIamMemberOutput) Condition() WorkstationIamMemberConditionPtrOutput
- func (WorkstationIamMemberOutput) ElementType() reflect.Type
- func (o WorkstationIamMemberOutput) Etag() pulumi.StringOutput
- func (o WorkstationIamMemberOutput) Location() pulumi.StringOutput
- func (o WorkstationIamMemberOutput) Member() pulumi.StringOutput
- func (o WorkstationIamMemberOutput) Project() pulumi.StringOutput
- func (o WorkstationIamMemberOutput) Role() pulumi.StringOutput
- func (o WorkstationIamMemberOutput) ToWorkstationIamMemberOutput() WorkstationIamMemberOutput
- func (o WorkstationIamMemberOutput) ToWorkstationIamMemberOutputWithContext(ctx context.Context) WorkstationIamMemberOutput
- func (o WorkstationIamMemberOutput) WorkstationClusterId() pulumi.StringOutput
- func (o WorkstationIamMemberOutput) WorkstationConfigId() pulumi.StringOutput
- func (o WorkstationIamMemberOutput) WorkstationId() pulumi.StringOutput
- type WorkstationIamMemberState
- type WorkstationIamPolicy
- type WorkstationIamPolicyArgs
- type WorkstationIamPolicyArray
- type WorkstationIamPolicyArrayInput
- type WorkstationIamPolicyArrayOutput
- func (WorkstationIamPolicyArrayOutput) ElementType() reflect.Type
- func (o WorkstationIamPolicyArrayOutput) Index(i pulumi.IntInput) WorkstationIamPolicyOutput
- func (o WorkstationIamPolicyArrayOutput) ToWorkstationIamPolicyArrayOutput() WorkstationIamPolicyArrayOutput
- func (o WorkstationIamPolicyArrayOutput) ToWorkstationIamPolicyArrayOutputWithContext(ctx context.Context) WorkstationIamPolicyArrayOutput
- type WorkstationIamPolicyInput
- type WorkstationIamPolicyMap
- type WorkstationIamPolicyMapInput
- type WorkstationIamPolicyMapOutput
- func (WorkstationIamPolicyMapOutput) ElementType() reflect.Type
- func (o WorkstationIamPolicyMapOutput) MapIndex(k pulumi.StringInput) WorkstationIamPolicyOutput
- func (o WorkstationIamPolicyMapOutput) ToWorkstationIamPolicyMapOutput() WorkstationIamPolicyMapOutput
- func (o WorkstationIamPolicyMapOutput) ToWorkstationIamPolicyMapOutputWithContext(ctx context.Context) WorkstationIamPolicyMapOutput
- type WorkstationIamPolicyOutput
- func (WorkstationIamPolicyOutput) ElementType() reflect.Type
- func (o WorkstationIamPolicyOutput) Etag() pulumi.StringOutput
- func (o WorkstationIamPolicyOutput) Location() pulumi.StringOutput
- func (o WorkstationIamPolicyOutput) PolicyData() pulumi.StringOutput
- func (o WorkstationIamPolicyOutput) Project() pulumi.StringOutput
- func (o WorkstationIamPolicyOutput) ToWorkstationIamPolicyOutput() WorkstationIamPolicyOutput
- func (o WorkstationIamPolicyOutput) ToWorkstationIamPolicyOutputWithContext(ctx context.Context) WorkstationIamPolicyOutput
- func (o WorkstationIamPolicyOutput) WorkstationClusterId() pulumi.StringOutput
- func (o WorkstationIamPolicyOutput) WorkstationConfigId() pulumi.StringOutput
- func (o WorkstationIamPolicyOutput) WorkstationId() pulumi.StringOutput
- type WorkstationIamPolicyState
- type WorkstationInput
- type WorkstationMap
- type WorkstationMapInput
- type WorkstationMapOutput
- func (WorkstationMapOutput) ElementType() reflect.Type
- func (o WorkstationMapOutput) MapIndex(k pulumi.StringInput) WorkstationOutput
- func (o WorkstationMapOutput) ToWorkstationMapOutput() WorkstationMapOutput
- func (o WorkstationMapOutput) ToWorkstationMapOutputWithContext(ctx context.Context) WorkstationMapOutput
- type WorkstationOutput
- func (o WorkstationOutput) Annotations() pulumi.StringMapOutput
- func (o WorkstationOutput) CreateTime() pulumi.StringOutput
- func (o WorkstationOutput) DisplayName() pulumi.StringPtrOutput
- func (o WorkstationOutput) EffectiveAnnotations() pulumi.StringMapOutput
- func (o WorkstationOutput) EffectiveLabels() pulumi.StringMapOutput
- func (WorkstationOutput) ElementType() reflect.Type
- func (o WorkstationOutput) Env() pulumi.StringMapOutput
- func (o WorkstationOutput) Host() pulumi.StringOutput
- func (o WorkstationOutput) Labels() pulumi.StringMapOutput
- func (o WorkstationOutput) Location() pulumi.StringOutput
- func (o WorkstationOutput) Name() pulumi.StringOutput
- func (o WorkstationOutput) Project() pulumi.StringOutput
- func (o WorkstationOutput) PulumiLabels() pulumi.StringMapOutput
- func (o WorkstationOutput) State() pulumi.StringOutput
- func (o WorkstationOutput) ToWorkstationOutput() WorkstationOutput
- func (o WorkstationOutput) ToWorkstationOutputWithContext(ctx context.Context) WorkstationOutput
- func (o WorkstationOutput) Uid() pulumi.StringOutput
- func (o WorkstationOutput) WorkstationClusterId() pulumi.StringOutput
- func (o WorkstationOutput) WorkstationConfigId() pulumi.StringOutput
- func (o WorkstationOutput) WorkstationId() pulumi.StringOutput
- type WorkstationState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LookupWorkstationConfigIamPolicyArgs ¶
type LookupWorkstationConfigIamPolicyArgs struct { // The location where the workstation cluster config should reside. // Used to find the parent resource to bind the IAM policy to. If not specified, // the value will be parsed from the identifier of the parent resource. If no location is provided in the parent identifier and no // location is specified, it is taken from the provider configuration. Location *string `pulumi:"location"` // The ID of the project in which the resource belongs. // If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used. Project *string `pulumi:"project"` WorkstationClusterId string `pulumi:"workstationClusterId"` WorkstationConfigId string `pulumi:"workstationConfigId"` }
A collection of arguments for invoking getWorkstationConfigIamPolicy.
type LookupWorkstationConfigIamPolicyOutputArgs ¶
type LookupWorkstationConfigIamPolicyOutputArgs struct { // The location where the workstation cluster config should reside. // Used to find the parent resource to bind the IAM policy to. If not specified, // the value will be parsed from the identifier of the parent resource. If no location is provided in the parent identifier and no // location is specified, it is taken from the provider configuration. Location pulumi.StringPtrInput `pulumi:"location"` // The ID of the project in which the resource belongs. // If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used. Project pulumi.StringPtrInput `pulumi:"project"` WorkstationClusterId pulumi.StringInput `pulumi:"workstationClusterId"` WorkstationConfigId pulumi.StringInput `pulumi:"workstationConfigId"` }
A collection of arguments for invoking getWorkstationConfigIamPolicy.
func (LookupWorkstationConfigIamPolicyOutputArgs) ElementType ¶
func (LookupWorkstationConfigIamPolicyOutputArgs) ElementType() reflect.Type
type LookupWorkstationConfigIamPolicyResult ¶
type LookupWorkstationConfigIamPolicyResult struct { // (Computed) The etag of the IAM policy. Etag string `pulumi:"etag"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Location string `pulumi:"location"` // (Required only by `workstations.WorkstationConfigIamPolicy`) The policy data generated by // a `organizations.getIAMPolicy` data source. PolicyData string `pulumi:"policyData"` Project string `pulumi:"project"` WorkstationClusterId string `pulumi:"workstationClusterId"` WorkstationConfigId string `pulumi:"workstationConfigId"` }
A collection of values returned by getWorkstationConfigIamPolicy.
func LookupWorkstationConfigIamPolicy ¶
func LookupWorkstationConfigIamPolicy(ctx *pulumi.Context, args *LookupWorkstationConfigIamPolicyArgs, opts ...pulumi.InvokeOption) (*LookupWorkstationConfigIamPolicyResult, error)
type LookupWorkstationConfigIamPolicyResultOutput ¶
type LookupWorkstationConfigIamPolicyResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getWorkstationConfigIamPolicy.
func LookupWorkstationConfigIamPolicyOutput ¶
func LookupWorkstationConfigIamPolicyOutput(ctx *pulumi.Context, args LookupWorkstationConfigIamPolicyOutputArgs, opts ...pulumi.InvokeOption) LookupWorkstationConfigIamPolicyResultOutput
func (LookupWorkstationConfigIamPolicyResultOutput) ElementType ¶
func (LookupWorkstationConfigIamPolicyResultOutput) ElementType() reflect.Type
func (LookupWorkstationConfigIamPolicyResultOutput) Etag ¶
func (o LookupWorkstationConfigIamPolicyResultOutput) Etag() pulumi.StringOutput
(Computed) The etag of the IAM policy.
func (LookupWorkstationConfigIamPolicyResultOutput) Id ¶
func (o LookupWorkstationConfigIamPolicyResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupWorkstationConfigIamPolicyResultOutput) Location ¶
func (o LookupWorkstationConfigIamPolicyResultOutput) Location() pulumi.StringOutput
func (LookupWorkstationConfigIamPolicyResultOutput) PolicyData ¶
func (o LookupWorkstationConfigIamPolicyResultOutput) PolicyData() pulumi.StringOutput
(Required only by `workstations.WorkstationConfigIamPolicy`) The policy data generated by a `organizations.getIAMPolicy` data source.
func (LookupWorkstationConfigIamPolicyResultOutput) Project ¶
func (o LookupWorkstationConfigIamPolicyResultOutput) Project() pulumi.StringOutput
func (LookupWorkstationConfigIamPolicyResultOutput) ToLookupWorkstationConfigIamPolicyResultOutput ¶
func (o LookupWorkstationConfigIamPolicyResultOutput) ToLookupWorkstationConfigIamPolicyResultOutput() LookupWorkstationConfigIamPolicyResultOutput
func (LookupWorkstationConfigIamPolicyResultOutput) ToLookupWorkstationConfigIamPolicyResultOutputWithContext ¶
func (o LookupWorkstationConfigIamPolicyResultOutput) ToLookupWorkstationConfigIamPolicyResultOutputWithContext(ctx context.Context) LookupWorkstationConfigIamPolicyResultOutput
func (LookupWorkstationConfigIamPolicyResultOutput) WorkstationClusterId ¶
func (o LookupWorkstationConfigIamPolicyResultOutput) WorkstationClusterId() pulumi.StringOutput
func (LookupWorkstationConfigIamPolicyResultOutput) WorkstationConfigId ¶
func (o LookupWorkstationConfigIamPolicyResultOutput) WorkstationConfigId() pulumi.StringOutput
type LookupWorkstationIamPolicyArgs ¶
type LookupWorkstationIamPolicyArgs struct { // The location where the workstation parent resources reside. // Used to find the parent resource to bind the IAM policy to. If not specified, // the value will be parsed from the identifier of the parent resource. If no location is provided in the parent identifier and no // location is specified, it is taken from the provider configuration. Location *string `pulumi:"location"` // The ID of the project in which the resource belongs. // If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used. Project *string `pulumi:"project"` WorkstationClusterId string `pulumi:"workstationClusterId"` WorkstationConfigId string `pulumi:"workstationConfigId"` WorkstationId string `pulumi:"workstationId"` }
A collection of arguments for invoking getWorkstationIamPolicy.
type LookupWorkstationIamPolicyOutputArgs ¶
type LookupWorkstationIamPolicyOutputArgs struct { // The location where the workstation parent resources reside. // Used to find the parent resource to bind the IAM policy to. If not specified, // the value will be parsed from the identifier of the parent resource. If no location is provided in the parent identifier and no // location is specified, it is taken from the provider configuration. Location pulumi.StringPtrInput `pulumi:"location"` // The ID of the project in which the resource belongs. // If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used. Project pulumi.StringPtrInput `pulumi:"project"` WorkstationClusterId pulumi.StringInput `pulumi:"workstationClusterId"` WorkstationConfigId pulumi.StringInput `pulumi:"workstationConfigId"` WorkstationId pulumi.StringInput `pulumi:"workstationId"` }
A collection of arguments for invoking getWorkstationIamPolicy.
func (LookupWorkstationIamPolicyOutputArgs) ElementType ¶
func (LookupWorkstationIamPolicyOutputArgs) ElementType() reflect.Type
type LookupWorkstationIamPolicyResult ¶
type LookupWorkstationIamPolicyResult struct { // (Computed) The etag of the IAM policy. Etag string `pulumi:"etag"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Location string `pulumi:"location"` // (Required only by `workstations.WorkstationIamPolicy`) The policy data generated by // a `organizations.getIAMPolicy` data source. PolicyData string `pulumi:"policyData"` Project string `pulumi:"project"` WorkstationClusterId string `pulumi:"workstationClusterId"` WorkstationConfigId string `pulumi:"workstationConfigId"` WorkstationId string `pulumi:"workstationId"` }
A collection of values returned by getWorkstationIamPolicy.
func LookupWorkstationIamPolicy ¶
func LookupWorkstationIamPolicy(ctx *pulumi.Context, args *LookupWorkstationIamPolicyArgs, opts ...pulumi.InvokeOption) (*LookupWorkstationIamPolicyResult, error)
type LookupWorkstationIamPolicyResultOutput ¶
type LookupWorkstationIamPolicyResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getWorkstationIamPolicy.
func LookupWorkstationIamPolicyOutput ¶
func LookupWorkstationIamPolicyOutput(ctx *pulumi.Context, args LookupWorkstationIamPolicyOutputArgs, opts ...pulumi.InvokeOption) LookupWorkstationIamPolicyResultOutput
func (LookupWorkstationIamPolicyResultOutput) ElementType ¶
func (LookupWorkstationIamPolicyResultOutput) ElementType() reflect.Type
func (LookupWorkstationIamPolicyResultOutput) Etag ¶
func (o LookupWorkstationIamPolicyResultOutput) Etag() pulumi.StringOutput
(Computed) The etag of the IAM policy.
func (LookupWorkstationIamPolicyResultOutput) Id ¶
func (o LookupWorkstationIamPolicyResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupWorkstationIamPolicyResultOutput) Location ¶
func (o LookupWorkstationIamPolicyResultOutput) Location() pulumi.StringOutput
func (LookupWorkstationIamPolicyResultOutput) PolicyData ¶
func (o LookupWorkstationIamPolicyResultOutput) PolicyData() pulumi.StringOutput
(Required only by `workstations.WorkstationIamPolicy`) The policy data generated by a `organizations.getIAMPolicy` data source.
func (LookupWorkstationIamPolicyResultOutput) Project ¶
func (o LookupWorkstationIamPolicyResultOutput) Project() pulumi.StringOutput
func (LookupWorkstationIamPolicyResultOutput) ToLookupWorkstationIamPolicyResultOutput ¶
func (o LookupWorkstationIamPolicyResultOutput) ToLookupWorkstationIamPolicyResultOutput() LookupWorkstationIamPolicyResultOutput
func (LookupWorkstationIamPolicyResultOutput) ToLookupWorkstationIamPolicyResultOutputWithContext ¶
func (o LookupWorkstationIamPolicyResultOutput) ToLookupWorkstationIamPolicyResultOutputWithContext(ctx context.Context) LookupWorkstationIamPolicyResultOutput
func (LookupWorkstationIamPolicyResultOutput) WorkstationClusterId ¶
func (o LookupWorkstationIamPolicyResultOutput) WorkstationClusterId() pulumi.StringOutput
func (LookupWorkstationIamPolicyResultOutput) WorkstationConfigId ¶
func (o LookupWorkstationIamPolicyResultOutput) WorkstationConfigId() pulumi.StringOutput
func (LookupWorkstationIamPolicyResultOutput) WorkstationId ¶
func (o LookupWorkstationIamPolicyResultOutput) WorkstationId() pulumi.StringOutput
type Workstation ¶
type Workstation struct { pulumi.CustomResourceState // Client-specified annotations. This is distinct from labels. // **Note**: This field is non-authoritative, and will only manage the annotations present in your configuration. // Please refer to the field `effectiveAnnotations` for all of the annotations present on the resource. Annotations pulumi.StringMapOutput `pulumi:"annotations"` // Time when this resource was created. CreateTime pulumi.StringOutput `pulumi:"createTime"` // Human-readable name for this resource. DisplayName pulumi.StringPtrOutput `pulumi:"displayName"` EffectiveAnnotations pulumi.StringMapOutput `pulumi:"effectiveAnnotations"` // All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services. EffectiveLabels pulumi.StringMapOutput `pulumi:"effectiveLabels"` // 'Client-specified environment variables passed to the workstation container's entrypoint.' Env pulumi.StringMapOutput `pulumi:"env"` // Host to which clients can send HTTPS traffic that will be received by the workstation. // Authorized traffic will be received to the workstation as HTTP on port 80. // To send traffic to a different port, clients may prefix the host with the destination port in the format "{port}-{host}". Host pulumi.StringOutput `pulumi:"host"` // Client-specified labels that are applied to the resource and that are also propagated to the underlying Compute Engine resources. // **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. // Please refer to the field `effectiveLabels` for all of the labels present on the resource. Labels pulumi.StringMapOutput `pulumi:"labels"` // The location where the workstation parent resources reside. // // *** Location pulumi.StringOutput `pulumi:"location"` // Full name of this resource. Name pulumi.StringOutput `pulumi:"name"` // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project pulumi.StringOutput `pulumi:"project"` // The combination of labels configured directly on the resource // and default labels configured on the provider. PulumiLabels pulumi.StringMapOutput `pulumi:"pulumiLabels"` // Current state of the workstation. State pulumi.StringOutput `pulumi:"state"` // A system-assigned unique identified for this resource. Uid pulumi.StringOutput `pulumi:"uid"` // The ID of the parent workstation cluster. WorkstationClusterId pulumi.StringOutput `pulumi:"workstationClusterId"` // The ID of the parent workstation cluster config. WorkstationConfigId pulumi.StringOutput `pulumi:"workstationConfigId"` // ID to use for the workstation. WorkstationId pulumi.StringOutput `pulumi:"workstationId"` }
## Example Usage
### Workstation Basic
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/compute" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/workstations" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := compute.NewNetwork(ctx, "default", &compute.NetworkArgs{ Name: pulumi.String("workstation-cluster"), AutoCreateSubnetworks: pulumi.Bool(false), }) if err != nil { return err } defaultSubnetwork, err := compute.NewSubnetwork(ctx, "default", &compute.SubnetworkArgs{ Name: pulumi.String("workstation-cluster"), IpCidrRange: pulumi.String("10.0.0.0/24"), Region: pulumi.String("us-central1"), Network: _default.Name, }) if err != nil { return err } defaultWorkstationCluster, err := workstations.NewWorkstationCluster(ctx, "default", &workstations.WorkstationClusterArgs{ WorkstationClusterId: pulumi.String("workstation-cluster"), Network: _default.ID(), Subnetwork: defaultSubnetwork.ID(), Location: pulumi.String("us-central1"), Labels: pulumi.StringMap{ "label": pulumi.String("key"), }, Annotations: pulumi.StringMap{ "label-one": pulumi.String("value-one"), }, }) if err != nil { return err } defaultWorkstationConfig, err := workstations.NewWorkstationConfig(ctx, "default", &workstations.WorkstationConfigArgs{ WorkstationConfigId: pulumi.String("workstation-config"), WorkstationClusterId: defaultWorkstationCluster.WorkstationClusterId, Location: pulumi.String("us-central1"), Host: &workstations.WorkstationConfigHostArgs{ GceInstance: &workstations.WorkstationConfigHostGceInstanceArgs{ MachineType: pulumi.String("e2-standard-4"), BootDiskSizeGb: pulumi.Int(35), DisablePublicIpAddresses: pulumi.Bool(true), }, }, }) if err != nil { return err } _, err = workstations.NewWorkstation(ctx, "default", &workstations.WorkstationArgs{ WorkstationId: pulumi.String("work-station"), WorkstationConfigId: defaultWorkstationConfig.WorkstationConfigId, WorkstationClusterId: defaultWorkstationCluster.WorkstationClusterId, Location: pulumi.String("us-central1"), Labels: pulumi.StringMap{ "label": pulumi.String("key"), }, Env: pulumi.StringMap{ "name": pulumi.String("foo"), }, Annotations: pulumi.StringMap{ "label-one": pulumi.String("value-one"), }, }) if err != nil { return err } return nil }) }
```
## Import
Workstation can be imported using any of these accepted formats:
* `projects/{{project}}/locations/{{location}}/workstationClusters/{{workstation_cluster_id}}/workstationConfigs/{{workstation_config_id}}/workstations/{{workstation_id}}`
* `{{project}}/{{location}}/{{workstation_cluster_id}}/{{workstation_config_id}}/{{workstation_id}}`
* `{{location}}/{{workstation_cluster_id}}/{{workstation_config_id}}/{{workstation_id}}`
When using the `pulumi import` command, Workstation can be imported using one of the formats above. For example:
```sh $ pulumi import gcp:workstations/workstation:Workstation default projects/{{project}}/locations/{{location}}/workstationClusters/{{workstation_cluster_id}}/workstationConfigs/{{workstation_config_id}}/workstations/{{workstation_id}} ```
```sh $ pulumi import gcp:workstations/workstation:Workstation default {{project}}/{{location}}/{{workstation_cluster_id}}/{{workstation_config_id}}/{{workstation_id}} ```
```sh $ pulumi import gcp:workstations/workstation:Workstation default {{location}}/{{workstation_cluster_id}}/{{workstation_config_id}}/{{workstation_id}} ```
func GetWorkstation ¶
func GetWorkstation(ctx *pulumi.Context, name string, id pulumi.IDInput, state *WorkstationState, opts ...pulumi.ResourceOption) (*Workstation, error)
GetWorkstation gets an existing Workstation resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewWorkstation ¶
func NewWorkstation(ctx *pulumi.Context, name string, args *WorkstationArgs, opts ...pulumi.ResourceOption) (*Workstation, error)
NewWorkstation registers a new resource with the given unique name, arguments, and options.
func (*Workstation) ElementType ¶
func (*Workstation) ElementType() reflect.Type
func (*Workstation) ToWorkstationOutput ¶
func (i *Workstation) ToWorkstationOutput() WorkstationOutput
func (*Workstation) ToWorkstationOutputWithContext ¶
func (i *Workstation) ToWorkstationOutputWithContext(ctx context.Context) WorkstationOutput
type WorkstationArgs ¶
type WorkstationArgs struct { // Client-specified annotations. This is distinct from labels. // **Note**: This field is non-authoritative, and will only manage the annotations present in your configuration. // Please refer to the field `effectiveAnnotations` for all of the annotations present on the resource. Annotations pulumi.StringMapInput // Human-readable name for this resource. DisplayName pulumi.StringPtrInput // 'Client-specified environment variables passed to the workstation container's entrypoint.' Env pulumi.StringMapInput // Client-specified labels that are applied to the resource and that are also propagated to the underlying Compute Engine resources. // **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. // Please refer to the field `effectiveLabels` for all of the labels present on the resource. Labels pulumi.StringMapInput // The location where the workstation parent resources reside. // // *** Location pulumi.StringInput // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project pulumi.StringPtrInput // The ID of the parent workstation cluster. WorkstationClusterId pulumi.StringInput // The ID of the parent workstation cluster config. WorkstationConfigId pulumi.StringInput // ID to use for the workstation. WorkstationId pulumi.StringInput }
The set of arguments for constructing a Workstation resource.
func (WorkstationArgs) ElementType ¶
func (WorkstationArgs) ElementType() reflect.Type
type WorkstationArray ¶
type WorkstationArray []WorkstationInput
func (WorkstationArray) ElementType ¶
func (WorkstationArray) ElementType() reflect.Type
func (WorkstationArray) ToWorkstationArrayOutput ¶
func (i WorkstationArray) ToWorkstationArrayOutput() WorkstationArrayOutput
func (WorkstationArray) ToWorkstationArrayOutputWithContext ¶
func (i WorkstationArray) ToWorkstationArrayOutputWithContext(ctx context.Context) WorkstationArrayOutput
type WorkstationArrayInput ¶
type WorkstationArrayInput interface { pulumi.Input ToWorkstationArrayOutput() WorkstationArrayOutput ToWorkstationArrayOutputWithContext(context.Context) WorkstationArrayOutput }
WorkstationArrayInput is an input type that accepts WorkstationArray and WorkstationArrayOutput values. You can construct a concrete instance of `WorkstationArrayInput` via:
WorkstationArray{ WorkstationArgs{...} }
type WorkstationArrayOutput ¶
type WorkstationArrayOutput struct{ *pulumi.OutputState }
func (WorkstationArrayOutput) ElementType ¶
func (WorkstationArrayOutput) ElementType() reflect.Type
func (WorkstationArrayOutput) Index ¶
func (o WorkstationArrayOutput) Index(i pulumi.IntInput) WorkstationOutput
func (WorkstationArrayOutput) ToWorkstationArrayOutput ¶
func (o WorkstationArrayOutput) ToWorkstationArrayOutput() WorkstationArrayOutput
func (WorkstationArrayOutput) ToWorkstationArrayOutputWithContext ¶
func (o WorkstationArrayOutput) ToWorkstationArrayOutputWithContext(ctx context.Context) WorkstationArrayOutput
type WorkstationCluster ¶
type WorkstationCluster struct { pulumi.CustomResourceState // Client-specified annotations. This is distinct from labels. // **Note**: This field is non-authoritative, and will only manage the annotations present in your configuration. // Please refer to the field `effectiveAnnotations` for all of the annotations present on the resource. Annotations pulumi.StringMapOutput `pulumi:"annotations"` // Status conditions describing the current resource state. // Structure is documented below. Conditions WorkstationClusterConditionArrayOutput `pulumi:"conditions"` // The private IP address of the control plane for this workstation cluster. // Workstation VMs need access to this IP address to work with the service, so make sure that your firewall rules allow egress from the workstation VMs to this address. ControlPlaneIp pulumi.StringOutput `pulumi:"controlPlaneIp"` // Time when this resource was created. CreateTime pulumi.StringOutput `pulumi:"createTime"` // Whether this resource is in degraded mode, in which case it may require user action to restore full functionality. // Details can be found in the conditions field. Degraded pulumi.BoolOutput `pulumi:"degraded"` // Human-readable name for this resource. DisplayName pulumi.StringPtrOutput `pulumi:"displayName"` // Configuration options for a custom domain. // Structure is documented below. DomainConfig WorkstationClusterDomainConfigPtrOutput `pulumi:"domainConfig"` EffectiveAnnotations pulumi.StringMapOutput `pulumi:"effectiveAnnotations"` // All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services. EffectiveLabels pulumi.StringMapOutput `pulumi:"effectiveLabels"` // Checksum computed by the server. // May be sent on update and delete requests to ensure that the client has an up-to-date value before proceeding. Etag pulumi.StringOutput `pulumi:"etag"` // Client-specified labels that are applied to the resource and that are also propagated to the underlying Compute Engine resources. // **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. // Please refer to the field `effectiveLabels` for all of the labels present on the resource. Labels pulumi.StringMapOutput `pulumi:"labels"` // The location where the workstation cluster should reside. Location pulumi.StringPtrOutput `pulumi:"location"` // The name of the cluster resource. Name pulumi.StringOutput `pulumi:"name"` // The relative resource name of the VPC network on which the instance can be accessed. // It is specified in the following form: "projects/{projectNumber}/global/networks/{network_id}". Network pulumi.StringOutput `pulumi:"network"` // Configuration for private cluster. // Structure is documented below. PrivateClusterConfig WorkstationClusterPrivateClusterConfigPtrOutput `pulumi:"privateClusterConfig"` // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project pulumi.StringOutput `pulumi:"project"` // The combination of labels configured directly on the resource // and default labels configured on the provider. PulumiLabels pulumi.StringMapOutput `pulumi:"pulumiLabels"` // Name of the Compute Engine subnetwork in which instances associated with this cluster will be created. // Must be part of the subnetwork specified for this cluster. Subnetwork pulumi.StringOutput `pulumi:"subnetwork"` // The system-generated UID of the resource. Uid pulumi.StringOutput `pulumi:"uid"` // ID to use for the workstation cluster. // // *** WorkstationClusterId pulumi.StringOutput `pulumi:"workstationClusterId"` }
## Example Usage
### Workstation Cluster Basic
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/compute" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/organizations" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/workstations" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { defaultNetwork, err := compute.NewNetwork(ctx, "default", &compute.NetworkArgs{ Name: pulumi.String("workstation-cluster"), AutoCreateSubnetworks: pulumi.Bool(false), }) if err != nil { return err } defaultSubnetwork, err := compute.NewSubnetwork(ctx, "default", &compute.SubnetworkArgs{ Name: pulumi.String("workstation-cluster"), IpCidrRange: pulumi.String("10.0.0.0/24"), Region: pulumi.String("us-central1"), Network: defaultNetwork.Name, }) if err != nil { return err } _, err = workstations.NewWorkstationCluster(ctx, "default", &workstations.WorkstationClusterArgs{ WorkstationClusterId: pulumi.String("workstation-cluster"), Network: defaultNetwork.ID(), Subnetwork: defaultSubnetwork.ID(), Location: pulumi.String("us-central1"), Labels: pulumi.StringMap{ "label": pulumi.String("key"), }, Annotations: pulumi.StringMap{ "label-one": pulumi.String("value-one"), }, }) if err != nil { return err } _, err = organizations.LookupProject(ctx, nil, nil) if err != nil { return err } return nil }) }
``` ### Workstation Cluster Private
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/compute" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/organizations" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/workstations" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { defaultNetwork, err := compute.NewNetwork(ctx, "default", &compute.NetworkArgs{ Name: pulumi.String("workstation-cluster-private"), AutoCreateSubnetworks: pulumi.Bool(false), }) if err != nil { return err } defaultSubnetwork, err := compute.NewSubnetwork(ctx, "default", &compute.SubnetworkArgs{ Name: pulumi.String("workstation-cluster-private"), IpCidrRange: pulumi.String("10.0.0.0/24"), Region: pulumi.String("us-central1"), Network: defaultNetwork.Name, }) if err != nil { return err } _, err = workstations.NewWorkstationCluster(ctx, "default", &workstations.WorkstationClusterArgs{ WorkstationClusterId: pulumi.String("workstation-cluster-private"), Network: defaultNetwork.ID(), Subnetwork: defaultSubnetwork.ID(), Location: pulumi.String("us-central1"), PrivateClusterConfig: &workstations.WorkstationClusterPrivateClusterConfigArgs{ EnablePrivateEndpoint: pulumi.Bool(true), }, Labels: pulumi.StringMap{ "label": pulumi.String("key"), }, Annotations: pulumi.StringMap{ "label-one": pulumi.String("value-one"), }, }) if err != nil { return err } _, err = organizations.LookupProject(ctx, nil, nil) if err != nil { return err } return nil }) }
``` ### Workstation Cluster Custom Domain
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/compute" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/organizations" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/workstations" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { defaultNetwork, err := compute.NewNetwork(ctx, "default", &compute.NetworkArgs{ Name: pulumi.String("workstation-cluster-custom-domain"), AutoCreateSubnetworks: pulumi.Bool(false), }) if err != nil { return err } defaultSubnetwork, err := compute.NewSubnetwork(ctx, "default", &compute.SubnetworkArgs{ Name: pulumi.String("workstation-cluster-custom-domain"), IpCidrRange: pulumi.String("10.0.0.0/24"), Region: pulumi.String("us-central1"), Network: defaultNetwork.Name, }) if err != nil { return err } _, err = workstations.NewWorkstationCluster(ctx, "default", &workstations.WorkstationClusterArgs{ WorkstationClusterId: pulumi.String("workstation-cluster-custom-domain"), Network: defaultNetwork.ID(), Subnetwork: defaultSubnetwork.ID(), Location: pulumi.String("us-central1"), PrivateClusterConfig: &workstations.WorkstationClusterPrivateClusterConfigArgs{ EnablePrivateEndpoint: pulumi.Bool(true), }, DomainConfig: &workstations.WorkstationClusterDomainConfigArgs{ Domain: pulumi.String("workstations.example.com"), }, Labels: pulumi.StringMap{ "label": pulumi.String("key"), }, Annotations: pulumi.StringMap{ "label-one": pulumi.String("value-one"), }, }) if err != nil { return err } _, err = organizations.LookupProject(ctx, nil, nil) if err != nil { return err } return nil }) }
```
## Import
WorkstationCluster can be imported using any of these accepted formats:
* `projects/{{project}}/locations/{{location}}/workstationClusters/{{workstation_cluster_id}}`
* `{{project}}/{{location}}/{{workstation_cluster_id}}`
* `{{location}}/{{workstation_cluster_id}}`
When using the `pulumi import` command, WorkstationCluster can be imported using one of the formats above. For example:
```sh $ pulumi import gcp:workstations/workstationCluster:WorkstationCluster default projects/{{project}}/locations/{{location}}/workstationClusters/{{workstation_cluster_id}} ```
```sh $ pulumi import gcp:workstations/workstationCluster:WorkstationCluster default {{project}}/{{location}}/{{workstation_cluster_id}} ```
```sh $ pulumi import gcp:workstations/workstationCluster:WorkstationCluster default {{location}}/{{workstation_cluster_id}} ```
func GetWorkstationCluster ¶
func GetWorkstationCluster(ctx *pulumi.Context, name string, id pulumi.IDInput, state *WorkstationClusterState, opts ...pulumi.ResourceOption) (*WorkstationCluster, error)
GetWorkstationCluster gets an existing WorkstationCluster resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewWorkstationCluster ¶
func NewWorkstationCluster(ctx *pulumi.Context, name string, args *WorkstationClusterArgs, opts ...pulumi.ResourceOption) (*WorkstationCluster, error)
NewWorkstationCluster registers a new resource with the given unique name, arguments, and options.
func (*WorkstationCluster) ElementType ¶
func (*WorkstationCluster) ElementType() reflect.Type
func (*WorkstationCluster) ToWorkstationClusterOutput ¶
func (i *WorkstationCluster) ToWorkstationClusterOutput() WorkstationClusterOutput
func (*WorkstationCluster) ToWorkstationClusterOutputWithContext ¶
func (i *WorkstationCluster) ToWorkstationClusterOutputWithContext(ctx context.Context) WorkstationClusterOutput
type WorkstationClusterArgs ¶
type WorkstationClusterArgs struct { // Client-specified annotations. This is distinct from labels. // **Note**: This field is non-authoritative, and will only manage the annotations present in your configuration. // Please refer to the field `effectiveAnnotations` for all of the annotations present on the resource. Annotations pulumi.StringMapInput // Human-readable name for this resource. DisplayName pulumi.StringPtrInput // Configuration options for a custom domain. // Structure is documented below. DomainConfig WorkstationClusterDomainConfigPtrInput // Client-specified labels that are applied to the resource and that are also propagated to the underlying Compute Engine resources. // **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. // Please refer to the field `effectiveLabels` for all of the labels present on the resource. Labels pulumi.StringMapInput // The location where the workstation cluster should reside. Location pulumi.StringPtrInput // The relative resource name of the VPC network on which the instance can be accessed. // It is specified in the following form: "projects/{projectNumber}/global/networks/{network_id}". Network pulumi.StringInput // Configuration for private cluster. // Structure is documented below. PrivateClusterConfig WorkstationClusterPrivateClusterConfigPtrInput // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project pulumi.StringPtrInput // Name of the Compute Engine subnetwork in which instances associated with this cluster will be created. // Must be part of the subnetwork specified for this cluster. Subnetwork pulumi.StringInput // ID to use for the workstation cluster. // // *** WorkstationClusterId pulumi.StringInput }
The set of arguments for constructing a WorkstationCluster resource.
func (WorkstationClusterArgs) ElementType ¶
func (WorkstationClusterArgs) ElementType() reflect.Type
type WorkstationClusterArray ¶
type WorkstationClusterArray []WorkstationClusterInput
func (WorkstationClusterArray) ElementType ¶
func (WorkstationClusterArray) ElementType() reflect.Type
func (WorkstationClusterArray) ToWorkstationClusterArrayOutput ¶
func (i WorkstationClusterArray) ToWorkstationClusterArrayOutput() WorkstationClusterArrayOutput
func (WorkstationClusterArray) ToWorkstationClusterArrayOutputWithContext ¶
func (i WorkstationClusterArray) ToWorkstationClusterArrayOutputWithContext(ctx context.Context) WorkstationClusterArrayOutput
type WorkstationClusterArrayInput ¶
type WorkstationClusterArrayInput interface { pulumi.Input ToWorkstationClusterArrayOutput() WorkstationClusterArrayOutput ToWorkstationClusterArrayOutputWithContext(context.Context) WorkstationClusterArrayOutput }
WorkstationClusterArrayInput is an input type that accepts WorkstationClusterArray and WorkstationClusterArrayOutput values. You can construct a concrete instance of `WorkstationClusterArrayInput` via:
WorkstationClusterArray{ WorkstationClusterArgs{...} }
type WorkstationClusterArrayOutput ¶
type WorkstationClusterArrayOutput struct{ *pulumi.OutputState }
func (WorkstationClusterArrayOutput) ElementType ¶
func (WorkstationClusterArrayOutput) ElementType() reflect.Type
func (WorkstationClusterArrayOutput) Index ¶
func (o WorkstationClusterArrayOutput) Index(i pulumi.IntInput) WorkstationClusterOutput
func (WorkstationClusterArrayOutput) ToWorkstationClusterArrayOutput ¶
func (o WorkstationClusterArrayOutput) ToWorkstationClusterArrayOutput() WorkstationClusterArrayOutput
func (WorkstationClusterArrayOutput) ToWorkstationClusterArrayOutputWithContext ¶
func (o WorkstationClusterArrayOutput) ToWorkstationClusterArrayOutputWithContext(ctx context.Context) WorkstationClusterArrayOutput
type WorkstationClusterCondition ¶
type WorkstationClusterCondition struct { // (Output) // The status code, which should be an enum value of google.rpc.Code. Code *int `pulumi:"code"` // (Output) // A list of messages that carry the error details. Details []map[string]string `pulumi:"details"` // (Output) // Human readable message indicating details about the current status. Message *string `pulumi:"message"` }
type WorkstationClusterConditionArgs ¶
type WorkstationClusterConditionArgs struct { // (Output) // The status code, which should be an enum value of google.rpc.Code. Code pulumi.IntPtrInput `pulumi:"code"` // (Output) // A list of messages that carry the error details. Details pulumi.StringMapArrayInput `pulumi:"details"` // (Output) // Human readable message indicating details about the current status. Message pulumi.StringPtrInput `pulumi:"message"` }
func (WorkstationClusterConditionArgs) ElementType ¶
func (WorkstationClusterConditionArgs) ElementType() reflect.Type
func (WorkstationClusterConditionArgs) ToWorkstationClusterConditionOutput ¶
func (i WorkstationClusterConditionArgs) ToWorkstationClusterConditionOutput() WorkstationClusterConditionOutput
func (WorkstationClusterConditionArgs) ToWorkstationClusterConditionOutputWithContext ¶
func (i WorkstationClusterConditionArgs) ToWorkstationClusterConditionOutputWithContext(ctx context.Context) WorkstationClusterConditionOutput
type WorkstationClusterConditionArray ¶
type WorkstationClusterConditionArray []WorkstationClusterConditionInput
func (WorkstationClusterConditionArray) ElementType ¶
func (WorkstationClusterConditionArray) ElementType() reflect.Type
func (WorkstationClusterConditionArray) ToWorkstationClusterConditionArrayOutput ¶
func (i WorkstationClusterConditionArray) ToWorkstationClusterConditionArrayOutput() WorkstationClusterConditionArrayOutput
func (WorkstationClusterConditionArray) ToWorkstationClusterConditionArrayOutputWithContext ¶
func (i WorkstationClusterConditionArray) ToWorkstationClusterConditionArrayOutputWithContext(ctx context.Context) WorkstationClusterConditionArrayOutput
type WorkstationClusterConditionArrayInput ¶
type WorkstationClusterConditionArrayInput interface { pulumi.Input ToWorkstationClusterConditionArrayOutput() WorkstationClusterConditionArrayOutput ToWorkstationClusterConditionArrayOutputWithContext(context.Context) WorkstationClusterConditionArrayOutput }
WorkstationClusterConditionArrayInput is an input type that accepts WorkstationClusterConditionArray and WorkstationClusterConditionArrayOutput values. You can construct a concrete instance of `WorkstationClusterConditionArrayInput` via:
WorkstationClusterConditionArray{ WorkstationClusterConditionArgs{...} }
type WorkstationClusterConditionArrayOutput ¶
type WorkstationClusterConditionArrayOutput struct{ *pulumi.OutputState }
func (WorkstationClusterConditionArrayOutput) ElementType ¶
func (WorkstationClusterConditionArrayOutput) ElementType() reflect.Type
func (WorkstationClusterConditionArrayOutput) ToWorkstationClusterConditionArrayOutput ¶
func (o WorkstationClusterConditionArrayOutput) ToWorkstationClusterConditionArrayOutput() WorkstationClusterConditionArrayOutput
func (WorkstationClusterConditionArrayOutput) ToWorkstationClusterConditionArrayOutputWithContext ¶
func (o WorkstationClusterConditionArrayOutput) ToWorkstationClusterConditionArrayOutputWithContext(ctx context.Context) WorkstationClusterConditionArrayOutput
type WorkstationClusterConditionInput ¶
type WorkstationClusterConditionInput interface { pulumi.Input ToWorkstationClusterConditionOutput() WorkstationClusterConditionOutput ToWorkstationClusterConditionOutputWithContext(context.Context) WorkstationClusterConditionOutput }
WorkstationClusterConditionInput is an input type that accepts WorkstationClusterConditionArgs and WorkstationClusterConditionOutput values. You can construct a concrete instance of `WorkstationClusterConditionInput` via:
WorkstationClusterConditionArgs{...}
type WorkstationClusterConditionOutput ¶
type WorkstationClusterConditionOutput struct{ *pulumi.OutputState }
func (WorkstationClusterConditionOutput) Code ¶
func (o WorkstationClusterConditionOutput) Code() pulumi.IntPtrOutput
(Output) The status code, which should be an enum value of google.rpc.Code.
func (WorkstationClusterConditionOutput) Details ¶
func (o WorkstationClusterConditionOutput) Details() pulumi.StringMapArrayOutput
(Output) A list of messages that carry the error details.
func (WorkstationClusterConditionOutput) ElementType ¶
func (WorkstationClusterConditionOutput) ElementType() reflect.Type
func (WorkstationClusterConditionOutput) Message ¶
func (o WorkstationClusterConditionOutput) Message() pulumi.StringPtrOutput
(Output) Human readable message indicating details about the current status.
func (WorkstationClusterConditionOutput) ToWorkstationClusterConditionOutput ¶
func (o WorkstationClusterConditionOutput) ToWorkstationClusterConditionOutput() WorkstationClusterConditionOutput
func (WorkstationClusterConditionOutput) ToWorkstationClusterConditionOutputWithContext ¶
func (o WorkstationClusterConditionOutput) ToWorkstationClusterConditionOutputWithContext(ctx context.Context) WorkstationClusterConditionOutput
type WorkstationClusterDomainConfig ¶
type WorkstationClusterDomainConfig struct { // Domain used by Workstations for HTTP ingress. Domain string `pulumi:"domain"` }
type WorkstationClusterDomainConfigArgs ¶
type WorkstationClusterDomainConfigArgs struct { // Domain used by Workstations for HTTP ingress. Domain pulumi.StringInput `pulumi:"domain"` }
func (WorkstationClusterDomainConfigArgs) ElementType ¶
func (WorkstationClusterDomainConfigArgs) ElementType() reflect.Type
func (WorkstationClusterDomainConfigArgs) ToWorkstationClusterDomainConfigOutput ¶
func (i WorkstationClusterDomainConfigArgs) ToWorkstationClusterDomainConfigOutput() WorkstationClusterDomainConfigOutput
func (WorkstationClusterDomainConfigArgs) ToWorkstationClusterDomainConfigOutputWithContext ¶
func (i WorkstationClusterDomainConfigArgs) ToWorkstationClusterDomainConfigOutputWithContext(ctx context.Context) WorkstationClusterDomainConfigOutput
func (WorkstationClusterDomainConfigArgs) ToWorkstationClusterDomainConfigPtrOutput ¶
func (i WorkstationClusterDomainConfigArgs) ToWorkstationClusterDomainConfigPtrOutput() WorkstationClusterDomainConfigPtrOutput
func (WorkstationClusterDomainConfigArgs) ToWorkstationClusterDomainConfigPtrOutputWithContext ¶
func (i WorkstationClusterDomainConfigArgs) ToWorkstationClusterDomainConfigPtrOutputWithContext(ctx context.Context) WorkstationClusterDomainConfigPtrOutput
type WorkstationClusterDomainConfigInput ¶
type WorkstationClusterDomainConfigInput interface { pulumi.Input ToWorkstationClusterDomainConfigOutput() WorkstationClusterDomainConfigOutput ToWorkstationClusterDomainConfigOutputWithContext(context.Context) WorkstationClusterDomainConfigOutput }
WorkstationClusterDomainConfigInput is an input type that accepts WorkstationClusterDomainConfigArgs and WorkstationClusterDomainConfigOutput values. You can construct a concrete instance of `WorkstationClusterDomainConfigInput` via:
WorkstationClusterDomainConfigArgs{...}
type WorkstationClusterDomainConfigOutput ¶
type WorkstationClusterDomainConfigOutput struct{ *pulumi.OutputState }
func (WorkstationClusterDomainConfigOutput) Domain ¶
func (o WorkstationClusterDomainConfigOutput) Domain() pulumi.StringOutput
Domain used by Workstations for HTTP ingress.
func (WorkstationClusterDomainConfigOutput) ElementType ¶
func (WorkstationClusterDomainConfigOutput) ElementType() reflect.Type
func (WorkstationClusterDomainConfigOutput) ToWorkstationClusterDomainConfigOutput ¶
func (o WorkstationClusterDomainConfigOutput) ToWorkstationClusterDomainConfigOutput() WorkstationClusterDomainConfigOutput
func (WorkstationClusterDomainConfigOutput) ToWorkstationClusterDomainConfigOutputWithContext ¶
func (o WorkstationClusterDomainConfigOutput) ToWorkstationClusterDomainConfigOutputWithContext(ctx context.Context) WorkstationClusterDomainConfigOutput
func (WorkstationClusterDomainConfigOutput) ToWorkstationClusterDomainConfigPtrOutput ¶
func (o WorkstationClusterDomainConfigOutput) ToWorkstationClusterDomainConfigPtrOutput() WorkstationClusterDomainConfigPtrOutput
func (WorkstationClusterDomainConfigOutput) ToWorkstationClusterDomainConfigPtrOutputWithContext ¶
func (o WorkstationClusterDomainConfigOutput) ToWorkstationClusterDomainConfigPtrOutputWithContext(ctx context.Context) WorkstationClusterDomainConfigPtrOutput
type WorkstationClusterDomainConfigPtrInput ¶
type WorkstationClusterDomainConfigPtrInput interface { pulumi.Input ToWorkstationClusterDomainConfigPtrOutput() WorkstationClusterDomainConfigPtrOutput ToWorkstationClusterDomainConfigPtrOutputWithContext(context.Context) WorkstationClusterDomainConfigPtrOutput }
WorkstationClusterDomainConfigPtrInput is an input type that accepts WorkstationClusterDomainConfigArgs, WorkstationClusterDomainConfigPtr and WorkstationClusterDomainConfigPtrOutput values. You can construct a concrete instance of `WorkstationClusterDomainConfigPtrInput` via:
WorkstationClusterDomainConfigArgs{...} or: nil
func WorkstationClusterDomainConfigPtr ¶
func WorkstationClusterDomainConfigPtr(v *WorkstationClusterDomainConfigArgs) WorkstationClusterDomainConfigPtrInput
type WorkstationClusterDomainConfigPtrOutput ¶
type WorkstationClusterDomainConfigPtrOutput struct{ *pulumi.OutputState }
func (WorkstationClusterDomainConfigPtrOutput) Domain ¶
func (o WorkstationClusterDomainConfigPtrOutput) Domain() pulumi.StringPtrOutput
Domain used by Workstations for HTTP ingress.
func (WorkstationClusterDomainConfigPtrOutput) ElementType ¶
func (WorkstationClusterDomainConfigPtrOutput) ElementType() reflect.Type
func (WorkstationClusterDomainConfigPtrOutput) ToWorkstationClusterDomainConfigPtrOutput ¶
func (o WorkstationClusterDomainConfigPtrOutput) ToWorkstationClusterDomainConfigPtrOutput() WorkstationClusterDomainConfigPtrOutput
func (WorkstationClusterDomainConfigPtrOutput) ToWorkstationClusterDomainConfigPtrOutputWithContext ¶
func (o WorkstationClusterDomainConfigPtrOutput) ToWorkstationClusterDomainConfigPtrOutputWithContext(ctx context.Context) WorkstationClusterDomainConfigPtrOutput
type WorkstationClusterInput ¶
type WorkstationClusterInput interface { pulumi.Input ToWorkstationClusterOutput() WorkstationClusterOutput ToWorkstationClusterOutputWithContext(ctx context.Context) WorkstationClusterOutput }
type WorkstationClusterMap ¶
type WorkstationClusterMap map[string]WorkstationClusterInput
func (WorkstationClusterMap) ElementType ¶
func (WorkstationClusterMap) ElementType() reflect.Type
func (WorkstationClusterMap) ToWorkstationClusterMapOutput ¶
func (i WorkstationClusterMap) ToWorkstationClusterMapOutput() WorkstationClusterMapOutput
func (WorkstationClusterMap) ToWorkstationClusterMapOutputWithContext ¶
func (i WorkstationClusterMap) ToWorkstationClusterMapOutputWithContext(ctx context.Context) WorkstationClusterMapOutput
type WorkstationClusterMapInput ¶
type WorkstationClusterMapInput interface { pulumi.Input ToWorkstationClusterMapOutput() WorkstationClusterMapOutput ToWorkstationClusterMapOutputWithContext(context.Context) WorkstationClusterMapOutput }
WorkstationClusterMapInput is an input type that accepts WorkstationClusterMap and WorkstationClusterMapOutput values. You can construct a concrete instance of `WorkstationClusterMapInput` via:
WorkstationClusterMap{ "key": WorkstationClusterArgs{...} }
type WorkstationClusterMapOutput ¶
type WorkstationClusterMapOutput struct{ *pulumi.OutputState }
func (WorkstationClusterMapOutput) ElementType ¶
func (WorkstationClusterMapOutput) ElementType() reflect.Type
func (WorkstationClusterMapOutput) MapIndex ¶
func (o WorkstationClusterMapOutput) MapIndex(k pulumi.StringInput) WorkstationClusterOutput
func (WorkstationClusterMapOutput) ToWorkstationClusterMapOutput ¶
func (o WorkstationClusterMapOutput) ToWorkstationClusterMapOutput() WorkstationClusterMapOutput
func (WorkstationClusterMapOutput) ToWorkstationClusterMapOutputWithContext ¶
func (o WorkstationClusterMapOutput) ToWorkstationClusterMapOutputWithContext(ctx context.Context) WorkstationClusterMapOutput
type WorkstationClusterOutput ¶
type WorkstationClusterOutput struct{ *pulumi.OutputState }
func (WorkstationClusterOutput) Annotations ¶
func (o WorkstationClusterOutput) Annotations() pulumi.StringMapOutput
Client-specified annotations. This is distinct from labels. **Note**: This field is non-authoritative, and will only manage the annotations present in your configuration. Please refer to the field `effectiveAnnotations` for all of the annotations present on the resource.
func (WorkstationClusterOutput) Conditions ¶
func (o WorkstationClusterOutput) Conditions() WorkstationClusterConditionArrayOutput
Status conditions describing the current resource state. Structure is documented below.
func (WorkstationClusterOutput) ControlPlaneIp ¶
func (o WorkstationClusterOutput) ControlPlaneIp() pulumi.StringOutput
The private IP address of the control plane for this workstation cluster. Workstation VMs need access to this IP address to work with the service, so make sure that your firewall rules allow egress from the workstation VMs to this address.
func (WorkstationClusterOutput) CreateTime ¶
func (o WorkstationClusterOutput) CreateTime() pulumi.StringOutput
Time when this resource was created.
func (WorkstationClusterOutput) Degraded ¶
func (o WorkstationClusterOutput) Degraded() pulumi.BoolOutput
Whether this resource is in degraded mode, in which case it may require user action to restore full functionality. Details can be found in the conditions field.
func (WorkstationClusterOutput) DisplayName ¶
func (o WorkstationClusterOutput) DisplayName() pulumi.StringPtrOutput
Human-readable name for this resource.
func (WorkstationClusterOutput) DomainConfig ¶
func (o WorkstationClusterOutput) DomainConfig() WorkstationClusterDomainConfigPtrOutput
Configuration options for a custom domain. Structure is documented below.
func (WorkstationClusterOutput) EffectiveAnnotations ¶
func (o WorkstationClusterOutput) EffectiveAnnotations() pulumi.StringMapOutput
func (WorkstationClusterOutput) EffectiveLabels ¶
func (o WorkstationClusterOutput) EffectiveLabels() pulumi.StringMapOutput
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
func (WorkstationClusterOutput) ElementType ¶
func (WorkstationClusterOutput) ElementType() reflect.Type
func (WorkstationClusterOutput) Etag ¶
func (o WorkstationClusterOutput) Etag() pulumi.StringOutput
Checksum computed by the server. May be sent on update and delete requests to ensure that the client has an up-to-date value before proceeding.
func (WorkstationClusterOutput) Labels ¶
func (o WorkstationClusterOutput) Labels() pulumi.StringMapOutput
Client-specified labels that are applied to the resource and that are also propagated to the underlying Compute Engine resources. **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field `effectiveLabels` for all of the labels present on the resource.
func (WorkstationClusterOutput) Location ¶
func (o WorkstationClusterOutput) Location() pulumi.StringPtrOutput
The location where the workstation cluster should reside.
func (WorkstationClusterOutput) Name ¶
func (o WorkstationClusterOutput) Name() pulumi.StringOutput
The name of the cluster resource.
func (WorkstationClusterOutput) Network ¶
func (o WorkstationClusterOutput) Network() pulumi.StringOutput
The relative resource name of the VPC network on which the instance can be accessed. It is specified in the following form: "projects/{projectNumber}/global/networks/{network_id}".
func (WorkstationClusterOutput) PrivateClusterConfig ¶
func (o WorkstationClusterOutput) PrivateClusterConfig() WorkstationClusterPrivateClusterConfigPtrOutput
Configuration for private cluster. Structure is documented below.
func (WorkstationClusterOutput) Project ¶
func (o WorkstationClusterOutput) Project() pulumi.StringOutput
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
func (WorkstationClusterOutput) PulumiLabels ¶
func (o WorkstationClusterOutput) PulumiLabels() pulumi.StringMapOutput
The combination of labels configured directly on the resource and default labels configured on the provider.
func (WorkstationClusterOutput) Subnetwork ¶
func (o WorkstationClusterOutput) Subnetwork() pulumi.StringOutput
Name of the Compute Engine subnetwork in which instances associated with this cluster will be created. Must be part of the subnetwork specified for this cluster.
func (WorkstationClusterOutput) ToWorkstationClusterOutput ¶
func (o WorkstationClusterOutput) ToWorkstationClusterOutput() WorkstationClusterOutput
func (WorkstationClusterOutput) ToWorkstationClusterOutputWithContext ¶
func (o WorkstationClusterOutput) ToWorkstationClusterOutputWithContext(ctx context.Context) WorkstationClusterOutput
func (WorkstationClusterOutput) Uid ¶
func (o WorkstationClusterOutput) Uid() pulumi.StringOutput
The system-generated UID of the resource.
func (WorkstationClusterOutput) WorkstationClusterId ¶
func (o WorkstationClusterOutput) WorkstationClusterId() pulumi.StringOutput
ID to use for the workstation cluster.
***
type WorkstationClusterPrivateClusterConfig ¶
type WorkstationClusterPrivateClusterConfig struct { // Additional project IDs that are allowed to attach to the workstation cluster's service attachment. // By default, the workstation cluster's project and the VPC host project (if different) are allowed. AllowedProjects []string `pulumi:"allowedProjects"` // (Output) // Hostname for the workstation cluster. // This field will be populated only when private endpoint is enabled. // To access workstations in the cluster, create a new DNS zone mapping this domain name to an internal IP address and a forwarding rule mapping that address to the service attachment. ClusterHostname *string `pulumi:"clusterHostname"` // Whether Workstations endpoint is private. EnablePrivateEndpoint bool `pulumi:"enablePrivateEndpoint"` // (Output) // Service attachment URI for the workstation cluster. // The service attachment is created when private endpoint is enabled. // To access workstations in the cluster, configure access to the managed service using (Private Service Connect)[https://cloud.google.com/vpc/docs/configure-private-service-connect-services]. ServiceAttachmentUri *string `pulumi:"serviceAttachmentUri"` }
type WorkstationClusterPrivateClusterConfigArgs ¶
type WorkstationClusterPrivateClusterConfigArgs struct { // Additional project IDs that are allowed to attach to the workstation cluster's service attachment. // By default, the workstation cluster's project and the VPC host project (if different) are allowed. AllowedProjects pulumi.StringArrayInput `pulumi:"allowedProjects"` // (Output) // Hostname for the workstation cluster. // This field will be populated only when private endpoint is enabled. // To access workstations in the cluster, create a new DNS zone mapping this domain name to an internal IP address and a forwarding rule mapping that address to the service attachment. ClusterHostname pulumi.StringPtrInput `pulumi:"clusterHostname"` // Whether Workstations endpoint is private. EnablePrivateEndpoint pulumi.BoolInput `pulumi:"enablePrivateEndpoint"` // (Output) // Service attachment URI for the workstation cluster. // The service attachment is created when private endpoint is enabled. // To access workstations in the cluster, configure access to the managed service using (Private Service Connect)[https://cloud.google.com/vpc/docs/configure-private-service-connect-services]. ServiceAttachmentUri pulumi.StringPtrInput `pulumi:"serviceAttachmentUri"` }
func (WorkstationClusterPrivateClusterConfigArgs) ElementType ¶
func (WorkstationClusterPrivateClusterConfigArgs) ElementType() reflect.Type
func (WorkstationClusterPrivateClusterConfigArgs) ToWorkstationClusterPrivateClusterConfigOutput ¶
func (i WorkstationClusterPrivateClusterConfigArgs) ToWorkstationClusterPrivateClusterConfigOutput() WorkstationClusterPrivateClusterConfigOutput
func (WorkstationClusterPrivateClusterConfigArgs) ToWorkstationClusterPrivateClusterConfigOutputWithContext ¶
func (i WorkstationClusterPrivateClusterConfigArgs) ToWorkstationClusterPrivateClusterConfigOutputWithContext(ctx context.Context) WorkstationClusterPrivateClusterConfigOutput
func (WorkstationClusterPrivateClusterConfigArgs) ToWorkstationClusterPrivateClusterConfigPtrOutput ¶
func (i WorkstationClusterPrivateClusterConfigArgs) ToWorkstationClusterPrivateClusterConfigPtrOutput() WorkstationClusterPrivateClusterConfigPtrOutput
func (WorkstationClusterPrivateClusterConfigArgs) ToWorkstationClusterPrivateClusterConfigPtrOutputWithContext ¶
func (i WorkstationClusterPrivateClusterConfigArgs) ToWorkstationClusterPrivateClusterConfigPtrOutputWithContext(ctx context.Context) WorkstationClusterPrivateClusterConfigPtrOutput
type WorkstationClusterPrivateClusterConfigInput ¶
type WorkstationClusterPrivateClusterConfigInput interface { pulumi.Input ToWorkstationClusterPrivateClusterConfigOutput() WorkstationClusterPrivateClusterConfigOutput ToWorkstationClusterPrivateClusterConfigOutputWithContext(context.Context) WorkstationClusterPrivateClusterConfigOutput }
WorkstationClusterPrivateClusterConfigInput is an input type that accepts WorkstationClusterPrivateClusterConfigArgs and WorkstationClusterPrivateClusterConfigOutput values. You can construct a concrete instance of `WorkstationClusterPrivateClusterConfigInput` via:
WorkstationClusterPrivateClusterConfigArgs{...}
type WorkstationClusterPrivateClusterConfigOutput ¶
type WorkstationClusterPrivateClusterConfigOutput struct{ *pulumi.OutputState }
func (WorkstationClusterPrivateClusterConfigOutput) AllowedProjects ¶
func (o WorkstationClusterPrivateClusterConfigOutput) AllowedProjects() pulumi.StringArrayOutput
Additional project IDs that are allowed to attach to the workstation cluster's service attachment. By default, the workstation cluster's project and the VPC host project (if different) are allowed.
func (WorkstationClusterPrivateClusterConfigOutput) ClusterHostname ¶
func (o WorkstationClusterPrivateClusterConfigOutput) ClusterHostname() pulumi.StringPtrOutput
(Output) Hostname for the workstation cluster. This field will be populated only when private endpoint is enabled. To access workstations in the cluster, create a new DNS zone mapping this domain name to an internal IP address and a forwarding rule mapping that address to the service attachment.
func (WorkstationClusterPrivateClusterConfigOutput) ElementType ¶
func (WorkstationClusterPrivateClusterConfigOutput) ElementType() reflect.Type
func (WorkstationClusterPrivateClusterConfigOutput) EnablePrivateEndpoint ¶
func (o WorkstationClusterPrivateClusterConfigOutput) EnablePrivateEndpoint() pulumi.BoolOutput
Whether Workstations endpoint is private.
func (WorkstationClusterPrivateClusterConfigOutput) ServiceAttachmentUri ¶
func (o WorkstationClusterPrivateClusterConfigOutput) ServiceAttachmentUri() pulumi.StringPtrOutput
(Output) Service attachment URI for the workstation cluster. The service attachment is created when private endpoint is enabled. To access workstations in the cluster, configure access to the managed service using (Private Service Connect)[https://cloud.google.com/vpc/docs/configure-private-service-connect-services].
func (WorkstationClusterPrivateClusterConfigOutput) ToWorkstationClusterPrivateClusterConfigOutput ¶
func (o WorkstationClusterPrivateClusterConfigOutput) ToWorkstationClusterPrivateClusterConfigOutput() WorkstationClusterPrivateClusterConfigOutput
func (WorkstationClusterPrivateClusterConfigOutput) ToWorkstationClusterPrivateClusterConfigOutputWithContext ¶
func (o WorkstationClusterPrivateClusterConfigOutput) ToWorkstationClusterPrivateClusterConfigOutputWithContext(ctx context.Context) WorkstationClusterPrivateClusterConfigOutput
func (WorkstationClusterPrivateClusterConfigOutput) ToWorkstationClusterPrivateClusterConfigPtrOutput ¶
func (o WorkstationClusterPrivateClusterConfigOutput) ToWorkstationClusterPrivateClusterConfigPtrOutput() WorkstationClusterPrivateClusterConfigPtrOutput
func (WorkstationClusterPrivateClusterConfigOutput) ToWorkstationClusterPrivateClusterConfigPtrOutputWithContext ¶
func (o WorkstationClusterPrivateClusterConfigOutput) ToWorkstationClusterPrivateClusterConfigPtrOutputWithContext(ctx context.Context) WorkstationClusterPrivateClusterConfigPtrOutput
type WorkstationClusterPrivateClusterConfigPtrInput ¶
type WorkstationClusterPrivateClusterConfigPtrInput interface { pulumi.Input ToWorkstationClusterPrivateClusterConfigPtrOutput() WorkstationClusterPrivateClusterConfigPtrOutput ToWorkstationClusterPrivateClusterConfigPtrOutputWithContext(context.Context) WorkstationClusterPrivateClusterConfigPtrOutput }
WorkstationClusterPrivateClusterConfigPtrInput is an input type that accepts WorkstationClusterPrivateClusterConfigArgs, WorkstationClusterPrivateClusterConfigPtr and WorkstationClusterPrivateClusterConfigPtrOutput values. You can construct a concrete instance of `WorkstationClusterPrivateClusterConfigPtrInput` via:
WorkstationClusterPrivateClusterConfigArgs{...} or: nil
func WorkstationClusterPrivateClusterConfigPtr ¶
func WorkstationClusterPrivateClusterConfigPtr(v *WorkstationClusterPrivateClusterConfigArgs) WorkstationClusterPrivateClusterConfigPtrInput
type WorkstationClusterPrivateClusterConfigPtrOutput ¶
type WorkstationClusterPrivateClusterConfigPtrOutput struct{ *pulumi.OutputState }
func (WorkstationClusterPrivateClusterConfigPtrOutput) AllowedProjects ¶
func (o WorkstationClusterPrivateClusterConfigPtrOutput) AllowedProjects() pulumi.StringArrayOutput
Additional project IDs that are allowed to attach to the workstation cluster's service attachment. By default, the workstation cluster's project and the VPC host project (if different) are allowed.
func (WorkstationClusterPrivateClusterConfigPtrOutput) ClusterHostname ¶
func (o WorkstationClusterPrivateClusterConfigPtrOutput) ClusterHostname() pulumi.StringPtrOutput
(Output) Hostname for the workstation cluster. This field will be populated only when private endpoint is enabled. To access workstations in the cluster, create a new DNS zone mapping this domain name to an internal IP address and a forwarding rule mapping that address to the service attachment.
func (WorkstationClusterPrivateClusterConfigPtrOutput) ElementType ¶
func (WorkstationClusterPrivateClusterConfigPtrOutput) ElementType() reflect.Type
func (WorkstationClusterPrivateClusterConfigPtrOutput) EnablePrivateEndpoint ¶
func (o WorkstationClusterPrivateClusterConfigPtrOutput) EnablePrivateEndpoint() pulumi.BoolPtrOutput
Whether Workstations endpoint is private.
func (WorkstationClusterPrivateClusterConfigPtrOutput) ServiceAttachmentUri ¶
func (o WorkstationClusterPrivateClusterConfigPtrOutput) ServiceAttachmentUri() pulumi.StringPtrOutput
(Output) Service attachment URI for the workstation cluster. The service attachment is created when private endpoint is enabled. To access workstations in the cluster, configure access to the managed service using (Private Service Connect)[https://cloud.google.com/vpc/docs/configure-private-service-connect-services].
func (WorkstationClusterPrivateClusterConfigPtrOutput) ToWorkstationClusterPrivateClusterConfigPtrOutput ¶
func (o WorkstationClusterPrivateClusterConfigPtrOutput) ToWorkstationClusterPrivateClusterConfigPtrOutput() WorkstationClusterPrivateClusterConfigPtrOutput
func (WorkstationClusterPrivateClusterConfigPtrOutput) ToWorkstationClusterPrivateClusterConfigPtrOutputWithContext ¶
func (o WorkstationClusterPrivateClusterConfigPtrOutput) ToWorkstationClusterPrivateClusterConfigPtrOutputWithContext(ctx context.Context) WorkstationClusterPrivateClusterConfigPtrOutput
type WorkstationClusterState ¶
type WorkstationClusterState struct { // Client-specified annotations. This is distinct from labels. // **Note**: This field is non-authoritative, and will only manage the annotations present in your configuration. // Please refer to the field `effectiveAnnotations` for all of the annotations present on the resource. Annotations pulumi.StringMapInput // Status conditions describing the current resource state. // Structure is documented below. Conditions WorkstationClusterConditionArrayInput // The private IP address of the control plane for this workstation cluster. // Workstation VMs need access to this IP address to work with the service, so make sure that your firewall rules allow egress from the workstation VMs to this address. ControlPlaneIp pulumi.StringPtrInput // Time when this resource was created. CreateTime pulumi.StringPtrInput // Whether this resource is in degraded mode, in which case it may require user action to restore full functionality. // Details can be found in the conditions field. Degraded pulumi.BoolPtrInput // Human-readable name for this resource. DisplayName pulumi.StringPtrInput // Configuration options for a custom domain. // Structure is documented below. DomainConfig WorkstationClusterDomainConfigPtrInput EffectiveAnnotations pulumi.StringMapInput // All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services. EffectiveLabels pulumi.StringMapInput // Checksum computed by the server. // May be sent on update and delete requests to ensure that the client has an up-to-date value before proceeding. Etag pulumi.StringPtrInput // Client-specified labels that are applied to the resource and that are also propagated to the underlying Compute Engine resources. // **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. // Please refer to the field `effectiveLabels` for all of the labels present on the resource. Labels pulumi.StringMapInput // The location where the workstation cluster should reside. Location pulumi.StringPtrInput // The name of the cluster resource. Name pulumi.StringPtrInput // The relative resource name of the VPC network on which the instance can be accessed. // It is specified in the following form: "projects/{projectNumber}/global/networks/{network_id}". Network pulumi.StringPtrInput // Configuration for private cluster. // Structure is documented below. PrivateClusterConfig WorkstationClusterPrivateClusterConfigPtrInput // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project pulumi.StringPtrInput // The combination of labels configured directly on the resource // and default labels configured on the provider. PulumiLabels pulumi.StringMapInput // Name of the Compute Engine subnetwork in which instances associated with this cluster will be created. // Must be part of the subnetwork specified for this cluster. Subnetwork pulumi.StringPtrInput // The system-generated UID of the resource. Uid pulumi.StringPtrInput // ID to use for the workstation cluster. // // *** WorkstationClusterId pulumi.StringPtrInput }
func (WorkstationClusterState) ElementType ¶
func (WorkstationClusterState) ElementType() reflect.Type
type WorkstationConfig ¶
type WorkstationConfig struct { pulumi.CustomResourceState // Client-specified annotations. This is distinct from labels. // **Note**: This field is non-authoritative, and will only manage the annotations present in your configuration. // Please refer to the field `effectiveAnnotations` for all of the annotations present on the resource. Annotations pulumi.StringMapOutput `pulumi:"annotations"` // Status conditions describing the current resource state. // Structure is documented below. Conditions WorkstationConfigConditionArrayOutput `pulumi:"conditions"` // Container that will be run for each workstation using this configuration when that workstation is started. // Structure is documented below. Container WorkstationConfigContainerOutput `pulumi:"container"` // Time when this resource was created. CreateTime pulumi.StringOutput `pulumi:"createTime"` // Whether this resource is in degraded mode, in which case it may require user action to restore full functionality. Details can be found in the conditions field. Degraded pulumi.BoolOutput `pulumi:"degraded"` // Disables support for plain TCP connections in the workstation. By default the service supports TCP connections via a websocket relay. Setting this option to true disables that relay, which prevents the usage of services that require plain tcp connections, such as ssh. When enabled, all communication must occur over https or wss. DisableTcpConnections pulumi.BoolPtrOutput `pulumi:"disableTcpConnections"` // Human-readable name for this resource. DisplayName pulumi.StringPtrOutput `pulumi:"displayName"` EffectiveAnnotations pulumi.StringMapOutput `pulumi:"effectiveAnnotations"` // All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services. EffectiveLabels pulumi.StringMapOutput `pulumi:"effectiveLabels"` // Whether to enable Linux `auditd` logging on the workstation. When enabled, a service account must also be specified that has `logging.buckets.write` permission on the project. Operating system audit logging is distinct from Cloud Audit Logs. EnableAuditAgent pulumi.BoolPtrOutput `pulumi:"enableAuditAgent"` // Encrypts resources of this workstation configuration using a customer-managed encryption key. // If specified, the boot disk of the Compute Engine instance and the persistent disk are encrypted using this encryption key. If this field is not set, the disks are encrypted using a generated key. Customer-managed encryption keys do not protect disk metadata. // If the customer-managed encryption key is rotated, when the workstation instance is stopped, the system attempts to recreate the persistent disk with the new version of the key. Be sure to keep older versions of the key until the persistent disk is recreated. Otherwise, data on the persistent disk will be lost. // If the encryption key is revoked, the workstation session will automatically be stopped within 7 hours. // Structure is documented below. EncryptionKey WorkstationConfigEncryptionKeyPtrOutput `pulumi:"encryptionKey"` // Ephemeral directories which won't persist across workstation sessions. // Structure is documented below. EphemeralDirectories WorkstationConfigEphemeralDirectoryArrayOutput `pulumi:"ephemeralDirectories"` // Checksum computed by the server. // May be sent on update and delete requests to ensure that the client has an up-to-date value before proceeding. Etag pulumi.StringOutput `pulumi:"etag"` // Runtime host for a workstation. // Structure is documented below. Host WorkstationConfigHostOutput `pulumi:"host"` // How long to wait before automatically stopping an instance that hasn't recently received any user traffic. A value of 0 indicates that this instance should never time out from idleness. Defaults to 20 minutes. // A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s". IdleTimeout pulumi.StringPtrOutput `pulumi:"idleTimeout"` // Client-specified labels that are applied to the resource and that are also propagated to the underlying Compute Engine resources. // **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. // Please refer to the field `effectiveLabels` for all of the labels present on the resource. Labels pulumi.StringMapOutput `pulumi:"labels"` // The location where the workstation cluster config should reside. // // *** Location pulumi.StringOutput `pulumi:"location"` // Full name of this resource. Name pulumi.StringOutput `pulumi:"name"` // Directories to persist across workstation sessions. // Structure is documented below. PersistentDirectories WorkstationConfigPersistentDirectoryArrayOutput `pulumi:"persistentDirectories"` // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project pulumi.StringOutput `pulumi:"project"` // The combination of labels configured directly on the resource // and default labels configured on the provider. PulumiLabels pulumi.StringMapOutput `pulumi:"pulumiLabels"` // Readiness checks to be performed on a workstation. // Structure is documented below. ReadinessChecks WorkstationConfigReadinessCheckArrayOutput `pulumi:"readinessChecks"` // Specifies the zones used to replicate the VM and disk resources within the region. If set, exactly two zones within the workstation cluster's region must be specified—for example, `['us-central1-a', 'us-central1-f']`. // If this field is empty, two default zones within the region are used. Immutable after the workstation configuration is created. ReplicaZones pulumi.StringArrayOutput `pulumi:"replicaZones"` // How long to wait before automatically stopping a workstation after it was started. A value of 0 indicates that workstations using this configuration should never time out from running duration. Must be greater than 0 and less than 24 hours if `encryptionKey` is set. Defaults to 12 hours. // A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s". RunningTimeout pulumi.StringPtrOutput `pulumi:"runningTimeout"` // The system-generated UID of the resource. Uid pulumi.StringOutput `pulumi:"uid"` // The ID of the parent workstation cluster. WorkstationClusterId pulumi.StringOutput `pulumi:"workstationClusterId"` // The ID to be assigned to the workstation cluster config. WorkstationConfigId pulumi.StringOutput `pulumi:"workstationConfigId"` }
## Example Usage
### Workstation Config Basic
```go package main
import (
"fmt" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/compute" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/tags" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/workstations" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
) func main() { pulumi.Run(func(ctx *pulumi.Context) error { tagKey1, err := tags.NewTagKey(ctx, "tag_key1", &tags.TagKeyArgs{ Parent: pulumi.String("organizations/123456789"), ShortName: pulumi.String("keyname"), }) if err != nil { return err } tagValue1, err := tags.NewTagValue(ctx, "tag_value1", &tags.TagValueArgs{ Parent: tagKey1.Name.ApplyT(func(name string) (string, error) { return fmt.Sprintf("tagKeys/%v", name), nil }).(pulumi.StringOutput), ShortName: pulumi.String("valuename"), }) if err != nil { return err } _, err = compute.NewNetwork(ctx, "default", &compute.NetworkArgs{ Name: pulumi.String("workstation-cluster"), AutoCreateSubnetworks: pulumi.Bool(false), }) if err != nil { return err } defaultSubnetwork, err := compute.NewSubnetwork(ctx, "default", &compute.SubnetworkArgs{ Name: pulumi.String("workstation-cluster"), IpCidrRange: pulumi.String("10.0.0.0/24"), Region: pulumi.String("us-central1"), Network: _default.Name, }) if err != nil { return err } defaultWorkstationCluster, err := workstations.NewWorkstationCluster(ctx, "default", &workstations.WorkstationClusterArgs{ WorkstationClusterId: pulumi.String("workstation-cluster"), Network: _default.ID(), Subnetwork: defaultSubnetwork.ID(), Location: pulumi.String("us-central1"), Labels: pulumi.StringMap{ "label": pulumi.String("key"), }, Annotations: pulumi.StringMap{ "label-one": pulumi.String("value-one"), }, }) if err != nil { return err } _, err = workstations.NewWorkstationConfig(ctx, "default", &workstations.WorkstationConfigArgs{ WorkstationConfigId: pulumi.String("workstation-config"), WorkstationClusterId: defaultWorkstationCluster.WorkstationClusterId, Location: pulumi.String("us-central1"), IdleTimeout: pulumi.String("600s"), RunningTimeout: pulumi.String("21600s"), ReplicaZones: pulumi.StringArray{ pulumi.String("us-central1-a"), pulumi.String("us-central1-b"), }, Annotations: pulumi.StringMap{ "label-one": pulumi.String("value-one"), }, Labels: pulumi.StringMap{ "label": pulumi.String("key"), }, Host: &workstations.WorkstationConfigHostArgs{ GceInstance: &workstations.WorkstationConfigHostGceInstanceArgs{ MachineType: pulumi.String("e2-standard-4"), BootDiskSizeGb: pulumi.Int(35), DisablePublicIpAddresses: pulumi.Bool(true), DisableSsh: pulumi.Bool(false), VmTags: pulumi.All(tagKey1.Name,tagValue1.Name).ApplyT(func(_args []interface{}) (map[string]string, error) { tagKey1Name := _args[0].(string) tagValue1Name := _args[1].(string) return map[string]string{ fmt.Sprintf("tagKeys/%v", tagKey1Name): fmt.Sprintf("tagValues/%v", tagValue1Name), }, nil }).(pulumi.Map[string]stringOutput), }, }, }) if err != nil { return err } return nil }) } ``` ### Workstation Config Container
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/compute" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/workstations" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := compute.NewNetwork(ctx, "default", &compute.NetworkArgs{ Name: pulumi.String("workstation-cluster"), AutoCreateSubnetworks: pulumi.Bool(false), }) if err != nil { return err } defaultSubnetwork, err := compute.NewSubnetwork(ctx, "default", &compute.SubnetworkArgs{ Name: pulumi.String("workstation-cluster"), IpCidrRange: pulumi.String("10.0.0.0/24"), Region: pulumi.String("us-central1"), Network: _default.Name, }) if err != nil { return err } defaultWorkstationCluster, err := workstations.NewWorkstationCluster(ctx, "default", &workstations.WorkstationClusterArgs{ WorkstationClusterId: pulumi.String("workstation-cluster"), Network: _default.ID(), Subnetwork: defaultSubnetwork.ID(), Location: pulumi.String("us-central1"), Labels: pulumi.StringMap{ "label": pulumi.String("key"), }, Annotations: pulumi.StringMap{ "label-one": pulumi.String("value-one"), }, }) if err != nil { return err } _, err = workstations.NewWorkstationConfig(ctx, "default", &workstations.WorkstationConfigArgs{ WorkstationConfigId: pulumi.String("workstation-config"), WorkstationClusterId: defaultWorkstationCluster.WorkstationClusterId, Location: pulumi.String("us-central1"), Host: &workstations.WorkstationConfigHostArgs{ GceInstance: &workstations.WorkstationConfigHostGceInstanceArgs{ MachineType: pulumi.String("n1-standard-4"), BootDiskSizeGb: pulumi.Int(35), DisablePublicIpAddresses: pulumi.Bool(true), EnableNestedVirtualization: pulumi.Bool(true), }, }, Container: &workstations.WorkstationConfigContainerArgs{ Image: pulumi.String("intellij"), Env: pulumi.StringMap{ "NAME": pulumi.String("FOO"), "BABE": pulumi.String("bar"), }, }, }) if err != nil { return err } return nil }) }
``` ### Workstation Config Persistent Directories
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/compute" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/workstations" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := compute.NewNetwork(ctx, "default", &compute.NetworkArgs{ Name: pulumi.String("workstation-cluster"), AutoCreateSubnetworks: pulumi.Bool(false), }) if err != nil { return err } defaultSubnetwork, err := compute.NewSubnetwork(ctx, "default", &compute.SubnetworkArgs{ Name: pulumi.String("workstation-cluster"), IpCidrRange: pulumi.String("10.0.0.0/24"), Region: pulumi.String("us-central1"), Network: _default.Name, }) if err != nil { return err } defaultWorkstationCluster, err := workstations.NewWorkstationCluster(ctx, "default", &workstations.WorkstationClusterArgs{ WorkstationClusterId: pulumi.String("workstation-cluster"), Network: _default.ID(), Subnetwork: defaultSubnetwork.ID(), Location: pulumi.String("us-central1"), Labels: pulumi.StringMap{ "label": pulumi.String("key"), }, Annotations: pulumi.StringMap{ "label-one": pulumi.String("value-one"), }, }) if err != nil { return err } _, err = workstations.NewWorkstationConfig(ctx, "default", &workstations.WorkstationConfigArgs{ WorkstationConfigId: pulumi.String("workstation-config"), WorkstationClusterId: defaultWorkstationCluster.WorkstationClusterId, Location: pulumi.String("us-central1"), Host: &workstations.WorkstationConfigHostArgs{ GceInstance: &workstations.WorkstationConfigHostGceInstanceArgs{ MachineType: pulumi.String("e2-standard-4"), BootDiskSizeGb: pulumi.Int(35), DisablePublicIpAddresses: pulumi.Bool(true), ShieldedInstanceConfig: &workstations.WorkstationConfigHostGceInstanceShieldedInstanceConfigArgs{ EnableSecureBoot: pulumi.Bool(true), EnableVtpm: pulumi.Bool(true), }, }, }, PersistentDirectories: workstations.WorkstationConfigPersistentDirectoryArray{ &workstations.WorkstationConfigPersistentDirectoryArgs{ MountPath: pulumi.String("/home"), GcePd: &workstations.WorkstationConfigPersistentDirectoryGcePdArgs{ SizeGb: pulumi.Int(200), FsType: pulumi.String("ext4"), DiskType: pulumi.String("pd-standard"), ReclaimPolicy: pulumi.String("DELETE"), }, }, }, }) if err != nil { return err } return nil }) }
``` ### Workstation Config Source Snapshot
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/compute" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/workstations" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := compute.NewNetwork(ctx, "default", &compute.NetworkArgs{ Name: pulumi.String("workstation-cluster"), AutoCreateSubnetworks: pulumi.Bool(false), }) if err != nil { return err } defaultSubnetwork, err := compute.NewSubnetwork(ctx, "default", &compute.SubnetworkArgs{ Name: pulumi.String("workstation-cluster"), IpCidrRange: pulumi.String("10.0.0.0/24"), Region: pulumi.String("us-central1"), Network: _default.Name, }) if err != nil { return err } mySourceDisk, err := compute.NewDisk(ctx, "my_source_disk", &compute.DiskArgs{ Name: pulumi.String("workstation-config"), Size: pulumi.Int(10), Type: pulumi.String("pd-ssd"), Zone: pulumi.String("us-central1-a"), }) if err != nil { return err } mySourceSnapshot, err := compute.NewSnapshot(ctx, "my_source_snapshot", &compute.SnapshotArgs{ Name: pulumi.String("workstation-config"), SourceDisk: mySourceDisk.Name, Zone: pulumi.String("us-central1-a"), }) if err != nil { return err } defaultWorkstationCluster, err := workstations.NewWorkstationCluster(ctx, "default", &workstations.WorkstationClusterArgs{ WorkstationClusterId: pulumi.String("workstation-cluster"), Network: _default.ID(), Subnetwork: defaultSubnetwork.ID(), Location: pulumi.String("us-central1"), }) if err != nil { return err } _, err = workstations.NewWorkstationConfig(ctx, "default", &workstations.WorkstationConfigArgs{ WorkstationConfigId: pulumi.String("workstation-config"), WorkstationClusterId: defaultWorkstationCluster.WorkstationClusterId, Location: defaultWorkstationCluster.Location, PersistentDirectories: workstations.WorkstationConfigPersistentDirectoryArray{ &workstations.WorkstationConfigPersistentDirectoryArgs{ MountPath: pulumi.String("/home"), GcePd: &workstations.WorkstationConfigPersistentDirectoryGcePdArgs{ SourceSnapshot: mySourceSnapshot.ID(), ReclaimPolicy: pulumi.String("DELETE"), }, }, }, }) if err != nil { return err } return nil }) }
``` ### Workstation Config Shielded Instance Config
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/compute" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/workstations" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := compute.NewNetwork(ctx, "default", &compute.NetworkArgs{ Name: pulumi.String("workstation-cluster"), AutoCreateSubnetworks: pulumi.Bool(false), }) if err != nil { return err } defaultSubnetwork, err := compute.NewSubnetwork(ctx, "default", &compute.SubnetworkArgs{ Name: pulumi.String("workstation-cluster"), IpCidrRange: pulumi.String("10.0.0.0/24"), Region: pulumi.String("us-central1"), Network: _default.Name, }) if err != nil { return err } defaultWorkstationCluster, err := workstations.NewWorkstationCluster(ctx, "default", &workstations.WorkstationClusterArgs{ WorkstationClusterId: pulumi.String("workstation-cluster"), Network: _default.ID(), Subnetwork: defaultSubnetwork.ID(), Location: pulumi.String("us-central1"), Labels: pulumi.StringMap{ "label": pulumi.String("key"), }, Annotations: pulumi.StringMap{ "label-one": pulumi.String("value-one"), }, }) if err != nil { return err } _, err = workstations.NewWorkstationConfig(ctx, "default", &workstations.WorkstationConfigArgs{ WorkstationConfigId: pulumi.String("workstation-config"), WorkstationClusterId: defaultWorkstationCluster.WorkstationClusterId, Location: pulumi.String("us-central1"), Host: &workstations.WorkstationConfigHostArgs{ GceInstance: &workstations.WorkstationConfigHostGceInstanceArgs{ MachineType: pulumi.String("e2-standard-4"), BootDiskSizeGb: pulumi.Int(35), DisablePublicIpAddresses: pulumi.Bool(true), ShieldedInstanceConfig: &workstations.WorkstationConfigHostGceInstanceShieldedInstanceConfigArgs{ EnableSecureBoot: pulumi.Bool(true), EnableVtpm: pulumi.Bool(true), }, }, }, }) if err != nil { return err } return nil }) }
``` ### Workstation Config Accelerators
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/compute" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/workstations" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := compute.NewNetwork(ctx, "default", &compute.NetworkArgs{ Name: pulumi.String("workstation-cluster"), AutoCreateSubnetworks: pulumi.Bool(false), }) if err != nil { return err } defaultSubnetwork, err := compute.NewSubnetwork(ctx, "default", &compute.SubnetworkArgs{ Name: pulumi.String("workstation-cluster"), IpCidrRange: pulumi.String("10.0.0.0/24"), Region: pulumi.String("us-central1"), Network: _default.Name, }) if err != nil { return err } defaultWorkstationCluster, err := workstations.NewWorkstationCluster(ctx, "default", &workstations.WorkstationClusterArgs{ WorkstationClusterId: pulumi.String("workstation-cluster"), Network: _default.ID(), Subnetwork: defaultSubnetwork.ID(), Location: pulumi.String("us-central1"), Labels: pulumi.StringMap{ "label": pulumi.String("key"), }, Annotations: pulumi.StringMap{ "label-one": pulumi.String("value-one"), }, }) if err != nil { return err } _, err = workstations.NewWorkstationConfig(ctx, "default", &workstations.WorkstationConfigArgs{ WorkstationConfigId: pulumi.String("workstation-config"), WorkstationClusterId: defaultWorkstationCluster.WorkstationClusterId, Location: pulumi.String("us-central1"), Host: &workstations.WorkstationConfigHostArgs{ GceInstance: &workstations.WorkstationConfigHostGceInstanceArgs{ MachineType: pulumi.String("n1-standard-2"), BootDiskSizeGb: pulumi.Int(35), DisablePublicIpAddresses: pulumi.Bool(true), Accelerators: workstations.WorkstationConfigHostGceInstanceAcceleratorArray{ &workstations.WorkstationConfigHostGceInstanceAcceleratorArgs{ Type: pulumi.String("nvidia-tesla-t4"), Count: pulumi.Int(1), }, }, }, }, }) if err != nil { return err } return nil }) }
``` ### Workstation Config Boost
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/compute" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/workstations" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := compute.NewNetwork(ctx, "default", &compute.NetworkArgs{ Name: pulumi.String("workstation-cluster"), AutoCreateSubnetworks: pulumi.Bool(false), }) if err != nil { return err } defaultSubnetwork, err := compute.NewSubnetwork(ctx, "default", &compute.SubnetworkArgs{ Name: pulumi.String("workstation-cluster"), IpCidrRange: pulumi.String("10.0.0.0/24"), Region: pulumi.String("us-central1"), Network: _default.Name, }) if err != nil { return err } defaultWorkstationCluster, err := workstations.NewWorkstationCluster(ctx, "default", &workstations.WorkstationClusterArgs{ WorkstationClusterId: pulumi.String("workstation-cluster"), Network: _default.ID(), Subnetwork: defaultSubnetwork.ID(), Location: pulumi.String("us-central1"), Labels: pulumi.StringMap{ "label": pulumi.String("key"), }, Annotations: pulumi.StringMap{ "label-one": pulumi.String("value-one"), }, }) if err != nil { return err } _, err = workstations.NewWorkstationConfig(ctx, "default", &workstations.WorkstationConfigArgs{ WorkstationConfigId: pulumi.String("workstation-config"), WorkstationClusterId: defaultWorkstationCluster.WorkstationClusterId, Location: pulumi.String("us-central1"), Host: &workstations.WorkstationConfigHostArgs{ GceInstance: &workstations.WorkstationConfigHostGceInstanceArgs{ MachineType: pulumi.String("e2-standard-4"), BootDiskSizeGb: pulumi.Int(35), DisablePublicIpAddresses: pulumi.Bool(true), BoostConfigs: workstations.WorkstationConfigHostGceInstanceBoostConfigArray{ &workstations.WorkstationConfigHostGceInstanceBoostConfigArgs{ Id: pulumi.String("boost-1"), MachineType: pulumi.String("n1-standard-2"), Accelerators: workstations.WorkstationConfigHostGceInstanceBoostConfigAcceleratorArray{ &workstations.WorkstationConfigHostGceInstanceBoostConfigAcceleratorArgs{ Type: pulumi.String("nvidia-tesla-t4"), Count: pulumi.Int(1), }, }, }, &workstations.WorkstationConfigHostGceInstanceBoostConfigArgs{ Id: pulumi.String("boost-2"), MachineType: pulumi.String("n1-standard-2"), PoolSize: pulumi.Int(2), BootDiskSizeGb: pulumi.Int(30), EnableNestedVirtualization: pulumi.Bool(true), }, }, }, }, }) if err != nil { return err } return nil }) }
``` ### Workstation Config Encryption Key
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/compute" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/kms" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/serviceaccount" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/workstations" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := compute.NewNetwork(ctx, "default", &compute.NetworkArgs{ Name: pulumi.String("workstation-cluster"), AutoCreateSubnetworks: pulumi.Bool(false), }) if err != nil { return err } defaultSubnetwork, err := compute.NewSubnetwork(ctx, "default", &compute.SubnetworkArgs{ Name: pulumi.String("workstation-cluster"), IpCidrRange: pulumi.String("10.0.0.0/24"), Region: pulumi.String("us-central1"), Network: _default.Name, }) if err != nil { return err } defaultWorkstationCluster, err := workstations.NewWorkstationCluster(ctx, "default", &workstations.WorkstationClusterArgs{ WorkstationClusterId: pulumi.String("workstation-cluster"), Network: _default.ID(), Subnetwork: defaultSubnetwork.ID(), Location: pulumi.String("us-central1"), Labels: pulumi.StringMap{ "label": pulumi.String("key"), }, Annotations: pulumi.StringMap{ "label-one": pulumi.String("value-one"), }, }) if err != nil { return err } defaultKeyRing, err := kms.NewKeyRing(ctx, "default", &kms.KeyRingArgs{ Name: pulumi.String("workstation-cluster"), Location: pulumi.String("us-central1"), }) if err != nil { return err } defaultCryptoKey, err := kms.NewCryptoKey(ctx, "default", &kms.CryptoKeyArgs{ Name: pulumi.String("workstation-cluster"), KeyRing: defaultKeyRing.ID(), }) if err != nil { return err } defaultAccount, err := serviceaccount.NewAccount(ctx, "default", &serviceaccount.AccountArgs{ AccountId: pulumi.String("my-account"), DisplayName: pulumi.String("Service Account"), }) if err != nil { return err } _, err = workstations.NewWorkstationConfig(ctx, "default", &workstations.WorkstationConfigArgs{ WorkstationConfigId: pulumi.String("workstation-config"), WorkstationClusterId: defaultWorkstationCluster.WorkstationClusterId, Location: pulumi.String("us-central1"), Host: &workstations.WorkstationConfigHostArgs{ GceInstance: &workstations.WorkstationConfigHostGceInstanceArgs{ MachineType: pulumi.String("e2-standard-4"), BootDiskSizeGb: pulumi.Int(35), DisablePublicIpAddresses: pulumi.Bool(true), ShieldedInstanceConfig: &workstations.WorkstationConfigHostGceInstanceShieldedInstanceConfigArgs{ EnableSecureBoot: pulumi.Bool(true), EnableVtpm: pulumi.Bool(true), }, }, }, EncryptionKey: &workstations.WorkstationConfigEncryptionKeyArgs{ KmsKey: defaultCryptoKey.ID(), KmsKeyServiceAccount: defaultAccount.Email, }, }) if err != nil { return err } return nil }) }
```
## Import
WorkstationConfig can be imported using any of these accepted formats:
* `projects/{{project}}/locations/{{location}}/workstationClusters/{{workstation_cluster_id}}/workstationConfigs/{{workstation_config_id}}`
* `{{project}}/{{location}}/{{workstation_cluster_id}}/{{workstation_config_id}}`
* `{{location}}/{{workstation_cluster_id}}/{{workstation_config_id}}`
When using the `pulumi import` command, WorkstationConfig can be imported using one of the formats above. For example:
```sh $ pulumi import gcp:workstations/workstationConfig:WorkstationConfig default projects/{{project}}/locations/{{location}}/workstationClusters/{{workstation_cluster_id}}/workstationConfigs/{{workstation_config_id}} ```
```sh $ pulumi import gcp:workstations/workstationConfig:WorkstationConfig default {{project}}/{{location}}/{{workstation_cluster_id}}/{{workstation_config_id}} ```
```sh $ pulumi import gcp:workstations/workstationConfig:WorkstationConfig default {{location}}/{{workstation_cluster_id}}/{{workstation_config_id}} ```
func GetWorkstationConfig ¶
func GetWorkstationConfig(ctx *pulumi.Context, name string, id pulumi.IDInput, state *WorkstationConfigState, opts ...pulumi.ResourceOption) (*WorkstationConfig, error)
GetWorkstationConfig gets an existing WorkstationConfig resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewWorkstationConfig ¶
func NewWorkstationConfig(ctx *pulumi.Context, name string, args *WorkstationConfigArgs, opts ...pulumi.ResourceOption) (*WorkstationConfig, error)
NewWorkstationConfig registers a new resource with the given unique name, arguments, and options.
func (*WorkstationConfig) ElementType ¶
func (*WorkstationConfig) ElementType() reflect.Type
func (*WorkstationConfig) ToWorkstationConfigOutput ¶
func (i *WorkstationConfig) ToWorkstationConfigOutput() WorkstationConfigOutput
func (*WorkstationConfig) ToWorkstationConfigOutputWithContext ¶
func (i *WorkstationConfig) ToWorkstationConfigOutputWithContext(ctx context.Context) WorkstationConfigOutput
type WorkstationConfigArgs ¶
type WorkstationConfigArgs struct { // Client-specified annotations. This is distinct from labels. // **Note**: This field is non-authoritative, and will only manage the annotations present in your configuration. // Please refer to the field `effectiveAnnotations` for all of the annotations present on the resource. Annotations pulumi.StringMapInput // Container that will be run for each workstation using this configuration when that workstation is started. // Structure is documented below. Container WorkstationConfigContainerPtrInput // Disables support for plain TCP connections in the workstation. By default the service supports TCP connections via a websocket relay. Setting this option to true disables that relay, which prevents the usage of services that require plain tcp connections, such as ssh. When enabled, all communication must occur over https or wss. DisableTcpConnections pulumi.BoolPtrInput // Human-readable name for this resource. DisplayName pulumi.StringPtrInput // Whether to enable Linux `auditd` logging on the workstation. When enabled, a service account must also be specified that has `logging.buckets.write` permission on the project. Operating system audit logging is distinct from Cloud Audit Logs. EnableAuditAgent pulumi.BoolPtrInput // Encrypts resources of this workstation configuration using a customer-managed encryption key. // If specified, the boot disk of the Compute Engine instance and the persistent disk are encrypted using this encryption key. If this field is not set, the disks are encrypted using a generated key. Customer-managed encryption keys do not protect disk metadata. // If the customer-managed encryption key is rotated, when the workstation instance is stopped, the system attempts to recreate the persistent disk with the new version of the key. Be sure to keep older versions of the key until the persistent disk is recreated. Otherwise, data on the persistent disk will be lost. // If the encryption key is revoked, the workstation session will automatically be stopped within 7 hours. // Structure is documented below. EncryptionKey WorkstationConfigEncryptionKeyPtrInput // Ephemeral directories which won't persist across workstation sessions. // Structure is documented below. EphemeralDirectories WorkstationConfigEphemeralDirectoryArrayInput // Runtime host for a workstation. // Structure is documented below. Host WorkstationConfigHostPtrInput // How long to wait before automatically stopping an instance that hasn't recently received any user traffic. A value of 0 indicates that this instance should never time out from idleness. Defaults to 20 minutes. // A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s". IdleTimeout pulumi.StringPtrInput // Client-specified labels that are applied to the resource and that are also propagated to the underlying Compute Engine resources. // **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. // Please refer to the field `effectiveLabels` for all of the labels present on the resource. Labels pulumi.StringMapInput // The location where the workstation cluster config should reside. // // *** Location pulumi.StringInput // Directories to persist across workstation sessions. // Structure is documented below. PersistentDirectories WorkstationConfigPersistentDirectoryArrayInput // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project pulumi.StringPtrInput // Readiness checks to be performed on a workstation. // Structure is documented below. ReadinessChecks WorkstationConfigReadinessCheckArrayInput // Specifies the zones used to replicate the VM and disk resources within the region. If set, exactly two zones within the workstation cluster's region must be specified—for example, `['us-central1-a', 'us-central1-f']`. // If this field is empty, two default zones within the region are used. Immutable after the workstation configuration is created. ReplicaZones pulumi.StringArrayInput // How long to wait before automatically stopping a workstation after it was started. A value of 0 indicates that workstations using this configuration should never time out from running duration. Must be greater than 0 and less than 24 hours if `encryptionKey` is set. Defaults to 12 hours. // A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s". RunningTimeout pulumi.StringPtrInput // The ID of the parent workstation cluster. WorkstationClusterId pulumi.StringInput // The ID to be assigned to the workstation cluster config. WorkstationConfigId pulumi.StringInput }
The set of arguments for constructing a WorkstationConfig resource.
func (WorkstationConfigArgs) ElementType ¶
func (WorkstationConfigArgs) ElementType() reflect.Type
type WorkstationConfigArray ¶
type WorkstationConfigArray []WorkstationConfigInput
func (WorkstationConfigArray) ElementType ¶
func (WorkstationConfigArray) ElementType() reflect.Type
func (WorkstationConfigArray) ToWorkstationConfigArrayOutput ¶
func (i WorkstationConfigArray) ToWorkstationConfigArrayOutput() WorkstationConfigArrayOutput
func (WorkstationConfigArray) ToWorkstationConfigArrayOutputWithContext ¶
func (i WorkstationConfigArray) ToWorkstationConfigArrayOutputWithContext(ctx context.Context) WorkstationConfigArrayOutput
type WorkstationConfigArrayInput ¶
type WorkstationConfigArrayInput interface { pulumi.Input ToWorkstationConfigArrayOutput() WorkstationConfigArrayOutput ToWorkstationConfigArrayOutputWithContext(context.Context) WorkstationConfigArrayOutput }
WorkstationConfigArrayInput is an input type that accepts WorkstationConfigArray and WorkstationConfigArrayOutput values. You can construct a concrete instance of `WorkstationConfigArrayInput` via:
WorkstationConfigArray{ WorkstationConfigArgs{...} }
type WorkstationConfigArrayOutput ¶
type WorkstationConfigArrayOutput struct{ *pulumi.OutputState }
func (WorkstationConfigArrayOutput) ElementType ¶
func (WorkstationConfigArrayOutput) ElementType() reflect.Type
func (WorkstationConfigArrayOutput) Index ¶
func (o WorkstationConfigArrayOutput) Index(i pulumi.IntInput) WorkstationConfigOutput
func (WorkstationConfigArrayOutput) ToWorkstationConfigArrayOutput ¶
func (o WorkstationConfigArrayOutput) ToWorkstationConfigArrayOutput() WorkstationConfigArrayOutput
func (WorkstationConfigArrayOutput) ToWorkstationConfigArrayOutputWithContext ¶
func (o WorkstationConfigArrayOutput) ToWorkstationConfigArrayOutputWithContext(ctx context.Context) WorkstationConfigArrayOutput
type WorkstationConfigCondition ¶
type WorkstationConfigCondition struct { // (Output) // The status code, which should be an enum value of google.rpc.Code. Code *int `pulumi:"code"` // (Output) // A list of messages that carry the error details. Details []map[string]string `pulumi:"details"` // (Output) // Human readable message indicating details about the current status. Message *string `pulumi:"message"` }
type WorkstationConfigConditionArgs ¶
type WorkstationConfigConditionArgs struct { // (Output) // The status code, which should be an enum value of google.rpc.Code. Code pulumi.IntPtrInput `pulumi:"code"` // (Output) // A list of messages that carry the error details. Details pulumi.StringMapArrayInput `pulumi:"details"` // (Output) // Human readable message indicating details about the current status. Message pulumi.StringPtrInput `pulumi:"message"` }
func (WorkstationConfigConditionArgs) ElementType ¶
func (WorkstationConfigConditionArgs) ElementType() reflect.Type
func (WorkstationConfigConditionArgs) ToWorkstationConfigConditionOutput ¶
func (i WorkstationConfigConditionArgs) ToWorkstationConfigConditionOutput() WorkstationConfigConditionOutput
func (WorkstationConfigConditionArgs) ToWorkstationConfigConditionOutputWithContext ¶
func (i WorkstationConfigConditionArgs) ToWorkstationConfigConditionOutputWithContext(ctx context.Context) WorkstationConfigConditionOutput
type WorkstationConfigConditionArray ¶
type WorkstationConfigConditionArray []WorkstationConfigConditionInput
func (WorkstationConfigConditionArray) ElementType ¶
func (WorkstationConfigConditionArray) ElementType() reflect.Type
func (WorkstationConfigConditionArray) ToWorkstationConfigConditionArrayOutput ¶
func (i WorkstationConfigConditionArray) ToWorkstationConfigConditionArrayOutput() WorkstationConfigConditionArrayOutput
func (WorkstationConfigConditionArray) ToWorkstationConfigConditionArrayOutputWithContext ¶
func (i WorkstationConfigConditionArray) ToWorkstationConfigConditionArrayOutputWithContext(ctx context.Context) WorkstationConfigConditionArrayOutput
type WorkstationConfigConditionArrayInput ¶
type WorkstationConfigConditionArrayInput interface { pulumi.Input ToWorkstationConfigConditionArrayOutput() WorkstationConfigConditionArrayOutput ToWorkstationConfigConditionArrayOutputWithContext(context.Context) WorkstationConfigConditionArrayOutput }
WorkstationConfigConditionArrayInput is an input type that accepts WorkstationConfigConditionArray and WorkstationConfigConditionArrayOutput values. You can construct a concrete instance of `WorkstationConfigConditionArrayInput` via:
WorkstationConfigConditionArray{ WorkstationConfigConditionArgs{...} }
type WorkstationConfigConditionArrayOutput ¶
type WorkstationConfigConditionArrayOutput struct{ *pulumi.OutputState }
func (WorkstationConfigConditionArrayOutput) ElementType ¶
func (WorkstationConfigConditionArrayOutput) ElementType() reflect.Type
func (WorkstationConfigConditionArrayOutput) Index ¶
func (o WorkstationConfigConditionArrayOutput) Index(i pulumi.IntInput) WorkstationConfigConditionOutput
func (WorkstationConfigConditionArrayOutput) ToWorkstationConfigConditionArrayOutput ¶
func (o WorkstationConfigConditionArrayOutput) ToWorkstationConfigConditionArrayOutput() WorkstationConfigConditionArrayOutput
func (WorkstationConfigConditionArrayOutput) ToWorkstationConfigConditionArrayOutputWithContext ¶
func (o WorkstationConfigConditionArrayOutput) ToWorkstationConfigConditionArrayOutputWithContext(ctx context.Context) WorkstationConfigConditionArrayOutput
type WorkstationConfigConditionInput ¶
type WorkstationConfigConditionInput interface { pulumi.Input ToWorkstationConfigConditionOutput() WorkstationConfigConditionOutput ToWorkstationConfigConditionOutputWithContext(context.Context) WorkstationConfigConditionOutput }
WorkstationConfigConditionInput is an input type that accepts WorkstationConfigConditionArgs and WorkstationConfigConditionOutput values. You can construct a concrete instance of `WorkstationConfigConditionInput` via:
WorkstationConfigConditionArgs{...}
type WorkstationConfigConditionOutput ¶
type WorkstationConfigConditionOutput struct{ *pulumi.OutputState }
func (WorkstationConfigConditionOutput) Code ¶
func (o WorkstationConfigConditionOutput) Code() pulumi.IntPtrOutput
(Output) The status code, which should be an enum value of google.rpc.Code.
func (WorkstationConfigConditionOutput) Details ¶
func (o WorkstationConfigConditionOutput) Details() pulumi.StringMapArrayOutput
(Output) A list of messages that carry the error details.
func (WorkstationConfigConditionOutput) ElementType ¶
func (WorkstationConfigConditionOutput) ElementType() reflect.Type
func (WorkstationConfigConditionOutput) Message ¶
func (o WorkstationConfigConditionOutput) Message() pulumi.StringPtrOutput
(Output) Human readable message indicating details about the current status.
func (WorkstationConfigConditionOutput) ToWorkstationConfigConditionOutput ¶
func (o WorkstationConfigConditionOutput) ToWorkstationConfigConditionOutput() WorkstationConfigConditionOutput
func (WorkstationConfigConditionOutput) ToWorkstationConfigConditionOutputWithContext ¶
func (o WorkstationConfigConditionOutput) ToWorkstationConfigConditionOutputWithContext(ctx context.Context) WorkstationConfigConditionOutput
type WorkstationConfigContainer ¶
type WorkstationConfigContainer struct { // Arguments passed to the entrypoint. Args []string `pulumi:"args"` // If set, overrides the default ENTRYPOINT specified by the image. Commands []string `pulumi:"commands"` // Environment variables passed to the container. // The elements are of the form "KEY=VALUE" for the environment variable "KEY" being given the value "VALUE". Env map[string]string `pulumi:"env"` // Docker image defining the container. This image must be accessible by the config's service account. Image *string `pulumi:"image"` // If set, overrides the USER specified in the image with the given uid. RunAsUser *int `pulumi:"runAsUser"` // If set, overrides the default DIR specified by the image. WorkingDir *string `pulumi:"workingDir"` }
type WorkstationConfigContainerArgs ¶
type WorkstationConfigContainerArgs struct { // Arguments passed to the entrypoint. Args pulumi.StringArrayInput `pulumi:"args"` // If set, overrides the default ENTRYPOINT specified by the image. Commands pulumi.StringArrayInput `pulumi:"commands"` // Environment variables passed to the container. // The elements are of the form "KEY=VALUE" for the environment variable "KEY" being given the value "VALUE". Env pulumi.StringMapInput `pulumi:"env"` // Docker image defining the container. This image must be accessible by the config's service account. Image pulumi.StringPtrInput `pulumi:"image"` // If set, overrides the USER specified in the image with the given uid. RunAsUser pulumi.IntPtrInput `pulumi:"runAsUser"` // If set, overrides the default DIR specified by the image. WorkingDir pulumi.StringPtrInput `pulumi:"workingDir"` }
func (WorkstationConfigContainerArgs) ElementType ¶
func (WorkstationConfigContainerArgs) ElementType() reflect.Type
func (WorkstationConfigContainerArgs) ToWorkstationConfigContainerOutput ¶
func (i WorkstationConfigContainerArgs) ToWorkstationConfigContainerOutput() WorkstationConfigContainerOutput
func (WorkstationConfigContainerArgs) ToWorkstationConfigContainerOutputWithContext ¶
func (i WorkstationConfigContainerArgs) ToWorkstationConfigContainerOutputWithContext(ctx context.Context) WorkstationConfigContainerOutput
func (WorkstationConfigContainerArgs) ToWorkstationConfigContainerPtrOutput ¶
func (i WorkstationConfigContainerArgs) ToWorkstationConfigContainerPtrOutput() WorkstationConfigContainerPtrOutput
func (WorkstationConfigContainerArgs) ToWorkstationConfigContainerPtrOutputWithContext ¶
func (i WorkstationConfigContainerArgs) ToWorkstationConfigContainerPtrOutputWithContext(ctx context.Context) WorkstationConfigContainerPtrOutput
type WorkstationConfigContainerInput ¶
type WorkstationConfigContainerInput interface { pulumi.Input ToWorkstationConfigContainerOutput() WorkstationConfigContainerOutput ToWorkstationConfigContainerOutputWithContext(context.Context) WorkstationConfigContainerOutput }
WorkstationConfigContainerInput is an input type that accepts WorkstationConfigContainerArgs and WorkstationConfigContainerOutput values. You can construct a concrete instance of `WorkstationConfigContainerInput` via:
WorkstationConfigContainerArgs{...}
type WorkstationConfigContainerOutput ¶
type WorkstationConfigContainerOutput struct{ *pulumi.OutputState }
func (WorkstationConfigContainerOutput) Args ¶
func (o WorkstationConfigContainerOutput) Args() pulumi.StringArrayOutput
Arguments passed to the entrypoint.
func (WorkstationConfigContainerOutput) Commands ¶
func (o WorkstationConfigContainerOutput) Commands() pulumi.StringArrayOutput
If set, overrides the default ENTRYPOINT specified by the image.
func (WorkstationConfigContainerOutput) ElementType ¶
func (WorkstationConfigContainerOutput) ElementType() reflect.Type
func (WorkstationConfigContainerOutput) Env ¶
func (o WorkstationConfigContainerOutput) Env() pulumi.StringMapOutput
Environment variables passed to the container. The elements are of the form "KEY=VALUE" for the environment variable "KEY" being given the value "VALUE".
func (WorkstationConfigContainerOutput) Image ¶
func (o WorkstationConfigContainerOutput) Image() pulumi.StringPtrOutput
Docker image defining the container. This image must be accessible by the config's service account.
func (WorkstationConfigContainerOutput) RunAsUser ¶
func (o WorkstationConfigContainerOutput) RunAsUser() pulumi.IntPtrOutput
If set, overrides the USER specified in the image with the given uid.
func (WorkstationConfigContainerOutput) ToWorkstationConfigContainerOutput ¶
func (o WorkstationConfigContainerOutput) ToWorkstationConfigContainerOutput() WorkstationConfigContainerOutput
func (WorkstationConfigContainerOutput) ToWorkstationConfigContainerOutputWithContext ¶
func (o WorkstationConfigContainerOutput) ToWorkstationConfigContainerOutputWithContext(ctx context.Context) WorkstationConfigContainerOutput
func (WorkstationConfigContainerOutput) ToWorkstationConfigContainerPtrOutput ¶
func (o WorkstationConfigContainerOutput) ToWorkstationConfigContainerPtrOutput() WorkstationConfigContainerPtrOutput
func (WorkstationConfigContainerOutput) ToWorkstationConfigContainerPtrOutputWithContext ¶
func (o WorkstationConfigContainerOutput) ToWorkstationConfigContainerPtrOutputWithContext(ctx context.Context) WorkstationConfigContainerPtrOutput
func (WorkstationConfigContainerOutput) WorkingDir ¶
func (o WorkstationConfigContainerOutput) WorkingDir() pulumi.StringPtrOutput
If set, overrides the default DIR specified by the image.
type WorkstationConfigContainerPtrInput ¶
type WorkstationConfigContainerPtrInput interface { pulumi.Input ToWorkstationConfigContainerPtrOutput() WorkstationConfigContainerPtrOutput ToWorkstationConfigContainerPtrOutputWithContext(context.Context) WorkstationConfigContainerPtrOutput }
WorkstationConfigContainerPtrInput is an input type that accepts WorkstationConfigContainerArgs, WorkstationConfigContainerPtr and WorkstationConfigContainerPtrOutput values. You can construct a concrete instance of `WorkstationConfigContainerPtrInput` via:
WorkstationConfigContainerArgs{...} or: nil
func WorkstationConfigContainerPtr ¶
func WorkstationConfigContainerPtr(v *WorkstationConfigContainerArgs) WorkstationConfigContainerPtrInput
type WorkstationConfigContainerPtrOutput ¶
type WorkstationConfigContainerPtrOutput struct{ *pulumi.OutputState }
func (WorkstationConfigContainerPtrOutput) Args ¶
func (o WorkstationConfigContainerPtrOutput) Args() pulumi.StringArrayOutput
Arguments passed to the entrypoint.
func (WorkstationConfigContainerPtrOutput) Commands ¶
func (o WorkstationConfigContainerPtrOutput) Commands() pulumi.StringArrayOutput
If set, overrides the default ENTRYPOINT specified by the image.
func (WorkstationConfigContainerPtrOutput) Elem ¶
func (o WorkstationConfigContainerPtrOutput) Elem() WorkstationConfigContainerOutput
func (WorkstationConfigContainerPtrOutput) ElementType ¶
func (WorkstationConfigContainerPtrOutput) ElementType() reflect.Type
func (WorkstationConfigContainerPtrOutput) Env ¶
func (o WorkstationConfigContainerPtrOutput) Env() pulumi.StringMapOutput
Environment variables passed to the container. The elements are of the form "KEY=VALUE" for the environment variable "KEY" being given the value "VALUE".
func (WorkstationConfigContainerPtrOutput) Image ¶
func (o WorkstationConfigContainerPtrOutput) Image() pulumi.StringPtrOutput
Docker image defining the container. This image must be accessible by the config's service account.
func (WorkstationConfigContainerPtrOutput) RunAsUser ¶
func (o WorkstationConfigContainerPtrOutput) RunAsUser() pulumi.IntPtrOutput
If set, overrides the USER specified in the image with the given uid.
func (WorkstationConfigContainerPtrOutput) ToWorkstationConfigContainerPtrOutput ¶
func (o WorkstationConfigContainerPtrOutput) ToWorkstationConfigContainerPtrOutput() WorkstationConfigContainerPtrOutput
func (WorkstationConfigContainerPtrOutput) ToWorkstationConfigContainerPtrOutputWithContext ¶
func (o WorkstationConfigContainerPtrOutput) ToWorkstationConfigContainerPtrOutputWithContext(ctx context.Context) WorkstationConfigContainerPtrOutput
func (WorkstationConfigContainerPtrOutput) WorkingDir ¶
func (o WorkstationConfigContainerPtrOutput) WorkingDir() pulumi.StringPtrOutput
If set, overrides the default DIR specified by the image.
type WorkstationConfigEncryptionKeyArgs ¶
type WorkstationConfigEncryptionKeyArgs struct { // The name of the Google Cloud KMS encryption key. KmsKey pulumi.StringInput `pulumi:"kmsKey"` // The service account to use with the specified KMS key. KmsKeyServiceAccount pulumi.StringInput `pulumi:"kmsKeyServiceAccount"` }
func (WorkstationConfigEncryptionKeyArgs) ElementType ¶
func (WorkstationConfigEncryptionKeyArgs) ElementType() reflect.Type
func (WorkstationConfigEncryptionKeyArgs) ToWorkstationConfigEncryptionKeyOutput ¶
func (i WorkstationConfigEncryptionKeyArgs) ToWorkstationConfigEncryptionKeyOutput() WorkstationConfigEncryptionKeyOutput
func (WorkstationConfigEncryptionKeyArgs) ToWorkstationConfigEncryptionKeyOutputWithContext ¶
func (i WorkstationConfigEncryptionKeyArgs) ToWorkstationConfigEncryptionKeyOutputWithContext(ctx context.Context) WorkstationConfigEncryptionKeyOutput
func (WorkstationConfigEncryptionKeyArgs) ToWorkstationConfigEncryptionKeyPtrOutput ¶
func (i WorkstationConfigEncryptionKeyArgs) ToWorkstationConfigEncryptionKeyPtrOutput() WorkstationConfigEncryptionKeyPtrOutput
func (WorkstationConfigEncryptionKeyArgs) ToWorkstationConfigEncryptionKeyPtrOutputWithContext ¶
func (i WorkstationConfigEncryptionKeyArgs) ToWorkstationConfigEncryptionKeyPtrOutputWithContext(ctx context.Context) WorkstationConfigEncryptionKeyPtrOutput
type WorkstationConfigEncryptionKeyInput ¶
type WorkstationConfigEncryptionKeyInput interface { pulumi.Input ToWorkstationConfigEncryptionKeyOutput() WorkstationConfigEncryptionKeyOutput ToWorkstationConfigEncryptionKeyOutputWithContext(context.Context) WorkstationConfigEncryptionKeyOutput }
WorkstationConfigEncryptionKeyInput is an input type that accepts WorkstationConfigEncryptionKeyArgs and WorkstationConfigEncryptionKeyOutput values. You can construct a concrete instance of `WorkstationConfigEncryptionKeyInput` via:
WorkstationConfigEncryptionKeyArgs{...}
type WorkstationConfigEncryptionKeyOutput ¶
type WorkstationConfigEncryptionKeyOutput struct{ *pulumi.OutputState }
func (WorkstationConfigEncryptionKeyOutput) ElementType ¶
func (WorkstationConfigEncryptionKeyOutput) ElementType() reflect.Type
func (WorkstationConfigEncryptionKeyOutput) KmsKey ¶
func (o WorkstationConfigEncryptionKeyOutput) KmsKey() pulumi.StringOutput
The name of the Google Cloud KMS encryption key.
func (WorkstationConfigEncryptionKeyOutput) KmsKeyServiceAccount ¶
func (o WorkstationConfigEncryptionKeyOutput) KmsKeyServiceAccount() pulumi.StringOutput
The service account to use with the specified KMS key.
func (WorkstationConfigEncryptionKeyOutput) ToWorkstationConfigEncryptionKeyOutput ¶
func (o WorkstationConfigEncryptionKeyOutput) ToWorkstationConfigEncryptionKeyOutput() WorkstationConfigEncryptionKeyOutput
func (WorkstationConfigEncryptionKeyOutput) ToWorkstationConfigEncryptionKeyOutputWithContext ¶
func (o WorkstationConfigEncryptionKeyOutput) ToWorkstationConfigEncryptionKeyOutputWithContext(ctx context.Context) WorkstationConfigEncryptionKeyOutput
func (WorkstationConfigEncryptionKeyOutput) ToWorkstationConfigEncryptionKeyPtrOutput ¶
func (o WorkstationConfigEncryptionKeyOutput) ToWorkstationConfigEncryptionKeyPtrOutput() WorkstationConfigEncryptionKeyPtrOutput
func (WorkstationConfigEncryptionKeyOutput) ToWorkstationConfigEncryptionKeyPtrOutputWithContext ¶
func (o WorkstationConfigEncryptionKeyOutput) ToWorkstationConfigEncryptionKeyPtrOutputWithContext(ctx context.Context) WorkstationConfigEncryptionKeyPtrOutput
type WorkstationConfigEncryptionKeyPtrInput ¶
type WorkstationConfigEncryptionKeyPtrInput interface { pulumi.Input ToWorkstationConfigEncryptionKeyPtrOutput() WorkstationConfigEncryptionKeyPtrOutput ToWorkstationConfigEncryptionKeyPtrOutputWithContext(context.Context) WorkstationConfigEncryptionKeyPtrOutput }
WorkstationConfigEncryptionKeyPtrInput is an input type that accepts WorkstationConfigEncryptionKeyArgs, WorkstationConfigEncryptionKeyPtr and WorkstationConfigEncryptionKeyPtrOutput values. You can construct a concrete instance of `WorkstationConfigEncryptionKeyPtrInput` via:
WorkstationConfigEncryptionKeyArgs{...} or: nil
func WorkstationConfigEncryptionKeyPtr ¶
func WorkstationConfigEncryptionKeyPtr(v *WorkstationConfigEncryptionKeyArgs) WorkstationConfigEncryptionKeyPtrInput
type WorkstationConfigEncryptionKeyPtrOutput ¶
type WorkstationConfigEncryptionKeyPtrOutput struct{ *pulumi.OutputState }
func (WorkstationConfigEncryptionKeyPtrOutput) ElementType ¶
func (WorkstationConfigEncryptionKeyPtrOutput) ElementType() reflect.Type
func (WorkstationConfigEncryptionKeyPtrOutput) KmsKey ¶
func (o WorkstationConfigEncryptionKeyPtrOutput) KmsKey() pulumi.StringPtrOutput
The name of the Google Cloud KMS encryption key.
func (WorkstationConfigEncryptionKeyPtrOutput) KmsKeyServiceAccount ¶
func (o WorkstationConfigEncryptionKeyPtrOutput) KmsKeyServiceAccount() pulumi.StringPtrOutput
The service account to use with the specified KMS key.
func (WorkstationConfigEncryptionKeyPtrOutput) ToWorkstationConfigEncryptionKeyPtrOutput ¶
func (o WorkstationConfigEncryptionKeyPtrOutput) ToWorkstationConfigEncryptionKeyPtrOutput() WorkstationConfigEncryptionKeyPtrOutput
func (WorkstationConfigEncryptionKeyPtrOutput) ToWorkstationConfigEncryptionKeyPtrOutputWithContext ¶
func (o WorkstationConfigEncryptionKeyPtrOutput) ToWorkstationConfigEncryptionKeyPtrOutputWithContext(ctx context.Context) WorkstationConfigEncryptionKeyPtrOutput
type WorkstationConfigEphemeralDirectory ¶
type WorkstationConfigEphemeralDirectory struct { // An EphemeralDirectory backed by a Compute Engine persistent disk. // Structure is documented below. GcePd *WorkstationConfigEphemeralDirectoryGcePd `pulumi:"gcePd"` // Location of this directory in the running workstation. MountPath *string `pulumi:"mountPath"` }
type WorkstationConfigEphemeralDirectoryArgs ¶
type WorkstationConfigEphemeralDirectoryArgs struct { // An EphemeralDirectory backed by a Compute Engine persistent disk. // Structure is documented below. GcePd WorkstationConfigEphemeralDirectoryGcePdPtrInput `pulumi:"gcePd"` // Location of this directory in the running workstation. MountPath pulumi.StringPtrInput `pulumi:"mountPath"` }
func (WorkstationConfigEphemeralDirectoryArgs) ElementType ¶
func (WorkstationConfigEphemeralDirectoryArgs) ElementType() reflect.Type
func (WorkstationConfigEphemeralDirectoryArgs) ToWorkstationConfigEphemeralDirectoryOutput ¶
func (i WorkstationConfigEphemeralDirectoryArgs) ToWorkstationConfigEphemeralDirectoryOutput() WorkstationConfigEphemeralDirectoryOutput
func (WorkstationConfigEphemeralDirectoryArgs) ToWorkstationConfigEphemeralDirectoryOutputWithContext ¶
func (i WorkstationConfigEphemeralDirectoryArgs) ToWorkstationConfigEphemeralDirectoryOutputWithContext(ctx context.Context) WorkstationConfigEphemeralDirectoryOutput
type WorkstationConfigEphemeralDirectoryArray ¶
type WorkstationConfigEphemeralDirectoryArray []WorkstationConfigEphemeralDirectoryInput
func (WorkstationConfigEphemeralDirectoryArray) ElementType ¶
func (WorkstationConfigEphemeralDirectoryArray) ElementType() reflect.Type
func (WorkstationConfigEphemeralDirectoryArray) ToWorkstationConfigEphemeralDirectoryArrayOutput ¶
func (i WorkstationConfigEphemeralDirectoryArray) ToWorkstationConfigEphemeralDirectoryArrayOutput() WorkstationConfigEphemeralDirectoryArrayOutput
func (WorkstationConfigEphemeralDirectoryArray) ToWorkstationConfigEphemeralDirectoryArrayOutputWithContext ¶
func (i WorkstationConfigEphemeralDirectoryArray) ToWorkstationConfigEphemeralDirectoryArrayOutputWithContext(ctx context.Context) WorkstationConfigEphemeralDirectoryArrayOutput
type WorkstationConfigEphemeralDirectoryArrayInput ¶
type WorkstationConfigEphemeralDirectoryArrayInput interface { pulumi.Input ToWorkstationConfigEphemeralDirectoryArrayOutput() WorkstationConfigEphemeralDirectoryArrayOutput ToWorkstationConfigEphemeralDirectoryArrayOutputWithContext(context.Context) WorkstationConfigEphemeralDirectoryArrayOutput }
WorkstationConfigEphemeralDirectoryArrayInput is an input type that accepts WorkstationConfigEphemeralDirectoryArray and WorkstationConfigEphemeralDirectoryArrayOutput values. You can construct a concrete instance of `WorkstationConfigEphemeralDirectoryArrayInput` via:
WorkstationConfigEphemeralDirectoryArray{ WorkstationConfigEphemeralDirectoryArgs{...} }
type WorkstationConfigEphemeralDirectoryArrayOutput ¶
type WorkstationConfigEphemeralDirectoryArrayOutput struct{ *pulumi.OutputState }
func (WorkstationConfigEphemeralDirectoryArrayOutput) ElementType ¶
func (WorkstationConfigEphemeralDirectoryArrayOutput) ElementType() reflect.Type
func (WorkstationConfigEphemeralDirectoryArrayOutput) ToWorkstationConfigEphemeralDirectoryArrayOutput ¶
func (o WorkstationConfigEphemeralDirectoryArrayOutput) ToWorkstationConfigEphemeralDirectoryArrayOutput() WorkstationConfigEphemeralDirectoryArrayOutput
func (WorkstationConfigEphemeralDirectoryArrayOutput) ToWorkstationConfigEphemeralDirectoryArrayOutputWithContext ¶
func (o WorkstationConfigEphemeralDirectoryArrayOutput) ToWorkstationConfigEphemeralDirectoryArrayOutputWithContext(ctx context.Context) WorkstationConfigEphemeralDirectoryArrayOutput
type WorkstationConfigEphemeralDirectoryGcePd ¶
type WorkstationConfigEphemeralDirectoryGcePd struct { // Type of the disk to use. Defaults to `"pd-standard"`. DiskType *string `pulumi:"diskType"` // Whether the disk is read only. If true, the disk may be shared by multiple VMs and `sourceSnapshot` must be set. ReadOnly *bool `pulumi:"readOnly"` // Name of the disk image to use as the source for the disk. // Must be empty `sourceSnapshot` is set. // Updating `sourceImage` will update content in the ephemeral directory after the workstation is restarted. SourceImage *string `pulumi:"sourceImage"` // Name of the snapshot to use as the source for the disk. // Must be empty if `sourceImage` is set. // Must be empty if `readOnly` is false. // Updating `sourceSnapshot` will update content in the ephemeral directory after the workstation is restarted. SourceSnapshot *string `pulumi:"sourceSnapshot"` }
type WorkstationConfigEphemeralDirectoryGcePdArgs ¶
type WorkstationConfigEphemeralDirectoryGcePdArgs struct { // Type of the disk to use. Defaults to `"pd-standard"`. DiskType pulumi.StringPtrInput `pulumi:"diskType"` // Whether the disk is read only. If true, the disk may be shared by multiple VMs and `sourceSnapshot` must be set. ReadOnly pulumi.BoolPtrInput `pulumi:"readOnly"` // Name of the disk image to use as the source for the disk. // Must be empty `sourceSnapshot` is set. // Updating `sourceImage` will update content in the ephemeral directory after the workstation is restarted. SourceImage pulumi.StringPtrInput `pulumi:"sourceImage"` // Name of the snapshot to use as the source for the disk. // Must be empty if `sourceImage` is set. // Must be empty if `readOnly` is false. // Updating `sourceSnapshot` will update content in the ephemeral directory after the workstation is restarted. SourceSnapshot pulumi.StringPtrInput `pulumi:"sourceSnapshot"` }
func (WorkstationConfigEphemeralDirectoryGcePdArgs) ElementType ¶
func (WorkstationConfigEphemeralDirectoryGcePdArgs) ElementType() reflect.Type
func (WorkstationConfigEphemeralDirectoryGcePdArgs) ToWorkstationConfigEphemeralDirectoryGcePdOutput ¶
func (i WorkstationConfigEphemeralDirectoryGcePdArgs) ToWorkstationConfigEphemeralDirectoryGcePdOutput() WorkstationConfigEphemeralDirectoryGcePdOutput
func (WorkstationConfigEphemeralDirectoryGcePdArgs) ToWorkstationConfigEphemeralDirectoryGcePdOutputWithContext ¶
func (i WorkstationConfigEphemeralDirectoryGcePdArgs) ToWorkstationConfigEphemeralDirectoryGcePdOutputWithContext(ctx context.Context) WorkstationConfigEphemeralDirectoryGcePdOutput
func (WorkstationConfigEphemeralDirectoryGcePdArgs) ToWorkstationConfigEphemeralDirectoryGcePdPtrOutput ¶
func (i WorkstationConfigEphemeralDirectoryGcePdArgs) ToWorkstationConfigEphemeralDirectoryGcePdPtrOutput() WorkstationConfigEphemeralDirectoryGcePdPtrOutput
func (WorkstationConfigEphemeralDirectoryGcePdArgs) ToWorkstationConfigEphemeralDirectoryGcePdPtrOutputWithContext ¶
func (i WorkstationConfigEphemeralDirectoryGcePdArgs) ToWorkstationConfigEphemeralDirectoryGcePdPtrOutputWithContext(ctx context.Context) WorkstationConfigEphemeralDirectoryGcePdPtrOutput
type WorkstationConfigEphemeralDirectoryGcePdInput ¶
type WorkstationConfigEphemeralDirectoryGcePdInput interface { pulumi.Input ToWorkstationConfigEphemeralDirectoryGcePdOutput() WorkstationConfigEphemeralDirectoryGcePdOutput ToWorkstationConfigEphemeralDirectoryGcePdOutputWithContext(context.Context) WorkstationConfigEphemeralDirectoryGcePdOutput }
WorkstationConfigEphemeralDirectoryGcePdInput is an input type that accepts WorkstationConfigEphemeralDirectoryGcePdArgs and WorkstationConfigEphemeralDirectoryGcePdOutput values. You can construct a concrete instance of `WorkstationConfigEphemeralDirectoryGcePdInput` via:
WorkstationConfigEphemeralDirectoryGcePdArgs{...}
type WorkstationConfigEphemeralDirectoryGcePdOutput ¶
type WorkstationConfigEphemeralDirectoryGcePdOutput struct{ *pulumi.OutputState }
func (WorkstationConfigEphemeralDirectoryGcePdOutput) DiskType ¶
func (o WorkstationConfigEphemeralDirectoryGcePdOutput) DiskType() pulumi.StringPtrOutput
Type of the disk to use. Defaults to `"pd-standard"`.
func (WorkstationConfigEphemeralDirectoryGcePdOutput) ElementType ¶
func (WorkstationConfigEphemeralDirectoryGcePdOutput) ElementType() reflect.Type
func (WorkstationConfigEphemeralDirectoryGcePdOutput) ReadOnly ¶
func (o WorkstationConfigEphemeralDirectoryGcePdOutput) ReadOnly() pulumi.BoolPtrOutput
Whether the disk is read only. If true, the disk may be shared by multiple VMs and `sourceSnapshot` must be set.
func (WorkstationConfigEphemeralDirectoryGcePdOutput) SourceImage ¶
func (o WorkstationConfigEphemeralDirectoryGcePdOutput) SourceImage() pulumi.StringPtrOutput
Name of the disk image to use as the source for the disk. Must be empty `sourceSnapshot` is set. Updating `sourceImage` will update content in the ephemeral directory after the workstation is restarted.
func (WorkstationConfigEphemeralDirectoryGcePdOutput) SourceSnapshot ¶
func (o WorkstationConfigEphemeralDirectoryGcePdOutput) SourceSnapshot() pulumi.StringPtrOutput
Name of the snapshot to use as the source for the disk. Must be empty if `sourceImage` is set. Must be empty if `readOnly` is false. Updating `sourceSnapshot` will update content in the ephemeral directory after the workstation is restarted.
func (WorkstationConfigEphemeralDirectoryGcePdOutput) ToWorkstationConfigEphemeralDirectoryGcePdOutput ¶
func (o WorkstationConfigEphemeralDirectoryGcePdOutput) ToWorkstationConfigEphemeralDirectoryGcePdOutput() WorkstationConfigEphemeralDirectoryGcePdOutput
func (WorkstationConfigEphemeralDirectoryGcePdOutput) ToWorkstationConfigEphemeralDirectoryGcePdOutputWithContext ¶
func (o WorkstationConfigEphemeralDirectoryGcePdOutput) ToWorkstationConfigEphemeralDirectoryGcePdOutputWithContext(ctx context.Context) WorkstationConfigEphemeralDirectoryGcePdOutput
func (WorkstationConfigEphemeralDirectoryGcePdOutput) ToWorkstationConfigEphemeralDirectoryGcePdPtrOutput ¶
func (o WorkstationConfigEphemeralDirectoryGcePdOutput) ToWorkstationConfigEphemeralDirectoryGcePdPtrOutput() WorkstationConfigEphemeralDirectoryGcePdPtrOutput
func (WorkstationConfigEphemeralDirectoryGcePdOutput) ToWorkstationConfigEphemeralDirectoryGcePdPtrOutputWithContext ¶
func (o WorkstationConfigEphemeralDirectoryGcePdOutput) ToWorkstationConfigEphemeralDirectoryGcePdPtrOutputWithContext(ctx context.Context) WorkstationConfigEphemeralDirectoryGcePdPtrOutput
type WorkstationConfigEphemeralDirectoryGcePdPtrInput ¶
type WorkstationConfigEphemeralDirectoryGcePdPtrInput interface { pulumi.Input ToWorkstationConfigEphemeralDirectoryGcePdPtrOutput() WorkstationConfigEphemeralDirectoryGcePdPtrOutput ToWorkstationConfigEphemeralDirectoryGcePdPtrOutputWithContext(context.Context) WorkstationConfigEphemeralDirectoryGcePdPtrOutput }
WorkstationConfigEphemeralDirectoryGcePdPtrInput is an input type that accepts WorkstationConfigEphemeralDirectoryGcePdArgs, WorkstationConfigEphemeralDirectoryGcePdPtr and WorkstationConfigEphemeralDirectoryGcePdPtrOutput values. You can construct a concrete instance of `WorkstationConfigEphemeralDirectoryGcePdPtrInput` via:
WorkstationConfigEphemeralDirectoryGcePdArgs{...} or: nil
func WorkstationConfigEphemeralDirectoryGcePdPtr ¶
func WorkstationConfigEphemeralDirectoryGcePdPtr(v *WorkstationConfigEphemeralDirectoryGcePdArgs) WorkstationConfigEphemeralDirectoryGcePdPtrInput
type WorkstationConfigEphemeralDirectoryGcePdPtrOutput ¶
type WorkstationConfigEphemeralDirectoryGcePdPtrOutput struct{ *pulumi.OutputState }
func (WorkstationConfigEphemeralDirectoryGcePdPtrOutput) DiskType ¶
func (o WorkstationConfigEphemeralDirectoryGcePdPtrOutput) DiskType() pulumi.StringPtrOutput
Type of the disk to use. Defaults to `"pd-standard"`.
func (WorkstationConfigEphemeralDirectoryGcePdPtrOutput) ElementType ¶
func (WorkstationConfigEphemeralDirectoryGcePdPtrOutput) ElementType() reflect.Type
func (WorkstationConfigEphemeralDirectoryGcePdPtrOutput) ReadOnly ¶
func (o WorkstationConfigEphemeralDirectoryGcePdPtrOutput) ReadOnly() pulumi.BoolPtrOutput
Whether the disk is read only. If true, the disk may be shared by multiple VMs and `sourceSnapshot` must be set.
func (WorkstationConfigEphemeralDirectoryGcePdPtrOutput) SourceImage ¶
func (o WorkstationConfigEphemeralDirectoryGcePdPtrOutput) SourceImage() pulumi.StringPtrOutput
Name of the disk image to use as the source for the disk. Must be empty `sourceSnapshot` is set. Updating `sourceImage` will update content in the ephemeral directory after the workstation is restarted.
func (WorkstationConfigEphemeralDirectoryGcePdPtrOutput) SourceSnapshot ¶
func (o WorkstationConfigEphemeralDirectoryGcePdPtrOutput) SourceSnapshot() pulumi.StringPtrOutput
Name of the snapshot to use as the source for the disk. Must be empty if `sourceImage` is set. Must be empty if `readOnly` is false. Updating `sourceSnapshot` will update content in the ephemeral directory after the workstation is restarted.
func (WorkstationConfigEphemeralDirectoryGcePdPtrOutput) ToWorkstationConfigEphemeralDirectoryGcePdPtrOutput ¶
func (o WorkstationConfigEphemeralDirectoryGcePdPtrOutput) ToWorkstationConfigEphemeralDirectoryGcePdPtrOutput() WorkstationConfigEphemeralDirectoryGcePdPtrOutput
func (WorkstationConfigEphemeralDirectoryGcePdPtrOutput) ToWorkstationConfigEphemeralDirectoryGcePdPtrOutputWithContext ¶
func (o WorkstationConfigEphemeralDirectoryGcePdPtrOutput) ToWorkstationConfigEphemeralDirectoryGcePdPtrOutputWithContext(ctx context.Context) WorkstationConfigEphemeralDirectoryGcePdPtrOutput
type WorkstationConfigEphemeralDirectoryInput ¶
type WorkstationConfigEphemeralDirectoryInput interface { pulumi.Input ToWorkstationConfigEphemeralDirectoryOutput() WorkstationConfigEphemeralDirectoryOutput ToWorkstationConfigEphemeralDirectoryOutputWithContext(context.Context) WorkstationConfigEphemeralDirectoryOutput }
WorkstationConfigEphemeralDirectoryInput is an input type that accepts WorkstationConfigEphemeralDirectoryArgs and WorkstationConfigEphemeralDirectoryOutput values. You can construct a concrete instance of `WorkstationConfigEphemeralDirectoryInput` via:
WorkstationConfigEphemeralDirectoryArgs{...}
type WorkstationConfigEphemeralDirectoryOutput ¶
type WorkstationConfigEphemeralDirectoryOutput struct{ *pulumi.OutputState }
func (WorkstationConfigEphemeralDirectoryOutput) ElementType ¶
func (WorkstationConfigEphemeralDirectoryOutput) ElementType() reflect.Type
func (WorkstationConfigEphemeralDirectoryOutput) GcePd ¶
func (o WorkstationConfigEphemeralDirectoryOutput) GcePd() WorkstationConfigEphemeralDirectoryGcePdPtrOutput
An EphemeralDirectory backed by a Compute Engine persistent disk. Structure is documented below.
func (WorkstationConfigEphemeralDirectoryOutput) MountPath ¶
func (o WorkstationConfigEphemeralDirectoryOutput) MountPath() pulumi.StringPtrOutput
Location of this directory in the running workstation.
func (WorkstationConfigEphemeralDirectoryOutput) ToWorkstationConfigEphemeralDirectoryOutput ¶
func (o WorkstationConfigEphemeralDirectoryOutput) ToWorkstationConfigEphemeralDirectoryOutput() WorkstationConfigEphemeralDirectoryOutput
func (WorkstationConfigEphemeralDirectoryOutput) ToWorkstationConfigEphemeralDirectoryOutputWithContext ¶
func (o WorkstationConfigEphemeralDirectoryOutput) ToWorkstationConfigEphemeralDirectoryOutputWithContext(ctx context.Context) WorkstationConfigEphemeralDirectoryOutput
type WorkstationConfigHost ¶
type WorkstationConfigHost struct { // A runtime using a Compute Engine instance. // Structure is documented below. GceInstance *WorkstationConfigHostGceInstance `pulumi:"gceInstance"` }
type WorkstationConfigHostArgs ¶
type WorkstationConfigHostArgs struct { // A runtime using a Compute Engine instance. // Structure is documented below. GceInstance WorkstationConfigHostGceInstancePtrInput `pulumi:"gceInstance"` }
func (WorkstationConfigHostArgs) ElementType ¶
func (WorkstationConfigHostArgs) ElementType() reflect.Type
func (WorkstationConfigHostArgs) ToWorkstationConfigHostOutput ¶
func (i WorkstationConfigHostArgs) ToWorkstationConfigHostOutput() WorkstationConfigHostOutput
func (WorkstationConfigHostArgs) ToWorkstationConfigHostOutputWithContext ¶
func (i WorkstationConfigHostArgs) ToWorkstationConfigHostOutputWithContext(ctx context.Context) WorkstationConfigHostOutput
func (WorkstationConfigHostArgs) ToWorkstationConfigHostPtrOutput ¶
func (i WorkstationConfigHostArgs) ToWorkstationConfigHostPtrOutput() WorkstationConfigHostPtrOutput
func (WorkstationConfigHostArgs) ToWorkstationConfigHostPtrOutputWithContext ¶
func (i WorkstationConfigHostArgs) ToWorkstationConfigHostPtrOutputWithContext(ctx context.Context) WorkstationConfigHostPtrOutput
type WorkstationConfigHostGceInstance ¶
type WorkstationConfigHostGceInstance struct { // An accelerator card attached to the instance. // Structure is documented below. Accelerators []WorkstationConfigHostGceInstanceAccelerator `pulumi:"accelerators"` // A list of the boost configurations that workstations created using this workstation configuration are allowed to use. // Structure is documented below. BoostConfigs []WorkstationConfigHostGceInstanceBoostConfig `pulumi:"boostConfigs"` // Size of the boot disk in GB. BootDiskSizeGb *int `pulumi:"bootDiskSizeGb"` // A set of Compute Engine Confidential VM instance options. // Structure is documented below. ConfidentialInstanceConfig *WorkstationConfigHostGceInstanceConfidentialInstanceConfig `pulumi:"confidentialInstanceConfig"` // Whether instances have no public IP address. DisablePublicIpAddresses *bool `pulumi:"disablePublicIpAddresses"` // Whether to disable SSH access to the VM. DisableSsh *bool `pulumi:"disableSsh"` // Whether to enable nested virtualization on the Compute Engine VMs backing the Workstations. // See https://cloud.google.com/workstations/docs/reference/rest/v1beta/projects.locations.workstationClusters.workstationConfigs#GceInstance.FIELDS.enable_nested_virtualization EnableNestedVirtualization *bool `pulumi:"enableNestedVirtualization"` // The name of a Compute Engine machine type. MachineType *string `pulumi:"machineType"` // Number of instances to pool for faster workstation startup. PoolSize *int `pulumi:"poolSize"` // Email address of the service account that will be used on VM instances used to support this config. This service account must have permission to pull the specified container image. If not set, VMs will run without a service account, in which case the image must be publicly accessible. ServiceAccount *string `pulumi:"serviceAccount"` // Scopes to grant to the service_account. Various scopes are automatically added based on feature usage. When specified, users of workstations under this configuration must have `iam.serviceAccounts.actAs` on the service account. ServiceAccountScopes []string `pulumi:"serviceAccountScopes"` // A set of Compute Engine Shielded instance options. // Structure is documented below. ShieldedInstanceConfig *WorkstationConfigHostGceInstanceShieldedInstanceConfig `pulumi:"shieldedInstanceConfig"` // Network tags to add to the Compute Engine machines backing the Workstations. Tags []string `pulumi:"tags"` // Resource manager tags to be bound to the VM instances backing the Workstations. // Tag keys and values have the same definition as // https://cloud.google.com/resource-manager/docs/tags/tags-overview // Keys must be in the format `tagKeys/{tag_key_id}`, and // values are in the format `tagValues/456`. VmTags map[string]string `pulumi:"vmTags"` }
type WorkstationConfigHostGceInstanceAcceleratorArgs ¶
type WorkstationConfigHostGceInstanceAcceleratorArgs struct { // Number of accelerator cards exposed to the instance. Count pulumi.IntInput `pulumi:"count"` // Type of accelerator resource to attach to the instance, for example, "nvidia-tesla-p100". Type pulumi.StringInput `pulumi:"type"` }
func (WorkstationConfigHostGceInstanceAcceleratorArgs) ElementType ¶
func (WorkstationConfigHostGceInstanceAcceleratorArgs) ElementType() reflect.Type
func (WorkstationConfigHostGceInstanceAcceleratorArgs) ToWorkstationConfigHostGceInstanceAcceleratorOutput ¶
func (i WorkstationConfigHostGceInstanceAcceleratorArgs) ToWorkstationConfigHostGceInstanceAcceleratorOutput() WorkstationConfigHostGceInstanceAcceleratorOutput
func (WorkstationConfigHostGceInstanceAcceleratorArgs) ToWorkstationConfigHostGceInstanceAcceleratorOutputWithContext ¶
func (i WorkstationConfigHostGceInstanceAcceleratorArgs) ToWorkstationConfigHostGceInstanceAcceleratorOutputWithContext(ctx context.Context) WorkstationConfigHostGceInstanceAcceleratorOutput
type WorkstationConfigHostGceInstanceAcceleratorArray ¶
type WorkstationConfigHostGceInstanceAcceleratorArray []WorkstationConfigHostGceInstanceAcceleratorInput
func (WorkstationConfigHostGceInstanceAcceleratorArray) ElementType ¶
func (WorkstationConfigHostGceInstanceAcceleratorArray) ElementType() reflect.Type
func (WorkstationConfigHostGceInstanceAcceleratorArray) ToWorkstationConfigHostGceInstanceAcceleratorArrayOutput ¶
func (i WorkstationConfigHostGceInstanceAcceleratorArray) ToWorkstationConfigHostGceInstanceAcceleratorArrayOutput() WorkstationConfigHostGceInstanceAcceleratorArrayOutput
func (WorkstationConfigHostGceInstanceAcceleratorArray) ToWorkstationConfigHostGceInstanceAcceleratorArrayOutputWithContext ¶
func (i WorkstationConfigHostGceInstanceAcceleratorArray) ToWorkstationConfigHostGceInstanceAcceleratorArrayOutputWithContext(ctx context.Context) WorkstationConfigHostGceInstanceAcceleratorArrayOutput
type WorkstationConfigHostGceInstanceAcceleratorArrayInput ¶
type WorkstationConfigHostGceInstanceAcceleratorArrayInput interface { pulumi.Input ToWorkstationConfigHostGceInstanceAcceleratorArrayOutput() WorkstationConfigHostGceInstanceAcceleratorArrayOutput ToWorkstationConfigHostGceInstanceAcceleratorArrayOutputWithContext(context.Context) WorkstationConfigHostGceInstanceAcceleratorArrayOutput }
WorkstationConfigHostGceInstanceAcceleratorArrayInput is an input type that accepts WorkstationConfigHostGceInstanceAcceleratorArray and WorkstationConfigHostGceInstanceAcceleratorArrayOutput values. You can construct a concrete instance of `WorkstationConfigHostGceInstanceAcceleratorArrayInput` via:
WorkstationConfigHostGceInstanceAcceleratorArray{ WorkstationConfigHostGceInstanceAcceleratorArgs{...} }
type WorkstationConfigHostGceInstanceAcceleratorArrayOutput ¶
type WorkstationConfigHostGceInstanceAcceleratorArrayOutput struct{ *pulumi.OutputState }
func (WorkstationConfigHostGceInstanceAcceleratorArrayOutput) ElementType ¶
func (WorkstationConfigHostGceInstanceAcceleratorArrayOutput) ElementType() reflect.Type
func (WorkstationConfigHostGceInstanceAcceleratorArrayOutput) ToWorkstationConfigHostGceInstanceAcceleratorArrayOutput ¶
func (o WorkstationConfigHostGceInstanceAcceleratorArrayOutput) ToWorkstationConfigHostGceInstanceAcceleratorArrayOutput() WorkstationConfigHostGceInstanceAcceleratorArrayOutput
func (WorkstationConfigHostGceInstanceAcceleratorArrayOutput) ToWorkstationConfigHostGceInstanceAcceleratorArrayOutputWithContext ¶
func (o WorkstationConfigHostGceInstanceAcceleratorArrayOutput) ToWorkstationConfigHostGceInstanceAcceleratorArrayOutputWithContext(ctx context.Context) WorkstationConfigHostGceInstanceAcceleratorArrayOutput
type WorkstationConfigHostGceInstanceAcceleratorInput ¶
type WorkstationConfigHostGceInstanceAcceleratorInput interface { pulumi.Input ToWorkstationConfigHostGceInstanceAcceleratorOutput() WorkstationConfigHostGceInstanceAcceleratorOutput ToWorkstationConfigHostGceInstanceAcceleratorOutputWithContext(context.Context) WorkstationConfigHostGceInstanceAcceleratorOutput }
WorkstationConfigHostGceInstanceAcceleratorInput is an input type that accepts WorkstationConfigHostGceInstanceAcceleratorArgs and WorkstationConfigHostGceInstanceAcceleratorOutput values. You can construct a concrete instance of `WorkstationConfigHostGceInstanceAcceleratorInput` via:
WorkstationConfigHostGceInstanceAcceleratorArgs{...}
type WorkstationConfigHostGceInstanceAcceleratorOutput ¶
type WorkstationConfigHostGceInstanceAcceleratorOutput struct{ *pulumi.OutputState }
func (WorkstationConfigHostGceInstanceAcceleratorOutput) Count ¶
func (o WorkstationConfigHostGceInstanceAcceleratorOutput) Count() pulumi.IntOutput
Number of accelerator cards exposed to the instance.
func (WorkstationConfigHostGceInstanceAcceleratorOutput) ElementType ¶
func (WorkstationConfigHostGceInstanceAcceleratorOutput) ElementType() reflect.Type
func (WorkstationConfigHostGceInstanceAcceleratorOutput) ToWorkstationConfigHostGceInstanceAcceleratorOutput ¶
func (o WorkstationConfigHostGceInstanceAcceleratorOutput) ToWorkstationConfigHostGceInstanceAcceleratorOutput() WorkstationConfigHostGceInstanceAcceleratorOutput
func (WorkstationConfigHostGceInstanceAcceleratorOutput) ToWorkstationConfigHostGceInstanceAcceleratorOutputWithContext ¶
func (o WorkstationConfigHostGceInstanceAcceleratorOutput) ToWorkstationConfigHostGceInstanceAcceleratorOutputWithContext(ctx context.Context) WorkstationConfigHostGceInstanceAcceleratorOutput
func (WorkstationConfigHostGceInstanceAcceleratorOutput) Type ¶
func (o WorkstationConfigHostGceInstanceAcceleratorOutput) Type() pulumi.StringOutput
Type of accelerator resource to attach to the instance, for example, "nvidia-tesla-p100".
type WorkstationConfigHostGceInstanceArgs ¶
type WorkstationConfigHostGceInstanceArgs struct { // An accelerator card attached to the instance. // Structure is documented below. Accelerators WorkstationConfigHostGceInstanceAcceleratorArrayInput `pulumi:"accelerators"` // A list of the boost configurations that workstations created using this workstation configuration are allowed to use. // Structure is documented below. BoostConfigs WorkstationConfigHostGceInstanceBoostConfigArrayInput `pulumi:"boostConfigs"` // Size of the boot disk in GB. BootDiskSizeGb pulumi.IntPtrInput `pulumi:"bootDiskSizeGb"` // A set of Compute Engine Confidential VM instance options. // Structure is documented below. ConfidentialInstanceConfig WorkstationConfigHostGceInstanceConfidentialInstanceConfigPtrInput `pulumi:"confidentialInstanceConfig"` // Whether instances have no public IP address. DisablePublicIpAddresses pulumi.BoolPtrInput `pulumi:"disablePublicIpAddresses"` // Whether to disable SSH access to the VM. DisableSsh pulumi.BoolPtrInput `pulumi:"disableSsh"` // Whether to enable nested virtualization on the Compute Engine VMs backing the Workstations. // See https://cloud.google.com/workstations/docs/reference/rest/v1beta/projects.locations.workstationClusters.workstationConfigs#GceInstance.FIELDS.enable_nested_virtualization EnableNestedVirtualization pulumi.BoolPtrInput `pulumi:"enableNestedVirtualization"` // The name of a Compute Engine machine type. MachineType pulumi.StringPtrInput `pulumi:"machineType"` // Number of instances to pool for faster workstation startup. PoolSize pulumi.IntPtrInput `pulumi:"poolSize"` // Email address of the service account that will be used on VM instances used to support this config. This service account must have permission to pull the specified container image. If not set, VMs will run without a service account, in which case the image must be publicly accessible. ServiceAccount pulumi.StringPtrInput `pulumi:"serviceAccount"` // Scopes to grant to the service_account. Various scopes are automatically added based on feature usage. When specified, users of workstations under this configuration must have `iam.serviceAccounts.actAs` on the service account. ServiceAccountScopes pulumi.StringArrayInput `pulumi:"serviceAccountScopes"` // A set of Compute Engine Shielded instance options. // Structure is documented below. ShieldedInstanceConfig WorkstationConfigHostGceInstanceShieldedInstanceConfigPtrInput `pulumi:"shieldedInstanceConfig"` // Network tags to add to the Compute Engine machines backing the Workstations. Tags pulumi.StringArrayInput `pulumi:"tags"` // Resource manager tags to be bound to the VM instances backing the Workstations. // Tag keys and values have the same definition as // https://cloud.google.com/resource-manager/docs/tags/tags-overview // Keys must be in the format `tagKeys/{tag_key_id}`, and // values are in the format `tagValues/456`. VmTags pulumi.StringMapInput `pulumi:"vmTags"` }
func (WorkstationConfigHostGceInstanceArgs) ElementType ¶
func (WorkstationConfigHostGceInstanceArgs) ElementType() reflect.Type
func (WorkstationConfigHostGceInstanceArgs) ToWorkstationConfigHostGceInstanceOutput ¶
func (i WorkstationConfigHostGceInstanceArgs) ToWorkstationConfigHostGceInstanceOutput() WorkstationConfigHostGceInstanceOutput
func (WorkstationConfigHostGceInstanceArgs) ToWorkstationConfigHostGceInstanceOutputWithContext ¶
func (i WorkstationConfigHostGceInstanceArgs) ToWorkstationConfigHostGceInstanceOutputWithContext(ctx context.Context) WorkstationConfigHostGceInstanceOutput
func (WorkstationConfigHostGceInstanceArgs) ToWorkstationConfigHostGceInstancePtrOutput ¶
func (i WorkstationConfigHostGceInstanceArgs) ToWorkstationConfigHostGceInstancePtrOutput() WorkstationConfigHostGceInstancePtrOutput
func (WorkstationConfigHostGceInstanceArgs) ToWorkstationConfigHostGceInstancePtrOutputWithContext ¶
func (i WorkstationConfigHostGceInstanceArgs) ToWorkstationConfigHostGceInstancePtrOutputWithContext(ctx context.Context) WorkstationConfigHostGceInstancePtrOutput
type WorkstationConfigHostGceInstanceBoostConfig ¶
type WorkstationConfigHostGceInstanceBoostConfig struct { // An accelerator card attached to the boost instance. // Structure is documented below. Accelerators []WorkstationConfigHostGceInstanceBoostConfigAccelerator `pulumi:"accelerators"` // Size of the boot disk in GB. The minimum boot disk size is `30` GB. Defaults to `50` GB. BootDiskSizeGb *int `pulumi:"bootDiskSizeGb"` // Whether to enable nested virtualization on the Compute Engine VMs backing boosted Workstations. // See https://cloud.google.com/workstations/docs/reference/rest/v1beta/projects.locations.workstationClusters.workstationConfigs#GceInstance.FIELDS.enable_nested_virtualization EnableNestedVirtualization *bool `pulumi:"enableNestedVirtualization"` // The id to be used for the boost config. Id string `pulumi:"id"` // The type of machine that boosted VM instances will use—for example, e2-standard-4. For more information about machine types that Cloud Workstations supports, see the list of available machine types https://cloud.google.com/workstations/docs/available-machine-types. Defaults to e2-standard-4. MachineType *string `pulumi:"machineType"` // Number of instances to pool for faster workstation boosting. PoolSize *int `pulumi:"poolSize"` }
type WorkstationConfigHostGceInstanceBoostConfigAcceleratorArgs ¶
type WorkstationConfigHostGceInstanceBoostConfigAcceleratorArgs struct { // Number of accelerator cards exposed to the instance. Count pulumi.IntInput `pulumi:"count"` // Type of accelerator resource to attach to the instance, for example, "nvidia-tesla-p100". Type pulumi.StringInput `pulumi:"type"` }
func (WorkstationConfigHostGceInstanceBoostConfigAcceleratorArgs) ElementType ¶
func (WorkstationConfigHostGceInstanceBoostConfigAcceleratorArgs) ElementType() reflect.Type
func (WorkstationConfigHostGceInstanceBoostConfigAcceleratorArgs) ToWorkstationConfigHostGceInstanceBoostConfigAcceleratorOutput ¶
func (i WorkstationConfigHostGceInstanceBoostConfigAcceleratorArgs) ToWorkstationConfigHostGceInstanceBoostConfigAcceleratorOutput() WorkstationConfigHostGceInstanceBoostConfigAcceleratorOutput
func (WorkstationConfigHostGceInstanceBoostConfigAcceleratorArgs) ToWorkstationConfigHostGceInstanceBoostConfigAcceleratorOutputWithContext ¶
func (i WorkstationConfigHostGceInstanceBoostConfigAcceleratorArgs) ToWorkstationConfigHostGceInstanceBoostConfigAcceleratorOutputWithContext(ctx context.Context) WorkstationConfigHostGceInstanceBoostConfigAcceleratorOutput
type WorkstationConfigHostGceInstanceBoostConfigAcceleratorArray ¶
type WorkstationConfigHostGceInstanceBoostConfigAcceleratorArray []WorkstationConfigHostGceInstanceBoostConfigAcceleratorInput
func (WorkstationConfigHostGceInstanceBoostConfigAcceleratorArray) ElementType ¶
func (WorkstationConfigHostGceInstanceBoostConfigAcceleratorArray) ElementType() reflect.Type
func (WorkstationConfigHostGceInstanceBoostConfigAcceleratorArray) ToWorkstationConfigHostGceInstanceBoostConfigAcceleratorArrayOutput ¶
func (i WorkstationConfigHostGceInstanceBoostConfigAcceleratorArray) ToWorkstationConfigHostGceInstanceBoostConfigAcceleratorArrayOutput() WorkstationConfigHostGceInstanceBoostConfigAcceleratorArrayOutput
func (WorkstationConfigHostGceInstanceBoostConfigAcceleratorArray) ToWorkstationConfigHostGceInstanceBoostConfigAcceleratorArrayOutputWithContext ¶
func (i WorkstationConfigHostGceInstanceBoostConfigAcceleratorArray) ToWorkstationConfigHostGceInstanceBoostConfigAcceleratorArrayOutputWithContext(ctx context.Context) WorkstationConfigHostGceInstanceBoostConfigAcceleratorArrayOutput
type WorkstationConfigHostGceInstanceBoostConfigAcceleratorArrayInput ¶
type WorkstationConfigHostGceInstanceBoostConfigAcceleratorArrayInput interface { pulumi.Input ToWorkstationConfigHostGceInstanceBoostConfigAcceleratorArrayOutput() WorkstationConfigHostGceInstanceBoostConfigAcceleratorArrayOutput ToWorkstationConfigHostGceInstanceBoostConfigAcceleratorArrayOutputWithContext(context.Context) WorkstationConfigHostGceInstanceBoostConfigAcceleratorArrayOutput }
WorkstationConfigHostGceInstanceBoostConfigAcceleratorArrayInput is an input type that accepts WorkstationConfigHostGceInstanceBoostConfigAcceleratorArray and WorkstationConfigHostGceInstanceBoostConfigAcceleratorArrayOutput values. You can construct a concrete instance of `WorkstationConfigHostGceInstanceBoostConfigAcceleratorArrayInput` via:
WorkstationConfigHostGceInstanceBoostConfigAcceleratorArray{ WorkstationConfigHostGceInstanceBoostConfigAcceleratorArgs{...} }
type WorkstationConfigHostGceInstanceBoostConfigAcceleratorArrayOutput ¶
type WorkstationConfigHostGceInstanceBoostConfigAcceleratorArrayOutput struct{ *pulumi.OutputState }
func (WorkstationConfigHostGceInstanceBoostConfigAcceleratorArrayOutput) ElementType ¶
func (WorkstationConfigHostGceInstanceBoostConfigAcceleratorArrayOutput) ElementType() reflect.Type
func (WorkstationConfigHostGceInstanceBoostConfigAcceleratorArrayOutput) ToWorkstationConfigHostGceInstanceBoostConfigAcceleratorArrayOutput ¶
func (o WorkstationConfigHostGceInstanceBoostConfigAcceleratorArrayOutput) ToWorkstationConfigHostGceInstanceBoostConfigAcceleratorArrayOutput() WorkstationConfigHostGceInstanceBoostConfigAcceleratorArrayOutput
func (WorkstationConfigHostGceInstanceBoostConfigAcceleratorArrayOutput) ToWorkstationConfigHostGceInstanceBoostConfigAcceleratorArrayOutputWithContext ¶
func (o WorkstationConfigHostGceInstanceBoostConfigAcceleratorArrayOutput) ToWorkstationConfigHostGceInstanceBoostConfigAcceleratorArrayOutputWithContext(ctx context.Context) WorkstationConfigHostGceInstanceBoostConfigAcceleratorArrayOutput
type WorkstationConfigHostGceInstanceBoostConfigAcceleratorInput ¶
type WorkstationConfigHostGceInstanceBoostConfigAcceleratorInput interface { pulumi.Input ToWorkstationConfigHostGceInstanceBoostConfigAcceleratorOutput() WorkstationConfigHostGceInstanceBoostConfigAcceleratorOutput ToWorkstationConfigHostGceInstanceBoostConfigAcceleratorOutputWithContext(context.Context) WorkstationConfigHostGceInstanceBoostConfigAcceleratorOutput }
WorkstationConfigHostGceInstanceBoostConfigAcceleratorInput is an input type that accepts WorkstationConfigHostGceInstanceBoostConfigAcceleratorArgs and WorkstationConfigHostGceInstanceBoostConfigAcceleratorOutput values. You can construct a concrete instance of `WorkstationConfigHostGceInstanceBoostConfigAcceleratorInput` via:
WorkstationConfigHostGceInstanceBoostConfigAcceleratorArgs{...}
type WorkstationConfigHostGceInstanceBoostConfigAcceleratorOutput ¶
type WorkstationConfigHostGceInstanceBoostConfigAcceleratorOutput struct{ *pulumi.OutputState }
func (WorkstationConfigHostGceInstanceBoostConfigAcceleratorOutput) Count ¶
func (o WorkstationConfigHostGceInstanceBoostConfigAcceleratorOutput) Count() pulumi.IntOutput
Number of accelerator cards exposed to the instance.
func (WorkstationConfigHostGceInstanceBoostConfigAcceleratorOutput) ElementType ¶
func (WorkstationConfigHostGceInstanceBoostConfigAcceleratorOutput) ElementType() reflect.Type
func (WorkstationConfigHostGceInstanceBoostConfigAcceleratorOutput) ToWorkstationConfigHostGceInstanceBoostConfigAcceleratorOutput ¶
func (o WorkstationConfigHostGceInstanceBoostConfigAcceleratorOutput) ToWorkstationConfigHostGceInstanceBoostConfigAcceleratorOutput() WorkstationConfigHostGceInstanceBoostConfigAcceleratorOutput
func (WorkstationConfigHostGceInstanceBoostConfigAcceleratorOutput) ToWorkstationConfigHostGceInstanceBoostConfigAcceleratorOutputWithContext ¶
func (o WorkstationConfigHostGceInstanceBoostConfigAcceleratorOutput) ToWorkstationConfigHostGceInstanceBoostConfigAcceleratorOutputWithContext(ctx context.Context) WorkstationConfigHostGceInstanceBoostConfigAcceleratorOutput
type WorkstationConfigHostGceInstanceBoostConfigArgs ¶
type WorkstationConfigHostGceInstanceBoostConfigArgs struct { // An accelerator card attached to the boost instance. // Structure is documented below. Accelerators WorkstationConfigHostGceInstanceBoostConfigAcceleratorArrayInput `pulumi:"accelerators"` // Size of the boot disk in GB. The minimum boot disk size is `30` GB. Defaults to `50` GB. BootDiskSizeGb pulumi.IntPtrInput `pulumi:"bootDiskSizeGb"` // Whether to enable nested virtualization on the Compute Engine VMs backing boosted Workstations. // See https://cloud.google.com/workstations/docs/reference/rest/v1beta/projects.locations.workstationClusters.workstationConfigs#GceInstance.FIELDS.enable_nested_virtualization EnableNestedVirtualization pulumi.BoolPtrInput `pulumi:"enableNestedVirtualization"` // The id to be used for the boost config. Id pulumi.StringInput `pulumi:"id"` // The type of machine that boosted VM instances will use—for example, e2-standard-4. For more information about machine types that Cloud Workstations supports, see the list of available machine types https://cloud.google.com/workstations/docs/available-machine-types. Defaults to e2-standard-4. MachineType pulumi.StringPtrInput `pulumi:"machineType"` // Number of instances to pool for faster workstation boosting. PoolSize pulumi.IntPtrInput `pulumi:"poolSize"` }
func (WorkstationConfigHostGceInstanceBoostConfigArgs) ElementType ¶
func (WorkstationConfigHostGceInstanceBoostConfigArgs) ElementType() reflect.Type
func (WorkstationConfigHostGceInstanceBoostConfigArgs) ToWorkstationConfigHostGceInstanceBoostConfigOutput ¶
func (i WorkstationConfigHostGceInstanceBoostConfigArgs) ToWorkstationConfigHostGceInstanceBoostConfigOutput() WorkstationConfigHostGceInstanceBoostConfigOutput
func (WorkstationConfigHostGceInstanceBoostConfigArgs) ToWorkstationConfigHostGceInstanceBoostConfigOutputWithContext ¶
func (i WorkstationConfigHostGceInstanceBoostConfigArgs) ToWorkstationConfigHostGceInstanceBoostConfigOutputWithContext(ctx context.Context) WorkstationConfigHostGceInstanceBoostConfigOutput
type WorkstationConfigHostGceInstanceBoostConfigArray ¶
type WorkstationConfigHostGceInstanceBoostConfigArray []WorkstationConfigHostGceInstanceBoostConfigInput
func (WorkstationConfigHostGceInstanceBoostConfigArray) ElementType ¶
func (WorkstationConfigHostGceInstanceBoostConfigArray) ElementType() reflect.Type
func (WorkstationConfigHostGceInstanceBoostConfigArray) ToWorkstationConfigHostGceInstanceBoostConfigArrayOutput ¶
func (i WorkstationConfigHostGceInstanceBoostConfigArray) ToWorkstationConfigHostGceInstanceBoostConfigArrayOutput() WorkstationConfigHostGceInstanceBoostConfigArrayOutput
func (WorkstationConfigHostGceInstanceBoostConfigArray) ToWorkstationConfigHostGceInstanceBoostConfigArrayOutputWithContext ¶
func (i WorkstationConfigHostGceInstanceBoostConfigArray) ToWorkstationConfigHostGceInstanceBoostConfigArrayOutputWithContext(ctx context.Context) WorkstationConfigHostGceInstanceBoostConfigArrayOutput
type WorkstationConfigHostGceInstanceBoostConfigArrayInput ¶
type WorkstationConfigHostGceInstanceBoostConfigArrayInput interface { pulumi.Input ToWorkstationConfigHostGceInstanceBoostConfigArrayOutput() WorkstationConfigHostGceInstanceBoostConfigArrayOutput ToWorkstationConfigHostGceInstanceBoostConfigArrayOutputWithContext(context.Context) WorkstationConfigHostGceInstanceBoostConfigArrayOutput }
WorkstationConfigHostGceInstanceBoostConfigArrayInput is an input type that accepts WorkstationConfigHostGceInstanceBoostConfigArray and WorkstationConfigHostGceInstanceBoostConfigArrayOutput values. You can construct a concrete instance of `WorkstationConfigHostGceInstanceBoostConfigArrayInput` via:
WorkstationConfigHostGceInstanceBoostConfigArray{ WorkstationConfigHostGceInstanceBoostConfigArgs{...} }
type WorkstationConfigHostGceInstanceBoostConfigArrayOutput ¶
type WorkstationConfigHostGceInstanceBoostConfigArrayOutput struct{ *pulumi.OutputState }
func (WorkstationConfigHostGceInstanceBoostConfigArrayOutput) ElementType ¶
func (WorkstationConfigHostGceInstanceBoostConfigArrayOutput) ElementType() reflect.Type
func (WorkstationConfigHostGceInstanceBoostConfigArrayOutput) ToWorkstationConfigHostGceInstanceBoostConfigArrayOutput ¶
func (o WorkstationConfigHostGceInstanceBoostConfigArrayOutput) ToWorkstationConfigHostGceInstanceBoostConfigArrayOutput() WorkstationConfigHostGceInstanceBoostConfigArrayOutput
func (WorkstationConfigHostGceInstanceBoostConfigArrayOutput) ToWorkstationConfigHostGceInstanceBoostConfigArrayOutputWithContext ¶
func (o WorkstationConfigHostGceInstanceBoostConfigArrayOutput) ToWorkstationConfigHostGceInstanceBoostConfigArrayOutputWithContext(ctx context.Context) WorkstationConfigHostGceInstanceBoostConfigArrayOutput
type WorkstationConfigHostGceInstanceBoostConfigInput ¶
type WorkstationConfigHostGceInstanceBoostConfigInput interface { pulumi.Input ToWorkstationConfigHostGceInstanceBoostConfigOutput() WorkstationConfigHostGceInstanceBoostConfigOutput ToWorkstationConfigHostGceInstanceBoostConfigOutputWithContext(context.Context) WorkstationConfigHostGceInstanceBoostConfigOutput }
WorkstationConfigHostGceInstanceBoostConfigInput is an input type that accepts WorkstationConfigHostGceInstanceBoostConfigArgs and WorkstationConfigHostGceInstanceBoostConfigOutput values. You can construct a concrete instance of `WorkstationConfigHostGceInstanceBoostConfigInput` via:
WorkstationConfigHostGceInstanceBoostConfigArgs{...}
type WorkstationConfigHostGceInstanceBoostConfigOutput ¶
type WorkstationConfigHostGceInstanceBoostConfigOutput struct{ *pulumi.OutputState }
func (WorkstationConfigHostGceInstanceBoostConfigOutput) Accelerators ¶
func (o WorkstationConfigHostGceInstanceBoostConfigOutput) Accelerators() WorkstationConfigHostGceInstanceBoostConfigAcceleratorArrayOutput
An accelerator card attached to the boost instance. Structure is documented below.
func (WorkstationConfigHostGceInstanceBoostConfigOutput) BootDiskSizeGb ¶
func (o WorkstationConfigHostGceInstanceBoostConfigOutput) BootDiskSizeGb() pulumi.IntPtrOutput
Size of the boot disk in GB. The minimum boot disk size is `30` GB. Defaults to `50` GB.
func (WorkstationConfigHostGceInstanceBoostConfigOutput) ElementType ¶
func (WorkstationConfigHostGceInstanceBoostConfigOutput) ElementType() reflect.Type
func (WorkstationConfigHostGceInstanceBoostConfigOutput) EnableNestedVirtualization ¶
func (o WorkstationConfigHostGceInstanceBoostConfigOutput) EnableNestedVirtualization() pulumi.BoolPtrOutput
Whether to enable nested virtualization on the Compute Engine VMs backing boosted Workstations. See https://cloud.google.com/workstations/docs/reference/rest/v1beta/projects.locations.workstationClusters.workstationConfigs#GceInstance.FIELDS.enable_nested_virtualization
func (WorkstationConfigHostGceInstanceBoostConfigOutput) Id ¶
The id to be used for the boost config.
func (WorkstationConfigHostGceInstanceBoostConfigOutput) MachineType ¶
func (o WorkstationConfigHostGceInstanceBoostConfigOutput) MachineType() pulumi.StringPtrOutput
The type of machine that boosted VM instances will use—for example, e2-standard-4. For more information about machine types that Cloud Workstations supports, see the list of available machine types https://cloud.google.com/workstations/docs/available-machine-types. Defaults to e2-standard-4.
func (WorkstationConfigHostGceInstanceBoostConfigOutput) PoolSize ¶
func (o WorkstationConfigHostGceInstanceBoostConfigOutput) PoolSize() pulumi.IntPtrOutput
Number of instances to pool for faster workstation boosting.
func (WorkstationConfigHostGceInstanceBoostConfigOutput) ToWorkstationConfigHostGceInstanceBoostConfigOutput ¶
func (o WorkstationConfigHostGceInstanceBoostConfigOutput) ToWorkstationConfigHostGceInstanceBoostConfigOutput() WorkstationConfigHostGceInstanceBoostConfigOutput
func (WorkstationConfigHostGceInstanceBoostConfigOutput) ToWorkstationConfigHostGceInstanceBoostConfigOutputWithContext ¶
func (o WorkstationConfigHostGceInstanceBoostConfigOutput) ToWorkstationConfigHostGceInstanceBoostConfigOutputWithContext(ctx context.Context) WorkstationConfigHostGceInstanceBoostConfigOutput
type WorkstationConfigHostGceInstanceConfidentialInstanceConfig ¶
type WorkstationConfigHostGceInstanceConfidentialInstanceConfig struct { // Whether the instance has confidential compute enabled. EnableConfidentialCompute *bool `pulumi:"enableConfidentialCompute"` }
type WorkstationConfigHostGceInstanceConfidentialInstanceConfigArgs ¶
type WorkstationConfigHostGceInstanceConfidentialInstanceConfigArgs struct { // Whether the instance has confidential compute enabled. EnableConfidentialCompute pulumi.BoolPtrInput `pulumi:"enableConfidentialCompute"` }
func (WorkstationConfigHostGceInstanceConfidentialInstanceConfigArgs) ElementType ¶
func (WorkstationConfigHostGceInstanceConfidentialInstanceConfigArgs) ElementType() reflect.Type
func (WorkstationConfigHostGceInstanceConfidentialInstanceConfigArgs) ToWorkstationConfigHostGceInstanceConfidentialInstanceConfigOutput ¶
func (i WorkstationConfigHostGceInstanceConfidentialInstanceConfigArgs) ToWorkstationConfigHostGceInstanceConfidentialInstanceConfigOutput() WorkstationConfigHostGceInstanceConfidentialInstanceConfigOutput
func (WorkstationConfigHostGceInstanceConfidentialInstanceConfigArgs) ToWorkstationConfigHostGceInstanceConfidentialInstanceConfigOutputWithContext ¶
func (i WorkstationConfigHostGceInstanceConfidentialInstanceConfigArgs) ToWorkstationConfigHostGceInstanceConfidentialInstanceConfigOutputWithContext(ctx context.Context) WorkstationConfigHostGceInstanceConfidentialInstanceConfigOutput
func (WorkstationConfigHostGceInstanceConfidentialInstanceConfigArgs) ToWorkstationConfigHostGceInstanceConfidentialInstanceConfigPtrOutput ¶
func (i WorkstationConfigHostGceInstanceConfidentialInstanceConfigArgs) ToWorkstationConfigHostGceInstanceConfidentialInstanceConfigPtrOutput() WorkstationConfigHostGceInstanceConfidentialInstanceConfigPtrOutput
func (WorkstationConfigHostGceInstanceConfidentialInstanceConfigArgs) ToWorkstationConfigHostGceInstanceConfidentialInstanceConfigPtrOutputWithContext ¶
func (i WorkstationConfigHostGceInstanceConfidentialInstanceConfigArgs) ToWorkstationConfigHostGceInstanceConfidentialInstanceConfigPtrOutputWithContext(ctx context.Context) WorkstationConfigHostGceInstanceConfidentialInstanceConfigPtrOutput
type WorkstationConfigHostGceInstanceConfidentialInstanceConfigInput ¶
type WorkstationConfigHostGceInstanceConfidentialInstanceConfigInput interface { pulumi.Input ToWorkstationConfigHostGceInstanceConfidentialInstanceConfigOutput() WorkstationConfigHostGceInstanceConfidentialInstanceConfigOutput ToWorkstationConfigHostGceInstanceConfidentialInstanceConfigOutputWithContext(context.Context) WorkstationConfigHostGceInstanceConfidentialInstanceConfigOutput }
WorkstationConfigHostGceInstanceConfidentialInstanceConfigInput is an input type that accepts WorkstationConfigHostGceInstanceConfidentialInstanceConfigArgs and WorkstationConfigHostGceInstanceConfidentialInstanceConfigOutput values. You can construct a concrete instance of `WorkstationConfigHostGceInstanceConfidentialInstanceConfigInput` via:
WorkstationConfigHostGceInstanceConfidentialInstanceConfigArgs{...}
type WorkstationConfigHostGceInstanceConfidentialInstanceConfigOutput ¶
type WorkstationConfigHostGceInstanceConfidentialInstanceConfigOutput struct{ *pulumi.OutputState }
func (WorkstationConfigHostGceInstanceConfidentialInstanceConfigOutput) ElementType ¶
func (WorkstationConfigHostGceInstanceConfidentialInstanceConfigOutput) ElementType() reflect.Type
func (WorkstationConfigHostGceInstanceConfidentialInstanceConfigOutput) EnableConfidentialCompute ¶
func (o WorkstationConfigHostGceInstanceConfidentialInstanceConfigOutput) EnableConfidentialCompute() pulumi.BoolPtrOutput
Whether the instance has confidential compute enabled.
func (WorkstationConfigHostGceInstanceConfidentialInstanceConfigOutput) ToWorkstationConfigHostGceInstanceConfidentialInstanceConfigOutput ¶
func (o WorkstationConfigHostGceInstanceConfidentialInstanceConfigOutput) ToWorkstationConfigHostGceInstanceConfidentialInstanceConfigOutput() WorkstationConfigHostGceInstanceConfidentialInstanceConfigOutput
func (WorkstationConfigHostGceInstanceConfidentialInstanceConfigOutput) ToWorkstationConfigHostGceInstanceConfidentialInstanceConfigOutputWithContext ¶
func (o WorkstationConfigHostGceInstanceConfidentialInstanceConfigOutput) ToWorkstationConfigHostGceInstanceConfidentialInstanceConfigOutputWithContext(ctx context.Context) WorkstationConfigHostGceInstanceConfidentialInstanceConfigOutput
func (WorkstationConfigHostGceInstanceConfidentialInstanceConfigOutput) ToWorkstationConfigHostGceInstanceConfidentialInstanceConfigPtrOutput ¶
func (o WorkstationConfigHostGceInstanceConfidentialInstanceConfigOutput) ToWorkstationConfigHostGceInstanceConfidentialInstanceConfigPtrOutput() WorkstationConfigHostGceInstanceConfidentialInstanceConfigPtrOutput
func (WorkstationConfigHostGceInstanceConfidentialInstanceConfigOutput) ToWorkstationConfigHostGceInstanceConfidentialInstanceConfigPtrOutputWithContext ¶
func (o WorkstationConfigHostGceInstanceConfidentialInstanceConfigOutput) ToWorkstationConfigHostGceInstanceConfidentialInstanceConfigPtrOutputWithContext(ctx context.Context) WorkstationConfigHostGceInstanceConfidentialInstanceConfigPtrOutput
type WorkstationConfigHostGceInstanceConfidentialInstanceConfigPtrInput ¶
type WorkstationConfigHostGceInstanceConfidentialInstanceConfigPtrInput interface { pulumi.Input ToWorkstationConfigHostGceInstanceConfidentialInstanceConfigPtrOutput() WorkstationConfigHostGceInstanceConfidentialInstanceConfigPtrOutput ToWorkstationConfigHostGceInstanceConfidentialInstanceConfigPtrOutputWithContext(context.Context) WorkstationConfigHostGceInstanceConfidentialInstanceConfigPtrOutput }
WorkstationConfigHostGceInstanceConfidentialInstanceConfigPtrInput is an input type that accepts WorkstationConfigHostGceInstanceConfidentialInstanceConfigArgs, WorkstationConfigHostGceInstanceConfidentialInstanceConfigPtr and WorkstationConfigHostGceInstanceConfidentialInstanceConfigPtrOutput values. You can construct a concrete instance of `WorkstationConfigHostGceInstanceConfidentialInstanceConfigPtrInput` via:
WorkstationConfigHostGceInstanceConfidentialInstanceConfigArgs{...} or: nil
func WorkstationConfigHostGceInstanceConfidentialInstanceConfigPtr ¶
func WorkstationConfigHostGceInstanceConfidentialInstanceConfigPtr(v *WorkstationConfigHostGceInstanceConfidentialInstanceConfigArgs) WorkstationConfigHostGceInstanceConfidentialInstanceConfigPtrInput
type WorkstationConfigHostGceInstanceConfidentialInstanceConfigPtrOutput ¶
type WorkstationConfigHostGceInstanceConfidentialInstanceConfigPtrOutput struct{ *pulumi.OutputState }
func (WorkstationConfigHostGceInstanceConfidentialInstanceConfigPtrOutput) ElementType ¶
func (WorkstationConfigHostGceInstanceConfidentialInstanceConfigPtrOutput) ElementType() reflect.Type
func (WorkstationConfigHostGceInstanceConfidentialInstanceConfigPtrOutput) EnableConfidentialCompute ¶
func (o WorkstationConfigHostGceInstanceConfidentialInstanceConfigPtrOutput) EnableConfidentialCompute() pulumi.BoolPtrOutput
Whether the instance has confidential compute enabled.
func (WorkstationConfigHostGceInstanceConfidentialInstanceConfigPtrOutput) ToWorkstationConfigHostGceInstanceConfidentialInstanceConfigPtrOutput ¶
func (o WorkstationConfigHostGceInstanceConfidentialInstanceConfigPtrOutput) ToWorkstationConfigHostGceInstanceConfidentialInstanceConfigPtrOutput() WorkstationConfigHostGceInstanceConfidentialInstanceConfigPtrOutput
func (WorkstationConfigHostGceInstanceConfidentialInstanceConfigPtrOutput) ToWorkstationConfigHostGceInstanceConfidentialInstanceConfigPtrOutputWithContext ¶
func (o WorkstationConfigHostGceInstanceConfidentialInstanceConfigPtrOutput) ToWorkstationConfigHostGceInstanceConfidentialInstanceConfigPtrOutputWithContext(ctx context.Context) WorkstationConfigHostGceInstanceConfidentialInstanceConfigPtrOutput
type WorkstationConfigHostGceInstanceInput ¶
type WorkstationConfigHostGceInstanceInput interface { pulumi.Input ToWorkstationConfigHostGceInstanceOutput() WorkstationConfigHostGceInstanceOutput ToWorkstationConfigHostGceInstanceOutputWithContext(context.Context) WorkstationConfigHostGceInstanceOutput }
WorkstationConfigHostGceInstanceInput is an input type that accepts WorkstationConfigHostGceInstanceArgs and WorkstationConfigHostGceInstanceOutput values. You can construct a concrete instance of `WorkstationConfigHostGceInstanceInput` via:
WorkstationConfigHostGceInstanceArgs{...}
type WorkstationConfigHostGceInstanceOutput ¶
type WorkstationConfigHostGceInstanceOutput struct{ *pulumi.OutputState }
func (WorkstationConfigHostGceInstanceOutput) Accelerators ¶
func (o WorkstationConfigHostGceInstanceOutput) Accelerators() WorkstationConfigHostGceInstanceAcceleratorArrayOutput
An accelerator card attached to the instance. Structure is documented below.
func (WorkstationConfigHostGceInstanceOutput) BoostConfigs ¶
func (o WorkstationConfigHostGceInstanceOutput) BoostConfigs() WorkstationConfigHostGceInstanceBoostConfigArrayOutput
A list of the boost configurations that workstations created using this workstation configuration are allowed to use. Structure is documented below.
func (WorkstationConfigHostGceInstanceOutput) BootDiskSizeGb ¶
func (o WorkstationConfigHostGceInstanceOutput) BootDiskSizeGb() pulumi.IntPtrOutput
Size of the boot disk in GB.
func (WorkstationConfigHostGceInstanceOutput) ConfidentialInstanceConfig ¶
func (o WorkstationConfigHostGceInstanceOutput) ConfidentialInstanceConfig() WorkstationConfigHostGceInstanceConfidentialInstanceConfigPtrOutput
A set of Compute Engine Confidential VM instance options. Structure is documented below.
func (WorkstationConfigHostGceInstanceOutput) DisablePublicIpAddresses ¶
func (o WorkstationConfigHostGceInstanceOutput) DisablePublicIpAddresses() pulumi.BoolPtrOutput
Whether instances have no public IP address.
func (WorkstationConfigHostGceInstanceOutput) DisableSsh ¶
func (o WorkstationConfigHostGceInstanceOutput) DisableSsh() pulumi.BoolPtrOutput
Whether to disable SSH access to the VM.
func (WorkstationConfigHostGceInstanceOutput) ElementType ¶
func (WorkstationConfigHostGceInstanceOutput) ElementType() reflect.Type
func (WorkstationConfigHostGceInstanceOutput) EnableNestedVirtualization ¶
func (o WorkstationConfigHostGceInstanceOutput) EnableNestedVirtualization() pulumi.BoolPtrOutput
Whether to enable nested virtualization on the Compute Engine VMs backing the Workstations. See https://cloud.google.com/workstations/docs/reference/rest/v1beta/projects.locations.workstationClusters.workstationConfigs#GceInstance.FIELDS.enable_nested_virtualization
func (WorkstationConfigHostGceInstanceOutput) MachineType ¶
func (o WorkstationConfigHostGceInstanceOutput) MachineType() pulumi.StringPtrOutput
The name of a Compute Engine machine type.
func (WorkstationConfigHostGceInstanceOutput) PoolSize ¶
func (o WorkstationConfigHostGceInstanceOutput) PoolSize() pulumi.IntPtrOutput
Number of instances to pool for faster workstation startup.
func (WorkstationConfigHostGceInstanceOutput) ServiceAccount ¶
func (o WorkstationConfigHostGceInstanceOutput) ServiceAccount() pulumi.StringPtrOutput
Email address of the service account that will be used on VM instances used to support this config. This service account must have permission to pull the specified container image. If not set, VMs will run without a service account, in which case the image must be publicly accessible.
func (WorkstationConfigHostGceInstanceOutput) ServiceAccountScopes ¶
func (o WorkstationConfigHostGceInstanceOutput) ServiceAccountScopes() pulumi.StringArrayOutput
Scopes to grant to the service_account. Various scopes are automatically added based on feature usage. When specified, users of workstations under this configuration must have `iam.serviceAccounts.actAs` on the service account.
func (WorkstationConfigHostGceInstanceOutput) ShieldedInstanceConfig ¶
func (o WorkstationConfigHostGceInstanceOutput) ShieldedInstanceConfig() WorkstationConfigHostGceInstanceShieldedInstanceConfigPtrOutput
A set of Compute Engine Shielded instance options. Structure is documented below.
func (WorkstationConfigHostGceInstanceOutput) Tags ¶
func (o WorkstationConfigHostGceInstanceOutput) Tags() pulumi.StringArrayOutput
Network tags to add to the Compute Engine machines backing the Workstations.
func (WorkstationConfigHostGceInstanceOutput) ToWorkstationConfigHostGceInstanceOutput ¶
func (o WorkstationConfigHostGceInstanceOutput) ToWorkstationConfigHostGceInstanceOutput() WorkstationConfigHostGceInstanceOutput
func (WorkstationConfigHostGceInstanceOutput) ToWorkstationConfigHostGceInstanceOutputWithContext ¶
func (o WorkstationConfigHostGceInstanceOutput) ToWorkstationConfigHostGceInstanceOutputWithContext(ctx context.Context) WorkstationConfigHostGceInstanceOutput
func (WorkstationConfigHostGceInstanceOutput) ToWorkstationConfigHostGceInstancePtrOutput ¶
func (o WorkstationConfigHostGceInstanceOutput) ToWorkstationConfigHostGceInstancePtrOutput() WorkstationConfigHostGceInstancePtrOutput
func (WorkstationConfigHostGceInstanceOutput) ToWorkstationConfigHostGceInstancePtrOutputWithContext ¶
func (o WorkstationConfigHostGceInstanceOutput) ToWorkstationConfigHostGceInstancePtrOutputWithContext(ctx context.Context) WorkstationConfigHostGceInstancePtrOutput
func (WorkstationConfigHostGceInstanceOutput) VmTags ¶
func (o WorkstationConfigHostGceInstanceOutput) VmTags() pulumi.StringMapOutput
Resource manager tags to be bound to the VM instances backing the Workstations. Tag keys and values have the same definition as https://cloud.google.com/resource-manager/docs/tags/tags-overview Keys must be in the format `tagKeys/{tag_key_id}`, and values are in the format `tagValues/456`.
type WorkstationConfigHostGceInstancePtrInput ¶
type WorkstationConfigHostGceInstancePtrInput interface { pulumi.Input ToWorkstationConfigHostGceInstancePtrOutput() WorkstationConfigHostGceInstancePtrOutput ToWorkstationConfigHostGceInstancePtrOutputWithContext(context.Context) WorkstationConfigHostGceInstancePtrOutput }
WorkstationConfigHostGceInstancePtrInput is an input type that accepts WorkstationConfigHostGceInstanceArgs, WorkstationConfigHostGceInstancePtr and WorkstationConfigHostGceInstancePtrOutput values. You can construct a concrete instance of `WorkstationConfigHostGceInstancePtrInput` via:
WorkstationConfigHostGceInstanceArgs{...} or: nil
func WorkstationConfigHostGceInstancePtr ¶
func WorkstationConfigHostGceInstancePtr(v *WorkstationConfigHostGceInstanceArgs) WorkstationConfigHostGceInstancePtrInput
type WorkstationConfigHostGceInstancePtrOutput ¶
type WorkstationConfigHostGceInstancePtrOutput struct{ *pulumi.OutputState }
func (WorkstationConfigHostGceInstancePtrOutput) Accelerators ¶
func (o WorkstationConfigHostGceInstancePtrOutput) Accelerators() WorkstationConfigHostGceInstanceAcceleratorArrayOutput
An accelerator card attached to the instance. Structure is documented below.
func (WorkstationConfigHostGceInstancePtrOutput) BoostConfigs ¶
func (o WorkstationConfigHostGceInstancePtrOutput) BoostConfigs() WorkstationConfigHostGceInstanceBoostConfigArrayOutput
A list of the boost configurations that workstations created using this workstation configuration are allowed to use. Structure is documented below.
func (WorkstationConfigHostGceInstancePtrOutput) BootDiskSizeGb ¶
func (o WorkstationConfigHostGceInstancePtrOutput) BootDiskSizeGb() pulumi.IntPtrOutput
Size of the boot disk in GB.
func (WorkstationConfigHostGceInstancePtrOutput) ConfidentialInstanceConfig ¶
func (o WorkstationConfigHostGceInstancePtrOutput) ConfidentialInstanceConfig() WorkstationConfigHostGceInstanceConfidentialInstanceConfigPtrOutput
A set of Compute Engine Confidential VM instance options. Structure is documented below.
func (WorkstationConfigHostGceInstancePtrOutput) DisablePublicIpAddresses ¶
func (o WorkstationConfigHostGceInstancePtrOutput) DisablePublicIpAddresses() pulumi.BoolPtrOutput
Whether instances have no public IP address.
func (WorkstationConfigHostGceInstancePtrOutput) DisableSsh ¶
func (o WorkstationConfigHostGceInstancePtrOutput) DisableSsh() pulumi.BoolPtrOutput
Whether to disable SSH access to the VM.
func (WorkstationConfigHostGceInstancePtrOutput) ElementType ¶
func (WorkstationConfigHostGceInstancePtrOutput) ElementType() reflect.Type
func (WorkstationConfigHostGceInstancePtrOutput) EnableNestedVirtualization ¶
func (o WorkstationConfigHostGceInstancePtrOutput) EnableNestedVirtualization() pulumi.BoolPtrOutput
Whether to enable nested virtualization on the Compute Engine VMs backing the Workstations. See https://cloud.google.com/workstations/docs/reference/rest/v1beta/projects.locations.workstationClusters.workstationConfigs#GceInstance.FIELDS.enable_nested_virtualization
func (WorkstationConfigHostGceInstancePtrOutput) MachineType ¶
func (o WorkstationConfigHostGceInstancePtrOutput) MachineType() pulumi.StringPtrOutput
The name of a Compute Engine machine type.
func (WorkstationConfigHostGceInstancePtrOutput) PoolSize ¶
func (o WorkstationConfigHostGceInstancePtrOutput) PoolSize() pulumi.IntPtrOutput
Number of instances to pool for faster workstation startup.
func (WorkstationConfigHostGceInstancePtrOutput) ServiceAccount ¶
func (o WorkstationConfigHostGceInstancePtrOutput) ServiceAccount() pulumi.StringPtrOutput
Email address of the service account that will be used on VM instances used to support this config. This service account must have permission to pull the specified container image. If not set, VMs will run without a service account, in which case the image must be publicly accessible.
func (WorkstationConfigHostGceInstancePtrOutput) ServiceAccountScopes ¶
func (o WorkstationConfigHostGceInstancePtrOutput) ServiceAccountScopes() pulumi.StringArrayOutput
Scopes to grant to the service_account. Various scopes are automatically added based on feature usage. When specified, users of workstations under this configuration must have `iam.serviceAccounts.actAs` on the service account.
func (WorkstationConfigHostGceInstancePtrOutput) ShieldedInstanceConfig ¶
func (o WorkstationConfigHostGceInstancePtrOutput) ShieldedInstanceConfig() WorkstationConfigHostGceInstanceShieldedInstanceConfigPtrOutput
A set of Compute Engine Shielded instance options. Structure is documented below.
func (WorkstationConfigHostGceInstancePtrOutput) Tags ¶
func (o WorkstationConfigHostGceInstancePtrOutput) Tags() pulumi.StringArrayOutput
Network tags to add to the Compute Engine machines backing the Workstations.
func (WorkstationConfigHostGceInstancePtrOutput) ToWorkstationConfigHostGceInstancePtrOutput ¶
func (o WorkstationConfigHostGceInstancePtrOutput) ToWorkstationConfigHostGceInstancePtrOutput() WorkstationConfigHostGceInstancePtrOutput
func (WorkstationConfigHostGceInstancePtrOutput) ToWorkstationConfigHostGceInstancePtrOutputWithContext ¶
func (o WorkstationConfigHostGceInstancePtrOutput) ToWorkstationConfigHostGceInstancePtrOutputWithContext(ctx context.Context) WorkstationConfigHostGceInstancePtrOutput
func (WorkstationConfigHostGceInstancePtrOutput) VmTags ¶
func (o WorkstationConfigHostGceInstancePtrOutput) VmTags() pulumi.StringMapOutput
Resource manager tags to be bound to the VM instances backing the Workstations. Tag keys and values have the same definition as https://cloud.google.com/resource-manager/docs/tags/tags-overview Keys must be in the format `tagKeys/{tag_key_id}`, and values are in the format `tagValues/456`.
type WorkstationConfigHostGceInstanceShieldedInstanceConfig ¶
type WorkstationConfigHostGceInstanceShieldedInstanceConfig struct { // Whether the instance has integrity monitoring enabled. EnableIntegrityMonitoring *bool `pulumi:"enableIntegrityMonitoring"` // Whether the instance has Secure Boot enabled. EnableSecureBoot *bool `pulumi:"enableSecureBoot"` // Whether the instance has the vTPM enabled. EnableVtpm *bool `pulumi:"enableVtpm"` }
type WorkstationConfigHostGceInstanceShieldedInstanceConfigArgs ¶
type WorkstationConfigHostGceInstanceShieldedInstanceConfigArgs struct { // Whether the instance has integrity monitoring enabled. EnableIntegrityMonitoring pulumi.BoolPtrInput `pulumi:"enableIntegrityMonitoring"` // Whether the instance has Secure Boot enabled. EnableSecureBoot pulumi.BoolPtrInput `pulumi:"enableSecureBoot"` // Whether the instance has the vTPM enabled. EnableVtpm pulumi.BoolPtrInput `pulumi:"enableVtpm"` }
func (WorkstationConfigHostGceInstanceShieldedInstanceConfigArgs) ElementType ¶
func (WorkstationConfigHostGceInstanceShieldedInstanceConfigArgs) ElementType() reflect.Type
func (WorkstationConfigHostGceInstanceShieldedInstanceConfigArgs) ToWorkstationConfigHostGceInstanceShieldedInstanceConfigOutput ¶
func (i WorkstationConfigHostGceInstanceShieldedInstanceConfigArgs) ToWorkstationConfigHostGceInstanceShieldedInstanceConfigOutput() WorkstationConfigHostGceInstanceShieldedInstanceConfigOutput
func (WorkstationConfigHostGceInstanceShieldedInstanceConfigArgs) ToWorkstationConfigHostGceInstanceShieldedInstanceConfigOutputWithContext ¶
func (i WorkstationConfigHostGceInstanceShieldedInstanceConfigArgs) ToWorkstationConfigHostGceInstanceShieldedInstanceConfigOutputWithContext(ctx context.Context) WorkstationConfigHostGceInstanceShieldedInstanceConfigOutput
func (WorkstationConfigHostGceInstanceShieldedInstanceConfigArgs) ToWorkstationConfigHostGceInstanceShieldedInstanceConfigPtrOutput ¶
func (i WorkstationConfigHostGceInstanceShieldedInstanceConfigArgs) ToWorkstationConfigHostGceInstanceShieldedInstanceConfigPtrOutput() WorkstationConfigHostGceInstanceShieldedInstanceConfigPtrOutput
func (WorkstationConfigHostGceInstanceShieldedInstanceConfigArgs) ToWorkstationConfigHostGceInstanceShieldedInstanceConfigPtrOutputWithContext ¶
func (i WorkstationConfigHostGceInstanceShieldedInstanceConfigArgs) ToWorkstationConfigHostGceInstanceShieldedInstanceConfigPtrOutputWithContext(ctx context.Context) WorkstationConfigHostGceInstanceShieldedInstanceConfigPtrOutput
type WorkstationConfigHostGceInstanceShieldedInstanceConfigInput ¶
type WorkstationConfigHostGceInstanceShieldedInstanceConfigInput interface { pulumi.Input ToWorkstationConfigHostGceInstanceShieldedInstanceConfigOutput() WorkstationConfigHostGceInstanceShieldedInstanceConfigOutput ToWorkstationConfigHostGceInstanceShieldedInstanceConfigOutputWithContext(context.Context) WorkstationConfigHostGceInstanceShieldedInstanceConfigOutput }
WorkstationConfigHostGceInstanceShieldedInstanceConfigInput is an input type that accepts WorkstationConfigHostGceInstanceShieldedInstanceConfigArgs and WorkstationConfigHostGceInstanceShieldedInstanceConfigOutput values. You can construct a concrete instance of `WorkstationConfigHostGceInstanceShieldedInstanceConfigInput` via:
WorkstationConfigHostGceInstanceShieldedInstanceConfigArgs{...}
type WorkstationConfigHostGceInstanceShieldedInstanceConfigOutput ¶
type WorkstationConfigHostGceInstanceShieldedInstanceConfigOutput struct{ *pulumi.OutputState }
func (WorkstationConfigHostGceInstanceShieldedInstanceConfigOutput) ElementType ¶
func (WorkstationConfigHostGceInstanceShieldedInstanceConfigOutput) ElementType() reflect.Type
func (WorkstationConfigHostGceInstanceShieldedInstanceConfigOutput) EnableIntegrityMonitoring ¶
func (o WorkstationConfigHostGceInstanceShieldedInstanceConfigOutput) EnableIntegrityMonitoring() pulumi.BoolPtrOutput
Whether the instance has integrity monitoring enabled.
func (WorkstationConfigHostGceInstanceShieldedInstanceConfigOutput) EnableSecureBoot ¶
func (o WorkstationConfigHostGceInstanceShieldedInstanceConfigOutput) EnableSecureBoot() pulumi.BoolPtrOutput
Whether the instance has Secure Boot enabled.
func (WorkstationConfigHostGceInstanceShieldedInstanceConfigOutput) EnableVtpm ¶
func (o WorkstationConfigHostGceInstanceShieldedInstanceConfigOutput) EnableVtpm() pulumi.BoolPtrOutput
Whether the instance has the vTPM enabled.
func (WorkstationConfigHostGceInstanceShieldedInstanceConfigOutput) ToWorkstationConfigHostGceInstanceShieldedInstanceConfigOutput ¶
func (o WorkstationConfigHostGceInstanceShieldedInstanceConfigOutput) ToWorkstationConfigHostGceInstanceShieldedInstanceConfigOutput() WorkstationConfigHostGceInstanceShieldedInstanceConfigOutput
func (WorkstationConfigHostGceInstanceShieldedInstanceConfigOutput) ToWorkstationConfigHostGceInstanceShieldedInstanceConfigOutputWithContext ¶
func (o WorkstationConfigHostGceInstanceShieldedInstanceConfigOutput) ToWorkstationConfigHostGceInstanceShieldedInstanceConfigOutputWithContext(ctx context.Context) WorkstationConfigHostGceInstanceShieldedInstanceConfigOutput
func (WorkstationConfigHostGceInstanceShieldedInstanceConfigOutput) ToWorkstationConfigHostGceInstanceShieldedInstanceConfigPtrOutput ¶
func (o WorkstationConfigHostGceInstanceShieldedInstanceConfigOutput) ToWorkstationConfigHostGceInstanceShieldedInstanceConfigPtrOutput() WorkstationConfigHostGceInstanceShieldedInstanceConfigPtrOutput
func (WorkstationConfigHostGceInstanceShieldedInstanceConfigOutput) ToWorkstationConfigHostGceInstanceShieldedInstanceConfigPtrOutputWithContext ¶
func (o WorkstationConfigHostGceInstanceShieldedInstanceConfigOutput) ToWorkstationConfigHostGceInstanceShieldedInstanceConfigPtrOutputWithContext(ctx context.Context) WorkstationConfigHostGceInstanceShieldedInstanceConfigPtrOutput
type WorkstationConfigHostGceInstanceShieldedInstanceConfigPtrInput ¶
type WorkstationConfigHostGceInstanceShieldedInstanceConfigPtrInput interface { pulumi.Input ToWorkstationConfigHostGceInstanceShieldedInstanceConfigPtrOutput() WorkstationConfigHostGceInstanceShieldedInstanceConfigPtrOutput ToWorkstationConfigHostGceInstanceShieldedInstanceConfigPtrOutputWithContext(context.Context) WorkstationConfigHostGceInstanceShieldedInstanceConfigPtrOutput }
WorkstationConfigHostGceInstanceShieldedInstanceConfigPtrInput is an input type that accepts WorkstationConfigHostGceInstanceShieldedInstanceConfigArgs, WorkstationConfigHostGceInstanceShieldedInstanceConfigPtr and WorkstationConfigHostGceInstanceShieldedInstanceConfigPtrOutput values. You can construct a concrete instance of `WorkstationConfigHostGceInstanceShieldedInstanceConfigPtrInput` via:
WorkstationConfigHostGceInstanceShieldedInstanceConfigArgs{...} or: nil
func WorkstationConfigHostGceInstanceShieldedInstanceConfigPtr ¶
func WorkstationConfigHostGceInstanceShieldedInstanceConfigPtr(v *WorkstationConfigHostGceInstanceShieldedInstanceConfigArgs) WorkstationConfigHostGceInstanceShieldedInstanceConfigPtrInput
type WorkstationConfigHostGceInstanceShieldedInstanceConfigPtrOutput ¶
type WorkstationConfigHostGceInstanceShieldedInstanceConfigPtrOutput struct{ *pulumi.OutputState }
func (WorkstationConfigHostGceInstanceShieldedInstanceConfigPtrOutput) ElementType ¶
func (WorkstationConfigHostGceInstanceShieldedInstanceConfigPtrOutput) ElementType() reflect.Type
func (WorkstationConfigHostGceInstanceShieldedInstanceConfigPtrOutput) EnableIntegrityMonitoring ¶
func (o WorkstationConfigHostGceInstanceShieldedInstanceConfigPtrOutput) EnableIntegrityMonitoring() pulumi.BoolPtrOutput
Whether the instance has integrity monitoring enabled.
func (WorkstationConfigHostGceInstanceShieldedInstanceConfigPtrOutput) EnableSecureBoot ¶
func (o WorkstationConfigHostGceInstanceShieldedInstanceConfigPtrOutput) EnableSecureBoot() pulumi.BoolPtrOutput
Whether the instance has Secure Boot enabled.
func (WorkstationConfigHostGceInstanceShieldedInstanceConfigPtrOutput) EnableVtpm ¶
func (o WorkstationConfigHostGceInstanceShieldedInstanceConfigPtrOutput) EnableVtpm() pulumi.BoolPtrOutput
Whether the instance has the vTPM enabled.
func (WorkstationConfigHostGceInstanceShieldedInstanceConfigPtrOutput) ToWorkstationConfigHostGceInstanceShieldedInstanceConfigPtrOutput ¶
func (o WorkstationConfigHostGceInstanceShieldedInstanceConfigPtrOutput) ToWorkstationConfigHostGceInstanceShieldedInstanceConfigPtrOutput() WorkstationConfigHostGceInstanceShieldedInstanceConfigPtrOutput
func (WorkstationConfigHostGceInstanceShieldedInstanceConfigPtrOutput) ToWorkstationConfigHostGceInstanceShieldedInstanceConfigPtrOutputWithContext ¶
func (o WorkstationConfigHostGceInstanceShieldedInstanceConfigPtrOutput) ToWorkstationConfigHostGceInstanceShieldedInstanceConfigPtrOutputWithContext(ctx context.Context) WorkstationConfigHostGceInstanceShieldedInstanceConfigPtrOutput
type WorkstationConfigHostInput ¶
type WorkstationConfigHostInput interface { pulumi.Input ToWorkstationConfigHostOutput() WorkstationConfigHostOutput ToWorkstationConfigHostOutputWithContext(context.Context) WorkstationConfigHostOutput }
WorkstationConfigHostInput is an input type that accepts WorkstationConfigHostArgs and WorkstationConfigHostOutput values. You can construct a concrete instance of `WorkstationConfigHostInput` via:
WorkstationConfigHostArgs{...}
type WorkstationConfigHostOutput ¶
type WorkstationConfigHostOutput struct{ *pulumi.OutputState }
func (WorkstationConfigHostOutput) ElementType ¶
func (WorkstationConfigHostOutput) ElementType() reflect.Type
func (WorkstationConfigHostOutput) GceInstance ¶
func (o WorkstationConfigHostOutput) GceInstance() WorkstationConfigHostGceInstancePtrOutput
A runtime using a Compute Engine instance. Structure is documented below.
func (WorkstationConfigHostOutput) ToWorkstationConfigHostOutput ¶
func (o WorkstationConfigHostOutput) ToWorkstationConfigHostOutput() WorkstationConfigHostOutput
func (WorkstationConfigHostOutput) ToWorkstationConfigHostOutputWithContext ¶
func (o WorkstationConfigHostOutput) ToWorkstationConfigHostOutputWithContext(ctx context.Context) WorkstationConfigHostOutput
func (WorkstationConfigHostOutput) ToWorkstationConfigHostPtrOutput ¶
func (o WorkstationConfigHostOutput) ToWorkstationConfigHostPtrOutput() WorkstationConfigHostPtrOutput
func (WorkstationConfigHostOutput) ToWorkstationConfigHostPtrOutputWithContext ¶
func (o WorkstationConfigHostOutput) ToWorkstationConfigHostPtrOutputWithContext(ctx context.Context) WorkstationConfigHostPtrOutput
type WorkstationConfigHostPtrInput ¶
type WorkstationConfigHostPtrInput interface { pulumi.Input ToWorkstationConfigHostPtrOutput() WorkstationConfigHostPtrOutput ToWorkstationConfigHostPtrOutputWithContext(context.Context) WorkstationConfigHostPtrOutput }
WorkstationConfigHostPtrInput is an input type that accepts WorkstationConfigHostArgs, WorkstationConfigHostPtr and WorkstationConfigHostPtrOutput values. You can construct a concrete instance of `WorkstationConfigHostPtrInput` via:
WorkstationConfigHostArgs{...} or: nil
func WorkstationConfigHostPtr ¶
func WorkstationConfigHostPtr(v *WorkstationConfigHostArgs) WorkstationConfigHostPtrInput
type WorkstationConfigHostPtrOutput ¶
type WorkstationConfigHostPtrOutput struct{ *pulumi.OutputState }
func (WorkstationConfigHostPtrOutput) Elem ¶
func (o WorkstationConfigHostPtrOutput) Elem() WorkstationConfigHostOutput
func (WorkstationConfigHostPtrOutput) ElementType ¶
func (WorkstationConfigHostPtrOutput) ElementType() reflect.Type
func (WorkstationConfigHostPtrOutput) GceInstance ¶
func (o WorkstationConfigHostPtrOutput) GceInstance() WorkstationConfigHostGceInstancePtrOutput
A runtime using a Compute Engine instance. Structure is documented below.
func (WorkstationConfigHostPtrOutput) ToWorkstationConfigHostPtrOutput ¶
func (o WorkstationConfigHostPtrOutput) ToWorkstationConfigHostPtrOutput() WorkstationConfigHostPtrOutput
func (WorkstationConfigHostPtrOutput) ToWorkstationConfigHostPtrOutputWithContext ¶
func (o WorkstationConfigHostPtrOutput) ToWorkstationConfigHostPtrOutputWithContext(ctx context.Context) WorkstationConfigHostPtrOutput
type WorkstationConfigIamBinding ¶
type WorkstationConfigIamBinding struct { pulumi.CustomResourceState Condition WorkstationConfigIamBindingConditionPtrOutput `pulumi:"condition"` // (Computed) The etag of the IAM policy. Etag pulumi.StringOutput `pulumi:"etag"` // The location where the workstation cluster config should reside. // Used to find the parent resource to bind the IAM policy to. If not specified, // the value will be parsed from the identifier of the parent resource. If no location is provided in the parent identifier and no // location is specified, it is taken from the provider configuration. Location pulumi.StringOutput `pulumi:"location"` // Identities that will be granted the privilege in `role`. // Each entry can have one of the following values: // * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account. // * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account. // * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com. // * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com. // * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com. // * **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com. // * **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project" // * **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project" // * **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project" Members pulumi.StringArrayOutput `pulumi:"members"` // The ID of the project in which the resource belongs. // If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used. Project pulumi.StringOutput `pulumi:"project"` // The role that should be applied. Only one // `workstations.WorkstationConfigIamBinding` can be used per role. Note that custom roles must be of the format // `[projects|organizations]/{parent-name}/roles/{role-name}`. Role pulumi.StringOutput `pulumi:"role"` WorkstationClusterId pulumi.StringOutput `pulumi:"workstationClusterId"` WorkstationConfigId pulumi.StringOutput `pulumi:"workstationConfigId"` }
## Import
For all import syntaxes, the "resource in question" can take any of the following forms:
* projects/{{project}}/locations/{{location}}/workstationClusters/{{workstation_cluster_id}}/workstationConfigs/{{workstation_config_id}}
* {{project}}/{{location}}/{{workstation_cluster_id}}/{{workstation_config_id}}
* {{location}}/{{workstation_cluster_id}}/{{workstation_config_id}}
* {{workstation_config_id}}
Any variables not passed in the import command will be taken from the provider configuration.
Cloud Workstations workstationconfig IAM resources can be imported using the resource identifiers, role, and member.
IAM member imports use space-delimited identifiers: the resource in question, the role, and the member identity, e.g.
```sh $ pulumi import gcp:workstations/workstationConfigIamBinding:WorkstationConfigIamBinding editor "projects/{{project}}/locations/{{location}}/workstationClusters/{{workstation_cluster_id}}/workstationConfigs/{{workstation_config_id}} roles/viewer user:jane@example.com" ```
IAM binding imports use space-delimited identifiers: the resource in question and the role, e.g.
```sh $ pulumi import gcp:workstations/workstationConfigIamBinding:WorkstationConfigIamBinding editor "projects/{{project}}/locations/{{location}}/workstationClusters/{{workstation_cluster_id}}/workstationConfigs/{{workstation_config_id}} roles/viewer" ```
IAM policy imports use the identifier of the resource in question, e.g.
```sh $ pulumi import gcp:workstations/workstationConfigIamBinding:WorkstationConfigIamBinding editor projects/{{project}}/locations/{{location}}/workstationClusters/{{workstation_cluster_id}}/workstationConfigs/{{workstation_config_id}} ```
-> **Custom Roles**: If you're importing a IAM resource with a custom role, make sure to use the
full name of the custom role, e.g. `[projects/my-project|organizations/my-org]/roles/my-custom-role`.
func GetWorkstationConfigIamBinding ¶
func GetWorkstationConfigIamBinding(ctx *pulumi.Context, name string, id pulumi.IDInput, state *WorkstationConfigIamBindingState, opts ...pulumi.ResourceOption) (*WorkstationConfigIamBinding, error)
GetWorkstationConfigIamBinding gets an existing WorkstationConfigIamBinding resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewWorkstationConfigIamBinding ¶
func NewWorkstationConfigIamBinding(ctx *pulumi.Context, name string, args *WorkstationConfigIamBindingArgs, opts ...pulumi.ResourceOption) (*WorkstationConfigIamBinding, error)
NewWorkstationConfigIamBinding registers a new resource with the given unique name, arguments, and options.
func (*WorkstationConfigIamBinding) ElementType ¶
func (*WorkstationConfigIamBinding) ElementType() reflect.Type
func (*WorkstationConfigIamBinding) ToWorkstationConfigIamBindingOutput ¶
func (i *WorkstationConfigIamBinding) ToWorkstationConfigIamBindingOutput() WorkstationConfigIamBindingOutput
func (*WorkstationConfigIamBinding) ToWorkstationConfigIamBindingOutputWithContext ¶
func (i *WorkstationConfigIamBinding) ToWorkstationConfigIamBindingOutputWithContext(ctx context.Context) WorkstationConfigIamBindingOutput
type WorkstationConfigIamBindingArgs ¶
type WorkstationConfigIamBindingArgs struct { Condition WorkstationConfigIamBindingConditionPtrInput // The location where the workstation cluster config should reside. // Used to find the parent resource to bind the IAM policy to. If not specified, // the value will be parsed from the identifier of the parent resource. If no location is provided in the parent identifier and no // location is specified, it is taken from the provider configuration. Location pulumi.StringPtrInput // Identities that will be granted the privilege in `role`. // Each entry can have one of the following values: // * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account. // * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account. // * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com. // * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com. // * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com. // * **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com. // * **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project" // * **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project" // * **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project" Members pulumi.StringArrayInput // The ID of the project in which the resource belongs. // If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used. Project pulumi.StringPtrInput // The role that should be applied. Only one // `workstations.WorkstationConfigIamBinding` can be used per role. Note that custom roles must be of the format // `[projects|organizations]/{parent-name}/roles/{role-name}`. Role pulumi.StringInput WorkstationClusterId pulumi.StringInput WorkstationConfigId pulumi.StringInput }
The set of arguments for constructing a WorkstationConfigIamBinding resource.
func (WorkstationConfigIamBindingArgs) ElementType ¶
func (WorkstationConfigIamBindingArgs) ElementType() reflect.Type
type WorkstationConfigIamBindingArray ¶
type WorkstationConfigIamBindingArray []WorkstationConfigIamBindingInput
func (WorkstationConfigIamBindingArray) ElementType ¶
func (WorkstationConfigIamBindingArray) ElementType() reflect.Type
func (WorkstationConfigIamBindingArray) ToWorkstationConfigIamBindingArrayOutput ¶
func (i WorkstationConfigIamBindingArray) ToWorkstationConfigIamBindingArrayOutput() WorkstationConfigIamBindingArrayOutput
func (WorkstationConfigIamBindingArray) ToWorkstationConfigIamBindingArrayOutputWithContext ¶
func (i WorkstationConfigIamBindingArray) ToWorkstationConfigIamBindingArrayOutputWithContext(ctx context.Context) WorkstationConfigIamBindingArrayOutput
type WorkstationConfigIamBindingArrayInput ¶
type WorkstationConfigIamBindingArrayInput interface { pulumi.Input ToWorkstationConfigIamBindingArrayOutput() WorkstationConfigIamBindingArrayOutput ToWorkstationConfigIamBindingArrayOutputWithContext(context.Context) WorkstationConfigIamBindingArrayOutput }
WorkstationConfigIamBindingArrayInput is an input type that accepts WorkstationConfigIamBindingArray and WorkstationConfigIamBindingArrayOutput values. You can construct a concrete instance of `WorkstationConfigIamBindingArrayInput` via:
WorkstationConfigIamBindingArray{ WorkstationConfigIamBindingArgs{...} }
type WorkstationConfigIamBindingArrayOutput ¶
type WorkstationConfigIamBindingArrayOutput struct{ *pulumi.OutputState }
func (WorkstationConfigIamBindingArrayOutput) ElementType ¶
func (WorkstationConfigIamBindingArrayOutput) ElementType() reflect.Type
func (WorkstationConfigIamBindingArrayOutput) ToWorkstationConfigIamBindingArrayOutput ¶
func (o WorkstationConfigIamBindingArrayOutput) ToWorkstationConfigIamBindingArrayOutput() WorkstationConfigIamBindingArrayOutput
func (WorkstationConfigIamBindingArrayOutput) ToWorkstationConfigIamBindingArrayOutputWithContext ¶
func (o WorkstationConfigIamBindingArrayOutput) ToWorkstationConfigIamBindingArrayOutputWithContext(ctx context.Context) WorkstationConfigIamBindingArrayOutput
type WorkstationConfigIamBindingConditionArgs ¶
type WorkstationConfigIamBindingConditionArgs struct { Description pulumi.StringPtrInput `pulumi:"description"` Expression pulumi.StringInput `pulumi:"expression"` Title pulumi.StringInput `pulumi:"title"` }
func (WorkstationConfigIamBindingConditionArgs) ElementType ¶
func (WorkstationConfigIamBindingConditionArgs) ElementType() reflect.Type
func (WorkstationConfigIamBindingConditionArgs) ToWorkstationConfigIamBindingConditionOutput ¶
func (i WorkstationConfigIamBindingConditionArgs) ToWorkstationConfigIamBindingConditionOutput() WorkstationConfigIamBindingConditionOutput
func (WorkstationConfigIamBindingConditionArgs) ToWorkstationConfigIamBindingConditionOutputWithContext ¶
func (i WorkstationConfigIamBindingConditionArgs) ToWorkstationConfigIamBindingConditionOutputWithContext(ctx context.Context) WorkstationConfigIamBindingConditionOutput
func (WorkstationConfigIamBindingConditionArgs) ToWorkstationConfigIamBindingConditionPtrOutput ¶
func (i WorkstationConfigIamBindingConditionArgs) ToWorkstationConfigIamBindingConditionPtrOutput() WorkstationConfigIamBindingConditionPtrOutput
func (WorkstationConfigIamBindingConditionArgs) ToWorkstationConfigIamBindingConditionPtrOutputWithContext ¶
func (i WorkstationConfigIamBindingConditionArgs) ToWorkstationConfigIamBindingConditionPtrOutputWithContext(ctx context.Context) WorkstationConfigIamBindingConditionPtrOutput
type WorkstationConfigIamBindingConditionInput ¶
type WorkstationConfigIamBindingConditionInput interface { pulumi.Input ToWorkstationConfigIamBindingConditionOutput() WorkstationConfigIamBindingConditionOutput ToWorkstationConfigIamBindingConditionOutputWithContext(context.Context) WorkstationConfigIamBindingConditionOutput }
WorkstationConfigIamBindingConditionInput is an input type that accepts WorkstationConfigIamBindingConditionArgs and WorkstationConfigIamBindingConditionOutput values. You can construct a concrete instance of `WorkstationConfigIamBindingConditionInput` via:
WorkstationConfigIamBindingConditionArgs{...}
type WorkstationConfigIamBindingConditionOutput ¶
type WorkstationConfigIamBindingConditionOutput struct{ *pulumi.OutputState }
func (WorkstationConfigIamBindingConditionOutput) Description ¶
func (o WorkstationConfigIamBindingConditionOutput) Description() pulumi.StringPtrOutput
func (WorkstationConfigIamBindingConditionOutput) ElementType ¶
func (WorkstationConfigIamBindingConditionOutput) ElementType() reflect.Type
func (WorkstationConfigIamBindingConditionOutput) Expression ¶
func (o WorkstationConfigIamBindingConditionOutput) Expression() pulumi.StringOutput
func (WorkstationConfigIamBindingConditionOutput) Title ¶
func (o WorkstationConfigIamBindingConditionOutput) Title() pulumi.StringOutput
func (WorkstationConfigIamBindingConditionOutput) ToWorkstationConfigIamBindingConditionOutput ¶
func (o WorkstationConfigIamBindingConditionOutput) ToWorkstationConfigIamBindingConditionOutput() WorkstationConfigIamBindingConditionOutput
func (WorkstationConfigIamBindingConditionOutput) ToWorkstationConfigIamBindingConditionOutputWithContext ¶
func (o WorkstationConfigIamBindingConditionOutput) ToWorkstationConfigIamBindingConditionOutputWithContext(ctx context.Context) WorkstationConfigIamBindingConditionOutput
func (WorkstationConfigIamBindingConditionOutput) ToWorkstationConfigIamBindingConditionPtrOutput ¶
func (o WorkstationConfigIamBindingConditionOutput) ToWorkstationConfigIamBindingConditionPtrOutput() WorkstationConfigIamBindingConditionPtrOutput
func (WorkstationConfigIamBindingConditionOutput) ToWorkstationConfigIamBindingConditionPtrOutputWithContext ¶
func (o WorkstationConfigIamBindingConditionOutput) ToWorkstationConfigIamBindingConditionPtrOutputWithContext(ctx context.Context) WorkstationConfigIamBindingConditionPtrOutput
type WorkstationConfigIamBindingConditionPtrInput ¶
type WorkstationConfigIamBindingConditionPtrInput interface { pulumi.Input ToWorkstationConfigIamBindingConditionPtrOutput() WorkstationConfigIamBindingConditionPtrOutput ToWorkstationConfigIamBindingConditionPtrOutputWithContext(context.Context) WorkstationConfigIamBindingConditionPtrOutput }
WorkstationConfigIamBindingConditionPtrInput is an input type that accepts WorkstationConfigIamBindingConditionArgs, WorkstationConfigIamBindingConditionPtr and WorkstationConfigIamBindingConditionPtrOutput values. You can construct a concrete instance of `WorkstationConfigIamBindingConditionPtrInput` via:
WorkstationConfigIamBindingConditionArgs{...} or: nil
func WorkstationConfigIamBindingConditionPtr ¶
func WorkstationConfigIamBindingConditionPtr(v *WorkstationConfigIamBindingConditionArgs) WorkstationConfigIamBindingConditionPtrInput
type WorkstationConfigIamBindingConditionPtrOutput ¶
type WorkstationConfigIamBindingConditionPtrOutput struct{ *pulumi.OutputState }
func (WorkstationConfigIamBindingConditionPtrOutput) Description ¶
func (o WorkstationConfigIamBindingConditionPtrOutput) Description() pulumi.StringPtrOutput
func (WorkstationConfigIamBindingConditionPtrOutput) ElementType ¶
func (WorkstationConfigIamBindingConditionPtrOutput) ElementType() reflect.Type
func (WorkstationConfigIamBindingConditionPtrOutput) Expression ¶
func (o WorkstationConfigIamBindingConditionPtrOutput) Expression() pulumi.StringPtrOutput
func (WorkstationConfigIamBindingConditionPtrOutput) Title ¶
func (o WorkstationConfigIamBindingConditionPtrOutput) Title() pulumi.StringPtrOutput
func (WorkstationConfigIamBindingConditionPtrOutput) ToWorkstationConfigIamBindingConditionPtrOutput ¶
func (o WorkstationConfigIamBindingConditionPtrOutput) ToWorkstationConfigIamBindingConditionPtrOutput() WorkstationConfigIamBindingConditionPtrOutput
func (WorkstationConfigIamBindingConditionPtrOutput) ToWorkstationConfigIamBindingConditionPtrOutputWithContext ¶
func (o WorkstationConfigIamBindingConditionPtrOutput) ToWorkstationConfigIamBindingConditionPtrOutputWithContext(ctx context.Context) WorkstationConfigIamBindingConditionPtrOutput
type WorkstationConfigIamBindingInput ¶
type WorkstationConfigIamBindingInput interface { pulumi.Input ToWorkstationConfigIamBindingOutput() WorkstationConfigIamBindingOutput ToWorkstationConfigIamBindingOutputWithContext(ctx context.Context) WorkstationConfigIamBindingOutput }
type WorkstationConfigIamBindingMap ¶
type WorkstationConfigIamBindingMap map[string]WorkstationConfigIamBindingInput
func (WorkstationConfigIamBindingMap) ElementType ¶
func (WorkstationConfigIamBindingMap) ElementType() reflect.Type
func (WorkstationConfigIamBindingMap) ToWorkstationConfigIamBindingMapOutput ¶
func (i WorkstationConfigIamBindingMap) ToWorkstationConfigIamBindingMapOutput() WorkstationConfigIamBindingMapOutput
func (WorkstationConfigIamBindingMap) ToWorkstationConfigIamBindingMapOutputWithContext ¶
func (i WorkstationConfigIamBindingMap) ToWorkstationConfigIamBindingMapOutputWithContext(ctx context.Context) WorkstationConfigIamBindingMapOutput
type WorkstationConfigIamBindingMapInput ¶
type WorkstationConfigIamBindingMapInput interface { pulumi.Input ToWorkstationConfigIamBindingMapOutput() WorkstationConfigIamBindingMapOutput ToWorkstationConfigIamBindingMapOutputWithContext(context.Context) WorkstationConfigIamBindingMapOutput }
WorkstationConfigIamBindingMapInput is an input type that accepts WorkstationConfigIamBindingMap and WorkstationConfigIamBindingMapOutput values. You can construct a concrete instance of `WorkstationConfigIamBindingMapInput` via:
WorkstationConfigIamBindingMap{ "key": WorkstationConfigIamBindingArgs{...} }
type WorkstationConfigIamBindingMapOutput ¶
type WorkstationConfigIamBindingMapOutput struct{ *pulumi.OutputState }
func (WorkstationConfigIamBindingMapOutput) ElementType ¶
func (WorkstationConfigIamBindingMapOutput) ElementType() reflect.Type
func (WorkstationConfigIamBindingMapOutput) MapIndex ¶
func (o WorkstationConfigIamBindingMapOutput) MapIndex(k pulumi.StringInput) WorkstationConfigIamBindingOutput
func (WorkstationConfigIamBindingMapOutput) ToWorkstationConfigIamBindingMapOutput ¶
func (o WorkstationConfigIamBindingMapOutput) ToWorkstationConfigIamBindingMapOutput() WorkstationConfigIamBindingMapOutput
func (WorkstationConfigIamBindingMapOutput) ToWorkstationConfigIamBindingMapOutputWithContext ¶
func (o WorkstationConfigIamBindingMapOutput) ToWorkstationConfigIamBindingMapOutputWithContext(ctx context.Context) WorkstationConfigIamBindingMapOutput
type WorkstationConfigIamBindingOutput ¶
type WorkstationConfigIamBindingOutput struct{ *pulumi.OutputState }
func (WorkstationConfigIamBindingOutput) Condition ¶
func (o WorkstationConfigIamBindingOutput) Condition() WorkstationConfigIamBindingConditionPtrOutput
func (WorkstationConfigIamBindingOutput) ElementType ¶
func (WorkstationConfigIamBindingOutput) ElementType() reflect.Type
func (WorkstationConfigIamBindingOutput) Etag ¶
func (o WorkstationConfigIamBindingOutput) Etag() pulumi.StringOutput
(Computed) The etag of the IAM policy.
func (WorkstationConfigIamBindingOutput) Location ¶
func (o WorkstationConfigIamBindingOutput) Location() pulumi.StringOutput
The location where the workstation cluster config should reside. Used to find the parent resource to bind the IAM policy to. If not specified, the value will be parsed from the identifier of the parent resource. If no location is provided in the parent identifier and no location is specified, it is taken from the provider configuration.
func (WorkstationConfigIamBindingOutput) Members ¶
func (o WorkstationConfigIamBindingOutput) Members() pulumi.StringArrayOutput
Identities that will be granted the privilege in `role`. Each entry can have one of the following values: * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account. * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account. * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com. * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com. * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com. * **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com. * **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project" * **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project" * **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"
func (WorkstationConfigIamBindingOutput) Project ¶
func (o WorkstationConfigIamBindingOutput) Project() pulumi.StringOutput
The ID of the project in which the resource belongs. If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
func (WorkstationConfigIamBindingOutput) Role ¶
func (o WorkstationConfigIamBindingOutput) Role() pulumi.StringOutput
The role that should be applied. Only one `workstations.WorkstationConfigIamBinding` can be used per role. Note that custom roles must be of the format `[projects|organizations]/{parent-name}/roles/{role-name}`.
func (WorkstationConfigIamBindingOutput) ToWorkstationConfigIamBindingOutput ¶
func (o WorkstationConfigIamBindingOutput) ToWorkstationConfigIamBindingOutput() WorkstationConfigIamBindingOutput
func (WorkstationConfigIamBindingOutput) ToWorkstationConfigIamBindingOutputWithContext ¶
func (o WorkstationConfigIamBindingOutput) ToWorkstationConfigIamBindingOutputWithContext(ctx context.Context) WorkstationConfigIamBindingOutput
func (WorkstationConfigIamBindingOutput) WorkstationClusterId ¶
func (o WorkstationConfigIamBindingOutput) WorkstationClusterId() pulumi.StringOutput
func (WorkstationConfigIamBindingOutput) WorkstationConfigId ¶
func (o WorkstationConfigIamBindingOutput) WorkstationConfigId() pulumi.StringOutput
type WorkstationConfigIamBindingState ¶
type WorkstationConfigIamBindingState struct { Condition WorkstationConfigIamBindingConditionPtrInput // (Computed) The etag of the IAM policy. Etag pulumi.StringPtrInput // The location where the workstation cluster config should reside. // Used to find the parent resource to bind the IAM policy to. If not specified, // the value will be parsed from the identifier of the parent resource. If no location is provided in the parent identifier and no // location is specified, it is taken from the provider configuration. Location pulumi.StringPtrInput // Identities that will be granted the privilege in `role`. // Each entry can have one of the following values: // * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account. // * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account. // * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com. // * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com. // * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com. // * **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com. // * **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project" // * **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project" // * **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project" Members pulumi.StringArrayInput // The ID of the project in which the resource belongs. // If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used. Project pulumi.StringPtrInput // The role that should be applied. Only one // `workstations.WorkstationConfigIamBinding` can be used per role. Note that custom roles must be of the format // `[projects|organizations]/{parent-name}/roles/{role-name}`. Role pulumi.StringPtrInput WorkstationClusterId pulumi.StringPtrInput WorkstationConfigId pulumi.StringPtrInput }
func (WorkstationConfigIamBindingState) ElementType ¶
func (WorkstationConfigIamBindingState) ElementType() reflect.Type
type WorkstationConfigIamMember ¶
type WorkstationConfigIamMember struct { pulumi.CustomResourceState Condition WorkstationConfigIamMemberConditionPtrOutput `pulumi:"condition"` // (Computed) The etag of the IAM policy. Etag pulumi.StringOutput `pulumi:"etag"` // The location where the workstation cluster config should reside. // Used to find the parent resource to bind the IAM policy to. If not specified, // the value will be parsed from the identifier of the parent resource. If no location is provided in the parent identifier and no // location is specified, it is taken from the provider configuration. Location pulumi.StringOutput `pulumi:"location"` // Identities that will be granted the privilege in `role`. // Each entry can have one of the following values: // * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account. // * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account. // * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com. // * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com. // * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com. // * **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com. // * **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project" // * **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project" // * **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project" Member pulumi.StringOutput `pulumi:"member"` // The ID of the project in which the resource belongs. // If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used. Project pulumi.StringOutput `pulumi:"project"` // The role that should be applied. Only one // `workstations.WorkstationConfigIamBinding` can be used per role. Note that custom roles must be of the format // `[projects|organizations]/{parent-name}/roles/{role-name}`. Role pulumi.StringOutput `pulumi:"role"` WorkstationClusterId pulumi.StringOutput `pulumi:"workstationClusterId"` WorkstationConfigId pulumi.StringOutput `pulumi:"workstationConfigId"` }
## Import
For all import syntaxes, the "resource in question" can take any of the following forms:
* projects/{{project}}/locations/{{location}}/workstationClusters/{{workstation_cluster_id}}/workstationConfigs/{{workstation_config_id}}
* {{project}}/{{location}}/{{workstation_cluster_id}}/{{workstation_config_id}}
* {{location}}/{{workstation_cluster_id}}/{{workstation_config_id}}
* {{workstation_config_id}}
Any variables not passed in the import command will be taken from the provider configuration.
Cloud Workstations workstationconfig IAM resources can be imported using the resource identifiers, role, and member.
IAM member imports use space-delimited identifiers: the resource in question, the role, and the member identity, e.g.
```sh $ pulumi import gcp:workstations/workstationConfigIamMember:WorkstationConfigIamMember editor "projects/{{project}}/locations/{{location}}/workstationClusters/{{workstation_cluster_id}}/workstationConfigs/{{workstation_config_id}} roles/viewer user:jane@example.com" ```
IAM binding imports use space-delimited identifiers: the resource in question and the role, e.g.
```sh $ pulumi import gcp:workstations/workstationConfigIamMember:WorkstationConfigIamMember editor "projects/{{project}}/locations/{{location}}/workstationClusters/{{workstation_cluster_id}}/workstationConfigs/{{workstation_config_id}} roles/viewer" ```
IAM policy imports use the identifier of the resource in question, e.g.
```sh $ pulumi import gcp:workstations/workstationConfigIamMember:WorkstationConfigIamMember editor projects/{{project}}/locations/{{location}}/workstationClusters/{{workstation_cluster_id}}/workstationConfigs/{{workstation_config_id}} ```
-> **Custom Roles**: If you're importing a IAM resource with a custom role, make sure to use the
full name of the custom role, e.g. `[projects/my-project|organizations/my-org]/roles/my-custom-role`.
func GetWorkstationConfigIamMember ¶
func GetWorkstationConfigIamMember(ctx *pulumi.Context, name string, id pulumi.IDInput, state *WorkstationConfigIamMemberState, opts ...pulumi.ResourceOption) (*WorkstationConfigIamMember, error)
GetWorkstationConfigIamMember gets an existing WorkstationConfigIamMember resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewWorkstationConfigIamMember ¶
func NewWorkstationConfigIamMember(ctx *pulumi.Context, name string, args *WorkstationConfigIamMemberArgs, opts ...pulumi.ResourceOption) (*WorkstationConfigIamMember, error)
NewWorkstationConfigIamMember registers a new resource with the given unique name, arguments, and options.
func (*WorkstationConfigIamMember) ElementType ¶
func (*WorkstationConfigIamMember) ElementType() reflect.Type
func (*WorkstationConfigIamMember) ToWorkstationConfigIamMemberOutput ¶
func (i *WorkstationConfigIamMember) ToWorkstationConfigIamMemberOutput() WorkstationConfigIamMemberOutput
func (*WorkstationConfigIamMember) ToWorkstationConfigIamMemberOutputWithContext ¶
func (i *WorkstationConfigIamMember) ToWorkstationConfigIamMemberOutputWithContext(ctx context.Context) WorkstationConfigIamMemberOutput
type WorkstationConfigIamMemberArgs ¶
type WorkstationConfigIamMemberArgs struct { Condition WorkstationConfigIamMemberConditionPtrInput // The location where the workstation cluster config should reside. // Used to find the parent resource to bind the IAM policy to. If not specified, // the value will be parsed from the identifier of the parent resource. If no location is provided in the parent identifier and no // location is specified, it is taken from the provider configuration. Location pulumi.StringPtrInput // Identities that will be granted the privilege in `role`. // Each entry can have one of the following values: // * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account. // * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account. // * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com. // * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com. // * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com. // * **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com. // * **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project" // * **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project" // * **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project" Member pulumi.StringInput // The ID of the project in which the resource belongs. // If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used. Project pulumi.StringPtrInput // The role that should be applied. Only one // `workstations.WorkstationConfigIamBinding` can be used per role. Note that custom roles must be of the format // `[projects|organizations]/{parent-name}/roles/{role-name}`. Role pulumi.StringInput WorkstationClusterId pulumi.StringInput WorkstationConfigId pulumi.StringInput }
The set of arguments for constructing a WorkstationConfigIamMember resource.
func (WorkstationConfigIamMemberArgs) ElementType ¶
func (WorkstationConfigIamMemberArgs) ElementType() reflect.Type
type WorkstationConfigIamMemberArray ¶
type WorkstationConfigIamMemberArray []WorkstationConfigIamMemberInput
func (WorkstationConfigIamMemberArray) ElementType ¶
func (WorkstationConfigIamMemberArray) ElementType() reflect.Type
func (WorkstationConfigIamMemberArray) ToWorkstationConfigIamMemberArrayOutput ¶
func (i WorkstationConfigIamMemberArray) ToWorkstationConfigIamMemberArrayOutput() WorkstationConfigIamMemberArrayOutput
func (WorkstationConfigIamMemberArray) ToWorkstationConfigIamMemberArrayOutputWithContext ¶
func (i WorkstationConfigIamMemberArray) ToWorkstationConfigIamMemberArrayOutputWithContext(ctx context.Context) WorkstationConfigIamMemberArrayOutput
type WorkstationConfigIamMemberArrayInput ¶
type WorkstationConfigIamMemberArrayInput interface { pulumi.Input ToWorkstationConfigIamMemberArrayOutput() WorkstationConfigIamMemberArrayOutput ToWorkstationConfigIamMemberArrayOutputWithContext(context.Context) WorkstationConfigIamMemberArrayOutput }
WorkstationConfigIamMemberArrayInput is an input type that accepts WorkstationConfigIamMemberArray and WorkstationConfigIamMemberArrayOutput values. You can construct a concrete instance of `WorkstationConfigIamMemberArrayInput` via:
WorkstationConfigIamMemberArray{ WorkstationConfigIamMemberArgs{...} }
type WorkstationConfigIamMemberArrayOutput ¶
type WorkstationConfigIamMemberArrayOutput struct{ *pulumi.OutputState }
func (WorkstationConfigIamMemberArrayOutput) ElementType ¶
func (WorkstationConfigIamMemberArrayOutput) ElementType() reflect.Type
func (WorkstationConfigIamMemberArrayOutput) Index ¶
func (o WorkstationConfigIamMemberArrayOutput) Index(i pulumi.IntInput) WorkstationConfigIamMemberOutput
func (WorkstationConfigIamMemberArrayOutput) ToWorkstationConfigIamMemberArrayOutput ¶
func (o WorkstationConfigIamMemberArrayOutput) ToWorkstationConfigIamMemberArrayOutput() WorkstationConfigIamMemberArrayOutput
func (WorkstationConfigIamMemberArrayOutput) ToWorkstationConfigIamMemberArrayOutputWithContext ¶
func (o WorkstationConfigIamMemberArrayOutput) ToWorkstationConfigIamMemberArrayOutputWithContext(ctx context.Context) WorkstationConfigIamMemberArrayOutput
type WorkstationConfigIamMemberConditionArgs ¶
type WorkstationConfigIamMemberConditionArgs struct { Description pulumi.StringPtrInput `pulumi:"description"` Expression pulumi.StringInput `pulumi:"expression"` Title pulumi.StringInput `pulumi:"title"` }
func (WorkstationConfigIamMemberConditionArgs) ElementType ¶
func (WorkstationConfigIamMemberConditionArgs) ElementType() reflect.Type
func (WorkstationConfigIamMemberConditionArgs) ToWorkstationConfigIamMemberConditionOutput ¶
func (i WorkstationConfigIamMemberConditionArgs) ToWorkstationConfigIamMemberConditionOutput() WorkstationConfigIamMemberConditionOutput
func (WorkstationConfigIamMemberConditionArgs) ToWorkstationConfigIamMemberConditionOutputWithContext ¶
func (i WorkstationConfigIamMemberConditionArgs) ToWorkstationConfigIamMemberConditionOutputWithContext(ctx context.Context) WorkstationConfigIamMemberConditionOutput
func (WorkstationConfigIamMemberConditionArgs) ToWorkstationConfigIamMemberConditionPtrOutput ¶
func (i WorkstationConfigIamMemberConditionArgs) ToWorkstationConfigIamMemberConditionPtrOutput() WorkstationConfigIamMemberConditionPtrOutput
func (WorkstationConfigIamMemberConditionArgs) ToWorkstationConfigIamMemberConditionPtrOutputWithContext ¶
func (i WorkstationConfigIamMemberConditionArgs) ToWorkstationConfigIamMemberConditionPtrOutputWithContext(ctx context.Context) WorkstationConfigIamMemberConditionPtrOutput
type WorkstationConfigIamMemberConditionInput ¶
type WorkstationConfigIamMemberConditionInput interface { pulumi.Input ToWorkstationConfigIamMemberConditionOutput() WorkstationConfigIamMemberConditionOutput ToWorkstationConfigIamMemberConditionOutputWithContext(context.Context) WorkstationConfigIamMemberConditionOutput }
WorkstationConfigIamMemberConditionInput is an input type that accepts WorkstationConfigIamMemberConditionArgs and WorkstationConfigIamMemberConditionOutput values. You can construct a concrete instance of `WorkstationConfigIamMemberConditionInput` via:
WorkstationConfigIamMemberConditionArgs{...}
type WorkstationConfigIamMemberConditionOutput ¶
type WorkstationConfigIamMemberConditionOutput struct{ *pulumi.OutputState }
func (WorkstationConfigIamMemberConditionOutput) Description ¶
func (o WorkstationConfigIamMemberConditionOutput) Description() pulumi.StringPtrOutput
func (WorkstationConfigIamMemberConditionOutput) ElementType ¶
func (WorkstationConfigIamMemberConditionOutput) ElementType() reflect.Type
func (WorkstationConfigIamMemberConditionOutput) Expression ¶
func (o WorkstationConfigIamMemberConditionOutput) Expression() pulumi.StringOutput
func (WorkstationConfigIamMemberConditionOutput) Title ¶
func (o WorkstationConfigIamMemberConditionOutput) Title() pulumi.StringOutput
func (WorkstationConfigIamMemberConditionOutput) ToWorkstationConfigIamMemberConditionOutput ¶
func (o WorkstationConfigIamMemberConditionOutput) ToWorkstationConfigIamMemberConditionOutput() WorkstationConfigIamMemberConditionOutput
func (WorkstationConfigIamMemberConditionOutput) ToWorkstationConfigIamMemberConditionOutputWithContext ¶
func (o WorkstationConfigIamMemberConditionOutput) ToWorkstationConfigIamMemberConditionOutputWithContext(ctx context.Context) WorkstationConfigIamMemberConditionOutput
func (WorkstationConfigIamMemberConditionOutput) ToWorkstationConfigIamMemberConditionPtrOutput ¶
func (o WorkstationConfigIamMemberConditionOutput) ToWorkstationConfigIamMemberConditionPtrOutput() WorkstationConfigIamMemberConditionPtrOutput
func (WorkstationConfigIamMemberConditionOutput) ToWorkstationConfigIamMemberConditionPtrOutputWithContext ¶
func (o WorkstationConfigIamMemberConditionOutput) ToWorkstationConfigIamMemberConditionPtrOutputWithContext(ctx context.Context) WorkstationConfigIamMemberConditionPtrOutput
type WorkstationConfigIamMemberConditionPtrInput ¶
type WorkstationConfigIamMemberConditionPtrInput interface { pulumi.Input ToWorkstationConfigIamMemberConditionPtrOutput() WorkstationConfigIamMemberConditionPtrOutput ToWorkstationConfigIamMemberConditionPtrOutputWithContext(context.Context) WorkstationConfigIamMemberConditionPtrOutput }
WorkstationConfigIamMemberConditionPtrInput is an input type that accepts WorkstationConfigIamMemberConditionArgs, WorkstationConfigIamMemberConditionPtr and WorkstationConfigIamMemberConditionPtrOutput values. You can construct a concrete instance of `WorkstationConfigIamMemberConditionPtrInput` via:
WorkstationConfigIamMemberConditionArgs{...} or: nil
func WorkstationConfigIamMemberConditionPtr ¶
func WorkstationConfigIamMemberConditionPtr(v *WorkstationConfigIamMemberConditionArgs) WorkstationConfigIamMemberConditionPtrInput
type WorkstationConfigIamMemberConditionPtrOutput ¶
type WorkstationConfigIamMemberConditionPtrOutput struct{ *pulumi.OutputState }
func (WorkstationConfigIamMemberConditionPtrOutput) Description ¶
func (o WorkstationConfigIamMemberConditionPtrOutput) Description() pulumi.StringPtrOutput
func (WorkstationConfigIamMemberConditionPtrOutput) ElementType ¶
func (WorkstationConfigIamMemberConditionPtrOutput) ElementType() reflect.Type
func (WorkstationConfigIamMemberConditionPtrOutput) Expression ¶
func (o WorkstationConfigIamMemberConditionPtrOutput) Expression() pulumi.StringPtrOutput
func (WorkstationConfigIamMemberConditionPtrOutput) Title ¶
func (o WorkstationConfigIamMemberConditionPtrOutput) Title() pulumi.StringPtrOutput
func (WorkstationConfigIamMemberConditionPtrOutput) ToWorkstationConfigIamMemberConditionPtrOutput ¶
func (o WorkstationConfigIamMemberConditionPtrOutput) ToWorkstationConfigIamMemberConditionPtrOutput() WorkstationConfigIamMemberConditionPtrOutput
func (WorkstationConfigIamMemberConditionPtrOutput) ToWorkstationConfigIamMemberConditionPtrOutputWithContext ¶
func (o WorkstationConfigIamMemberConditionPtrOutput) ToWorkstationConfigIamMemberConditionPtrOutputWithContext(ctx context.Context) WorkstationConfigIamMemberConditionPtrOutput
type WorkstationConfigIamMemberInput ¶
type WorkstationConfigIamMemberInput interface { pulumi.Input ToWorkstationConfigIamMemberOutput() WorkstationConfigIamMemberOutput ToWorkstationConfigIamMemberOutputWithContext(ctx context.Context) WorkstationConfigIamMemberOutput }
type WorkstationConfigIamMemberMap ¶
type WorkstationConfigIamMemberMap map[string]WorkstationConfigIamMemberInput
func (WorkstationConfigIamMemberMap) ElementType ¶
func (WorkstationConfigIamMemberMap) ElementType() reflect.Type
func (WorkstationConfigIamMemberMap) ToWorkstationConfigIamMemberMapOutput ¶
func (i WorkstationConfigIamMemberMap) ToWorkstationConfigIamMemberMapOutput() WorkstationConfigIamMemberMapOutput
func (WorkstationConfigIamMemberMap) ToWorkstationConfigIamMemberMapOutputWithContext ¶
func (i WorkstationConfigIamMemberMap) ToWorkstationConfigIamMemberMapOutputWithContext(ctx context.Context) WorkstationConfigIamMemberMapOutput
type WorkstationConfigIamMemberMapInput ¶
type WorkstationConfigIamMemberMapInput interface { pulumi.Input ToWorkstationConfigIamMemberMapOutput() WorkstationConfigIamMemberMapOutput ToWorkstationConfigIamMemberMapOutputWithContext(context.Context) WorkstationConfigIamMemberMapOutput }
WorkstationConfigIamMemberMapInput is an input type that accepts WorkstationConfigIamMemberMap and WorkstationConfigIamMemberMapOutput values. You can construct a concrete instance of `WorkstationConfigIamMemberMapInput` via:
WorkstationConfigIamMemberMap{ "key": WorkstationConfigIamMemberArgs{...} }
type WorkstationConfigIamMemberMapOutput ¶
type WorkstationConfigIamMemberMapOutput struct{ *pulumi.OutputState }
func (WorkstationConfigIamMemberMapOutput) ElementType ¶
func (WorkstationConfigIamMemberMapOutput) ElementType() reflect.Type
func (WorkstationConfigIamMemberMapOutput) MapIndex ¶
func (o WorkstationConfigIamMemberMapOutput) MapIndex(k pulumi.StringInput) WorkstationConfigIamMemberOutput
func (WorkstationConfigIamMemberMapOutput) ToWorkstationConfigIamMemberMapOutput ¶
func (o WorkstationConfigIamMemberMapOutput) ToWorkstationConfigIamMemberMapOutput() WorkstationConfigIamMemberMapOutput
func (WorkstationConfigIamMemberMapOutput) ToWorkstationConfigIamMemberMapOutputWithContext ¶
func (o WorkstationConfigIamMemberMapOutput) ToWorkstationConfigIamMemberMapOutputWithContext(ctx context.Context) WorkstationConfigIamMemberMapOutput
type WorkstationConfigIamMemberOutput ¶
type WorkstationConfigIamMemberOutput struct{ *pulumi.OutputState }
func (WorkstationConfigIamMemberOutput) Condition ¶
func (o WorkstationConfigIamMemberOutput) Condition() WorkstationConfigIamMemberConditionPtrOutput
func (WorkstationConfigIamMemberOutput) ElementType ¶
func (WorkstationConfigIamMemberOutput) ElementType() reflect.Type
func (WorkstationConfigIamMemberOutput) Etag ¶
func (o WorkstationConfigIamMemberOutput) Etag() pulumi.StringOutput
(Computed) The etag of the IAM policy.
func (WorkstationConfigIamMemberOutput) Location ¶
func (o WorkstationConfigIamMemberOutput) Location() pulumi.StringOutput
The location where the workstation cluster config should reside. Used to find the parent resource to bind the IAM policy to. If not specified, the value will be parsed from the identifier of the parent resource. If no location is provided in the parent identifier and no location is specified, it is taken from the provider configuration.
func (WorkstationConfigIamMemberOutput) Member ¶
func (o WorkstationConfigIamMemberOutput) Member() pulumi.StringOutput
Identities that will be granted the privilege in `role`. Each entry can have one of the following values: * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account. * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account. * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com. * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com. * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com. * **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com. * **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project" * **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project" * **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"
func (WorkstationConfigIamMemberOutput) Project ¶
func (o WorkstationConfigIamMemberOutput) Project() pulumi.StringOutput
The ID of the project in which the resource belongs. If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
func (WorkstationConfigIamMemberOutput) Role ¶
func (o WorkstationConfigIamMemberOutput) Role() pulumi.StringOutput
The role that should be applied. Only one `workstations.WorkstationConfigIamBinding` can be used per role. Note that custom roles must be of the format `[projects|organizations]/{parent-name}/roles/{role-name}`.
func (WorkstationConfigIamMemberOutput) ToWorkstationConfigIamMemberOutput ¶
func (o WorkstationConfigIamMemberOutput) ToWorkstationConfigIamMemberOutput() WorkstationConfigIamMemberOutput
func (WorkstationConfigIamMemberOutput) ToWorkstationConfigIamMemberOutputWithContext ¶
func (o WorkstationConfigIamMemberOutput) ToWorkstationConfigIamMemberOutputWithContext(ctx context.Context) WorkstationConfigIamMemberOutput
func (WorkstationConfigIamMemberOutput) WorkstationClusterId ¶
func (o WorkstationConfigIamMemberOutput) WorkstationClusterId() pulumi.StringOutput
func (WorkstationConfigIamMemberOutput) WorkstationConfigId ¶
func (o WorkstationConfigIamMemberOutput) WorkstationConfigId() pulumi.StringOutput
type WorkstationConfigIamMemberState ¶
type WorkstationConfigIamMemberState struct { Condition WorkstationConfigIamMemberConditionPtrInput // (Computed) The etag of the IAM policy. Etag pulumi.StringPtrInput // The location where the workstation cluster config should reside. // Used to find the parent resource to bind the IAM policy to. If not specified, // the value will be parsed from the identifier of the parent resource. If no location is provided in the parent identifier and no // location is specified, it is taken from the provider configuration. Location pulumi.StringPtrInput // Identities that will be granted the privilege in `role`. // Each entry can have one of the following values: // * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account. // * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account. // * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com. // * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com. // * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com. // * **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com. // * **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project" // * **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project" // * **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project" Member pulumi.StringPtrInput // The ID of the project in which the resource belongs. // If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used. Project pulumi.StringPtrInput // The role that should be applied. Only one // `workstations.WorkstationConfigIamBinding` can be used per role. Note that custom roles must be of the format // `[projects|organizations]/{parent-name}/roles/{role-name}`. Role pulumi.StringPtrInput WorkstationClusterId pulumi.StringPtrInput WorkstationConfigId pulumi.StringPtrInput }
func (WorkstationConfigIamMemberState) ElementType ¶
func (WorkstationConfigIamMemberState) ElementType() reflect.Type
type WorkstationConfigIamPolicy ¶
type WorkstationConfigIamPolicy struct { pulumi.CustomResourceState // (Computed) The etag of the IAM policy. Etag pulumi.StringOutput `pulumi:"etag"` // The location where the workstation cluster config should reside. // Used to find the parent resource to bind the IAM policy to. If not specified, // the value will be parsed from the identifier of the parent resource. If no location is provided in the parent identifier and no // location is specified, it is taken from the provider configuration. Location pulumi.StringOutput `pulumi:"location"` // The policy data generated by // a `organizations.getIAMPolicy` data source. PolicyData pulumi.StringOutput `pulumi:"policyData"` // The ID of the project in which the resource belongs. // If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used. Project pulumi.StringOutput `pulumi:"project"` WorkstationClusterId pulumi.StringOutput `pulumi:"workstationClusterId"` WorkstationConfigId pulumi.StringOutput `pulumi:"workstationConfigId"` }
## Import
For all import syntaxes, the "resource in question" can take any of the following forms:
* projects/{{project}}/locations/{{location}}/workstationClusters/{{workstation_cluster_id}}/workstationConfigs/{{workstation_config_id}}
* {{project}}/{{location}}/{{workstation_cluster_id}}/{{workstation_config_id}}
* {{location}}/{{workstation_cluster_id}}/{{workstation_config_id}}
* {{workstation_config_id}}
Any variables not passed in the import command will be taken from the provider configuration.
Cloud Workstations workstationconfig IAM resources can be imported using the resource identifiers, role, and member.
IAM member imports use space-delimited identifiers: the resource in question, the role, and the member identity, e.g.
```sh $ pulumi import gcp:workstations/workstationConfigIamPolicy:WorkstationConfigIamPolicy editor "projects/{{project}}/locations/{{location}}/workstationClusters/{{workstation_cluster_id}}/workstationConfigs/{{workstation_config_id}} roles/viewer user:jane@example.com" ```
IAM binding imports use space-delimited identifiers: the resource in question and the role, e.g.
```sh $ pulumi import gcp:workstations/workstationConfigIamPolicy:WorkstationConfigIamPolicy editor "projects/{{project}}/locations/{{location}}/workstationClusters/{{workstation_cluster_id}}/workstationConfigs/{{workstation_config_id}} roles/viewer" ```
IAM policy imports use the identifier of the resource in question, e.g.
```sh $ pulumi import gcp:workstations/workstationConfigIamPolicy:WorkstationConfigIamPolicy editor projects/{{project}}/locations/{{location}}/workstationClusters/{{workstation_cluster_id}}/workstationConfigs/{{workstation_config_id}} ```
-> **Custom Roles**: If you're importing a IAM resource with a custom role, make sure to use the
full name of the custom role, e.g. `[projects/my-project|organizations/my-org]/roles/my-custom-role`.
func GetWorkstationConfigIamPolicy ¶
func GetWorkstationConfigIamPolicy(ctx *pulumi.Context, name string, id pulumi.IDInput, state *WorkstationConfigIamPolicyState, opts ...pulumi.ResourceOption) (*WorkstationConfigIamPolicy, error)
GetWorkstationConfigIamPolicy gets an existing WorkstationConfigIamPolicy resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewWorkstationConfigIamPolicy ¶
func NewWorkstationConfigIamPolicy(ctx *pulumi.Context, name string, args *WorkstationConfigIamPolicyArgs, opts ...pulumi.ResourceOption) (*WorkstationConfigIamPolicy, error)
NewWorkstationConfigIamPolicy registers a new resource with the given unique name, arguments, and options.
func (*WorkstationConfigIamPolicy) ElementType ¶
func (*WorkstationConfigIamPolicy) ElementType() reflect.Type
func (*WorkstationConfigIamPolicy) ToWorkstationConfigIamPolicyOutput ¶
func (i *WorkstationConfigIamPolicy) ToWorkstationConfigIamPolicyOutput() WorkstationConfigIamPolicyOutput
func (*WorkstationConfigIamPolicy) ToWorkstationConfigIamPolicyOutputWithContext ¶
func (i *WorkstationConfigIamPolicy) ToWorkstationConfigIamPolicyOutputWithContext(ctx context.Context) WorkstationConfigIamPolicyOutput
type WorkstationConfigIamPolicyArgs ¶
type WorkstationConfigIamPolicyArgs struct { // The location where the workstation cluster config should reside. // Used to find the parent resource to bind the IAM policy to. If not specified, // the value will be parsed from the identifier of the parent resource. If no location is provided in the parent identifier and no // location is specified, it is taken from the provider configuration. Location pulumi.StringPtrInput // The policy data generated by // a `organizations.getIAMPolicy` data source. PolicyData pulumi.StringInput // The ID of the project in which the resource belongs. // If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used. Project pulumi.StringPtrInput WorkstationClusterId pulumi.StringInput WorkstationConfigId pulumi.StringInput }
The set of arguments for constructing a WorkstationConfigIamPolicy resource.
func (WorkstationConfigIamPolicyArgs) ElementType ¶
func (WorkstationConfigIamPolicyArgs) ElementType() reflect.Type
type WorkstationConfigIamPolicyArray ¶
type WorkstationConfigIamPolicyArray []WorkstationConfigIamPolicyInput
func (WorkstationConfigIamPolicyArray) ElementType ¶
func (WorkstationConfigIamPolicyArray) ElementType() reflect.Type
func (WorkstationConfigIamPolicyArray) ToWorkstationConfigIamPolicyArrayOutput ¶
func (i WorkstationConfigIamPolicyArray) ToWorkstationConfigIamPolicyArrayOutput() WorkstationConfigIamPolicyArrayOutput
func (WorkstationConfigIamPolicyArray) ToWorkstationConfigIamPolicyArrayOutputWithContext ¶
func (i WorkstationConfigIamPolicyArray) ToWorkstationConfigIamPolicyArrayOutputWithContext(ctx context.Context) WorkstationConfigIamPolicyArrayOutput
type WorkstationConfigIamPolicyArrayInput ¶
type WorkstationConfigIamPolicyArrayInput interface { pulumi.Input ToWorkstationConfigIamPolicyArrayOutput() WorkstationConfigIamPolicyArrayOutput ToWorkstationConfigIamPolicyArrayOutputWithContext(context.Context) WorkstationConfigIamPolicyArrayOutput }
WorkstationConfigIamPolicyArrayInput is an input type that accepts WorkstationConfigIamPolicyArray and WorkstationConfigIamPolicyArrayOutput values. You can construct a concrete instance of `WorkstationConfigIamPolicyArrayInput` via:
WorkstationConfigIamPolicyArray{ WorkstationConfigIamPolicyArgs{...} }
type WorkstationConfigIamPolicyArrayOutput ¶
type WorkstationConfigIamPolicyArrayOutput struct{ *pulumi.OutputState }
func (WorkstationConfigIamPolicyArrayOutput) ElementType ¶
func (WorkstationConfigIamPolicyArrayOutput) ElementType() reflect.Type
func (WorkstationConfigIamPolicyArrayOutput) Index ¶
func (o WorkstationConfigIamPolicyArrayOutput) Index(i pulumi.IntInput) WorkstationConfigIamPolicyOutput
func (WorkstationConfigIamPolicyArrayOutput) ToWorkstationConfigIamPolicyArrayOutput ¶
func (o WorkstationConfigIamPolicyArrayOutput) ToWorkstationConfigIamPolicyArrayOutput() WorkstationConfigIamPolicyArrayOutput
func (WorkstationConfigIamPolicyArrayOutput) ToWorkstationConfigIamPolicyArrayOutputWithContext ¶
func (o WorkstationConfigIamPolicyArrayOutput) ToWorkstationConfigIamPolicyArrayOutputWithContext(ctx context.Context) WorkstationConfigIamPolicyArrayOutput
type WorkstationConfigIamPolicyInput ¶
type WorkstationConfigIamPolicyInput interface { pulumi.Input ToWorkstationConfigIamPolicyOutput() WorkstationConfigIamPolicyOutput ToWorkstationConfigIamPolicyOutputWithContext(ctx context.Context) WorkstationConfigIamPolicyOutput }
type WorkstationConfigIamPolicyMap ¶
type WorkstationConfigIamPolicyMap map[string]WorkstationConfigIamPolicyInput
func (WorkstationConfigIamPolicyMap) ElementType ¶
func (WorkstationConfigIamPolicyMap) ElementType() reflect.Type
func (WorkstationConfigIamPolicyMap) ToWorkstationConfigIamPolicyMapOutput ¶
func (i WorkstationConfigIamPolicyMap) ToWorkstationConfigIamPolicyMapOutput() WorkstationConfigIamPolicyMapOutput
func (WorkstationConfigIamPolicyMap) ToWorkstationConfigIamPolicyMapOutputWithContext ¶
func (i WorkstationConfigIamPolicyMap) ToWorkstationConfigIamPolicyMapOutputWithContext(ctx context.Context) WorkstationConfigIamPolicyMapOutput
type WorkstationConfigIamPolicyMapInput ¶
type WorkstationConfigIamPolicyMapInput interface { pulumi.Input ToWorkstationConfigIamPolicyMapOutput() WorkstationConfigIamPolicyMapOutput ToWorkstationConfigIamPolicyMapOutputWithContext(context.Context) WorkstationConfigIamPolicyMapOutput }
WorkstationConfigIamPolicyMapInput is an input type that accepts WorkstationConfigIamPolicyMap and WorkstationConfigIamPolicyMapOutput values. You can construct a concrete instance of `WorkstationConfigIamPolicyMapInput` via:
WorkstationConfigIamPolicyMap{ "key": WorkstationConfigIamPolicyArgs{...} }
type WorkstationConfigIamPolicyMapOutput ¶
type WorkstationConfigIamPolicyMapOutput struct{ *pulumi.OutputState }
func (WorkstationConfigIamPolicyMapOutput) ElementType ¶
func (WorkstationConfigIamPolicyMapOutput) ElementType() reflect.Type
func (WorkstationConfigIamPolicyMapOutput) MapIndex ¶
func (o WorkstationConfigIamPolicyMapOutput) MapIndex(k pulumi.StringInput) WorkstationConfigIamPolicyOutput
func (WorkstationConfigIamPolicyMapOutput) ToWorkstationConfigIamPolicyMapOutput ¶
func (o WorkstationConfigIamPolicyMapOutput) ToWorkstationConfigIamPolicyMapOutput() WorkstationConfigIamPolicyMapOutput
func (WorkstationConfigIamPolicyMapOutput) ToWorkstationConfigIamPolicyMapOutputWithContext ¶
func (o WorkstationConfigIamPolicyMapOutput) ToWorkstationConfigIamPolicyMapOutputWithContext(ctx context.Context) WorkstationConfigIamPolicyMapOutput
type WorkstationConfigIamPolicyOutput ¶
type WorkstationConfigIamPolicyOutput struct{ *pulumi.OutputState }
func (WorkstationConfigIamPolicyOutput) ElementType ¶
func (WorkstationConfigIamPolicyOutput) ElementType() reflect.Type
func (WorkstationConfigIamPolicyOutput) Etag ¶
func (o WorkstationConfigIamPolicyOutput) Etag() pulumi.StringOutput
(Computed) The etag of the IAM policy.
func (WorkstationConfigIamPolicyOutput) Location ¶
func (o WorkstationConfigIamPolicyOutput) Location() pulumi.StringOutput
The location where the workstation cluster config should reside. Used to find the parent resource to bind the IAM policy to. If not specified, the value will be parsed from the identifier of the parent resource. If no location is provided in the parent identifier and no location is specified, it is taken from the provider configuration.
func (WorkstationConfigIamPolicyOutput) PolicyData ¶
func (o WorkstationConfigIamPolicyOutput) PolicyData() pulumi.StringOutput
The policy data generated by a `organizations.getIAMPolicy` data source.
func (WorkstationConfigIamPolicyOutput) Project ¶
func (o WorkstationConfigIamPolicyOutput) Project() pulumi.StringOutput
The ID of the project in which the resource belongs. If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
func (WorkstationConfigIamPolicyOutput) ToWorkstationConfigIamPolicyOutput ¶
func (o WorkstationConfigIamPolicyOutput) ToWorkstationConfigIamPolicyOutput() WorkstationConfigIamPolicyOutput
func (WorkstationConfigIamPolicyOutput) ToWorkstationConfigIamPolicyOutputWithContext ¶
func (o WorkstationConfigIamPolicyOutput) ToWorkstationConfigIamPolicyOutputWithContext(ctx context.Context) WorkstationConfigIamPolicyOutput
func (WorkstationConfigIamPolicyOutput) WorkstationClusterId ¶
func (o WorkstationConfigIamPolicyOutput) WorkstationClusterId() pulumi.StringOutput
func (WorkstationConfigIamPolicyOutput) WorkstationConfigId ¶
func (o WorkstationConfigIamPolicyOutput) WorkstationConfigId() pulumi.StringOutput
type WorkstationConfigIamPolicyState ¶
type WorkstationConfigIamPolicyState struct { // (Computed) The etag of the IAM policy. Etag pulumi.StringPtrInput // The location where the workstation cluster config should reside. // Used to find the parent resource to bind the IAM policy to. If not specified, // the value will be parsed from the identifier of the parent resource. If no location is provided in the parent identifier and no // location is specified, it is taken from the provider configuration. Location pulumi.StringPtrInput // The policy data generated by // a `organizations.getIAMPolicy` data source. PolicyData pulumi.StringPtrInput // The ID of the project in which the resource belongs. // If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used. Project pulumi.StringPtrInput WorkstationClusterId pulumi.StringPtrInput WorkstationConfigId pulumi.StringPtrInput }
func (WorkstationConfigIamPolicyState) ElementType ¶
func (WorkstationConfigIamPolicyState) ElementType() reflect.Type
type WorkstationConfigInput ¶
type WorkstationConfigInput interface { pulumi.Input ToWorkstationConfigOutput() WorkstationConfigOutput ToWorkstationConfigOutputWithContext(ctx context.Context) WorkstationConfigOutput }
type WorkstationConfigMap ¶
type WorkstationConfigMap map[string]WorkstationConfigInput
func (WorkstationConfigMap) ElementType ¶
func (WorkstationConfigMap) ElementType() reflect.Type
func (WorkstationConfigMap) ToWorkstationConfigMapOutput ¶
func (i WorkstationConfigMap) ToWorkstationConfigMapOutput() WorkstationConfigMapOutput
func (WorkstationConfigMap) ToWorkstationConfigMapOutputWithContext ¶
func (i WorkstationConfigMap) ToWorkstationConfigMapOutputWithContext(ctx context.Context) WorkstationConfigMapOutput
type WorkstationConfigMapInput ¶
type WorkstationConfigMapInput interface { pulumi.Input ToWorkstationConfigMapOutput() WorkstationConfigMapOutput ToWorkstationConfigMapOutputWithContext(context.Context) WorkstationConfigMapOutput }
WorkstationConfigMapInput is an input type that accepts WorkstationConfigMap and WorkstationConfigMapOutput values. You can construct a concrete instance of `WorkstationConfigMapInput` via:
WorkstationConfigMap{ "key": WorkstationConfigArgs{...} }
type WorkstationConfigMapOutput ¶
type WorkstationConfigMapOutput struct{ *pulumi.OutputState }
func (WorkstationConfigMapOutput) ElementType ¶
func (WorkstationConfigMapOutput) ElementType() reflect.Type
func (WorkstationConfigMapOutput) MapIndex ¶
func (o WorkstationConfigMapOutput) MapIndex(k pulumi.StringInput) WorkstationConfigOutput
func (WorkstationConfigMapOutput) ToWorkstationConfigMapOutput ¶
func (o WorkstationConfigMapOutput) ToWorkstationConfigMapOutput() WorkstationConfigMapOutput
func (WorkstationConfigMapOutput) ToWorkstationConfigMapOutputWithContext ¶
func (o WorkstationConfigMapOutput) ToWorkstationConfigMapOutputWithContext(ctx context.Context) WorkstationConfigMapOutput
type WorkstationConfigOutput ¶
type WorkstationConfigOutput struct{ *pulumi.OutputState }
func (WorkstationConfigOutput) Annotations ¶
func (o WorkstationConfigOutput) Annotations() pulumi.StringMapOutput
Client-specified annotations. This is distinct from labels. **Note**: This field is non-authoritative, and will only manage the annotations present in your configuration. Please refer to the field `effectiveAnnotations` for all of the annotations present on the resource.
func (WorkstationConfigOutput) Conditions ¶
func (o WorkstationConfigOutput) Conditions() WorkstationConfigConditionArrayOutput
Status conditions describing the current resource state. Structure is documented below.
func (WorkstationConfigOutput) Container ¶
func (o WorkstationConfigOutput) Container() WorkstationConfigContainerOutput
Container that will be run for each workstation using this configuration when that workstation is started. Structure is documented below.
func (WorkstationConfigOutput) CreateTime ¶
func (o WorkstationConfigOutput) CreateTime() pulumi.StringOutput
Time when this resource was created.
func (WorkstationConfigOutput) Degraded ¶
func (o WorkstationConfigOutput) Degraded() pulumi.BoolOutput
Whether this resource is in degraded mode, in which case it may require user action to restore full functionality. Details can be found in the conditions field.
func (WorkstationConfigOutput) DisableTcpConnections ¶
func (o WorkstationConfigOutput) DisableTcpConnections() pulumi.BoolPtrOutput
Disables support for plain TCP connections in the workstation. By default the service supports TCP connections via a websocket relay. Setting this option to true disables that relay, which prevents the usage of services that require plain tcp connections, such as ssh. When enabled, all communication must occur over https or wss.
func (WorkstationConfigOutput) DisplayName ¶
func (o WorkstationConfigOutput) DisplayName() pulumi.StringPtrOutput
Human-readable name for this resource.
func (WorkstationConfigOutput) EffectiveAnnotations ¶
func (o WorkstationConfigOutput) EffectiveAnnotations() pulumi.StringMapOutput
func (WorkstationConfigOutput) EffectiveLabels ¶
func (o WorkstationConfigOutput) EffectiveLabels() pulumi.StringMapOutput
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
func (WorkstationConfigOutput) ElementType ¶
func (WorkstationConfigOutput) ElementType() reflect.Type
func (WorkstationConfigOutput) EnableAuditAgent ¶
func (o WorkstationConfigOutput) EnableAuditAgent() pulumi.BoolPtrOutput
Whether to enable Linux `auditd` logging on the workstation. When enabled, a service account must also be specified that has `logging.buckets.write` permission on the project. Operating system audit logging is distinct from Cloud Audit Logs.
func (WorkstationConfigOutput) EncryptionKey ¶
func (o WorkstationConfigOutput) EncryptionKey() WorkstationConfigEncryptionKeyPtrOutput
Encrypts resources of this workstation configuration using a customer-managed encryption key. If specified, the boot disk of the Compute Engine instance and the persistent disk are encrypted using this encryption key. If this field is not set, the disks are encrypted using a generated key. Customer-managed encryption keys do not protect disk metadata. If the customer-managed encryption key is rotated, when the workstation instance is stopped, the system attempts to recreate the persistent disk with the new version of the key. Be sure to keep older versions of the key until the persistent disk is recreated. Otherwise, data on the persistent disk will be lost. If the encryption key is revoked, the workstation session will automatically be stopped within 7 hours. Structure is documented below.
func (WorkstationConfigOutput) EphemeralDirectories ¶
func (o WorkstationConfigOutput) EphemeralDirectories() WorkstationConfigEphemeralDirectoryArrayOutput
Ephemeral directories which won't persist across workstation sessions. Structure is documented below.
func (WorkstationConfigOutput) Etag ¶
func (o WorkstationConfigOutput) Etag() pulumi.StringOutput
Checksum computed by the server. May be sent on update and delete requests to ensure that the client has an up-to-date value before proceeding.
func (WorkstationConfigOutput) Host ¶
func (o WorkstationConfigOutput) Host() WorkstationConfigHostOutput
Runtime host for a workstation. Structure is documented below.
func (WorkstationConfigOutput) IdleTimeout ¶
func (o WorkstationConfigOutput) IdleTimeout() pulumi.StringPtrOutput
How long to wait before automatically stopping an instance that hasn't recently received any user traffic. A value of 0 indicates that this instance should never time out from idleness. Defaults to 20 minutes. A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".
func (WorkstationConfigOutput) Labels ¶
func (o WorkstationConfigOutput) Labels() pulumi.StringMapOutput
Client-specified labels that are applied to the resource and that are also propagated to the underlying Compute Engine resources. **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field `effectiveLabels` for all of the labels present on the resource.
func (WorkstationConfigOutput) Location ¶
func (o WorkstationConfigOutput) Location() pulumi.StringOutput
The location where the workstation cluster config should reside.
***
func (WorkstationConfigOutput) Name ¶
func (o WorkstationConfigOutput) Name() pulumi.StringOutput
Full name of this resource.
func (WorkstationConfigOutput) PersistentDirectories ¶
func (o WorkstationConfigOutput) PersistentDirectories() WorkstationConfigPersistentDirectoryArrayOutput
Directories to persist across workstation sessions. Structure is documented below.
func (WorkstationConfigOutput) Project ¶
func (o WorkstationConfigOutput) Project() pulumi.StringOutput
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
func (WorkstationConfigOutput) PulumiLabels ¶
func (o WorkstationConfigOutput) PulumiLabels() pulumi.StringMapOutput
The combination of labels configured directly on the resource and default labels configured on the provider.
func (WorkstationConfigOutput) ReadinessChecks ¶
func (o WorkstationConfigOutput) ReadinessChecks() WorkstationConfigReadinessCheckArrayOutput
Readiness checks to be performed on a workstation. Structure is documented below.
func (WorkstationConfigOutput) ReplicaZones ¶
func (o WorkstationConfigOutput) ReplicaZones() pulumi.StringArrayOutput
Specifies the zones used to replicate the VM and disk resources within the region. If set, exactly two zones within the workstation cluster's region must be specified—for example, `['us-central1-a', 'us-central1-f']`. If this field is empty, two default zones within the region are used. Immutable after the workstation configuration is created.
func (WorkstationConfigOutput) RunningTimeout ¶
func (o WorkstationConfigOutput) RunningTimeout() pulumi.StringPtrOutput
How long to wait before automatically stopping a workstation after it was started. A value of 0 indicates that workstations using this configuration should never time out from running duration. Must be greater than 0 and less than 24 hours if `encryptionKey` is set. Defaults to 12 hours. A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s".
func (WorkstationConfigOutput) ToWorkstationConfigOutput ¶
func (o WorkstationConfigOutput) ToWorkstationConfigOutput() WorkstationConfigOutput
func (WorkstationConfigOutput) ToWorkstationConfigOutputWithContext ¶
func (o WorkstationConfigOutput) ToWorkstationConfigOutputWithContext(ctx context.Context) WorkstationConfigOutput
func (WorkstationConfigOutput) Uid ¶
func (o WorkstationConfigOutput) Uid() pulumi.StringOutput
The system-generated UID of the resource.
func (WorkstationConfigOutput) WorkstationClusterId ¶
func (o WorkstationConfigOutput) WorkstationClusterId() pulumi.StringOutput
The ID of the parent workstation cluster.
func (WorkstationConfigOutput) WorkstationConfigId ¶
func (o WorkstationConfigOutput) WorkstationConfigId() pulumi.StringOutput
The ID to be assigned to the workstation cluster config.
type WorkstationConfigPersistentDirectory ¶
type WorkstationConfigPersistentDirectory struct { // A directory to persist across workstation sessions, backed by a Compute Engine regional persistent disk. Can only be updated if not empty during creation. // Structure is documented below. GcePd *WorkstationConfigPersistentDirectoryGcePd `pulumi:"gcePd"` // Location of this directory in the running workstation. MountPath *string `pulumi:"mountPath"` }
type WorkstationConfigPersistentDirectoryArgs ¶
type WorkstationConfigPersistentDirectoryArgs struct { // A directory to persist across workstation sessions, backed by a Compute Engine regional persistent disk. Can only be updated if not empty during creation. // Structure is documented below. GcePd WorkstationConfigPersistentDirectoryGcePdPtrInput `pulumi:"gcePd"` // Location of this directory in the running workstation. MountPath pulumi.StringPtrInput `pulumi:"mountPath"` }
func (WorkstationConfigPersistentDirectoryArgs) ElementType ¶
func (WorkstationConfigPersistentDirectoryArgs) ElementType() reflect.Type
func (WorkstationConfigPersistentDirectoryArgs) ToWorkstationConfigPersistentDirectoryOutput ¶
func (i WorkstationConfigPersistentDirectoryArgs) ToWorkstationConfigPersistentDirectoryOutput() WorkstationConfigPersistentDirectoryOutput
func (WorkstationConfigPersistentDirectoryArgs) ToWorkstationConfigPersistentDirectoryOutputWithContext ¶
func (i WorkstationConfigPersistentDirectoryArgs) ToWorkstationConfigPersistentDirectoryOutputWithContext(ctx context.Context) WorkstationConfigPersistentDirectoryOutput
type WorkstationConfigPersistentDirectoryArray ¶
type WorkstationConfigPersistentDirectoryArray []WorkstationConfigPersistentDirectoryInput
func (WorkstationConfigPersistentDirectoryArray) ElementType ¶
func (WorkstationConfigPersistentDirectoryArray) ElementType() reflect.Type
func (WorkstationConfigPersistentDirectoryArray) ToWorkstationConfigPersistentDirectoryArrayOutput ¶
func (i WorkstationConfigPersistentDirectoryArray) ToWorkstationConfigPersistentDirectoryArrayOutput() WorkstationConfigPersistentDirectoryArrayOutput
func (WorkstationConfigPersistentDirectoryArray) ToWorkstationConfigPersistentDirectoryArrayOutputWithContext ¶
func (i WorkstationConfigPersistentDirectoryArray) ToWorkstationConfigPersistentDirectoryArrayOutputWithContext(ctx context.Context) WorkstationConfigPersistentDirectoryArrayOutput
type WorkstationConfigPersistentDirectoryArrayInput ¶
type WorkstationConfigPersistentDirectoryArrayInput interface { pulumi.Input ToWorkstationConfigPersistentDirectoryArrayOutput() WorkstationConfigPersistentDirectoryArrayOutput ToWorkstationConfigPersistentDirectoryArrayOutputWithContext(context.Context) WorkstationConfigPersistentDirectoryArrayOutput }
WorkstationConfigPersistentDirectoryArrayInput is an input type that accepts WorkstationConfigPersistentDirectoryArray and WorkstationConfigPersistentDirectoryArrayOutput values. You can construct a concrete instance of `WorkstationConfigPersistentDirectoryArrayInput` via:
WorkstationConfigPersistentDirectoryArray{ WorkstationConfigPersistentDirectoryArgs{...} }
type WorkstationConfigPersistentDirectoryArrayOutput ¶
type WorkstationConfigPersistentDirectoryArrayOutput struct{ *pulumi.OutputState }
func (WorkstationConfigPersistentDirectoryArrayOutput) ElementType ¶
func (WorkstationConfigPersistentDirectoryArrayOutput) ElementType() reflect.Type
func (WorkstationConfigPersistentDirectoryArrayOutput) ToWorkstationConfigPersistentDirectoryArrayOutput ¶
func (o WorkstationConfigPersistentDirectoryArrayOutput) ToWorkstationConfigPersistentDirectoryArrayOutput() WorkstationConfigPersistentDirectoryArrayOutput
func (WorkstationConfigPersistentDirectoryArrayOutput) ToWorkstationConfigPersistentDirectoryArrayOutputWithContext ¶
func (o WorkstationConfigPersistentDirectoryArrayOutput) ToWorkstationConfigPersistentDirectoryArrayOutputWithContext(ctx context.Context) WorkstationConfigPersistentDirectoryArrayOutput
type WorkstationConfigPersistentDirectoryGcePd ¶
type WorkstationConfigPersistentDirectoryGcePd struct { // Type of the disk to use. Defaults to `"pd-standard"`. DiskType *string `pulumi:"diskType"` // Type of file system that the disk should be formatted with. The workstation image must support this file system type. Must be empty if `sourceSnapshot` is set. Defaults to `ext4`. FsType *string `pulumi:"fsType"` // Whether the persistent disk should be deleted when the workstation is deleted. Valid values are `DELETE` and `RETAIN`. Defaults to `DELETE`. // Possible values are: `DELETE`, `RETAIN`. ReclaimPolicy *string `pulumi:"reclaimPolicy"` // The GB capacity of a persistent home directory for each workstation created with this configuration. Must be empty if `sourceSnapshot` is set. // Valid values are `10`, `50`, `100`, `200`, `500`, or `1000`. Defaults to `200`. If less than `200` GB, the `diskType` must be `pd-balanced` or `pd-ssd`. SizeGb *int `pulumi:"sizeGb"` // Name of the snapshot to use as the source for the disk. // Must be empty if `sourceImage` is set. // Must be empty if `readOnly` is false. // Updating `sourceSnapshot` will update content in the ephemeral directory after the workstation is restarted. SourceSnapshot *string `pulumi:"sourceSnapshot"` }
type WorkstationConfigPersistentDirectoryGcePdArgs ¶
type WorkstationConfigPersistentDirectoryGcePdArgs struct { // Type of the disk to use. Defaults to `"pd-standard"`. DiskType pulumi.StringPtrInput `pulumi:"diskType"` // Type of file system that the disk should be formatted with. The workstation image must support this file system type. Must be empty if `sourceSnapshot` is set. Defaults to `ext4`. FsType pulumi.StringPtrInput `pulumi:"fsType"` // Whether the persistent disk should be deleted when the workstation is deleted. Valid values are `DELETE` and `RETAIN`. Defaults to `DELETE`. // Possible values are: `DELETE`, `RETAIN`. ReclaimPolicy pulumi.StringPtrInput `pulumi:"reclaimPolicy"` // The GB capacity of a persistent home directory for each workstation created with this configuration. Must be empty if `sourceSnapshot` is set. // Valid values are `10`, `50`, `100`, `200`, `500`, or `1000`. Defaults to `200`. If less than `200` GB, the `diskType` must be `pd-balanced` or `pd-ssd`. SizeGb pulumi.IntPtrInput `pulumi:"sizeGb"` // Name of the snapshot to use as the source for the disk. // Must be empty if `sourceImage` is set. // Must be empty if `readOnly` is false. // Updating `sourceSnapshot` will update content in the ephemeral directory after the workstation is restarted. SourceSnapshot pulumi.StringPtrInput `pulumi:"sourceSnapshot"` }
func (WorkstationConfigPersistentDirectoryGcePdArgs) ElementType ¶
func (WorkstationConfigPersistentDirectoryGcePdArgs) ElementType() reflect.Type
func (WorkstationConfigPersistentDirectoryGcePdArgs) ToWorkstationConfigPersistentDirectoryGcePdOutput ¶
func (i WorkstationConfigPersistentDirectoryGcePdArgs) ToWorkstationConfigPersistentDirectoryGcePdOutput() WorkstationConfigPersistentDirectoryGcePdOutput
func (WorkstationConfigPersistentDirectoryGcePdArgs) ToWorkstationConfigPersistentDirectoryGcePdOutputWithContext ¶
func (i WorkstationConfigPersistentDirectoryGcePdArgs) ToWorkstationConfigPersistentDirectoryGcePdOutputWithContext(ctx context.Context) WorkstationConfigPersistentDirectoryGcePdOutput
func (WorkstationConfigPersistentDirectoryGcePdArgs) ToWorkstationConfigPersistentDirectoryGcePdPtrOutput ¶
func (i WorkstationConfigPersistentDirectoryGcePdArgs) ToWorkstationConfigPersistentDirectoryGcePdPtrOutput() WorkstationConfigPersistentDirectoryGcePdPtrOutput
func (WorkstationConfigPersistentDirectoryGcePdArgs) ToWorkstationConfigPersistentDirectoryGcePdPtrOutputWithContext ¶
func (i WorkstationConfigPersistentDirectoryGcePdArgs) ToWorkstationConfigPersistentDirectoryGcePdPtrOutputWithContext(ctx context.Context) WorkstationConfigPersistentDirectoryGcePdPtrOutput
type WorkstationConfigPersistentDirectoryGcePdInput ¶
type WorkstationConfigPersistentDirectoryGcePdInput interface { pulumi.Input ToWorkstationConfigPersistentDirectoryGcePdOutput() WorkstationConfigPersistentDirectoryGcePdOutput ToWorkstationConfigPersistentDirectoryGcePdOutputWithContext(context.Context) WorkstationConfigPersistentDirectoryGcePdOutput }
WorkstationConfigPersistentDirectoryGcePdInput is an input type that accepts WorkstationConfigPersistentDirectoryGcePdArgs and WorkstationConfigPersistentDirectoryGcePdOutput values. You can construct a concrete instance of `WorkstationConfigPersistentDirectoryGcePdInput` via:
WorkstationConfigPersistentDirectoryGcePdArgs{...}
type WorkstationConfigPersistentDirectoryGcePdOutput ¶
type WorkstationConfigPersistentDirectoryGcePdOutput struct{ *pulumi.OutputState }
func (WorkstationConfigPersistentDirectoryGcePdOutput) DiskType ¶
func (o WorkstationConfigPersistentDirectoryGcePdOutput) DiskType() pulumi.StringPtrOutput
Type of the disk to use. Defaults to `"pd-standard"`.
func (WorkstationConfigPersistentDirectoryGcePdOutput) ElementType ¶
func (WorkstationConfigPersistentDirectoryGcePdOutput) ElementType() reflect.Type
func (WorkstationConfigPersistentDirectoryGcePdOutput) FsType ¶
func (o WorkstationConfigPersistentDirectoryGcePdOutput) FsType() pulumi.StringPtrOutput
Type of file system that the disk should be formatted with. The workstation image must support this file system type. Must be empty if `sourceSnapshot` is set. Defaults to `ext4`.
func (WorkstationConfigPersistentDirectoryGcePdOutput) ReclaimPolicy ¶
func (o WorkstationConfigPersistentDirectoryGcePdOutput) ReclaimPolicy() pulumi.StringPtrOutput
Whether the persistent disk should be deleted when the workstation is deleted. Valid values are `DELETE` and `RETAIN`. Defaults to `DELETE`. Possible values are: `DELETE`, `RETAIN`.
func (WorkstationConfigPersistentDirectoryGcePdOutput) SizeGb ¶
func (o WorkstationConfigPersistentDirectoryGcePdOutput) SizeGb() pulumi.IntPtrOutput
The GB capacity of a persistent home directory for each workstation created with this configuration. Must be empty if `sourceSnapshot` is set. Valid values are `10`, `50`, `100`, `200`, `500`, or `1000`. Defaults to `200`. If less than `200` GB, the `diskType` must be `pd-balanced` or `pd-ssd`.
func (WorkstationConfigPersistentDirectoryGcePdOutput) SourceSnapshot ¶
func (o WorkstationConfigPersistentDirectoryGcePdOutput) SourceSnapshot() pulumi.StringPtrOutput
Name of the snapshot to use as the source for the disk. Must be empty if `sourceImage` is set. Must be empty if `readOnly` is false. Updating `sourceSnapshot` will update content in the ephemeral directory after the workstation is restarted.
func (WorkstationConfigPersistentDirectoryGcePdOutput) ToWorkstationConfigPersistentDirectoryGcePdOutput ¶
func (o WorkstationConfigPersistentDirectoryGcePdOutput) ToWorkstationConfigPersistentDirectoryGcePdOutput() WorkstationConfigPersistentDirectoryGcePdOutput
func (WorkstationConfigPersistentDirectoryGcePdOutput) ToWorkstationConfigPersistentDirectoryGcePdOutputWithContext ¶
func (o WorkstationConfigPersistentDirectoryGcePdOutput) ToWorkstationConfigPersistentDirectoryGcePdOutputWithContext(ctx context.Context) WorkstationConfigPersistentDirectoryGcePdOutput
func (WorkstationConfigPersistentDirectoryGcePdOutput) ToWorkstationConfigPersistentDirectoryGcePdPtrOutput ¶
func (o WorkstationConfigPersistentDirectoryGcePdOutput) ToWorkstationConfigPersistentDirectoryGcePdPtrOutput() WorkstationConfigPersistentDirectoryGcePdPtrOutput
func (WorkstationConfigPersistentDirectoryGcePdOutput) ToWorkstationConfigPersistentDirectoryGcePdPtrOutputWithContext ¶
func (o WorkstationConfigPersistentDirectoryGcePdOutput) ToWorkstationConfigPersistentDirectoryGcePdPtrOutputWithContext(ctx context.Context) WorkstationConfigPersistentDirectoryGcePdPtrOutput
type WorkstationConfigPersistentDirectoryGcePdPtrInput ¶
type WorkstationConfigPersistentDirectoryGcePdPtrInput interface { pulumi.Input ToWorkstationConfigPersistentDirectoryGcePdPtrOutput() WorkstationConfigPersistentDirectoryGcePdPtrOutput ToWorkstationConfigPersistentDirectoryGcePdPtrOutputWithContext(context.Context) WorkstationConfigPersistentDirectoryGcePdPtrOutput }
WorkstationConfigPersistentDirectoryGcePdPtrInput is an input type that accepts WorkstationConfigPersistentDirectoryGcePdArgs, WorkstationConfigPersistentDirectoryGcePdPtr and WorkstationConfigPersistentDirectoryGcePdPtrOutput values. You can construct a concrete instance of `WorkstationConfigPersistentDirectoryGcePdPtrInput` via:
WorkstationConfigPersistentDirectoryGcePdArgs{...} or: nil
func WorkstationConfigPersistentDirectoryGcePdPtr ¶
func WorkstationConfigPersistentDirectoryGcePdPtr(v *WorkstationConfigPersistentDirectoryGcePdArgs) WorkstationConfigPersistentDirectoryGcePdPtrInput
type WorkstationConfigPersistentDirectoryGcePdPtrOutput ¶
type WorkstationConfigPersistentDirectoryGcePdPtrOutput struct{ *pulumi.OutputState }
func (WorkstationConfigPersistentDirectoryGcePdPtrOutput) DiskType ¶
func (o WorkstationConfigPersistentDirectoryGcePdPtrOutput) DiskType() pulumi.StringPtrOutput
Type of the disk to use. Defaults to `"pd-standard"`.
func (WorkstationConfigPersistentDirectoryGcePdPtrOutput) ElementType ¶
func (WorkstationConfigPersistentDirectoryGcePdPtrOutput) ElementType() reflect.Type
func (WorkstationConfigPersistentDirectoryGcePdPtrOutput) FsType ¶
func (o WorkstationConfigPersistentDirectoryGcePdPtrOutput) FsType() pulumi.StringPtrOutput
Type of file system that the disk should be formatted with. The workstation image must support this file system type. Must be empty if `sourceSnapshot` is set. Defaults to `ext4`.
func (WorkstationConfigPersistentDirectoryGcePdPtrOutput) ReclaimPolicy ¶
func (o WorkstationConfigPersistentDirectoryGcePdPtrOutput) ReclaimPolicy() pulumi.StringPtrOutput
Whether the persistent disk should be deleted when the workstation is deleted. Valid values are `DELETE` and `RETAIN`. Defaults to `DELETE`. Possible values are: `DELETE`, `RETAIN`.
func (WorkstationConfigPersistentDirectoryGcePdPtrOutput) SizeGb ¶
func (o WorkstationConfigPersistentDirectoryGcePdPtrOutput) SizeGb() pulumi.IntPtrOutput
The GB capacity of a persistent home directory for each workstation created with this configuration. Must be empty if `sourceSnapshot` is set. Valid values are `10`, `50`, `100`, `200`, `500`, or `1000`. Defaults to `200`. If less than `200` GB, the `diskType` must be `pd-balanced` or `pd-ssd`.
func (WorkstationConfigPersistentDirectoryGcePdPtrOutput) SourceSnapshot ¶
func (o WorkstationConfigPersistentDirectoryGcePdPtrOutput) SourceSnapshot() pulumi.StringPtrOutput
Name of the snapshot to use as the source for the disk. Must be empty if `sourceImage` is set. Must be empty if `readOnly` is false. Updating `sourceSnapshot` will update content in the ephemeral directory after the workstation is restarted.
func (WorkstationConfigPersistentDirectoryGcePdPtrOutput) ToWorkstationConfigPersistentDirectoryGcePdPtrOutput ¶
func (o WorkstationConfigPersistentDirectoryGcePdPtrOutput) ToWorkstationConfigPersistentDirectoryGcePdPtrOutput() WorkstationConfigPersistentDirectoryGcePdPtrOutput
func (WorkstationConfigPersistentDirectoryGcePdPtrOutput) ToWorkstationConfigPersistentDirectoryGcePdPtrOutputWithContext ¶
func (o WorkstationConfigPersistentDirectoryGcePdPtrOutput) ToWorkstationConfigPersistentDirectoryGcePdPtrOutputWithContext(ctx context.Context) WorkstationConfigPersistentDirectoryGcePdPtrOutput
type WorkstationConfigPersistentDirectoryInput ¶
type WorkstationConfigPersistentDirectoryInput interface { pulumi.Input ToWorkstationConfigPersistentDirectoryOutput() WorkstationConfigPersistentDirectoryOutput ToWorkstationConfigPersistentDirectoryOutputWithContext(context.Context) WorkstationConfigPersistentDirectoryOutput }
WorkstationConfigPersistentDirectoryInput is an input type that accepts WorkstationConfigPersistentDirectoryArgs and WorkstationConfigPersistentDirectoryOutput values. You can construct a concrete instance of `WorkstationConfigPersistentDirectoryInput` via:
WorkstationConfigPersistentDirectoryArgs{...}
type WorkstationConfigPersistentDirectoryOutput ¶
type WorkstationConfigPersistentDirectoryOutput struct{ *pulumi.OutputState }
func (WorkstationConfigPersistentDirectoryOutput) ElementType ¶
func (WorkstationConfigPersistentDirectoryOutput) ElementType() reflect.Type
func (WorkstationConfigPersistentDirectoryOutput) GcePd ¶
func (o WorkstationConfigPersistentDirectoryOutput) GcePd() WorkstationConfigPersistentDirectoryGcePdPtrOutput
A directory to persist across workstation sessions, backed by a Compute Engine regional persistent disk. Can only be updated if not empty during creation. Structure is documented below.
func (WorkstationConfigPersistentDirectoryOutput) MountPath ¶
func (o WorkstationConfigPersistentDirectoryOutput) MountPath() pulumi.StringPtrOutput
Location of this directory in the running workstation.
func (WorkstationConfigPersistentDirectoryOutput) ToWorkstationConfigPersistentDirectoryOutput ¶
func (o WorkstationConfigPersistentDirectoryOutput) ToWorkstationConfigPersistentDirectoryOutput() WorkstationConfigPersistentDirectoryOutput
func (WorkstationConfigPersistentDirectoryOutput) ToWorkstationConfigPersistentDirectoryOutputWithContext ¶
func (o WorkstationConfigPersistentDirectoryOutput) ToWorkstationConfigPersistentDirectoryOutputWithContext(ctx context.Context) WorkstationConfigPersistentDirectoryOutput
type WorkstationConfigReadinessCheckArgs ¶
type WorkstationConfigReadinessCheckArgs struct { // Path to which the request should be sent. Path pulumi.StringInput `pulumi:"path"` // Port to which the request should be sent. Port pulumi.IntInput `pulumi:"port"` }
func (WorkstationConfigReadinessCheckArgs) ElementType ¶
func (WorkstationConfigReadinessCheckArgs) ElementType() reflect.Type
func (WorkstationConfigReadinessCheckArgs) ToWorkstationConfigReadinessCheckOutput ¶
func (i WorkstationConfigReadinessCheckArgs) ToWorkstationConfigReadinessCheckOutput() WorkstationConfigReadinessCheckOutput
func (WorkstationConfigReadinessCheckArgs) ToWorkstationConfigReadinessCheckOutputWithContext ¶
func (i WorkstationConfigReadinessCheckArgs) ToWorkstationConfigReadinessCheckOutputWithContext(ctx context.Context) WorkstationConfigReadinessCheckOutput
type WorkstationConfigReadinessCheckArray ¶
type WorkstationConfigReadinessCheckArray []WorkstationConfigReadinessCheckInput
func (WorkstationConfigReadinessCheckArray) ElementType ¶
func (WorkstationConfigReadinessCheckArray) ElementType() reflect.Type
func (WorkstationConfigReadinessCheckArray) ToWorkstationConfigReadinessCheckArrayOutput ¶
func (i WorkstationConfigReadinessCheckArray) ToWorkstationConfigReadinessCheckArrayOutput() WorkstationConfigReadinessCheckArrayOutput
func (WorkstationConfigReadinessCheckArray) ToWorkstationConfigReadinessCheckArrayOutputWithContext ¶
func (i WorkstationConfigReadinessCheckArray) ToWorkstationConfigReadinessCheckArrayOutputWithContext(ctx context.Context) WorkstationConfigReadinessCheckArrayOutput
type WorkstationConfigReadinessCheckArrayInput ¶
type WorkstationConfigReadinessCheckArrayInput interface { pulumi.Input ToWorkstationConfigReadinessCheckArrayOutput() WorkstationConfigReadinessCheckArrayOutput ToWorkstationConfigReadinessCheckArrayOutputWithContext(context.Context) WorkstationConfigReadinessCheckArrayOutput }
WorkstationConfigReadinessCheckArrayInput is an input type that accepts WorkstationConfigReadinessCheckArray and WorkstationConfigReadinessCheckArrayOutput values. You can construct a concrete instance of `WorkstationConfigReadinessCheckArrayInput` via:
WorkstationConfigReadinessCheckArray{ WorkstationConfigReadinessCheckArgs{...} }
type WorkstationConfigReadinessCheckArrayOutput ¶
type WorkstationConfigReadinessCheckArrayOutput struct{ *pulumi.OutputState }
func (WorkstationConfigReadinessCheckArrayOutput) ElementType ¶
func (WorkstationConfigReadinessCheckArrayOutput) ElementType() reflect.Type
func (WorkstationConfigReadinessCheckArrayOutput) ToWorkstationConfigReadinessCheckArrayOutput ¶
func (o WorkstationConfigReadinessCheckArrayOutput) ToWorkstationConfigReadinessCheckArrayOutput() WorkstationConfigReadinessCheckArrayOutput
func (WorkstationConfigReadinessCheckArrayOutput) ToWorkstationConfigReadinessCheckArrayOutputWithContext ¶
func (o WorkstationConfigReadinessCheckArrayOutput) ToWorkstationConfigReadinessCheckArrayOutputWithContext(ctx context.Context) WorkstationConfigReadinessCheckArrayOutput
type WorkstationConfigReadinessCheckInput ¶
type WorkstationConfigReadinessCheckInput interface { pulumi.Input ToWorkstationConfigReadinessCheckOutput() WorkstationConfigReadinessCheckOutput ToWorkstationConfigReadinessCheckOutputWithContext(context.Context) WorkstationConfigReadinessCheckOutput }
WorkstationConfigReadinessCheckInput is an input type that accepts WorkstationConfigReadinessCheckArgs and WorkstationConfigReadinessCheckOutput values. You can construct a concrete instance of `WorkstationConfigReadinessCheckInput` via:
WorkstationConfigReadinessCheckArgs{...}
type WorkstationConfigReadinessCheckOutput ¶
type WorkstationConfigReadinessCheckOutput struct{ *pulumi.OutputState }
func (WorkstationConfigReadinessCheckOutput) ElementType ¶
func (WorkstationConfigReadinessCheckOutput) ElementType() reflect.Type
func (WorkstationConfigReadinessCheckOutput) Path ¶
func (o WorkstationConfigReadinessCheckOutput) Path() pulumi.StringOutput
Path to which the request should be sent.
func (WorkstationConfigReadinessCheckOutput) Port ¶
func (o WorkstationConfigReadinessCheckOutput) Port() pulumi.IntOutput
Port to which the request should be sent.
func (WorkstationConfigReadinessCheckOutput) ToWorkstationConfigReadinessCheckOutput ¶
func (o WorkstationConfigReadinessCheckOutput) ToWorkstationConfigReadinessCheckOutput() WorkstationConfigReadinessCheckOutput
func (WorkstationConfigReadinessCheckOutput) ToWorkstationConfigReadinessCheckOutputWithContext ¶
func (o WorkstationConfigReadinessCheckOutput) ToWorkstationConfigReadinessCheckOutputWithContext(ctx context.Context) WorkstationConfigReadinessCheckOutput
type WorkstationConfigState ¶
type WorkstationConfigState struct { // Client-specified annotations. This is distinct from labels. // **Note**: This field is non-authoritative, and will only manage the annotations present in your configuration. // Please refer to the field `effectiveAnnotations` for all of the annotations present on the resource. Annotations pulumi.StringMapInput // Status conditions describing the current resource state. // Structure is documented below. Conditions WorkstationConfigConditionArrayInput // Container that will be run for each workstation using this configuration when that workstation is started. // Structure is documented below. Container WorkstationConfigContainerPtrInput // Time when this resource was created. CreateTime pulumi.StringPtrInput // Whether this resource is in degraded mode, in which case it may require user action to restore full functionality. Details can be found in the conditions field. Degraded pulumi.BoolPtrInput // Disables support for plain TCP connections in the workstation. By default the service supports TCP connections via a websocket relay. Setting this option to true disables that relay, which prevents the usage of services that require plain tcp connections, such as ssh. When enabled, all communication must occur over https or wss. DisableTcpConnections pulumi.BoolPtrInput // Human-readable name for this resource. DisplayName pulumi.StringPtrInput EffectiveAnnotations pulumi.StringMapInput // All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services. EffectiveLabels pulumi.StringMapInput // Whether to enable Linux `auditd` logging on the workstation. When enabled, a service account must also be specified that has `logging.buckets.write` permission on the project. Operating system audit logging is distinct from Cloud Audit Logs. EnableAuditAgent pulumi.BoolPtrInput // Encrypts resources of this workstation configuration using a customer-managed encryption key. // If specified, the boot disk of the Compute Engine instance and the persistent disk are encrypted using this encryption key. If this field is not set, the disks are encrypted using a generated key. Customer-managed encryption keys do not protect disk metadata. // If the customer-managed encryption key is rotated, when the workstation instance is stopped, the system attempts to recreate the persistent disk with the new version of the key. Be sure to keep older versions of the key until the persistent disk is recreated. Otherwise, data on the persistent disk will be lost. // If the encryption key is revoked, the workstation session will automatically be stopped within 7 hours. // Structure is documented below. EncryptionKey WorkstationConfigEncryptionKeyPtrInput // Ephemeral directories which won't persist across workstation sessions. // Structure is documented below. EphemeralDirectories WorkstationConfigEphemeralDirectoryArrayInput // Checksum computed by the server. // May be sent on update and delete requests to ensure that the client has an up-to-date value before proceeding. Etag pulumi.StringPtrInput // Runtime host for a workstation. // Structure is documented below. Host WorkstationConfigHostPtrInput // How long to wait before automatically stopping an instance that hasn't recently received any user traffic. A value of 0 indicates that this instance should never time out from idleness. Defaults to 20 minutes. // A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s". IdleTimeout pulumi.StringPtrInput // Client-specified labels that are applied to the resource and that are also propagated to the underlying Compute Engine resources. // **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. // Please refer to the field `effectiveLabels` for all of the labels present on the resource. Labels pulumi.StringMapInput // The location where the workstation cluster config should reside. // // *** Location pulumi.StringPtrInput // Full name of this resource. Name pulumi.StringPtrInput // Directories to persist across workstation sessions. // Structure is documented below. PersistentDirectories WorkstationConfigPersistentDirectoryArrayInput // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project pulumi.StringPtrInput // The combination of labels configured directly on the resource // and default labels configured on the provider. PulumiLabels pulumi.StringMapInput // Readiness checks to be performed on a workstation. // Structure is documented below. ReadinessChecks WorkstationConfigReadinessCheckArrayInput // Specifies the zones used to replicate the VM and disk resources within the region. If set, exactly two zones within the workstation cluster's region must be specified—for example, `['us-central1-a', 'us-central1-f']`. // If this field is empty, two default zones within the region are used. Immutable after the workstation configuration is created. ReplicaZones pulumi.StringArrayInput // How long to wait before automatically stopping a workstation after it was started. A value of 0 indicates that workstations using this configuration should never time out from running duration. Must be greater than 0 and less than 24 hours if `encryptionKey` is set. Defaults to 12 hours. // A duration in seconds with up to nine fractional digits, ending with 's'. Example: "3.5s". RunningTimeout pulumi.StringPtrInput // The system-generated UID of the resource. Uid pulumi.StringPtrInput // The ID of the parent workstation cluster. WorkstationClusterId pulumi.StringPtrInput // The ID to be assigned to the workstation cluster config. WorkstationConfigId pulumi.StringPtrInput }
func (WorkstationConfigState) ElementType ¶
func (WorkstationConfigState) ElementType() reflect.Type
type WorkstationIamBinding ¶
type WorkstationIamBinding struct { pulumi.CustomResourceState Condition WorkstationIamBindingConditionPtrOutput `pulumi:"condition"` // (Computed) The etag of the IAM policy. Etag pulumi.StringOutput `pulumi:"etag"` // The location where the workstation parent resources reside. // Used to find the parent resource to bind the IAM policy to. If not specified, // the value will be parsed from the identifier of the parent resource. If no location is provided in the parent identifier and no // location is specified, it is taken from the provider configuration. Location pulumi.StringOutput `pulumi:"location"` // Identities that will be granted the privilege in `role`. // Each entry can have one of the following values: // * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account. // * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account. // * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com. // * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com. // * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com. // * **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com. // * **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project" // * **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project" // * **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project" Members pulumi.StringArrayOutput `pulumi:"members"` // The ID of the project in which the resource belongs. // If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used. Project pulumi.StringOutput `pulumi:"project"` // The role that should be applied. Only one // `workstations.WorkstationIamBinding` can be used per role. Note that custom roles must be of the format // `[projects|organizations]/{parent-name}/roles/{role-name}`. Role pulumi.StringOutput `pulumi:"role"` WorkstationClusterId pulumi.StringOutput `pulumi:"workstationClusterId"` WorkstationConfigId pulumi.StringOutput `pulumi:"workstationConfigId"` WorkstationId pulumi.StringOutput `pulumi:"workstationId"` }
## Import
For all import syntaxes, the "resource in question" can take any of the following forms:
* projects/{{project}}/locations/{{location}}/workstationClusters/{{workstation_cluster_id}}/workstationConfigs/{{workstation_config_id}}/workstations/{{workstation_id}}
* {{project}}/{{location}}/{{workstation_cluster_id}}/{{workstation_config_id}}/{{workstation_id}}
* {{location}}/{{workstation_cluster_id}}/{{workstation_config_id}}/{{workstation_id}}
* {{workstation_id}}
Any variables not passed in the import command will be taken from the provider configuration.
Cloud Workstations workstation IAM resources can be imported using the resource identifiers, role, and member.
IAM member imports use space-delimited identifiers: the resource in question, the role, and the member identity, e.g.
```sh $ pulumi import gcp:workstations/workstationIamBinding:WorkstationIamBinding editor "projects/{{project}}/locations/{{location}}/workstationClusters/{{workstation_cluster_id}}/workstationConfigs/{{workstation_config_id}}/workstations/{{workstation_id}} roles/viewer user:jane@example.com" ```
IAM binding imports use space-delimited identifiers: the resource in question and the role, e.g.
```sh $ pulumi import gcp:workstations/workstationIamBinding:WorkstationIamBinding editor "projects/{{project}}/locations/{{location}}/workstationClusters/{{workstation_cluster_id}}/workstationConfigs/{{workstation_config_id}}/workstations/{{workstation_id}} roles/viewer" ```
IAM policy imports use the identifier of the resource in question, e.g.
```sh $ pulumi import gcp:workstations/workstationIamBinding:WorkstationIamBinding editor projects/{{project}}/locations/{{location}}/workstationClusters/{{workstation_cluster_id}}/workstationConfigs/{{workstation_config_id}}/workstations/{{workstation_id}} ```
-> **Custom Roles**: If you're importing a IAM resource with a custom role, make sure to use the
full name of the custom role, e.g. `[projects/my-project|organizations/my-org]/roles/my-custom-role`.
func GetWorkstationIamBinding ¶
func GetWorkstationIamBinding(ctx *pulumi.Context, name string, id pulumi.IDInput, state *WorkstationIamBindingState, opts ...pulumi.ResourceOption) (*WorkstationIamBinding, error)
GetWorkstationIamBinding gets an existing WorkstationIamBinding resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewWorkstationIamBinding ¶
func NewWorkstationIamBinding(ctx *pulumi.Context, name string, args *WorkstationIamBindingArgs, opts ...pulumi.ResourceOption) (*WorkstationIamBinding, error)
NewWorkstationIamBinding registers a new resource with the given unique name, arguments, and options.
func (*WorkstationIamBinding) ElementType ¶
func (*WorkstationIamBinding) ElementType() reflect.Type
func (*WorkstationIamBinding) ToWorkstationIamBindingOutput ¶
func (i *WorkstationIamBinding) ToWorkstationIamBindingOutput() WorkstationIamBindingOutput
func (*WorkstationIamBinding) ToWorkstationIamBindingOutputWithContext ¶
func (i *WorkstationIamBinding) ToWorkstationIamBindingOutputWithContext(ctx context.Context) WorkstationIamBindingOutput
type WorkstationIamBindingArgs ¶
type WorkstationIamBindingArgs struct { Condition WorkstationIamBindingConditionPtrInput // The location where the workstation parent resources reside. // Used to find the parent resource to bind the IAM policy to. If not specified, // the value will be parsed from the identifier of the parent resource. If no location is provided in the parent identifier and no // location is specified, it is taken from the provider configuration. Location pulumi.StringPtrInput // Identities that will be granted the privilege in `role`. // Each entry can have one of the following values: // * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account. // * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account. // * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com. // * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com. // * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com. // * **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com. // * **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project" // * **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project" // * **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project" Members pulumi.StringArrayInput // The ID of the project in which the resource belongs. // If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used. Project pulumi.StringPtrInput // The role that should be applied. Only one // `workstations.WorkstationIamBinding` can be used per role. Note that custom roles must be of the format // `[projects|organizations]/{parent-name}/roles/{role-name}`. Role pulumi.StringInput WorkstationClusterId pulumi.StringInput WorkstationConfigId pulumi.StringInput WorkstationId pulumi.StringInput }
The set of arguments for constructing a WorkstationIamBinding resource.
func (WorkstationIamBindingArgs) ElementType ¶
func (WorkstationIamBindingArgs) ElementType() reflect.Type
type WorkstationIamBindingArray ¶
type WorkstationIamBindingArray []WorkstationIamBindingInput
func (WorkstationIamBindingArray) ElementType ¶
func (WorkstationIamBindingArray) ElementType() reflect.Type
func (WorkstationIamBindingArray) ToWorkstationIamBindingArrayOutput ¶
func (i WorkstationIamBindingArray) ToWorkstationIamBindingArrayOutput() WorkstationIamBindingArrayOutput
func (WorkstationIamBindingArray) ToWorkstationIamBindingArrayOutputWithContext ¶
func (i WorkstationIamBindingArray) ToWorkstationIamBindingArrayOutputWithContext(ctx context.Context) WorkstationIamBindingArrayOutput
type WorkstationIamBindingArrayInput ¶
type WorkstationIamBindingArrayInput interface { pulumi.Input ToWorkstationIamBindingArrayOutput() WorkstationIamBindingArrayOutput ToWorkstationIamBindingArrayOutputWithContext(context.Context) WorkstationIamBindingArrayOutput }
WorkstationIamBindingArrayInput is an input type that accepts WorkstationIamBindingArray and WorkstationIamBindingArrayOutput values. You can construct a concrete instance of `WorkstationIamBindingArrayInput` via:
WorkstationIamBindingArray{ WorkstationIamBindingArgs{...} }
type WorkstationIamBindingArrayOutput ¶
type WorkstationIamBindingArrayOutput struct{ *pulumi.OutputState }
func (WorkstationIamBindingArrayOutput) ElementType ¶
func (WorkstationIamBindingArrayOutput) ElementType() reflect.Type
func (WorkstationIamBindingArrayOutput) Index ¶
func (o WorkstationIamBindingArrayOutput) Index(i pulumi.IntInput) WorkstationIamBindingOutput
func (WorkstationIamBindingArrayOutput) ToWorkstationIamBindingArrayOutput ¶
func (o WorkstationIamBindingArrayOutput) ToWorkstationIamBindingArrayOutput() WorkstationIamBindingArrayOutput
func (WorkstationIamBindingArrayOutput) ToWorkstationIamBindingArrayOutputWithContext ¶
func (o WorkstationIamBindingArrayOutput) ToWorkstationIamBindingArrayOutputWithContext(ctx context.Context) WorkstationIamBindingArrayOutput
type WorkstationIamBindingConditionArgs ¶
type WorkstationIamBindingConditionArgs struct { Description pulumi.StringPtrInput `pulumi:"description"` Expression pulumi.StringInput `pulumi:"expression"` Title pulumi.StringInput `pulumi:"title"` }
func (WorkstationIamBindingConditionArgs) ElementType ¶
func (WorkstationIamBindingConditionArgs) ElementType() reflect.Type
func (WorkstationIamBindingConditionArgs) ToWorkstationIamBindingConditionOutput ¶
func (i WorkstationIamBindingConditionArgs) ToWorkstationIamBindingConditionOutput() WorkstationIamBindingConditionOutput
func (WorkstationIamBindingConditionArgs) ToWorkstationIamBindingConditionOutputWithContext ¶
func (i WorkstationIamBindingConditionArgs) ToWorkstationIamBindingConditionOutputWithContext(ctx context.Context) WorkstationIamBindingConditionOutput
func (WorkstationIamBindingConditionArgs) ToWorkstationIamBindingConditionPtrOutput ¶
func (i WorkstationIamBindingConditionArgs) ToWorkstationIamBindingConditionPtrOutput() WorkstationIamBindingConditionPtrOutput
func (WorkstationIamBindingConditionArgs) ToWorkstationIamBindingConditionPtrOutputWithContext ¶
func (i WorkstationIamBindingConditionArgs) ToWorkstationIamBindingConditionPtrOutputWithContext(ctx context.Context) WorkstationIamBindingConditionPtrOutput
type WorkstationIamBindingConditionInput ¶
type WorkstationIamBindingConditionInput interface { pulumi.Input ToWorkstationIamBindingConditionOutput() WorkstationIamBindingConditionOutput ToWorkstationIamBindingConditionOutputWithContext(context.Context) WorkstationIamBindingConditionOutput }
WorkstationIamBindingConditionInput is an input type that accepts WorkstationIamBindingConditionArgs and WorkstationIamBindingConditionOutput values. You can construct a concrete instance of `WorkstationIamBindingConditionInput` via:
WorkstationIamBindingConditionArgs{...}
type WorkstationIamBindingConditionOutput ¶
type WorkstationIamBindingConditionOutput struct{ *pulumi.OutputState }
func (WorkstationIamBindingConditionOutput) Description ¶
func (o WorkstationIamBindingConditionOutput) Description() pulumi.StringPtrOutput
func (WorkstationIamBindingConditionOutput) ElementType ¶
func (WorkstationIamBindingConditionOutput) ElementType() reflect.Type
func (WorkstationIamBindingConditionOutput) Expression ¶
func (o WorkstationIamBindingConditionOutput) Expression() pulumi.StringOutput
func (WorkstationIamBindingConditionOutput) Title ¶
func (o WorkstationIamBindingConditionOutput) Title() pulumi.StringOutput
func (WorkstationIamBindingConditionOutput) ToWorkstationIamBindingConditionOutput ¶
func (o WorkstationIamBindingConditionOutput) ToWorkstationIamBindingConditionOutput() WorkstationIamBindingConditionOutput
func (WorkstationIamBindingConditionOutput) ToWorkstationIamBindingConditionOutputWithContext ¶
func (o WorkstationIamBindingConditionOutput) ToWorkstationIamBindingConditionOutputWithContext(ctx context.Context) WorkstationIamBindingConditionOutput
func (WorkstationIamBindingConditionOutput) ToWorkstationIamBindingConditionPtrOutput ¶
func (o WorkstationIamBindingConditionOutput) ToWorkstationIamBindingConditionPtrOutput() WorkstationIamBindingConditionPtrOutput
func (WorkstationIamBindingConditionOutput) ToWorkstationIamBindingConditionPtrOutputWithContext ¶
func (o WorkstationIamBindingConditionOutput) ToWorkstationIamBindingConditionPtrOutputWithContext(ctx context.Context) WorkstationIamBindingConditionPtrOutput
type WorkstationIamBindingConditionPtrInput ¶
type WorkstationIamBindingConditionPtrInput interface { pulumi.Input ToWorkstationIamBindingConditionPtrOutput() WorkstationIamBindingConditionPtrOutput ToWorkstationIamBindingConditionPtrOutputWithContext(context.Context) WorkstationIamBindingConditionPtrOutput }
WorkstationIamBindingConditionPtrInput is an input type that accepts WorkstationIamBindingConditionArgs, WorkstationIamBindingConditionPtr and WorkstationIamBindingConditionPtrOutput values. You can construct a concrete instance of `WorkstationIamBindingConditionPtrInput` via:
WorkstationIamBindingConditionArgs{...} or: nil
func WorkstationIamBindingConditionPtr ¶
func WorkstationIamBindingConditionPtr(v *WorkstationIamBindingConditionArgs) WorkstationIamBindingConditionPtrInput
type WorkstationIamBindingConditionPtrOutput ¶
type WorkstationIamBindingConditionPtrOutput struct{ *pulumi.OutputState }
func (WorkstationIamBindingConditionPtrOutput) Description ¶
func (o WorkstationIamBindingConditionPtrOutput) Description() pulumi.StringPtrOutput
func (WorkstationIamBindingConditionPtrOutput) ElementType ¶
func (WorkstationIamBindingConditionPtrOutput) ElementType() reflect.Type
func (WorkstationIamBindingConditionPtrOutput) Expression ¶
func (o WorkstationIamBindingConditionPtrOutput) Expression() pulumi.StringPtrOutput
func (WorkstationIamBindingConditionPtrOutput) Title ¶
func (o WorkstationIamBindingConditionPtrOutput) Title() pulumi.StringPtrOutput
func (WorkstationIamBindingConditionPtrOutput) ToWorkstationIamBindingConditionPtrOutput ¶
func (o WorkstationIamBindingConditionPtrOutput) ToWorkstationIamBindingConditionPtrOutput() WorkstationIamBindingConditionPtrOutput
func (WorkstationIamBindingConditionPtrOutput) ToWorkstationIamBindingConditionPtrOutputWithContext ¶
func (o WorkstationIamBindingConditionPtrOutput) ToWorkstationIamBindingConditionPtrOutputWithContext(ctx context.Context) WorkstationIamBindingConditionPtrOutput
type WorkstationIamBindingInput ¶
type WorkstationIamBindingInput interface { pulumi.Input ToWorkstationIamBindingOutput() WorkstationIamBindingOutput ToWorkstationIamBindingOutputWithContext(ctx context.Context) WorkstationIamBindingOutput }
type WorkstationIamBindingMap ¶
type WorkstationIamBindingMap map[string]WorkstationIamBindingInput
func (WorkstationIamBindingMap) ElementType ¶
func (WorkstationIamBindingMap) ElementType() reflect.Type
func (WorkstationIamBindingMap) ToWorkstationIamBindingMapOutput ¶
func (i WorkstationIamBindingMap) ToWorkstationIamBindingMapOutput() WorkstationIamBindingMapOutput
func (WorkstationIamBindingMap) ToWorkstationIamBindingMapOutputWithContext ¶
func (i WorkstationIamBindingMap) ToWorkstationIamBindingMapOutputWithContext(ctx context.Context) WorkstationIamBindingMapOutput
type WorkstationIamBindingMapInput ¶
type WorkstationIamBindingMapInput interface { pulumi.Input ToWorkstationIamBindingMapOutput() WorkstationIamBindingMapOutput ToWorkstationIamBindingMapOutputWithContext(context.Context) WorkstationIamBindingMapOutput }
WorkstationIamBindingMapInput is an input type that accepts WorkstationIamBindingMap and WorkstationIamBindingMapOutput values. You can construct a concrete instance of `WorkstationIamBindingMapInput` via:
WorkstationIamBindingMap{ "key": WorkstationIamBindingArgs{...} }
type WorkstationIamBindingMapOutput ¶
type WorkstationIamBindingMapOutput struct{ *pulumi.OutputState }
func (WorkstationIamBindingMapOutput) ElementType ¶
func (WorkstationIamBindingMapOutput) ElementType() reflect.Type
func (WorkstationIamBindingMapOutput) MapIndex ¶
func (o WorkstationIamBindingMapOutput) MapIndex(k pulumi.StringInput) WorkstationIamBindingOutput
func (WorkstationIamBindingMapOutput) ToWorkstationIamBindingMapOutput ¶
func (o WorkstationIamBindingMapOutput) ToWorkstationIamBindingMapOutput() WorkstationIamBindingMapOutput
func (WorkstationIamBindingMapOutput) ToWorkstationIamBindingMapOutputWithContext ¶
func (o WorkstationIamBindingMapOutput) ToWorkstationIamBindingMapOutputWithContext(ctx context.Context) WorkstationIamBindingMapOutput
type WorkstationIamBindingOutput ¶
type WorkstationIamBindingOutput struct{ *pulumi.OutputState }
func (WorkstationIamBindingOutput) Condition ¶
func (o WorkstationIamBindingOutput) Condition() WorkstationIamBindingConditionPtrOutput
func (WorkstationIamBindingOutput) ElementType ¶
func (WorkstationIamBindingOutput) ElementType() reflect.Type
func (WorkstationIamBindingOutput) Etag ¶
func (o WorkstationIamBindingOutput) Etag() pulumi.StringOutput
(Computed) The etag of the IAM policy.
func (WorkstationIamBindingOutput) Location ¶
func (o WorkstationIamBindingOutput) Location() pulumi.StringOutput
The location where the workstation parent resources reside. Used to find the parent resource to bind the IAM policy to. If not specified, the value will be parsed from the identifier of the parent resource. If no location is provided in the parent identifier and no location is specified, it is taken from the provider configuration.
func (WorkstationIamBindingOutput) Members ¶
func (o WorkstationIamBindingOutput) Members() pulumi.StringArrayOutput
Identities that will be granted the privilege in `role`. Each entry can have one of the following values: * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account. * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account. * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com. * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com. * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com. * **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com. * **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project" * **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project" * **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"
func (WorkstationIamBindingOutput) Project ¶
func (o WorkstationIamBindingOutput) Project() pulumi.StringOutput
The ID of the project in which the resource belongs. If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
func (WorkstationIamBindingOutput) Role ¶
func (o WorkstationIamBindingOutput) Role() pulumi.StringOutput
The role that should be applied. Only one `workstations.WorkstationIamBinding` can be used per role. Note that custom roles must be of the format `[projects|organizations]/{parent-name}/roles/{role-name}`.
func (WorkstationIamBindingOutput) ToWorkstationIamBindingOutput ¶
func (o WorkstationIamBindingOutput) ToWorkstationIamBindingOutput() WorkstationIamBindingOutput
func (WorkstationIamBindingOutput) ToWorkstationIamBindingOutputWithContext ¶
func (o WorkstationIamBindingOutput) ToWorkstationIamBindingOutputWithContext(ctx context.Context) WorkstationIamBindingOutput
func (WorkstationIamBindingOutput) WorkstationClusterId ¶
func (o WorkstationIamBindingOutput) WorkstationClusterId() pulumi.StringOutput
func (WorkstationIamBindingOutput) WorkstationConfigId ¶
func (o WorkstationIamBindingOutput) WorkstationConfigId() pulumi.StringOutput
func (WorkstationIamBindingOutput) WorkstationId ¶
func (o WorkstationIamBindingOutput) WorkstationId() pulumi.StringOutput
type WorkstationIamBindingState ¶
type WorkstationIamBindingState struct { Condition WorkstationIamBindingConditionPtrInput // (Computed) The etag of the IAM policy. Etag pulumi.StringPtrInput // The location where the workstation parent resources reside. // Used to find the parent resource to bind the IAM policy to. If not specified, // the value will be parsed from the identifier of the parent resource. If no location is provided in the parent identifier and no // location is specified, it is taken from the provider configuration. Location pulumi.StringPtrInput // Identities that will be granted the privilege in `role`. // Each entry can have one of the following values: // * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account. // * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account. // * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com. // * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com. // * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com. // * **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com. // * **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project" // * **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project" // * **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project" Members pulumi.StringArrayInput // The ID of the project in which the resource belongs. // If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used. Project pulumi.StringPtrInput // The role that should be applied. Only one // `workstations.WorkstationIamBinding` can be used per role. Note that custom roles must be of the format // `[projects|organizations]/{parent-name}/roles/{role-name}`. Role pulumi.StringPtrInput WorkstationClusterId pulumi.StringPtrInput WorkstationConfigId pulumi.StringPtrInput WorkstationId pulumi.StringPtrInput }
func (WorkstationIamBindingState) ElementType ¶
func (WorkstationIamBindingState) ElementType() reflect.Type
type WorkstationIamMember ¶
type WorkstationIamMember struct { pulumi.CustomResourceState Condition WorkstationIamMemberConditionPtrOutput `pulumi:"condition"` // (Computed) The etag of the IAM policy. Etag pulumi.StringOutput `pulumi:"etag"` // The location where the workstation parent resources reside. // Used to find the parent resource to bind the IAM policy to. If not specified, // the value will be parsed from the identifier of the parent resource. If no location is provided in the parent identifier and no // location is specified, it is taken from the provider configuration. Location pulumi.StringOutput `pulumi:"location"` // Identities that will be granted the privilege in `role`. // Each entry can have one of the following values: // * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account. // * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account. // * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com. // * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com. // * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com. // * **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com. // * **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project" // * **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project" // * **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project" Member pulumi.StringOutput `pulumi:"member"` // The ID of the project in which the resource belongs. // If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used. Project pulumi.StringOutput `pulumi:"project"` // The role that should be applied. Only one // `workstations.WorkstationIamBinding` can be used per role. Note that custom roles must be of the format // `[projects|organizations]/{parent-name}/roles/{role-name}`. Role pulumi.StringOutput `pulumi:"role"` WorkstationClusterId pulumi.StringOutput `pulumi:"workstationClusterId"` WorkstationConfigId pulumi.StringOutput `pulumi:"workstationConfigId"` WorkstationId pulumi.StringOutput `pulumi:"workstationId"` }
## Import
For all import syntaxes, the "resource in question" can take any of the following forms:
* projects/{{project}}/locations/{{location}}/workstationClusters/{{workstation_cluster_id}}/workstationConfigs/{{workstation_config_id}}/workstations/{{workstation_id}}
* {{project}}/{{location}}/{{workstation_cluster_id}}/{{workstation_config_id}}/{{workstation_id}}
* {{location}}/{{workstation_cluster_id}}/{{workstation_config_id}}/{{workstation_id}}
* {{workstation_id}}
Any variables not passed in the import command will be taken from the provider configuration.
Cloud Workstations workstation IAM resources can be imported using the resource identifiers, role, and member.
IAM member imports use space-delimited identifiers: the resource in question, the role, and the member identity, e.g.
```sh $ pulumi import gcp:workstations/workstationIamMember:WorkstationIamMember editor "projects/{{project}}/locations/{{location}}/workstationClusters/{{workstation_cluster_id}}/workstationConfigs/{{workstation_config_id}}/workstations/{{workstation_id}} roles/viewer user:jane@example.com" ```
IAM binding imports use space-delimited identifiers: the resource in question and the role, e.g.
```sh $ pulumi import gcp:workstations/workstationIamMember:WorkstationIamMember editor "projects/{{project}}/locations/{{location}}/workstationClusters/{{workstation_cluster_id}}/workstationConfigs/{{workstation_config_id}}/workstations/{{workstation_id}} roles/viewer" ```
IAM policy imports use the identifier of the resource in question, e.g.
```sh $ pulumi import gcp:workstations/workstationIamMember:WorkstationIamMember editor projects/{{project}}/locations/{{location}}/workstationClusters/{{workstation_cluster_id}}/workstationConfigs/{{workstation_config_id}}/workstations/{{workstation_id}} ```
-> **Custom Roles**: If you're importing a IAM resource with a custom role, make sure to use the
full name of the custom role, e.g. `[projects/my-project|organizations/my-org]/roles/my-custom-role`.
func GetWorkstationIamMember ¶
func GetWorkstationIamMember(ctx *pulumi.Context, name string, id pulumi.IDInput, state *WorkstationIamMemberState, opts ...pulumi.ResourceOption) (*WorkstationIamMember, error)
GetWorkstationIamMember gets an existing WorkstationIamMember resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewWorkstationIamMember ¶
func NewWorkstationIamMember(ctx *pulumi.Context, name string, args *WorkstationIamMemberArgs, opts ...pulumi.ResourceOption) (*WorkstationIamMember, error)
NewWorkstationIamMember registers a new resource with the given unique name, arguments, and options.
func (*WorkstationIamMember) ElementType ¶
func (*WorkstationIamMember) ElementType() reflect.Type
func (*WorkstationIamMember) ToWorkstationIamMemberOutput ¶
func (i *WorkstationIamMember) ToWorkstationIamMemberOutput() WorkstationIamMemberOutput
func (*WorkstationIamMember) ToWorkstationIamMemberOutputWithContext ¶
func (i *WorkstationIamMember) ToWorkstationIamMemberOutputWithContext(ctx context.Context) WorkstationIamMemberOutput
type WorkstationIamMemberArgs ¶
type WorkstationIamMemberArgs struct { Condition WorkstationIamMemberConditionPtrInput // The location where the workstation parent resources reside. // Used to find the parent resource to bind the IAM policy to. If not specified, // the value will be parsed from the identifier of the parent resource. If no location is provided in the parent identifier and no // location is specified, it is taken from the provider configuration. Location pulumi.StringPtrInput // Identities that will be granted the privilege in `role`. // Each entry can have one of the following values: // * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account. // * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account. // * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com. // * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com. // * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com. // * **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com. // * **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project" // * **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project" // * **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project" Member pulumi.StringInput // The ID of the project in which the resource belongs. // If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used. Project pulumi.StringPtrInput // The role that should be applied. Only one // `workstations.WorkstationIamBinding` can be used per role. Note that custom roles must be of the format // `[projects|organizations]/{parent-name}/roles/{role-name}`. Role pulumi.StringInput WorkstationClusterId pulumi.StringInput WorkstationConfigId pulumi.StringInput WorkstationId pulumi.StringInput }
The set of arguments for constructing a WorkstationIamMember resource.
func (WorkstationIamMemberArgs) ElementType ¶
func (WorkstationIamMemberArgs) ElementType() reflect.Type
type WorkstationIamMemberArray ¶
type WorkstationIamMemberArray []WorkstationIamMemberInput
func (WorkstationIamMemberArray) ElementType ¶
func (WorkstationIamMemberArray) ElementType() reflect.Type
func (WorkstationIamMemberArray) ToWorkstationIamMemberArrayOutput ¶
func (i WorkstationIamMemberArray) ToWorkstationIamMemberArrayOutput() WorkstationIamMemberArrayOutput
func (WorkstationIamMemberArray) ToWorkstationIamMemberArrayOutputWithContext ¶
func (i WorkstationIamMemberArray) ToWorkstationIamMemberArrayOutputWithContext(ctx context.Context) WorkstationIamMemberArrayOutput
type WorkstationIamMemberArrayInput ¶
type WorkstationIamMemberArrayInput interface { pulumi.Input ToWorkstationIamMemberArrayOutput() WorkstationIamMemberArrayOutput ToWorkstationIamMemberArrayOutputWithContext(context.Context) WorkstationIamMemberArrayOutput }
WorkstationIamMemberArrayInput is an input type that accepts WorkstationIamMemberArray and WorkstationIamMemberArrayOutput values. You can construct a concrete instance of `WorkstationIamMemberArrayInput` via:
WorkstationIamMemberArray{ WorkstationIamMemberArgs{...} }
type WorkstationIamMemberArrayOutput ¶
type WorkstationIamMemberArrayOutput struct{ *pulumi.OutputState }
func (WorkstationIamMemberArrayOutput) ElementType ¶
func (WorkstationIamMemberArrayOutput) ElementType() reflect.Type
func (WorkstationIamMemberArrayOutput) Index ¶
func (o WorkstationIamMemberArrayOutput) Index(i pulumi.IntInput) WorkstationIamMemberOutput
func (WorkstationIamMemberArrayOutput) ToWorkstationIamMemberArrayOutput ¶
func (o WorkstationIamMemberArrayOutput) ToWorkstationIamMemberArrayOutput() WorkstationIamMemberArrayOutput
func (WorkstationIamMemberArrayOutput) ToWorkstationIamMemberArrayOutputWithContext ¶
func (o WorkstationIamMemberArrayOutput) ToWorkstationIamMemberArrayOutputWithContext(ctx context.Context) WorkstationIamMemberArrayOutput
type WorkstationIamMemberConditionArgs ¶
type WorkstationIamMemberConditionArgs struct { Description pulumi.StringPtrInput `pulumi:"description"` Expression pulumi.StringInput `pulumi:"expression"` Title pulumi.StringInput `pulumi:"title"` }
func (WorkstationIamMemberConditionArgs) ElementType ¶
func (WorkstationIamMemberConditionArgs) ElementType() reflect.Type
func (WorkstationIamMemberConditionArgs) ToWorkstationIamMemberConditionOutput ¶
func (i WorkstationIamMemberConditionArgs) ToWorkstationIamMemberConditionOutput() WorkstationIamMemberConditionOutput
func (WorkstationIamMemberConditionArgs) ToWorkstationIamMemberConditionOutputWithContext ¶
func (i WorkstationIamMemberConditionArgs) ToWorkstationIamMemberConditionOutputWithContext(ctx context.Context) WorkstationIamMemberConditionOutput
func (WorkstationIamMemberConditionArgs) ToWorkstationIamMemberConditionPtrOutput ¶
func (i WorkstationIamMemberConditionArgs) ToWorkstationIamMemberConditionPtrOutput() WorkstationIamMemberConditionPtrOutput
func (WorkstationIamMemberConditionArgs) ToWorkstationIamMemberConditionPtrOutputWithContext ¶
func (i WorkstationIamMemberConditionArgs) ToWorkstationIamMemberConditionPtrOutputWithContext(ctx context.Context) WorkstationIamMemberConditionPtrOutput
type WorkstationIamMemberConditionInput ¶
type WorkstationIamMemberConditionInput interface { pulumi.Input ToWorkstationIamMemberConditionOutput() WorkstationIamMemberConditionOutput ToWorkstationIamMemberConditionOutputWithContext(context.Context) WorkstationIamMemberConditionOutput }
WorkstationIamMemberConditionInput is an input type that accepts WorkstationIamMemberConditionArgs and WorkstationIamMemberConditionOutput values. You can construct a concrete instance of `WorkstationIamMemberConditionInput` via:
WorkstationIamMemberConditionArgs{...}
type WorkstationIamMemberConditionOutput ¶
type WorkstationIamMemberConditionOutput struct{ *pulumi.OutputState }
func (WorkstationIamMemberConditionOutput) Description ¶
func (o WorkstationIamMemberConditionOutput) Description() pulumi.StringPtrOutput
func (WorkstationIamMemberConditionOutput) ElementType ¶
func (WorkstationIamMemberConditionOutput) ElementType() reflect.Type
func (WorkstationIamMemberConditionOutput) Expression ¶
func (o WorkstationIamMemberConditionOutput) Expression() pulumi.StringOutput
func (WorkstationIamMemberConditionOutput) Title ¶
func (o WorkstationIamMemberConditionOutput) Title() pulumi.StringOutput
func (WorkstationIamMemberConditionOutput) ToWorkstationIamMemberConditionOutput ¶
func (o WorkstationIamMemberConditionOutput) ToWorkstationIamMemberConditionOutput() WorkstationIamMemberConditionOutput
func (WorkstationIamMemberConditionOutput) ToWorkstationIamMemberConditionOutputWithContext ¶
func (o WorkstationIamMemberConditionOutput) ToWorkstationIamMemberConditionOutputWithContext(ctx context.Context) WorkstationIamMemberConditionOutput
func (WorkstationIamMemberConditionOutput) ToWorkstationIamMemberConditionPtrOutput ¶
func (o WorkstationIamMemberConditionOutput) ToWorkstationIamMemberConditionPtrOutput() WorkstationIamMemberConditionPtrOutput
func (WorkstationIamMemberConditionOutput) ToWorkstationIamMemberConditionPtrOutputWithContext ¶
func (o WorkstationIamMemberConditionOutput) ToWorkstationIamMemberConditionPtrOutputWithContext(ctx context.Context) WorkstationIamMemberConditionPtrOutput
type WorkstationIamMemberConditionPtrInput ¶
type WorkstationIamMemberConditionPtrInput interface { pulumi.Input ToWorkstationIamMemberConditionPtrOutput() WorkstationIamMemberConditionPtrOutput ToWorkstationIamMemberConditionPtrOutputWithContext(context.Context) WorkstationIamMemberConditionPtrOutput }
WorkstationIamMemberConditionPtrInput is an input type that accepts WorkstationIamMemberConditionArgs, WorkstationIamMemberConditionPtr and WorkstationIamMemberConditionPtrOutput values. You can construct a concrete instance of `WorkstationIamMemberConditionPtrInput` via:
WorkstationIamMemberConditionArgs{...} or: nil
func WorkstationIamMemberConditionPtr ¶
func WorkstationIamMemberConditionPtr(v *WorkstationIamMemberConditionArgs) WorkstationIamMemberConditionPtrInput
type WorkstationIamMemberConditionPtrOutput ¶
type WorkstationIamMemberConditionPtrOutput struct{ *pulumi.OutputState }
func (WorkstationIamMemberConditionPtrOutput) Description ¶
func (o WorkstationIamMemberConditionPtrOutput) Description() pulumi.StringPtrOutput
func (WorkstationIamMemberConditionPtrOutput) ElementType ¶
func (WorkstationIamMemberConditionPtrOutput) ElementType() reflect.Type
func (WorkstationIamMemberConditionPtrOutput) Expression ¶
func (o WorkstationIamMemberConditionPtrOutput) Expression() pulumi.StringPtrOutput
func (WorkstationIamMemberConditionPtrOutput) Title ¶
func (o WorkstationIamMemberConditionPtrOutput) Title() pulumi.StringPtrOutput
func (WorkstationIamMemberConditionPtrOutput) ToWorkstationIamMemberConditionPtrOutput ¶
func (o WorkstationIamMemberConditionPtrOutput) ToWorkstationIamMemberConditionPtrOutput() WorkstationIamMemberConditionPtrOutput
func (WorkstationIamMemberConditionPtrOutput) ToWorkstationIamMemberConditionPtrOutputWithContext ¶
func (o WorkstationIamMemberConditionPtrOutput) ToWorkstationIamMemberConditionPtrOutputWithContext(ctx context.Context) WorkstationIamMemberConditionPtrOutput
type WorkstationIamMemberInput ¶
type WorkstationIamMemberInput interface { pulumi.Input ToWorkstationIamMemberOutput() WorkstationIamMemberOutput ToWorkstationIamMemberOutputWithContext(ctx context.Context) WorkstationIamMemberOutput }
type WorkstationIamMemberMap ¶
type WorkstationIamMemberMap map[string]WorkstationIamMemberInput
func (WorkstationIamMemberMap) ElementType ¶
func (WorkstationIamMemberMap) ElementType() reflect.Type
func (WorkstationIamMemberMap) ToWorkstationIamMemberMapOutput ¶
func (i WorkstationIamMemberMap) ToWorkstationIamMemberMapOutput() WorkstationIamMemberMapOutput
func (WorkstationIamMemberMap) ToWorkstationIamMemberMapOutputWithContext ¶
func (i WorkstationIamMemberMap) ToWorkstationIamMemberMapOutputWithContext(ctx context.Context) WorkstationIamMemberMapOutput
type WorkstationIamMemberMapInput ¶
type WorkstationIamMemberMapInput interface { pulumi.Input ToWorkstationIamMemberMapOutput() WorkstationIamMemberMapOutput ToWorkstationIamMemberMapOutputWithContext(context.Context) WorkstationIamMemberMapOutput }
WorkstationIamMemberMapInput is an input type that accepts WorkstationIamMemberMap and WorkstationIamMemberMapOutput values. You can construct a concrete instance of `WorkstationIamMemberMapInput` via:
WorkstationIamMemberMap{ "key": WorkstationIamMemberArgs{...} }
type WorkstationIamMemberMapOutput ¶
type WorkstationIamMemberMapOutput struct{ *pulumi.OutputState }
func (WorkstationIamMemberMapOutput) ElementType ¶
func (WorkstationIamMemberMapOutput) ElementType() reflect.Type
func (WorkstationIamMemberMapOutput) MapIndex ¶
func (o WorkstationIamMemberMapOutput) MapIndex(k pulumi.StringInput) WorkstationIamMemberOutput
func (WorkstationIamMemberMapOutput) ToWorkstationIamMemberMapOutput ¶
func (o WorkstationIamMemberMapOutput) ToWorkstationIamMemberMapOutput() WorkstationIamMemberMapOutput
func (WorkstationIamMemberMapOutput) ToWorkstationIamMemberMapOutputWithContext ¶
func (o WorkstationIamMemberMapOutput) ToWorkstationIamMemberMapOutputWithContext(ctx context.Context) WorkstationIamMemberMapOutput
type WorkstationIamMemberOutput ¶
type WorkstationIamMemberOutput struct{ *pulumi.OutputState }
func (WorkstationIamMemberOutput) Condition ¶
func (o WorkstationIamMemberOutput) Condition() WorkstationIamMemberConditionPtrOutput
func (WorkstationIamMemberOutput) ElementType ¶
func (WorkstationIamMemberOutput) ElementType() reflect.Type
func (WorkstationIamMemberOutput) Etag ¶
func (o WorkstationIamMemberOutput) Etag() pulumi.StringOutput
(Computed) The etag of the IAM policy.
func (WorkstationIamMemberOutput) Location ¶
func (o WorkstationIamMemberOutput) Location() pulumi.StringOutput
The location where the workstation parent resources reside. Used to find the parent resource to bind the IAM policy to. If not specified, the value will be parsed from the identifier of the parent resource. If no location is provided in the parent identifier and no location is specified, it is taken from the provider configuration.
func (WorkstationIamMemberOutput) Member ¶
func (o WorkstationIamMemberOutput) Member() pulumi.StringOutput
Identities that will be granted the privilege in `role`. Each entry can have one of the following values: * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account. * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account. * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com. * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com. * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com. * **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com. * **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project" * **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project" * **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"
func (WorkstationIamMemberOutput) Project ¶
func (o WorkstationIamMemberOutput) Project() pulumi.StringOutput
The ID of the project in which the resource belongs. If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
func (WorkstationIamMemberOutput) Role ¶
func (o WorkstationIamMemberOutput) Role() pulumi.StringOutput
The role that should be applied. Only one `workstations.WorkstationIamBinding` can be used per role. Note that custom roles must be of the format `[projects|organizations]/{parent-name}/roles/{role-name}`.
func (WorkstationIamMemberOutput) ToWorkstationIamMemberOutput ¶
func (o WorkstationIamMemberOutput) ToWorkstationIamMemberOutput() WorkstationIamMemberOutput
func (WorkstationIamMemberOutput) ToWorkstationIamMemberOutputWithContext ¶
func (o WorkstationIamMemberOutput) ToWorkstationIamMemberOutputWithContext(ctx context.Context) WorkstationIamMemberOutput
func (WorkstationIamMemberOutput) WorkstationClusterId ¶
func (o WorkstationIamMemberOutput) WorkstationClusterId() pulumi.StringOutput
func (WorkstationIamMemberOutput) WorkstationConfigId ¶
func (o WorkstationIamMemberOutput) WorkstationConfigId() pulumi.StringOutput
func (WorkstationIamMemberOutput) WorkstationId ¶
func (o WorkstationIamMemberOutput) WorkstationId() pulumi.StringOutput
type WorkstationIamMemberState ¶
type WorkstationIamMemberState struct { Condition WorkstationIamMemberConditionPtrInput // (Computed) The etag of the IAM policy. Etag pulumi.StringPtrInput // The location where the workstation parent resources reside. // Used to find the parent resource to bind the IAM policy to. If not specified, // the value will be parsed from the identifier of the parent resource. If no location is provided in the parent identifier and no // location is specified, it is taken from the provider configuration. Location pulumi.StringPtrInput // Identities that will be granted the privilege in `role`. // Each entry can have one of the following values: // * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account. // * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account. // * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com. // * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com. // * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com. // * **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com. // * **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project" // * **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project" // * **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project" Member pulumi.StringPtrInput // The ID of the project in which the resource belongs. // If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used. Project pulumi.StringPtrInput // The role that should be applied. Only one // `workstations.WorkstationIamBinding` can be used per role. Note that custom roles must be of the format // `[projects|organizations]/{parent-name}/roles/{role-name}`. Role pulumi.StringPtrInput WorkstationClusterId pulumi.StringPtrInput WorkstationConfigId pulumi.StringPtrInput WorkstationId pulumi.StringPtrInput }
func (WorkstationIamMemberState) ElementType ¶
func (WorkstationIamMemberState) ElementType() reflect.Type
type WorkstationIamPolicy ¶
type WorkstationIamPolicy struct { pulumi.CustomResourceState // (Computed) The etag of the IAM policy. Etag pulumi.StringOutput `pulumi:"etag"` // The location where the workstation parent resources reside. // Used to find the parent resource to bind the IAM policy to. If not specified, // the value will be parsed from the identifier of the parent resource. If no location is provided in the parent identifier and no // location is specified, it is taken from the provider configuration. Location pulumi.StringOutput `pulumi:"location"` // The policy data generated by // a `organizations.getIAMPolicy` data source. PolicyData pulumi.StringOutput `pulumi:"policyData"` // The ID of the project in which the resource belongs. // If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used. Project pulumi.StringOutput `pulumi:"project"` WorkstationClusterId pulumi.StringOutput `pulumi:"workstationClusterId"` WorkstationConfigId pulumi.StringOutput `pulumi:"workstationConfigId"` WorkstationId pulumi.StringOutput `pulumi:"workstationId"` }
## Import
For all import syntaxes, the "resource in question" can take any of the following forms:
* projects/{{project}}/locations/{{location}}/workstationClusters/{{workstation_cluster_id}}/workstationConfigs/{{workstation_config_id}}/workstations/{{workstation_id}}
* {{project}}/{{location}}/{{workstation_cluster_id}}/{{workstation_config_id}}/{{workstation_id}}
* {{location}}/{{workstation_cluster_id}}/{{workstation_config_id}}/{{workstation_id}}
* {{workstation_id}}
Any variables not passed in the import command will be taken from the provider configuration.
Cloud Workstations workstation IAM resources can be imported using the resource identifiers, role, and member.
IAM member imports use space-delimited identifiers: the resource in question, the role, and the member identity, e.g.
```sh $ pulumi import gcp:workstations/workstationIamPolicy:WorkstationIamPolicy editor "projects/{{project}}/locations/{{location}}/workstationClusters/{{workstation_cluster_id}}/workstationConfigs/{{workstation_config_id}}/workstations/{{workstation_id}} roles/viewer user:jane@example.com" ```
IAM binding imports use space-delimited identifiers: the resource in question and the role, e.g.
```sh $ pulumi import gcp:workstations/workstationIamPolicy:WorkstationIamPolicy editor "projects/{{project}}/locations/{{location}}/workstationClusters/{{workstation_cluster_id}}/workstationConfigs/{{workstation_config_id}}/workstations/{{workstation_id}} roles/viewer" ```
IAM policy imports use the identifier of the resource in question, e.g.
```sh $ pulumi import gcp:workstations/workstationIamPolicy:WorkstationIamPolicy editor projects/{{project}}/locations/{{location}}/workstationClusters/{{workstation_cluster_id}}/workstationConfigs/{{workstation_config_id}}/workstations/{{workstation_id}} ```
-> **Custom Roles**: If you're importing a IAM resource with a custom role, make sure to use the
full name of the custom role, e.g. `[projects/my-project|organizations/my-org]/roles/my-custom-role`.
func GetWorkstationIamPolicy ¶
func GetWorkstationIamPolicy(ctx *pulumi.Context, name string, id pulumi.IDInput, state *WorkstationIamPolicyState, opts ...pulumi.ResourceOption) (*WorkstationIamPolicy, error)
GetWorkstationIamPolicy gets an existing WorkstationIamPolicy resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewWorkstationIamPolicy ¶
func NewWorkstationIamPolicy(ctx *pulumi.Context, name string, args *WorkstationIamPolicyArgs, opts ...pulumi.ResourceOption) (*WorkstationIamPolicy, error)
NewWorkstationIamPolicy registers a new resource with the given unique name, arguments, and options.
func (*WorkstationIamPolicy) ElementType ¶
func (*WorkstationIamPolicy) ElementType() reflect.Type
func (*WorkstationIamPolicy) ToWorkstationIamPolicyOutput ¶
func (i *WorkstationIamPolicy) ToWorkstationIamPolicyOutput() WorkstationIamPolicyOutput
func (*WorkstationIamPolicy) ToWorkstationIamPolicyOutputWithContext ¶
func (i *WorkstationIamPolicy) ToWorkstationIamPolicyOutputWithContext(ctx context.Context) WorkstationIamPolicyOutput
type WorkstationIamPolicyArgs ¶
type WorkstationIamPolicyArgs struct { // The location where the workstation parent resources reside. // Used to find the parent resource to bind the IAM policy to. If not specified, // the value will be parsed from the identifier of the parent resource. If no location is provided in the parent identifier and no // location is specified, it is taken from the provider configuration. Location pulumi.StringPtrInput // The policy data generated by // a `organizations.getIAMPolicy` data source. PolicyData pulumi.StringInput // The ID of the project in which the resource belongs. // If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used. Project pulumi.StringPtrInput WorkstationClusterId pulumi.StringInput WorkstationConfigId pulumi.StringInput WorkstationId pulumi.StringInput }
The set of arguments for constructing a WorkstationIamPolicy resource.
func (WorkstationIamPolicyArgs) ElementType ¶
func (WorkstationIamPolicyArgs) ElementType() reflect.Type
type WorkstationIamPolicyArray ¶
type WorkstationIamPolicyArray []WorkstationIamPolicyInput
func (WorkstationIamPolicyArray) ElementType ¶
func (WorkstationIamPolicyArray) ElementType() reflect.Type
func (WorkstationIamPolicyArray) ToWorkstationIamPolicyArrayOutput ¶
func (i WorkstationIamPolicyArray) ToWorkstationIamPolicyArrayOutput() WorkstationIamPolicyArrayOutput
func (WorkstationIamPolicyArray) ToWorkstationIamPolicyArrayOutputWithContext ¶
func (i WorkstationIamPolicyArray) ToWorkstationIamPolicyArrayOutputWithContext(ctx context.Context) WorkstationIamPolicyArrayOutput
type WorkstationIamPolicyArrayInput ¶
type WorkstationIamPolicyArrayInput interface { pulumi.Input ToWorkstationIamPolicyArrayOutput() WorkstationIamPolicyArrayOutput ToWorkstationIamPolicyArrayOutputWithContext(context.Context) WorkstationIamPolicyArrayOutput }
WorkstationIamPolicyArrayInput is an input type that accepts WorkstationIamPolicyArray and WorkstationIamPolicyArrayOutput values. You can construct a concrete instance of `WorkstationIamPolicyArrayInput` via:
WorkstationIamPolicyArray{ WorkstationIamPolicyArgs{...} }
type WorkstationIamPolicyArrayOutput ¶
type WorkstationIamPolicyArrayOutput struct{ *pulumi.OutputState }
func (WorkstationIamPolicyArrayOutput) ElementType ¶
func (WorkstationIamPolicyArrayOutput) ElementType() reflect.Type
func (WorkstationIamPolicyArrayOutput) Index ¶
func (o WorkstationIamPolicyArrayOutput) Index(i pulumi.IntInput) WorkstationIamPolicyOutput
func (WorkstationIamPolicyArrayOutput) ToWorkstationIamPolicyArrayOutput ¶
func (o WorkstationIamPolicyArrayOutput) ToWorkstationIamPolicyArrayOutput() WorkstationIamPolicyArrayOutput
func (WorkstationIamPolicyArrayOutput) ToWorkstationIamPolicyArrayOutputWithContext ¶
func (o WorkstationIamPolicyArrayOutput) ToWorkstationIamPolicyArrayOutputWithContext(ctx context.Context) WorkstationIamPolicyArrayOutput
type WorkstationIamPolicyInput ¶
type WorkstationIamPolicyInput interface { pulumi.Input ToWorkstationIamPolicyOutput() WorkstationIamPolicyOutput ToWorkstationIamPolicyOutputWithContext(ctx context.Context) WorkstationIamPolicyOutput }
type WorkstationIamPolicyMap ¶
type WorkstationIamPolicyMap map[string]WorkstationIamPolicyInput
func (WorkstationIamPolicyMap) ElementType ¶
func (WorkstationIamPolicyMap) ElementType() reflect.Type
func (WorkstationIamPolicyMap) ToWorkstationIamPolicyMapOutput ¶
func (i WorkstationIamPolicyMap) ToWorkstationIamPolicyMapOutput() WorkstationIamPolicyMapOutput
func (WorkstationIamPolicyMap) ToWorkstationIamPolicyMapOutputWithContext ¶
func (i WorkstationIamPolicyMap) ToWorkstationIamPolicyMapOutputWithContext(ctx context.Context) WorkstationIamPolicyMapOutput
type WorkstationIamPolicyMapInput ¶
type WorkstationIamPolicyMapInput interface { pulumi.Input ToWorkstationIamPolicyMapOutput() WorkstationIamPolicyMapOutput ToWorkstationIamPolicyMapOutputWithContext(context.Context) WorkstationIamPolicyMapOutput }
WorkstationIamPolicyMapInput is an input type that accepts WorkstationIamPolicyMap and WorkstationIamPolicyMapOutput values. You can construct a concrete instance of `WorkstationIamPolicyMapInput` via:
WorkstationIamPolicyMap{ "key": WorkstationIamPolicyArgs{...} }
type WorkstationIamPolicyMapOutput ¶
type WorkstationIamPolicyMapOutput struct{ *pulumi.OutputState }
func (WorkstationIamPolicyMapOutput) ElementType ¶
func (WorkstationIamPolicyMapOutput) ElementType() reflect.Type
func (WorkstationIamPolicyMapOutput) MapIndex ¶
func (o WorkstationIamPolicyMapOutput) MapIndex(k pulumi.StringInput) WorkstationIamPolicyOutput
func (WorkstationIamPolicyMapOutput) ToWorkstationIamPolicyMapOutput ¶
func (o WorkstationIamPolicyMapOutput) ToWorkstationIamPolicyMapOutput() WorkstationIamPolicyMapOutput
func (WorkstationIamPolicyMapOutput) ToWorkstationIamPolicyMapOutputWithContext ¶
func (o WorkstationIamPolicyMapOutput) ToWorkstationIamPolicyMapOutputWithContext(ctx context.Context) WorkstationIamPolicyMapOutput
type WorkstationIamPolicyOutput ¶
type WorkstationIamPolicyOutput struct{ *pulumi.OutputState }
func (WorkstationIamPolicyOutput) ElementType ¶
func (WorkstationIamPolicyOutput) ElementType() reflect.Type
func (WorkstationIamPolicyOutput) Etag ¶
func (o WorkstationIamPolicyOutput) Etag() pulumi.StringOutput
(Computed) The etag of the IAM policy.
func (WorkstationIamPolicyOutput) Location ¶
func (o WorkstationIamPolicyOutput) Location() pulumi.StringOutput
The location where the workstation parent resources reside. Used to find the parent resource to bind the IAM policy to. If not specified, the value will be parsed from the identifier of the parent resource. If no location is provided in the parent identifier and no location is specified, it is taken from the provider configuration.
func (WorkstationIamPolicyOutput) PolicyData ¶
func (o WorkstationIamPolicyOutput) PolicyData() pulumi.StringOutput
The policy data generated by a `organizations.getIAMPolicy` data source.
func (WorkstationIamPolicyOutput) Project ¶
func (o WorkstationIamPolicyOutput) Project() pulumi.StringOutput
The ID of the project in which the resource belongs. If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
func (WorkstationIamPolicyOutput) ToWorkstationIamPolicyOutput ¶
func (o WorkstationIamPolicyOutput) ToWorkstationIamPolicyOutput() WorkstationIamPolicyOutput
func (WorkstationIamPolicyOutput) ToWorkstationIamPolicyOutputWithContext ¶
func (o WorkstationIamPolicyOutput) ToWorkstationIamPolicyOutputWithContext(ctx context.Context) WorkstationIamPolicyOutput
func (WorkstationIamPolicyOutput) WorkstationClusterId ¶
func (o WorkstationIamPolicyOutput) WorkstationClusterId() pulumi.StringOutput
func (WorkstationIamPolicyOutput) WorkstationConfigId ¶
func (o WorkstationIamPolicyOutput) WorkstationConfigId() pulumi.StringOutput
func (WorkstationIamPolicyOutput) WorkstationId ¶
func (o WorkstationIamPolicyOutput) WorkstationId() pulumi.StringOutput
type WorkstationIamPolicyState ¶
type WorkstationIamPolicyState struct { // (Computed) The etag of the IAM policy. Etag pulumi.StringPtrInput // The location where the workstation parent resources reside. // Used to find the parent resource to bind the IAM policy to. If not specified, // the value will be parsed from the identifier of the parent resource. If no location is provided in the parent identifier and no // location is specified, it is taken from the provider configuration. Location pulumi.StringPtrInput // The policy data generated by // a `organizations.getIAMPolicy` data source. PolicyData pulumi.StringPtrInput // The ID of the project in which the resource belongs. // If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used. Project pulumi.StringPtrInput WorkstationClusterId pulumi.StringPtrInput WorkstationConfigId pulumi.StringPtrInput WorkstationId pulumi.StringPtrInput }
func (WorkstationIamPolicyState) ElementType ¶
func (WorkstationIamPolicyState) ElementType() reflect.Type
type WorkstationInput ¶
type WorkstationInput interface { pulumi.Input ToWorkstationOutput() WorkstationOutput ToWorkstationOutputWithContext(ctx context.Context) WorkstationOutput }
type WorkstationMap ¶
type WorkstationMap map[string]WorkstationInput
func (WorkstationMap) ElementType ¶
func (WorkstationMap) ElementType() reflect.Type
func (WorkstationMap) ToWorkstationMapOutput ¶
func (i WorkstationMap) ToWorkstationMapOutput() WorkstationMapOutput
func (WorkstationMap) ToWorkstationMapOutputWithContext ¶
func (i WorkstationMap) ToWorkstationMapOutputWithContext(ctx context.Context) WorkstationMapOutput
type WorkstationMapInput ¶
type WorkstationMapInput interface { pulumi.Input ToWorkstationMapOutput() WorkstationMapOutput ToWorkstationMapOutputWithContext(context.Context) WorkstationMapOutput }
WorkstationMapInput is an input type that accepts WorkstationMap and WorkstationMapOutput values. You can construct a concrete instance of `WorkstationMapInput` via:
WorkstationMap{ "key": WorkstationArgs{...} }
type WorkstationMapOutput ¶
type WorkstationMapOutput struct{ *pulumi.OutputState }
func (WorkstationMapOutput) ElementType ¶
func (WorkstationMapOutput) ElementType() reflect.Type
func (WorkstationMapOutput) MapIndex ¶
func (o WorkstationMapOutput) MapIndex(k pulumi.StringInput) WorkstationOutput
func (WorkstationMapOutput) ToWorkstationMapOutput ¶
func (o WorkstationMapOutput) ToWorkstationMapOutput() WorkstationMapOutput
func (WorkstationMapOutput) ToWorkstationMapOutputWithContext ¶
func (o WorkstationMapOutput) ToWorkstationMapOutputWithContext(ctx context.Context) WorkstationMapOutput
type WorkstationOutput ¶
type WorkstationOutput struct{ *pulumi.OutputState }
func (WorkstationOutput) Annotations ¶
func (o WorkstationOutput) Annotations() pulumi.StringMapOutput
Client-specified annotations. This is distinct from labels. **Note**: This field is non-authoritative, and will only manage the annotations present in your configuration. Please refer to the field `effectiveAnnotations` for all of the annotations present on the resource.
func (WorkstationOutput) CreateTime ¶
func (o WorkstationOutput) CreateTime() pulumi.StringOutput
Time when this resource was created.
func (WorkstationOutput) DisplayName ¶
func (o WorkstationOutput) DisplayName() pulumi.StringPtrOutput
Human-readable name for this resource.
func (WorkstationOutput) EffectiveAnnotations ¶
func (o WorkstationOutput) EffectiveAnnotations() pulumi.StringMapOutput
func (WorkstationOutput) EffectiveLabels ¶
func (o WorkstationOutput) EffectiveLabels() pulumi.StringMapOutput
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
func (WorkstationOutput) ElementType ¶
func (WorkstationOutput) ElementType() reflect.Type
func (WorkstationOutput) Env ¶
func (o WorkstationOutput) Env() pulumi.StringMapOutput
'Client-specified environment variables passed to the workstation container's entrypoint.'
func (WorkstationOutput) Host ¶
func (o WorkstationOutput) Host() pulumi.StringOutput
Host to which clients can send HTTPS traffic that will be received by the workstation. Authorized traffic will be received to the workstation as HTTP on port 80. To send traffic to a different port, clients may prefix the host with the destination port in the format "{port}-{host}".
func (WorkstationOutput) Labels ¶
func (o WorkstationOutput) Labels() pulumi.StringMapOutput
Client-specified labels that are applied to the resource and that are also propagated to the underlying Compute Engine resources. **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field `effectiveLabels` for all of the labels present on the resource.
func (WorkstationOutput) Location ¶
func (o WorkstationOutput) Location() pulumi.StringOutput
The location where the workstation parent resources reside.
***
func (WorkstationOutput) Name ¶
func (o WorkstationOutput) Name() pulumi.StringOutput
Full name of this resource.
func (WorkstationOutput) Project ¶
func (o WorkstationOutput) Project() pulumi.StringOutput
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
func (WorkstationOutput) PulumiLabels ¶
func (o WorkstationOutput) PulumiLabels() pulumi.StringMapOutput
The combination of labels configured directly on the resource and default labels configured on the provider.
func (WorkstationOutput) State ¶
func (o WorkstationOutput) State() pulumi.StringOutput
Current state of the workstation.
func (WorkstationOutput) ToWorkstationOutput ¶
func (o WorkstationOutput) ToWorkstationOutput() WorkstationOutput
func (WorkstationOutput) ToWorkstationOutputWithContext ¶
func (o WorkstationOutput) ToWorkstationOutputWithContext(ctx context.Context) WorkstationOutput
func (WorkstationOutput) Uid ¶
func (o WorkstationOutput) Uid() pulumi.StringOutput
A system-assigned unique identified for this resource.
func (WorkstationOutput) WorkstationClusterId ¶
func (o WorkstationOutput) WorkstationClusterId() pulumi.StringOutput
The ID of the parent workstation cluster.
func (WorkstationOutput) WorkstationConfigId ¶
func (o WorkstationOutput) WorkstationConfigId() pulumi.StringOutput
The ID of the parent workstation cluster config.
func (WorkstationOutput) WorkstationId ¶
func (o WorkstationOutput) WorkstationId() pulumi.StringOutput
ID to use for the workstation.
type WorkstationState ¶
type WorkstationState struct { // Client-specified annotations. This is distinct from labels. // **Note**: This field is non-authoritative, and will only manage the annotations present in your configuration. // Please refer to the field `effectiveAnnotations` for all of the annotations present on the resource. Annotations pulumi.StringMapInput // Time when this resource was created. CreateTime pulumi.StringPtrInput // Human-readable name for this resource. DisplayName pulumi.StringPtrInput EffectiveAnnotations pulumi.StringMapInput // All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services. EffectiveLabels pulumi.StringMapInput // 'Client-specified environment variables passed to the workstation container's entrypoint.' Env pulumi.StringMapInput // Host to which clients can send HTTPS traffic that will be received by the workstation. // Authorized traffic will be received to the workstation as HTTP on port 80. // To send traffic to a different port, clients may prefix the host with the destination port in the format "{port}-{host}". Host pulumi.StringPtrInput // Client-specified labels that are applied to the resource and that are also propagated to the underlying Compute Engine resources. // **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. // Please refer to the field `effectiveLabels` for all of the labels present on the resource. Labels pulumi.StringMapInput // The location where the workstation parent resources reside. // // *** Location pulumi.StringPtrInput // Full name of this resource. Name pulumi.StringPtrInput // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project pulumi.StringPtrInput // The combination of labels configured directly on the resource // and default labels configured on the provider. PulumiLabels pulumi.StringMapInput // Current state of the workstation. State pulumi.StringPtrInput // A system-assigned unique identified for this resource. Uid pulumi.StringPtrInput // The ID of the parent workstation cluster. WorkstationClusterId pulumi.StringPtrInput // The ID of the parent workstation cluster config. WorkstationConfigId pulumi.StringPtrInput // ID to use for the workstation. WorkstationId pulumi.StringPtrInput }
func (WorkstationState) ElementType ¶
func (WorkstationState) ElementType() reflect.Type
Source Files ¶
- getWorkstationConfigIamPolicy.go
- getWorkstationIamPolicy.go
- init.go
- pulumiTypes.go
- workstation.go
- workstationCluster.go
- workstationConfig.go
- workstationConfigIamBinding.go
- workstationConfigIamMember.go
- workstationConfigIamPolicy.go
- workstationIamBinding.go
- workstationIamMember.go
- workstationIamPolicy.go