Documentation ¶
Index ¶
- type Environment
- type EnvironmentArgs
- type EnvironmentArray
- type EnvironmentArrayInput
- type EnvironmentArrayOutput
- func (EnvironmentArrayOutput) ElementType() reflect.Type
- func (o EnvironmentArrayOutput) Index(i pulumi.IntInput) EnvironmentOutput
- func (o EnvironmentArrayOutput) ToEnvironmentArrayOutput() EnvironmentArrayOutput
- func (o EnvironmentArrayOutput) ToEnvironmentArrayOutputWithContext(ctx context.Context) EnvironmentArrayOutput
- type EnvironmentContainerImage
- type EnvironmentContainerImageArgs
- func (EnvironmentContainerImageArgs) ElementType() reflect.Type
- func (i EnvironmentContainerImageArgs) ToEnvironmentContainerImageOutput() EnvironmentContainerImageOutput
- func (i EnvironmentContainerImageArgs) ToEnvironmentContainerImageOutputWithContext(ctx context.Context) EnvironmentContainerImageOutput
- func (i EnvironmentContainerImageArgs) ToEnvironmentContainerImagePtrOutput() EnvironmentContainerImagePtrOutput
- func (i EnvironmentContainerImageArgs) ToEnvironmentContainerImagePtrOutputWithContext(ctx context.Context) EnvironmentContainerImagePtrOutput
- type EnvironmentContainerImageInput
- type EnvironmentContainerImageOutput
- func (EnvironmentContainerImageOutput) ElementType() reflect.Type
- func (o EnvironmentContainerImageOutput) Repository() pulumi.StringOutput
- func (o EnvironmentContainerImageOutput) Tag() pulumi.StringPtrOutput
- func (o EnvironmentContainerImageOutput) ToEnvironmentContainerImageOutput() EnvironmentContainerImageOutput
- func (o EnvironmentContainerImageOutput) ToEnvironmentContainerImageOutputWithContext(ctx context.Context) EnvironmentContainerImageOutput
- func (o EnvironmentContainerImageOutput) ToEnvironmentContainerImagePtrOutput() EnvironmentContainerImagePtrOutput
- func (o EnvironmentContainerImageOutput) ToEnvironmentContainerImagePtrOutputWithContext(ctx context.Context) EnvironmentContainerImagePtrOutput
- type EnvironmentContainerImagePtrInput
- type EnvironmentContainerImagePtrOutput
- func (o EnvironmentContainerImagePtrOutput) Elem() EnvironmentContainerImageOutput
- func (EnvironmentContainerImagePtrOutput) ElementType() reflect.Type
- func (o EnvironmentContainerImagePtrOutput) Repository() pulumi.StringPtrOutput
- func (o EnvironmentContainerImagePtrOutput) Tag() pulumi.StringPtrOutput
- func (o EnvironmentContainerImagePtrOutput) ToEnvironmentContainerImagePtrOutput() EnvironmentContainerImagePtrOutput
- func (o EnvironmentContainerImagePtrOutput) ToEnvironmentContainerImagePtrOutputWithContext(ctx context.Context) EnvironmentContainerImagePtrOutput
- type EnvironmentInput
- type EnvironmentMap
- type EnvironmentMapInput
- type EnvironmentMapOutput
- func (EnvironmentMapOutput) ElementType() reflect.Type
- func (o EnvironmentMapOutput) MapIndex(k pulumi.StringInput) EnvironmentOutput
- func (o EnvironmentMapOutput) ToEnvironmentMapOutput() EnvironmentMapOutput
- func (o EnvironmentMapOutput) ToEnvironmentMapOutputWithContext(ctx context.Context) EnvironmentMapOutput
- type EnvironmentOutput
- func (o EnvironmentOutput) ContainerImage() EnvironmentContainerImagePtrOutput
- func (o EnvironmentOutput) CreateTime() pulumi.StringOutput
- func (o EnvironmentOutput) Description() pulumi.StringPtrOutput
- func (o EnvironmentOutput) DisplayName() pulumi.StringPtrOutput
- func (EnvironmentOutput) ElementType() reflect.Type
- func (o EnvironmentOutput) Location() pulumi.StringOutput
- func (o EnvironmentOutput) Name() pulumi.StringOutput
- func (o EnvironmentOutput) PostStartupScript() pulumi.StringPtrOutput
- func (o EnvironmentOutput) Project() pulumi.StringOutput
- func (o EnvironmentOutput) ToEnvironmentOutput() EnvironmentOutput
- func (o EnvironmentOutput) ToEnvironmentOutputWithContext(ctx context.Context) EnvironmentOutput
- func (o EnvironmentOutput) VmImage() EnvironmentVmImagePtrOutput
- type EnvironmentState
- type EnvironmentVmImage
- type EnvironmentVmImageArgs
- func (EnvironmentVmImageArgs) ElementType() reflect.Type
- func (i EnvironmentVmImageArgs) ToEnvironmentVmImageOutput() EnvironmentVmImageOutput
- func (i EnvironmentVmImageArgs) ToEnvironmentVmImageOutputWithContext(ctx context.Context) EnvironmentVmImageOutput
- func (i EnvironmentVmImageArgs) ToEnvironmentVmImagePtrOutput() EnvironmentVmImagePtrOutput
- func (i EnvironmentVmImageArgs) ToEnvironmentVmImagePtrOutputWithContext(ctx context.Context) EnvironmentVmImagePtrOutput
- type EnvironmentVmImageInput
- type EnvironmentVmImageOutput
- func (EnvironmentVmImageOutput) ElementType() reflect.Type
- func (o EnvironmentVmImageOutput) ImageFamily() pulumi.StringPtrOutput
- func (o EnvironmentVmImageOutput) ImageName() pulumi.StringPtrOutput
- func (o EnvironmentVmImageOutput) Project() pulumi.StringOutput
- func (o EnvironmentVmImageOutput) ToEnvironmentVmImageOutput() EnvironmentVmImageOutput
- func (o EnvironmentVmImageOutput) ToEnvironmentVmImageOutputWithContext(ctx context.Context) EnvironmentVmImageOutput
- func (o EnvironmentVmImageOutput) ToEnvironmentVmImagePtrOutput() EnvironmentVmImagePtrOutput
- func (o EnvironmentVmImageOutput) ToEnvironmentVmImagePtrOutputWithContext(ctx context.Context) EnvironmentVmImagePtrOutput
- type EnvironmentVmImagePtrInput
- type EnvironmentVmImagePtrOutput
- func (o EnvironmentVmImagePtrOutput) Elem() EnvironmentVmImageOutput
- func (EnvironmentVmImagePtrOutput) ElementType() reflect.Type
- func (o EnvironmentVmImagePtrOutput) ImageFamily() pulumi.StringPtrOutput
- func (o EnvironmentVmImagePtrOutput) ImageName() pulumi.StringPtrOutput
- func (o EnvironmentVmImagePtrOutput) Project() pulumi.StringPtrOutput
- func (o EnvironmentVmImagePtrOutput) ToEnvironmentVmImagePtrOutput() EnvironmentVmImagePtrOutput
- func (o EnvironmentVmImagePtrOutput) ToEnvironmentVmImagePtrOutputWithContext(ctx context.Context) EnvironmentVmImagePtrOutput
- type Instance
- type InstanceAcceleratorConfig
- type InstanceAcceleratorConfigArgs
- func (InstanceAcceleratorConfigArgs) ElementType() reflect.Type
- func (i InstanceAcceleratorConfigArgs) ToInstanceAcceleratorConfigOutput() InstanceAcceleratorConfigOutput
- func (i InstanceAcceleratorConfigArgs) ToInstanceAcceleratorConfigOutputWithContext(ctx context.Context) InstanceAcceleratorConfigOutput
- func (i InstanceAcceleratorConfigArgs) ToInstanceAcceleratorConfigPtrOutput() InstanceAcceleratorConfigPtrOutput
- func (i InstanceAcceleratorConfigArgs) ToInstanceAcceleratorConfigPtrOutputWithContext(ctx context.Context) InstanceAcceleratorConfigPtrOutput
- type InstanceAcceleratorConfigInput
- type InstanceAcceleratorConfigOutput
- func (o InstanceAcceleratorConfigOutput) CoreCount() pulumi.IntOutput
- func (InstanceAcceleratorConfigOutput) ElementType() reflect.Type
- func (o InstanceAcceleratorConfigOutput) ToInstanceAcceleratorConfigOutput() InstanceAcceleratorConfigOutput
- func (o InstanceAcceleratorConfigOutput) ToInstanceAcceleratorConfigOutputWithContext(ctx context.Context) InstanceAcceleratorConfigOutput
- func (o InstanceAcceleratorConfigOutput) ToInstanceAcceleratorConfigPtrOutput() InstanceAcceleratorConfigPtrOutput
- func (o InstanceAcceleratorConfigOutput) ToInstanceAcceleratorConfigPtrOutputWithContext(ctx context.Context) InstanceAcceleratorConfigPtrOutput
- func (o InstanceAcceleratorConfigOutput) Type() pulumi.StringOutput
- type InstanceAcceleratorConfigPtrInput
- type InstanceAcceleratorConfigPtrOutput
- func (o InstanceAcceleratorConfigPtrOutput) CoreCount() pulumi.IntPtrOutput
- func (o InstanceAcceleratorConfigPtrOutput) Elem() InstanceAcceleratorConfigOutput
- func (InstanceAcceleratorConfigPtrOutput) ElementType() reflect.Type
- func (o InstanceAcceleratorConfigPtrOutput) ToInstanceAcceleratorConfigPtrOutput() InstanceAcceleratorConfigPtrOutput
- func (o InstanceAcceleratorConfigPtrOutput) ToInstanceAcceleratorConfigPtrOutputWithContext(ctx context.Context) InstanceAcceleratorConfigPtrOutput
- func (o InstanceAcceleratorConfigPtrOutput) Type() pulumi.StringPtrOutput
- type InstanceArgs
- type InstanceArray
- type InstanceArrayInput
- type InstanceArrayOutput
- type InstanceContainerImage
- type InstanceContainerImageArgs
- func (InstanceContainerImageArgs) ElementType() reflect.Type
- func (i InstanceContainerImageArgs) ToInstanceContainerImageOutput() InstanceContainerImageOutput
- func (i InstanceContainerImageArgs) ToInstanceContainerImageOutputWithContext(ctx context.Context) InstanceContainerImageOutput
- func (i InstanceContainerImageArgs) ToInstanceContainerImagePtrOutput() InstanceContainerImagePtrOutput
- func (i InstanceContainerImageArgs) ToInstanceContainerImagePtrOutputWithContext(ctx context.Context) InstanceContainerImagePtrOutput
- type InstanceContainerImageInput
- type InstanceContainerImageOutput
- func (InstanceContainerImageOutput) ElementType() reflect.Type
- func (o InstanceContainerImageOutput) Repository() pulumi.StringOutput
- func (o InstanceContainerImageOutput) Tag() pulumi.StringPtrOutput
- func (o InstanceContainerImageOutput) ToInstanceContainerImageOutput() InstanceContainerImageOutput
- func (o InstanceContainerImageOutput) ToInstanceContainerImageOutputWithContext(ctx context.Context) InstanceContainerImageOutput
- func (o InstanceContainerImageOutput) ToInstanceContainerImagePtrOutput() InstanceContainerImagePtrOutput
- func (o InstanceContainerImageOutput) ToInstanceContainerImagePtrOutputWithContext(ctx context.Context) InstanceContainerImagePtrOutput
- type InstanceContainerImagePtrInput
- type InstanceContainerImagePtrOutput
- func (o InstanceContainerImagePtrOutput) Elem() InstanceContainerImageOutput
- func (InstanceContainerImagePtrOutput) ElementType() reflect.Type
- func (o InstanceContainerImagePtrOutput) Repository() pulumi.StringPtrOutput
- func (o InstanceContainerImagePtrOutput) Tag() pulumi.StringPtrOutput
- func (o InstanceContainerImagePtrOutput) ToInstanceContainerImagePtrOutput() InstanceContainerImagePtrOutput
- func (o InstanceContainerImagePtrOutput) ToInstanceContainerImagePtrOutputWithContext(ctx context.Context) InstanceContainerImagePtrOutput
- type InstanceIamBinding
- type InstanceIamBindingArgs
- type InstanceIamBindingArray
- type InstanceIamBindingArrayInput
- type InstanceIamBindingArrayOutput
- func (InstanceIamBindingArrayOutput) ElementType() reflect.Type
- func (o InstanceIamBindingArrayOutput) Index(i pulumi.IntInput) InstanceIamBindingOutput
- func (o InstanceIamBindingArrayOutput) ToInstanceIamBindingArrayOutput() InstanceIamBindingArrayOutput
- func (o InstanceIamBindingArrayOutput) ToInstanceIamBindingArrayOutputWithContext(ctx context.Context) InstanceIamBindingArrayOutput
- type InstanceIamBindingCondition
- type InstanceIamBindingConditionArgs
- func (InstanceIamBindingConditionArgs) ElementType() reflect.Type
- func (i InstanceIamBindingConditionArgs) ToInstanceIamBindingConditionOutput() InstanceIamBindingConditionOutput
- func (i InstanceIamBindingConditionArgs) ToInstanceIamBindingConditionOutputWithContext(ctx context.Context) InstanceIamBindingConditionOutput
- func (i InstanceIamBindingConditionArgs) ToInstanceIamBindingConditionPtrOutput() InstanceIamBindingConditionPtrOutput
- func (i InstanceIamBindingConditionArgs) ToInstanceIamBindingConditionPtrOutputWithContext(ctx context.Context) InstanceIamBindingConditionPtrOutput
- type InstanceIamBindingConditionInput
- type InstanceIamBindingConditionOutput
- func (o InstanceIamBindingConditionOutput) Description() pulumi.StringPtrOutput
- func (InstanceIamBindingConditionOutput) ElementType() reflect.Type
- func (o InstanceIamBindingConditionOutput) Expression() pulumi.StringOutput
- func (o InstanceIamBindingConditionOutput) Title() pulumi.StringOutput
- func (o InstanceIamBindingConditionOutput) ToInstanceIamBindingConditionOutput() InstanceIamBindingConditionOutput
- func (o InstanceIamBindingConditionOutput) ToInstanceIamBindingConditionOutputWithContext(ctx context.Context) InstanceIamBindingConditionOutput
- func (o InstanceIamBindingConditionOutput) ToInstanceIamBindingConditionPtrOutput() InstanceIamBindingConditionPtrOutput
- func (o InstanceIamBindingConditionOutput) ToInstanceIamBindingConditionPtrOutputWithContext(ctx context.Context) InstanceIamBindingConditionPtrOutput
- type InstanceIamBindingConditionPtrInput
- type InstanceIamBindingConditionPtrOutput
- func (o InstanceIamBindingConditionPtrOutput) Description() pulumi.StringPtrOutput
- func (o InstanceIamBindingConditionPtrOutput) Elem() InstanceIamBindingConditionOutput
- func (InstanceIamBindingConditionPtrOutput) ElementType() reflect.Type
- func (o InstanceIamBindingConditionPtrOutput) Expression() pulumi.StringPtrOutput
- func (o InstanceIamBindingConditionPtrOutput) Title() pulumi.StringPtrOutput
- func (o InstanceIamBindingConditionPtrOutput) ToInstanceIamBindingConditionPtrOutput() InstanceIamBindingConditionPtrOutput
- func (o InstanceIamBindingConditionPtrOutput) ToInstanceIamBindingConditionPtrOutputWithContext(ctx context.Context) InstanceIamBindingConditionPtrOutput
- type InstanceIamBindingInput
- type InstanceIamBindingMap
- type InstanceIamBindingMapInput
- type InstanceIamBindingMapOutput
- func (InstanceIamBindingMapOutput) ElementType() reflect.Type
- func (o InstanceIamBindingMapOutput) MapIndex(k pulumi.StringInput) InstanceIamBindingOutput
- func (o InstanceIamBindingMapOutput) ToInstanceIamBindingMapOutput() InstanceIamBindingMapOutput
- func (o InstanceIamBindingMapOutput) ToInstanceIamBindingMapOutputWithContext(ctx context.Context) InstanceIamBindingMapOutput
- type InstanceIamBindingOutput
- func (o InstanceIamBindingOutput) Condition() InstanceIamBindingConditionPtrOutput
- func (InstanceIamBindingOutput) ElementType() reflect.Type
- func (o InstanceIamBindingOutput) Etag() pulumi.StringOutput
- func (o InstanceIamBindingOutput) InstanceName() pulumi.StringOutput
- func (o InstanceIamBindingOutput) Location() pulumi.StringOutput
- func (o InstanceIamBindingOutput) Members() pulumi.StringArrayOutput
- func (o InstanceIamBindingOutput) Project() pulumi.StringOutput
- func (o InstanceIamBindingOutput) Role() pulumi.StringOutput
- func (o InstanceIamBindingOutput) ToInstanceIamBindingOutput() InstanceIamBindingOutput
- func (o InstanceIamBindingOutput) ToInstanceIamBindingOutputWithContext(ctx context.Context) InstanceIamBindingOutput
- type InstanceIamBindingState
- type InstanceIamMember
- type InstanceIamMemberArgs
- type InstanceIamMemberArray
- type InstanceIamMemberArrayInput
- type InstanceIamMemberArrayOutput
- func (InstanceIamMemberArrayOutput) ElementType() reflect.Type
- func (o InstanceIamMemberArrayOutput) Index(i pulumi.IntInput) InstanceIamMemberOutput
- func (o InstanceIamMemberArrayOutput) ToInstanceIamMemberArrayOutput() InstanceIamMemberArrayOutput
- func (o InstanceIamMemberArrayOutput) ToInstanceIamMemberArrayOutputWithContext(ctx context.Context) InstanceIamMemberArrayOutput
- type InstanceIamMemberCondition
- type InstanceIamMemberConditionArgs
- func (InstanceIamMemberConditionArgs) ElementType() reflect.Type
- func (i InstanceIamMemberConditionArgs) ToInstanceIamMemberConditionOutput() InstanceIamMemberConditionOutput
- func (i InstanceIamMemberConditionArgs) ToInstanceIamMemberConditionOutputWithContext(ctx context.Context) InstanceIamMemberConditionOutput
- func (i InstanceIamMemberConditionArgs) ToInstanceIamMemberConditionPtrOutput() InstanceIamMemberConditionPtrOutput
- func (i InstanceIamMemberConditionArgs) ToInstanceIamMemberConditionPtrOutputWithContext(ctx context.Context) InstanceIamMemberConditionPtrOutput
- type InstanceIamMemberConditionInput
- type InstanceIamMemberConditionOutput
- func (o InstanceIamMemberConditionOutput) Description() pulumi.StringPtrOutput
- func (InstanceIamMemberConditionOutput) ElementType() reflect.Type
- func (o InstanceIamMemberConditionOutput) Expression() pulumi.StringOutput
- func (o InstanceIamMemberConditionOutput) Title() pulumi.StringOutput
- func (o InstanceIamMemberConditionOutput) ToInstanceIamMemberConditionOutput() InstanceIamMemberConditionOutput
- func (o InstanceIamMemberConditionOutput) ToInstanceIamMemberConditionOutputWithContext(ctx context.Context) InstanceIamMemberConditionOutput
- func (o InstanceIamMemberConditionOutput) ToInstanceIamMemberConditionPtrOutput() InstanceIamMemberConditionPtrOutput
- func (o InstanceIamMemberConditionOutput) ToInstanceIamMemberConditionPtrOutputWithContext(ctx context.Context) InstanceIamMemberConditionPtrOutput
- type InstanceIamMemberConditionPtrInput
- type InstanceIamMemberConditionPtrOutput
- func (o InstanceIamMemberConditionPtrOutput) Description() pulumi.StringPtrOutput
- func (o InstanceIamMemberConditionPtrOutput) Elem() InstanceIamMemberConditionOutput
- func (InstanceIamMemberConditionPtrOutput) ElementType() reflect.Type
- func (o InstanceIamMemberConditionPtrOutput) Expression() pulumi.StringPtrOutput
- func (o InstanceIamMemberConditionPtrOutput) Title() pulumi.StringPtrOutput
- func (o InstanceIamMemberConditionPtrOutput) ToInstanceIamMemberConditionPtrOutput() InstanceIamMemberConditionPtrOutput
- func (o InstanceIamMemberConditionPtrOutput) ToInstanceIamMemberConditionPtrOutputWithContext(ctx context.Context) InstanceIamMemberConditionPtrOutput
- type InstanceIamMemberInput
- type InstanceIamMemberMap
- type InstanceIamMemberMapInput
- type InstanceIamMemberMapOutput
- func (InstanceIamMemberMapOutput) ElementType() reflect.Type
- func (o InstanceIamMemberMapOutput) MapIndex(k pulumi.StringInput) InstanceIamMemberOutput
- func (o InstanceIamMemberMapOutput) ToInstanceIamMemberMapOutput() InstanceIamMemberMapOutput
- func (o InstanceIamMemberMapOutput) ToInstanceIamMemberMapOutputWithContext(ctx context.Context) InstanceIamMemberMapOutput
- type InstanceIamMemberOutput
- func (o InstanceIamMemberOutput) Condition() InstanceIamMemberConditionPtrOutput
- func (InstanceIamMemberOutput) ElementType() reflect.Type
- func (o InstanceIamMemberOutput) Etag() pulumi.StringOutput
- func (o InstanceIamMemberOutput) InstanceName() pulumi.StringOutput
- func (o InstanceIamMemberOutput) Location() pulumi.StringOutput
- func (o InstanceIamMemberOutput) Member() pulumi.StringOutput
- func (o InstanceIamMemberOutput) Project() pulumi.StringOutput
- func (o InstanceIamMemberOutput) Role() pulumi.StringOutput
- func (o InstanceIamMemberOutput) ToInstanceIamMemberOutput() InstanceIamMemberOutput
- func (o InstanceIamMemberOutput) ToInstanceIamMemberOutputWithContext(ctx context.Context) InstanceIamMemberOutput
- type InstanceIamMemberState
- type InstanceIamPolicy
- type InstanceIamPolicyArgs
- type InstanceIamPolicyArray
- type InstanceIamPolicyArrayInput
- type InstanceIamPolicyArrayOutput
- func (InstanceIamPolicyArrayOutput) ElementType() reflect.Type
- func (o InstanceIamPolicyArrayOutput) Index(i pulumi.IntInput) InstanceIamPolicyOutput
- func (o InstanceIamPolicyArrayOutput) ToInstanceIamPolicyArrayOutput() InstanceIamPolicyArrayOutput
- func (o InstanceIamPolicyArrayOutput) ToInstanceIamPolicyArrayOutputWithContext(ctx context.Context) InstanceIamPolicyArrayOutput
- type InstanceIamPolicyInput
- type InstanceIamPolicyMap
- type InstanceIamPolicyMapInput
- type InstanceIamPolicyMapOutput
- func (InstanceIamPolicyMapOutput) ElementType() reflect.Type
- func (o InstanceIamPolicyMapOutput) MapIndex(k pulumi.StringInput) InstanceIamPolicyOutput
- func (o InstanceIamPolicyMapOutput) ToInstanceIamPolicyMapOutput() InstanceIamPolicyMapOutput
- func (o InstanceIamPolicyMapOutput) ToInstanceIamPolicyMapOutputWithContext(ctx context.Context) InstanceIamPolicyMapOutput
- type InstanceIamPolicyOutput
- func (InstanceIamPolicyOutput) ElementType() reflect.Type
- func (o InstanceIamPolicyOutput) Etag() pulumi.StringOutput
- func (o InstanceIamPolicyOutput) InstanceName() pulumi.StringOutput
- func (o InstanceIamPolicyOutput) Location() pulumi.StringOutput
- func (o InstanceIamPolicyOutput) PolicyData() pulumi.StringOutput
- func (o InstanceIamPolicyOutput) Project() pulumi.StringOutput
- func (o InstanceIamPolicyOutput) ToInstanceIamPolicyOutput() InstanceIamPolicyOutput
- func (o InstanceIamPolicyOutput) ToInstanceIamPolicyOutputWithContext(ctx context.Context) InstanceIamPolicyOutput
- type InstanceIamPolicyState
- type InstanceInput
- type InstanceMap
- type InstanceMapInput
- type InstanceMapOutput
- type InstanceOutput
- func (o InstanceOutput) AcceleratorConfig() InstanceAcceleratorConfigPtrOutput
- func (o InstanceOutput) BootDiskSizeGb() pulumi.IntPtrOutput
- func (o InstanceOutput) BootDiskType() pulumi.StringPtrOutput
- func (o InstanceOutput) ContainerImage() InstanceContainerImagePtrOutput
- func (o InstanceOutput) CreateTime() pulumi.StringOutput
- func (o InstanceOutput) CustomGpuDriverPath() pulumi.StringPtrOutput
- func (o InstanceOutput) DataDiskSizeGb() pulumi.IntPtrOutput
- func (o InstanceOutput) DataDiskType() pulumi.StringPtrOutput
- func (o InstanceOutput) DesiredState() pulumi.StringPtrOutput
- func (o InstanceOutput) DiskEncryption() pulumi.StringOutput
- func (o InstanceOutput) EffectiveLabels() pulumi.StringMapOutput
- func (InstanceOutput) ElementType() reflect.Type
- func (o InstanceOutput) InstallGpuDriver() pulumi.BoolPtrOutput
- func (o InstanceOutput) InstanceOwners() pulumi.StringArrayOutput
- func (o InstanceOutput) KmsKey() pulumi.StringPtrOutput
- func (o InstanceOutput) Labels() pulumi.StringMapOutput
- func (o InstanceOutput) Location() pulumi.StringOutput
- func (o InstanceOutput) MachineType() pulumi.StringOutput
- func (o InstanceOutput) Metadata() pulumi.StringMapOutput
- func (o InstanceOutput) Name() pulumi.StringOutput
- func (o InstanceOutput) Network() pulumi.StringOutput
- func (o InstanceOutput) NicType() pulumi.StringPtrOutput
- func (o InstanceOutput) NoProxyAccess() pulumi.BoolPtrOutput
- func (o InstanceOutput) NoPublicIp() pulumi.BoolPtrOutput
- func (o InstanceOutput) NoRemoveDataDisk() pulumi.BoolPtrOutput
- func (o InstanceOutput) PostStartupScript() pulumi.StringPtrOutput
- func (o InstanceOutput) Project() pulumi.StringOutput
- func (o InstanceOutput) ProxyUri() pulumi.StringOutput
- func (o InstanceOutput) PulumiLabels() pulumi.StringMapOutput
- func (o InstanceOutput) ReservationAffinity() InstanceReservationAffinityPtrOutput
- func (o InstanceOutput) ServiceAccount() pulumi.StringOutput
- func (o InstanceOutput) ServiceAccountScopes() pulumi.StringArrayOutput
- func (o InstanceOutput) ShieldedInstanceConfig() InstanceShieldedInstanceConfigOutput
- func (o InstanceOutput) State() pulumi.StringOutput
- func (o InstanceOutput) Subnet() pulumi.StringOutput
- func (o InstanceOutput) Tags() pulumi.StringArrayOutput
- func (o InstanceOutput) ToInstanceOutput() InstanceOutput
- func (o InstanceOutput) ToInstanceOutputWithContext(ctx context.Context) InstanceOutput
- func (o InstanceOutput) UpdateTime() pulumi.StringOutput
- func (o InstanceOutput) VmImage() InstanceVmImagePtrOutput
- type InstanceReservationAffinity
- type InstanceReservationAffinityArgs
- func (InstanceReservationAffinityArgs) ElementType() reflect.Type
- func (i InstanceReservationAffinityArgs) ToInstanceReservationAffinityOutput() InstanceReservationAffinityOutput
- func (i InstanceReservationAffinityArgs) ToInstanceReservationAffinityOutputWithContext(ctx context.Context) InstanceReservationAffinityOutput
- func (i InstanceReservationAffinityArgs) ToInstanceReservationAffinityPtrOutput() InstanceReservationAffinityPtrOutput
- func (i InstanceReservationAffinityArgs) ToInstanceReservationAffinityPtrOutputWithContext(ctx context.Context) InstanceReservationAffinityPtrOutput
- type InstanceReservationAffinityInput
- type InstanceReservationAffinityOutput
- func (o InstanceReservationAffinityOutput) ConsumeReservationType() pulumi.StringOutput
- func (InstanceReservationAffinityOutput) ElementType() reflect.Type
- func (o InstanceReservationAffinityOutput) Key() pulumi.StringPtrOutput
- func (o InstanceReservationAffinityOutput) ToInstanceReservationAffinityOutput() InstanceReservationAffinityOutput
- func (o InstanceReservationAffinityOutput) ToInstanceReservationAffinityOutputWithContext(ctx context.Context) InstanceReservationAffinityOutput
- func (o InstanceReservationAffinityOutput) ToInstanceReservationAffinityPtrOutput() InstanceReservationAffinityPtrOutput
- func (o InstanceReservationAffinityOutput) ToInstanceReservationAffinityPtrOutputWithContext(ctx context.Context) InstanceReservationAffinityPtrOutput
- func (o InstanceReservationAffinityOutput) Values() pulumi.StringArrayOutput
- type InstanceReservationAffinityPtrInput
- type InstanceReservationAffinityPtrOutput
- func (o InstanceReservationAffinityPtrOutput) ConsumeReservationType() pulumi.StringPtrOutput
- func (o InstanceReservationAffinityPtrOutput) Elem() InstanceReservationAffinityOutput
- func (InstanceReservationAffinityPtrOutput) ElementType() reflect.Type
- func (o InstanceReservationAffinityPtrOutput) Key() pulumi.StringPtrOutput
- func (o InstanceReservationAffinityPtrOutput) ToInstanceReservationAffinityPtrOutput() InstanceReservationAffinityPtrOutput
- func (o InstanceReservationAffinityPtrOutput) ToInstanceReservationAffinityPtrOutputWithContext(ctx context.Context) InstanceReservationAffinityPtrOutput
- func (o InstanceReservationAffinityPtrOutput) Values() pulumi.StringArrayOutput
- type InstanceShieldedInstanceConfig
- type InstanceShieldedInstanceConfigArgs
- func (InstanceShieldedInstanceConfigArgs) ElementType() reflect.Type
- func (i InstanceShieldedInstanceConfigArgs) ToInstanceShieldedInstanceConfigOutput() InstanceShieldedInstanceConfigOutput
- func (i InstanceShieldedInstanceConfigArgs) ToInstanceShieldedInstanceConfigOutputWithContext(ctx context.Context) InstanceShieldedInstanceConfigOutput
- func (i InstanceShieldedInstanceConfigArgs) ToInstanceShieldedInstanceConfigPtrOutput() InstanceShieldedInstanceConfigPtrOutput
- func (i InstanceShieldedInstanceConfigArgs) ToInstanceShieldedInstanceConfigPtrOutputWithContext(ctx context.Context) InstanceShieldedInstanceConfigPtrOutput
- type InstanceShieldedInstanceConfigInput
- type InstanceShieldedInstanceConfigOutput
- func (InstanceShieldedInstanceConfigOutput) ElementType() reflect.Type
- func (o InstanceShieldedInstanceConfigOutput) EnableIntegrityMonitoring() pulumi.BoolPtrOutput
- func (o InstanceShieldedInstanceConfigOutput) EnableSecureBoot() pulumi.BoolPtrOutput
- func (o InstanceShieldedInstanceConfigOutput) EnableVtpm() pulumi.BoolPtrOutput
- func (o InstanceShieldedInstanceConfigOutput) ToInstanceShieldedInstanceConfigOutput() InstanceShieldedInstanceConfigOutput
- func (o InstanceShieldedInstanceConfigOutput) ToInstanceShieldedInstanceConfigOutputWithContext(ctx context.Context) InstanceShieldedInstanceConfigOutput
- func (o InstanceShieldedInstanceConfigOutput) ToInstanceShieldedInstanceConfigPtrOutput() InstanceShieldedInstanceConfigPtrOutput
- func (o InstanceShieldedInstanceConfigOutput) ToInstanceShieldedInstanceConfigPtrOutputWithContext(ctx context.Context) InstanceShieldedInstanceConfigPtrOutput
- type InstanceShieldedInstanceConfigPtrInput
- type InstanceShieldedInstanceConfigPtrOutput
- func (o InstanceShieldedInstanceConfigPtrOutput) Elem() InstanceShieldedInstanceConfigOutput
- func (InstanceShieldedInstanceConfigPtrOutput) ElementType() reflect.Type
- func (o InstanceShieldedInstanceConfigPtrOutput) EnableIntegrityMonitoring() pulumi.BoolPtrOutput
- func (o InstanceShieldedInstanceConfigPtrOutput) EnableSecureBoot() pulumi.BoolPtrOutput
- func (o InstanceShieldedInstanceConfigPtrOutput) EnableVtpm() pulumi.BoolPtrOutput
- func (o InstanceShieldedInstanceConfigPtrOutput) ToInstanceShieldedInstanceConfigPtrOutput() InstanceShieldedInstanceConfigPtrOutput
- func (o InstanceShieldedInstanceConfigPtrOutput) ToInstanceShieldedInstanceConfigPtrOutputWithContext(ctx context.Context) InstanceShieldedInstanceConfigPtrOutput
- type InstanceState
- type InstanceVmImage
- type InstanceVmImageArgs
- func (InstanceVmImageArgs) ElementType() reflect.Type
- func (i InstanceVmImageArgs) ToInstanceVmImageOutput() InstanceVmImageOutput
- func (i InstanceVmImageArgs) ToInstanceVmImageOutputWithContext(ctx context.Context) InstanceVmImageOutput
- func (i InstanceVmImageArgs) ToInstanceVmImagePtrOutput() InstanceVmImagePtrOutput
- func (i InstanceVmImageArgs) ToInstanceVmImagePtrOutputWithContext(ctx context.Context) InstanceVmImagePtrOutput
- type InstanceVmImageInput
- type InstanceVmImageOutput
- func (InstanceVmImageOutput) ElementType() reflect.Type
- func (o InstanceVmImageOutput) ImageFamily() pulumi.StringPtrOutput
- func (o InstanceVmImageOutput) ImageName() pulumi.StringPtrOutput
- func (o InstanceVmImageOutput) Project() pulumi.StringOutput
- func (o InstanceVmImageOutput) ToInstanceVmImageOutput() InstanceVmImageOutput
- func (o InstanceVmImageOutput) ToInstanceVmImageOutputWithContext(ctx context.Context) InstanceVmImageOutput
- func (o InstanceVmImageOutput) ToInstanceVmImagePtrOutput() InstanceVmImagePtrOutput
- func (o InstanceVmImageOutput) ToInstanceVmImagePtrOutputWithContext(ctx context.Context) InstanceVmImagePtrOutput
- type InstanceVmImagePtrInput
- type InstanceVmImagePtrOutput
- func (o InstanceVmImagePtrOutput) Elem() InstanceVmImageOutput
- func (InstanceVmImagePtrOutput) ElementType() reflect.Type
- func (o InstanceVmImagePtrOutput) ImageFamily() pulumi.StringPtrOutput
- func (o InstanceVmImagePtrOutput) ImageName() pulumi.StringPtrOutput
- func (o InstanceVmImagePtrOutput) Project() pulumi.StringPtrOutput
- func (o InstanceVmImagePtrOutput) ToInstanceVmImagePtrOutput() InstanceVmImagePtrOutput
- func (o InstanceVmImagePtrOutput) ToInstanceVmImagePtrOutputWithContext(ctx context.Context) InstanceVmImagePtrOutput
- type Location
- type LocationArgs
- type LocationArray
- type LocationArrayInput
- type LocationArrayOutput
- type LocationInput
- type LocationMap
- type LocationMapInput
- type LocationMapOutput
- type LocationOutput
- func (LocationOutput) ElementType() reflect.Type
- func (o LocationOutput) Name() pulumi.StringOutput
- func (o LocationOutput) Project() pulumi.StringOutput
- func (o LocationOutput) SelfLink() pulumi.StringOutput
- func (o LocationOutput) ToLocationOutput() LocationOutput
- func (o LocationOutput) ToLocationOutputWithContext(ctx context.Context) LocationOutput
- type LocationState
- type LookupInstanceIamPolicyArgs
- type LookupInstanceIamPolicyOutputArgs
- type LookupInstanceIamPolicyResult
- type LookupInstanceIamPolicyResultOutput
- func (LookupInstanceIamPolicyResultOutput) ElementType() reflect.Type
- func (o LookupInstanceIamPolicyResultOutput) Etag() pulumi.StringOutput
- func (o LookupInstanceIamPolicyResultOutput) Id() pulumi.StringOutput
- func (o LookupInstanceIamPolicyResultOutput) InstanceName() pulumi.StringOutput
- func (o LookupInstanceIamPolicyResultOutput) Location() pulumi.StringOutput
- func (o LookupInstanceIamPolicyResultOutput) PolicyData() pulumi.StringOutput
- func (o LookupInstanceIamPolicyResultOutput) Project() pulumi.StringOutput
- func (o LookupInstanceIamPolicyResultOutput) ToLookupInstanceIamPolicyResultOutput() LookupInstanceIamPolicyResultOutput
- func (o LookupInstanceIamPolicyResultOutput) ToLookupInstanceIamPolicyResultOutputWithContext(ctx context.Context) LookupInstanceIamPolicyResultOutput
- type LookupRuntimeIamPolicyArgs
- type LookupRuntimeIamPolicyOutputArgs
- type LookupRuntimeIamPolicyResult
- type LookupRuntimeIamPolicyResultOutput
- func (LookupRuntimeIamPolicyResultOutput) ElementType() reflect.Type
- func (o LookupRuntimeIamPolicyResultOutput) Etag() pulumi.StringOutput
- func (o LookupRuntimeIamPolicyResultOutput) Id() pulumi.StringOutput
- func (o LookupRuntimeIamPolicyResultOutput) Location() pulumi.StringOutput
- func (o LookupRuntimeIamPolicyResultOutput) PolicyData() pulumi.StringOutput
- func (o LookupRuntimeIamPolicyResultOutput) Project() pulumi.StringOutput
- func (o LookupRuntimeIamPolicyResultOutput) RuntimeName() pulumi.StringOutput
- func (o LookupRuntimeIamPolicyResultOutput) ToLookupRuntimeIamPolicyResultOutput() LookupRuntimeIamPolicyResultOutput
- func (o LookupRuntimeIamPolicyResultOutput) ToLookupRuntimeIamPolicyResultOutputWithContext(ctx context.Context) LookupRuntimeIamPolicyResultOutput
- type Runtime
- type RuntimeAccessConfig
- type RuntimeAccessConfigArgs
- func (RuntimeAccessConfigArgs) ElementType() reflect.Type
- func (i RuntimeAccessConfigArgs) ToRuntimeAccessConfigOutput() RuntimeAccessConfigOutput
- func (i RuntimeAccessConfigArgs) ToRuntimeAccessConfigOutputWithContext(ctx context.Context) RuntimeAccessConfigOutput
- func (i RuntimeAccessConfigArgs) ToRuntimeAccessConfigPtrOutput() RuntimeAccessConfigPtrOutput
- func (i RuntimeAccessConfigArgs) ToRuntimeAccessConfigPtrOutputWithContext(ctx context.Context) RuntimeAccessConfigPtrOutput
- type RuntimeAccessConfigInput
- type RuntimeAccessConfigOutput
- func (o RuntimeAccessConfigOutput) AccessType() pulumi.StringPtrOutput
- func (RuntimeAccessConfigOutput) ElementType() reflect.Type
- func (o RuntimeAccessConfigOutput) ProxyUri() pulumi.StringPtrOutput
- func (o RuntimeAccessConfigOutput) RuntimeOwner() pulumi.StringPtrOutput
- func (o RuntimeAccessConfigOutput) ToRuntimeAccessConfigOutput() RuntimeAccessConfigOutput
- func (o RuntimeAccessConfigOutput) ToRuntimeAccessConfigOutputWithContext(ctx context.Context) RuntimeAccessConfigOutput
- func (o RuntimeAccessConfigOutput) ToRuntimeAccessConfigPtrOutput() RuntimeAccessConfigPtrOutput
- func (o RuntimeAccessConfigOutput) ToRuntimeAccessConfigPtrOutputWithContext(ctx context.Context) RuntimeAccessConfigPtrOutput
- type RuntimeAccessConfigPtrInput
- type RuntimeAccessConfigPtrOutput
- func (o RuntimeAccessConfigPtrOutput) AccessType() pulumi.StringPtrOutput
- func (o RuntimeAccessConfigPtrOutput) Elem() RuntimeAccessConfigOutput
- func (RuntimeAccessConfigPtrOutput) ElementType() reflect.Type
- func (o RuntimeAccessConfigPtrOutput) ProxyUri() pulumi.StringPtrOutput
- func (o RuntimeAccessConfigPtrOutput) RuntimeOwner() pulumi.StringPtrOutput
- func (o RuntimeAccessConfigPtrOutput) ToRuntimeAccessConfigPtrOutput() RuntimeAccessConfigPtrOutput
- func (o RuntimeAccessConfigPtrOutput) ToRuntimeAccessConfigPtrOutputWithContext(ctx context.Context) RuntimeAccessConfigPtrOutput
- type RuntimeArgs
- type RuntimeArray
- type RuntimeArrayInput
- type RuntimeArrayOutput
- type RuntimeIamBinding
- type RuntimeIamBindingArgs
- type RuntimeIamBindingArray
- type RuntimeIamBindingArrayInput
- type RuntimeIamBindingArrayOutput
- func (RuntimeIamBindingArrayOutput) ElementType() reflect.Type
- func (o RuntimeIamBindingArrayOutput) Index(i pulumi.IntInput) RuntimeIamBindingOutput
- func (o RuntimeIamBindingArrayOutput) ToRuntimeIamBindingArrayOutput() RuntimeIamBindingArrayOutput
- func (o RuntimeIamBindingArrayOutput) ToRuntimeIamBindingArrayOutputWithContext(ctx context.Context) RuntimeIamBindingArrayOutput
- type RuntimeIamBindingCondition
- type RuntimeIamBindingConditionArgs
- func (RuntimeIamBindingConditionArgs) ElementType() reflect.Type
- func (i RuntimeIamBindingConditionArgs) ToRuntimeIamBindingConditionOutput() RuntimeIamBindingConditionOutput
- func (i RuntimeIamBindingConditionArgs) ToRuntimeIamBindingConditionOutputWithContext(ctx context.Context) RuntimeIamBindingConditionOutput
- func (i RuntimeIamBindingConditionArgs) ToRuntimeIamBindingConditionPtrOutput() RuntimeIamBindingConditionPtrOutput
- func (i RuntimeIamBindingConditionArgs) ToRuntimeIamBindingConditionPtrOutputWithContext(ctx context.Context) RuntimeIamBindingConditionPtrOutput
- type RuntimeIamBindingConditionInput
- type RuntimeIamBindingConditionOutput
- func (o RuntimeIamBindingConditionOutput) Description() pulumi.StringPtrOutput
- func (RuntimeIamBindingConditionOutput) ElementType() reflect.Type
- func (o RuntimeIamBindingConditionOutput) Expression() pulumi.StringOutput
- func (o RuntimeIamBindingConditionOutput) Title() pulumi.StringOutput
- func (o RuntimeIamBindingConditionOutput) ToRuntimeIamBindingConditionOutput() RuntimeIamBindingConditionOutput
- func (o RuntimeIamBindingConditionOutput) ToRuntimeIamBindingConditionOutputWithContext(ctx context.Context) RuntimeIamBindingConditionOutput
- func (o RuntimeIamBindingConditionOutput) ToRuntimeIamBindingConditionPtrOutput() RuntimeIamBindingConditionPtrOutput
- func (o RuntimeIamBindingConditionOutput) ToRuntimeIamBindingConditionPtrOutputWithContext(ctx context.Context) RuntimeIamBindingConditionPtrOutput
- type RuntimeIamBindingConditionPtrInput
- type RuntimeIamBindingConditionPtrOutput
- func (o RuntimeIamBindingConditionPtrOutput) Description() pulumi.StringPtrOutput
- func (o RuntimeIamBindingConditionPtrOutput) Elem() RuntimeIamBindingConditionOutput
- func (RuntimeIamBindingConditionPtrOutput) ElementType() reflect.Type
- func (o RuntimeIamBindingConditionPtrOutput) Expression() pulumi.StringPtrOutput
- func (o RuntimeIamBindingConditionPtrOutput) Title() pulumi.StringPtrOutput
- func (o RuntimeIamBindingConditionPtrOutput) ToRuntimeIamBindingConditionPtrOutput() RuntimeIamBindingConditionPtrOutput
- func (o RuntimeIamBindingConditionPtrOutput) ToRuntimeIamBindingConditionPtrOutputWithContext(ctx context.Context) RuntimeIamBindingConditionPtrOutput
- type RuntimeIamBindingInput
- type RuntimeIamBindingMap
- type RuntimeIamBindingMapInput
- type RuntimeIamBindingMapOutput
- func (RuntimeIamBindingMapOutput) ElementType() reflect.Type
- func (o RuntimeIamBindingMapOutput) MapIndex(k pulumi.StringInput) RuntimeIamBindingOutput
- func (o RuntimeIamBindingMapOutput) ToRuntimeIamBindingMapOutput() RuntimeIamBindingMapOutput
- func (o RuntimeIamBindingMapOutput) ToRuntimeIamBindingMapOutputWithContext(ctx context.Context) RuntimeIamBindingMapOutput
- type RuntimeIamBindingOutput
- func (o RuntimeIamBindingOutput) Condition() RuntimeIamBindingConditionPtrOutput
- func (RuntimeIamBindingOutput) ElementType() reflect.Type
- func (o RuntimeIamBindingOutput) Etag() pulumi.StringOutput
- func (o RuntimeIamBindingOutput) Location() pulumi.StringOutput
- func (o RuntimeIamBindingOutput) Members() pulumi.StringArrayOutput
- func (o RuntimeIamBindingOutput) Project() pulumi.StringOutput
- func (o RuntimeIamBindingOutput) Role() pulumi.StringOutput
- func (o RuntimeIamBindingOutput) RuntimeName() pulumi.StringOutput
- func (o RuntimeIamBindingOutput) ToRuntimeIamBindingOutput() RuntimeIamBindingOutput
- func (o RuntimeIamBindingOutput) ToRuntimeIamBindingOutputWithContext(ctx context.Context) RuntimeIamBindingOutput
- type RuntimeIamBindingState
- type RuntimeIamMember
- type RuntimeIamMemberArgs
- type RuntimeIamMemberArray
- type RuntimeIamMemberArrayInput
- type RuntimeIamMemberArrayOutput
- func (RuntimeIamMemberArrayOutput) ElementType() reflect.Type
- func (o RuntimeIamMemberArrayOutput) Index(i pulumi.IntInput) RuntimeIamMemberOutput
- func (o RuntimeIamMemberArrayOutput) ToRuntimeIamMemberArrayOutput() RuntimeIamMemberArrayOutput
- func (o RuntimeIamMemberArrayOutput) ToRuntimeIamMemberArrayOutputWithContext(ctx context.Context) RuntimeIamMemberArrayOutput
- type RuntimeIamMemberCondition
- type RuntimeIamMemberConditionArgs
- func (RuntimeIamMemberConditionArgs) ElementType() reflect.Type
- func (i RuntimeIamMemberConditionArgs) ToRuntimeIamMemberConditionOutput() RuntimeIamMemberConditionOutput
- func (i RuntimeIamMemberConditionArgs) ToRuntimeIamMemberConditionOutputWithContext(ctx context.Context) RuntimeIamMemberConditionOutput
- func (i RuntimeIamMemberConditionArgs) ToRuntimeIamMemberConditionPtrOutput() RuntimeIamMemberConditionPtrOutput
- func (i RuntimeIamMemberConditionArgs) ToRuntimeIamMemberConditionPtrOutputWithContext(ctx context.Context) RuntimeIamMemberConditionPtrOutput
- type RuntimeIamMemberConditionInput
- type RuntimeIamMemberConditionOutput
- func (o RuntimeIamMemberConditionOutput) Description() pulumi.StringPtrOutput
- func (RuntimeIamMemberConditionOutput) ElementType() reflect.Type
- func (o RuntimeIamMemberConditionOutput) Expression() pulumi.StringOutput
- func (o RuntimeIamMemberConditionOutput) Title() pulumi.StringOutput
- func (o RuntimeIamMemberConditionOutput) ToRuntimeIamMemberConditionOutput() RuntimeIamMemberConditionOutput
- func (o RuntimeIamMemberConditionOutput) ToRuntimeIamMemberConditionOutputWithContext(ctx context.Context) RuntimeIamMemberConditionOutput
- func (o RuntimeIamMemberConditionOutput) ToRuntimeIamMemberConditionPtrOutput() RuntimeIamMemberConditionPtrOutput
- func (o RuntimeIamMemberConditionOutput) ToRuntimeIamMemberConditionPtrOutputWithContext(ctx context.Context) RuntimeIamMemberConditionPtrOutput
- type RuntimeIamMemberConditionPtrInput
- type RuntimeIamMemberConditionPtrOutput
- func (o RuntimeIamMemberConditionPtrOutput) Description() pulumi.StringPtrOutput
- func (o RuntimeIamMemberConditionPtrOutput) Elem() RuntimeIamMemberConditionOutput
- func (RuntimeIamMemberConditionPtrOutput) ElementType() reflect.Type
- func (o RuntimeIamMemberConditionPtrOutput) Expression() pulumi.StringPtrOutput
- func (o RuntimeIamMemberConditionPtrOutput) Title() pulumi.StringPtrOutput
- func (o RuntimeIamMemberConditionPtrOutput) ToRuntimeIamMemberConditionPtrOutput() RuntimeIamMemberConditionPtrOutput
- func (o RuntimeIamMemberConditionPtrOutput) ToRuntimeIamMemberConditionPtrOutputWithContext(ctx context.Context) RuntimeIamMemberConditionPtrOutput
- type RuntimeIamMemberInput
- type RuntimeIamMemberMap
- type RuntimeIamMemberMapInput
- type RuntimeIamMemberMapOutput
- func (RuntimeIamMemberMapOutput) ElementType() reflect.Type
- func (o RuntimeIamMemberMapOutput) MapIndex(k pulumi.StringInput) RuntimeIamMemberOutput
- func (o RuntimeIamMemberMapOutput) ToRuntimeIamMemberMapOutput() RuntimeIamMemberMapOutput
- func (o RuntimeIamMemberMapOutput) ToRuntimeIamMemberMapOutputWithContext(ctx context.Context) RuntimeIamMemberMapOutput
- type RuntimeIamMemberOutput
- func (o RuntimeIamMemberOutput) Condition() RuntimeIamMemberConditionPtrOutput
- func (RuntimeIamMemberOutput) ElementType() reflect.Type
- func (o RuntimeIamMemberOutput) Etag() pulumi.StringOutput
- func (o RuntimeIamMemberOutput) Location() pulumi.StringOutput
- func (o RuntimeIamMemberOutput) Member() pulumi.StringOutput
- func (o RuntimeIamMemberOutput) Project() pulumi.StringOutput
- func (o RuntimeIamMemberOutput) Role() pulumi.StringOutput
- func (o RuntimeIamMemberOutput) RuntimeName() pulumi.StringOutput
- func (o RuntimeIamMemberOutput) ToRuntimeIamMemberOutput() RuntimeIamMemberOutput
- func (o RuntimeIamMemberOutput) ToRuntimeIamMemberOutputWithContext(ctx context.Context) RuntimeIamMemberOutput
- type RuntimeIamMemberState
- type RuntimeIamPolicy
- type RuntimeIamPolicyArgs
- type RuntimeIamPolicyArray
- type RuntimeIamPolicyArrayInput
- type RuntimeIamPolicyArrayOutput
- func (RuntimeIamPolicyArrayOutput) ElementType() reflect.Type
- func (o RuntimeIamPolicyArrayOutput) Index(i pulumi.IntInput) RuntimeIamPolicyOutput
- func (o RuntimeIamPolicyArrayOutput) ToRuntimeIamPolicyArrayOutput() RuntimeIamPolicyArrayOutput
- func (o RuntimeIamPolicyArrayOutput) ToRuntimeIamPolicyArrayOutputWithContext(ctx context.Context) RuntimeIamPolicyArrayOutput
- type RuntimeIamPolicyInput
- type RuntimeIamPolicyMap
- type RuntimeIamPolicyMapInput
- type RuntimeIamPolicyMapOutput
- func (RuntimeIamPolicyMapOutput) ElementType() reflect.Type
- func (o RuntimeIamPolicyMapOutput) MapIndex(k pulumi.StringInput) RuntimeIamPolicyOutput
- func (o RuntimeIamPolicyMapOutput) ToRuntimeIamPolicyMapOutput() RuntimeIamPolicyMapOutput
- func (o RuntimeIamPolicyMapOutput) ToRuntimeIamPolicyMapOutputWithContext(ctx context.Context) RuntimeIamPolicyMapOutput
- type RuntimeIamPolicyOutput
- func (RuntimeIamPolicyOutput) ElementType() reflect.Type
- func (o RuntimeIamPolicyOutput) Etag() pulumi.StringOutput
- func (o RuntimeIamPolicyOutput) Location() pulumi.StringOutput
- func (o RuntimeIamPolicyOutput) PolicyData() pulumi.StringOutput
- func (o RuntimeIamPolicyOutput) Project() pulumi.StringOutput
- func (o RuntimeIamPolicyOutput) RuntimeName() pulumi.StringOutput
- func (o RuntimeIamPolicyOutput) ToRuntimeIamPolicyOutput() RuntimeIamPolicyOutput
- func (o RuntimeIamPolicyOutput) ToRuntimeIamPolicyOutputWithContext(ctx context.Context) RuntimeIamPolicyOutput
- type RuntimeIamPolicyState
- type RuntimeInput
- type RuntimeMap
- type RuntimeMapInput
- type RuntimeMapOutput
- type RuntimeMetric
- type RuntimeMetricArgs
- type RuntimeMetricArray
- type RuntimeMetricArrayInput
- type RuntimeMetricArrayOutput
- func (RuntimeMetricArrayOutput) ElementType() reflect.Type
- func (o RuntimeMetricArrayOutput) Index(i pulumi.IntInput) RuntimeMetricOutput
- func (o RuntimeMetricArrayOutput) ToRuntimeMetricArrayOutput() RuntimeMetricArrayOutput
- func (o RuntimeMetricArrayOutput) ToRuntimeMetricArrayOutputWithContext(ctx context.Context) RuntimeMetricArrayOutput
- type RuntimeMetricInput
- type RuntimeMetricOutput
- type RuntimeOutput
- func (o RuntimeOutput) AccessConfig() RuntimeAccessConfigPtrOutput
- func (o RuntimeOutput) EffectiveLabels() pulumi.StringMapOutput
- func (RuntimeOutput) ElementType() reflect.Type
- func (o RuntimeOutput) HealthState() pulumi.StringOutput
- func (o RuntimeOutput) Labels() pulumi.StringMapOutput
- func (o RuntimeOutput) Location() pulumi.StringOutput
- func (o RuntimeOutput) Metrics() RuntimeMetricArrayOutput
- func (o RuntimeOutput) Name() pulumi.StringOutput
- func (o RuntimeOutput) Project() pulumi.StringOutput
- func (o RuntimeOutput) PulumiLabels() pulumi.StringMapOutput
- func (o RuntimeOutput) SoftwareConfig() RuntimeSoftwareConfigOutput
- func (o RuntimeOutput) State() pulumi.StringOutput
- func (o RuntimeOutput) ToRuntimeOutput() RuntimeOutput
- func (o RuntimeOutput) ToRuntimeOutputWithContext(ctx context.Context) RuntimeOutput
- func (o RuntimeOutput) VirtualMachine() RuntimeVirtualMachinePtrOutput
- type RuntimeSoftwareConfig
- type RuntimeSoftwareConfigArgs
- func (RuntimeSoftwareConfigArgs) ElementType() reflect.Type
- func (i RuntimeSoftwareConfigArgs) ToRuntimeSoftwareConfigOutput() RuntimeSoftwareConfigOutput
- func (i RuntimeSoftwareConfigArgs) ToRuntimeSoftwareConfigOutputWithContext(ctx context.Context) RuntimeSoftwareConfigOutput
- func (i RuntimeSoftwareConfigArgs) ToRuntimeSoftwareConfigPtrOutput() RuntimeSoftwareConfigPtrOutput
- func (i RuntimeSoftwareConfigArgs) ToRuntimeSoftwareConfigPtrOutputWithContext(ctx context.Context) RuntimeSoftwareConfigPtrOutput
- type RuntimeSoftwareConfigInput
- type RuntimeSoftwareConfigKernel
- type RuntimeSoftwareConfigKernelArgs
- func (RuntimeSoftwareConfigKernelArgs) ElementType() reflect.Type
- func (i RuntimeSoftwareConfigKernelArgs) ToRuntimeSoftwareConfigKernelOutput() RuntimeSoftwareConfigKernelOutput
- func (i RuntimeSoftwareConfigKernelArgs) ToRuntimeSoftwareConfigKernelOutputWithContext(ctx context.Context) RuntimeSoftwareConfigKernelOutput
- type RuntimeSoftwareConfigKernelArray
- func (RuntimeSoftwareConfigKernelArray) ElementType() reflect.Type
- func (i RuntimeSoftwareConfigKernelArray) ToRuntimeSoftwareConfigKernelArrayOutput() RuntimeSoftwareConfigKernelArrayOutput
- func (i RuntimeSoftwareConfigKernelArray) ToRuntimeSoftwareConfigKernelArrayOutputWithContext(ctx context.Context) RuntimeSoftwareConfigKernelArrayOutput
- type RuntimeSoftwareConfigKernelArrayInput
- type RuntimeSoftwareConfigKernelArrayOutput
- func (RuntimeSoftwareConfigKernelArrayOutput) ElementType() reflect.Type
- func (o RuntimeSoftwareConfigKernelArrayOutput) Index(i pulumi.IntInput) RuntimeSoftwareConfigKernelOutput
- func (o RuntimeSoftwareConfigKernelArrayOutput) ToRuntimeSoftwareConfigKernelArrayOutput() RuntimeSoftwareConfigKernelArrayOutput
- func (o RuntimeSoftwareConfigKernelArrayOutput) ToRuntimeSoftwareConfigKernelArrayOutputWithContext(ctx context.Context) RuntimeSoftwareConfigKernelArrayOutput
- type RuntimeSoftwareConfigKernelInput
- type RuntimeSoftwareConfigKernelOutput
- func (RuntimeSoftwareConfigKernelOutput) ElementType() reflect.Type
- func (o RuntimeSoftwareConfigKernelOutput) Repository() pulumi.StringOutput
- func (o RuntimeSoftwareConfigKernelOutput) Tag() pulumi.StringPtrOutput
- func (o RuntimeSoftwareConfigKernelOutput) ToRuntimeSoftwareConfigKernelOutput() RuntimeSoftwareConfigKernelOutput
- func (o RuntimeSoftwareConfigKernelOutput) ToRuntimeSoftwareConfigKernelOutputWithContext(ctx context.Context) RuntimeSoftwareConfigKernelOutput
- type RuntimeSoftwareConfigOutput
- func (o RuntimeSoftwareConfigOutput) CustomGpuDriverPath() pulumi.StringPtrOutput
- func (RuntimeSoftwareConfigOutput) ElementType() reflect.Type
- func (o RuntimeSoftwareConfigOutput) EnableHealthMonitoring() pulumi.BoolPtrOutput
- func (o RuntimeSoftwareConfigOutput) IdleShutdown() pulumi.BoolPtrOutput
- func (o RuntimeSoftwareConfigOutput) IdleShutdownTimeout() pulumi.IntPtrOutput
- func (o RuntimeSoftwareConfigOutput) InstallGpuDriver() pulumi.BoolPtrOutput
- func (o RuntimeSoftwareConfigOutput) Kernels() RuntimeSoftwareConfigKernelArrayOutput
- func (o RuntimeSoftwareConfigOutput) NotebookUpgradeSchedule() pulumi.StringPtrOutput
- func (o RuntimeSoftwareConfigOutput) PostStartupScript() pulumi.StringPtrOutput
- func (o RuntimeSoftwareConfigOutput) PostStartupScriptBehavior() pulumi.StringPtrOutput
- func (o RuntimeSoftwareConfigOutput) ToRuntimeSoftwareConfigOutput() RuntimeSoftwareConfigOutput
- func (o RuntimeSoftwareConfigOutput) ToRuntimeSoftwareConfigOutputWithContext(ctx context.Context) RuntimeSoftwareConfigOutput
- func (o RuntimeSoftwareConfigOutput) ToRuntimeSoftwareConfigPtrOutput() RuntimeSoftwareConfigPtrOutput
- func (o RuntimeSoftwareConfigOutput) ToRuntimeSoftwareConfigPtrOutputWithContext(ctx context.Context) RuntimeSoftwareConfigPtrOutput
- func (o RuntimeSoftwareConfigOutput) Upgradeable() pulumi.BoolPtrOutput
- type RuntimeSoftwareConfigPtrInput
- type RuntimeSoftwareConfigPtrOutput
- func (o RuntimeSoftwareConfigPtrOutput) CustomGpuDriverPath() pulumi.StringPtrOutput
- func (o RuntimeSoftwareConfigPtrOutput) Elem() RuntimeSoftwareConfigOutput
- func (RuntimeSoftwareConfigPtrOutput) ElementType() reflect.Type
- func (o RuntimeSoftwareConfigPtrOutput) EnableHealthMonitoring() pulumi.BoolPtrOutput
- func (o RuntimeSoftwareConfigPtrOutput) IdleShutdown() pulumi.BoolPtrOutput
- func (o RuntimeSoftwareConfigPtrOutput) IdleShutdownTimeout() pulumi.IntPtrOutput
- func (o RuntimeSoftwareConfigPtrOutput) InstallGpuDriver() pulumi.BoolPtrOutput
- func (o RuntimeSoftwareConfigPtrOutput) Kernels() RuntimeSoftwareConfigKernelArrayOutput
- func (o RuntimeSoftwareConfigPtrOutput) NotebookUpgradeSchedule() pulumi.StringPtrOutput
- func (o RuntimeSoftwareConfigPtrOutput) PostStartupScript() pulumi.StringPtrOutput
- func (o RuntimeSoftwareConfigPtrOutput) PostStartupScriptBehavior() pulumi.StringPtrOutput
- func (o RuntimeSoftwareConfigPtrOutput) ToRuntimeSoftwareConfigPtrOutput() RuntimeSoftwareConfigPtrOutput
- func (o RuntimeSoftwareConfigPtrOutput) ToRuntimeSoftwareConfigPtrOutputWithContext(ctx context.Context) RuntimeSoftwareConfigPtrOutput
- func (o RuntimeSoftwareConfigPtrOutput) Upgradeable() pulumi.BoolPtrOutput
- type RuntimeState
- type RuntimeVirtualMachine
- type RuntimeVirtualMachineArgs
- func (RuntimeVirtualMachineArgs) ElementType() reflect.Type
- func (i RuntimeVirtualMachineArgs) ToRuntimeVirtualMachineOutput() RuntimeVirtualMachineOutput
- func (i RuntimeVirtualMachineArgs) ToRuntimeVirtualMachineOutputWithContext(ctx context.Context) RuntimeVirtualMachineOutput
- func (i RuntimeVirtualMachineArgs) ToRuntimeVirtualMachinePtrOutput() RuntimeVirtualMachinePtrOutput
- func (i RuntimeVirtualMachineArgs) ToRuntimeVirtualMachinePtrOutputWithContext(ctx context.Context) RuntimeVirtualMachinePtrOutput
- type RuntimeVirtualMachineInput
- type RuntimeVirtualMachineOutput
- func (RuntimeVirtualMachineOutput) ElementType() reflect.Type
- func (o RuntimeVirtualMachineOutput) InstanceId() pulumi.StringPtrOutput
- func (o RuntimeVirtualMachineOutput) InstanceName() pulumi.StringPtrOutput
- func (o RuntimeVirtualMachineOutput) ToRuntimeVirtualMachineOutput() RuntimeVirtualMachineOutput
- func (o RuntimeVirtualMachineOutput) ToRuntimeVirtualMachineOutputWithContext(ctx context.Context) RuntimeVirtualMachineOutput
- func (o RuntimeVirtualMachineOutput) ToRuntimeVirtualMachinePtrOutput() RuntimeVirtualMachinePtrOutput
- func (o RuntimeVirtualMachineOutput) ToRuntimeVirtualMachinePtrOutputWithContext(ctx context.Context) RuntimeVirtualMachinePtrOutput
- func (o RuntimeVirtualMachineOutput) VirtualMachineConfig() RuntimeVirtualMachineVirtualMachineConfigPtrOutput
- type RuntimeVirtualMachinePtrInput
- type RuntimeVirtualMachinePtrOutput
- func (o RuntimeVirtualMachinePtrOutput) Elem() RuntimeVirtualMachineOutput
- func (RuntimeVirtualMachinePtrOutput) ElementType() reflect.Type
- func (o RuntimeVirtualMachinePtrOutput) InstanceId() pulumi.StringPtrOutput
- func (o RuntimeVirtualMachinePtrOutput) InstanceName() pulumi.StringPtrOutput
- func (o RuntimeVirtualMachinePtrOutput) ToRuntimeVirtualMachinePtrOutput() RuntimeVirtualMachinePtrOutput
- func (o RuntimeVirtualMachinePtrOutput) ToRuntimeVirtualMachinePtrOutputWithContext(ctx context.Context) RuntimeVirtualMachinePtrOutput
- func (o RuntimeVirtualMachinePtrOutput) VirtualMachineConfig() RuntimeVirtualMachineVirtualMachineConfigPtrOutput
- type RuntimeVirtualMachineVirtualMachineConfig
- type RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfig
- type RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigArgs
- func (RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigArgs) ElementType() reflect.Type
- func (i RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigArgs) ToRuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigOutput() RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigOutput
- func (i RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigArgs) ToRuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigOutputWithContext(ctx context.Context) RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigOutput
- func (i RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigArgs) ToRuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigPtrOutput() RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigPtrOutput
- func (i RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigArgs) ToRuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigPtrOutputWithContext(ctx context.Context) RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigPtrOutput
- type RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigInput
- type RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigOutput
- func (o RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigOutput) CoreCount() pulumi.IntPtrOutput
- func (RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigOutput) ElementType() reflect.Type
- func (o RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigOutput) ToRuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigOutput() RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigOutput
- func (o RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigOutput) ToRuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigOutputWithContext(ctx context.Context) RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigOutput
- func (o RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigOutput) ToRuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigPtrOutput() RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigPtrOutput
- func (o RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigOutput) ToRuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigPtrOutputWithContext(ctx context.Context) RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigPtrOutput
- func (o RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigOutput) Type() pulumi.StringPtrOutput
- type RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigPtrInput
- type RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigPtrOutput
- func (o RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigPtrOutput) CoreCount() pulumi.IntPtrOutput
- func (o RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigPtrOutput) Elem() RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigOutput
- func (RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigPtrOutput) ElementType() reflect.Type
- func (o RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigPtrOutput) ToRuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigPtrOutput() RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigPtrOutput
- func (o RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigPtrOutput) ToRuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigPtrOutputWithContext(ctx context.Context) RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigPtrOutput
- func (o RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigPtrOutput) Type() pulumi.StringPtrOutput
- type RuntimeVirtualMachineVirtualMachineConfigArgs
- func (RuntimeVirtualMachineVirtualMachineConfigArgs) ElementType() reflect.Type
- func (i RuntimeVirtualMachineVirtualMachineConfigArgs) ToRuntimeVirtualMachineVirtualMachineConfigOutput() RuntimeVirtualMachineVirtualMachineConfigOutput
- func (i RuntimeVirtualMachineVirtualMachineConfigArgs) ToRuntimeVirtualMachineVirtualMachineConfigOutputWithContext(ctx context.Context) RuntimeVirtualMachineVirtualMachineConfigOutput
- func (i RuntimeVirtualMachineVirtualMachineConfigArgs) ToRuntimeVirtualMachineVirtualMachineConfigPtrOutput() RuntimeVirtualMachineVirtualMachineConfigPtrOutput
- func (i RuntimeVirtualMachineVirtualMachineConfigArgs) ToRuntimeVirtualMachineVirtualMachineConfigPtrOutputWithContext(ctx context.Context) RuntimeVirtualMachineVirtualMachineConfigPtrOutput
- type RuntimeVirtualMachineVirtualMachineConfigContainerImage
- type RuntimeVirtualMachineVirtualMachineConfigContainerImageArgs
- func (RuntimeVirtualMachineVirtualMachineConfigContainerImageArgs) ElementType() reflect.Type
- func (i RuntimeVirtualMachineVirtualMachineConfigContainerImageArgs) ToRuntimeVirtualMachineVirtualMachineConfigContainerImageOutput() RuntimeVirtualMachineVirtualMachineConfigContainerImageOutput
- func (i RuntimeVirtualMachineVirtualMachineConfigContainerImageArgs) ToRuntimeVirtualMachineVirtualMachineConfigContainerImageOutputWithContext(ctx context.Context) RuntimeVirtualMachineVirtualMachineConfigContainerImageOutput
- type RuntimeVirtualMachineVirtualMachineConfigContainerImageArray
- func (RuntimeVirtualMachineVirtualMachineConfigContainerImageArray) ElementType() reflect.Type
- func (i RuntimeVirtualMachineVirtualMachineConfigContainerImageArray) ToRuntimeVirtualMachineVirtualMachineConfigContainerImageArrayOutput() RuntimeVirtualMachineVirtualMachineConfigContainerImageArrayOutput
- func (i RuntimeVirtualMachineVirtualMachineConfigContainerImageArray) ToRuntimeVirtualMachineVirtualMachineConfigContainerImageArrayOutputWithContext(ctx context.Context) RuntimeVirtualMachineVirtualMachineConfigContainerImageArrayOutput
- type RuntimeVirtualMachineVirtualMachineConfigContainerImageArrayInput
- type RuntimeVirtualMachineVirtualMachineConfigContainerImageArrayOutput
- func (RuntimeVirtualMachineVirtualMachineConfigContainerImageArrayOutput) ElementType() reflect.Type
- func (o RuntimeVirtualMachineVirtualMachineConfigContainerImageArrayOutput) Index(i pulumi.IntInput) RuntimeVirtualMachineVirtualMachineConfigContainerImageOutput
- func (o RuntimeVirtualMachineVirtualMachineConfigContainerImageArrayOutput) ToRuntimeVirtualMachineVirtualMachineConfigContainerImageArrayOutput() RuntimeVirtualMachineVirtualMachineConfigContainerImageArrayOutput
- func (o RuntimeVirtualMachineVirtualMachineConfigContainerImageArrayOutput) ToRuntimeVirtualMachineVirtualMachineConfigContainerImageArrayOutputWithContext(ctx context.Context) RuntimeVirtualMachineVirtualMachineConfigContainerImageArrayOutput
- type RuntimeVirtualMachineVirtualMachineConfigContainerImageInput
- type RuntimeVirtualMachineVirtualMachineConfigContainerImageOutput
- func (RuntimeVirtualMachineVirtualMachineConfigContainerImageOutput) ElementType() reflect.Type
- func (o RuntimeVirtualMachineVirtualMachineConfigContainerImageOutput) Repository() pulumi.StringOutput
- func (o RuntimeVirtualMachineVirtualMachineConfigContainerImageOutput) Tag() pulumi.StringPtrOutput
- func (o RuntimeVirtualMachineVirtualMachineConfigContainerImageOutput) ToRuntimeVirtualMachineVirtualMachineConfigContainerImageOutput() RuntimeVirtualMachineVirtualMachineConfigContainerImageOutput
- func (o RuntimeVirtualMachineVirtualMachineConfigContainerImageOutput) ToRuntimeVirtualMachineVirtualMachineConfigContainerImageOutputWithContext(ctx context.Context) RuntimeVirtualMachineVirtualMachineConfigContainerImageOutput
- type RuntimeVirtualMachineVirtualMachineConfigDataDisk
- type RuntimeVirtualMachineVirtualMachineConfigDataDiskArgs
- func (RuntimeVirtualMachineVirtualMachineConfigDataDiskArgs) ElementType() reflect.Type
- func (i RuntimeVirtualMachineVirtualMachineConfigDataDiskArgs) ToRuntimeVirtualMachineVirtualMachineConfigDataDiskOutput() RuntimeVirtualMachineVirtualMachineConfigDataDiskOutput
- func (i RuntimeVirtualMachineVirtualMachineConfigDataDiskArgs) ToRuntimeVirtualMachineVirtualMachineConfigDataDiskOutputWithContext(ctx context.Context) RuntimeVirtualMachineVirtualMachineConfigDataDiskOutput
- func (i RuntimeVirtualMachineVirtualMachineConfigDataDiskArgs) ToRuntimeVirtualMachineVirtualMachineConfigDataDiskPtrOutput() RuntimeVirtualMachineVirtualMachineConfigDataDiskPtrOutput
- func (i RuntimeVirtualMachineVirtualMachineConfigDataDiskArgs) ToRuntimeVirtualMachineVirtualMachineConfigDataDiskPtrOutputWithContext(ctx context.Context) RuntimeVirtualMachineVirtualMachineConfigDataDiskPtrOutput
- type RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParams
- type RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsArgs
- func (RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsArgs) ElementType() reflect.Type
- func (i RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsArgs) ToRuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsOutput() RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsOutput
- func (i RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsArgs) ToRuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsOutputWithContext(ctx context.Context) RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsOutput
- func (i RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsArgs) ToRuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsPtrOutput() RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsPtrOutput
- func (i RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsArgs) ToRuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsPtrOutputWithContext(ctx context.Context) RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsPtrOutput
- type RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsInput
- type RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsOutput
- func (o RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsOutput) Description() pulumi.StringPtrOutput
- func (o RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsOutput) DiskName() pulumi.StringPtrOutput
- func (o RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsOutput) DiskSizeGb() pulumi.IntPtrOutput
- func (o RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsOutput) DiskType() pulumi.StringPtrOutput
- func (RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsOutput) ElementType() reflect.Type
- func (o RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsOutput) Labels() pulumi.StringMapOutput
- func (o RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsOutput) ToRuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsOutput() RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsOutput
- func (o RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsOutput) ToRuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsOutputWithContext(ctx context.Context) RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsOutput
- func (o RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsOutput) ToRuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsPtrOutput() RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsPtrOutput
- func (o RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsOutput) ToRuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsPtrOutputWithContext(ctx context.Context) RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsPtrOutput
- type RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsPtrInput
- type RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsPtrOutput
- func (o RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsPtrOutput) Description() pulumi.StringPtrOutput
- func (o RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsPtrOutput) DiskName() pulumi.StringPtrOutput
- func (o RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsPtrOutput) DiskSizeGb() pulumi.IntPtrOutput
- func (o RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsPtrOutput) DiskType() pulumi.StringPtrOutput
- func (o RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsPtrOutput) Elem() RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsOutput
- func (RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsPtrOutput) ElementType() reflect.Type
- func (o RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsPtrOutput) Labels() pulumi.StringMapOutput
- func (o RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsPtrOutput) ToRuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsPtrOutput() RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsPtrOutput
- func (o RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsPtrOutput) ToRuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsPtrOutputWithContext(ctx context.Context) RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsPtrOutput
- type RuntimeVirtualMachineVirtualMachineConfigDataDiskInput
- type RuntimeVirtualMachineVirtualMachineConfigDataDiskOutput
- func (o RuntimeVirtualMachineVirtualMachineConfigDataDiskOutput) AutoDelete() pulumi.BoolPtrOutput
- func (o RuntimeVirtualMachineVirtualMachineConfigDataDiskOutput) Boot() pulumi.BoolPtrOutput
- func (o RuntimeVirtualMachineVirtualMachineConfigDataDiskOutput) DeviceName() pulumi.StringPtrOutput
- func (RuntimeVirtualMachineVirtualMachineConfigDataDiskOutput) ElementType() reflect.Type
- func (o RuntimeVirtualMachineVirtualMachineConfigDataDiskOutput) GuestOsFeatures() pulumi.StringArrayOutput
- func (o RuntimeVirtualMachineVirtualMachineConfigDataDiskOutput) Index() pulumi.IntPtrOutput
- func (o RuntimeVirtualMachineVirtualMachineConfigDataDiskOutput) InitializeParams() RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsPtrOutput
- func (o RuntimeVirtualMachineVirtualMachineConfigDataDiskOutput) Interface() pulumi.StringPtrOutput
- func (o RuntimeVirtualMachineVirtualMachineConfigDataDiskOutput) Kind() pulumi.StringPtrOutput
- func (o RuntimeVirtualMachineVirtualMachineConfigDataDiskOutput) Licenses() pulumi.StringArrayOutput
- func (o RuntimeVirtualMachineVirtualMachineConfigDataDiskOutput) Mode() pulumi.StringPtrOutput
- func (o RuntimeVirtualMachineVirtualMachineConfigDataDiskOutput) Source() pulumi.StringPtrOutput
- func (o RuntimeVirtualMachineVirtualMachineConfigDataDiskOutput) ToRuntimeVirtualMachineVirtualMachineConfigDataDiskOutput() RuntimeVirtualMachineVirtualMachineConfigDataDiskOutput
- func (o RuntimeVirtualMachineVirtualMachineConfigDataDiskOutput) ToRuntimeVirtualMachineVirtualMachineConfigDataDiskOutputWithContext(ctx context.Context) RuntimeVirtualMachineVirtualMachineConfigDataDiskOutput
- func (o RuntimeVirtualMachineVirtualMachineConfigDataDiskOutput) ToRuntimeVirtualMachineVirtualMachineConfigDataDiskPtrOutput() RuntimeVirtualMachineVirtualMachineConfigDataDiskPtrOutput
- func (o RuntimeVirtualMachineVirtualMachineConfigDataDiskOutput) ToRuntimeVirtualMachineVirtualMachineConfigDataDiskPtrOutputWithContext(ctx context.Context) RuntimeVirtualMachineVirtualMachineConfigDataDiskPtrOutput
- func (o RuntimeVirtualMachineVirtualMachineConfigDataDiskOutput) Type() pulumi.StringPtrOutput
- type RuntimeVirtualMachineVirtualMachineConfigDataDiskPtrInput
- type RuntimeVirtualMachineVirtualMachineConfigDataDiskPtrOutput
- func (o RuntimeVirtualMachineVirtualMachineConfigDataDiskPtrOutput) AutoDelete() pulumi.BoolPtrOutput
- func (o RuntimeVirtualMachineVirtualMachineConfigDataDiskPtrOutput) Boot() pulumi.BoolPtrOutput
- func (o RuntimeVirtualMachineVirtualMachineConfigDataDiskPtrOutput) DeviceName() pulumi.StringPtrOutput
- func (o RuntimeVirtualMachineVirtualMachineConfigDataDiskPtrOutput) Elem() RuntimeVirtualMachineVirtualMachineConfigDataDiskOutput
- func (RuntimeVirtualMachineVirtualMachineConfigDataDiskPtrOutput) ElementType() reflect.Type
- func (o RuntimeVirtualMachineVirtualMachineConfigDataDiskPtrOutput) GuestOsFeatures() pulumi.StringArrayOutput
- func (o RuntimeVirtualMachineVirtualMachineConfigDataDiskPtrOutput) Index() pulumi.IntPtrOutput
- func (o RuntimeVirtualMachineVirtualMachineConfigDataDiskPtrOutput) InitializeParams() RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsPtrOutput
- func (o RuntimeVirtualMachineVirtualMachineConfigDataDiskPtrOutput) Interface() pulumi.StringPtrOutput
- func (o RuntimeVirtualMachineVirtualMachineConfigDataDiskPtrOutput) Kind() pulumi.StringPtrOutput
- func (o RuntimeVirtualMachineVirtualMachineConfigDataDiskPtrOutput) Licenses() pulumi.StringArrayOutput
- func (o RuntimeVirtualMachineVirtualMachineConfigDataDiskPtrOutput) Mode() pulumi.StringPtrOutput
- func (o RuntimeVirtualMachineVirtualMachineConfigDataDiskPtrOutput) Source() pulumi.StringPtrOutput
- func (o RuntimeVirtualMachineVirtualMachineConfigDataDiskPtrOutput) ToRuntimeVirtualMachineVirtualMachineConfigDataDiskPtrOutput() RuntimeVirtualMachineVirtualMachineConfigDataDiskPtrOutput
- func (o RuntimeVirtualMachineVirtualMachineConfigDataDiskPtrOutput) ToRuntimeVirtualMachineVirtualMachineConfigDataDiskPtrOutputWithContext(ctx context.Context) RuntimeVirtualMachineVirtualMachineConfigDataDiskPtrOutput
- func (o RuntimeVirtualMachineVirtualMachineConfigDataDiskPtrOutput) Type() pulumi.StringPtrOutput
- type RuntimeVirtualMachineVirtualMachineConfigEncryptionConfig
- type RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigArgs
- func (RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigArgs) ElementType() reflect.Type
- func (i RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigArgs) ToRuntimeVirtualMachineVirtualMachineConfigEncryptionConfigOutput() RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigOutput
- func (i RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigArgs) ToRuntimeVirtualMachineVirtualMachineConfigEncryptionConfigOutputWithContext(ctx context.Context) RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigOutput
- func (i RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigArgs) ToRuntimeVirtualMachineVirtualMachineConfigEncryptionConfigPtrOutput() RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigPtrOutput
- func (i RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigArgs) ToRuntimeVirtualMachineVirtualMachineConfigEncryptionConfigPtrOutputWithContext(ctx context.Context) RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigPtrOutput
- type RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigInput
- type RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigOutput
- func (RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigOutput) ElementType() reflect.Type
- func (o RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigOutput) KmsKey() pulumi.StringPtrOutput
- func (o RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigOutput) ToRuntimeVirtualMachineVirtualMachineConfigEncryptionConfigOutput() RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigOutput
- func (o RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigOutput) ToRuntimeVirtualMachineVirtualMachineConfigEncryptionConfigOutputWithContext(ctx context.Context) RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigOutput
- func (o RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigOutput) ToRuntimeVirtualMachineVirtualMachineConfigEncryptionConfigPtrOutput() RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigPtrOutput
- func (o RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigOutput) ToRuntimeVirtualMachineVirtualMachineConfigEncryptionConfigPtrOutputWithContext(ctx context.Context) RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigPtrOutput
- type RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigPtrInput
- type RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigPtrOutput
- func (o RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigPtrOutput) Elem() RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigOutput
- func (RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigPtrOutput) ElementType() reflect.Type
- func (o RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigPtrOutput) KmsKey() pulumi.StringPtrOutput
- func (o RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigPtrOutput) ToRuntimeVirtualMachineVirtualMachineConfigEncryptionConfigPtrOutput() RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigPtrOutput
- func (o RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigPtrOutput) ToRuntimeVirtualMachineVirtualMachineConfigEncryptionConfigPtrOutputWithContext(ctx context.Context) RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigPtrOutput
- type RuntimeVirtualMachineVirtualMachineConfigInput
- type RuntimeVirtualMachineVirtualMachineConfigOutput
- func (o RuntimeVirtualMachineVirtualMachineConfigOutput) AcceleratorConfig() RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigPtrOutput
- func (o RuntimeVirtualMachineVirtualMachineConfigOutput) ContainerImages() RuntimeVirtualMachineVirtualMachineConfigContainerImageArrayOutput
- func (o RuntimeVirtualMachineVirtualMachineConfigOutput) DataDisk() RuntimeVirtualMachineVirtualMachineConfigDataDiskOutput
- func (RuntimeVirtualMachineVirtualMachineConfigOutput) ElementType() reflect.Type
- func (o RuntimeVirtualMachineVirtualMachineConfigOutput) EncryptionConfig() RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigPtrOutput
- func (o RuntimeVirtualMachineVirtualMachineConfigOutput) GuestAttributes() pulumi.StringMapOutput
- func (o RuntimeVirtualMachineVirtualMachineConfigOutput) InternalIpOnly() pulumi.BoolPtrOutput
- func (o RuntimeVirtualMachineVirtualMachineConfigOutput) Labels() pulumi.StringMapOutput
- func (o RuntimeVirtualMachineVirtualMachineConfigOutput) MachineType() pulumi.StringOutput
- func (o RuntimeVirtualMachineVirtualMachineConfigOutput) Metadata() pulumi.StringMapOutput
- func (o RuntimeVirtualMachineVirtualMachineConfigOutput) Network() pulumi.StringPtrOutput
- func (o RuntimeVirtualMachineVirtualMachineConfigOutput) NicType() pulumi.StringPtrOutput
- func (o RuntimeVirtualMachineVirtualMachineConfigOutput) ReservedIpRange() pulumi.StringPtrOutput
- func (o RuntimeVirtualMachineVirtualMachineConfigOutput) ShieldedInstanceConfig() RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigPtrOutput
- func (o RuntimeVirtualMachineVirtualMachineConfigOutput) Subnet() pulumi.StringPtrOutput
- func (o RuntimeVirtualMachineVirtualMachineConfigOutput) Tags() pulumi.StringArrayOutput
- func (o RuntimeVirtualMachineVirtualMachineConfigOutput) ToRuntimeVirtualMachineVirtualMachineConfigOutput() RuntimeVirtualMachineVirtualMachineConfigOutput
- func (o RuntimeVirtualMachineVirtualMachineConfigOutput) ToRuntimeVirtualMachineVirtualMachineConfigOutputWithContext(ctx context.Context) RuntimeVirtualMachineVirtualMachineConfigOutput
- func (o RuntimeVirtualMachineVirtualMachineConfigOutput) ToRuntimeVirtualMachineVirtualMachineConfigPtrOutput() RuntimeVirtualMachineVirtualMachineConfigPtrOutput
- func (o RuntimeVirtualMachineVirtualMachineConfigOutput) ToRuntimeVirtualMachineVirtualMachineConfigPtrOutputWithContext(ctx context.Context) RuntimeVirtualMachineVirtualMachineConfigPtrOutput
- func (o RuntimeVirtualMachineVirtualMachineConfigOutput) Zone() pulumi.StringPtrOutput
- type RuntimeVirtualMachineVirtualMachineConfigPtrInput
- type RuntimeVirtualMachineVirtualMachineConfigPtrOutput
- func (o RuntimeVirtualMachineVirtualMachineConfigPtrOutput) AcceleratorConfig() RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigPtrOutput
- func (o RuntimeVirtualMachineVirtualMachineConfigPtrOutput) ContainerImages() RuntimeVirtualMachineVirtualMachineConfigContainerImageArrayOutput
- func (o RuntimeVirtualMachineVirtualMachineConfigPtrOutput) DataDisk() RuntimeVirtualMachineVirtualMachineConfigDataDiskPtrOutput
- func (o RuntimeVirtualMachineVirtualMachineConfigPtrOutput) Elem() RuntimeVirtualMachineVirtualMachineConfigOutput
- func (RuntimeVirtualMachineVirtualMachineConfigPtrOutput) ElementType() reflect.Type
- func (o RuntimeVirtualMachineVirtualMachineConfigPtrOutput) EncryptionConfig() RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigPtrOutput
- func (o RuntimeVirtualMachineVirtualMachineConfigPtrOutput) GuestAttributes() pulumi.StringMapOutput
- func (o RuntimeVirtualMachineVirtualMachineConfigPtrOutput) InternalIpOnly() pulumi.BoolPtrOutput
- func (o RuntimeVirtualMachineVirtualMachineConfigPtrOutput) Labels() pulumi.StringMapOutput
- func (o RuntimeVirtualMachineVirtualMachineConfigPtrOutput) MachineType() pulumi.StringPtrOutput
- func (o RuntimeVirtualMachineVirtualMachineConfigPtrOutput) Metadata() pulumi.StringMapOutput
- func (o RuntimeVirtualMachineVirtualMachineConfigPtrOutput) Network() pulumi.StringPtrOutput
- func (o RuntimeVirtualMachineVirtualMachineConfigPtrOutput) NicType() pulumi.StringPtrOutput
- func (o RuntimeVirtualMachineVirtualMachineConfigPtrOutput) ReservedIpRange() pulumi.StringPtrOutput
- func (o RuntimeVirtualMachineVirtualMachineConfigPtrOutput) ShieldedInstanceConfig() RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigPtrOutput
- func (o RuntimeVirtualMachineVirtualMachineConfigPtrOutput) Subnet() pulumi.StringPtrOutput
- func (o RuntimeVirtualMachineVirtualMachineConfigPtrOutput) Tags() pulumi.StringArrayOutput
- func (o RuntimeVirtualMachineVirtualMachineConfigPtrOutput) ToRuntimeVirtualMachineVirtualMachineConfigPtrOutput() RuntimeVirtualMachineVirtualMachineConfigPtrOutput
- func (o RuntimeVirtualMachineVirtualMachineConfigPtrOutput) ToRuntimeVirtualMachineVirtualMachineConfigPtrOutputWithContext(ctx context.Context) RuntimeVirtualMachineVirtualMachineConfigPtrOutput
- func (o RuntimeVirtualMachineVirtualMachineConfigPtrOutput) Zone() pulumi.StringPtrOutput
- type RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfig
- type RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigArgs
- func (RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigArgs) ElementType() reflect.Type
- func (i RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigArgs) ToRuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigOutput() RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigOutput
- func (i RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigArgs) ToRuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigOutputWithContext(ctx context.Context) RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigOutput
- func (i RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigArgs) ToRuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigPtrOutput() RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigPtrOutput
- func (i RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigArgs) ToRuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigPtrOutputWithContext(ctx context.Context) RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigPtrOutput
- type RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigInput
- type RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigOutput
- func (RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigOutput) ElementType() reflect.Type
- func (o RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigOutput) EnableIntegrityMonitoring() pulumi.BoolPtrOutput
- func (o RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigOutput) EnableSecureBoot() pulumi.BoolPtrOutput
- func (o RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigOutput) EnableVtpm() pulumi.BoolPtrOutput
- func (o RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigOutput) ToRuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigOutput() RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigOutput
- func (o RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigOutput) ToRuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigOutputWithContext(ctx context.Context) RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigOutput
- func (o RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigOutput) ToRuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigPtrOutput() RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigPtrOutput
- func (o RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigOutput) ToRuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigPtrOutputWithContext(ctx context.Context) RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigPtrOutput
- type RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigPtrInput
- type RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigPtrOutput
- func (o RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigPtrOutput) Elem() RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigOutput
- func (RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigPtrOutput) ElementType() reflect.Type
- func (o RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigPtrOutput) EnableIntegrityMonitoring() pulumi.BoolPtrOutput
- func (o RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigPtrOutput) EnableSecureBoot() pulumi.BoolPtrOutput
- func (o RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigPtrOutput) EnableVtpm() pulumi.BoolPtrOutput
- func (o RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigPtrOutput) ToRuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigPtrOutput() RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigPtrOutput
- func (o RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigPtrOutput) ToRuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigPtrOutputWithContext(ctx context.Context) RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigPtrOutput
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Environment ¶
type Environment struct { pulumi.CustomResourceState // Use a container image to start the notebook instance. // Structure is documented below. ContainerImage EnvironmentContainerImagePtrOutput `pulumi:"containerImage"` // Instance creation time CreateTime pulumi.StringOutput `pulumi:"createTime"` // A brief description of this environment. Description pulumi.StringPtrOutput `pulumi:"description"` // Display name of this environment for the UI. DisplayName pulumi.StringPtrOutput `pulumi:"displayName"` // A reference to the zone where the machine resides. // // *** Location pulumi.StringOutput `pulumi:"location"` // The name specified for the Environment instance. // Format: projects/{project_id}/locations/{location}/environments/{environmentId} Name pulumi.StringOutput `pulumi:"name"` // Path to a Bash script that automatically runs after a notebook instance fully boots up. // The path must be a URL or Cloud Storage path. Example: "gs://path-to-file/file-name" PostStartupScript pulumi.StringPtrOutput `pulumi:"postStartupScript"` // 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"` // Use a Compute Engine VM image to start the notebook instance. // Structure is documented below. VmImage EnvironmentVmImagePtrOutput `pulumi:"vmImage"` }
A Cloud AI Platform Notebook environment.
To get more information about Environment, see:
* [API documentation](https://cloud.google.com/ai-platform/notebooks/docs/reference/rest) * How-to Guides
- [Official Documentation](https://cloud.google.com/ai-platform-notebooks)
## Example Usage
### Notebook Environment Basic
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/notebooks" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := notebooks.NewEnvironment(ctx, "environment", ¬ebooks.EnvironmentArgs{ Name: pulumi.String("notebooks-environment"), Location: pulumi.String("us-west1-a"), ContainerImage: ¬ebooks.EnvironmentContainerImageArgs{ Repository: pulumi.String("gcr.io/deeplearning-platform-release/base-cpu"), }, }) if err != nil { return err } return nil }) }
```
## Import
Environment can be imported using any of these accepted formats:
* `projects/{{project}}/locations/{{location}}/environments/{{name}}`
* `{{project}}/{{location}}/{{name}}`
* `{{location}}/{{name}}`
When using the `pulumi import` command, Environment can be imported using one of the formats above. For example:
```sh $ pulumi import gcp:notebooks/environment:Environment default projects/{{project}}/locations/{{location}}/environments/{{name}} ```
```sh $ pulumi import gcp:notebooks/environment:Environment default {{project}}/{{location}}/{{name}} ```
```sh $ pulumi import gcp:notebooks/environment:Environment default {{location}}/{{name}} ```
func GetEnvironment ¶
func GetEnvironment(ctx *pulumi.Context, name string, id pulumi.IDInput, state *EnvironmentState, opts ...pulumi.ResourceOption) (*Environment, error)
GetEnvironment gets an existing Environment 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 NewEnvironment ¶
func NewEnvironment(ctx *pulumi.Context, name string, args *EnvironmentArgs, opts ...pulumi.ResourceOption) (*Environment, error)
NewEnvironment registers a new resource with the given unique name, arguments, and options.
func (*Environment) ElementType ¶
func (*Environment) ElementType() reflect.Type
func (*Environment) ToEnvironmentOutput ¶
func (i *Environment) ToEnvironmentOutput() EnvironmentOutput
func (*Environment) ToEnvironmentOutputWithContext ¶
func (i *Environment) ToEnvironmentOutputWithContext(ctx context.Context) EnvironmentOutput
type EnvironmentArgs ¶
type EnvironmentArgs struct { // Use a container image to start the notebook instance. // Structure is documented below. ContainerImage EnvironmentContainerImagePtrInput // A brief description of this environment. Description pulumi.StringPtrInput // Display name of this environment for the UI. DisplayName pulumi.StringPtrInput // A reference to the zone where the machine resides. // // *** Location pulumi.StringInput // The name specified for the Environment instance. // Format: projects/{project_id}/locations/{location}/environments/{environmentId} Name pulumi.StringPtrInput // Path to a Bash script that automatically runs after a notebook instance fully boots up. // The path must be a URL or Cloud Storage path. Example: "gs://path-to-file/file-name" PostStartupScript 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 // Use a Compute Engine VM image to start the notebook instance. // Structure is documented below. VmImage EnvironmentVmImagePtrInput }
The set of arguments for constructing a Environment resource.
func (EnvironmentArgs) ElementType ¶
func (EnvironmentArgs) ElementType() reflect.Type
type EnvironmentArray ¶
type EnvironmentArray []EnvironmentInput
func (EnvironmentArray) ElementType ¶
func (EnvironmentArray) ElementType() reflect.Type
func (EnvironmentArray) ToEnvironmentArrayOutput ¶
func (i EnvironmentArray) ToEnvironmentArrayOutput() EnvironmentArrayOutput
func (EnvironmentArray) ToEnvironmentArrayOutputWithContext ¶
func (i EnvironmentArray) ToEnvironmentArrayOutputWithContext(ctx context.Context) EnvironmentArrayOutput
type EnvironmentArrayInput ¶
type EnvironmentArrayInput interface { pulumi.Input ToEnvironmentArrayOutput() EnvironmentArrayOutput ToEnvironmentArrayOutputWithContext(context.Context) EnvironmentArrayOutput }
EnvironmentArrayInput is an input type that accepts EnvironmentArray and EnvironmentArrayOutput values. You can construct a concrete instance of `EnvironmentArrayInput` via:
EnvironmentArray{ EnvironmentArgs{...} }
type EnvironmentArrayOutput ¶
type EnvironmentArrayOutput struct{ *pulumi.OutputState }
func (EnvironmentArrayOutput) ElementType ¶
func (EnvironmentArrayOutput) ElementType() reflect.Type
func (EnvironmentArrayOutput) Index ¶
func (o EnvironmentArrayOutput) Index(i pulumi.IntInput) EnvironmentOutput
func (EnvironmentArrayOutput) ToEnvironmentArrayOutput ¶
func (o EnvironmentArrayOutput) ToEnvironmentArrayOutput() EnvironmentArrayOutput
func (EnvironmentArrayOutput) ToEnvironmentArrayOutputWithContext ¶
func (o EnvironmentArrayOutput) ToEnvironmentArrayOutputWithContext(ctx context.Context) EnvironmentArrayOutput
type EnvironmentContainerImageArgs ¶
type EnvironmentContainerImageArgs struct { // The path to the container image repository. // For example: gcr.io/{project_id}/{imageName} Repository pulumi.StringInput `pulumi:"repository"` // The tag of the container image. If not specified, this defaults to the latest tag. Tag pulumi.StringPtrInput `pulumi:"tag"` }
func (EnvironmentContainerImageArgs) ElementType ¶
func (EnvironmentContainerImageArgs) ElementType() reflect.Type
func (EnvironmentContainerImageArgs) ToEnvironmentContainerImageOutput ¶
func (i EnvironmentContainerImageArgs) ToEnvironmentContainerImageOutput() EnvironmentContainerImageOutput
func (EnvironmentContainerImageArgs) ToEnvironmentContainerImageOutputWithContext ¶
func (i EnvironmentContainerImageArgs) ToEnvironmentContainerImageOutputWithContext(ctx context.Context) EnvironmentContainerImageOutput
func (EnvironmentContainerImageArgs) ToEnvironmentContainerImagePtrOutput ¶
func (i EnvironmentContainerImageArgs) ToEnvironmentContainerImagePtrOutput() EnvironmentContainerImagePtrOutput
func (EnvironmentContainerImageArgs) ToEnvironmentContainerImagePtrOutputWithContext ¶
func (i EnvironmentContainerImageArgs) ToEnvironmentContainerImagePtrOutputWithContext(ctx context.Context) EnvironmentContainerImagePtrOutput
type EnvironmentContainerImageInput ¶
type EnvironmentContainerImageInput interface { pulumi.Input ToEnvironmentContainerImageOutput() EnvironmentContainerImageOutput ToEnvironmentContainerImageOutputWithContext(context.Context) EnvironmentContainerImageOutput }
EnvironmentContainerImageInput is an input type that accepts EnvironmentContainerImageArgs and EnvironmentContainerImageOutput values. You can construct a concrete instance of `EnvironmentContainerImageInput` via:
EnvironmentContainerImageArgs{...}
type EnvironmentContainerImageOutput ¶
type EnvironmentContainerImageOutput struct{ *pulumi.OutputState }
func (EnvironmentContainerImageOutput) ElementType ¶
func (EnvironmentContainerImageOutput) ElementType() reflect.Type
func (EnvironmentContainerImageOutput) Repository ¶
func (o EnvironmentContainerImageOutput) Repository() pulumi.StringOutput
The path to the container image repository. For example: gcr.io/{project_id}/{imageName}
func (EnvironmentContainerImageOutput) Tag ¶
func (o EnvironmentContainerImageOutput) Tag() pulumi.StringPtrOutput
The tag of the container image. If not specified, this defaults to the latest tag.
func (EnvironmentContainerImageOutput) ToEnvironmentContainerImageOutput ¶
func (o EnvironmentContainerImageOutput) ToEnvironmentContainerImageOutput() EnvironmentContainerImageOutput
func (EnvironmentContainerImageOutput) ToEnvironmentContainerImageOutputWithContext ¶
func (o EnvironmentContainerImageOutput) ToEnvironmentContainerImageOutputWithContext(ctx context.Context) EnvironmentContainerImageOutput
func (EnvironmentContainerImageOutput) ToEnvironmentContainerImagePtrOutput ¶
func (o EnvironmentContainerImageOutput) ToEnvironmentContainerImagePtrOutput() EnvironmentContainerImagePtrOutput
func (EnvironmentContainerImageOutput) ToEnvironmentContainerImagePtrOutputWithContext ¶
func (o EnvironmentContainerImageOutput) ToEnvironmentContainerImagePtrOutputWithContext(ctx context.Context) EnvironmentContainerImagePtrOutput
type EnvironmentContainerImagePtrInput ¶
type EnvironmentContainerImagePtrInput interface { pulumi.Input ToEnvironmentContainerImagePtrOutput() EnvironmentContainerImagePtrOutput ToEnvironmentContainerImagePtrOutputWithContext(context.Context) EnvironmentContainerImagePtrOutput }
EnvironmentContainerImagePtrInput is an input type that accepts EnvironmentContainerImageArgs, EnvironmentContainerImagePtr and EnvironmentContainerImagePtrOutput values. You can construct a concrete instance of `EnvironmentContainerImagePtrInput` via:
EnvironmentContainerImageArgs{...} or: nil
func EnvironmentContainerImagePtr ¶
func EnvironmentContainerImagePtr(v *EnvironmentContainerImageArgs) EnvironmentContainerImagePtrInput
type EnvironmentContainerImagePtrOutput ¶
type EnvironmentContainerImagePtrOutput struct{ *pulumi.OutputState }
func (EnvironmentContainerImagePtrOutput) Elem ¶
func (o EnvironmentContainerImagePtrOutput) Elem() EnvironmentContainerImageOutput
func (EnvironmentContainerImagePtrOutput) ElementType ¶
func (EnvironmentContainerImagePtrOutput) ElementType() reflect.Type
func (EnvironmentContainerImagePtrOutput) Repository ¶
func (o EnvironmentContainerImagePtrOutput) Repository() pulumi.StringPtrOutput
The path to the container image repository. For example: gcr.io/{project_id}/{imageName}
func (EnvironmentContainerImagePtrOutput) Tag ¶
func (o EnvironmentContainerImagePtrOutput) Tag() pulumi.StringPtrOutput
The tag of the container image. If not specified, this defaults to the latest tag.
func (EnvironmentContainerImagePtrOutput) ToEnvironmentContainerImagePtrOutput ¶
func (o EnvironmentContainerImagePtrOutput) ToEnvironmentContainerImagePtrOutput() EnvironmentContainerImagePtrOutput
func (EnvironmentContainerImagePtrOutput) ToEnvironmentContainerImagePtrOutputWithContext ¶
func (o EnvironmentContainerImagePtrOutput) ToEnvironmentContainerImagePtrOutputWithContext(ctx context.Context) EnvironmentContainerImagePtrOutput
type EnvironmentInput ¶
type EnvironmentInput interface { pulumi.Input ToEnvironmentOutput() EnvironmentOutput ToEnvironmentOutputWithContext(ctx context.Context) EnvironmentOutput }
type EnvironmentMap ¶
type EnvironmentMap map[string]EnvironmentInput
func (EnvironmentMap) ElementType ¶
func (EnvironmentMap) ElementType() reflect.Type
func (EnvironmentMap) ToEnvironmentMapOutput ¶
func (i EnvironmentMap) ToEnvironmentMapOutput() EnvironmentMapOutput
func (EnvironmentMap) ToEnvironmentMapOutputWithContext ¶
func (i EnvironmentMap) ToEnvironmentMapOutputWithContext(ctx context.Context) EnvironmentMapOutput
type EnvironmentMapInput ¶
type EnvironmentMapInput interface { pulumi.Input ToEnvironmentMapOutput() EnvironmentMapOutput ToEnvironmentMapOutputWithContext(context.Context) EnvironmentMapOutput }
EnvironmentMapInput is an input type that accepts EnvironmentMap and EnvironmentMapOutput values. You can construct a concrete instance of `EnvironmentMapInput` via:
EnvironmentMap{ "key": EnvironmentArgs{...} }
type EnvironmentMapOutput ¶
type EnvironmentMapOutput struct{ *pulumi.OutputState }
func (EnvironmentMapOutput) ElementType ¶
func (EnvironmentMapOutput) ElementType() reflect.Type
func (EnvironmentMapOutput) MapIndex ¶
func (o EnvironmentMapOutput) MapIndex(k pulumi.StringInput) EnvironmentOutput
func (EnvironmentMapOutput) ToEnvironmentMapOutput ¶
func (o EnvironmentMapOutput) ToEnvironmentMapOutput() EnvironmentMapOutput
func (EnvironmentMapOutput) ToEnvironmentMapOutputWithContext ¶
func (o EnvironmentMapOutput) ToEnvironmentMapOutputWithContext(ctx context.Context) EnvironmentMapOutput
type EnvironmentOutput ¶
type EnvironmentOutput struct{ *pulumi.OutputState }
func (EnvironmentOutput) ContainerImage ¶
func (o EnvironmentOutput) ContainerImage() EnvironmentContainerImagePtrOutput
Use a container image to start the notebook instance. Structure is documented below.
func (EnvironmentOutput) CreateTime ¶
func (o EnvironmentOutput) CreateTime() pulumi.StringOutput
Instance creation time
func (EnvironmentOutput) Description ¶
func (o EnvironmentOutput) Description() pulumi.StringPtrOutput
A brief description of this environment.
func (EnvironmentOutput) DisplayName ¶
func (o EnvironmentOutput) DisplayName() pulumi.StringPtrOutput
Display name of this environment for the UI.
func (EnvironmentOutput) ElementType ¶
func (EnvironmentOutput) ElementType() reflect.Type
func (EnvironmentOutput) Location ¶
func (o EnvironmentOutput) Location() pulumi.StringOutput
A reference to the zone where the machine resides.
***
func (EnvironmentOutput) Name ¶
func (o EnvironmentOutput) Name() pulumi.StringOutput
The name specified for the Environment instance. Format: projects/{project_id}/locations/{location}/environments/{environmentId}
func (EnvironmentOutput) PostStartupScript ¶
func (o EnvironmentOutput) PostStartupScript() pulumi.StringPtrOutput
Path to a Bash script that automatically runs after a notebook instance fully boots up. The path must be a URL or Cloud Storage path. Example: "gs://path-to-file/file-name"
func (EnvironmentOutput) Project ¶
func (o EnvironmentOutput) Project() pulumi.StringOutput
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
func (EnvironmentOutput) ToEnvironmentOutput ¶
func (o EnvironmentOutput) ToEnvironmentOutput() EnvironmentOutput
func (EnvironmentOutput) ToEnvironmentOutputWithContext ¶
func (o EnvironmentOutput) ToEnvironmentOutputWithContext(ctx context.Context) EnvironmentOutput
func (EnvironmentOutput) VmImage ¶
func (o EnvironmentOutput) VmImage() EnvironmentVmImagePtrOutput
Use a Compute Engine VM image to start the notebook instance. Structure is documented below.
type EnvironmentState ¶
type EnvironmentState struct { // Use a container image to start the notebook instance. // Structure is documented below. ContainerImage EnvironmentContainerImagePtrInput // Instance creation time CreateTime pulumi.StringPtrInput // A brief description of this environment. Description pulumi.StringPtrInput // Display name of this environment for the UI. DisplayName pulumi.StringPtrInput // A reference to the zone where the machine resides. // // *** Location pulumi.StringPtrInput // The name specified for the Environment instance. // Format: projects/{project_id}/locations/{location}/environments/{environmentId} Name pulumi.StringPtrInput // Path to a Bash script that automatically runs after a notebook instance fully boots up. // The path must be a URL or Cloud Storage path. Example: "gs://path-to-file/file-name" PostStartupScript 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 // Use a Compute Engine VM image to start the notebook instance. // Structure is documented below. VmImage EnvironmentVmImagePtrInput }
func (EnvironmentState) ElementType ¶
func (EnvironmentState) ElementType() reflect.Type
type EnvironmentVmImage ¶
type EnvironmentVmImage struct { // Use this VM image family to find the image; the newest image in this family will be used. ImageFamily *string `pulumi:"imageFamily"` // Use VM image name to find the image. ImageName *string `pulumi:"imageName"` // The name of the Google Cloud project that this VM image belongs to. // Format: projects/{project_id} Project string `pulumi:"project"` }
type EnvironmentVmImageArgs ¶
type EnvironmentVmImageArgs struct { // Use this VM image family to find the image; the newest image in this family will be used. ImageFamily pulumi.StringPtrInput `pulumi:"imageFamily"` // Use VM image name to find the image. ImageName pulumi.StringPtrInput `pulumi:"imageName"` // The name of the Google Cloud project that this VM image belongs to. // Format: projects/{project_id} Project pulumi.StringInput `pulumi:"project"` }
func (EnvironmentVmImageArgs) ElementType ¶
func (EnvironmentVmImageArgs) ElementType() reflect.Type
func (EnvironmentVmImageArgs) ToEnvironmentVmImageOutput ¶
func (i EnvironmentVmImageArgs) ToEnvironmentVmImageOutput() EnvironmentVmImageOutput
func (EnvironmentVmImageArgs) ToEnvironmentVmImageOutputWithContext ¶
func (i EnvironmentVmImageArgs) ToEnvironmentVmImageOutputWithContext(ctx context.Context) EnvironmentVmImageOutput
func (EnvironmentVmImageArgs) ToEnvironmentVmImagePtrOutput ¶
func (i EnvironmentVmImageArgs) ToEnvironmentVmImagePtrOutput() EnvironmentVmImagePtrOutput
func (EnvironmentVmImageArgs) ToEnvironmentVmImagePtrOutputWithContext ¶
func (i EnvironmentVmImageArgs) ToEnvironmentVmImagePtrOutputWithContext(ctx context.Context) EnvironmentVmImagePtrOutput
type EnvironmentVmImageInput ¶
type EnvironmentVmImageInput interface { pulumi.Input ToEnvironmentVmImageOutput() EnvironmentVmImageOutput ToEnvironmentVmImageOutputWithContext(context.Context) EnvironmentVmImageOutput }
EnvironmentVmImageInput is an input type that accepts EnvironmentVmImageArgs and EnvironmentVmImageOutput values. You can construct a concrete instance of `EnvironmentVmImageInput` via:
EnvironmentVmImageArgs{...}
type EnvironmentVmImageOutput ¶
type EnvironmentVmImageOutput struct{ *pulumi.OutputState }
func (EnvironmentVmImageOutput) ElementType ¶
func (EnvironmentVmImageOutput) ElementType() reflect.Type
func (EnvironmentVmImageOutput) ImageFamily ¶
func (o EnvironmentVmImageOutput) ImageFamily() pulumi.StringPtrOutput
Use this VM image family to find the image; the newest image in this family will be used.
func (EnvironmentVmImageOutput) ImageName ¶
func (o EnvironmentVmImageOutput) ImageName() pulumi.StringPtrOutput
Use VM image name to find the image.
func (EnvironmentVmImageOutput) Project ¶
func (o EnvironmentVmImageOutput) Project() pulumi.StringOutput
The name of the Google Cloud project that this VM image belongs to. Format: projects/{project_id}
func (EnvironmentVmImageOutput) ToEnvironmentVmImageOutput ¶
func (o EnvironmentVmImageOutput) ToEnvironmentVmImageOutput() EnvironmentVmImageOutput
func (EnvironmentVmImageOutput) ToEnvironmentVmImageOutputWithContext ¶
func (o EnvironmentVmImageOutput) ToEnvironmentVmImageOutputWithContext(ctx context.Context) EnvironmentVmImageOutput
func (EnvironmentVmImageOutput) ToEnvironmentVmImagePtrOutput ¶
func (o EnvironmentVmImageOutput) ToEnvironmentVmImagePtrOutput() EnvironmentVmImagePtrOutput
func (EnvironmentVmImageOutput) ToEnvironmentVmImagePtrOutputWithContext ¶
func (o EnvironmentVmImageOutput) ToEnvironmentVmImagePtrOutputWithContext(ctx context.Context) EnvironmentVmImagePtrOutput
type EnvironmentVmImagePtrInput ¶
type EnvironmentVmImagePtrInput interface { pulumi.Input ToEnvironmentVmImagePtrOutput() EnvironmentVmImagePtrOutput ToEnvironmentVmImagePtrOutputWithContext(context.Context) EnvironmentVmImagePtrOutput }
EnvironmentVmImagePtrInput is an input type that accepts EnvironmentVmImageArgs, EnvironmentVmImagePtr and EnvironmentVmImagePtrOutput values. You can construct a concrete instance of `EnvironmentVmImagePtrInput` via:
EnvironmentVmImageArgs{...} or: nil
func EnvironmentVmImagePtr ¶
func EnvironmentVmImagePtr(v *EnvironmentVmImageArgs) EnvironmentVmImagePtrInput
type EnvironmentVmImagePtrOutput ¶
type EnvironmentVmImagePtrOutput struct{ *pulumi.OutputState }
func (EnvironmentVmImagePtrOutput) Elem ¶
func (o EnvironmentVmImagePtrOutput) Elem() EnvironmentVmImageOutput
func (EnvironmentVmImagePtrOutput) ElementType ¶
func (EnvironmentVmImagePtrOutput) ElementType() reflect.Type
func (EnvironmentVmImagePtrOutput) ImageFamily ¶
func (o EnvironmentVmImagePtrOutput) ImageFamily() pulumi.StringPtrOutput
Use this VM image family to find the image; the newest image in this family will be used.
func (EnvironmentVmImagePtrOutput) ImageName ¶
func (o EnvironmentVmImagePtrOutput) ImageName() pulumi.StringPtrOutput
Use VM image name to find the image.
func (EnvironmentVmImagePtrOutput) Project ¶
func (o EnvironmentVmImagePtrOutput) Project() pulumi.StringPtrOutput
The name of the Google Cloud project that this VM image belongs to. Format: projects/{project_id}
func (EnvironmentVmImagePtrOutput) ToEnvironmentVmImagePtrOutput ¶
func (o EnvironmentVmImagePtrOutput) ToEnvironmentVmImagePtrOutput() EnvironmentVmImagePtrOutput
func (EnvironmentVmImagePtrOutput) ToEnvironmentVmImagePtrOutputWithContext ¶
func (o EnvironmentVmImagePtrOutput) ToEnvironmentVmImagePtrOutputWithContext(ctx context.Context) EnvironmentVmImagePtrOutput
type Instance ¶
type Instance struct { pulumi.CustomResourceState // The hardware accelerator used on this instance. If you use accelerators, // make sure that your configuration has enough vCPUs and memory to support the // machineType you have selected. // Structure is documented below. AcceleratorConfig InstanceAcceleratorConfigPtrOutput `pulumi:"acceleratorConfig"` // The size of the boot disk in GB attached to this instance, // up to a maximum of 64000 GB (64 TB). The minimum recommended value is 100 GB. // If not specified, this defaults to 100. BootDiskSizeGb pulumi.IntPtrOutput `pulumi:"bootDiskSizeGb"` // Possible disk types for notebook instances. // Possible values are: `DISK_TYPE_UNSPECIFIED`, `PD_STANDARD`, `PD_SSD`, `PD_BALANCED`, `PD_EXTREME`. BootDiskType pulumi.StringPtrOutput `pulumi:"bootDiskType"` // Use a container image to start the notebook instance. // Structure is documented below. ContainerImage InstanceContainerImagePtrOutput `pulumi:"containerImage"` // Instance creation time CreateTime pulumi.StringOutput `pulumi:"createTime"` // Specify a custom Cloud Storage path where the GPU driver is stored. // If not specified, we'll automatically choose from official GPU drivers. CustomGpuDriverPath pulumi.StringPtrOutput `pulumi:"customGpuDriverPath"` // The size of the data disk in GB attached to this instance, // up to a maximum of 64000 GB (64 TB). // You can choose the size of the data disk based on how big your notebooks and data are. // If not specified, this defaults to 100. DataDiskSizeGb pulumi.IntPtrOutput `pulumi:"dataDiskSizeGb"` // Possible disk types for notebook instances. // Possible values are: `DISK_TYPE_UNSPECIFIED`, `PD_STANDARD`, `PD_SSD`, `PD_BALANCED`, `PD_EXTREME`. DataDiskType pulumi.StringPtrOutput `pulumi:"dataDiskType"` // Desired state of the Notebook Instance. Set this field to `ACTIVE` to start the Instance, and `STOPPED` to stop the Instance. DesiredState pulumi.StringPtrOutput `pulumi:"desiredState"` // Disk encryption method used on the boot and data disks, defaults to GMEK. // Possible values are: `DISK_ENCRYPTION_UNSPECIFIED`, `GMEK`, `CMEK`. DiskEncryption pulumi.StringOutput `pulumi:"diskEncryption"` // 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 the end user authorizes Google Cloud to install GPU driver // on this instance. If this field is empty or set to false, the GPU driver // won't be installed. Only applicable to instances with GPUs. InstallGpuDriver pulumi.BoolPtrOutput `pulumi:"installGpuDriver"` // The list of owners of this instance after creation. // Format: alias@example.com. // Currently supports one owner only. // If not specified, all of the service account users of // your VM instance's service account can use the instance. InstanceOwners pulumi.StringArrayOutput `pulumi:"instanceOwners"` // The KMS key used to encrypt the disks, only applicable if diskEncryption is CMEK. // Format: projects/{project_id}/locations/{location}/keyRings/{key_ring_id}/cryptoKeys/{key_id} KmsKey pulumi.StringPtrOutput `pulumi:"kmsKey"` // Labels to apply to this instance. These can be later modified by the setLabels method. // An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }. // // **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"` // A reference to the zone where the machine resides. // // *** Location pulumi.StringOutput `pulumi:"location"` // A reference to a machine type which defines VM kind. MachineType pulumi.StringOutput `pulumi:"machineType"` // Custom metadata to apply to this instance. // An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }. Metadata pulumi.StringMapOutput `pulumi:"metadata"` // The name specified for the Notebook instance. Name pulumi.StringOutput `pulumi:"name"` // The name of the VPC that this instance is in. // Format: projects/{project_id}/global/networks/{network_id} Network pulumi.StringOutput `pulumi:"network"` // The type of vNIC driver. // Possible values are: `UNSPECIFIED_NIC_TYPE`, `VIRTIO_NET`, `GVNIC`. NicType pulumi.StringPtrOutput `pulumi:"nicType"` // The notebook instance will not register with the proxy.. NoProxyAccess pulumi.BoolPtrOutput `pulumi:"noProxyAccess"` // No public IP will be assigned to this instance. NoPublicIp pulumi.BoolPtrOutput `pulumi:"noPublicIp"` // If true, the data disk will not be auto deleted when deleting the instance. NoRemoveDataDisk pulumi.BoolPtrOutput `pulumi:"noRemoveDataDisk"` // Path to a Bash script that automatically runs after a // notebook instance fully boots up. The path must be a URL // or Cloud Storage path (gs://path-to-file/file-name). PostStartupScript pulumi.StringPtrOutput `pulumi:"postStartupScript"` // 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 proxy endpoint that is used to access the Jupyter notebook. // Only returned when the resource is in a `PROVISIONED` state. If // needed you can utilize `pulumi up -refresh-only` to await // the population of this value. ProxyUri pulumi.StringOutput `pulumi:"proxyUri"` // The combination of labels configured directly on the resource // and default labels configured on the provider. PulumiLabels pulumi.StringMapOutput `pulumi:"pulumiLabels"` // Reservation Affinity for consuming Zonal reservation. // Structure is documented below. ReservationAffinity InstanceReservationAffinityPtrOutput `pulumi:"reservationAffinity"` // The service account on this instance, giving access to other // Google Cloud services. You can use any service account within // the same project, but you must have the service account user // permission to use the instance. If not specified, // the Compute Engine default service account is used. ServiceAccount pulumi.StringOutput `pulumi:"serviceAccount"` // Optional. The URIs of service account scopes to be included in Compute Engine instances. // If not specified, the following scopes are defined: // - https://www.googleapis.com/auth/cloud-platform // - https://www.googleapis.com/auth/userinfo.email ServiceAccountScopes pulumi.StringArrayOutput `pulumi:"serviceAccountScopes"` // A set of Shielded Instance options. Check [Images using supported Shielded VM features] // Not all combinations are valid // Structure is documented below. ShieldedInstanceConfig InstanceShieldedInstanceConfigOutput `pulumi:"shieldedInstanceConfig"` // The state of this instance. State pulumi.StringOutput `pulumi:"state"` // The name of the subnet that this instance is in. // Format: projects/{project_id}/regions/{region}/subnetworks/{subnetwork_id} Subnet pulumi.StringOutput `pulumi:"subnet"` // The Compute Engine tags to add to instance. Tags pulumi.StringArrayOutput `pulumi:"tags"` // Instance update time. UpdateTime pulumi.StringOutput `pulumi:"updateTime"` // Use a Compute Engine VM image to start the notebook instance. // Structure is documented below. VmImage InstanceVmImagePtrOutput `pulumi:"vmImage"` }
> **Warning:** `googleNotebookInstance` is deprecated and will be removed in a future major release. Use `workbench.Instance` instead.
A Cloud AI Platform Notebook instance.
> **Note:** Due to limitations of the Notebooks Instance API, many fields in this resource do not properly detect drift. These fields will also not appear in state once imported.
To get more information about Instance, see:
* [API documentation](https://cloud.google.com/ai-platform/notebooks/docs/reference/rest) * How-to Guides
- [Official Documentation](https://cloud.google.com/ai-platform-notebooks)
## Example Usage
### Notebook Instance Basic
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/notebooks" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := notebooks.NewInstance(ctx, "instance", ¬ebooks.InstanceArgs{ Name: pulumi.String("notebooks-instance"), Location: pulumi.String("us-west1-a"), MachineType: pulumi.String("e2-medium"), VmImage: ¬ebooks.InstanceVmImageArgs{ Project: pulumi.String("deeplearning-platform-release"), ImageFamily: pulumi.String("tf-latest-cpu"), }, }) if err != nil { return err } return nil }) }
``` ### Notebook Instance Basic Stopped
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/notebooks" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := notebooks.NewInstance(ctx, "instance", ¬ebooks.InstanceArgs{ Name: pulumi.String("notebooks-instance"), Location: pulumi.String("us-west1-a"), MachineType: pulumi.String("e2-medium"), VmImage: ¬ebooks.InstanceVmImageArgs{ Project: pulumi.String("deeplearning-platform-release"), ImageFamily: pulumi.String("tf-latest-cpu"), }, DesiredState: pulumi.String("STOPPED"), }) if err != nil { return err } return nil }) }
``` ### Notebook Instance Basic Container
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/notebooks" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := notebooks.NewInstance(ctx, "instance", ¬ebooks.InstanceArgs{ Name: pulumi.String("notebooks-instance"), Location: pulumi.String("us-west1-a"), MachineType: pulumi.String("e2-medium"), Metadata: pulumi.StringMap{ "proxy-mode": pulumi.String("service_account"), }, ContainerImage: ¬ebooks.InstanceContainerImageArgs{ Repository: pulumi.String("gcr.io/deeplearning-platform-release/base-cpu"), Tag: pulumi.String("latest"), }, }) if err != nil { return err } return nil }) }
``` ### Notebook Instance Basic Gpu
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/notebooks" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := notebooks.NewInstance(ctx, "instance", ¬ebooks.InstanceArgs{ Name: pulumi.String("notebooks-instance"), Location: pulumi.String("us-west1-a"), MachineType: pulumi.String("n1-standard-1"), InstallGpuDriver: pulumi.Bool(true), AcceleratorConfig: ¬ebooks.InstanceAcceleratorConfigArgs{ Type: pulumi.String("NVIDIA_TESLA_T4"), CoreCount: pulumi.Int(1), }, VmImage: ¬ebooks.InstanceVmImageArgs{ Project: pulumi.String("deeplearning-platform-release"), ImageFamily: pulumi.String("tf-latest-gpu"), }, }) if err != nil { return err } return nil }) }
``` ### Notebook Instance Full
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/compute" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/notebooks" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { myNetwork, err := compute.LookupNetwork(ctx, &compute.LookupNetworkArgs{ Name: "default", }, nil) if err != nil { return err } mySubnetwork, err := compute.LookupSubnetwork(ctx, &compute.LookupSubnetworkArgs{ Name: pulumi.StringRef("default"), Region: pulumi.StringRef("us-central1"), }, nil) if err != nil { return err } _, err = notebooks.NewInstance(ctx, "instance", ¬ebooks.InstanceArgs{ Name: pulumi.String("notebooks-instance"), Location: pulumi.String("us-central1-a"), MachineType: pulumi.String("e2-medium"), VmImage: ¬ebooks.InstanceVmImageArgs{ Project: pulumi.String("deeplearning-platform-release"), ImageFamily: pulumi.String("tf-latest-cpu"), }, InstanceOwners: pulumi.StringArray{ pulumi.String("my@service-account.com"), }, ServiceAccount: pulumi.String("my@service-account.com"), InstallGpuDriver: pulumi.Bool(true), BootDiskType: pulumi.String("PD_SSD"), BootDiskSizeGb: pulumi.Int(110), NoPublicIp: pulumi.Bool(true), NoProxyAccess: pulumi.Bool(true), Network: pulumi.String(myNetwork.Id), Subnet: pulumi.String(mySubnetwork.Id), Labels: pulumi.StringMap{ "k": pulumi.String("val"), }, Metadata: pulumi.StringMap{ "terraform": pulumi.String("true"), }, ServiceAccountScopes: pulumi.StringArray{ pulumi.String("https://www.googleapis.com/auth/bigquery"), pulumi.String("https://www.googleapis.com/auth/devstorage.read_write"), pulumi.String("https://www.googleapis.com/auth/cloud-platform"), pulumi.String("https://www.googleapis.com/auth/userinfo.email"), }, Tags: pulumi.StringArray{ pulumi.String("foo"), pulumi.String("bar"), }, DiskEncryption: pulumi.String("CMEK"), KmsKey: pulumi.String("my-crypto-key"), DesiredState: pulumi.String("ACTIVE"), }) if err != nil { return err } return nil }) }
```
## Import
Instance can be imported using any of these accepted formats:
* `projects/{{project}}/locations/{{location}}/instances/{{name}}`
* `{{project}}/{{location}}/{{name}}`
* `{{location}}/{{name}}`
When using the `pulumi import` command, Instance can be imported using one of the formats above. For example:
```sh $ pulumi import gcp:notebooks/instance:Instance default projects/{{project}}/locations/{{location}}/instances/{{name}} ```
```sh $ pulumi import gcp:notebooks/instance:Instance default {{project}}/{{location}}/{{name}} ```
```sh $ pulumi import gcp:notebooks/instance:Instance default {{location}}/{{name}} ```
func GetInstance ¶
func GetInstance(ctx *pulumi.Context, name string, id pulumi.IDInput, state *InstanceState, opts ...pulumi.ResourceOption) (*Instance, error)
GetInstance gets an existing Instance 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 NewInstance ¶
func NewInstance(ctx *pulumi.Context, name string, args *InstanceArgs, opts ...pulumi.ResourceOption) (*Instance, error)
NewInstance registers a new resource with the given unique name, arguments, and options.
func (*Instance) ElementType ¶
func (*Instance) ToInstanceOutput ¶
func (i *Instance) ToInstanceOutput() InstanceOutput
func (*Instance) ToInstanceOutputWithContext ¶
func (i *Instance) ToInstanceOutputWithContext(ctx context.Context) InstanceOutput
type InstanceAcceleratorConfig ¶
type InstanceAcceleratorConfig struct { // Count of cores of this accelerator. CoreCount int `pulumi:"coreCount"` // Type of this accelerator. // Possible values are: `ACCELERATOR_TYPE_UNSPECIFIED`, `NVIDIA_TESLA_K80`, `NVIDIA_TESLA_P100`, `NVIDIA_TESLA_V100`, `NVIDIA_TESLA_P4`, `NVIDIA_TESLA_T4`, `NVIDIA_TESLA_T4_VWS`, `NVIDIA_TESLA_P100_VWS`, `NVIDIA_TESLA_P4_VWS`, `NVIDIA_TESLA_A100`, `TPU_V2`, `TPU_V3`. Type string `pulumi:"type"` }
type InstanceAcceleratorConfigArgs ¶
type InstanceAcceleratorConfigArgs struct { // Count of cores of this accelerator. CoreCount pulumi.IntInput `pulumi:"coreCount"` // Type of this accelerator. // Possible values are: `ACCELERATOR_TYPE_UNSPECIFIED`, `NVIDIA_TESLA_K80`, `NVIDIA_TESLA_P100`, `NVIDIA_TESLA_V100`, `NVIDIA_TESLA_P4`, `NVIDIA_TESLA_T4`, `NVIDIA_TESLA_T4_VWS`, `NVIDIA_TESLA_P100_VWS`, `NVIDIA_TESLA_P4_VWS`, `NVIDIA_TESLA_A100`, `TPU_V2`, `TPU_V3`. Type pulumi.StringInput `pulumi:"type"` }
func (InstanceAcceleratorConfigArgs) ElementType ¶
func (InstanceAcceleratorConfigArgs) ElementType() reflect.Type
func (InstanceAcceleratorConfigArgs) ToInstanceAcceleratorConfigOutput ¶
func (i InstanceAcceleratorConfigArgs) ToInstanceAcceleratorConfigOutput() InstanceAcceleratorConfigOutput
func (InstanceAcceleratorConfigArgs) ToInstanceAcceleratorConfigOutputWithContext ¶
func (i InstanceAcceleratorConfigArgs) ToInstanceAcceleratorConfigOutputWithContext(ctx context.Context) InstanceAcceleratorConfigOutput
func (InstanceAcceleratorConfigArgs) ToInstanceAcceleratorConfigPtrOutput ¶
func (i InstanceAcceleratorConfigArgs) ToInstanceAcceleratorConfigPtrOutput() InstanceAcceleratorConfigPtrOutput
func (InstanceAcceleratorConfigArgs) ToInstanceAcceleratorConfigPtrOutputWithContext ¶
func (i InstanceAcceleratorConfigArgs) ToInstanceAcceleratorConfigPtrOutputWithContext(ctx context.Context) InstanceAcceleratorConfigPtrOutput
type InstanceAcceleratorConfigInput ¶
type InstanceAcceleratorConfigInput interface { pulumi.Input ToInstanceAcceleratorConfigOutput() InstanceAcceleratorConfigOutput ToInstanceAcceleratorConfigOutputWithContext(context.Context) InstanceAcceleratorConfigOutput }
InstanceAcceleratorConfigInput is an input type that accepts InstanceAcceleratorConfigArgs and InstanceAcceleratorConfigOutput values. You can construct a concrete instance of `InstanceAcceleratorConfigInput` via:
InstanceAcceleratorConfigArgs{...}
type InstanceAcceleratorConfigOutput ¶
type InstanceAcceleratorConfigOutput struct{ *pulumi.OutputState }
func (InstanceAcceleratorConfigOutput) CoreCount ¶
func (o InstanceAcceleratorConfigOutput) CoreCount() pulumi.IntOutput
Count of cores of this accelerator.
func (InstanceAcceleratorConfigOutput) ElementType ¶
func (InstanceAcceleratorConfigOutput) ElementType() reflect.Type
func (InstanceAcceleratorConfigOutput) ToInstanceAcceleratorConfigOutput ¶
func (o InstanceAcceleratorConfigOutput) ToInstanceAcceleratorConfigOutput() InstanceAcceleratorConfigOutput
func (InstanceAcceleratorConfigOutput) ToInstanceAcceleratorConfigOutputWithContext ¶
func (o InstanceAcceleratorConfigOutput) ToInstanceAcceleratorConfigOutputWithContext(ctx context.Context) InstanceAcceleratorConfigOutput
func (InstanceAcceleratorConfigOutput) ToInstanceAcceleratorConfigPtrOutput ¶
func (o InstanceAcceleratorConfigOutput) ToInstanceAcceleratorConfigPtrOutput() InstanceAcceleratorConfigPtrOutput
func (InstanceAcceleratorConfigOutput) ToInstanceAcceleratorConfigPtrOutputWithContext ¶
func (o InstanceAcceleratorConfigOutput) ToInstanceAcceleratorConfigPtrOutputWithContext(ctx context.Context) InstanceAcceleratorConfigPtrOutput
func (InstanceAcceleratorConfigOutput) Type ¶
func (o InstanceAcceleratorConfigOutput) Type() pulumi.StringOutput
Type of this accelerator. Possible values are: `ACCELERATOR_TYPE_UNSPECIFIED`, `NVIDIA_TESLA_K80`, `NVIDIA_TESLA_P100`, `NVIDIA_TESLA_V100`, `NVIDIA_TESLA_P4`, `NVIDIA_TESLA_T4`, `NVIDIA_TESLA_T4_VWS`, `NVIDIA_TESLA_P100_VWS`, `NVIDIA_TESLA_P4_VWS`, `NVIDIA_TESLA_A100`, `TPU_V2`, `TPU_V3`.
type InstanceAcceleratorConfigPtrInput ¶
type InstanceAcceleratorConfigPtrInput interface { pulumi.Input ToInstanceAcceleratorConfigPtrOutput() InstanceAcceleratorConfigPtrOutput ToInstanceAcceleratorConfigPtrOutputWithContext(context.Context) InstanceAcceleratorConfigPtrOutput }
InstanceAcceleratorConfigPtrInput is an input type that accepts InstanceAcceleratorConfigArgs, InstanceAcceleratorConfigPtr and InstanceAcceleratorConfigPtrOutput values. You can construct a concrete instance of `InstanceAcceleratorConfigPtrInput` via:
InstanceAcceleratorConfigArgs{...} or: nil
func InstanceAcceleratorConfigPtr ¶
func InstanceAcceleratorConfigPtr(v *InstanceAcceleratorConfigArgs) InstanceAcceleratorConfigPtrInput
type InstanceAcceleratorConfigPtrOutput ¶
type InstanceAcceleratorConfigPtrOutput struct{ *pulumi.OutputState }
func (InstanceAcceleratorConfigPtrOutput) CoreCount ¶
func (o InstanceAcceleratorConfigPtrOutput) CoreCount() pulumi.IntPtrOutput
Count of cores of this accelerator.
func (InstanceAcceleratorConfigPtrOutput) Elem ¶
func (o InstanceAcceleratorConfigPtrOutput) Elem() InstanceAcceleratorConfigOutput
func (InstanceAcceleratorConfigPtrOutput) ElementType ¶
func (InstanceAcceleratorConfigPtrOutput) ElementType() reflect.Type
func (InstanceAcceleratorConfigPtrOutput) ToInstanceAcceleratorConfigPtrOutput ¶
func (o InstanceAcceleratorConfigPtrOutput) ToInstanceAcceleratorConfigPtrOutput() InstanceAcceleratorConfigPtrOutput
func (InstanceAcceleratorConfigPtrOutput) ToInstanceAcceleratorConfigPtrOutputWithContext ¶
func (o InstanceAcceleratorConfigPtrOutput) ToInstanceAcceleratorConfigPtrOutputWithContext(ctx context.Context) InstanceAcceleratorConfigPtrOutput
func (InstanceAcceleratorConfigPtrOutput) Type ¶
func (o InstanceAcceleratorConfigPtrOutput) Type() pulumi.StringPtrOutput
Type of this accelerator. Possible values are: `ACCELERATOR_TYPE_UNSPECIFIED`, `NVIDIA_TESLA_K80`, `NVIDIA_TESLA_P100`, `NVIDIA_TESLA_V100`, `NVIDIA_TESLA_P4`, `NVIDIA_TESLA_T4`, `NVIDIA_TESLA_T4_VWS`, `NVIDIA_TESLA_P100_VWS`, `NVIDIA_TESLA_P4_VWS`, `NVIDIA_TESLA_A100`, `TPU_V2`, `TPU_V3`.
type InstanceArgs ¶
type InstanceArgs struct { // The hardware accelerator used on this instance. If you use accelerators, // make sure that your configuration has enough vCPUs and memory to support the // machineType you have selected. // Structure is documented below. AcceleratorConfig InstanceAcceleratorConfigPtrInput // The size of the boot disk in GB attached to this instance, // up to a maximum of 64000 GB (64 TB). The minimum recommended value is 100 GB. // If not specified, this defaults to 100. BootDiskSizeGb pulumi.IntPtrInput // Possible disk types for notebook instances. // Possible values are: `DISK_TYPE_UNSPECIFIED`, `PD_STANDARD`, `PD_SSD`, `PD_BALANCED`, `PD_EXTREME`. BootDiskType pulumi.StringPtrInput // Use a container image to start the notebook instance. // Structure is documented below. ContainerImage InstanceContainerImagePtrInput // Instance creation time CreateTime pulumi.StringPtrInput // Specify a custom Cloud Storage path where the GPU driver is stored. // If not specified, we'll automatically choose from official GPU drivers. CustomGpuDriverPath pulumi.StringPtrInput // The size of the data disk in GB attached to this instance, // up to a maximum of 64000 GB (64 TB). // You can choose the size of the data disk based on how big your notebooks and data are. // If not specified, this defaults to 100. DataDiskSizeGb pulumi.IntPtrInput // Possible disk types for notebook instances. // Possible values are: `DISK_TYPE_UNSPECIFIED`, `PD_STANDARD`, `PD_SSD`, `PD_BALANCED`, `PD_EXTREME`. DataDiskType pulumi.StringPtrInput // Desired state of the Notebook Instance. Set this field to `ACTIVE` to start the Instance, and `STOPPED` to stop the Instance. DesiredState pulumi.StringPtrInput // Disk encryption method used on the boot and data disks, defaults to GMEK. // Possible values are: `DISK_ENCRYPTION_UNSPECIFIED`, `GMEK`, `CMEK`. DiskEncryption pulumi.StringPtrInput // Whether the end user authorizes Google Cloud to install GPU driver // on this instance. If this field is empty or set to false, the GPU driver // won't be installed. Only applicable to instances with GPUs. InstallGpuDriver pulumi.BoolPtrInput // The list of owners of this instance after creation. // Format: alias@example.com. // Currently supports one owner only. // If not specified, all of the service account users of // your VM instance's service account can use the instance. InstanceOwners pulumi.StringArrayInput // The KMS key used to encrypt the disks, only applicable if diskEncryption is CMEK. // Format: projects/{project_id}/locations/{location}/keyRings/{key_ring_id}/cryptoKeys/{key_id} KmsKey pulumi.StringPtrInput // Labels to apply to this instance. These can be later modified by the setLabels method. // An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }. // // **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 // A reference to the zone where the machine resides. // // *** Location pulumi.StringInput // A reference to a machine type which defines VM kind. MachineType pulumi.StringInput // Custom metadata to apply to this instance. // An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }. Metadata pulumi.StringMapInput // The name specified for the Notebook instance. Name pulumi.StringPtrInput // The name of the VPC that this instance is in. // Format: projects/{project_id}/global/networks/{network_id} Network pulumi.StringPtrInput // The type of vNIC driver. // Possible values are: `UNSPECIFIED_NIC_TYPE`, `VIRTIO_NET`, `GVNIC`. NicType pulumi.StringPtrInput // The notebook instance will not register with the proxy.. NoProxyAccess pulumi.BoolPtrInput // No public IP will be assigned to this instance. NoPublicIp pulumi.BoolPtrInput // If true, the data disk will not be auto deleted when deleting the instance. NoRemoveDataDisk pulumi.BoolPtrInput // Path to a Bash script that automatically runs after a // notebook instance fully boots up. The path must be a URL // or Cloud Storage path (gs://path-to-file/file-name). PostStartupScript 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 // Reservation Affinity for consuming Zonal reservation. // Structure is documented below. ReservationAffinity InstanceReservationAffinityPtrInput // The service account on this instance, giving access to other // Google Cloud services. You can use any service account within // the same project, but you must have the service account user // permission to use the instance. If not specified, // the Compute Engine default service account is used. ServiceAccount pulumi.StringPtrInput // Optional. The URIs of service account scopes to be included in Compute Engine instances. // If not specified, the following scopes are defined: // - https://www.googleapis.com/auth/cloud-platform // - https://www.googleapis.com/auth/userinfo.email ServiceAccountScopes pulumi.StringArrayInput // A set of Shielded Instance options. Check [Images using supported Shielded VM features] // Not all combinations are valid // Structure is documented below. ShieldedInstanceConfig InstanceShieldedInstanceConfigPtrInput // The name of the subnet that this instance is in. // Format: projects/{project_id}/regions/{region}/subnetworks/{subnetwork_id} Subnet pulumi.StringPtrInput // The Compute Engine tags to add to instance. Tags pulumi.StringArrayInput // Instance update time. UpdateTime pulumi.StringPtrInput // Use a Compute Engine VM image to start the notebook instance. // Structure is documented below. VmImage InstanceVmImagePtrInput }
The set of arguments for constructing a Instance resource.
func (InstanceArgs) ElementType ¶
func (InstanceArgs) ElementType() reflect.Type
type InstanceArray ¶
type InstanceArray []InstanceInput
func (InstanceArray) ElementType ¶
func (InstanceArray) ElementType() reflect.Type
func (InstanceArray) ToInstanceArrayOutput ¶
func (i InstanceArray) ToInstanceArrayOutput() InstanceArrayOutput
func (InstanceArray) ToInstanceArrayOutputWithContext ¶
func (i InstanceArray) ToInstanceArrayOutputWithContext(ctx context.Context) InstanceArrayOutput
type InstanceArrayInput ¶
type InstanceArrayInput interface { pulumi.Input ToInstanceArrayOutput() InstanceArrayOutput ToInstanceArrayOutputWithContext(context.Context) InstanceArrayOutput }
InstanceArrayInput is an input type that accepts InstanceArray and InstanceArrayOutput values. You can construct a concrete instance of `InstanceArrayInput` via:
InstanceArray{ InstanceArgs{...} }
type InstanceArrayOutput ¶
type InstanceArrayOutput struct{ *pulumi.OutputState }
func (InstanceArrayOutput) ElementType ¶
func (InstanceArrayOutput) ElementType() reflect.Type
func (InstanceArrayOutput) Index ¶
func (o InstanceArrayOutput) Index(i pulumi.IntInput) InstanceOutput
func (InstanceArrayOutput) ToInstanceArrayOutput ¶
func (o InstanceArrayOutput) ToInstanceArrayOutput() InstanceArrayOutput
func (InstanceArrayOutput) ToInstanceArrayOutputWithContext ¶
func (o InstanceArrayOutput) ToInstanceArrayOutputWithContext(ctx context.Context) InstanceArrayOutput
type InstanceContainerImage ¶
type InstanceContainerImageArgs ¶
type InstanceContainerImageArgs struct { // The path to the container image repository. // For example: gcr.io/{project_id}/{imageName} Repository pulumi.StringInput `pulumi:"repository"` // The tag of the container image. If not specified, this defaults to the latest tag. Tag pulumi.StringPtrInput `pulumi:"tag"` }
func (InstanceContainerImageArgs) ElementType ¶
func (InstanceContainerImageArgs) ElementType() reflect.Type
func (InstanceContainerImageArgs) ToInstanceContainerImageOutput ¶
func (i InstanceContainerImageArgs) ToInstanceContainerImageOutput() InstanceContainerImageOutput
func (InstanceContainerImageArgs) ToInstanceContainerImageOutputWithContext ¶
func (i InstanceContainerImageArgs) ToInstanceContainerImageOutputWithContext(ctx context.Context) InstanceContainerImageOutput
func (InstanceContainerImageArgs) ToInstanceContainerImagePtrOutput ¶
func (i InstanceContainerImageArgs) ToInstanceContainerImagePtrOutput() InstanceContainerImagePtrOutput
func (InstanceContainerImageArgs) ToInstanceContainerImagePtrOutputWithContext ¶
func (i InstanceContainerImageArgs) ToInstanceContainerImagePtrOutputWithContext(ctx context.Context) InstanceContainerImagePtrOutput
type InstanceContainerImageInput ¶
type InstanceContainerImageInput interface { pulumi.Input ToInstanceContainerImageOutput() InstanceContainerImageOutput ToInstanceContainerImageOutputWithContext(context.Context) InstanceContainerImageOutput }
InstanceContainerImageInput is an input type that accepts InstanceContainerImageArgs and InstanceContainerImageOutput values. You can construct a concrete instance of `InstanceContainerImageInput` via:
InstanceContainerImageArgs{...}
type InstanceContainerImageOutput ¶
type InstanceContainerImageOutput struct{ *pulumi.OutputState }
func (InstanceContainerImageOutput) ElementType ¶
func (InstanceContainerImageOutput) ElementType() reflect.Type
func (InstanceContainerImageOutput) Repository ¶
func (o InstanceContainerImageOutput) Repository() pulumi.StringOutput
The path to the container image repository. For example: gcr.io/{project_id}/{imageName}
func (InstanceContainerImageOutput) Tag ¶
func (o InstanceContainerImageOutput) Tag() pulumi.StringPtrOutput
The tag of the container image. If not specified, this defaults to the latest tag.
func (InstanceContainerImageOutput) ToInstanceContainerImageOutput ¶
func (o InstanceContainerImageOutput) ToInstanceContainerImageOutput() InstanceContainerImageOutput
func (InstanceContainerImageOutput) ToInstanceContainerImageOutputWithContext ¶
func (o InstanceContainerImageOutput) ToInstanceContainerImageOutputWithContext(ctx context.Context) InstanceContainerImageOutput
func (InstanceContainerImageOutput) ToInstanceContainerImagePtrOutput ¶
func (o InstanceContainerImageOutput) ToInstanceContainerImagePtrOutput() InstanceContainerImagePtrOutput
func (InstanceContainerImageOutput) ToInstanceContainerImagePtrOutputWithContext ¶
func (o InstanceContainerImageOutput) ToInstanceContainerImagePtrOutputWithContext(ctx context.Context) InstanceContainerImagePtrOutput
type InstanceContainerImagePtrInput ¶
type InstanceContainerImagePtrInput interface { pulumi.Input ToInstanceContainerImagePtrOutput() InstanceContainerImagePtrOutput ToInstanceContainerImagePtrOutputWithContext(context.Context) InstanceContainerImagePtrOutput }
InstanceContainerImagePtrInput is an input type that accepts InstanceContainerImageArgs, InstanceContainerImagePtr and InstanceContainerImagePtrOutput values. You can construct a concrete instance of `InstanceContainerImagePtrInput` via:
InstanceContainerImageArgs{...} or: nil
func InstanceContainerImagePtr ¶
func InstanceContainerImagePtr(v *InstanceContainerImageArgs) InstanceContainerImagePtrInput
type InstanceContainerImagePtrOutput ¶
type InstanceContainerImagePtrOutput struct{ *pulumi.OutputState }
func (InstanceContainerImagePtrOutput) Elem ¶
func (o InstanceContainerImagePtrOutput) Elem() InstanceContainerImageOutput
func (InstanceContainerImagePtrOutput) ElementType ¶
func (InstanceContainerImagePtrOutput) ElementType() reflect.Type
func (InstanceContainerImagePtrOutput) Repository ¶
func (o InstanceContainerImagePtrOutput) Repository() pulumi.StringPtrOutput
The path to the container image repository. For example: gcr.io/{project_id}/{imageName}
func (InstanceContainerImagePtrOutput) Tag ¶
func (o InstanceContainerImagePtrOutput) Tag() pulumi.StringPtrOutput
The tag of the container image. If not specified, this defaults to the latest tag.
func (InstanceContainerImagePtrOutput) ToInstanceContainerImagePtrOutput ¶
func (o InstanceContainerImagePtrOutput) ToInstanceContainerImagePtrOutput() InstanceContainerImagePtrOutput
func (InstanceContainerImagePtrOutput) ToInstanceContainerImagePtrOutputWithContext ¶
func (o InstanceContainerImagePtrOutput) ToInstanceContainerImagePtrOutputWithContext(ctx context.Context) InstanceContainerImagePtrOutput
type InstanceIamBinding ¶
type InstanceIamBinding struct { pulumi.CustomResourceState Condition InstanceIamBindingConditionPtrOutput `pulumi:"condition"` // (Computed) The etag of the IAM policy. Etag pulumi.StringOutput `pulumi:"etag"` // Used to find the parent resource to bind the IAM policy to InstanceName pulumi.StringOutput `pulumi:"instanceName"` // A reference to the zone where the machine resides. 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 // `notebooks.InstanceIamBinding` 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"` }
Three different resources help you manage your IAM policy for Cloud AI Notebooks Instance. Each of these resources serves a different use case:
* `notebooks.InstanceIamPolicy`: Authoritative. Sets the IAM policy for the instance and replaces any existing policy already attached. * `notebooks.InstanceIamBinding`: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the instance are preserved. * `notebooks.InstanceIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the instance are preserved.
A data source can be used to retrieve policy data in advent you do not need creation ¶
* `notebooks.InstanceIamPolicy`: Retrieves the IAM policy for the instance
> **Note:** `notebooks.InstanceIamPolicy` **cannot** be used in conjunction with `notebooks.InstanceIamBinding` and `notebooks.InstanceIamMember` or they will fight over what your policy should be.
> **Note:** `notebooks.InstanceIamBinding` resources **can be** used in conjunction with `notebooks.InstanceIamMember` resources **only if** they do not grant privilege to the same role.
## notebooks.InstanceIamPolicy
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/notebooks" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/organizations" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { admin, err := organizations.LookupIAMPolicy(ctx, &organizations.LookupIAMPolicyArgs{ Bindings: []organizations.GetIAMPolicyBinding{ { Role: "roles/viewer", Members: []string{ "user:jane@example.com", }, }, }, }, nil) if err != nil { return err } _, err = notebooks.NewInstanceIamPolicy(ctx, "policy", ¬ebooks.InstanceIamPolicyArgs{ Project: pulumi.Any(instance.Project), Location: pulumi.Any(instance.Location), InstanceName: pulumi.Any(instance.Name), PolicyData: pulumi.String(admin.PolicyData), }) if err != nil { return err } return nil }) }
```
## notebooks.InstanceIamBinding
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/notebooks" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := notebooks.NewInstanceIamBinding(ctx, "binding", ¬ebooks.InstanceIamBindingArgs{ Project: pulumi.Any(instance.Project), Location: pulumi.Any(instance.Location), InstanceName: pulumi.Any(instance.Name), Role: pulumi.String("roles/viewer"), Members: pulumi.StringArray{ pulumi.String("user:jane@example.com"), }, }) if err != nil { return err } return nil }) }
```
## notebooks.InstanceIamMember
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/notebooks" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := notebooks.NewInstanceIamMember(ctx, "member", ¬ebooks.InstanceIamMemberArgs{ Project: pulumi.Any(instance.Project), Location: pulumi.Any(instance.Location), InstanceName: pulumi.Any(instance.Name), Role: pulumi.String("roles/viewer"), Member: pulumi.String("user:jane@example.com"), }) if err != nil { return err } return nil }) }
```
## This resource supports User Project Overrides.
-
# IAM policy for Cloud AI Notebooks Instance Three different resources help you manage your IAM policy for Cloud AI Notebooks Instance. Each of these resources serves a different use case:
* `notebooks.InstanceIamPolicy`: Authoritative. Sets the IAM policy for the instance and replaces any existing policy already attached. * `notebooks.InstanceIamBinding`: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the instance are preserved. * `notebooks.InstanceIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the instance are preserved.
A data source can be used to retrieve policy data in advent you do not need creation ¶
* `notebooks.InstanceIamPolicy`: Retrieves the IAM policy for the instance
> **Note:** `notebooks.InstanceIamPolicy` **cannot** be used in conjunction with `notebooks.InstanceIamBinding` and `notebooks.InstanceIamMember` or they will fight over what your policy should be.
> **Note:** `notebooks.InstanceIamBinding` resources **can be** used in conjunction with `notebooks.InstanceIamMember` resources **only if** they do not grant privilege to the same role.
## notebooks.InstanceIamPolicy
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/notebooks" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/organizations" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { admin, err := organizations.LookupIAMPolicy(ctx, &organizations.LookupIAMPolicyArgs{ Bindings: []organizations.GetIAMPolicyBinding{ { Role: "roles/viewer", Members: []string{ "user:jane@example.com", }, }, }, }, nil) if err != nil { return err } _, err = notebooks.NewInstanceIamPolicy(ctx, "policy", ¬ebooks.InstanceIamPolicyArgs{ Project: pulumi.Any(instance.Project), Location: pulumi.Any(instance.Location), InstanceName: pulumi.Any(instance.Name), PolicyData: pulumi.String(admin.PolicyData), }) if err != nil { return err } return nil }) }
```
## notebooks.InstanceIamBinding
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/notebooks" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := notebooks.NewInstanceIamBinding(ctx, "binding", ¬ebooks.InstanceIamBindingArgs{ Project: pulumi.Any(instance.Project), Location: pulumi.Any(instance.Location), InstanceName: pulumi.Any(instance.Name), Role: pulumi.String("roles/viewer"), Members: pulumi.StringArray{ pulumi.String("user:jane@example.com"), }, }) if err != nil { return err } return nil }) }
```
## notebooks.InstanceIamMember
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/notebooks" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := notebooks.NewInstanceIamMember(ctx, "member", ¬ebooks.InstanceIamMemberArgs{ Project: pulumi.Any(instance.Project), Location: pulumi.Any(instance.Location), InstanceName: pulumi.Any(instance.Name), Role: pulumi.String("roles/viewer"), Member: pulumi.String("user:jane@example.com"), }) if err != nil { return err } return nil }) }
```
## Import
For all import syntaxes, the "resource in question" can take any of the following forms:
* projects/{{project}}/locations/{{location}}/instances/{{instance_name}}
* {{project}}/{{location}}/{{instance_name}}
* {{location}}/{{instance_name}}
* {{instance_name}}
Any variables not passed in the import command will be taken from the provider configuration.
Cloud AI Notebooks instance 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:notebooks/instanceIamBinding:InstanceIamBinding editor "projects/{{project}}/locations/{{location}}/instances/{{instance_name}} 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:notebooks/instanceIamBinding:InstanceIamBinding editor "projects/{{project}}/locations/{{location}}/instances/{{instance_name}} roles/viewer" ```
IAM policy imports use the identifier of the resource in question, e.g.
```sh $ pulumi import gcp:notebooks/instanceIamBinding:InstanceIamBinding editor projects/{{project}}/locations/{{location}}/instances/{{instance_name}} ```
-> **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 GetInstanceIamBinding ¶
func GetInstanceIamBinding(ctx *pulumi.Context, name string, id pulumi.IDInput, state *InstanceIamBindingState, opts ...pulumi.ResourceOption) (*InstanceIamBinding, error)
GetInstanceIamBinding gets an existing InstanceIamBinding 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 NewInstanceIamBinding ¶
func NewInstanceIamBinding(ctx *pulumi.Context, name string, args *InstanceIamBindingArgs, opts ...pulumi.ResourceOption) (*InstanceIamBinding, error)
NewInstanceIamBinding registers a new resource with the given unique name, arguments, and options.
func (*InstanceIamBinding) ElementType ¶
func (*InstanceIamBinding) ElementType() reflect.Type
func (*InstanceIamBinding) ToInstanceIamBindingOutput ¶
func (i *InstanceIamBinding) ToInstanceIamBindingOutput() InstanceIamBindingOutput
func (*InstanceIamBinding) ToInstanceIamBindingOutputWithContext ¶
func (i *InstanceIamBinding) ToInstanceIamBindingOutputWithContext(ctx context.Context) InstanceIamBindingOutput
type InstanceIamBindingArgs ¶
type InstanceIamBindingArgs struct { Condition InstanceIamBindingConditionPtrInput // Used to find the parent resource to bind the IAM policy to InstanceName pulumi.StringInput // A reference to the zone where the machine resides. 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 // `notebooks.InstanceIamBinding` can be used per role. Note that custom roles must be of the format // `[projects|organizations]/{parent-name}/roles/{role-name}`. Role pulumi.StringInput }
The set of arguments for constructing a InstanceIamBinding resource.
func (InstanceIamBindingArgs) ElementType ¶
func (InstanceIamBindingArgs) ElementType() reflect.Type
type InstanceIamBindingArray ¶
type InstanceIamBindingArray []InstanceIamBindingInput
func (InstanceIamBindingArray) ElementType ¶
func (InstanceIamBindingArray) ElementType() reflect.Type
func (InstanceIamBindingArray) ToInstanceIamBindingArrayOutput ¶
func (i InstanceIamBindingArray) ToInstanceIamBindingArrayOutput() InstanceIamBindingArrayOutput
func (InstanceIamBindingArray) ToInstanceIamBindingArrayOutputWithContext ¶
func (i InstanceIamBindingArray) ToInstanceIamBindingArrayOutputWithContext(ctx context.Context) InstanceIamBindingArrayOutput
type InstanceIamBindingArrayInput ¶
type InstanceIamBindingArrayInput interface { pulumi.Input ToInstanceIamBindingArrayOutput() InstanceIamBindingArrayOutput ToInstanceIamBindingArrayOutputWithContext(context.Context) InstanceIamBindingArrayOutput }
InstanceIamBindingArrayInput is an input type that accepts InstanceIamBindingArray and InstanceIamBindingArrayOutput values. You can construct a concrete instance of `InstanceIamBindingArrayInput` via:
InstanceIamBindingArray{ InstanceIamBindingArgs{...} }
type InstanceIamBindingArrayOutput ¶
type InstanceIamBindingArrayOutput struct{ *pulumi.OutputState }
func (InstanceIamBindingArrayOutput) ElementType ¶
func (InstanceIamBindingArrayOutput) ElementType() reflect.Type
func (InstanceIamBindingArrayOutput) Index ¶
func (o InstanceIamBindingArrayOutput) Index(i pulumi.IntInput) InstanceIamBindingOutput
func (InstanceIamBindingArrayOutput) ToInstanceIamBindingArrayOutput ¶
func (o InstanceIamBindingArrayOutput) ToInstanceIamBindingArrayOutput() InstanceIamBindingArrayOutput
func (InstanceIamBindingArrayOutput) ToInstanceIamBindingArrayOutputWithContext ¶
func (o InstanceIamBindingArrayOutput) ToInstanceIamBindingArrayOutputWithContext(ctx context.Context) InstanceIamBindingArrayOutput
type InstanceIamBindingConditionArgs ¶
type InstanceIamBindingConditionArgs struct { Description pulumi.StringPtrInput `pulumi:"description"` Expression pulumi.StringInput `pulumi:"expression"` Title pulumi.StringInput `pulumi:"title"` }
func (InstanceIamBindingConditionArgs) ElementType ¶
func (InstanceIamBindingConditionArgs) ElementType() reflect.Type
func (InstanceIamBindingConditionArgs) ToInstanceIamBindingConditionOutput ¶
func (i InstanceIamBindingConditionArgs) ToInstanceIamBindingConditionOutput() InstanceIamBindingConditionOutput
func (InstanceIamBindingConditionArgs) ToInstanceIamBindingConditionOutputWithContext ¶
func (i InstanceIamBindingConditionArgs) ToInstanceIamBindingConditionOutputWithContext(ctx context.Context) InstanceIamBindingConditionOutput
func (InstanceIamBindingConditionArgs) ToInstanceIamBindingConditionPtrOutput ¶
func (i InstanceIamBindingConditionArgs) ToInstanceIamBindingConditionPtrOutput() InstanceIamBindingConditionPtrOutput
func (InstanceIamBindingConditionArgs) ToInstanceIamBindingConditionPtrOutputWithContext ¶
func (i InstanceIamBindingConditionArgs) ToInstanceIamBindingConditionPtrOutputWithContext(ctx context.Context) InstanceIamBindingConditionPtrOutput
type InstanceIamBindingConditionInput ¶
type InstanceIamBindingConditionInput interface { pulumi.Input ToInstanceIamBindingConditionOutput() InstanceIamBindingConditionOutput ToInstanceIamBindingConditionOutputWithContext(context.Context) InstanceIamBindingConditionOutput }
InstanceIamBindingConditionInput is an input type that accepts InstanceIamBindingConditionArgs and InstanceIamBindingConditionOutput values. You can construct a concrete instance of `InstanceIamBindingConditionInput` via:
InstanceIamBindingConditionArgs{...}
type InstanceIamBindingConditionOutput ¶
type InstanceIamBindingConditionOutput struct{ *pulumi.OutputState }
func (InstanceIamBindingConditionOutput) Description ¶
func (o InstanceIamBindingConditionOutput) Description() pulumi.StringPtrOutput
func (InstanceIamBindingConditionOutput) ElementType ¶
func (InstanceIamBindingConditionOutput) ElementType() reflect.Type
func (InstanceIamBindingConditionOutput) Expression ¶
func (o InstanceIamBindingConditionOutput) Expression() pulumi.StringOutput
func (InstanceIamBindingConditionOutput) Title ¶
func (o InstanceIamBindingConditionOutput) Title() pulumi.StringOutput
func (InstanceIamBindingConditionOutput) ToInstanceIamBindingConditionOutput ¶
func (o InstanceIamBindingConditionOutput) ToInstanceIamBindingConditionOutput() InstanceIamBindingConditionOutput
func (InstanceIamBindingConditionOutput) ToInstanceIamBindingConditionOutputWithContext ¶
func (o InstanceIamBindingConditionOutput) ToInstanceIamBindingConditionOutputWithContext(ctx context.Context) InstanceIamBindingConditionOutput
func (InstanceIamBindingConditionOutput) ToInstanceIamBindingConditionPtrOutput ¶
func (o InstanceIamBindingConditionOutput) ToInstanceIamBindingConditionPtrOutput() InstanceIamBindingConditionPtrOutput
func (InstanceIamBindingConditionOutput) ToInstanceIamBindingConditionPtrOutputWithContext ¶
func (o InstanceIamBindingConditionOutput) ToInstanceIamBindingConditionPtrOutputWithContext(ctx context.Context) InstanceIamBindingConditionPtrOutput
type InstanceIamBindingConditionPtrInput ¶
type InstanceIamBindingConditionPtrInput interface { pulumi.Input ToInstanceIamBindingConditionPtrOutput() InstanceIamBindingConditionPtrOutput ToInstanceIamBindingConditionPtrOutputWithContext(context.Context) InstanceIamBindingConditionPtrOutput }
InstanceIamBindingConditionPtrInput is an input type that accepts InstanceIamBindingConditionArgs, InstanceIamBindingConditionPtr and InstanceIamBindingConditionPtrOutput values. You can construct a concrete instance of `InstanceIamBindingConditionPtrInput` via:
InstanceIamBindingConditionArgs{...} or: nil
func InstanceIamBindingConditionPtr ¶
func InstanceIamBindingConditionPtr(v *InstanceIamBindingConditionArgs) InstanceIamBindingConditionPtrInput
type InstanceIamBindingConditionPtrOutput ¶
type InstanceIamBindingConditionPtrOutput struct{ *pulumi.OutputState }
func (InstanceIamBindingConditionPtrOutput) Description ¶
func (o InstanceIamBindingConditionPtrOutput) Description() pulumi.StringPtrOutput
func (InstanceIamBindingConditionPtrOutput) ElementType ¶
func (InstanceIamBindingConditionPtrOutput) ElementType() reflect.Type
func (InstanceIamBindingConditionPtrOutput) Expression ¶
func (o InstanceIamBindingConditionPtrOutput) Expression() pulumi.StringPtrOutput
func (InstanceIamBindingConditionPtrOutput) Title ¶
func (o InstanceIamBindingConditionPtrOutput) Title() pulumi.StringPtrOutput
func (InstanceIamBindingConditionPtrOutput) ToInstanceIamBindingConditionPtrOutput ¶
func (o InstanceIamBindingConditionPtrOutput) ToInstanceIamBindingConditionPtrOutput() InstanceIamBindingConditionPtrOutput
func (InstanceIamBindingConditionPtrOutput) ToInstanceIamBindingConditionPtrOutputWithContext ¶
func (o InstanceIamBindingConditionPtrOutput) ToInstanceIamBindingConditionPtrOutputWithContext(ctx context.Context) InstanceIamBindingConditionPtrOutput
type InstanceIamBindingInput ¶
type InstanceIamBindingInput interface { pulumi.Input ToInstanceIamBindingOutput() InstanceIamBindingOutput ToInstanceIamBindingOutputWithContext(ctx context.Context) InstanceIamBindingOutput }
type InstanceIamBindingMap ¶
type InstanceIamBindingMap map[string]InstanceIamBindingInput
func (InstanceIamBindingMap) ElementType ¶
func (InstanceIamBindingMap) ElementType() reflect.Type
func (InstanceIamBindingMap) ToInstanceIamBindingMapOutput ¶
func (i InstanceIamBindingMap) ToInstanceIamBindingMapOutput() InstanceIamBindingMapOutput
func (InstanceIamBindingMap) ToInstanceIamBindingMapOutputWithContext ¶
func (i InstanceIamBindingMap) ToInstanceIamBindingMapOutputWithContext(ctx context.Context) InstanceIamBindingMapOutput
type InstanceIamBindingMapInput ¶
type InstanceIamBindingMapInput interface { pulumi.Input ToInstanceIamBindingMapOutput() InstanceIamBindingMapOutput ToInstanceIamBindingMapOutputWithContext(context.Context) InstanceIamBindingMapOutput }
InstanceIamBindingMapInput is an input type that accepts InstanceIamBindingMap and InstanceIamBindingMapOutput values. You can construct a concrete instance of `InstanceIamBindingMapInput` via:
InstanceIamBindingMap{ "key": InstanceIamBindingArgs{...} }
type InstanceIamBindingMapOutput ¶
type InstanceIamBindingMapOutput struct{ *pulumi.OutputState }
func (InstanceIamBindingMapOutput) ElementType ¶
func (InstanceIamBindingMapOutput) ElementType() reflect.Type
func (InstanceIamBindingMapOutput) MapIndex ¶
func (o InstanceIamBindingMapOutput) MapIndex(k pulumi.StringInput) InstanceIamBindingOutput
func (InstanceIamBindingMapOutput) ToInstanceIamBindingMapOutput ¶
func (o InstanceIamBindingMapOutput) ToInstanceIamBindingMapOutput() InstanceIamBindingMapOutput
func (InstanceIamBindingMapOutput) ToInstanceIamBindingMapOutputWithContext ¶
func (o InstanceIamBindingMapOutput) ToInstanceIamBindingMapOutputWithContext(ctx context.Context) InstanceIamBindingMapOutput
type InstanceIamBindingOutput ¶
type InstanceIamBindingOutput struct{ *pulumi.OutputState }
func (InstanceIamBindingOutput) Condition ¶
func (o InstanceIamBindingOutput) Condition() InstanceIamBindingConditionPtrOutput
func (InstanceIamBindingOutput) ElementType ¶
func (InstanceIamBindingOutput) ElementType() reflect.Type
func (InstanceIamBindingOutput) Etag ¶
func (o InstanceIamBindingOutput) Etag() pulumi.StringOutput
(Computed) The etag of the IAM policy.
func (InstanceIamBindingOutput) InstanceName ¶
func (o InstanceIamBindingOutput) InstanceName() pulumi.StringOutput
Used to find the parent resource to bind the IAM policy to
func (InstanceIamBindingOutput) Location ¶
func (o InstanceIamBindingOutput) Location() pulumi.StringOutput
A reference to the zone where the machine resides. 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 (InstanceIamBindingOutput) Members ¶
func (o InstanceIamBindingOutput) 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 (InstanceIamBindingOutput) Project ¶
func (o InstanceIamBindingOutput) 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 (InstanceIamBindingOutput) Role ¶
func (o InstanceIamBindingOutput) Role() pulumi.StringOutput
The role that should be applied. Only one `notebooks.InstanceIamBinding` can be used per role. Note that custom roles must be of the format `[projects|organizations]/{parent-name}/roles/{role-name}`.
func (InstanceIamBindingOutput) ToInstanceIamBindingOutput ¶
func (o InstanceIamBindingOutput) ToInstanceIamBindingOutput() InstanceIamBindingOutput
func (InstanceIamBindingOutput) ToInstanceIamBindingOutputWithContext ¶
func (o InstanceIamBindingOutput) ToInstanceIamBindingOutputWithContext(ctx context.Context) InstanceIamBindingOutput
type InstanceIamBindingState ¶
type InstanceIamBindingState struct { Condition InstanceIamBindingConditionPtrInput // (Computed) The etag of the IAM policy. Etag pulumi.StringPtrInput // Used to find the parent resource to bind the IAM policy to InstanceName pulumi.StringPtrInput // A reference to the zone where the machine resides. 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 // `notebooks.InstanceIamBinding` can be used per role. Note that custom roles must be of the format // `[projects|organizations]/{parent-name}/roles/{role-name}`. Role pulumi.StringPtrInput }
func (InstanceIamBindingState) ElementType ¶
func (InstanceIamBindingState) ElementType() reflect.Type
type InstanceIamMember ¶
type InstanceIamMember struct { pulumi.CustomResourceState Condition InstanceIamMemberConditionPtrOutput `pulumi:"condition"` // (Computed) The etag of the IAM policy. Etag pulumi.StringOutput `pulumi:"etag"` // Used to find the parent resource to bind the IAM policy to InstanceName pulumi.StringOutput `pulumi:"instanceName"` // A reference to the zone where the machine resides. 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 // `notebooks.InstanceIamBinding` 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"` }
Three different resources help you manage your IAM policy for Cloud AI Notebooks Instance. Each of these resources serves a different use case:
* `notebooks.InstanceIamPolicy`: Authoritative. Sets the IAM policy for the instance and replaces any existing policy already attached. * `notebooks.InstanceIamBinding`: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the instance are preserved. * `notebooks.InstanceIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the instance are preserved.
A data source can be used to retrieve policy data in advent you do not need creation ¶
* `notebooks.InstanceIamPolicy`: Retrieves the IAM policy for the instance
> **Note:** `notebooks.InstanceIamPolicy` **cannot** be used in conjunction with `notebooks.InstanceIamBinding` and `notebooks.InstanceIamMember` or they will fight over what your policy should be.
> **Note:** `notebooks.InstanceIamBinding` resources **can be** used in conjunction with `notebooks.InstanceIamMember` resources **only if** they do not grant privilege to the same role.
## notebooks.InstanceIamPolicy
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/notebooks" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/organizations" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { admin, err := organizations.LookupIAMPolicy(ctx, &organizations.LookupIAMPolicyArgs{ Bindings: []organizations.GetIAMPolicyBinding{ { Role: "roles/viewer", Members: []string{ "user:jane@example.com", }, }, }, }, nil) if err != nil { return err } _, err = notebooks.NewInstanceIamPolicy(ctx, "policy", ¬ebooks.InstanceIamPolicyArgs{ Project: pulumi.Any(instance.Project), Location: pulumi.Any(instance.Location), InstanceName: pulumi.Any(instance.Name), PolicyData: pulumi.String(admin.PolicyData), }) if err != nil { return err } return nil }) }
```
## notebooks.InstanceIamBinding
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/notebooks" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := notebooks.NewInstanceIamBinding(ctx, "binding", ¬ebooks.InstanceIamBindingArgs{ Project: pulumi.Any(instance.Project), Location: pulumi.Any(instance.Location), InstanceName: pulumi.Any(instance.Name), Role: pulumi.String("roles/viewer"), Members: pulumi.StringArray{ pulumi.String("user:jane@example.com"), }, }) if err != nil { return err } return nil }) }
```
## notebooks.InstanceIamMember
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/notebooks" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := notebooks.NewInstanceIamMember(ctx, "member", ¬ebooks.InstanceIamMemberArgs{ Project: pulumi.Any(instance.Project), Location: pulumi.Any(instance.Location), InstanceName: pulumi.Any(instance.Name), Role: pulumi.String("roles/viewer"), Member: pulumi.String("user:jane@example.com"), }) if err != nil { return err } return nil }) }
```
## This resource supports User Project Overrides.
-
# IAM policy for Cloud AI Notebooks Instance Three different resources help you manage your IAM policy for Cloud AI Notebooks Instance. Each of these resources serves a different use case:
* `notebooks.InstanceIamPolicy`: Authoritative. Sets the IAM policy for the instance and replaces any existing policy already attached. * `notebooks.InstanceIamBinding`: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the instance are preserved. * `notebooks.InstanceIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the instance are preserved.
A data source can be used to retrieve policy data in advent you do not need creation ¶
* `notebooks.InstanceIamPolicy`: Retrieves the IAM policy for the instance
> **Note:** `notebooks.InstanceIamPolicy` **cannot** be used in conjunction with `notebooks.InstanceIamBinding` and `notebooks.InstanceIamMember` or they will fight over what your policy should be.
> **Note:** `notebooks.InstanceIamBinding` resources **can be** used in conjunction with `notebooks.InstanceIamMember` resources **only if** they do not grant privilege to the same role.
## notebooks.InstanceIamPolicy
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/notebooks" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/organizations" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { admin, err := organizations.LookupIAMPolicy(ctx, &organizations.LookupIAMPolicyArgs{ Bindings: []organizations.GetIAMPolicyBinding{ { Role: "roles/viewer", Members: []string{ "user:jane@example.com", }, }, }, }, nil) if err != nil { return err } _, err = notebooks.NewInstanceIamPolicy(ctx, "policy", ¬ebooks.InstanceIamPolicyArgs{ Project: pulumi.Any(instance.Project), Location: pulumi.Any(instance.Location), InstanceName: pulumi.Any(instance.Name), PolicyData: pulumi.String(admin.PolicyData), }) if err != nil { return err } return nil }) }
```
## notebooks.InstanceIamBinding
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/notebooks" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := notebooks.NewInstanceIamBinding(ctx, "binding", ¬ebooks.InstanceIamBindingArgs{ Project: pulumi.Any(instance.Project), Location: pulumi.Any(instance.Location), InstanceName: pulumi.Any(instance.Name), Role: pulumi.String("roles/viewer"), Members: pulumi.StringArray{ pulumi.String("user:jane@example.com"), }, }) if err != nil { return err } return nil }) }
```
## notebooks.InstanceIamMember
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/notebooks" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := notebooks.NewInstanceIamMember(ctx, "member", ¬ebooks.InstanceIamMemberArgs{ Project: pulumi.Any(instance.Project), Location: pulumi.Any(instance.Location), InstanceName: pulumi.Any(instance.Name), Role: pulumi.String("roles/viewer"), Member: pulumi.String("user:jane@example.com"), }) if err != nil { return err } return nil }) }
```
## Import
For all import syntaxes, the "resource in question" can take any of the following forms:
* projects/{{project}}/locations/{{location}}/instances/{{instance_name}}
* {{project}}/{{location}}/{{instance_name}}
* {{location}}/{{instance_name}}
* {{instance_name}}
Any variables not passed in the import command will be taken from the provider configuration.
Cloud AI Notebooks instance 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:notebooks/instanceIamMember:InstanceIamMember editor "projects/{{project}}/locations/{{location}}/instances/{{instance_name}} 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:notebooks/instanceIamMember:InstanceIamMember editor "projects/{{project}}/locations/{{location}}/instances/{{instance_name}} roles/viewer" ```
IAM policy imports use the identifier of the resource in question, e.g.
```sh $ pulumi import gcp:notebooks/instanceIamMember:InstanceIamMember editor projects/{{project}}/locations/{{location}}/instances/{{instance_name}} ```
-> **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 GetInstanceIamMember ¶
func GetInstanceIamMember(ctx *pulumi.Context, name string, id pulumi.IDInput, state *InstanceIamMemberState, opts ...pulumi.ResourceOption) (*InstanceIamMember, error)
GetInstanceIamMember gets an existing InstanceIamMember 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 NewInstanceIamMember ¶
func NewInstanceIamMember(ctx *pulumi.Context, name string, args *InstanceIamMemberArgs, opts ...pulumi.ResourceOption) (*InstanceIamMember, error)
NewInstanceIamMember registers a new resource with the given unique name, arguments, and options.
func (*InstanceIamMember) ElementType ¶
func (*InstanceIamMember) ElementType() reflect.Type
func (*InstanceIamMember) ToInstanceIamMemberOutput ¶
func (i *InstanceIamMember) ToInstanceIamMemberOutput() InstanceIamMemberOutput
func (*InstanceIamMember) ToInstanceIamMemberOutputWithContext ¶
func (i *InstanceIamMember) ToInstanceIamMemberOutputWithContext(ctx context.Context) InstanceIamMemberOutput
type InstanceIamMemberArgs ¶
type InstanceIamMemberArgs struct { Condition InstanceIamMemberConditionPtrInput // Used to find the parent resource to bind the IAM policy to InstanceName pulumi.StringInput // A reference to the zone where the machine resides. 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 // `notebooks.InstanceIamBinding` can be used per role. Note that custom roles must be of the format // `[projects|organizations]/{parent-name}/roles/{role-name}`. Role pulumi.StringInput }
The set of arguments for constructing a InstanceIamMember resource.
func (InstanceIamMemberArgs) ElementType ¶
func (InstanceIamMemberArgs) ElementType() reflect.Type
type InstanceIamMemberArray ¶
type InstanceIamMemberArray []InstanceIamMemberInput
func (InstanceIamMemberArray) ElementType ¶
func (InstanceIamMemberArray) ElementType() reflect.Type
func (InstanceIamMemberArray) ToInstanceIamMemberArrayOutput ¶
func (i InstanceIamMemberArray) ToInstanceIamMemberArrayOutput() InstanceIamMemberArrayOutput
func (InstanceIamMemberArray) ToInstanceIamMemberArrayOutputWithContext ¶
func (i InstanceIamMemberArray) ToInstanceIamMemberArrayOutputWithContext(ctx context.Context) InstanceIamMemberArrayOutput
type InstanceIamMemberArrayInput ¶
type InstanceIamMemberArrayInput interface { pulumi.Input ToInstanceIamMemberArrayOutput() InstanceIamMemberArrayOutput ToInstanceIamMemberArrayOutputWithContext(context.Context) InstanceIamMemberArrayOutput }
InstanceIamMemberArrayInput is an input type that accepts InstanceIamMemberArray and InstanceIamMemberArrayOutput values. You can construct a concrete instance of `InstanceIamMemberArrayInput` via:
InstanceIamMemberArray{ InstanceIamMemberArgs{...} }
type InstanceIamMemberArrayOutput ¶
type InstanceIamMemberArrayOutput struct{ *pulumi.OutputState }
func (InstanceIamMemberArrayOutput) ElementType ¶
func (InstanceIamMemberArrayOutput) ElementType() reflect.Type
func (InstanceIamMemberArrayOutput) Index ¶
func (o InstanceIamMemberArrayOutput) Index(i pulumi.IntInput) InstanceIamMemberOutput
func (InstanceIamMemberArrayOutput) ToInstanceIamMemberArrayOutput ¶
func (o InstanceIamMemberArrayOutput) ToInstanceIamMemberArrayOutput() InstanceIamMemberArrayOutput
func (InstanceIamMemberArrayOutput) ToInstanceIamMemberArrayOutputWithContext ¶
func (o InstanceIamMemberArrayOutput) ToInstanceIamMemberArrayOutputWithContext(ctx context.Context) InstanceIamMemberArrayOutput
type InstanceIamMemberConditionArgs ¶
type InstanceIamMemberConditionArgs struct { Description pulumi.StringPtrInput `pulumi:"description"` Expression pulumi.StringInput `pulumi:"expression"` Title pulumi.StringInput `pulumi:"title"` }
func (InstanceIamMemberConditionArgs) ElementType ¶
func (InstanceIamMemberConditionArgs) ElementType() reflect.Type
func (InstanceIamMemberConditionArgs) ToInstanceIamMemberConditionOutput ¶
func (i InstanceIamMemberConditionArgs) ToInstanceIamMemberConditionOutput() InstanceIamMemberConditionOutput
func (InstanceIamMemberConditionArgs) ToInstanceIamMemberConditionOutputWithContext ¶
func (i InstanceIamMemberConditionArgs) ToInstanceIamMemberConditionOutputWithContext(ctx context.Context) InstanceIamMemberConditionOutput
func (InstanceIamMemberConditionArgs) ToInstanceIamMemberConditionPtrOutput ¶
func (i InstanceIamMemberConditionArgs) ToInstanceIamMemberConditionPtrOutput() InstanceIamMemberConditionPtrOutput
func (InstanceIamMemberConditionArgs) ToInstanceIamMemberConditionPtrOutputWithContext ¶
func (i InstanceIamMemberConditionArgs) ToInstanceIamMemberConditionPtrOutputWithContext(ctx context.Context) InstanceIamMemberConditionPtrOutput
type InstanceIamMemberConditionInput ¶
type InstanceIamMemberConditionInput interface { pulumi.Input ToInstanceIamMemberConditionOutput() InstanceIamMemberConditionOutput ToInstanceIamMemberConditionOutputWithContext(context.Context) InstanceIamMemberConditionOutput }
InstanceIamMemberConditionInput is an input type that accepts InstanceIamMemberConditionArgs and InstanceIamMemberConditionOutput values. You can construct a concrete instance of `InstanceIamMemberConditionInput` via:
InstanceIamMemberConditionArgs{...}
type InstanceIamMemberConditionOutput ¶
type InstanceIamMemberConditionOutput struct{ *pulumi.OutputState }
func (InstanceIamMemberConditionOutput) Description ¶
func (o InstanceIamMemberConditionOutput) Description() pulumi.StringPtrOutput
func (InstanceIamMemberConditionOutput) ElementType ¶
func (InstanceIamMemberConditionOutput) ElementType() reflect.Type
func (InstanceIamMemberConditionOutput) Expression ¶
func (o InstanceIamMemberConditionOutput) Expression() pulumi.StringOutput
func (InstanceIamMemberConditionOutput) Title ¶
func (o InstanceIamMemberConditionOutput) Title() pulumi.StringOutput
func (InstanceIamMemberConditionOutput) ToInstanceIamMemberConditionOutput ¶
func (o InstanceIamMemberConditionOutput) ToInstanceIamMemberConditionOutput() InstanceIamMemberConditionOutput
func (InstanceIamMemberConditionOutput) ToInstanceIamMemberConditionOutputWithContext ¶
func (o InstanceIamMemberConditionOutput) ToInstanceIamMemberConditionOutputWithContext(ctx context.Context) InstanceIamMemberConditionOutput
func (InstanceIamMemberConditionOutput) ToInstanceIamMemberConditionPtrOutput ¶
func (o InstanceIamMemberConditionOutput) ToInstanceIamMemberConditionPtrOutput() InstanceIamMemberConditionPtrOutput
func (InstanceIamMemberConditionOutput) ToInstanceIamMemberConditionPtrOutputWithContext ¶
func (o InstanceIamMemberConditionOutput) ToInstanceIamMemberConditionPtrOutputWithContext(ctx context.Context) InstanceIamMemberConditionPtrOutput
type InstanceIamMemberConditionPtrInput ¶
type InstanceIamMemberConditionPtrInput interface { pulumi.Input ToInstanceIamMemberConditionPtrOutput() InstanceIamMemberConditionPtrOutput ToInstanceIamMemberConditionPtrOutputWithContext(context.Context) InstanceIamMemberConditionPtrOutput }
InstanceIamMemberConditionPtrInput is an input type that accepts InstanceIamMemberConditionArgs, InstanceIamMemberConditionPtr and InstanceIamMemberConditionPtrOutput values. You can construct a concrete instance of `InstanceIamMemberConditionPtrInput` via:
InstanceIamMemberConditionArgs{...} or: nil
func InstanceIamMemberConditionPtr ¶
func InstanceIamMemberConditionPtr(v *InstanceIamMemberConditionArgs) InstanceIamMemberConditionPtrInput
type InstanceIamMemberConditionPtrOutput ¶
type InstanceIamMemberConditionPtrOutput struct{ *pulumi.OutputState }
func (InstanceIamMemberConditionPtrOutput) Description ¶
func (o InstanceIamMemberConditionPtrOutput) Description() pulumi.StringPtrOutput
func (InstanceIamMemberConditionPtrOutput) Elem ¶
func (o InstanceIamMemberConditionPtrOutput) Elem() InstanceIamMemberConditionOutput
func (InstanceIamMemberConditionPtrOutput) ElementType ¶
func (InstanceIamMemberConditionPtrOutput) ElementType() reflect.Type
func (InstanceIamMemberConditionPtrOutput) Expression ¶
func (o InstanceIamMemberConditionPtrOutput) Expression() pulumi.StringPtrOutput
func (InstanceIamMemberConditionPtrOutput) Title ¶
func (o InstanceIamMemberConditionPtrOutput) Title() pulumi.StringPtrOutput
func (InstanceIamMemberConditionPtrOutput) ToInstanceIamMemberConditionPtrOutput ¶
func (o InstanceIamMemberConditionPtrOutput) ToInstanceIamMemberConditionPtrOutput() InstanceIamMemberConditionPtrOutput
func (InstanceIamMemberConditionPtrOutput) ToInstanceIamMemberConditionPtrOutputWithContext ¶
func (o InstanceIamMemberConditionPtrOutput) ToInstanceIamMemberConditionPtrOutputWithContext(ctx context.Context) InstanceIamMemberConditionPtrOutput
type InstanceIamMemberInput ¶
type InstanceIamMemberInput interface { pulumi.Input ToInstanceIamMemberOutput() InstanceIamMemberOutput ToInstanceIamMemberOutputWithContext(ctx context.Context) InstanceIamMemberOutput }
type InstanceIamMemberMap ¶
type InstanceIamMemberMap map[string]InstanceIamMemberInput
func (InstanceIamMemberMap) ElementType ¶
func (InstanceIamMemberMap) ElementType() reflect.Type
func (InstanceIamMemberMap) ToInstanceIamMemberMapOutput ¶
func (i InstanceIamMemberMap) ToInstanceIamMemberMapOutput() InstanceIamMemberMapOutput
func (InstanceIamMemberMap) ToInstanceIamMemberMapOutputWithContext ¶
func (i InstanceIamMemberMap) ToInstanceIamMemberMapOutputWithContext(ctx context.Context) InstanceIamMemberMapOutput
type InstanceIamMemberMapInput ¶
type InstanceIamMemberMapInput interface { pulumi.Input ToInstanceIamMemberMapOutput() InstanceIamMemberMapOutput ToInstanceIamMemberMapOutputWithContext(context.Context) InstanceIamMemberMapOutput }
InstanceIamMemberMapInput is an input type that accepts InstanceIamMemberMap and InstanceIamMemberMapOutput values. You can construct a concrete instance of `InstanceIamMemberMapInput` via:
InstanceIamMemberMap{ "key": InstanceIamMemberArgs{...} }
type InstanceIamMemberMapOutput ¶
type InstanceIamMemberMapOutput struct{ *pulumi.OutputState }
func (InstanceIamMemberMapOutput) ElementType ¶
func (InstanceIamMemberMapOutput) ElementType() reflect.Type
func (InstanceIamMemberMapOutput) MapIndex ¶
func (o InstanceIamMemberMapOutput) MapIndex(k pulumi.StringInput) InstanceIamMemberOutput
func (InstanceIamMemberMapOutput) ToInstanceIamMemberMapOutput ¶
func (o InstanceIamMemberMapOutput) ToInstanceIamMemberMapOutput() InstanceIamMemberMapOutput
func (InstanceIamMemberMapOutput) ToInstanceIamMemberMapOutputWithContext ¶
func (o InstanceIamMemberMapOutput) ToInstanceIamMemberMapOutputWithContext(ctx context.Context) InstanceIamMemberMapOutput
type InstanceIamMemberOutput ¶
type InstanceIamMemberOutput struct{ *pulumi.OutputState }
func (InstanceIamMemberOutput) Condition ¶
func (o InstanceIamMemberOutput) Condition() InstanceIamMemberConditionPtrOutput
func (InstanceIamMemberOutput) ElementType ¶
func (InstanceIamMemberOutput) ElementType() reflect.Type
func (InstanceIamMemberOutput) Etag ¶
func (o InstanceIamMemberOutput) Etag() pulumi.StringOutput
(Computed) The etag of the IAM policy.
func (InstanceIamMemberOutput) InstanceName ¶
func (o InstanceIamMemberOutput) InstanceName() pulumi.StringOutput
Used to find the parent resource to bind the IAM policy to
func (InstanceIamMemberOutput) Location ¶
func (o InstanceIamMemberOutput) Location() pulumi.StringOutput
A reference to the zone where the machine resides. 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 (InstanceIamMemberOutput) Member ¶
func (o InstanceIamMemberOutput) 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 (InstanceIamMemberOutput) Project ¶
func (o InstanceIamMemberOutput) 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 (InstanceIamMemberOutput) Role ¶
func (o InstanceIamMemberOutput) Role() pulumi.StringOutput
The role that should be applied. Only one `notebooks.InstanceIamBinding` can be used per role. Note that custom roles must be of the format `[projects|organizations]/{parent-name}/roles/{role-name}`.
func (InstanceIamMemberOutput) ToInstanceIamMemberOutput ¶
func (o InstanceIamMemberOutput) ToInstanceIamMemberOutput() InstanceIamMemberOutput
func (InstanceIamMemberOutput) ToInstanceIamMemberOutputWithContext ¶
func (o InstanceIamMemberOutput) ToInstanceIamMemberOutputWithContext(ctx context.Context) InstanceIamMemberOutput
type InstanceIamMemberState ¶
type InstanceIamMemberState struct { Condition InstanceIamMemberConditionPtrInput // (Computed) The etag of the IAM policy. Etag pulumi.StringPtrInput // Used to find the parent resource to bind the IAM policy to InstanceName pulumi.StringPtrInput // A reference to the zone where the machine resides. 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 // `notebooks.InstanceIamBinding` can be used per role. Note that custom roles must be of the format // `[projects|organizations]/{parent-name}/roles/{role-name}`. Role pulumi.StringPtrInput }
func (InstanceIamMemberState) ElementType ¶
func (InstanceIamMemberState) ElementType() reflect.Type
type InstanceIamPolicy ¶
type InstanceIamPolicy struct { pulumi.CustomResourceState // (Computed) The etag of the IAM policy. Etag pulumi.StringOutput `pulumi:"etag"` // Used to find the parent resource to bind the IAM policy to InstanceName pulumi.StringOutput `pulumi:"instanceName"` // A reference to the zone where the machine resides. 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"` }
Three different resources help you manage your IAM policy for Cloud AI Notebooks Instance. Each of these resources serves a different use case:
* `notebooks.InstanceIamPolicy`: Authoritative. Sets the IAM policy for the instance and replaces any existing policy already attached. * `notebooks.InstanceIamBinding`: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the instance are preserved. * `notebooks.InstanceIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the instance are preserved.
A data source can be used to retrieve policy data in advent you do not need creation ¶
* `notebooks.InstanceIamPolicy`: Retrieves the IAM policy for the instance
> **Note:** `notebooks.InstanceIamPolicy` **cannot** be used in conjunction with `notebooks.InstanceIamBinding` and `notebooks.InstanceIamMember` or they will fight over what your policy should be.
> **Note:** `notebooks.InstanceIamBinding` resources **can be** used in conjunction with `notebooks.InstanceIamMember` resources **only if** they do not grant privilege to the same role.
## notebooks.InstanceIamPolicy
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/notebooks" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/organizations" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { admin, err := organizations.LookupIAMPolicy(ctx, &organizations.LookupIAMPolicyArgs{ Bindings: []organizations.GetIAMPolicyBinding{ { Role: "roles/viewer", Members: []string{ "user:jane@example.com", }, }, }, }, nil) if err != nil { return err } _, err = notebooks.NewInstanceIamPolicy(ctx, "policy", ¬ebooks.InstanceIamPolicyArgs{ Project: pulumi.Any(instance.Project), Location: pulumi.Any(instance.Location), InstanceName: pulumi.Any(instance.Name), PolicyData: pulumi.String(admin.PolicyData), }) if err != nil { return err } return nil }) }
```
## notebooks.InstanceIamBinding
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/notebooks" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := notebooks.NewInstanceIamBinding(ctx, "binding", ¬ebooks.InstanceIamBindingArgs{ Project: pulumi.Any(instance.Project), Location: pulumi.Any(instance.Location), InstanceName: pulumi.Any(instance.Name), Role: pulumi.String("roles/viewer"), Members: pulumi.StringArray{ pulumi.String("user:jane@example.com"), }, }) if err != nil { return err } return nil }) }
```
## notebooks.InstanceIamMember
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/notebooks" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := notebooks.NewInstanceIamMember(ctx, "member", ¬ebooks.InstanceIamMemberArgs{ Project: pulumi.Any(instance.Project), Location: pulumi.Any(instance.Location), InstanceName: pulumi.Any(instance.Name), Role: pulumi.String("roles/viewer"), Member: pulumi.String("user:jane@example.com"), }) if err != nil { return err } return nil }) }
```
## This resource supports User Project Overrides.
-
# IAM policy for Cloud AI Notebooks Instance Three different resources help you manage your IAM policy for Cloud AI Notebooks Instance. Each of these resources serves a different use case:
* `notebooks.InstanceIamPolicy`: Authoritative. Sets the IAM policy for the instance and replaces any existing policy already attached. * `notebooks.InstanceIamBinding`: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the instance are preserved. * `notebooks.InstanceIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the instance are preserved.
A data source can be used to retrieve policy data in advent you do not need creation ¶
* `notebooks.InstanceIamPolicy`: Retrieves the IAM policy for the instance
> **Note:** `notebooks.InstanceIamPolicy` **cannot** be used in conjunction with `notebooks.InstanceIamBinding` and `notebooks.InstanceIamMember` or they will fight over what your policy should be.
> **Note:** `notebooks.InstanceIamBinding` resources **can be** used in conjunction with `notebooks.InstanceIamMember` resources **only if** they do not grant privilege to the same role.
## notebooks.InstanceIamPolicy
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/notebooks" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/organizations" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { admin, err := organizations.LookupIAMPolicy(ctx, &organizations.LookupIAMPolicyArgs{ Bindings: []organizations.GetIAMPolicyBinding{ { Role: "roles/viewer", Members: []string{ "user:jane@example.com", }, }, }, }, nil) if err != nil { return err } _, err = notebooks.NewInstanceIamPolicy(ctx, "policy", ¬ebooks.InstanceIamPolicyArgs{ Project: pulumi.Any(instance.Project), Location: pulumi.Any(instance.Location), InstanceName: pulumi.Any(instance.Name), PolicyData: pulumi.String(admin.PolicyData), }) if err != nil { return err } return nil }) }
```
## notebooks.InstanceIamBinding
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/notebooks" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := notebooks.NewInstanceIamBinding(ctx, "binding", ¬ebooks.InstanceIamBindingArgs{ Project: pulumi.Any(instance.Project), Location: pulumi.Any(instance.Location), InstanceName: pulumi.Any(instance.Name), Role: pulumi.String("roles/viewer"), Members: pulumi.StringArray{ pulumi.String("user:jane@example.com"), }, }) if err != nil { return err } return nil }) }
```
## notebooks.InstanceIamMember
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/notebooks" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := notebooks.NewInstanceIamMember(ctx, "member", ¬ebooks.InstanceIamMemberArgs{ Project: pulumi.Any(instance.Project), Location: pulumi.Any(instance.Location), InstanceName: pulumi.Any(instance.Name), Role: pulumi.String("roles/viewer"), Member: pulumi.String("user:jane@example.com"), }) if err != nil { return err } return nil }) }
```
## Import
For all import syntaxes, the "resource in question" can take any of the following forms:
* projects/{{project}}/locations/{{location}}/instances/{{instance_name}}
* {{project}}/{{location}}/{{instance_name}}
* {{location}}/{{instance_name}}
* {{instance_name}}
Any variables not passed in the import command will be taken from the provider configuration.
Cloud AI Notebooks instance 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:notebooks/instanceIamPolicy:InstanceIamPolicy editor "projects/{{project}}/locations/{{location}}/instances/{{instance_name}} 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:notebooks/instanceIamPolicy:InstanceIamPolicy editor "projects/{{project}}/locations/{{location}}/instances/{{instance_name}} roles/viewer" ```
IAM policy imports use the identifier of the resource in question, e.g.
```sh $ pulumi import gcp:notebooks/instanceIamPolicy:InstanceIamPolicy editor projects/{{project}}/locations/{{location}}/instances/{{instance_name}} ```
-> **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 GetInstanceIamPolicy ¶
func GetInstanceIamPolicy(ctx *pulumi.Context, name string, id pulumi.IDInput, state *InstanceIamPolicyState, opts ...pulumi.ResourceOption) (*InstanceIamPolicy, error)
GetInstanceIamPolicy gets an existing InstanceIamPolicy 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 NewInstanceIamPolicy ¶
func NewInstanceIamPolicy(ctx *pulumi.Context, name string, args *InstanceIamPolicyArgs, opts ...pulumi.ResourceOption) (*InstanceIamPolicy, error)
NewInstanceIamPolicy registers a new resource with the given unique name, arguments, and options.
func (*InstanceIamPolicy) ElementType ¶
func (*InstanceIamPolicy) ElementType() reflect.Type
func (*InstanceIamPolicy) ToInstanceIamPolicyOutput ¶
func (i *InstanceIamPolicy) ToInstanceIamPolicyOutput() InstanceIamPolicyOutput
func (*InstanceIamPolicy) ToInstanceIamPolicyOutputWithContext ¶
func (i *InstanceIamPolicy) ToInstanceIamPolicyOutputWithContext(ctx context.Context) InstanceIamPolicyOutput
type InstanceIamPolicyArgs ¶
type InstanceIamPolicyArgs struct { // Used to find the parent resource to bind the IAM policy to InstanceName pulumi.StringInput // A reference to the zone where the machine resides. 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 }
The set of arguments for constructing a InstanceIamPolicy resource.
func (InstanceIamPolicyArgs) ElementType ¶
func (InstanceIamPolicyArgs) ElementType() reflect.Type
type InstanceIamPolicyArray ¶
type InstanceIamPolicyArray []InstanceIamPolicyInput
func (InstanceIamPolicyArray) ElementType ¶
func (InstanceIamPolicyArray) ElementType() reflect.Type
func (InstanceIamPolicyArray) ToInstanceIamPolicyArrayOutput ¶
func (i InstanceIamPolicyArray) ToInstanceIamPolicyArrayOutput() InstanceIamPolicyArrayOutput
func (InstanceIamPolicyArray) ToInstanceIamPolicyArrayOutputWithContext ¶
func (i InstanceIamPolicyArray) ToInstanceIamPolicyArrayOutputWithContext(ctx context.Context) InstanceIamPolicyArrayOutput
type InstanceIamPolicyArrayInput ¶
type InstanceIamPolicyArrayInput interface { pulumi.Input ToInstanceIamPolicyArrayOutput() InstanceIamPolicyArrayOutput ToInstanceIamPolicyArrayOutputWithContext(context.Context) InstanceIamPolicyArrayOutput }
InstanceIamPolicyArrayInput is an input type that accepts InstanceIamPolicyArray and InstanceIamPolicyArrayOutput values. You can construct a concrete instance of `InstanceIamPolicyArrayInput` via:
InstanceIamPolicyArray{ InstanceIamPolicyArgs{...} }
type InstanceIamPolicyArrayOutput ¶
type InstanceIamPolicyArrayOutput struct{ *pulumi.OutputState }
func (InstanceIamPolicyArrayOutput) ElementType ¶
func (InstanceIamPolicyArrayOutput) ElementType() reflect.Type
func (InstanceIamPolicyArrayOutput) Index ¶
func (o InstanceIamPolicyArrayOutput) Index(i pulumi.IntInput) InstanceIamPolicyOutput
func (InstanceIamPolicyArrayOutput) ToInstanceIamPolicyArrayOutput ¶
func (o InstanceIamPolicyArrayOutput) ToInstanceIamPolicyArrayOutput() InstanceIamPolicyArrayOutput
func (InstanceIamPolicyArrayOutput) ToInstanceIamPolicyArrayOutputWithContext ¶
func (o InstanceIamPolicyArrayOutput) ToInstanceIamPolicyArrayOutputWithContext(ctx context.Context) InstanceIamPolicyArrayOutput
type InstanceIamPolicyInput ¶
type InstanceIamPolicyInput interface { pulumi.Input ToInstanceIamPolicyOutput() InstanceIamPolicyOutput ToInstanceIamPolicyOutputWithContext(ctx context.Context) InstanceIamPolicyOutput }
type InstanceIamPolicyMap ¶
type InstanceIamPolicyMap map[string]InstanceIamPolicyInput
func (InstanceIamPolicyMap) ElementType ¶
func (InstanceIamPolicyMap) ElementType() reflect.Type
func (InstanceIamPolicyMap) ToInstanceIamPolicyMapOutput ¶
func (i InstanceIamPolicyMap) ToInstanceIamPolicyMapOutput() InstanceIamPolicyMapOutput
func (InstanceIamPolicyMap) ToInstanceIamPolicyMapOutputWithContext ¶
func (i InstanceIamPolicyMap) ToInstanceIamPolicyMapOutputWithContext(ctx context.Context) InstanceIamPolicyMapOutput
type InstanceIamPolicyMapInput ¶
type InstanceIamPolicyMapInput interface { pulumi.Input ToInstanceIamPolicyMapOutput() InstanceIamPolicyMapOutput ToInstanceIamPolicyMapOutputWithContext(context.Context) InstanceIamPolicyMapOutput }
InstanceIamPolicyMapInput is an input type that accepts InstanceIamPolicyMap and InstanceIamPolicyMapOutput values. You can construct a concrete instance of `InstanceIamPolicyMapInput` via:
InstanceIamPolicyMap{ "key": InstanceIamPolicyArgs{...} }
type InstanceIamPolicyMapOutput ¶
type InstanceIamPolicyMapOutput struct{ *pulumi.OutputState }
func (InstanceIamPolicyMapOutput) ElementType ¶
func (InstanceIamPolicyMapOutput) ElementType() reflect.Type
func (InstanceIamPolicyMapOutput) MapIndex ¶
func (o InstanceIamPolicyMapOutput) MapIndex(k pulumi.StringInput) InstanceIamPolicyOutput
func (InstanceIamPolicyMapOutput) ToInstanceIamPolicyMapOutput ¶
func (o InstanceIamPolicyMapOutput) ToInstanceIamPolicyMapOutput() InstanceIamPolicyMapOutput
func (InstanceIamPolicyMapOutput) ToInstanceIamPolicyMapOutputWithContext ¶
func (o InstanceIamPolicyMapOutput) ToInstanceIamPolicyMapOutputWithContext(ctx context.Context) InstanceIamPolicyMapOutput
type InstanceIamPolicyOutput ¶
type InstanceIamPolicyOutput struct{ *pulumi.OutputState }
func (InstanceIamPolicyOutput) ElementType ¶
func (InstanceIamPolicyOutput) ElementType() reflect.Type
func (InstanceIamPolicyOutput) Etag ¶
func (o InstanceIamPolicyOutput) Etag() pulumi.StringOutput
(Computed) The etag of the IAM policy.
func (InstanceIamPolicyOutput) InstanceName ¶
func (o InstanceIamPolicyOutput) InstanceName() pulumi.StringOutput
Used to find the parent resource to bind the IAM policy to
func (InstanceIamPolicyOutput) Location ¶
func (o InstanceIamPolicyOutput) Location() pulumi.StringOutput
A reference to the zone where the machine resides. 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 (InstanceIamPolicyOutput) PolicyData ¶
func (o InstanceIamPolicyOutput) PolicyData() pulumi.StringOutput
The policy data generated by a `organizations.getIAMPolicy` data source.
func (InstanceIamPolicyOutput) Project ¶
func (o InstanceIamPolicyOutput) 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 (InstanceIamPolicyOutput) ToInstanceIamPolicyOutput ¶
func (o InstanceIamPolicyOutput) ToInstanceIamPolicyOutput() InstanceIamPolicyOutput
func (InstanceIamPolicyOutput) ToInstanceIamPolicyOutputWithContext ¶
func (o InstanceIamPolicyOutput) ToInstanceIamPolicyOutputWithContext(ctx context.Context) InstanceIamPolicyOutput
type InstanceIamPolicyState ¶
type InstanceIamPolicyState struct { // (Computed) The etag of the IAM policy. Etag pulumi.StringPtrInput // Used to find the parent resource to bind the IAM policy to InstanceName pulumi.StringPtrInput // A reference to the zone where the machine resides. 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 }
func (InstanceIamPolicyState) ElementType ¶
func (InstanceIamPolicyState) ElementType() reflect.Type
type InstanceInput ¶
type InstanceInput interface { pulumi.Input ToInstanceOutput() InstanceOutput ToInstanceOutputWithContext(ctx context.Context) InstanceOutput }
type InstanceMap ¶
type InstanceMap map[string]InstanceInput
func (InstanceMap) ElementType ¶
func (InstanceMap) ElementType() reflect.Type
func (InstanceMap) ToInstanceMapOutput ¶
func (i InstanceMap) ToInstanceMapOutput() InstanceMapOutput
func (InstanceMap) ToInstanceMapOutputWithContext ¶
func (i InstanceMap) ToInstanceMapOutputWithContext(ctx context.Context) InstanceMapOutput
type InstanceMapInput ¶
type InstanceMapInput interface { pulumi.Input ToInstanceMapOutput() InstanceMapOutput ToInstanceMapOutputWithContext(context.Context) InstanceMapOutput }
InstanceMapInput is an input type that accepts InstanceMap and InstanceMapOutput values. You can construct a concrete instance of `InstanceMapInput` via:
InstanceMap{ "key": InstanceArgs{...} }
type InstanceMapOutput ¶
type InstanceMapOutput struct{ *pulumi.OutputState }
func (InstanceMapOutput) ElementType ¶
func (InstanceMapOutput) ElementType() reflect.Type
func (InstanceMapOutput) MapIndex ¶
func (o InstanceMapOutput) MapIndex(k pulumi.StringInput) InstanceOutput
func (InstanceMapOutput) ToInstanceMapOutput ¶
func (o InstanceMapOutput) ToInstanceMapOutput() InstanceMapOutput
func (InstanceMapOutput) ToInstanceMapOutputWithContext ¶
func (o InstanceMapOutput) ToInstanceMapOutputWithContext(ctx context.Context) InstanceMapOutput
type InstanceOutput ¶
type InstanceOutput struct{ *pulumi.OutputState }
func (InstanceOutput) AcceleratorConfig ¶
func (o InstanceOutput) AcceleratorConfig() InstanceAcceleratorConfigPtrOutput
The hardware accelerator used on this instance. If you use accelerators, make sure that your configuration has enough vCPUs and memory to support the machineType you have selected. Structure is documented below.
func (InstanceOutput) BootDiskSizeGb ¶
func (o InstanceOutput) BootDiskSizeGb() pulumi.IntPtrOutput
The size of the boot disk in GB attached to this instance, up to a maximum of 64000 GB (64 TB). The minimum recommended value is 100 GB. If not specified, this defaults to 100.
func (InstanceOutput) BootDiskType ¶
func (o InstanceOutput) BootDiskType() pulumi.StringPtrOutput
Possible disk types for notebook instances. Possible values are: `DISK_TYPE_UNSPECIFIED`, `PD_STANDARD`, `PD_SSD`, `PD_BALANCED`, `PD_EXTREME`.
func (InstanceOutput) ContainerImage ¶
func (o InstanceOutput) ContainerImage() InstanceContainerImagePtrOutput
Use a container image to start the notebook instance. Structure is documented below.
func (InstanceOutput) CreateTime ¶
func (o InstanceOutput) CreateTime() pulumi.StringOutput
Instance creation time
func (InstanceOutput) CustomGpuDriverPath ¶
func (o InstanceOutput) CustomGpuDriverPath() pulumi.StringPtrOutput
Specify a custom Cloud Storage path where the GPU driver is stored. If not specified, we'll automatically choose from official GPU drivers.
func (InstanceOutput) DataDiskSizeGb ¶
func (o InstanceOutput) DataDiskSizeGb() pulumi.IntPtrOutput
The size of the data disk in GB attached to this instance, up to a maximum of 64000 GB (64 TB). You can choose the size of the data disk based on how big your notebooks and data are. If not specified, this defaults to 100.
func (InstanceOutput) DataDiskType ¶
func (o InstanceOutput) DataDiskType() pulumi.StringPtrOutput
Possible disk types for notebook instances. Possible values are: `DISK_TYPE_UNSPECIFIED`, `PD_STANDARD`, `PD_SSD`, `PD_BALANCED`, `PD_EXTREME`.
func (InstanceOutput) DesiredState ¶
func (o InstanceOutput) DesiredState() pulumi.StringPtrOutput
Desired state of the Notebook Instance. Set this field to `ACTIVE` to start the Instance, and `STOPPED` to stop the Instance.
func (InstanceOutput) DiskEncryption ¶
func (o InstanceOutput) DiskEncryption() pulumi.StringOutput
Disk encryption method used on the boot and data disks, defaults to GMEK. Possible values are: `DISK_ENCRYPTION_UNSPECIFIED`, `GMEK`, `CMEK`.
func (InstanceOutput) EffectiveLabels ¶
func (o InstanceOutput) 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 (InstanceOutput) ElementType ¶
func (InstanceOutput) ElementType() reflect.Type
func (InstanceOutput) InstallGpuDriver ¶
func (o InstanceOutput) InstallGpuDriver() pulumi.BoolPtrOutput
Whether the end user authorizes Google Cloud to install GPU driver on this instance. If this field is empty or set to false, the GPU driver won't be installed. Only applicable to instances with GPUs.
func (InstanceOutput) InstanceOwners ¶
func (o InstanceOutput) InstanceOwners() pulumi.StringArrayOutput
The list of owners of this instance after creation. Format: alias@example.com. Currently supports one owner only. If not specified, all of the service account users of your VM instance's service account can use the instance.
func (InstanceOutput) KmsKey ¶
func (o InstanceOutput) KmsKey() pulumi.StringPtrOutput
The KMS key used to encrypt the disks, only applicable if diskEncryption is CMEK. Format: projects/{project_id}/locations/{location}/keyRings/{key_ring_id}/cryptoKeys/{key_id}
func (InstanceOutput) Labels ¶
func (o InstanceOutput) Labels() pulumi.StringMapOutput
Labels to apply to this instance. These can be later modified by the setLabels method. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
**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 (InstanceOutput) Location ¶
func (o InstanceOutput) Location() pulumi.StringOutput
A reference to the zone where the machine resides.
***
func (InstanceOutput) MachineType ¶
func (o InstanceOutput) MachineType() pulumi.StringOutput
A reference to a machine type which defines VM kind.
func (InstanceOutput) Metadata ¶
func (o InstanceOutput) Metadata() pulumi.StringMapOutput
Custom metadata to apply to this instance. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
func (InstanceOutput) Name ¶
func (o InstanceOutput) Name() pulumi.StringOutput
The name specified for the Notebook instance.
func (InstanceOutput) Network ¶
func (o InstanceOutput) Network() pulumi.StringOutput
The name of the VPC that this instance is in. Format: projects/{project_id}/global/networks/{network_id}
func (InstanceOutput) NicType ¶
func (o InstanceOutput) NicType() pulumi.StringPtrOutput
The type of vNIC driver. Possible values are: `UNSPECIFIED_NIC_TYPE`, `VIRTIO_NET`, `GVNIC`.
func (InstanceOutput) NoProxyAccess ¶
func (o InstanceOutput) NoProxyAccess() pulumi.BoolPtrOutput
The notebook instance will not register with the proxy..
func (InstanceOutput) NoPublicIp ¶
func (o InstanceOutput) NoPublicIp() pulumi.BoolPtrOutput
No public IP will be assigned to this instance.
func (InstanceOutput) NoRemoveDataDisk ¶
func (o InstanceOutput) NoRemoveDataDisk() pulumi.BoolPtrOutput
If true, the data disk will not be auto deleted when deleting the instance.
func (InstanceOutput) PostStartupScript ¶
func (o InstanceOutput) PostStartupScript() pulumi.StringPtrOutput
Path to a Bash script that automatically runs after a notebook instance fully boots up. The path must be a URL or Cloud Storage path (gs://path-to-file/file-name).
func (InstanceOutput) Project ¶
func (o InstanceOutput) Project() pulumi.StringOutput
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
func (InstanceOutput) ProxyUri ¶
func (o InstanceOutput) ProxyUri() pulumi.StringOutput
The proxy endpoint that is used to access the Jupyter notebook. Only returned when the resource is in a `PROVISIONED` state. If needed you can utilize `pulumi up -refresh-only` to await the population of this value.
func (InstanceOutput) PulumiLabels ¶
func (o InstanceOutput) PulumiLabels() pulumi.StringMapOutput
The combination of labels configured directly on the resource and default labels configured on the provider.
func (InstanceOutput) ReservationAffinity ¶
func (o InstanceOutput) ReservationAffinity() InstanceReservationAffinityPtrOutput
Reservation Affinity for consuming Zonal reservation. Structure is documented below.
func (InstanceOutput) ServiceAccount ¶
func (o InstanceOutput) ServiceAccount() pulumi.StringOutput
The service account on this instance, giving access to other Google Cloud services. You can use any service account within the same project, but you must have the service account user permission to use the instance. If not specified, the Compute Engine default service account is used.
func (InstanceOutput) ServiceAccountScopes ¶
func (o InstanceOutput) ServiceAccountScopes() pulumi.StringArrayOutput
Optional. The URIs of service account scopes to be included in Compute Engine instances. If not specified, the following scopes are defined: - https://www.googleapis.com/auth/cloud-platform - https://www.googleapis.com/auth/userinfo.email
func (InstanceOutput) ShieldedInstanceConfig ¶
func (o InstanceOutput) ShieldedInstanceConfig() InstanceShieldedInstanceConfigOutput
A set of Shielded Instance options. Check [Images using supported Shielded VM features] Not all combinations are valid Structure is documented below.
func (InstanceOutput) State ¶
func (o InstanceOutput) State() pulumi.StringOutput
The state of this instance.
func (InstanceOutput) Subnet ¶
func (o InstanceOutput) Subnet() pulumi.StringOutput
The name of the subnet that this instance is in. Format: projects/{project_id}/regions/{region}/subnetworks/{subnetwork_id}
func (InstanceOutput) Tags ¶
func (o InstanceOutput) Tags() pulumi.StringArrayOutput
The Compute Engine tags to add to instance.
func (InstanceOutput) ToInstanceOutput ¶
func (o InstanceOutput) ToInstanceOutput() InstanceOutput
func (InstanceOutput) ToInstanceOutputWithContext ¶
func (o InstanceOutput) ToInstanceOutputWithContext(ctx context.Context) InstanceOutput
func (InstanceOutput) UpdateTime ¶
func (o InstanceOutput) UpdateTime() pulumi.StringOutput
Instance update time.
func (InstanceOutput) VmImage ¶
func (o InstanceOutput) VmImage() InstanceVmImagePtrOutput
Use a Compute Engine VM image to start the notebook instance. Structure is documented below.
type InstanceReservationAffinity ¶
type InstanceReservationAffinity struct { // The type of Compute Reservation. // Possible values are: `NO_RESERVATION`, `ANY_RESERVATION`, `SPECIFIC_RESERVATION`. ConsumeReservationType string `pulumi:"consumeReservationType"` // Corresponds to the label key of reservation resource. Key *string `pulumi:"key"` // Corresponds to the label values of reservation resource. Values []string `pulumi:"values"` }
type InstanceReservationAffinityArgs ¶
type InstanceReservationAffinityArgs struct { // The type of Compute Reservation. // Possible values are: `NO_RESERVATION`, `ANY_RESERVATION`, `SPECIFIC_RESERVATION`. ConsumeReservationType pulumi.StringInput `pulumi:"consumeReservationType"` // Corresponds to the label key of reservation resource. Key pulumi.StringPtrInput `pulumi:"key"` // Corresponds to the label values of reservation resource. Values pulumi.StringArrayInput `pulumi:"values"` }
func (InstanceReservationAffinityArgs) ElementType ¶
func (InstanceReservationAffinityArgs) ElementType() reflect.Type
func (InstanceReservationAffinityArgs) ToInstanceReservationAffinityOutput ¶
func (i InstanceReservationAffinityArgs) ToInstanceReservationAffinityOutput() InstanceReservationAffinityOutput
func (InstanceReservationAffinityArgs) ToInstanceReservationAffinityOutputWithContext ¶
func (i InstanceReservationAffinityArgs) ToInstanceReservationAffinityOutputWithContext(ctx context.Context) InstanceReservationAffinityOutput
func (InstanceReservationAffinityArgs) ToInstanceReservationAffinityPtrOutput ¶
func (i InstanceReservationAffinityArgs) ToInstanceReservationAffinityPtrOutput() InstanceReservationAffinityPtrOutput
func (InstanceReservationAffinityArgs) ToInstanceReservationAffinityPtrOutputWithContext ¶
func (i InstanceReservationAffinityArgs) ToInstanceReservationAffinityPtrOutputWithContext(ctx context.Context) InstanceReservationAffinityPtrOutput
type InstanceReservationAffinityInput ¶
type InstanceReservationAffinityInput interface { pulumi.Input ToInstanceReservationAffinityOutput() InstanceReservationAffinityOutput ToInstanceReservationAffinityOutputWithContext(context.Context) InstanceReservationAffinityOutput }
InstanceReservationAffinityInput is an input type that accepts InstanceReservationAffinityArgs and InstanceReservationAffinityOutput values. You can construct a concrete instance of `InstanceReservationAffinityInput` via:
InstanceReservationAffinityArgs{...}
type InstanceReservationAffinityOutput ¶
type InstanceReservationAffinityOutput struct{ *pulumi.OutputState }
func (InstanceReservationAffinityOutput) ConsumeReservationType ¶
func (o InstanceReservationAffinityOutput) ConsumeReservationType() pulumi.StringOutput
The type of Compute Reservation. Possible values are: `NO_RESERVATION`, `ANY_RESERVATION`, `SPECIFIC_RESERVATION`.
func (InstanceReservationAffinityOutput) ElementType ¶
func (InstanceReservationAffinityOutput) ElementType() reflect.Type
func (InstanceReservationAffinityOutput) Key ¶
func (o InstanceReservationAffinityOutput) Key() pulumi.StringPtrOutput
Corresponds to the label key of reservation resource.
func (InstanceReservationAffinityOutput) ToInstanceReservationAffinityOutput ¶
func (o InstanceReservationAffinityOutput) ToInstanceReservationAffinityOutput() InstanceReservationAffinityOutput
func (InstanceReservationAffinityOutput) ToInstanceReservationAffinityOutputWithContext ¶
func (o InstanceReservationAffinityOutput) ToInstanceReservationAffinityOutputWithContext(ctx context.Context) InstanceReservationAffinityOutput
func (InstanceReservationAffinityOutput) ToInstanceReservationAffinityPtrOutput ¶
func (o InstanceReservationAffinityOutput) ToInstanceReservationAffinityPtrOutput() InstanceReservationAffinityPtrOutput
func (InstanceReservationAffinityOutput) ToInstanceReservationAffinityPtrOutputWithContext ¶
func (o InstanceReservationAffinityOutput) ToInstanceReservationAffinityPtrOutputWithContext(ctx context.Context) InstanceReservationAffinityPtrOutput
func (InstanceReservationAffinityOutput) Values ¶
func (o InstanceReservationAffinityOutput) Values() pulumi.StringArrayOutput
Corresponds to the label values of reservation resource.
type InstanceReservationAffinityPtrInput ¶
type InstanceReservationAffinityPtrInput interface { pulumi.Input ToInstanceReservationAffinityPtrOutput() InstanceReservationAffinityPtrOutput ToInstanceReservationAffinityPtrOutputWithContext(context.Context) InstanceReservationAffinityPtrOutput }
InstanceReservationAffinityPtrInput is an input type that accepts InstanceReservationAffinityArgs, InstanceReservationAffinityPtr and InstanceReservationAffinityPtrOutput values. You can construct a concrete instance of `InstanceReservationAffinityPtrInput` via:
InstanceReservationAffinityArgs{...} or: nil
func InstanceReservationAffinityPtr ¶
func InstanceReservationAffinityPtr(v *InstanceReservationAffinityArgs) InstanceReservationAffinityPtrInput
type InstanceReservationAffinityPtrOutput ¶
type InstanceReservationAffinityPtrOutput struct{ *pulumi.OutputState }
func (InstanceReservationAffinityPtrOutput) ConsumeReservationType ¶
func (o InstanceReservationAffinityPtrOutput) ConsumeReservationType() pulumi.StringPtrOutput
The type of Compute Reservation. Possible values are: `NO_RESERVATION`, `ANY_RESERVATION`, `SPECIFIC_RESERVATION`.
func (InstanceReservationAffinityPtrOutput) ElementType ¶
func (InstanceReservationAffinityPtrOutput) ElementType() reflect.Type
func (InstanceReservationAffinityPtrOutput) Key ¶
func (o InstanceReservationAffinityPtrOutput) Key() pulumi.StringPtrOutput
Corresponds to the label key of reservation resource.
func (InstanceReservationAffinityPtrOutput) ToInstanceReservationAffinityPtrOutput ¶
func (o InstanceReservationAffinityPtrOutput) ToInstanceReservationAffinityPtrOutput() InstanceReservationAffinityPtrOutput
func (InstanceReservationAffinityPtrOutput) ToInstanceReservationAffinityPtrOutputWithContext ¶
func (o InstanceReservationAffinityPtrOutput) ToInstanceReservationAffinityPtrOutputWithContext(ctx context.Context) InstanceReservationAffinityPtrOutput
func (InstanceReservationAffinityPtrOutput) Values ¶
func (o InstanceReservationAffinityPtrOutput) Values() pulumi.StringArrayOutput
Corresponds to the label values of reservation resource.
type InstanceShieldedInstanceConfig ¶
type InstanceShieldedInstanceConfig struct { // Defines whether the instance has integrity monitoring enabled. Enables monitoring and attestation of the // boot integrity of the instance. The attestation is performed against the integrity policy baseline. // This baseline is initially derived from the implicitly trusted boot image when the instance is created. // Enabled by default. EnableIntegrityMonitoring *bool `pulumi:"enableIntegrityMonitoring"` // Defines whether the instance has Secure Boot enabled. Secure Boot helps ensure that the system only runs // authentic software by verifying the digital signature of all boot components, and halting the boot process // if signature verification fails. // Disabled by default. EnableSecureBoot *bool `pulumi:"enableSecureBoot"` // Defines whether the instance has the vTPM enabled. // Enabled by default. EnableVtpm *bool `pulumi:"enableVtpm"` }
type InstanceShieldedInstanceConfigArgs ¶
type InstanceShieldedInstanceConfigArgs struct { // Defines whether the instance has integrity monitoring enabled. Enables monitoring and attestation of the // boot integrity of the instance. The attestation is performed against the integrity policy baseline. // This baseline is initially derived from the implicitly trusted boot image when the instance is created. // Enabled by default. EnableIntegrityMonitoring pulumi.BoolPtrInput `pulumi:"enableIntegrityMonitoring"` // Defines whether the instance has Secure Boot enabled. Secure Boot helps ensure that the system only runs // authentic software by verifying the digital signature of all boot components, and halting the boot process // if signature verification fails. // Disabled by default. EnableSecureBoot pulumi.BoolPtrInput `pulumi:"enableSecureBoot"` // Defines whether the instance has the vTPM enabled. // Enabled by default. EnableVtpm pulumi.BoolPtrInput `pulumi:"enableVtpm"` }
func (InstanceShieldedInstanceConfigArgs) ElementType ¶
func (InstanceShieldedInstanceConfigArgs) ElementType() reflect.Type
func (InstanceShieldedInstanceConfigArgs) ToInstanceShieldedInstanceConfigOutput ¶
func (i InstanceShieldedInstanceConfigArgs) ToInstanceShieldedInstanceConfigOutput() InstanceShieldedInstanceConfigOutput
func (InstanceShieldedInstanceConfigArgs) ToInstanceShieldedInstanceConfigOutputWithContext ¶
func (i InstanceShieldedInstanceConfigArgs) ToInstanceShieldedInstanceConfigOutputWithContext(ctx context.Context) InstanceShieldedInstanceConfigOutput
func (InstanceShieldedInstanceConfigArgs) ToInstanceShieldedInstanceConfigPtrOutput ¶
func (i InstanceShieldedInstanceConfigArgs) ToInstanceShieldedInstanceConfigPtrOutput() InstanceShieldedInstanceConfigPtrOutput
func (InstanceShieldedInstanceConfigArgs) ToInstanceShieldedInstanceConfigPtrOutputWithContext ¶
func (i InstanceShieldedInstanceConfigArgs) ToInstanceShieldedInstanceConfigPtrOutputWithContext(ctx context.Context) InstanceShieldedInstanceConfigPtrOutput
type InstanceShieldedInstanceConfigInput ¶
type InstanceShieldedInstanceConfigInput interface { pulumi.Input ToInstanceShieldedInstanceConfigOutput() InstanceShieldedInstanceConfigOutput ToInstanceShieldedInstanceConfigOutputWithContext(context.Context) InstanceShieldedInstanceConfigOutput }
InstanceShieldedInstanceConfigInput is an input type that accepts InstanceShieldedInstanceConfigArgs and InstanceShieldedInstanceConfigOutput values. You can construct a concrete instance of `InstanceShieldedInstanceConfigInput` via:
InstanceShieldedInstanceConfigArgs{...}
type InstanceShieldedInstanceConfigOutput ¶
type InstanceShieldedInstanceConfigOutput struct{ *pulumi.OutputState }
func (InstanceShieldedInstanceConfigOutput) ElementType ¶
func (InstanceShieldedInstanceConfigOutput) ElementType() reflect.Type
func (InstanceShieldedInstanceConfigOutput) EnableIntegrityMonitoring ¶
func (o InstanceShieldedInstanceConfigOutput) EnableIntegrityMonitoring() pulumi.BoolPtrOutput
Defines whether the instance has integrity monitoring enabled. Enables monitoring and attestation of the boot integrity of the instance. The attestation is performed against the integrity policy baseline. This baseline is initially derived from the implicitly trusted boot image when the instance is created. Enabled by default.
func (InstanceShieldedInstanceConfigOutput) EnableSecureBoot ¶
func (o InstanceShieldedInstanceConfigOutput) EnableSecureBoot() pulumi.BoolPtrOutput
Defines whether the instance has Secure Boot enabled. Secure Boot helps ensure that the system only runs authentic software by verifying the digital signature of all boot components, and halting the boot process if signature verification fails. Disabled by default.
func (InstanceShieldedInstanceConfigOutput) EnableVtpm ¶
func (o InstanceShieldedInstanceConfigOutput) EnableVtpm() pulumi.BoolPtrOutput
Defines whether the instance has the vTPM enabled. Enabled by default.
func (InstanceShieldedInstanceConfigOutput) ToInstanceShieldedInstanceConfigOutput ¶
func (o InstanceShieldedInstanceConfigOutput) ToInstanceShieldedInstanceConfigOutput() InstanceShieldedInstanceConfigOutput
func (InstanceShieldedInstanceConfigOutput) ToInstanceShieldedInstanceConfigOutputWithContext ¶
func (o InstanceShieldedInstanceConfigOutput) ToInstanceShieldedInstanceConfigOutputWithContext(ctx context.Context) InstanceShieldedInstanceConfigOutput
func (InstanceShieldedInstanceConfigOutput) ToInstanceShieldedInstanceConfigPtrOutput ¶
func (o InstanceShieldedInstanceConfigOutput) ToInstanceShieldedInstanceConfigPtrOutput() InstanceShieldedInstanceConfigPtrOutput
func (InstanceShieldedInstanceConfigOutput) ToInstanceShieldedInstanceConfigPtrOutputWithContext ¶
func (o InstanceShieldedInstanceConfigOutput) ToInstanceShieldedInstanceConfigPtrOutputWithContext(ctx context.Context) InstanceShieldedInstanceConfigPtrOutput
type InstanceShieldedInstanceConfigPtrInput ¶
type InstanceShieldedInstanceConfigPtrInput interface { pulumi.Input ToInstanceShieldedInstanceConfigPtrOutput() InstanceShieldedInstanceConfigPtrOutput ToInstanceShieldedInstanceConfigPtrOutputWithContext(context.Context) InstanceShieldedInstanceConfigPtrOutput }
InstanceShieldedInstanceConfigPtrInput is an input type that accepts InstanceShieldedInstanceConfigArgs, InstanceShieldedInstanceConfigPtr and InstanceShieldedInstanceConfigPtrOutput values. You can construct a concrete instance of `InstanceShieldedInstanceConfigPtrInput` via:
InstanceShieldedInstanceConfigArgs{...} or: nil
func InstanceShieldedInstanceConfigPtr ¶
func InstanceShieldedInstanceConfigPtr(v *InstanceShieldedInstanceConfigArgs) InstanceShieldedInstanceConfigPtrInput
type InstanceShieldedInstanceConfigPtrOutput ¶
type InstanceShieldedInstanceConfigPtrOutput struct{ *pulumi.OutputState }
func (InstanceShieldedInstanceConfigPtrOutput) ElementType ¶
func (InstanceShieldedInstanceConfigPtrOutput) ElementType() reflect.Type
func (InstanceShieldedInstanceConfigPtrOutput) EnableIntegrityMonitoring ¶
func (o InstanceShieldedInstanceConfigPtrOutput) EnableIntegrityMonitoring() pulumi.BoolPtrOutput
Defines whether the instance has integrity monitoring enabled. Enables monitoring and attestation of the boot integrity of the instance. The attestation is performed against the integrity policy baseline. This baseline is initially derived from the implicitly trusted boot image when the instance is created. Enabled by default.
func (InstanceShieldedInstanceConfigPtrOutput) EnableSecureBoot ¶
func (o InstanceShieldedInstanceConfigPtrOutput) EnableSecureBoot() pulumi.BoolPtrOutput
Defines whether the instance has Secure Boot enabled. Secure Boot helps ensure that the system only runs authentic software by verifying the digital signature of all boot components, and halting the boot process if signature verification fails. Disabled by default.
func (InstanceShieldedInstanceConfigPtrOutput) EnableVtpm ¶
func (o InstanceShieldedInstanceConfigPtrOutput) EnableVtpm() pulumi.BoolPtrOutput
Defines whether the instance has the vTPM enabled. Enabled by default.
func (InstanceShieldedInstanceConfigPtrOutput) ToInstanceShieldedInstanceConfigPtrOutput ¶
func (o InstanceShieldedInstanceConfigPtrOutput) ToInstanceShieldedInstanceConfigPtrOutput() InstanceShieldedInstanceConfigPtrOutput
func (InstanceShieldedInstanceConfigPtrOutput) ToInstanceShieldedInstanceConfigPtrOutputWithContext ¶
func (o InstanceShieldedInstanceConfigPtrOutput) ToInstanceShieldedInstanceConfigPtrOutputWithContext(ctx context.Context) InstanceShieldedInstanceConfigPtrOutput
type InstanceState ¶
type InstanceState struct { // The hardware accelerator used on this instance. If you use accelerators, // make sure that your configuration has enough vCPUs and memory to support the // machineType you have selected. // Structure is documented below. AcceleratorConfig InstanceAcceleratorConfigPtrInput // The size of the boot disk in GB attached to this instance, // up to a maximum of 64000 GB (64 TB). The minimum recommended value is 100 GB. // If not specified, this defaults to 100. BootDiskSizeGb pulumi.IntPtrInput // Possible disk types for notebook instances. // Possible values are: `DISK_TYPE_UNSPECIFIED`, `PD_STANDARD`, `PD_SSD`, `PD_BALANCED`, `PD_EXTREME`. BootDiskType pulumi.StringPtrInput // Use a container image to start the notebook instance. // Structure is documented below. ContainerImage InstanceContainerImagePtrInput // Instance creation time CreateTime pulumi.StringPtrInput // Specify a custom Cloud Storage path where the GPU driver is stored. // If not specified, we'll automatically choose from official GPU drivers. CustomGpuDriverPath pulumi.StringPtrInput // The size of the data disk in GB attached to this instance, // up to a maximum of 64000 GB (64 TB). // You can choose the size of the data disk based on how big your notebooks and data are. // If not specified, this defaults to 100. DataDiskSizeGb pulumi.IntPtrInput // Possible disk types for notebook instances. // Possible values are: `DISK_TYPE_UNSPECIFIED`, `PD_STANDARD`, `PD_SSD`, `PD_BALANCED`, `PD_EXTREME`. DataDiskType pulumi.StringPtrInput // Desired state of the Notebook Instance. Set this field to `ACTIVE` to start the Instance, and `STOPPED` to stop the Instance. DesiredState pulumi.StringPtrInput // Disk encryption method used on the boot and data disks, defaults to GMEK. // Possible values are: `DISK_ENCRYPTION_UNSPECIFIED`, `GMEK`, `CMEK`. DiskEncryption pulumi.StringPtrInput // 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 the end user authorizes Google Cloud to install GPU driver // on this instance. If this field is empty or set to false, the GPU driver // won't be installed. Only applicable to instances with GPUs. InstallGpuDriver pulumi.BoolPtrInput // The list of owners of this instance after creation. // Format: alias@example.com. // Currently supports one owner only. // If not specified, all of the service account users of // your VM instance's service account can use the instance. InstanceOwners pulumi.StringArrayInput // The KMS key used to encrypt the disks, only applicable if diskEncryption is CMEK. // Format: projects/{project_id}/locations/{location}/keyRings/{key_ring_id}/cryptoKeys/{key_id} KmsKey pulumi.StringPtrInput // Labels to apply to this instance. These can be later modified by the setLabels method. // An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }. // // **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 // A reference to the zone where the machine resides. // // *** Location pulumi.StringPtrInput // A reference to a machine type which defines VM kind. MachineType pulumi.StringPtrInput // Custom metadata to apply to this instance. // An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }. Metadata pulumi.StringMapInput // The name specified for the Notebook instance. Name pulumi.StringPtrInput // The name of the VPC that this instance is in. // Format: projects/{project_id}/global/networks/{network_id} Network pulumi.StringPtrInput // The type of vNIC driver. // Possible values are: `UNSPECIFIED_NIC_TYPE`, `VIRTIO_NET`, `GVNIC`. NicType pulumi.StringPtrInput // The notebook instance will not register with the proxy.. NoProxyAccess pulumi.BoolPtrInput // No public IP will be assigned to this instance. NoPublicIp pulumi.BoolPtrInput // If true, the data disk will not be auto deleted when deleting the instance. NoRemoveDataDisk pulumi.BoolPtrInput // Path to a Bash script that automatically runs after a // notebook instance fully boots up. The path must be a URL // or Cloud Storage path (gs://path-to-file/file-name). PostStartupScript 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 proxy endpoint that is used to access the Jupyter notebook. // Only returned when the resource is in a `PROVISIONED` state. If // needed you can utilize `pulumi up -refresh-only` to await // the population of this value. ProxyUri pulumi.StringPtrInput // The combination of labels configured directly on the resource // and default labels configured on the provider. PulumiLabels pulumi.StringMapInput // Reservation Affinity for consuming Zonal reservation. // Structure is documented below. ReservationAffinity InstanceReservationAffinityPtrInput // The service account on this instance, giving access to other // Google Cloud services. You can use any service account within // the same project, but you must have the service account user // permission to use the instance. If not specified, // the Compute Engine default service account is used. ServiceAccount pulumi.StringPtrInput // Optional. The URIs of service account scopes to be included in Compute Engine instances. // If not specified, the following scopes are defined: // - https://www.googleapis.com/auth/cloud-platform // - https://www.googleapis.com/auth/userinfo.email ServiceAccountScopes pulumi.StringArrayInput // A set of Shielded Instance options. Check [Images using supported Shielded VM features] // Not all combinations are valid // Structure is documented below. ShieldedInstanceConfig InstanceShieldedInstanceConfigPtrInput // The state of this instance. State pulumi.StringPtrInput // The name of the subnet that this instance is in. // Format: projects/{project_id}/regions/{region}/subnetworks/{subnetwork_id} Subnet pulumi.StringPtrInput // The Compute Engine tags to add to instance. Tags pulumi.StringArrayInput // Instance update time. UpdateTime pulumi.StringPtrInput // Use a Compute Engine VM image to start the notebook instance. // Structure is documented below. VmImage InstanceVmImagePtrInput }
func (InstanceState) ElementType ¶
func (InstanceState) ElementType() reflect.Type
type InstanceVmImage ¶
type InstanceVmImage struct { // Use this VM image family to find the image; the newest image in this family will be used. ImageFamily *string `pulumi:"imageFamily"` // Use VM image name to find the image. ImageName *string `pulumi:"imageName"` // The name of the Google Cloud project that this VM image belongs to. // Format: projects/{project_id} Project string `pulumi:"project"` }
type InstanceVmImageArgs ¶
type InstanceVmImageArgs struct { // Use this VM image family to find the image; the newest image in this family will be used. ImageFamily pulumi.StringPtrInput `pulumi:"imageFamily"` // Use VM image name to find the image. ImageName pulumi.StringPtrInput `pulumi:"imageName"` // The name of the Google Cloud project that this VM image belongs to. // Format: projects/{project_id} Project pulumi.StringInput `pulumi:"project"` }
func (InstanceVmImageArgs) ElementType ¶
func (InstanceVmImageArgs) ElementType() reflect.Type
func (InstanceVmImageArgs) ToInstanceVmImageOutput ¶
func (i InstanceVmImageArgs) ToInstanceVmImageOutput() InstanceVmImageOutput
func (InstanceVmImageArgs) ToInstanceVmImageOutputWithContext ¶
func (i InstanceVmImageArgs) ToInstanceVmImageOutputWithContext(ctx context.Context) InstanceVmImageOutput
func (InstanceVmImageArgs) ToInstanceVmImagePtrOutput ¶
func (i InstanceVmImageArgs) ToInstanceVmImagePtrOutput() InstanceVmImagePtrOutput
func (InstanceVmImageArgs) ToInstanceVmImagePtrOutputWithContext ¶
func (i InstanceVmImageArgs) ToInstanceVmImagePtrOutputWithContext(ctx context.Context) InstanceVmImagePtrOutput
type InstanceVmImageInput ¶
type InstanceVmImageInput interface { pulumi.Input ToInstanceVmImageOutput() InstanceVmImageOutput ToInstanceVmImageOutputWithContext(context.Context) InstanceVmImageOutput }
InstanceVmImageInput is an input type that accepts InstanceVmImageArgs and InstanceVmImageOutput values. You can construct a concrete instance of `InstanceVmImageInput` via:
InstanceVmImageArgs{...}
type InstanceVmImageOutput ¶
type InstanceVmImageOutput struct{ *pulumi.OutputState }
func (InstanceVmImageOutput) ElementType ¶
func (InstanceVmImageOutput) ElementType() reflect.Type
func (InstanceVmImageOutput) ImageFamily ¶
func (o InstanceVmImageOutput) ImageFamily() pulumi.StringPtrOutput
Use this VM image family to find the image; the newest image in this family will be used.
func (InstanceVmImageOutput) ImageName ¶
func (o InstanceVmImageOutput) ImageName() pulumi.StringPtrOutput
Use VM image name to find the image.
func (InstanceVmImageOutput) Project ¶
func (o InstanceVmImageOutput) Project() pulumi.StringOutput
The name of the Google Cloud project that this VM image belongs to. Format: projects/{project_id}
func (InstanceVmImageOutput) ToInstanceVmImageOutput ¶
func (o InstanceVmImageOutput) ToInstanceVmImageOutput() InstanceVmImageOutput
func (InstanceVmImageOutput) ToInstanceVmImageOutputWithContext ¶
func (o InstanceVmImageOutput) ToInstanceVmImageOutputWithContext(ctx context.Context) InstanceVmImageOutput
func (InstanceVmImageOutput) ToInstanceVmImagePtrOutput ¶
func (o InstanceVmImageOutput) ToInstanceVmImagePtrOutput() InstanceVmImagePtrOutput
func (InstanceVmImageOutput) ToInstanceVmImagePtrOutputWithContext ¶
func (o InstanceVmImageOutput) ToInstanceVmImagePtrOutputWithContext(ctx context.Context) InstanceVmImagePtrOutput
type InstanceVmImagePtrInput ¶
type InstanceVmImagePtrInput interface { pulumi.Input ToInstanceVmImagePtrOutput() InstanceVmImagePtrOutput ToInstanceVmImagePtrOutputWithContext(context.Context) InstanceVmImagePtrOutput }
InstanceVmImagePtrInput is an input type that accepts InstanceVmImageArgs, InstanceVmImagePtr and InstanceVmImagePtrOutput values. You can construct a concrete instance of `InstanceVmImagePtrInput` via:
InstanceVmImageArgs{...} or: nil
func InstanceVmImagePtr ¶
func InstanceVmImagePtr(v *InstanceVmImageArgs) InstanceVmImagePtrInput
type InstanceVmImagePtrOutput ¶
type InstanceVmImagePtrOutput struct{ *pulumi.OutputState }
func (InstanceVmImagePtrOutput) Elem ¶
func (o InstanceVmImagePtrOutput) Elem() InstanceVmImageOutput
func (InstanceVmImagePtrOutput) ElementType ¶
func (InstanceVmImagePtrOutput) ElementType() reflect.Type
func (InstanceVmImagePtrOutput) ImageFamily ¶
func (o InstanceVmImagePtrOutput) ImageFamily() pulumi.StringPtrOutput
Use this VM image family to find the image; the newest image in this family will be used.
func (InstanceVmImagePtrOutput) ImageName ¶
func (o InstanceVmImagePtrOutput) ImageName() pulumi.StringPtrOutput
Use VM image name to find the image.
func (InstanceVmImagePtrOutput) Project ¶
func (o InstanceVmImagePtrOutput) Project() pulumi.StringPtrOutput
The name of the Google Cloud project that this VM image belongs to. Format: projects/{project_id}
func (InstanceVmImagePtrOutput) ToInstanceVmImagePtrOutput ¶
func (o InstanceVmImagePtrOutput) ToInstanceVmImagePtrOutput() InstanceVmImagePtrOutput
func (InstanceVmImagePtrOutput) ToInstanceVmImagePtrOutputWithContext ¶
func (o InstanceVmImagePtrOutput) ToInstanceVmImagePtrOutputWithContext(ctx context.Context) InstanceVmImagePtrOutput
type Location ¶
type Location struct { pulumi.CustomResourceState // Name of the Location 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 URI of the created resource. SelfLink pulumi.StringOutput `pulumi:"selfLink"` }
Represents a Location resource.
## Import
Location can be imported using any of these accepted formats:
* `projects/{{project}}/locations/{{name}}`
* `{{project}}/{{name}}`
* `{{name}}`
When using the `pulumi import` command, Location can be imported using one of the formats above. For example:
```sh $ pulumi import gcp:notebooks/location:Location default projects/{{project}}/locations/{{name}} ```
```sh $ pulumi import gcp:notebooks/location:Location default {{project}}/{{name}} ```
```sh $ pulumi import gcp:notebooks/location:Location default {{name}} ```
func GetLocation ¶
func GetLocation(ctx *pulumi.Context, name string, id pulumi.IDInput, state *LocationState, opts ...pulumi.ResourceOption) (*Location, error)
GetLocation gets an existing Location 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 NewLocation ¶
func NewLocation(ctx *pulumi.Context, name string, args *LocationArgs, opts ...pulumi.ResourceOption) (*Location, error)
NewLocation registers a new resource with the given unique name, arguments, and options.
func (*Location) ElementType ¶
func (*Location) ToLocationOutput ¶
func (i *Location) ToLocationOutput() LocationOutput
func (*Location) ToLocationOutputWithContext ¶
func (i *Location) ToLocationOutputWithContext(ctx context.Context) LocationOutput
type LocationArgs ¶
type LocationArgs struct { // Name of the Location 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 set of arguments for constructing a Location resource.
func (LocationArgs) ElementType ¶
func (LocationArgs) ElementType() reflect.Type
type LocationArray ¶
type LocationArray []LocationInput
func (LocationArray) ElementType ¶
func (LocationArray) ElementType() reflect.Type
func (LocationArray) ToLocationArrayOutput ¶
func (i LocationArray) ToLocationArrayOutput() LocationArrayOutput
func (LocationArray) ToLocationArrayOutputWithContext ¶
func (i LocationArray) ToLocationArrayOutputWithContext(ctx context.Context) LocationArrayOutput
type LocationArrayInput ¶
type LocationArrayInput interface { pulumi.Input ToLocationArrayOutput() LocationArrayOutput ToLocationArrayOutputWithContext(context.Context) LocationArrayOutput }
LocationArrayInput is an input type that accepts LocationArray and LocationArrayOutput values. You can construct a concrete instance of `LocationArrayInput` via:
LocationArray{ LocationArgs{...} }
type LocationArrayOutput ¶
type LocationArrayOutput struct{ *pulumi.OutputState }
func (LocationArrayOutput) ElementType ¶
func (LocationArrayOutput) ElementType() reflect.Type
func (LocationArrayOutput) Index ¶
func (o LocationArrayOutput) Index(i pulumi.IntInput) LocationOutput
func (LocationArrayOutput) ToLocationArrayOutput ¶
func (o LocationArrayOutput) ToLocationArrayOutput() LocationArrayOutput
func (LocationArrayOutput) ToLocationArrayOutputWithContext ¶
func (o LocationArrayOutput) ToLocationArrayOutputWithContext(ctx context.Context) LocationArrayOutput
type LocationInput ¶
type LocationInput interface { pulumi.Input ToLocationOutput() LocationOutput ToLocationOutputWithContext(ctx context.Context) LocationOutput }
type LocationMap ¶
type LocationMap map[string]LocationInput
func (LocationMap) ElementType ¶
func (LocationMap) ElementType() reflect.Type
func (LocationMap) ToLocationMapOutput ¶
func (i LocationMap) ToLocationMapOutput() LocationMapOutput
func (LocationMap) ToLocationMapOutputWithContext ¶
func (i LocationMap) ToLocationMapOutputWithContext(ctx context.Context) LocationMapOutput
type LocationMapInput ¶
type LocationMapInput interface { pulumi.Input ToLocationMapOutput() LocationMapOutput ToLocationMapOutputWithContext(context.Context) LocationMapOutput }
LocationMapInput is an input type that accepts LocationMap and LocationMapOutput values. You can construct a concrete instance of `LocationMapInput` via:
LocationMap{ "key": LocationArgs{...} }
type LocationMapOutput ¶
type LocationMapOutput struct{ *pulumi.OutputState }
func (LocationMapOutput) ElementType ¶
func (LocationMapOutput) ElementType() reflect.Type
func (LocationMapOutput) MapIndex ¶
func (o LocationMapOutput) MapIndex(k pulumi.StringInput) LocationOutput
func (LocationMapOutput) ToLocationMapOutput ¶
func (o LocationMapOutput) ToLocationMapOutput() LocationMapOutput
func (LocationMapOutput) ToLocationMapOutputWithContext ¶
func (o LocationMapOutput) ToLocationMapOutputWithContext(ctx context.Context) LocationMapOutput
type LocationOutput ¶
type LocationOutput struct{ *pulumi.OutputState }
func (LocationOutput) ElementType ¶
func (LocationOutput) ElementType() reflect.Type
func (LocationOutput) Name ¶
func (o LocationOutput) Name() pulumi.StringOutput
Name of the Location resource.
func (LocationOutput) Project ¶
func (o LocationOutput) Project() pulumi.StringOutput
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
func (LocationOutput) SelfLink ¶
func (o LocationOutput) SelfLink() pulumi.StringOutput
The URI of the created resource.
func (LocationOutput) ToLocationOutput ¶
func (o LocationOutput) ToLocationOutput() LocationOutput
func (LocationOutput) ToLocationOutputWithContext ¶
func (o LocationOutput) ToLocationOutputWithContext(ctx context.Context) LocationOutput
type LocationState ¶
type LocationState struct { // Name of the Location 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 URI of the created resource. SelfLink pulumi.StringPtrInput }
func (LocationState) ElementType ¶
func (LocationState) ElementType() reflect.Type
type LookupInstanceIamPolicyArgs ¶
type LookupInstanceIamPolicyArgs struct { // Used to find the parent resource to bind the IAM policy to InstanceName string `pulumi:"instanceName"` // A reference to the zone where the machine resides. 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"` }
A collection of arguments for invoking getInstanceIamPolicy.
type LookupInstanceIamPolicyOutputArgs ¶
type LookupInstanceIamPolicyOutputArgs struct { // Used to find the parent resource to bind the IAM policy to InstanceName pulumi.StringInput `pulumi:"instanceName"` // A reference to the zone where the machine resides. 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"` }
A collection of arguments for invoking getInstanceIamPolicy.
func (LookupInstanceIamPolicyOutputArgs) ElementType ¶
func (LookupInstanceIamPolicyOutputArgs) ElementType() reflect.Type
type LookupInstanceIamPolicyResult ¶
type LookupInstanceIamPolicyResult 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"` InstanceName string `pulumi:"instanceName"` Location string `pulumi:"location"` // (Required only by `notebooks.InstanceIamPolicy`) The policy data generated by // a `organizations.getIAMPolicy` data source. PolicyData string `pulumi:"policyData"` Project string `pulumi:"project"` }
A collection of values returned by getInstanceIamPolicy.
func LookupInstanceIamPolicy ¶
func LookupInstanceIamPolicy(ctx *pulumi.Context, args *LookupInstanceIamPolicyArgs, opts ...pulumi.InvokeOption) (*LookupInstanceIamPolicyResult, error)
Retrieves the current IAM policy data for instance
## example
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/notebooks" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := notebooks.LookupInstanceIamPolicy(ctx, ¬ebooks.LookupInstanceIamPolicyArgs{ Project: pulumi.StringRef(instance.Project), Location: pulumi.StringRef(instance.Location), InstanceName: instance.Name, }, nil) if err != nil { return err } return nil }) }
```
type LookupInstanceIamPolicyResultOutput ¶
type LookupInstanceIamPolicyResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getInstanceIamPolicy.
func LookupInstanceIamPolicyOutput ¶
func LookupInstanceIamPolicyOutput(ctx *pulumi.Context, args LookupInstanceIamPolicyOutputArgs, opts ...pulumi.InvokeOption) LookupInstanceIamPolicyResultOutput
func (LookupInstanceIamPolicyResultOutput) ElementType ¶
func (LookupInstanceIamPolicyResultOutput) ElementType() reflect.Type
func (LookupInstanceIamPolicyResultOutput) Etag ¶
func (o LookupInstanceIamPolicyResultOutput) Etag() pulumi.StringOutput
(Computed) The etag of the IAM policy.
func (LookupInstanceIamPolicyResultOutput) Id ¶
func (o LookupInstanceIamPolicyResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupInstanceIamPolicyResultOutput) InstanceName ¶
func (o LookupInstanceIamPolicyResultOutput) InstanceName() pulumi.StringOutput
func (LookupInstanceIamPolicyResultOutput) Location ¶
func (o LookupInstanceIamPolicyResultOutput) Location() pulumi.StringOutput
func (LookupInstanceIamPolicyResultOutput) PolicyData ¶
func (o LookupInstanceIamPolicyResultOutput) PolicyData() pulumi.StringOutput
(Required only by `notebooks.InstanceIamPolicy`) The policy data generated by a `organizations.getIAMPolicy` data source.
func (LookupInstanceIamPolicyResultOutput) Project ¶
func (o LookupInstanceIamPolicyResultOutput) Project() pulumi.StringOutput
func (LookupInstanceIamPolicyResultOutput) ToLookupInstanceIamPolicyResultOutput ¶
func (o LookupInstanceIamPolicyResultOutput) ToLookupInstanceIamPolicyResultOutput() LookupInstanceIamPolicyResultOutput
func (LookupInstanceIamPolicyResultOutput) ToLookupInstanceIamPolicyResultOutputWithContext ¶
func (o LookupInstanceIamPolicyResultOutput) ToLookupInstanceIamPolicyResultOutputWithContext(ctx context.Context) LookupInstanceIamPolicyResultOutput
type LookupRuntimeIamPolicyArgs ¶
type LookupRuntimeIamPolicyArgs struct { // A reference to the zone where the machine resides. 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"` // Used to find the parent resource to bind the IAM policy to RuntimeName string `pulumi:"runtimeName"` }
A collection of arguments for invoking getRuntimeIamPolicy.
type LookupRuntimeIamPolicyOutputArgs ¶
type LookupRuntimeIamPolicyOutputArgs struct { // A reference to the zone where the machine resides. 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"` // Used to find the parent resource to bind the IAM policy to RuntimeName pulumi.StringInput `pulumi:"runtimeName"` }
A collection of arguments for invoking getRuntimeIamPolicy.
func (LookupRuntimeIamPolicyOutputArgs) ElementType ¶
func (LookupRuntimeIamPolicyOutputArgs) ElementType() reflect.Type
type LookupRuntimeIamPolicyResult ¶
type LookupRuntimeIamPolicyResult 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 `notebooks.RuntimeIamPolicy`) The policy data generated by // a `organizations.getIAMPolicy` data source. PolicyData string `pulumi:"policyData"` Project string `pulumi:"project"` RuntimeName string `pulumi:"runtimeName"` }
A collection of values returned by getRuntimeIamPolicy.
func LookupRuntimeIamPolicy ¶
func LookupRuntimeIamPolicy(ctx *pulumi.Context, args *LookupRuntimeIamPolicyArgs, opts ...pulumi.InvokeOption) (*LookupRuntimeIamPolicyResult, error)
Retrieves the current IAM policy data for runtime
## example
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/notebooks" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := notebooks.LookupRuntimeIamPolicy(ctx, ¬ebooks.LookupRuntimeIamPolicyArgs{ Project: pulumi.StringRef(runtime.Project), Location: pulumi.StringRef(runtime.Location), RuntimeName: runtime.Name, }, nil) if err != nil { return err } return nil }) }
```
type LookupRuntimeIamPolicyResultOutput ¶
type LookupRuntimeIamPolicyResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getRuntimeIamPolicy.
func LookupRuntimeIamPolicyOutput ¶
func LookupRuntimeIamPolicyOutput(ctx *pulumi.Context, args LookupRuntimeIamPolicyOutputArgs, opts ...pulumi.InvokeOption) LookupRuntimeIamPolicyResultOutput
func (LookupRuntimeIamPolicyResultOutput) ElementType ¶
func (LookupRuntimeIamPolicyResultOutput) ElementType() reflect.Type
func (LookupRuntimeIamPolicyResultOutput) Etag ¶
func (o LookupRuntimeIamPolicyResultOutput) Etag() pulumi.StringOutput
(Computed) The etag of the IAM policy.
func (LookupRuntimeIamPolicyResultOutput) Id ¶
func (o LookupRuntimeIamPolicyResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupRuntimeIamPolicyResultOutput) Location ¶
func (o LookupRuntimeIamPolicyResultOutput) Location() pulumi.StringOutput
func (LookupRuntimeIamPolicyResultOutput) PolicyData ¶
func (o LookupRuntimeIamPolicyResultOutput) PolicyData() pulumi.StringOutput
(Required only by `notebooks.RuntimeIamPolicy`) The policy data generated by a `organizations.getIAMPolicy` data source.
func (LookupRuntimeIamPolicyResultOutput) Project ¶
func (o LookupRuntimeIamPolicyResultOutput) Project() pulumi.StringOutput
func (LookupRuntimeIamPolicyResultOutput) RuntimeName ¶
func (o LookupRuntimeIamPolicyResultOutput) RuntimeName() pulumi.StringOutput
func (LookupRuntimeIamPolicyResultOutput) ToLookupRuntimeIamPolicyResultOutput ¶
func (o LookupRuntimeIamPolicyResultOutput) ToLookupRuntimeIamPolicyResultOutput() LookupRuntimeIamPolicyResultOutput
func (LookupRuntimeIamPolicyResultOutput) ToLookupRuntimeIamPolicyResultOutputWithContext ¶
func (o LookupRuntimeIamPolicyResultOutput) ToLookupRuntimeIamPolicyResultOutputWithContext(ctx context.Context) LookupRuntimeIamPolicyResultOutput
type Runtime ¶
type Runtime struct { pulumi.CustomResourceState // The config settings for accessing runtime. // Structure is documented below. AccessConfig RuntimeAccessConfigPtrOutput `pulumi:"accessConfig"` // 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"` // The health state of this runtime. For a list of possible output // values, see `https://cloud.google.com/vertex-ai/docs/workbench/ // reference/rest/v1/projects.locations.runtimes#healthstate`. HealthState pulumi.StringOutput `pulumi:"healthState"` // The labels to associate with this runtime. Label **keys** must // contain 1 to 63 characters, and must conform to [RFC 1035] // (https://www.ietf.org/rfc/rfc1035.txt). Label **values** may be // empty, but, if present, must contain 1 to 63 characters, and must // conform to [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt). No // more than 32 labels can be associated with a cluster. // // **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"` // A reference to the zone where the machine resides. // // *** Location pulumi.StringOutput `pulumi:"location"` // Contains Runtime daemon metrics such as Service status and JupyterLab // status // Structure is documented below. Metrics RuntimeMetricArrayOutput `pulumi:"metrics"` // The name specified for the Notebook runtime. 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"` // The config settings for software inside the runtime. // Structure is documented below. SoftwareConfig RuntimeSoftwareConfigOutput `pulumi:"softwareConfig"` // The state of this runtime. State pulumi.StringOutput `pulumi:"state"` // Use a Compute Engine VM image to start the managed notebook instance. // Structure is documented below. VirtualMachine RuntimeVirtualMachinePtrOutput `pulumi:"virtualMachine"` }
A Cloud AI Platform Notebook runtime.
> **Note:** Due to limitations of the Notebooks Runtime API, many fields in this resource do not properly detect drift. These fields will also not appear in state once imported.
To get more information about Runtime, see:
* [API documentation](https://cloud.google.com/ai-platform/notebooks/docs/reference/rest) * How-to Guides
- [Official Documentation](https://cloud.google.com/ai-platform-notebooks)
## Example Usage
### Notebook Runtime Basic
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/notebooks" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := notebooks.NewRuntime(ctx, "runtime", ¬ebooks.RuntimeArgs{ Name: pulumi.String("notebooks-runtime"), Location: pulumi.String("us-central1"), AccessConfig: ¬ebooks.RuntimeAccessConfigArgs{ AccessType: pulumi.String("SINGLE_USER"), RuntimeOwner: pulumi.String("admin@hashicorptest.com"), }, VirtualMachine: ¬ebooks.RuntimeVirtualMachineArgs{ VirtualMachineConfig: ¬ebooks.RuntimeVirtualMachineVirtualMachineConfigArgs{ MachineType: pulumi.String("n1-standard-4"), DataDisk: ¬ebooks.RuntimeVirtualMachineVirtualMachineConfigDataDiskArgs{ InitializeParams: ¬ebooks.RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsArgs{ DiskSizeGb: pulumi.Int(100), DiskType: pulumi.String("PD_STANDARD"), }, }, }, }, }) if err != nil { return err } return nil }) }
``` ### Notebook Runtime Basic Gpu
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/notebooks" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := notebooks.NewRuntime(ctx, "runtime_gpu", ¬ebooks.RuntimeArgs{ Name: pulumi.String("notebooks-runtime-gpu"), Location: pulumi.String("us-central1"), AccessConfig: ¬ebooks.RuntimeAccessConfigArgs{ AccessType: pulumi.String("SINGLE_USER"), RuntimeOwner: pulumi.String("admin@hashicorptest.com"), }, SoftwareConfig: ¬ebooks.RuntimeSoftwareConfigArgs{ InstallGpuDriver: pulumi.Bool(true), }, VirtualMachine: ¬ebooks.RuntimeVirtualMachineArgs{ VirtualMachineConfig: ¬ebooks.RuntimeVirtualMachineVirtualMachineConfigArgs{ MachineType: pulumi.String("n1-standard-4"), DataDisk: ¬ebooks.RuntimeVirtualMachineVirtualMachineConfigDataDiskArgs{ InitializeParams: ¬ebooks.RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsArgs{ DiskSizeGb: pulumi.Int(100), DiskType: pulumi.String("PD_STANDARD"), }, }, AcceleratorConfig: ¬ebooks.RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigArgs{ CoreCount: pulumi.Int(1), Type: pulumi.String("NVIDIA_TESLA_V100"), }, }, }, }) if err != nil { return err } return nil }) }
``` ### Notebook Runtime Basic Container
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/notebooks" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := notebooks.NewRuntime(ctx, "runtime_container", ¬ebooks.RuntimeArgs{ Name: pulumi.String("notebooks-runtime-container"), Location: pulumi.String("us-central1"), AccessConfig: ¬ebooks.RuntimeAccessConfigArgs{ AccessType: pulumi.String("SINGLE_USER"), RuntimeOwner: pulumi.String("admin@hashicorptest.com"), }, VirtualMachine: ¬ebooks.RuntimeVirtualMachineArgs{ VirtualMachineConfig: ¬ebooks.RuntimeVirtualMachineVirtualMachineConfigArgs{ MachineType: pulumi.String("n1-standard-4"), DataDisk: ¬ebooks.RuntimeVirtualMachineVirtualMachineConfigDataDiskArgs{ InitializeParams: ¬ebooks.RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsArgs{ DiskSizeGb: pulumi.Int(100), DiskType: pulumi.String("PD_STANDARD"), }, }, ContainerImages: notebooks.RuntimeVirtualMachineVirtualMachineConfigContainerImageArray{ ¬ebooks.RuntimeVirtualMachineVirtualMachineConfigContainerImageArgs{ Repository: pulumi.String("gcr.io/deeplearning-platform-release/base-cpu"), Tag: pulumi.String("latest"), }, ¬ebooks.RuntimeVirtualMachineVirtualMachineConfigContainerImageArgs{ Repository: pulumi.String("gcr.io/deeplearning-platform-release/beam-notebooks"), Tag: pulumi.String("latest"), }, }, }, }, }) if err != nil { return err } return nil }) }
``` ### Notebook Runtime Kernels
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/notebooks" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := notebooks.NewRuntime(ctx, "runtime_container", ¬ebooks.RuntimeArgs{ Name: pulumi.String("notebooks-runtime-kernel"), Location: pulumi.String("us-central1"), AccessConfig: ¬ebooks.RuntimeAccessConfigArgs{ AccessType: pulumi.String("SINGLE_USER"), RuntimeOwner: pulumi.String("admin@hashicorptest.com"), }, SoftwareConfig: ¬ebooks.RuntimeSoftwareConfigArgs{ Kernels: notebooks.RuntimeSoftwareConfigKernelArray{ ¬ebooks.RuntimeSoftwareConfigKernelArgs{ Repository: pulumi.String("gcr.io/deeplearning-platform-release/base-cpu"), Tag: pulumi.String("latest"), }, }, }, VirtualMachine: ¬ebooks.RuntimeVirtualMachineArgs{ VirtualMachineConfig: ¬ebooks.RuntimeVirtualMachineVirtualMachineConfigArgs{ MachineType: pulumi.String("n1-standard-4"), DataDisk: ¬ebooks.RuntimeVirtualMachineVirtualMachineConfigDataDiskArgs{ InitializeParams: ¬ebooks.RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsArgs{ DiskSizeGb: pulumi.Int(100), DiskType: pulumi.String("PD_STANDARD"), }, }, }, }, Labels: pulumi.StringMap{ "k": pulumi.String("val"), }, }) if err != nil { return err } return nil }) }
``` ### Notebook Runtime Script
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/notebooks" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := notebooks.NewRuntime(ctx, "runtime_container", ¬ebooks.RuntimeArgs{ Name: pulumi.String("notebooks-runtime-script"), Location: pulumi.String("us-central1"), AccessConfig: ¬ebooks.RuntimeAccessConfigArgs{ AccessType: pulumi.String("SINGLE_USER"), RuntimeOwner: pulumi.String("admin@hashicorptest.com"), }, SoftwareConfig: ¬ebooks.RuntimeSoftwareConfigArgs{ PostStartupScriptBehavior: pulumi.String("RUN_EVERY_START"), }, VirtualMachine: ¬ebooks.RuntimeVirtualMachineArgs{ VirtualMachineConfig: ¬ebooks.RuntimeVirtualMachineVirtualMachineConfigArgs{ MachineType: pulumi.String("n1-standard-4"), DataDisk: ¬ebooks.RuntimeVirtualMachineVirtualMachineConfigDataDiskArgs{ InitializeParams: ¬ebooks.RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsArgs{ DiskSizeGb: pulumi.Int(100), DiskType: pulumi.String("PD_STANDARD"), }, }, }, }, Labels: pulumi.StringMap{ "k": pulumi.String("val"), }, }) if err != nil { return err } return nil }) }
```
## Import
Runtime can be imported using any of these accepted formats:
* `projects/{{project}}/locations/{{location}}/runtimes/{{name}}`
* `{{project}}/{{location}}/{{name}}`
* `{{location}}/{{name}}`
When using the `pulumi import` command, Runtime can be imported using one of the formats above. For example:
```sh $ pulumi import gcp:notebooks/runtime:Runtime default projects/{{project}}/locations/{{location}}/runtimes/{{name}} ```
```sh $ pulumi import gcp:notebooks/runtime:Runtime default {{project}}/{{location}}/{{name}} ```
```sh $ pulumi import gcp:notebooks/runtime:Runtime default {{location}}/{{name}} ```
func GetRuntime ¶
func GetRuntime(ctx *pulumi.Context, name string, id pulumi.IDInput, state *RuntimeState, opts ...pulumi.ResourceOption) (*Runtime, error)
GetRuntime gets an existing Runtime 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 NewRuntime ¶
func NewRuntime(ctx *pulumi.Context, name string, args *RuntimeArgs, opts ...pulumi.ResourceOption) (*Runtime, error)
NewRuntime registers a new resource with the given unique name, arguments, and options.
func (*Runtime) ElementType ¶
func (*Runtime) ToRuntimeOutput ¶
func (i *Runtime) ToRuntimeOutput() RuntimeOutput
func (*Runtime) ToRuntimeOutputWithContext ¶
func (i *Runtime) ToRuntimeOutputWithContext(ctx context.Context) RuntimeOutput
type RuntimeAccessConfig ¶
type RuntimeAccessConfig struct { // The type of access mode this instance. For valid values, see // `https://cloud.google.com/vertex-ai/docs/workbench/reference/ // rest/v1/projects.locations.runtimes#RuntimeAccessType`. AccessType *string `pulumi:"accessType"` // (Output) // The proxy endpoint that is used to access the runtime. ProxyUri *string `pulumi:"proxyUri"` // The owner of this runtime after creation. Format: `alias@example.com`. // Currently supports one owner only. RuntimeOwner *string `pulumi:"runtimeOwner"` }
type RuntimeAccessConfigArgs ¶
type RuntimeAccessConfigArgs struct { // The type of access mode this instance. For valid values, see // `https://cloud.google.com/vertex-ai/docs/workbench/reference/ // rest/v1/projects.locations.runtimes#RuntimeAccessType`. AccessType pulumi.StringPtrInput `pulumi:"accessType"` // (Output) // The proxy endpoint that is used to access the runtime. ProxyUri pulumi.StringPtrInput `pulumi:"proxyUri"` // The owner of this runtime after creation. Format: `alias@example.com`. // Currently supports one owner only. RuntimeOwner pulumi.StringPtrInput `pulumi:"runtimeOwner"` }
func (RuntimeAccessConfigArgs) ElementType ¶
func (RuntimeAccessConfigArgs) ElementType() reflect.Type
func (RuntimeAccessConfigArgs) ToRuntimeAccessConfigOutput ¶
func (i RuntimeAccessConfigArgs) ToRuntimeAccessConfigOutput() RuntimeAccessConfigOutput
func (RuntimeAccessConfigArgs) ToRuntimeAccessConfigOutputWithContext ¶
func (i RuntimeAccessConfigArgs) ToRuntimeAccessConfigOutputWithContext(ctx context.Context) RuntimeAccessConfigOutput
func (RuntimeAccessConfigArgs) ToRuntimeAccessConfigPtrOutput ¶
func (i RuntimeAccessConfigArgs) ToRuntimeAccessConfigPtrOutput() RuntimeAccessConfigPtrOutput
func (RuntimeAccessConfigArgs) ToRuntimeAccessConfigPtrOutputWithContext ¶
func (i RuntimeAccessConfigArgs) ToRuntimeAccessConfigPtrOutputWithContext(ctx context.Context) RuntimeAccessConfigPtrOutput
type RuntimeAccessConfigInput ¶
type RuntimeAccessConfigInput interface { pulumi.Input ToRuntimeAccessConfigOutput() RuntimeAccessConfigOutput ToRuntimeAccessConfigOutputWithContext(context.Context) RuntimeAccessConfigOutput }
RuntimeAccessConfigInput is an input type that accepts RuntimeAccessConfigArgs and RuntimeAccessConfigOutput values. You can construct a concrete instance of `RuntimeAccessConfigInput` via:
RuntimeAccessConfigArgs{...}
type RuntimeAccessConfigOutput ¶
type RuntimeAccessConfigOutput struct{ *pulumi.OutputState }
func (RuntimeAccessConfigOutput) AccessType ¶
func (o RuntimeAccessConfigOutput) AccessType() pulumi.StringPtrOutput
The type of access mode this instance. For valid values, see `https://cloud.google.com/vertex-ai/docs/workbench/reference/ rest/v1/projects.locations.runtimes#RuntimeAccessType`.
func (RuntimeAccessConfigOutput) ElementType ¶
func (RuntimeAccessConfigOutput) ElementType() reflect.Type
func (RuntimeAccessConfigOutput) ProxyUri ¶
func (o RuntimeAccessConfigOutput) ProxyUri() pulumi.StringPtrOutput
(Output) The proxy endpoint that is used to access the runtime.
func (RuntimeAccessConfigOutput) RuntimeOwner ¶
func (o RuntimeAccessConfigOutput) RuntimeOwner() pulumi.StringPtrOutput
The owner of this runtime after creation. Format: `alias@example.com`. Currently supports one owner only.
func (RuntimeAccessConfigOutput) ToRuntimeAccessConfigOutput ¶
func (o RuntimeAccessConfigOutput) ToRuntimeAccessConfigOutput() RuntimeAccessConfigOutput
func (RuntimeAccessConfigOutput) ToRuntimeAccessConfigOutputWithContext ¶
func (o RuntimeAccessConfigOutput) ToRuntimeAccessConfigOutputWithContext(ctx context.Context) RuntimeAccessConfigOutput
func (RuntimeAccessConfigOutput) ToRuntimeAccessConfigPtrOutput ¶
func (o RuntimeAccessConfigOutput) ToRuntimeAccessConfigPtrOutput() RuntimeAccessConfigPtrOutput
func (RuntimeAccessConfigOutput) ToRuntimeAccessConfigPtrOutputWithContext ¶
func (o RuntimeAccessConfigOutput) ToRuntimeAccessConfigPtrOutputWithContext(ctx context.Context) RuntimeAccessConfigPtrOutput
type RuntimeAccessConfigPtrInput ¶
type RuntimeAccessConfigPtrInput interface { pulumi.Input ToRuntimeAccessConfigPtrOutput() RuntimeAccessConfigPtrOutput ToRuntimeAccessConfigPtrOutputWithContext(context.Context) RuntimeAccessConfigPtrOutput }
RuntimeAccessConfigPtrInput is an input type that accepts RuntimeAccessConfigArgs, RuntimeAccessConfigPtr and RuntimeAccessConfigPtrOutput values. You can construct a concrete instance of `RuntimeAccessConfigPtrInput` via:
RuntimeAccessConfigArgs{...} or: nil
func RuntimeAccessConfigPtr ¶
func RuntimeAccessConfigPtr(v *RuntimeAccessConfigArgs) RuntimeAccessConfigPtrInput
type RuntimeAccessConfigPtrOutput ¶
type RuntimeAccessConfigPtrOutput struct{ *pulumi.OutputState }
func (RuntimeAccessConfigPtrOutput) AccessType ¶
func (o RuntimeAccessConfigPtrOutput) AccessType() pulumi.StringPtrOutput
The type of access mode this instance. For valid values, see `https://cloud.google.com/vertex-ai/docs/workbench/reference/ rest/v1/projects.locations.runtimes#RuntimeAccessType`.
func (RuntimeAccessConfigPtrOutput) Elem ¶
func (o RuntimeAccessConfigPtrOutput) Elem() RuntimeAccessConfigOutput
func (RuntimeAccessConfigPtrOutput) ElementType ¶
func (RuntimeAccessConfigPtrOutput) ElementType() reflect.Type
func (RuntimeAccessConfigPtrOutput) ProxyUri ¶
func (o RuntimeAccessConfigPtrOutput) ProxyUri() pulumi.StringPtrOutput
(Output) The proxy endpoint that is used to access the runtime.
func (RuntimeAccessConfigPtrOutput) RuntimeOwner ¶
func (o RuntimeAccessConfigPtrOutput) RuntimeOwner() pulumi.StringPtrOutput
The owner of this runtime after creation. Format: `alias@example.com`. Currently supports one owner only.
func (RuntimeAccessConfigPtrOutput) ToRuntimeAccessConfigPtrOutput ¶
func (o RuntimeAccessConfigPtrOutput) ToRuntimeAccessConfigPtrOutput() RuntimeAccessConfigPtrOutput
func (RuntimeAccessConfigPtrOutput) ToRuntimeAccessConfigPtrOutputWithContext ¶
func (o RuntimeAccessConfigPtrOutput) ToRuntimeAccessConfigPtrOutputWithContext(ctx context.Context) RuntimeAccessConfigPtrOutput
type RuntimeArgs ¶
type RuntimeArgs struct { // The config settings for accessing runtime. // Structure is documented below. AccessConfig RuntimeAccessConfigPtrInput // The labels to associate with this runtime. Label **keys** must // contain 1 to 63 characters, and must conform to [RFC 1035] // (https://www.ietf.org/rfc/rfc1035.txt). Label **values** may be // empty, but, if present, must contain 1 to 63 characters, and must // conform to [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt). No // more than 32 labels can be associated with a cluster. // // **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 // A reference to the zone where the machine resides. // // *** Location pulumi.StringInput // The name specified for the Notebook runtime. 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 config settings for software inside the runtime. // Structure is documented below. SoftwareConfig RuntimeSoftwareConfigPtrInput // Use a Compute Engine VM image to start the managed notebook instance. // Structure is documented below. VirtualMachine RuntimeVirtualMachinePtrInput }
The set of arguments for constructing a Runtime resource.
func (RuntimeArgs) ElementType ¶
func (RuntimeArgs) ElementType() reflect.Type
type RuntimeArray ¶
type RuntimeArray []RuntimeInput
func (RuntimeArray) ElementType ¶
func (RuntimeArray) ElementType() reflect.Type
func (RuntimeArray) ToRuntimeArrayOutput ¶
func (i RuntimeArray) ToRuntimeArrayOutput() RuntimeArrayOutput
func (RuntimeArray) ToRuntimeArrayOutputWithContext ¶
func (i RuntimeArray) ToRuntimeArrayOutputWithContext(ctx context.Context) RuntimeArrayOutput
type RuntimeArrayInput ¶
type RuntimeArrayInput interface { pulumi.Input ToRuntimeArrayOutput() RuntimeArrayOutput ToRuntimeArrayOutputWithContext(context.Context) RuntimeArrayOutput }
RuntimeArrayInput is an input type that accepts RuntimeArray and RuntimeArrayOutput values. You can construct a concrete instance of `RuntimeArrayInput` via:
RuntimeArray{ RuntimeArgs{...} }
type RuntimeArrayOutput ¶
type RuntimeArrayOutput struct{ *pulumi.OutputState }
func (RuntimeArrayOutput) ElementType ¶
func (RuntimeArrayOutput) ElementType() reflect.Type
func (RuntimeArrayOutput) Index ¶
func (o RuntimeArrayOutput) Index(i pulumi.IntInput) RuntimeOutput
func (RuntimeArrayOutput) ToRuntimeArrayOutput ¶
func (o RuntimeArrayOutput) ToRuntimeArrayOutput() RuntimeArrayOutput
func (RuntimeArrayOutput) ToRuntimeArrayOutputWithContext ¶
func (o RuntimeArrayOutput) ToRuntimeArrayOutputWithContext(ctx context.Context) RuntimeArrayOutput
type RuntimeIamBinding ¶
type RuntimeIamBinding struct { pulumi.CustomResourceState Condition RuntimeIamBindingConditionPtrOutput `pulumi:"condition"` // (Computed) The etag of the IAM policy. Etag pulumi.StringOutput `pulumi:"etag"` // A reference to the zone where the machine resides. 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 // `notebooks.RuntimeIamBinding` 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"` // Used to find the parent resource to bind the IAM policy to RuntimeName pulumi.StringOutput `pulumi:"runtimeName"` }
Three different resources help you manage your IAM policy for Cloud AI Notebooks Runtime. Each of these resources serves a different use case:
* `notebooks.RuntimeIamPolicy`: Authoritative. Sets the IAM policy for the runtime and replaces any existing policy already attached. * `notebooks.RuntimeIamBinding`: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the runtime are preserved. * `notebooks.RuntimeIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the runtime are preserved.
A data source can be used to retrieve policy data in advent you do not need creation ¶
* `notebooks.RuntimeIamPolicy`: Retrieves the IAM policy for the runtime
> **Note:** `notebooks.RuntimeIamPolicy` **cannot** be used in conjunction with `notebooks.RuntimeIamBinding` and `notebooks.RuntimeIamMember` or they will fight over what your policy should be.
> **Note:** `notebooks.RuntimeIamBinding` resources **can be** used in conjunction with `notebooks.RuntimeIamMember` resources **only if** they do not grant privilege to the same role.
## notebooks.RuntimeIamPolicy
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/notebooks" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/organizations" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { admin, err := organizations.LookupIAMPolicy(ctx, &organizations.LookupIAMPolicyArgs{ Bindings: []organizations.GetIAMPolicyBinding{ { Role: "roles/viewer", Members: []string{ "user:jane@example.com", }, }, }, }, nil) if err != nil { return err } _, err = notebooks.NewRuntimeIamPolicy(ctx, "policy", ¬ebooks.RuntimeIamPolicyArgs{ Project: pulumi.Any(runtime.Project), Location: pulumi.Any(runtime.Location), RuntimeName: pulumi.Any(runtime.Name), PolicyData: pulumi.String(admin.PolicyData), }) if err != nil { return err } return nil }) }
```
## notebooks.RuntimeIamBinding
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/notebooks" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := notebooks.NewRuntimeIamBinding(ctx, "binding", ¬ebooks.RuntimeIamBindingArgs{ Project: pulumi.Any(runtime.Project), Location: pulumi.Any(runtime.Location), RuntimeName: pulumi.Any(runtime.Name), Role: pulumi.String("roles/viewer"), Members: pulumi.StringArray{ pulumi.String("user:jane@example.com"), }, }) if err != nil { return err } return nil }) }
```
## notebooks.RuntimeIamMember
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/notebooks" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := notebooks.NewRuntimeIamMember(ctx, "member", ¬ebooks.RuntimeIamMemberArgs{ Project: pulumi.Any(runtime.Project), Location: pulumi.Any(runtime.Location), RuntimeName: pulumi.Any(runtime.Name), Role: pulumi.String("roles/viewer"), Member: pulumi.String("user:jane@example.com"), }) if err != nil { return err } return nil }) }
```
## This resource supports User Project Overrides.
-
# IAM policy for Cloud AI Notebooks Runtime Three different resources help you manage your IAM policy for Cloud AI Notebooks Runtime. Each of these resources serves a different use case:
* `notebooks.RuntimeIamPolicy`: Authoritative. Sets the IAM policy for the runtime and replaces any existing policy already attached. * `notebooks.RuntimeIamBinding`: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the runtime are preserved. * `notebooks.RuntimeIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the runtime are preserved.
A data source can be used to retrieve policy data in advent you do not need creation ¶
* `notebooks.RuntimeIamPolicy`: Retrieves the IAM policy for the runtime
> **Note:** `notebooks.RuntimeIamPolicy` **cannot** be used in conjunction with `notebooks.RuntimeIamBinding` and `notebooks.RuntimeIamMember` or they will fight over what your policy should be.
> **Note:** `notebooks.RuntimeIamBinding` resources **can be** used in conjunction with `notebooks.RuntimeIamMember` resources **only if** they do not grant privilege to the same role.
## notebooks.RuntimeIamPolicy
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/notebooks" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/organizations" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { admin, err := organizations.LookupIAMPolicy(ctx, &organizations.LookupIAMPolicyArgs{ Bindings: []organizations.GetIAMPolicyBinding{ { Role: "roles/viewer", Members: []string{ "user:jane@example.com", }, }, }, }, nil) if err != nil { return err } _, err = notebooks.NewRuntimeIamPolicy(ctx, "policy", ¬ebooks.RuntimeIamPolicyArgs{ Project: pulumi.Any(runtime.Project), Location: pulumi.Any(runtime.Location), RuntimeName: pulumi.Any(runtime.Name), PolicyData: pulumi.String(admin.PolicyData), }) if err != nil { return err } return nil }) }
```
## notebooks.RuntimeIamBinding
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/notebooks" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := notebooks.NewRuntimeIamBinding(ctx, "binding", ¬ebooks.RuntimeIamBindingArgs{ Project: pulumi.Any(runtime.Project), Location: pulumi.Any(runtime.Location), RuntimeName: pulumi.Any(runtime.Name), Role: pulumi.String("roles/viewer"), Members: pulumi.StringArray{ pulumi.String("user:jane@example.com"), }, }) if err != nil { return err } return nil }) }
```
## notebooks.RuntimeIamMember
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/notebooks" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := notebooks.NewRuntimeIamMember(ctx, "member", ¬ebooks.RuntimeIamMemberArgs{ Project: pulumi.Any(runtime.Project), Location: pulumi.Any(runtime.Location), RuntimeName: pulumi.Any(runtime.Name), Role: pulumi.String("roles/viewer"), Member: pulumi.String("user:jane@example.com"), }) if err != nil { return err } return nil }) }
```
## Import
For all import syntaxes, the "resource in question" can take any of the following forms:
* projects/{{project}}/locations/{{location}}/runtimes/{{runtime_name}}
* {{project}}/{{location}}/{{runtime_name}}
* {{location}}/{{runtime_name}}
* {{runtime_name}}
Any variables not passed in the import command will be taken from the provider configuration.
Cloud AI Notebooks runtime 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:notebooks/runtimeIamBinding:RuntimeIamBinding editor "projects/{{project}}/locations/{{location}}/runtimes/{{runtime_name}} 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:notebooks/runtimeIamBinding:RuntimeIamBinding editor "projects/{{project}}/locations/{{location}}/runtimes/{{runtime_name}} roles/viewer" ```
IAM policy imports use the identifier of the resource in question, e.g.
```sh $ pulumi import gcp:notebooks/runtimeIamBinding:RuntimeIamBinding editor projects/{{project}}/locations/{{location}}/runtimes/{{runtime_name}} ```
-> **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 GetRuntimeIamBinding ¶
func GetRuntimeIamBinding(ctx *pulumi.Context, name string, id pulumi.IDInput, state *RuntimeIamBindingState, opts ...pulumi.ResourceOption) (*RuntimeIamBinding, error)
GetRuntimeIamBinding gets an existing RuntimeIamBinding 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 NewRuntimeIamBinding ¶
func NewRuntimeIamBinding(ctx *pulumi.Context, name string, args *RuntimeIamBindingArgs, opts ...pulumi.ResourceOption) (*RuntimeIamBinding, error)
NewRuntimeIamBinding registers a new resource with the given unique name, arguments, and options.
func (*RuntimeIamBinding) ElementType ¶
func (*RuntimeIamBinding) ElementType() reflect.Type
func (*RuntimeIamBinding) ToRuntimeIamBindingOutput ¶
func (i *RuntimeIamBinding) ToRuntimeIamBindingOutput() RuntimeIamBindingOutput
func (*RuntimeIamBinding) ToRuntimeIamBindingOutputWithContext ¶
func (i *RuntimeIamBinding) ToRuntimeIamBindingOutputWithContext(ctx context.Context) RuntimeIamBindingOutput
type RuntimeIamBindingArgs ¶
type RuntimeIamBindingArgs struct { Condition RuntimeIamBindingConditionPtrInput // A reference to the zone where the machine resides. 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 // `notebooks.RuntimeIamBinding` can be used per role. Note that custom roles must be of the format // `[projects|organizations]/{parent-name}/roles/{role-name}`. Role pulumi.StringInput // Used to find the parent resource to bind the IAM policy to RuntimeName pulumi.StringInput }
The set of arguments for constructing a RuntimeIamBinding resource.
func (RuntimeIamBindingArgs) ElementType ¶
func (RuntimeIamBindingArgs) ElementType() reflect.Type
type RuntimeIamBindingArray ¶
type RuntimeIamBindingArray []RuntimeIamBindingInput
func (RuntimeIamBindingArray) ElementType ¶
func (RuntimeIamBindingArray) ElementType() reflect.Type
func (RuntimeIamBindingArray) ToRuntimeIamBindingArrayOutput ¶
func (i RuntimeIamBindingArray) ToRuntimeIamBindingArrayOutput() RuntimeIamBindingArrayOutput
func (RuntimeIamBindingArray) ToRuntimeIamBindingArrayOutputWithContext ¶
func (i RuntimeIamBindingArray) ToRuntimeIamBindingArrayOutputWithContext(ctx context.Context) RuntimeIamBindingArrayOutput
type RuntimeIamBindingArrayInput ¶
type RuntimeIamBindingArrayInput interface { pulumi.Input ToRuntimeIamBindingArrayOutput() RuntimeIamBindingArrayOutput ToRuntimeIamBindingArrayOutputWithContext(context.Context) RuntimeIamBindingArrayOutput }
RuntimeIamBindingArrayInput is an input type that accepts RuntimeIamBindingArray and RuntimeIamBindingArrayOutput values. You can construct a concrete instance of `RuntimeIamBindingArrayInput` via:
RuntimeIamBindingArray{ RuntimeIamBindingArgs{...} }
type RuntimeIamBindingArrayOutput ¶
type RuntimeIamBindingArrayOutput struct{ *pulumi.OutputState }
func (RuntimeIamBindingArrayOutput) ElementType ¶
func (RuntimeIamBindingArrayOutput) ElementType() reflect.Type
func (RuntimeIamBindingArrayOutput) Index ¶
func (o RuntimeIamBindingArrayOutput) Index(i pulumi.IntInput) RuntimeIamBindingOutput
func (RuntimeIamBindingArrayOutput) ToRuntimeIamBindingArrayOutput ¶
func (o RuntimeIamBindingArrayOutput) ToRuntimeIamBindingArrayOutput() RuntimeIamBindingArrayOutput
func (RuntimeIamBindingArrayOutput) ToRuntimeIamBindingArrayOutputWithContext ¶
func (o RuntimeIamBindingArrayOutput) ToRuntimeIamBindingArrayOutputWithContext(ctx context.Context) RuntimeIamBindingArrayOutput
type RuntimeIamBindingConditionArgs ¶
type RuntimeIamBindingConditionArgs struct { Description pulumi.StringPtrInput `pulumi:"description"` Expression pulumi.StringInput `pulumi:"expression"` Title pulumi.StringInput `pulumi:"title"` }
func (RuntimeIamBindingConditionArgs) ElementType ¶
func (RuntimeIamBindingConditionArgs) ElementType() reflect.Type
func (RuntimeIamBindingConditionArgs) ToRuntimeIamBindingConditionOutput ¶
func (i RuntimeIamBindingConditionArgs) ToRuntimeIamBindingConditionOutput() RuntimeIamBindingConditionOutput
func (RuntimeIamBindingConditionArgs) ToRuntimeIamBindingConditionOutputWithContext ¶
func (i RuntimeIamBindingConditionArgs) ToRuntimeIamBindingConditionOutputWithContext(ctx context.Context) RuntimeIamBindingConditionOutput
func (RuntimeIamBindingConditionArgs) ToRuntimeIamBindingConditionPtrOutput ¶
func (i RuntimeIamBindingConditionArgs) ToRuntimeIamBindingConditionPtrOutput() RuntimeIamBindingConditionPtrOutput
func (RuntimeIamBindingConditionArgs) ToRuntimeIamBindingConditionPtrOutputWithContext ¶
func (i RuntimeIamBindingConditionArgs) ToRuntimeIamBindingConditionPtrOutputWithContext(ctx context.Context) RuntimeIamBindingConditionPtrOutput
type RuntimeIamBindingConditionInput ¶
type RuntimeIamBindingConditionInput interface { pulumi.Input ToRuntimeIamBindingConditionOutput() RuntimeIamBindingConditionOutput ToRuntimeIamBindingConditionOutputWithContext(context.Context) RuntimeIamBindingConditionOutput }
RuntimeIamBindingConditionInput is an input type that accepts RuntimeIamBindingConditionArgs and RuntimeIamBindingConditionOutput values. You can construct a concrete instance of `RuntimeIamBindingConditionInput` via:
RuntimeIamBindingConditionArgs{...}
type RuntimeIamBindingConditionOutput ¶
type RuntimeIamBindingConditionOutput struct{ *pulumi.OutputState }
func (RuntimeIamBindingConditionOutput) Description ¶
func (o RuntimeIamBindingConditionOutput) Description() pulumi.StringPtrOutput
func (RuntimeIamBindingConditionOutput) ElementType ¶
func (RuntimeIamBindingConditionOutput) ElementType() reflect.Type
func (RuntimeIamBindingConditionOutput) Expression ¶
func (o RuntimeIamBindingConditionOutput) Expression() pulumi.StringOutput
func (RuntimeIamBindingConditionOutput) Title ¶
func (o RuntimeIamBindingConditionOutput) Title() pulumi.StringOutput
func (RuntimeIamBindingConditionOutput) ToRuntimeIamBindingConditionOutput ¶
func (o RuntimeIamBindingConditionOutput) ToRuntimeIamBindingConditionOutput() RuntimeIamBindingConditionOutput
func (RuntimeIamBindingConditionOutput) ToRuntimeIamBindingConditionOutputWithContext ¶
func (o RuntimeIamBindingConditionOutput) ToRuntimeIamBindingConditionOutputWithContext(ctx context.Context) RuntimeIamBindingConditionOutput
func (RuntimeIamBindingConditionOutput) ToRuntimeIamBindingConditionPtrOutput ¶
func (o RuntimeIamBindingConditionOutput) ToRuntimeIamBindingConditionPtrOutput() RuntimeIamBindingConditionPtrOutput
func (RuntimeIamBindingConditionOutput) ToRuntimeIamBindingConditionPtrOutputWithContext ¶
func (o RuntimeIamBindingConditionOutput) ToRuntimeIamBindingConditionPtrOutputWithContext(ctx context.Context) RuntimeIamBindingConditionPtrOutput
type RuntimeIamBindingConditionPtrInput ¶
type RuntimeIamBindingConditionPtrInput interface { pulumi.Input ToRuntimeIamBindingConditionPtrOutput() RuntimeIamBindingConditionPtrOutput ToRuntimeIamBindingConditionPtrOutputWithContext(context.Context) RuntimeIamBindingConditionPtrOutput }
RuntimeIamBindingConditionPtrInput is an input type that accepts RuntimeIamBindingConditionArgs, RuntimeIamBindingConditionPtr and RuntimeIamBindingConditionPtrOutput values. You can construct a concrete instance of `RuntimeIamBindingConditionPtrInput` via:
RuntimeIamBindingConditionArgs{...} or: nil
func RuntimeIamBindingConditionPtr ¶
func RuntimeIamBindingConditionPtr(v *RuntimeIamBindingConditionArgs) RuntimeIamBindingConditionPtrInput
type RuntimeIamBindingConditionPtrOutput ¶
type RuntimeIamBindingConditionPtrOutput struct{ *pulumi.OutputState }
func (RuntimeIamBindingConditionPtrOutput) Description ¶
func (o RuntimeIamBindingConditionPtrOutput) Description() pulumi.StringPtrOutput
func (RuntimeIamBindingConditionPtrOutput) Elem ¶
func (o RuntimeIamBindingConditionPtrOutput) Elem() RuntimeIamBindingConditionOutput
func (RuntimeIamBindingConditionPtrOutput) ElementType ¶
func (RuntimeIamBindingConditionPtrOutput) ElementType() reflect.Type
func (RuntimeIamBindingConditionPtrOutput) Expression ¶
func (o RuntimeIamBindingConditionPtrOutput) Expression() pulumi.StringPtrOutput
func (RuntimeIamBindingConditionPtrOutput) Title ¶
func (o RuntimeIamBindingConditionPtrOutput) Title() pulumi.StringPtrOutput
func (RuntimeIamBindingConditionPtrOutput) ToRuntimeIamBindingConditionPtrOutput ¶
func (o RuntimeIamBindingConditionPtrOutput) ToRuntimeIamBindingConditionPtrOutput() RuntimeIamBindingConditionPtrOutput
func (RuntimeIamBindingConditionPtrOutput) ToRuntimeIamBindingConditionPtrOutputWithContext ¶
func (o RuntimeIamBindingConditionPtrOutput) ToRuntimeIamBindingConditionPtrOutputWithContext(ctx context.Context) RuntimeIamBindingConditionPtrOutput
type RuntimeIamBindingInput ¶
type RuntimeIamBindingInput interface { pulumi.Input ToRuntimeIamBindingOutput() RuntimeIamBindingOutput ToRuntimeIamBindingOutputWithContext(ctx context.Context) RuntimeIamBindingOutput }
type RuntimeIamBindingMap ¶
type RuntimeIamBindingMap map[string]RuntimeIamBindingInput
func (RuntimeIamBindingMap) ElementType ¶
func (RuntimeIamBindingMap) ElementType() reflect.Type
func (RuntimeIamBindingMap) ToRuntimeIamBindingMapOutput ¶
func (i RuntimeIamBindingMap) ToRuntimeIamBindingMapOutput() RuntimeIamBindingMapOutput
func (RuntimeIamBindingMap) ToRuntimeIamBindingMapOutputWithContext ¶
func (i RuntimeIamBindingMap) ToRuntimeIamBindingMapOutputWithContext(ctx context.Context) RuntimeIamBindingMapOutput
type RuntimeIamBindingMapInput ¶
type RuntimeIamBindingMapInput interface { pulumi.Input ToRuntimeIamBindingMapOutput() RuntimeIamBindingMapOutput ToRuntimeIamBindingMapOutputWithContext(context.Context) RuntimeIamBindingMapOutput }
RuntimeIamBindingMapInput is an input type that accepts RuntimeIamBindingMap and RuntimeIamBindingMapOutput values. You can construct a concrete instance of `RuntimeIamBindingMapInput` via:
RuntimeIamBindingMap{ "key": RuntimeIamBindingArgs{...} }
type RuntimeIamBindingMapOutput ¶
type RuntimeIamBindingMapOutput struct{ *pulumi.OutputState }
func (RuntimeIamBindingMapOutput) ElementType ¶
func (RuntimeIamBindingMapOutput) ElementType() reflect.Type
func (RuntimeIamBindingMapOutput) MapIndex ¶
func (o RuntimeIamBindingMapOutput) MapIndex(k pulumi.StringInput) RuntimeIamBindingOutput
func (RuntimeIamBindingMapOutput) ToRuntimeIamBindingMapOutput ¶
func (o RuntimeIamBindingMapOutput) ToRuntimeIamBindingMapOutput() RuntimeIamBindingMapOutput
func (RuntimeIamBindingMapOutput) ToRuntimeIamBindingMapOutputWithContext ¶
func (o RuntimeIamBindingMapOutput) ToRuntimeIamBindingMapOutputWithContext(ctx context.Context) RuntimeIamBindingMapOutput
type RuntimeIamBindingOutput ¶
type RuntimeIamBindingOutput struct{ *pulumi.OutputState }
func (RuntimeIamBindingOutput) Condition ¶
func (o RuntimeIamBindingOutput) Condition() RuntimeIamBindingConditionPtrOutput
func (RuntimeIamBindingOutput) ElementType ¶
func (RuntimeIamBindingOutput) ElementType() reflect.Type
func (RuntimeIamBindingOutput) Etag ¶
func (o RuntimeIamBindingOutput) Etag() pulumi.StringOutput
(Computed) The etag of the IAM policy.
func (RuntimeIamBindingOutput) Location ¶
func (o RuntimeIamBindingOutput) Location() pulumi.StringOutput
A reference to the zone where the machine resides. 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 (RuntimeIamBindingOutput) Members ¶
func (o RuntimeIamBindingOutput) 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 (RuntimeIamBindingOutput) Project ¶
func (o RuntimeIamBindingOutput) 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 (RuntimeIamBindingOutput) Role ¶
func (o RuntimeIamBindingOutput) Role() pulumi.StringOutput
The role that should be applied. Only one `notebooks.RuntimeIamBinding` can be used per role. Note that custom roles must be of the format `[projects|organizations]/{parent-name}/roles/{role-name}`.
func (RuntimeIamBindingOutput) RuntimeName ¶
func (o RuntimeIamBindingOutput) RuntimeName() pulumi.StringOutput
Used to find the parent resource to bind the IAM policy to
func (RuntimeIamBindingOutput) ToRuntimeIamBindingOutput ¶
func (o RuntimeIamBindingOutput) ToRuntimeIamBindingOutput() RuntimeIamBindingOutput
func (RuntimeIamBindingOutput) ToRuntimeIamBindingOutputWithContext ¶
func (o RuntimeIamBindingOutput) ToRuntimeIamBindingOutputWithContext(ctx context.Context) RuntimeIamBindingOutput
type RuntimeIamBindingState ¶
type RuntimeIamBindingState struct { Condition RuntimeIamBindingConditionPtrInput // (Computed) The etag of the IAM policy. Etag pulumi.StringPtrInput // A reference to the zone where the machine resides. 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 // `notebooks.RuntimeIamBinding` can be used per role. Note that custom roles must be of the format // `[projects|organizations]/{parent-name}/roles/{role-name}`. Role pulumi.StringPtrInput // Used to find the parent resource to bind the IAM policy to RuntimeName pulumi.StringPtrInput }
func (RuntimeIamBindingState) ElementType ¶
func (RuntimeIamBindingState) ElementType() reflect.Type
type RuntimeIamMember ¶
type RuntimeIamMember struct { pulumi.CustomResourceState Condition RuntimeIamMemberConditionPtrOutput `pulumi:"condition"` // (Computed) The etag of the IAM policy. Etag pulumi.StringOutput `pulumi:"etag"` // A reference to the zone where the machine resides. 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 // `notebooks.RuntimeIamBinding` 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"` // Used to find the parent resource to bind the IAM policy to RuntimeName pulumi.StringOutput `pulumi:"runtimeName"` }
Three different resources help you manage your IAM policy for Cloud AI Notebooks Runtime. Each of these resources serves a different use case:
* `notebooks.RuntimeIamPolicy`: Authoritative. Sets the IAM policy for the runtime and replaces any existing policy already attached. * `notebooks.RuntimeIamBinding`: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the runtime are preserved. * `notebooks.RuntimeIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the runtime are preserved.
A data source can be used to retrieve policy data in advent you do not need creation ¶
* `notebooks.RuntimeIamPolicy`: Retrieves the IAM policy for the runtime
> **Note:** `notebooks.RuntimeIamPolicy` **cannot** be used in conjunction with `notebooks.RuntimeIamBinding` and `notebooks.RuntimeIamMember` or they will fight over what your policy should be.
> **Note:** `notebooks.RuntimeIamBinding` resources **can be** used in conjunction with `notebooks.RuntimeIamMember` resources **only if** they do not grant privilege to the same role.
## notebooks.RuntimeIamPolicy
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/notebooks" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/organizations" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { admin, err := organizations.LookupIAMPolicy(ctx, &organizations.LookupIAMPolicyArgs{ Bindings: []organizations.GetIAMPolicyBinding{ { Role: "roles/viewer", Members: []string{ "user:jane@example.com", }, }, }, }, nil) if err != nil { return err } _, err = notebooks.NewRuntimeIamPolicy(ctx, "policy", ¬ebooks.RuntimeIamPolicyArgs{ Project: pulumi.Any(runtime.Project), Location: pulumi.Any(runtime.Location), RuntimeName: pulumi.Any(runtime.Name), PolicyData: pulumi.String(admin.PolicyData), }) if err != nil { return err } return nil }) }
```
## notebooks.RuntimeIamBinding
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/notebooks" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := notebooks.NewRuntimeIamBinding(ctx, "binding", ¬ebooks.RuntimeIamBindingArgs{ Project: pulumi.Any(runtime.Project), Location: pulumi.Any(runtime.Location), RuntimeName: pulumi.Any(runtime.Name), Role: pulumi.String("roles/viewer"), Members: pulumi.StringArray{ pulumi.String("user:jane@example.com"), }, }) if err != nil { return err } return nil }) }
```
## notebooks.RuntimeIamMember
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/notebooks" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := notebooks.NewRuntimeIamMember(ctx, "member", ¬ebooks.RuntimeIamMemberArgs{ Project: pulumi.Any(runtime.Project), Location: pulumi.Any(runtime.Location), RuntimeName: pulumi.Any(runtime.Name), Role: pulumi.String("roles/viewer"), Member: pulumi.String("user:jane@example.com"), }) if err != nil { return err } return nil }) }
```
## This resource supports User Project Overrides.
-
# IAM policy for Cloud AI Notebooks Runtime Three different resources help you manage your IAM policy for Cloud AI Notebooks Runtime. Each of these resources serves a different use case:
* `notebooks.RuntimeIamPolicy`: Authoritative. Sets the IAM policy for the runtime and replaces any existing policy already attached. * `notebooks.RuntimeIamBinding`: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the runtime are preserved. * `notebooks.RuntimeIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the runtime are preserved.
A data source can be used to retrieve policy data in advent you do not need creation ¶
* `notebooks.RuntimeIamPolicy`: Retrieves the IAM policy for the runtime
> **Note:** `notebooks.RuntimeIamPolicy` **cannot** be used in conjunction with `notebooks.RuntimeIamBinding` and `notebooks.RuntimeIamMember` or they will fight over what your policy should be.
> **Note:** `notebooks.RuntimeIamBinding` resources **can be** used in conjunction with `notebooks.RuntimeIamMember` resources **only if** they do not grant privilege to the same role.
## notebooks.RuntimeIamPolicy
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/notebooks" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/organizations" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { admin, err := organizations.LookupIAMPolicy(ctx, &organizations.LookupIAMPolicyArgs{ Bindings: []organizations.GetIAMPolicyBinding{ { Role: "roles/viewer", Members: []string{ "user:jane@example.com", }, }, }, }, nil) if err != nil { return err } _, err = notebooks.NewRuntimeIamPolicy(ctx, "policy", ¬ebooks.RuntimeIamPolicyArgs{ Project: pulumi.Any(runtime.Project), Location: pulumi.Any(runtime.Location), RuntimeName: pulumi.Any(runtime.Name), PolicyData: pulumi.String(admin.PolicyData), }) if err != nil { return err } return nil }) }
```
## notebooks.RuntimeIamBinding
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/notebooks" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := notebooks.NewRuntimeIamBinding(ctx, "binding", ¬ebooks.RuntimeIamBindingArgs{ Project: pulumi.Any(runtime.Project), Location: pulumi.Any(runtime.Location), RuntimeName: pulumi.Any(runtime.Name), Role: pulumi.String("roles/viewer"), Members: pulumi.StringArray{ pulumi.String("user:jane@example.com"), }, }) if err != nil { return err } return nil }) }
```
## notebooks.RuntimeIamMember
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/notebooks" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := notebooks.NewRuntimeIamMember(ctx, "member", ¬ebooks.RuntimeIamMemberArgs{ Project: pulumi.Any(runtime.Project), Location: pulumi.Any(runtime.Location), RuntimeName: pulumi.Any(runtime.Name), Role: pulumi.String("roles/viewer"), Member: pulumi.String("user:jane@example.com"), }) if err != nil { return err } return nil }) }
```
## Import
For all import syntaxes, the "resource in question" can take any of the following forms:
* projects/{{project}}/locations/{{location}}/runtimes/{{runtime_name}}
* {{project}}/{{location}}/{{runtime_name}}
* {{location}}/{{runtime_name}}
* {{runtime_name}}
Any variables not passed in the import command will be taken from the provider configuration.
Cloud AI Notebooks runtime 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:notebooks/runtimeIamMember:RuntimeIamMember editor "projects/{{project}}/locations/{{location}}/runtimes/{{runtime_name}} 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:notebooks/runtimeIamMember:RuntimeIamMember editor "projects/{{project}}/locations/{{location}}/runtimes/{{runtime_name}} roles/viewer" ```
IAM policy imports use the identifier of the resource in question, e.g.
```sh $ pulumi import gcp:notebooks/runtimeIamMember:RuntimeIamMember editor projects/{{project}}/locations/{{location}}/runtimes/{{runtime_name}} ```
-> **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 GetRuntimeIamMember ¶
func GetRuntimeIamMember(ctx *pulumi.Context, name string, id pulumi.IDInput, state *RuntimeIamMemberState, opts ...pulumi.ResourceOption) (*RuntimeIamMember, error)
GetRuntimeIamMember gets an existing RuntimeIamMember 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 NewRuntimeIamMember ¶
func NewRuntimeIamMember(ctx *pulumi.Context, name string, args *RuntimeIamMemberArgs, opts ...pulumi.ResourceOption) (*RuntimeIamMember, error)
NewRuntimeIamMember registers a new resource with the given unique name, arguments, and options.
func (*RuntimeIamMember) ElementType ¶
func (*RuntimeIamMember) ElementType() reflect.Type
func (*RuntimeIamMember) ToRuntimeIamMemberOutput ¶
func (i *RuntimeIamMember) ToRuntimeIamMemberOutput() RuntimeIamMemberOutput
func (*RuntimeIamMember) ToRuntimeIamMemberOutputWithContext ¶
func (i *RuntimeIamMember) ToRuntimeIamMemberOutputWithContext(ctx context.Context) RuntimeIamMemberOutput
type RuntimeIamMemberArgs ¶
type RuntimeIamMemberArgs struct { Condition RuntimeIamMemberConditionPtrInput // A reference to the zone where the machine resides. 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 // `notebooks.RuntimeIamBinding` can be used per role. Note that custom roles must be of the format // `[projects|organizations]/{parent-name}/roles/{role-name}`. Role pulumi.StringInput // Used to find the parent resource to bind the IAM policy to RuntimeName pulumi.StringInput }
The set of arguments for constructing a RuntimeIamMember resource.
func (RuntimeIamMemberArgs) ElementType ¶
func (RuntimeIamMemberArgs) ElementType() reflect.Type
type RuntimeIamMemberArray ¶
type RuntimeIamMemberArray []RuntimeIamMemberInput
func (RuntimeIamMemberArray) ElementType ¶
func (RuntimeIamMemberArray) ElementType() reflect.Type
func (RuntimeIamMemberArray) ToRuntimeIamMemberArrayOutput ¶
func (i RuntimeIamMemberArray) ToRuntimeIamMemberArrayOutput() RuntimeIamMemberArrayOutput
func (RuntimeIamMemberArray) ToRuntimeIamMemberArrayOutputWithContext ¶
func (i RuntimeIamMemberArray) ToRuntimeIamMemberArrayOutputWithContext(ctx context.Context) RuntimeIamMemberArrayOutput
type RuntimeIamMemberArrayInput ¶
type RuntimeIamMemberArrayInput interface { pulumi.Input ToRuntimeIamMemberArrayOutput() RuntimeIamMemberArrayOutput ToRuntimeIamMemberArrayOutputWithContext(context.Context) RuntimeIamMemberArrayOutput }
RuntimeIamMemberArrayInput is an input type that accepts RuntimeIamMemberArray and RuntimeIamMemberArrayOutput values. You can construct a concrete instance of `RuntimeIamMemberArrayInput` via:
RuntimeIamMemberArray{ RuntimeIamMemberArgs{...} }
type RuntimeIamMemberArrayOutput ¶
type RuntimeIamMemberArrayOutput struct{ *pulumi.OutputState }
func (RuntimeIamMemberArrayOutput) ElementType ¶
func (RuntimeIamMemberArrayOutput) ElementType() reflect.Type
func (RuntimeIamMemberArrayOutput) Index ¶
func (o RuntimeIamMemberArrayOutput) Index(i pulumi.IntInput) RuntimeIamMemberOutput
func (RuntimeIamMemberArrayOutput) ToRuntimeIamMemberArrayOutput ¶
func (o RuntimeIamMemberArrayOutput) ToRuntimeIamMemberArrayOutput() RuntimeIamMemberArrayOutput
func (RuntimeIamMemberArrayOutput) ToRuntimeIamMemberArrayOutputWithContext ¶
func (o RuntimeIamMemberArrayOutput) ToRuntimeIamMemberArrayOutputWithContext(ctx context.Context) RuntimeIamMemberArrayOutput
type RuntimeIamMemberConditionArgs ¶
type RuntimeIamMemberConditionArgs struct { Description pulumi.StringPtrInput `pulumi:"description"` Expression pulumi.StringInput `pulumi:"expression"` Title pulumi.StringInput `pulumi:"title"` }
func (RuntimeIamMemberConditionArgs) ElementType ¶
func (RuntimeIamMemberConditionArgs) ElementType() reflect.Type
func (RuntimeIamMemberConditionArgs) ToRuntimeIamMemberConditionOutput ¶
func (i RuntimeIamMemberConditionArgs) ToRuntimeIamMemberConditionOutput() RuntimeIamMemberConditionOutput
func (RuntimeIamMemberConditionArgs) ToRuntimeIamMemberConditionOutputWithContext ¶
func (i RuntimeIamMemberConditionArgs) ToRuntimeIamMemberConditionOutputWithContext(ctx context.Context) RuntimeIamMemberConditionOutput
func (RuntimeIamMemberConditionArgs) ToRuntimeIamMemberConditionPtrOutput ¶
func (i RuntimeIamMemberConditionArgs) ToRuntimeIamMemberConditionPtrOutput() RuntimeIamMemberConditionPtrOutput
func (RuntimeIamMemberConditionArgs) ToRuntimeIamMemberConditionPtrOutputWithContext ¶
func (i RuntimeIamMemberConditionArgs) ToRuntimeIamMemberConditionPtrOutputWithContext(ctx context.Context) RuntimeIamMemberConditionPtrOutput
type RuntimeIamMemberConditionInput ¶
type RuntimeIamMemberConditionInput interface { pulumi.Input ToRuntimeIamMemberConditionOutput() RuntimeIamMemberConditionOutput ToRuntimeIamMemberConditionOutputWithContext(context.Context) RuntimeIamMemberConditionOutput }
RuntimeIamMemberConditionInput is an input type that accepts RuntimeIamMemberConditionArgs and RuntimeIamMemberConditionOutput values. You can construct a concrete instance of `RuntimeIamMemberConditionInput` via:
RuntimeIamMemberConditionArgs{...}
type RuntimeIamMemberConditionOutput ¶
type RuntimeIamMemberConditionOutput struct{ *pulumi.OutputState }
func (RuntimeIamMemberConditionOutput) Description ¶
func (o RuntimeIamMemberConditionOutput) Description() pulumi.StringPtrOutput
func (RuntimeIamMemberConditionOutput) ElementType ¶
func (RuntimeIamMemberConditionOutput) ElementType() reflect.Type
func (RuntimeIamMemberConditionOutput) Expression ¶
func (o RuntimeIamMemberConditionOutput) Expression() pulumi.StringOutput
func (RuntimeIamMemberConditionOutput) Title ¶
func (o RuntimeIamMemberConditionOutput) Title() pulumi.StringOutput
func (RuntimeIamMemberConditionOutput) ToRuntimeIamMemberConditionOutput ¶
func (o RuntimeIamMemberConditionOutput) ToRuntimeIamMemberConditionOutput() RuntimeIamMemberConditionOutput
func (RuntimeIamMemberConditionOutput) ToRuntimeIamMemberConditionOutputWithContext ¶
func (o RuntimeIamMemberConditionOutput) ToRuntimeIamMemberConditionOutputWithContext(ctx context.Context) RuntimeIamMemberConditionOutput
func (RuntimeIamMemberConditionOutput) ToRuntimeIamMemberConditionPtrOutput ¶
func (o RuntimeIamMemberConditionOutput) ToRuntimeIamMemberConditionPtrOutput() RuntimeIamMemberConditionPtrOutput
func (RuntimeIamMemberConditionOutput) ToRuntimeIamMemberConditionPtrOutputWithContext ¶
func (o RuntimeIamMemberConditionOutput) ToRuntimeIamMemberConditionPtrOutputWithContext(ctx context.Context) RuntimeIamMemberConditionPtrOutput
type RuntimeIamMemberConditionPtrInput ¶
type RuntimeIamMemberConditionPtrInput interface { pulumi.Input ToRuntimeIamMemberConditionPtrOutput() RuntimeIamMemberConditionPtrOutput ToRuntimeIamMemberConditionPtrOutputWithContext(context.Context) RuntimeIamMemberConditionPtrOutput }
RuntimeIamMemberConditionPtrInput is an input type that accepts RuntimeIamMemberConditionArgs, RuntimeIamMemberConditionPtr and RuntimeIamMemberConditionPtrOutput values. You can construct a concrete instance of `RuntimeIamMemberConditionPtrInput` via:
RuntimeIamMemberConditionArgs{...} or: nil
func RuntimeIamMemberConditionPtr ¶
func RuntimeIamMemberConditionPtr(v *RuntimeIamMemberConditionArgs) RuntimeIamMemberConditionPtrInput
type RuntimeIamMemberConditionPtrOutput ¶
type RuntimeIamMemberConditionPtrOutput struct{ *pulumi.OutputState }
func (RuntimeIamMemberConditionPtrOutput) Description ¶
func (o RuntimeIamMemberConditionPtrOutput) Description() pulumi.StringPtrOutput
func (RuntimeIamMemberConditionPtrOutput) Elem ¶
func (o RuntimeIamMemberConditionPtrOutput) Elem() RuntimeIamMemberConditionOutput
func (RuntimeIamMemberConditionPtrOutput) ElementType ¶
func (RuntimeIamMemberConditionPtrOutput) ElementType() reflect.Type
func (RuntimeIamMemberConditionPtrOutput) Expression ¶
func (o RuntimeIamMemberConditionPtrOutput) Expression() pulumi.StringPtrOutput
func (RuntimeIamMemberConditionPtrOutput) Title ¶
func (o RuntimeIamMemberConditionPtrOutput) Title() pulumi.StringPtrOutput
func (RuntimeIamMemberConditionPtrOutput) ToRuntimeIamMemberConditionPtrOutput ¶
func (o RuntimeIamMemberConditionPtrOutput) ToRuntimeIamMemberConditionPtrOutput() RuntimeIamMemberConditionPtrOutput
func (RuntimeIamMemberConditionPtrOutput) ToRuntimeIamMemberConditionPtrOutputWithContext ¶
func (o RuntimeIamMemberConditionPtrOutput) ToRuntimeIamMemberConditionPtrOutputWithContext(ctx context.Context) RuntimeIamMemberConditionPtrOutput
type RuntimeIamMemberInput ¶
type RuntimeIamMemberInput interface { pulumi.Input ToRuntimeIamMemberOutput() RuntimeIamMemberOutput ToRuntimeIamMemberOutputWithContext(ctx context.Context) RuntimeIamMemberOutput }
type RuntimeIamMemberMap ¶
type RuntimeIamMemberMap map[string]RuntimeIamMemberInput
func (RuntimeIamMemberMap) ElementType ¶
func (RuntimeIamMemberMap) ElementType() reflect.Type
func (RuntimeIamMemberMap) ToRuntimeIamMemberMapOutput ¶
func (i RuntimeIamMemberMap) ToRuntimeIamMemberMapOutput() RuntimeIamMemberMapOutput
func (RuntimeIamMemberMap) ToRuntimeIamMemberMapOutputWithContext ¶
func (i RuntimeIamMemberMap) ToRuntimeIamMemberMapOutputWithContext(ctx context.Context) RuntimeIamMemberMapOutput
type RuntimeIamMemberMapInput ¶
type RuntimeIamMemberMapInput interface { pulumi.Input ToRuntimeIamMemberMapOutput() RuntimeIamMemberMapOutput ToRuntimeIamMemberMapOutputWithContext(context.Context) RuntimeIamMemberMapOutput }
RuntimeIamMemberMapInput is an input type that accepts RuntimeIamMemberMap and RuntimeIamMemberMapOutput values. You can construct a concrete instance of `RuntimeIamMemberMapInput` via:
RuntimeIamMemberMap{ "key": RuntimeIamMemberArgs{...} }
type RuntimeIamMemberMapOutput ¶
type RuntimeIamMemberMapOutput struct{ *pulumi.OutputState }
func (RuntimeIamMemberMapOutput) ElementType ¶
func (RuntimeIamMemberMapOutput) ElementType() reflect.Type
func (RuntimeIamMemberMapOutput) MapIndex ¶
func (o RuntimeIamMemberMapOutput) MapIndex(k pulumi.StringInput) RuntimeIamMemberOutput
func (RuntimeIamMemberMapOutput) ToRuntimeIamMemberMapOutput ¶
func (o RuntimeIamMemberMapOutput) ToRuntimeIamMemberMapOutput() RuntimeIamMemberMapOutput
func (RuntimeIamMemberMapOutput) ToRuntimeIamMemberMapOutputWithContext ¶
func (o RuntimeIamMemberMapOutput) ToRuntimeIamMemberMapOutputWithContext(ctx context.Context) RuntimeIamMemberMapOutput
type RuntimeIamMemberOutput ¶
type RuntimeIamMemberOutput struct{ *pulumi.OutputState }
func (RuntimeIamMemberOutput) Condition ¶
func (o RuntimeIamMemberOutput) Condition() RuntimeIamMemberConditionPtrOutput
func (RuntimeIamMemberOutput) ElementType ¶
func (RuntimeIamMemberOutput) ElementType() reflect.Type
func (RuntimeIamMemberOutput) Etag ¶
func (o RuntimeIamMemberOutput) Etag() pulumi.StringOutput
(Computed) The etag of the IAM policy.
func (RuntimeIamMemberOutput) Location ¶
func (o RuntimeIamMemberOutput) Location() pulumi.StringOutput
A reference to the zone where the machine resides. 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 (RuntimeIamMemberOutput) Member ¶
func (o RuntimeIamMemberOutput) 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 (RuntimeIamMemberOutput) Project ¶
func (o RuntimeIamMemberOutput) 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 (RuntimeIamMemberOutput) Role ¶
func (o RuntimeIamMemberOutput) Role() pulumi.StringOutput
The role that should be applied. Only one `notebooks.RuntimeIamBinding` can be used per role. Note that custom roles must be of the format `[projects|organizations]/{parent-name}/roles/{role-name}`.
func (RuntimeIamMemberOutput) RuntimeName ¶
func (o RuntimeIamMemberOutput) RuntimeName() pulumi.StringOutput
Used to find the parent resource to bind the IAM policy to
func (RuntimeIamMemberOutput) ToRuntimeIamMemberOutput ¶
func (o RuntimeIamMemberOutput) ToRuntimeIamMemberOutput() RuntimeIamMemberOutput
func (RuntimeIamMemberOutput) ToRuntimeIamMemberOutputWithContext ¶
func (o RuntimeIamMemberOutput) ToRuntimeIamMemberOutputWithContext(ctx context.Context) RuntimeIamMemberOutput
type RuntimeIamMemberState ¶
type RuntimeIamMemberState struct { Condition RuntimeIamMemberConditionPtrInput // (Computed) The etag of the IAM policy. Etag pulumi.StringPtrInput // A reference to the zone where the machine resides. 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 // `notebooks.RuntimeIamBinding` can be used per role. Note that custom roles must be of the format // `[projects|organizations]/{parent-name}/roles/{role-name}`. Role pulumi.StringPtrInput // Used to find the parent resource to bind the IAM policy to RuntimeName pulumi.StringPtrInput }
func (RuntimeIamMemberState) ElementType ¶
func (RuntimeIamMemberState) ElementType() reflect.Type
type RuntimeIamPolicy ¶
type RuntimeIamPolicy struct { pulumi.CustomResourceState // (Computed) The etag of the IAM policy. Etag pulumi.StringOutput `pulumi:"etag"` // A reference to the zone where the machine resides. 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"` // Used to find the parent resource to bind the IAM policy to RuntimeName pulumi.StringOutput `pulumi:"runtimeName"` }
Three different resources help you manage your IAM policy for Cloud AI Notebooks Runtime. Each of these resources serves a different use case:
* `notebooks.RuntimeIamPolicy`: Authoritative. Sets the IAM policy for the runtime and replaces any existing policy already attached. * `notebooks.RuntimeIamBinding`: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the runtime are preserved. * `notebooks.RuntimeIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the runtime are preserved.
A data source can be used to retrieve policy data in advent you do not need creation ¶
* `notebooks.RuntimeIamPolicy`: Retrieves the IAM policy for the runtime
> **Note:** `notebooks.RuntimeIamPolicy` **cannot** be used in conjunction with `notebooks.RuntimeIamBinding` and `notebooks.RuntimeIamMember` or they will fight over what your policy should be.
> **Note:** `notebooks.RuntimeIamBinding` resources **can be** used in conjunction with `notebooks.RuntimeIamMember` resources **only if** they do not grant privilege to the same role.
## notebooks.RuntimeIamPolicy
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/notebooks" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/organizations" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { admin, err := organizations.LookupIAMPolicy(ctx, &organizations.LookupIAMPolicyArgs{ Bindings: []organizations.GetIAMPolicyBinding{ { Role: "roles/viewer", Members: []string{ "user:jane@example.com", }, }, }, }, nil) if err != nil { return err } _, err = notebooks.NewRuntimeIamPolicy(ctx, "policy", ¬ebooks.RuntimeIamPolicyArgs{ Project: pulumi.Any(runtime.Project), Location: pulumi.Any(runtime.Location), RuntimeName: pulumi.Any(runtime.Name), PolicyData: pulumi.String(admin.PolicyData), }) if err != nil { return err } return nil }) }
```
## notebooks.RuntimeIamBinding
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/notebooks" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := notebooks.NewRuntimeIamBinding(ctx, "binding", ¬ebooks.RuntimeIamBindingArgs{ Project: pulumi.Any(runtime.Project), Location: pulumi.Any(runtime.Location), RuntimeName: pulumi.Any(runtime.Name), Role: pulumi.String("roles/viewer"), Members: pulumi.StringArray{ pulumi.String("user:jane@example.com"), }, }) if err != nil { return err } return nil }) }
```
## notebooks.RuntimeIamMember
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/notebooks" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := notebooks.NewRuntimeIamMember(ctx, "member", ¬ebooks.RuntimeIamMemberArgs{ Project: pulumi.Any(runtime.Project), Location: pulumi.Any(runtime.Location), RuntimeName: pulumi.Any(runtime.Name), Role: pulumi.String("roles/viewer"), Member: pulumi.String("user:jane@example.com"), }) if err != nil { return err } return nil }) }
```
## This resource supports User Project Overrides.
-
# IAM policy for Cloud AI Notebooks Runtime Three different resources help you manage your IAM policy for Cloud AI Notebooks Runtime. Each of these resources serves a different use case:
* `notebooks.RuntimeIamPolicy`: Authoritative. Sets the IAM policy for the runtime and replaces any existing policy already attached. * `notebooks.RuntimeIamBinding`: Authoritative for a given role. Updates the IAM policy to grant a role to a list of members. Other roles within the IAM policy for the runtime are preserved. * `notebooks.RuntimeIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the runtime are preserved.
A data source can be used to retrieve policy data in advent you do not need creation ¶
* `notebooks.RuntimeIamPolicy`: Retrieves the IAM policy for the runtime
> **Note:** `notebooks.RuntimeIamPolicy` **cannot** be used in conjunction with `notebooks.RuntimeIamBinding` and `notebooks.RuntimeIamMember` or they will fight over what your policy should be.
> **Note:** `notebooks.RuntimeIamBinding` resources **can be** used in conjunction with `notebooks.RuntimeIamMember` resources **only if** they do not grant privilege to the same role.
## notebooks.RuntimeIamPolicy
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/notebooks" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/organizations" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { admin, err := organizations.LookupIAMPolicy(ctx, &organizations.LookupIAMPolicyArgs{ Bindings: []organizations.GetIAMPolicyBinding{ { Role: "roles/viewer", Members: []string{ "user:jane@example.com", }, }, }, }, nil) if err != nil { return err } _, err = notebooks.NewRuntimeIamPolicy(ctx, "policy", ¬ebooks.RuntimeIamPolicyArgs{ Project: pulumi.Any(runtime.Project), Location: pulumi.Any(runtime.Location), RuntimeName: pulumi.Any(runtime.Name), PolicyData: pulumi.String(admin.PolicyData), }) if err != nil { return err } return nil }) }
```
## notebooks.RuntimeIamBinding
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/notebooks" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := notebooks.NewRuntimeIamBinding(ctx, "binding", ¬ebooks.RuntimeIamBindingArgs{ Project: pulumi.Any(runtime.Project), Location: pulumi.Any(runtime.Location), RuntimeName: pulumi.Any(runtime.Name), Role: pulumi.String("roles/viewer"), Members: pulumi.StringArray{ pulumi.String("user:jane@example.com"), }, }) if err != nil { return err } return nil }) }
```
## notebooks.RuntimeIamMember
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/notebooks" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := notebooks.NewRuntimeIamMember(ctx, "member", ¬ebooks.RuntimeIamMemberArgs{ Project: pulumi.Any(runtime.Project), Location: pulumi.Any(runtime.Location), RuntimeName: pulumi.Any(runtime.Name), Role: pulumi.String("roles/viewer"), Member: pulumi.String("user:jane@example.com"), }) if err != nil { return err } return nil }) }
```
## Import
For all import syntaxes, the "resource in question" can take any of the following forms:
* projects/{{project}}/locations/{{location}}/runtimes/{{runtime_name}}
* {{project}}/{{location}}/{{runtime_name}}
* {{location}}/{{runtime_name}}
* {{runtime_name}}
Any variables not passed in the import command will be taken from the provider configuration.
Cloud AI Notebooks runtime 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:notebooks/runtimeIamPolicy:RuntimeIamPolicy editor "projects/{{project}}/locations/{{location}}/runtimes/{{runtime_name}} 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:notebooks/runtimeIamPolicy:RuntimeIamPolicy editor "projects/{{project}}/locations/{{location}}/runtimes/{{runtime_name}} roles/viewer" ```
IAM policy imports use the identifier of the resource in question, e.g.
```sh $ pulumi import gcp:notebooks/runtimeIamPolicy:RuntimeIamPolicy editor projects/{{project}}/locations/{{location}}/runtimes/{{runtime_name}} ```
-> **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 GetRuntimeIamPolicy ¶
func GetRuntimeIamPolicy(ctx *pulumi.Context, name string, id pulumi.IDInput, state *RuntimeIamPolicyState, opts ...pulumi.ResourceOption) (*RuntimeIamPolicy, error)
GetRuntimeIamPolicy gets an existing RuntimeIamPolicy 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 NewRuntimeIamPolicy ¶
func NewRuntimeIamPolicy(ctx *pulumi.Context, name string, args *RuntimeIamPolicyArgs, opts ...pulumi.ResourceOption) (*RuntimeIamPolicy, error)
NewRuntimeIamPolicy registers a new resource with the given unique name, arguments, and options.
func (*RuntimeIamPolicy) ElementType ¶
func (*RuntimeIamPolicy) ElementType() reflect.Type
func (*RuntimeIamPolicy) ToRuntimeIamPolicyOutput ¶
func (i *RuntimeIamPolicy) ToRuntimeIamPolicyOutput() RuntimeIamPolicyOutput
func (*RuntimeIamPolicy) ToRuntimeIamPolicyOutputWithContext ¶
func (i *RuntimeIamPolicy) ToRuntimeIamPolicyOutputWithContext(ctx context.Context) RuntimeIamPolicyOutput
type RuntimeIamPolicyArgs ¶
type RuntimeIamPolicyArgs struct { // A reference to the zone where the machine resides. 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 // Used to find the parent resource to bind the IAM policy to RuntimeName pulumi.StringInput }
The set of arguments for constructing a RuntimeIamPolicy resource.
func (RuntimeIamPolicyArgs) ElementType ¶
func (RuntimeIamPolicyArgs) ElementType() reflect.Type
type RuntimeIamPolicyArray ¶
type RuntimeIamPolicyArray []RuntimeIamPolicyInput
func (RuntimeIamPolicyArray) ElementType ¶
func (RuntimeIamPolicyArray) ElementType() reflect.Type
func (RuntimeIamPolicyArray) ToRuntimeIamPolicyArrayOutput ¶
func (i RuntimeIamPolicyArray) ToRuntimeIamPolicyArrayOutput() RuntimeIamPolicyArrayOutput
func (RuntimeIamPolicyArray) ToRuntimeIamPolicyArrayOutputWithContext ¶
func (i RuntimeIamPolicyArray) ToRuntimeIamPolicyArrayOutputWithContext(ctx context.Context) RuntimeIamPolicyArrayOutput
type RuntimeIamPolicyArrayInput ¶
type RuntimeIamPolicyArrayInput interface { pulumi.Input ToRuntimeIamPolicyArrayOutput() RuntimeIamPolicyArrayOutput ToRuntimeIamPolicyArrayOutputWithContext(context.Context) RuntimeIamPolicyArrayOutput }
RuntimeIamPolicyArrayInput is an input type that accepts RuntimeIamPolicyArray and RuntimeIamPolicyArrayOutput values. You can construct a concrete instance of `RuntimeIamPolicyArrayInput` via:
RuntimeIamPolicyArray{ RuntimeIamPolicyArgs{...} }
type RuntimeIamPolicyArrayOutput ¶
type RuntimeIamPolicyArrayOutput struct{ *pulumi.OutputState }
func (RuntimeIamPolicyArrayOutput) ElementType ¶
func (RuntimeIamPolicyArrayOutput) ElementType() reflect.Type
func (RuntimeIamPolicyArrayOutput) Index ¶
func (o RuntimeIamPolicyArrayOutput) Index(i pulumi.IntInput) RuntimeIamPolicyOutput
func (RuntimeIamPolicyArrayOutput) ToRuntimeIamPolicyArrayOutput ¶
func (o RuntimeIamPolicyArrayOutput) ToRuntimeIamPolicyArrayOutput() RuntimeIamPolicyArrayOutput
func (RuntimeIamPolicyArrayOutput) ToRuntimeIamPolicyArrayOutputWithContext ¶
func (o RuntimeIamPolicyArrayOutput) ToRuntimeIamPolicyArrayOutputWithContext(ctx context.Context) RuntimeIamPolicyArrayOutput
type RuntimeIamPolicyInput ¶
type RuntimeIamPolicyInput interface { pulumi.Input ToRuntimeIamPolicyOutput() RuntimeIamPolicyOutput ToRuntimeIamPolicyOutputWithContext(ctx context.Context) RuntimeIamPolicyOutput }
type RuntimeIamPolicyMap ¶
type RuntimeIamPolicyMap map[string]RuntimeIamPolicyInput
func (RuntimeIamPolicyMap) ElementType ¶
func (RuntimeIamPolicyMap) ElementType() reflect.Type
func (RuntimeIamPolicyMap) ToRuntimeIamPolicyMapOutput ¶
func (i RuntimeIamPolicyMap) ToRuntimeIamPolicyMapOutput() RuntimeIamPolicyMapOutput
func (RuntimeIamPolicyMap) ToRuntimeIamPolicyMapOutputWithContext ¶
func (i RuntimeIamPolicyMap) ToRuntimeIamPolicyMapOutputWithContext(ctx context.Context) RuntimeIamPolicyMapOutput
type RuntimeIamPolicyMapInput ¶
type RuntimeIamPolicyMapInput interface { pulumi.Input ToRuntimeIamPolicyMapOutput() RuntimeIamPolicyMapOutput ToRuntimeIamPolicyMapOutputWithContext(context.Context) RuntimeIamPolicyMapOutput }
RuntimeIamPolicyMapInput is an input type that accepts RuntimeIamPolicyMap and RuntimeIamPolicyMapOutput values. You can construct a concrete instance of `RuntimeIamPolicyMapInput` via:
RuntimeIamPolicyMap{ "key": RuntimeIamPolicyArgs{...} }
type RuntimeIamPolicyMapOutput ¶
type RuntimeIamPolicyMapOutput struct{ *pulumi.OutputState }
func (RuntimeIamPolicyMapOutput) ElementType ¶
func (RuntimeIamPolicyMapOutput) ElementType() reflect.Type
func (RuntimeIamPolicyMapOutput) MapIndex ¶
func (o RuntimeIamPolicyMapOutput) MapIndex(k pulumi.StringInput) RuntimeIamPolicyOutput
func (RuntimeIamPolicyMapOutput) ToRuntimeIamPolicyMapOutput ¶
func (o RuntimeIamPolicyMapOutput) ToRuntimeIamPolicyMapOutput() RuntimeIamPolicyMapOutput
func (RuntimeIamPolicyMapOutput) ToRuntimeIamPolicyMapOutputWithContext ¶
func (o RuntimeIamPolicyMapOutput) ToRuntimeIamPolicyMapOutputWithContext(ctx context.Context) RuntimeIamPolicyMapOutput
type RuntimeIamPolicyOutput ¶
type RuntimeIamPolicyOutput struct{ *pulumi.OutputState }
func (RuntimeIamPolicyOutput) ElementType ¶
func (RuntimeIamPolicyOutput) ElementType() reflect.Type
func (RuntimeIamPolicyOutput) Etag ¶
func (o RuntimeIamPolicyOutput) Etag() pulumi.StringOutput
(Computed) The etag of the IAM policy.
func (RuntimeIamPolicyOutput) Location ¶
func (o RuntimeIamPolicyOutput) Location() pulumi.StringOutput
A reference to the zone where the machine resides. 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 (RuntimeIamPolicyOutput) PolicyData ¶
func (o RuntimeIamPolicyOutput) PolicyData() pulumi.StringOutput
The policy data generated by a `organizations.getIAMPolicy` data source.
func (RuntimeIamPolicyOutput) Project ¶
func (o RuntimeIamPolicyOutput) 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 (RuntimeIamPolicyOutput) RuntimeName ¶
func (o RuntimeIamPolicyOutput) RuntimeName() pulumi.StringOutput
Used to find the parent resource to bind the IAM policy to
func (RuntimeIamPolicyOutput) ToRuntimeIamPolicyOutput ¶
func (o RuntimeIamPolicyOutput) ToRuntimeIamPolicyOutput() RuntimeIamPolicyOutput
func (RuntimeIamPolicyOutput) ToRuntimeIamPolicyOutputWithContext ¶
func (o RuntimeIamPolicyOutput) ToRuntimeIamPolicyOutputWithContext(ctx context.Context) RuntimeIamPolicyOutput
type RuntimeIamPolicyState ¶
type RuntimeIamPolicyState struct { // (Computed) The etag of the IAM policy. Etag pulumi.StringPtrInput // A reference to the zone where the machine resides. 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 // Used to find the parent resource to bind the IAM policy to RuntimeName pulumi.StringPtrInput }
func (RuntimeIamPolicyState) ElementType ¶
func (RuntimeIamPolicyState) ElementType() reflect.Type
type RuntimeInput ¶
type RuntimeInput interface { pulumi.Input ToRuntimeOutput() RuntimeOutput ToRuntimeOutputWithContext(ctx context.Context) RuntimeOutput }
type RuntimeMap ¶
type RuntimeMap map[string]RuntimeInput
func (RuntimeMap) ElementType ¶
func (RuntimeMap) ElementType() reflect.Type
func (RuntimeMap) ToRuntimeMapOutput ¶
func (i RuntimeMap) ToRuntimeMapOutput() RuntimeMapOutput
func (RuntimeMap) ToRuntimeMapOutputWithContext ¶
func (i RuntimeMap) ToRuntimeMapOutputWithContext(ctx context.Context) RuntimeMapOutput
type RuntimeMapInput ¶
type RuntimeMapInput interface { pulumi.Input ToRuntimeMapOutput() RuntimeMapOutput ToRuntimeMapOutputWithContext(context.Context) RuntimeMapOutput }
RuntimeMapInput is an input type that accepts RuntimeMap and RuntimeMapOutput values. You can construct a concrete instance of `RuntimeMapInput` via:
RuntimeMap{ "key": RuntimeArgs{...} }
type RuntimeMapOutput ¶
type RuntimeMapOutput struct{ *pulumi.OutputState }
func (RuntimeMapOutput) ElementType ¶
func (RuntimeMapOutput) ElementType() reflect.Type
func (RuntimeMapOutput) MapIndex ¶
func (o RuntimeMapOutput) MapIndex(k pulumi.StringInput) RuntimeOutput
func (RuntimeMapOutput) ToRuntimeMapOutput ¶
func (o RuntimeMapOutput) ToRuntimeMapOutput() RuntimeMapOutput
func (RuntimeMapOutput) ToRuntimeMapOutputWithContext ¶
func (o RuntimeMapOutput) ToRuntimeMapOutputWithContext(ctx context.Context) RuntimeMapOutput
type RuntimeMetric ¶
type RuntimeMetricArgs ¶
type RuntimeMetricArgs struct { // (Output) // Contains runtime daemon metrics, such as OS and kernels and // sessions stats. SystemMetrics pulumi.StringMapInput `pulumi:"systemMetrics"` }
func (RuntimeMetricArgs) ElementType ¶
func (RuntimeMetricArgs) ElementType() reflect.Type
func (RuntimeMetricArgs) ToRuntimeMetricOutput ¶
func (i RuntimeMetricArgs) ToRuntimeMetricOutput() RuntimeMetricOutput
func (RuntimeMetricArgs) ToRuntimeMetricOutputWithContext ¶
func (i RuntimeMetricArgs) ToRuntimeMetricOutputWithContext(ctx context.Context) RuntimeMetricOutput
type RuntimeMetricArray ¶
type RuntimeMetricArray []RuntimeMetricInput
func (RuntimeMetricArray) ElementType ¶
func (RuntimeMetricArray) ElementType() reflect.Type
func (RuntimeMetricArray) ToRuntimeMetricArrayOutput ¶
func (i RuntimeMetricArray) ToRuntimeMetricArrayOutput() RuntimeMetricArrayOutput
func (RuntimeMetricArray) ToRuntimeMetricArrayOutputWithContext ¶
func (i RuntimeMetricArray) ToRuntimeMetricArrayOutputWithContext(ctx context.Context) RuntimeMetricArrayOutput
type RuntimeMetricArrayInput ¶
type RuntimeMetricArrayInput interface { pulumi.Input ToRuntimeMetricArrayOutput() RuntimeMetricArrayOutput ToRuntimeMetricArrayOutputWithContext(context.Context) RuntimeMetricArrayOutput }
RuntimeMetricArrayInput is an input type that accepts RuntimeMetricArray and RuntimeMetricArrayOutput values. You can construct a concrete instance of `RuntimeMetricArrayInput` via:
RuntimeMetricArray{ RuntimeMetricArgs{...} }
type RuntimeMetricArrayOutput ¶
type RuntimeMetricArrayOutput struct{ *pulumi.OutputState }
func (RuntimeMetricArrayOutput) ElementType ¶
func (RuntimeMetricArrayOutput) ElementType() reflect.Type
func (RuntimeMetricArrayOutput) Index ¶
func (o RuntimeMetricArrayOutput) Index(i pulumi.IntInput) RuntimeMetricOutput
func (RuntimeMetricArrayOutput) ToRuntimeMetricArrayOutput ¶
func (o RuntimeMetricArrayOutput) ToRuntimeMetricArrayOutput() RuntimeMetricArrayOutput
func (RuntimeMetricArrayOutput) ToRuntimeMetricArrayOutputWithContext ¶
func (o RuntimeMetricArrayOutput) ToRuntimeMetricArrayOutputWithContext(ctx context.Context) RuntimeMetricArrayOutput
type RuntimeMetricInput ¶
type RuntimeMetricInput interface { pulumi.Input ToRuntimeMetricOutput() RuntimeMetricOutput ToRuntimeMetricOutputWithContext(context.Context) RuntimeMetricOutput }
RuntimeMetricInput is an input type that accepts RuntimeMetricArgs and RuntimeMetricOutput values. You can construct a concrete instance of `RuntimeMetricInput` via:
RuntimeMetricArgs{...}
type RuntimeMetricOutput ¶
type RuntimeMetricOutput struct{ *pulumi.OutputState }
func (RuntimeMetricOutput) ElementType ¶
func (RuntimeMetricOutput) ElementType() reflect.Type
func (RuntimeMetricOutput) SystemMetrics ¶
func (o RuntimeMetricOutput) SystemMetrics() pulumi.StringMapOutput
(Output) Contains runtime daemon metrics, such as OS and kernels and sessions stats.
func (RuntimeMetricOutput) ToRuntimeMetricOutput ¶
func (o RuntimeMetricOutput) ToRuntimeMetricOutput() RuntimeMetricOutput
func (RuntimeMetricOutput) ToRuntimeMetricOutputWithContext ¶
func (o RuntimeMetricOutput) ToRuntimeMetricOutputWithContext(ctx context.Context) RuntimeMetricOutput
type RuntimeOutput ¶
type RuntimeOutput struct{ *pulumi.OutputState }
func (RuntimeOutput) AccessConfig ¶
func (o RuntimeOutput) AccessConfig() RuntimeAccessConfigPtrOutput
The config settings for accessing runtime. Structure is documented below.
func (RuntimeOutput) EffectiveLabels ¶
func (o RuntimeOutput) 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 (RuntimeOutput) ElementType ¶
func (RuntimeOutput) ElementType() reflect.Type
func (RuntimeOutput) HealthState ¶
func (o RuntimeOutput) HealthState() pulumi.StringOutput
The health state of this runtime. For a list of possible output values, see `https://cloud.google.com/vertex-ai/docs/workbench/ reference/rest/v1/projects.locations.runtimes#healthstate`.
func (RuntimeOutput) Labels ¶
func (o RuntimeOutput) Labels() pulumi.StringMapOutput
The labels to associate with this runtime. Label **keys** must contain 1 to 63 characters, and must conform to [RFC 1035] (https://www.ietf.org/rfc/rfc1035.txt). Label **values** may be empty, but, if present, must contain 1 to 63 characters, and must conform to [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt). No more than 32 labels can be associated with a cluster.
**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 (RuntimeOutput) Location ¶
func (o RuntimeOutput) Location() pulumi.StringOutput
A reference to the zone where the machine resides.
***
func (RuntimeOutput) Metrics ¶
func (o RuntimeOutput) Metrics() RuntimeMetricArrayOutput
Contains Runtime daemon metrics such as Service status and JupyterLab status Structure is documented below.
func (RuntimeOutput) Name ¶
func (o RuntimeOutput) Name() pulumi.StringOutput
The name specified for the Notebook runtime.
func (RuntimeOutput) Project ¶
func (o RuntimeOutput) Project() pulumi.StringOutput
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
func (RuntimeOutput) PulumiLabels ¶
func (o RuntimeOutput) PulumiLabels() pulumi.StringMapOutput
The combination of labels configured directly on the resource and default labels configured on the provider.
func (RuntimeOutput) SoftwareConfig ¶
func (o RuntimeOutput) SoftwareConfig() RuntimeSoftwareConfigOutput
The config settings for software inside the runtime. Structure is documented below.
func (RuntimeOutput) State ¶
func (o RuntimeOutput) State() pulumi.StringOutput
The state of this runtime.
func (RuntimeOutput) ToRuntimeOutput ¶
func (o RuntimeOutput) ToRuntimeOutput() RuntimeOutput
func (RuntimeOutput) ToRuntimeOutputWithContext ¶
func (o RuntimeOutput) ToRuntimeOutputWithContext(ctx context.Context) RuntimeOutput
func (RuntimeOutput) VirtualMachine ¶
func (o RuntimeOutput) VirtualMachine() RuntimeVirtualMachinePtrOutput
Use a Compute Engine VM image to start the managed notebook instance. Structure is documented below.
type RuntimeSoftwareConfig ¶
type RuntimeSoftwareConfig struct { // Specify a custom Cloud Storage path where the GPU driver is stored. // If not specified, we'll automatically choose from official GPU drivers. CustomGpuDriverPath *string `pulumi:"customGpuDriverPath"` // Verifies core internal services are running. Default: True. EnableHealthMonitoring *bool `pulumi:"enableHealthMonitoring"` // Runtime will automatically shutdown after idle_shutdown_time. // Default: True IdleShutdown *bool `pulumi:"idleShutdown"` // Time in minutes to wait before shuting down runtime. // Default: 180 minutes IdleShutdownTimeout *int `pulumi:"idleShutdownTimeout"` // Install Nvidia Driver automatically. InstallGpuDriver *bool `pulumi:"installGpuDriver"` // Use a list of container images to use as Kernels in the notebook instance. // Structure is documented below. Kernels []RuntimeSoftwareConfigKernel `pulumi:"kernels"` // Cron expression in UTC timezone for schedule instance auto upgrade. // Please follow the [cron format](https://en.wikipedia.org/wiki/Cron). NotebookUpgradeSchedule *string `pulumi:"notebookUpgradeSchedule"` // Path to a Bash script that automatically runs after a notebook instance // fully boots up. The path must be a URL or // Cloud Storage path (gs://path-to-file/file-name). PostStartupScript *string `pulumi:"postStartupScript"` // Behavior for the post startup script. // Possible values are: `POST_STARTUP_SCRIPT_BEHAVIOR_UNSPECIFIED`, `RUN_EVERY_START`, `DOWNLOAD_AND_RUN_EVERY_START`. PostStartupScriptBehavior *string `pulumi:"postStartupScriptBehavior"` // (Output) // Bool indicating whether an newer image is available in an image family. Upgradeable *bool `pulumi:"upgradeable"` }
type RuntimeSoftwareConfigArgs ¶
type RuntimeSoftwareConfigArgs struct { // Specify a custom Cloud Storage path where the GPU driver is stored. // If not specified, we'll automatically choose from official GPU drivers. CustomGpuDriverPath pulumi.StringPtrInput `pulumi:"customGpuDriverPath"` // Verifies core internal services are running. Default: True. EnableHealthMonitoring pulumi.BoolPtrInput `pulumi:"enableHealthMonitoring"` // Runtime will automatically shutdown after idle_shutdown_time. // Default: True IdleShutdown pulumi.BoolPtrInput `pulumi:"idleShutdown"` // Time in minutes to wait before shuting down runtime. // Default: 180 minutes IdleShutdownTimeout pulumi.IntPtrInput `pulumi:"idleShutdownTimeout"` // Install Nvidia Driver automatically. InstallGpuDriver pulumi.BoolPtrInput `pulumi:"installGpuDriver"` // Use a list of container images to use as Kernels in the notebook instance. // Structure is documented below. Kernels RuntimeSoftwareConfigKernelArrayInput `pulumi:"kernels"` // Cron expression in UTC timezone for schedule instance auto upgrade. // Please follow the [cron format](https://en.wikipedia.org/wiki/Cron). NotebookUpgradeSchedule pulumi.StringPtrInput `pulumi:"notebookUpgradeSchedule"` // Path to a Bash script that automatically runs after a notebook instance // fully boots up. The path must be a URL or // Cloud Storage path (gs://path-to-file/file-name). PostStartupScript pulumi.StringPtrInput `pulumi:"postStartupScript"` // Behavior for the post startup script. // Possible values are: `POST_STARTUP_SCRIPT_BEHAVIOR_UNSPECIFIED`, `RUN_EVERY_START`, `DOWNLOAD_AND_RUN_EVERY_START`. PostStartupScriptBehavior pulumi.StringPtrInput `pulumi:"postStartupScriptBehavior"` // (Output) // Bool indicating whether an newer image is available in an image family. Upgradeable pulumi.BoolPtrInput `pulumi:"upgradeable"` }
func (RuntimeSoftwareConfigArgs) ElementType ¶
func (RuntimeSoftwareConfigArgs) ElementType() reflect.Type
func (RuntimeSoftwareConfigArgs) ToRuntimeSoftwareConfigOutput ¶
func (i RuntimeSoftwareConfigArgs) ToRuntimeSoftwareConfigOutput() RuntimeSoftwareConfigOutput
func (RuntimeSoftwareConfigArgs) ToRuntimeSoftwareConfigOutputWithContext ¶
func (i RuntimeSoftwareConfigArgs) ToRuntimeSoftwareConfigOutputWithContext(ctx context.Context) RuntimeSoftwareConfigOutput
func (RuntimeSoftwareConfigArgs) ToRuntimeSoftwareConfigPtrOutput ¶
func (i RuntimeSoftwareConfigArgs) ToRuntimeSoftwareConfigPtrOutput() RuntimeSoftwareConfigPtrOutput
func (RuntimeSoftwareConfigArgs) ToRuntimeSoftwareConfigPtrOutputWithContext ¶
func (i RuntimeSoftwareConfigArgs) ToRuntimeSoftwareConfigPtrOutputWithContext(ctx context.Context) RuntimeSoftwareConfigPtrOutput
type RuntimeSoftwareConfigInput ¶
type RuntimeSoftwareConfigInput interface { pulumi.Input ToRuntimeSoftwareConfigOutput() RuntimeSoftwareConfigOutput ToRuntimeSoftwareConfigOutputWithContext(context.Context) RuntimeSoftwareConfigOutput }
RuntimeSoftwareConfigInput is an input type that accepts RuntimeSoftwareConfigArgs and RuntimeSoftwareConfigOutput values. You can construct a concrete instance of `RuntimeSoftwareConfigInput` via:
RuntimeSoftwareConfigArgs{...}
type RuntimeSoftwareConfigKernelArgs ¶
type RuntimeSoftwareConfigKernelArgs struct { // The path to the container image repository. // For example: gcr.io/{project_id}/{imageName} Repository pulumi.StringInput `pulumi:"repository"` // The tag of the container image. If not specified, this defaults to the latest tag. Tag pulumi.StringPtrInput `pulumi:"tag"` }
func (RuntimeSoftwareConfigKernelArgs) ElementType ¶
func (RuntimeSoftwareConfigKernelArgs) ElementType() reflect.Type
func (RuntimeSoftwareConfigKernelArgs) ToRuntimeSoftwareConfigKernelOutput ¶
func (i RuntimeSoftwareConfigKernelArgs) ToRuntimeSoftwareConfigKernelOutput() RuntimeSoftwareConfigKernelOutput
func (RuntimeSoftwareConfigKernelArgs) ToRuntimeSoftwareConfigKernelOutputWithContext ¶
func (i RuntimeSoftwareConfigKernelArgs) ToRuntimeSoftwareConfigKernelOutputWithContext(ctx context.Context) RuntimeSoftwareConfigKernelOutput
type RuntimeSoftwareConfigKernelArray ¶
type RuntimeSoftwareConfigKernelArray []RuntimeSoftwareConfigKernelInput
func (RuntimeSoftwareConfigKernelArray) ElementType ¶
func (RuntimeSoftwareConfigKernelArray) ElementType() reflect.Type
func (RuntimeSoftwareConfigKernelArray) ToRuntimeSoftwareConfigKernelArrayOutput ¶
func (i RuntimeSoftwareConfigKernelArray) ToRuntimeSoftwareConfigKernelArrayOutput() RuntimeSoftwareConfigKernelArrayOutput
func (RuntimeSoftwareConfigKernelArray) ToRuntimeSoftwareConfigKernelArrayOutputWithContext ¶
func (i RuntimeSoftwareConfigKernelArray) ToRuntimeSoftwareConfigKernelArrayOutputWithContext(ctx context.Context) RuntimeSoftwareConfigKernelArrayOutput
type RuntimeSoftwareConfigKernelArrayInput ¶
type RuntimeSoftwareConfigKernelArrayInput interface { pulumi.Input ToRuntimeSoftwareConfigKernelArrayOutput() RuntimeSoftwareConfigKernelArrayOutput ToRuntimeSoftwareConfigKernelArrayOutputWithContext(context.Context) RuntimeSoftwareConfigKernelArrayOutput }
RuntimeSoftwareConfigKernelArrayInput is an input type that accepts RuntimeSoftwareConfigKernelArray and RuntimeSoftwareConfigKernelArrayOutput values. You can construct a concrete instance of `RuntimeSoftwareConfigKernelArrayInput` via:
RuntimeSoftwareConfigKernelArray{ RuntimeSoftwareConfigKernelArgs{...} }
type RuntimeSoftwareConfigKernelArrayOutput ¶
type RuntimeSoftwareConfigKernelArrayOutput struct{ *pulumi.OutputState }
func (RuntimeSoftwareConfigKernelArrayOutput) ElementType ¶
func (RuntimeSoftwareConfigKernelArrayOutput) ElementType() reflect.Type
func (RuntimeSoftwareConfigKernelArrayOutput) ToRuntimeSoftwareConfigKernelArrayOutput ¶
func (o RuntimeSoftwareConfigKernelArrayOutput) ToRuntimeSoftwareConfigKernelArrayOutput() RuntimeSoftwareConfigKernelArrayOutput
func (RuntimeSoftwareConfigKernelArrayOutput) ToRuntimeSoftwareConfigKernelArrayOutputWithContext ¶
func (o RuntimeSoftwareConfigKernelArrayOutput) ToRuntimeSoftwareConfigKernelArrayOutputWithContext(ctx context.Context) RuntimeSoftwareConfigKernelArrayOutput
type RuntimeSoftwareConfigKernelInput ¶
type RuntimeSoftwareConfigKernelInput interface { pulumi.Input ToRuntimeSoftwareConfigKernelOutput() RuntimeSoftwareConfigKernelOutput ToRuntimeSoftwareConfigKernelOutputWithContext(context.Context) RuntimeSoftwareConfigKernelOutput }
RuntimeSoftwareConfigKernelInput is an input type that accepts RuntimeSoftwareConfigKernelArgs and RuntimeSoftwareConfigKernelOutput values. You can construct a concrete instance of `RuntimeSoftwareConfigKernelInput` via:
RuntimeSoftwareConfigKernelArgs{...}
type RuntimeSoftwareConfigKernelOutput ¶
type RuntimeSoftwareConfigKernelOutput struct{ *pulumi.OutputState }
func (RuntimeSoftwareConfigKernelOutput) ElementType ¶
func (RuntimeSoftwareConfigKernelOutput) ElementType() reflect.Type
func (RuntimeSoftwareConfigKernelOutput) Repository ¶
func (o RuntimeSoftwareConfigKernelOutput) Repository() pulumi.StringOutput
The path to the container image repository. For example: gcr.io/{project_id}/{imageName}
func (RuntimeSoftwareConfigKernelOutput) Tag ¶
func (o RuntimeSoftwareConfigKernelOutput) Tag() pulumi.StringPtrOutput
The tag of the container image. If not specified, this defaults to the latest tag.
func (RuntimeSoftwareConfigKernelOutput) ToRuntimeSoftwareConfigKernelOutput ¶
func (o RuntimeSoftwareConfigKernelOutput) ToRuntimeSoftwareConfigKernelOutput() RuntimeSoftwareConfigKernelOutput
func (RuntimeSoftwareConfigKernelOutput) ToRuntimeSoftwareConfigKernelOutputWithContext ¶
func (o RuntimeSoftwareConfigKernelOutput) ToRuntimeSoftwareConfigKernelOutputWithContext(ctx context.Context) RuntimeSoftwareConfigKernelOutput
type RuntimeSoftwareConfigOutput ¶
type RuntimeSoftwareConfigOutput struct{ *pulumi.OutputState }
func (RuntimeSoftwareConfigOutput) CustomGpuDriverPath ¶
func (o RuntimeSoftwareConfigOutput) CustomGpuDriverPath() pulumi.StringPtrOutput
Specify a custom Cloud Storage path where the GPU driver is stored. If not specified, we'll automatically choose from official GPU drivers.
func (RuntimeSoftwareConfigOutput) ElementType ¶
func (RuntimeSoftwareConfigOutput) ElementType() reflect.Type
func (RuntimeSoftwareConfigOutput) EnableHealthMonitoring ¶
func (o RuntimeSoftwareConfigOutput) EnableHealthMonitoring() pulumi.BoolPtrOutput
Verifies core internal services are running. Default: True.
func (RuntimeSoftwareConfigOutput) IdleShutdown ¶
func (o RuntimeSoftwareConfigOutput) IdleShutdown() pulumi.BoolPtrOutput
Runtime will automatically shutdown after idle_shutdown_time. Default: True
func (RuntimeSoftwareConfigOutput) IdleShutdownTimeout ¶
func (o RuntimeSoftwareConfigOutput) IdleShutdownTimeout() pulumi.IntPtrOutput
Time in minutes to wait before shuting down runtime. Default: 180 minutes
func (RuntimeSoftwareConfigOutput) InstallGpuDriver ¶
func (o RuntimeSoftwareConfigOutput) InstallGpuDriver() pulumi.BoolPtrOutput
Install Nvidia Driver automatically.
func (RuntimeSoftwareConfigOutput) Kernels ¶
func (o RuntimeSoftwareConfigOutput) Kernels() RuntimeSoftwareConfigKernelArrayOutput
Use a list of container images to use as Kernels in the notebook instance. Structure is documented below.
func (RuntimeSoftwareConfigOutput) NotebookUpgradeSchedule ¶
func (o RuntimeSoftwareConfigOutput) NotebookUpgradeSchedule() pulumi.StringPtrOutput
Cron expression in UTC timezone for schedule instance auto upgrade. Please follow the [cron format](https://en.wikipedia.org/wiki/Cron).
func (RuntimeSoftwareConfigOutput) PostStartupScript ¶
func (o RuntimeSoftwareConfigOutput) PostStartupScript() pulumi.StringPtrOutput
Path to a Bash script that automatically runs after a notebook instance fully boots up. The path must be a URL or Cloud Storage path (gs://path-to-file/file-name).
func (RuntimeSoftwareConfigOutput) PostStartupScriptBehavior ¶
func (o RuntimeSoftwareConfigOutput) PostStartupScriptBehavior() pulumi.StringPtrOutput
Behavior for the post startup script. Possible values are: `POST_STARTUP_SCRIPT_BEHAVIOR_UNSPECIFIED`, `RUN_EVERY_START`, `DOWNLOAD_AND_RUN_EVERY_START`.
func (RuntimeSoftwareConfigOutput) ToRuntimeSoftwareConfigOutput ¶
func (o RuntimeSoftwareConfigOutput) ToRuntimeSoftwareConfigOutput() RuntimeSoftwareConfigOutput
func (RuntimeSoftwareConfigOutput) ToRuntimeSoftwareConfigOutputWithContext ¶
func (o RuntimeSoftwareConfigOutput) ToRuntimeSoftwareConfigOutputWithContext(ctx context.Context) RuntimeSoftwareConfigOutput
func (RuntimeSoftwareConfigOutput) ToRuntimeSoftwareConfigPtrOutput ¶
func (o RuntimeSoftwareConfigOutput) ToRuntimeSoftwareConfigPtrOutput() RuntimeSoftwareConfigPtrOutput
func (RuntimeSoftwareConfigOutput) ToRuntimeSoftwareConfigPtrOutputWithContext ¶
func (o RuntimeSoftwareConfigOutput) ToRuntimeSoftwareConfigPtrOutputWithContext(ctx context.Context) RuntimeSoftwareConfigPtrOutput
func (RuntimeSoftwareConfigOutput) Upgradeable ¶
func (o RuntimeSoftwareConfigOutput) Upgradeable() pulumi.BoolPtrOutput
(Output) Bool indicating whether an newer image is available in an image family.
type RuntimeSoftwareConfigPtrInput ¶
type RuntimeSoftwareConfigPtrInput interface { pulumi.Input ToRuntimeSoftwareConfigPtrOutput() RuntimeSoftwareConfigPtrOutput ToRuntimeSoftwareConfigPtrOutputWithContext(context.Context) RuntimeSoftwareConfigPtrOutput }
RuntimeSoftwareConfigPtrInput is an input type that accepts RuntimeSoftwareConfigArgs, RuntimeSoftwareConfigPtr and RuntimeSoftwareConfigPtrOutput values. You can construct a concrete instance of `RuntimeSoftwareConfigPtrInput` via:
RuntimeSoftwareConfigArgs{...} or: nil
func RuntimeSoftwareConfigPtr ¶
func RuntimeSoftwareConfigPtr(v *RuntimeSoftwareConfigArgs) RuntimeSoftwareConfigPtrInput
type RuntimeSoftwareConfigPtrOutput ¶
type RuntimeSoftwareConfigPtrOutput struct{ *pulumi.OutputState }
func (RuntimeSoftwareConfigPtrOutput) CustomGpuDriverPath ¶
func (o RuntimeSoftwareConfigPtrOutput) CustomGpuDriverPath() pulumi.StringPtrOutput
Specify a custom Cloud Storage path where the GPU driver is stored. If not specified, we'll automatically choose from official GPU drivers.
func (RuntimeSoftwareConfigPtrOutput) Elem ¶
func (o RuntimeSoftwareConfigPtrOutput) Elem() RuntimeSoftwareConfigOutput
func (RuntimeSoftwareConfigPtrOutput) ElementType ¶
func (RuntimeSoftwareConfigPtrOutput) ElementType() reflect.Type
func (RuntimeSoftwareConfigPtrOutput) EnableHealthMonitoring ¶
func (o RuntimeSoftwareConfigPtrOutput) EnableHealthMonitoring() pulumi.BoolPtrOutput
Verifies core internal services are running. Default: True.
func (RuntimeSoftwareConfigPtrOutput) IdleShutdown ¶
func (o RuntimeSoftwareConfigPtrOutput) IdleShutdown() pulumi.BoolPtrOutput
Runtime will automatically shutdown after idle_shutdown_time. Default: True
func (RuntimeSoftwareConfigPtrOutput) IdleShutdownTimeout ¶
func (o RuntimeSoftwareConfigPtrOutput) IdleShutdownTimeout() pulumi.IntPtrOutput
Time in minutes to wait before shuting down runtime. Default: 180 minutes
func (RuntimeSoftwareConfigPtrOutput) InstallGpuDriver ¶
func (o RuntimeSoftwareConfigPtrOutput) InstallGpuDriver() pulumi.BoolPtrOutput
Install Nvidia Driver automatically.
func (RuntimeSoftwareConfigPtrOutput) Kernels ¶
func (o RuntimeSoftwareConfigPtrOutput) Kernels() RuntimeSoftwareConfigKernelArrayOutput
Use a list of container images to use as Kernels in the notebook instance. Structure is documented below.
func (RuntimeSoftwareConfigPtrOutput) NotebookUpgradeSchedule ¶
func (o RuntimeSoftwareConfigPtrOutput) NotebookUpgradeSchedule() pulumi.StringPtrOutput
Cron expression in UTC timezone for schedule instance auto upgrade. Please follow the [cron format](https://en.wikipedia.org/wiki/Cron).
func (RuntimeSoftwareConfigPtrOutput) PostStartupScript ¶
func (o RuntimeSoftwareConfigPtrOutput) PostStartupScript() pulumi.StringPtrOutput
Path to a Bash script that automatically runs after a notebook instance fully boots up. The path must be a URL or Cloud Storage path (gs://path-to-file/file-name).
func (RuntimeSoftwareConfigPtrOutput) PostStartupScriptBehavior ¶
func (o RuntimeSoftwareConfigPtrOutput) PostStartupScriptBehavior() pulumi.StringPtrOutput
Behavior for the post startup script. Possible values are: `POST_STARTUP_SCRIPT_BEHAVIOR_UNSPECIFIED`, `RUN_EVERY_START`, `DOWNLOAD_AND_RUN_EVERY_START`.
func (RuntimeSoftwareConfigPtrOutput) ToRuntimeSoftwareConfigPtrOutput ¶
func (o RuntimeSoftwareConfigPtrOutput) ToRuntimeSoftwareConfigPtrOutput() RuntimeSoftwareConfigPtrOutput
func (RuntimeSoftwareConfigPtrOutput) ToRuntimeSoftwareConfigPtrOutputWithContext ¶
func (o RuntimeSoftwareConfigPtrOutput) ToRuntimeSoftwareConfigPtrOutputWithContext(ctx context.Context) RuntimeSoftwareConfigPtrOutput
func (RuntimeSoftwareConfigPtrOutput) Upgradeable ¶
func (o RuntimeSoftwareConfigPtrOutput) Upgradeable() pulumi.BoolPtrOutput
(Output) Bool indicating whether an newer image is available in an image family.
type RuntimeState ¶
type RuntimeState struct { // The config settings for accessing runtime. // Structure is documented below. AccessConfig RuntimeAccessConfigPtrInput // 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 // The health state of this runtime. For a list of possible output // values, see `https://cloud.google.com/vertex-ai/docs/workbench/ // reference/rest/v1/projects.locations.runtimes#healthstate`. HealthState pulumi.StringPtrInput // The labels to associate with this runtime. Label **keys** must // contain 1 to 63 characters, and must conform to [RFC 1035] // (https://www.ietf.org/rfc/rfc1035.txt). Label **values** may be // empty, but, if present, must contain 1 to 63 characters, and must // conform to [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt). No // more than 32 labels can be associated with a cluster. // // **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 // A reference to the zone where the machine resides. // // *** Location pulumi.StringPtrInput // Contains Runtime daemon metrics such as Service status and JupyterLab // status // Structure is documented below. Metrics RuntimeMetricArrayInput // The name specified for the Notebook runtime. 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 // The config settings for software inside the runtime. // Structure is documented below. SoftwareConfig RuntimeSoftwareConfigPtrInput // The state of this runtime. State pulumi.StringPtrInput // Use a Compute Engine VM image to start the managed notebook instance. // Structure is documented below. VirtualMachine RuntimeVirtualMachinePtrInput }
func (RuntimeState) ElementType ¶
func (RuntimeState) ElementType() reflect.Type
type RuntimeVirtualMachine ¶
type RuntimeVirtualMachine struct { // (Output) // The unique identifier of the Managed Compute Engine instance. InstanceId *string `pulumi:"instanceId"` // (Output) // The user-friendly name of the Managed Compute Engine instance. InstanceName *string `pulumi:"instanceName"` // Virtual Machine configuration settings. // Structure is documented below. VirtualMachineConfig *RuntimeVirtualMachineVirtualMachineConfig `pulumi:"virtualMachineConfig"` }
type RuntimeVirtualMachineArgs ¶
type RuntimeVirtualMachineArgs struct { // (Output) // The unique identifier of the Managed Compute Engine instance. InstanceId pulumi.StringPtrInput `pulumi:"instanceId"` // (Output) // The user-friendly name of the Managed Compute Engine instance. InstanceName pulumi.StringPtrInput `pulumi:"instanceName"` // Virtual Machine configuration settings. // Structure is documented below. VirtualMachineConfig RuntimeVirtualMachineVirtualMachineConfigPtrInput `pulumi:"virtualMachineConfig"` }
func (RuntimeVirtualMachineArgs) ElementType ¶
func (RuntimeVirtualMachineArgs) ElementType() reflect.Type
func (RuntimeVirtualMachineArgs) ToRuntimeVirtualMachineOutput ¶
func (i RuntimeVirtualMachineArgs) ToRuntimeVirtualMachineOutput() RuntimeVirtualMachineOutput
func (RuntimeVirtualMachineArgs) ToRuntimeVirtualMachineOutputWithContext ¶
func (i RuntimeVirtualMachineArgs) ToRuntimeVirtualMachineOutputWithContext(ctx context.Context) RuntimeVirtualMachineOutput
func (RuntimeVirtualMachineArgs) ToRuntimeVirtualMachinePtrOutput ¶
func (i RuntimeVirtualMachineArgs) ToRuntimeVirtualMachinePtrOutput() RuntimeVirtualMachinePtrOutput
func (RuntimeVirtualMachineArgs) ToRuntimeVirtualMachinePtrOutputWithContext ¶
func (i RuntimeVirtualMachineArgs) ToRuntimeVirtualMachinePtrOutputWithContext(ctx context.Context) RuntimeVirtualMachinePtrOutput
type RuntimeVirtualMachineInput ¶
type RuntimeVirtualMachineInput interface { pulumi.Input ToRuntimeVirtualMachineOutput() RuntimeVirtualMachineOutput ToRuntimeVirtualMachineOutputWithContext(context.Context) RuntimeVirtualMachineOutput }
RuntimeVirtualMachineInput is an input type that accepts RuntimeVirtualMachineArgs and RuntimeVirtualMachineOutput values. You can construct a concrete instance of `RuntimeVirtualMachineInput` via:
RuntimeVirtualMachineArgs{...}
type RuntimeVirtualMachineOutput ¶
type RuntimeVirtualMachineOutput struct{ *pulumi.OutputState }
func (RuntimeVirtualMachineOutput) ElementType ¶
func (RuntimeVirtualMachineOutput) ElementType() reflect.Type
func (RuntimeVirtualMachineOutput) InstanceId ¶
func (o RuntimeVirtualMachineOutput) InstanceId() pulumi.StringPtrOutput
(Output) The unique identifier of the Managed Compute Engine instance.
func (RuntimeVirtualMachineOutput) InstanceName ¶
func (o RuntimeVirtualMachineOutput) InstanceName() pulumi.StringPtrOutput
(Output) The user-friendly name of the Managed Compute Engine instance.
func (RuntimeVirtualMachineOutput) ToRuntimeVirtualMachineOutput ¶
func (o RuntimeVirtualMachineOutput) ToRuntimeVirtualMachineOutput() RuntimeVirtualMachineOutput
func (RuntimeVirtualMachineOutput) ToRuntimeVirtualMachineOutputWithContext ¶
func (o RuntimeVirtualMachineOutput) ToRuntimeVirtualMachineOutputWithContext(ctx context.Context) RuntimeVirtualMachineOutput
func (RuntimeVirtualMachineOutput) ToRuntimeVirtualMachinePtrOutput ¶
func (o RuntimeVirtualMachineOutput) ToRuntimeVirtualMachinePtrOutput() RuntimeVirtualMachinePtrOutput
func (RuntimeVirtualMachineOutput) ToRuntimeVirtualMachinePtrOutputWithContext ¶
func (o RuntimeVirtualMachineOutput) ToRuntimeVirtualMachinePtrOutputWithContext(ctx context.Context) RuntimeVirtualMachinePtrOutput
func (RuntimeVirtualMachineOutput) VirtualMachineConfig ¶
func (o RuntimeVirtualMachineOutput) VirtualMachineConfig() RuntimeVirtualMachineVirtualMachineConfigPtrOutput
Virtual Machine configuration settings. Structure is documented below.
type RuntimeVirtualMachinePtrInput ¶
type RuntimeVirtualMachinePtrInput interface { pulumi.Input ToRuntimeVirtualMachinePtrOutput() RuntimeVirtualMachinePtrOutput ToRuntimeVirtualMachinePtrOutputWithContext(context.Context) RuntimeVirtualMachinePtrOutput }
RuntimeVirtualMachinePtrInput is an input type that accepts RuntimeVirtualMachineArgs, RuntimeVirtualMachinePtr and RuntimeVirtualMachinePtrOutput values. You can construct a concrete instance of `RuntimeVirtualMachinePtrInput` via:
RuntimeVirtualMachineArgs{...} or: nil
func RuntimeVirtualMachinePtr ¶
func RuntimeVirtualMachinePtr(v *RuntimeVirtualMachineArgs) RuntimeVirtualMachinePtrInput
type RuntimeVirtualMachinePtrOutput ¶
type RuntimeVirtualMachinePtrOutput struct{ *pulumi.OutputState }
func (RuntimeVirtualMachinePtrOutput) Elem ¶
func (o RuntimeVirtualMachinePtrOutput) Elem() RuntimeVirtualMachineOutput
func (RuntimeVirtualMachinePtrOutput) ElementType ¶
func (RuntimeVirtualMachinePtrOutput) ElementType() reflect.Type
func (RuntimeVirtualMachinePtrOutput) InstanceId ¶
func (o RuntimeVirtualMachinePtrOutput) InstanceId() pulumi.StringPtrOutput
(Output) The unique identifier of the Managed Compute Engine instance.
func (RuntimeVirtualMachinePtrOutput) InstanceName ¶
func (o RuntimeVirtualMachinePtrOutput) InstanceName() pulumi.StringPtrOutput
(Output) The user-friendly name of the Managed Compute Engine instance.
func (RuntimeVirtualMachinePtrOutput) ToRuntimeVirtualMachinePtrOutput ¶
func (o RuntimeVirtualMachinePtrOutput) ToRuntimeVirtualMachinePtrOutput() RuntimeVirtualMachinePtrOutput
func (RuntimeVirtualMachinePtrOutput) ToRuntimeVirtualMachinePtrOutputWithContext ¶
func (o RuntimeVirtualMachinePtrOutput) ToRuntimeVirtualMachinePtrOutputWithContext(ctx context.Context) RuntimeVirtualMachinePtrOutput
func (RuntimeVirtualMachinePtrOutput) VirtualMachineConfig ¶
func (o RuntimeVirtualMachinePtrOutput) VirtualMachineConfig() RuntimeVirtualMachineVirtualMachineConfigPtrOutput
Virtual Machine configuration settings. Structure is documented below.
type RuntimeVirtualMachineVirtualMachineConfig ¶
type RuntimeVirtualMachineVirtualMachineConfig struct { // The Compute Engine accelerator configuration for this runtime. // Structure is documented below. AcceleratorConfig *RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfig `pulumi:"acceleratorConfig"` // Use a list of container images to start the notebook instance. // Structure is documented below. ContainerImages []RuntimeVirtualMachineVirtualMachineConfigContainerImage `pulumi:"containerImages"` // Data disk option configuration settings. // Structure is documented below. DataDisk RuntimeVirtualMachineVirtualMachineConfigDataDisk `pulumi:"dataDisk"` // Encryption settings for virtual machine data disk. // Structure is documented below. EncryptionConfig *RuntimeVirtualMachineVirtualMachineConfigEncryptionConfig `pulumi:"encryptionConfig"` // (Output) // The Compute Engine guest attributes. (see [Project and instance // guest attributes](https://cloud.google.com/compute/docs/ // storing-retrieving-metadata#guest_attributes)). GuestAttributes map[string]string `pulumi:"guestAttributes"` // If true, runtime will only have internal IP addresses. By default, // runtimes are not restricted to internal IP addresses, and will // have ephemeral external IP addresses assigned to each vm. This // `internalIpOnly` restriction can only be enabled for subnetwork // enabled networks, and all dependencies must be configured to be // accessible without external IP addresses. InternalIpOnly *bool `pulumi:"internalIpOnly"` // The labels to associate with this runtime. Label **keys** must // contain 1 to 63 characters, and must conform to [RFC 1035] // (https://www.ietf.org/rfc/rfc1035.txt). Label **values** may be // empty, but, if present, must contain 1 to 63 characters, and must // conform to [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt). No // more than 32 labels can be associated with a cluster. Labels map[string]string `pulumi:"labels"` // The Compute Engine machine type used for runtimes. MachineType string `pulumi:"machineType"` // The Compute Engine metadata entries to add to virtual machine. // (see [Project and instance metadata](https://cloud.google.com // /compute/docs/storing-retrieving-metadata#project_and_instance // _metadata)). Metadata map[string]string `pulumi:"metadata"` // The Compute Engine network to be used for machine communications. // Cannot be specified with subnetwork. If neither `network` nor // `subnet` is specified, the "default" network of the project is // used, if it exists. A full URL or partial URI. Examples: // * `https://www.googleapis.com/compute/v1/projects/[projectId]/ // regions/global/default` // * `projects/[projectId]/regions/global/default` // Runtimes are managed resources inside Google Infrastructure. // Runtimes support the following network configurations: // * Google Managed Network (Network & subnet are empty) // * Consumer Project VPC (network & subnet are required). Requires // configuring Private Service Access. // * Shared VPC (network & subnet are required). Requires // configuring Private Service Access. Network *string `pulumi:"network"` // The type of vNIC to be used on this interface. This may be gVNIC // or VirtioNet. // Possible values are: `UNSPECIFIED_NIC_TYPE`, `VIRTIO_NET`, `GVNIC`. NicType *string `pulumi:"nicType"` // Reserved IP Range name is used for VPC Peering. The // subnetwork allocation will use the range *name* if it's assigned. ReservedIpRange *string `pulumi:"reservedIpRange"` // Shielded VM Instance configuration settings. // Structure is documented below. ShieldedInstanceConfig *RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfig `pulumi:"shieldedInstanceConfig"` // The Compute Engine subnetwork to be used for machine // communications. Cannot be specified with network. A full URL or // partial URI are valid. Examples: // * `https://www.googleapis.com/compute/v1/projects/[projectId]/ // regions/us-east1/subnetworks/sub0` // * `projects/[projectId]/regions/us-east1/subnetworks/sub0` Subnet *string `pulumi:"subnet"` // The Compute Engine tags to add to runtime (see [Tagging instances] // (https://cloud.google.com/compute/docs/ // label-or-tag-resources#tags)). Tags []string `pulumi:"tags"` // (Output) // The zone where the virtual machine is located. Zone *string `pulumi:"zone"` }
type RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfig ¶
type RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfig struct { // Count of cores of this accelerator. CoreCount *int `pulumi:"coreCount"` // Accelerator model. For valid values, see // `https://cloud.google.com/vertex-ai/docs/workbench/reference/ // rest/v1/projects.locations.runtimes#AcceleratorType` Type *string `pulumi:"type"` }
type RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigArgs ¶
type RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigArgs struct { // Count of cores of this accelerator. CoreCount pulumi.IntPtrInput `pulumi:"coreCount"` // Accelerator model. For valid values, see // `https://cloud.google.com/vertex-ai/docs/workbench/reference/ // rest/v1/projects.locations.runtimes#AcceleratorType` Type pulumi.StringPtrInput `pulumi:"type"` }
func (RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigArgs) ElementType ¶
func (RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigArgs) ElementType() reflect.Type
func (RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigArgs) ToRuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigOutput ¶
func (i RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigArgs) ToRuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigOutput() RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigOutput
func (RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigArgs) ToRuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigOutputWithContext ¶
func (i RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigArgs) ToRuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigOutputWithContext(ctx context.Context) RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigOutput
func (RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigArgs) ToRuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigPtrOutput ¶
func (i RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigArgs) ToRuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigPtrOutput() RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigPtrOutput
func (RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigArgs) ToRuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigPtrOutputWithContext ¶
func (i RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigArgs) ToRuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigPtrOutputWithContext(ctx context.Context) RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigPtrOutput
type RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigInput ¶
type RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigInput interface { pulumi.Input ToRuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigOutput() RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigOutput ToRuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigOutputWithContext(context.Context) RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigOutput }
RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigInput is an input type that accepts RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigArgs and RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigOutput values. You can construct a concrete instance of `RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigInput` via:
RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigArgs{...}
type RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigOutput ¶
type RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigOutput struct{ *pulumi.OutputState }
func (RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigOutput) CoreCount ¶
func (o RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigOutput) CoreCount() pulumi.IntPtrOutput
Count of cores of this accelerator.
func (RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigOutput) ElementType ¶
func (RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigOutput) ElementType() reflect.Type
func (RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigOutput) ToRuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigOutput ¶
func (o RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigOutput) ToRuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigOutput() RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigOutput
func (RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigOutput) ToRuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigOutputWithContext ¶
func (o RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigOutput) ToRuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigOutputWithContext(ctx context.Context) RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigOutput
func (RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigOutput) ToRuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigPtrOutput ¶
func (o RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigOutput) ToRuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigPtrOutput() RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigPtrOutput
func (RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigOutput) ToRuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigPtrOutputWithContext ¶
func (o RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigOutput) ToRuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigPtrOutputWithContext(ctx context.Context) RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigPtrOutput
func (RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigOutput) Type ¶
func (o RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigOutput) Type() pulumi.StringPtrOutput
Accelerator model. For valid values, see `https://cloud.google.com/vertex-ai/docs/workbench/reference/ rest/v1/projects.locations.runtimes#AcceleratorType`
type RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigPtrInput ¶
type RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigPtrInput interface { pulumi.Input ToRuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigPtrOutput() RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigPtrOutput ToRuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigPtrOutputWithContext(context.Context) RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigPtrOutput }
RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigPtrInput is an input type that accepts RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigArgs, RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigPtr and RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigPtrOutput values. You can construct a concrete instance of `RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigPtrInput` via:
RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigArgs{...} or: nil
func RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigPtr ¶
func RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigPtr(v *RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigArgs) RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigPtrInput
type RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigPtrOutput ¶
type RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigPtrOutput struct{ *pulumi.OutputState }
func (RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigPtrOutput) CoreCount ¶
func (o RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigPtrOutput) CoreCount() pulumi.IntPtrOutput
Count of cores of this accelerator.
func (RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigPtrOutput) ElementType ¶
func (RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigPtrOutput) ElementType() reflect.Type
func (RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigPtrOutput) ToRuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigPtrOutput ¶
func (o RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigPtrOutput) ToRuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigPtrOutput() RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigPtrOutput
func (RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigPtrOutput) ToRuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigPtrOutputWithContext ¶
func (o RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigPtrOutput) ToRuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigPtrOutputWithContext(ctx context.Context) RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigPtrOutput
func (RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigPtrOutput) Type ¶
func (o RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigPtrOutput) Type() pulumi.StringPtrOutput
Accelerator model. For valid values, see `https://cloud.google.com/vertex-ai/docs/workbench/reference/ rest/v1/projects.locations.runtimes#AcceleratorType`
type RuntimeVirtualMachineVirtualMachineConfigArgs ¶
type RuntimeVirtualMachineVirtualMachineConfigArgs struct { // The Compute Engine accelerator configuration for this runtime. // Structure is documented below. AcceleratorConfig RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigPtrInput `pulumi:"acceleratorConfig"` // Use a list of container images to start the notebook instance. // Structure is documented below. ContainerImages RuntimeVirtualMachineVirtualMachineConfigContainerImageArrayInput `pulumi:"containerImages"` // Data disk option configuration settings. // Structure is documented below. DataDisk RuntimeVirtualMachineVirtualMachineConfigDataDiskInput `pulumi:"dataDisk"` // Encryption settings for virtual machine data disk. // Structure is documented below. EncryptionConfig RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigPtrInput `pulumi:"encryptionConfig"` // (Output) // The Compute Engine guest attributes. (see [Project and instance // guest attributes](https://cloud.google.com/compute/docs/ // storing-retrieving-metadata#guest_attributes)). GuestAttributes pulumi.StringMapInput `pulumi:"guestAttributes"` // If true, runtime will only have internal IP addresses. By default, // runtimes are not restricted to internal IP addresses, and will // have ephemeral external IP addresses assigned to each vm. This // `internalIpOnly` restriction can only be enabled for subnetwork // enabled networks, and all dependencies must be configured to be // accessible without external IP addresses. InternalIpOnly pulumi.BoolPtrInput `pulumi:"internalIpOnly"` // The labels to associate with this runtime. Label **keys** must // contain 1 to 63 characters, and must conform to [RFC 1035] // (https://www.ietf.org/rfc/rfc1035.txt). Label **values** may be // empty, but, if present, must contain 1 to 63 characters, and must // conform to [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt). No // more than 32 labels can be associated with a cluster. Labels pulumi.StringMapInput `pulumi:"labels"` // The Compute Engine machine type used for runtimes. MachineType pulumi.StringInput `pulumi:"machineType"` // The Compute Engine metadata entries to add to virtual machine. // (see [Project and instance metadata](https://cloud.google.com // /compute/docs/storing-retrieving-metadata#project_and_instance // _metadata)). Metadata pulumi.StringMapInput `pulumi:"metadata"` // The Compute Engine network to be used for machine communications. // Cannot be specified with subnetwork. If neither `network` nor // `subnet` is specified, the "default" network of the project is // used, if it exists. A full URL or partial URI. Examples: // * `https://www.googleapis.com/compute/v1/projects/[projectId]/ // regions/global/default` // * `projects/[projectId]/regions/global/default` // Runtimes are managed resources inside Google Infrastructure. // Runtimes support the following network configurations: // * Google Managed Network (Network & subnet are empty) // * Consumer Project VPC (network & subnet are required). Requires // configuring Private Service Access. // * Shared VPC (network & subnet are required). Requires // configuring Private Service Access. Network pulumi.StringPtrInput `pulumi:"network"` // The type of vNIC to be used on this interface. This may be gVNIC // or VirtioNet. // Possible values are: `UNSPECIFIED_NIC_TYPE`, `VIRTIO_NET`, `GVNIC`. NicType pulumi.StringPtrInput `pulumi:"nicType"` // Reserved IP Range name is used for VPC Peering. The // subnetwork allocation will use the range *name* if it's assigned. ReservedIpRange pulumi.StringPtrInput `pulumi:"reservedIpRange"` // Shielded VM Instance configuration settings. // Structure is documented below. ShieldedInstanceConfig RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigPtrInput `pulumi:"shieldedInstanceConfig"` // The Compute Engine subnetwork to be used for machine // communications. Cannot be specified with network. A full URL or // partial URI are valid. Examples: // * `https://www.googleapis.com/compute/v1/projects/[projectId]/ // regions/us-east1/subnetworks/sub0` // * `projects/[projectId]/regions/us-east1/subnetworks/sub0` Subnet pulumi.StringPtrInput `pulumi:"subnet"` // The Compute Engine tags to add to runtime (see [Tagging instances] // (https://cloud.google.com/compute/docs/ // label-or-tag-resources#tags)). Tags pulumi.StringArrayInput `pulumi:"tags"` // (Output) // The zone where the virtual machine is located. Zone pulumi.StringPtrInput `pulumi:"zone"` }
func (RuntimeVirtualMachineVirtualMachineConfigArgs) ElementType ¶
func (RuntimeVirtualMachineVirtualMachineConfigArgs) ElementType() reflect.Type
func (RuntimeVirtualMachineVirtualMachineConfigArgs) ToRuntimeVirtualMachineVirtualMachineConfigOutput ¶
func (i RuntimeVirtualMachineVirtualMachineConfigArgs) ToRuntimeVirtualMachineVirtualMachineConfigOutput() RuntimeVirtualMachineVirtualMachineConfigOutput
func (RuntimeVirtualMachineVirtualMachineConfigArgs) ToRuntimeVirtualMachineVirtualMachineConfigOutputWithContext ¶
func (i RuntimeVirtualMachineVirtualMachineConfigArgs) ToRuntimeVirtualMachineVirtualMachineConfigOutputWithContext(ctx context.Context) RuntimeVirtualMachineVirtualMachineConfigOutput
func (RuntimeVirtualMachineVirtualMachineConfigArgs) ToRuntimeVirtualMachineVirtualMachineConfigPtrOutput ¶
func (i RuntimeVirtualMachineVirtualMachineConfigArgs) ToRuntimeVirtualMachineVirtualMachineConfigPtrOutput() RuntimeVirtualMachineVirtualMachineConfigPtrOutput
func (RuntimeVirtualMachineVirtualMachineConfigArgs) ToRuntimeVirtualMachineVirtualMachineConfigPtrOutputWithContext ¶
func (i RuntimeVirtualMachineVirtualMachineConfigArgs) ToRuntimeVirtualMachineVirtualMachineConfigPtrOutputWithContext(ctx context.Context) RuntimeVirtualMachineVirtualMachineConfigPtrOutput
type RuntimeVirtualMachineVirtualMachineConfigContainerImage ¶
type RuntimeVirtualMachineVirtualMachineConfigContainerImage struct { // The path to the container image repository. // For example: gcr.io/{project_id}/{imageName} Repository string `pulumi:"repository"` // The tag of the container image. If not specified, this defaults to the latest tag. Tag *string `pulumi:"tag"` }
type RuntimeVirtualMachineVirtualMachineConfigContainerImageArgs ¶
type RuntimeVirtualMachineVirtualMachineConfigContainerImageArgs struct { // The path to the container image repository. // For example: gcr.io/{project_id}/{imageName} Repository pulumi.StringInput `pulumi:"repository"` // The tag of the container image. If not specified, this defaults to the latest tag. Tag pulumi.StringPtrInput `pulumi:"tag"` }
func (RuntimeVirtualMachineVirtualMachineConfigContainerImageArgs) ElementType ¶
func (RuntimeVirtualMachineVirtualMachineConfigContainerImageArgs) ElementType() reflect.Type
func (RuntimeVirtualMachineVirtualMachineConfigContainerImageArgs) ToRuntimeVirtualMachineVirtualMachineConfigContainerImageOutput ¶
func (i RuntimeVirtualMachineVirtualMachineConfigContainerImageArgs) ToRuntimeVirtualMachineVirtualMachineConfigContainerImageOutput() RuntimeVirtualMachineVirtualMachineConfigContainerImageOutput
func (RuntimeVirtualMachineVirtualMachineConfigContainerImageArgs) ToRuntimeVirtualMachineVirtualMachineConfigContainerImageOutputWithContext ¶
func (i RuntimeVirtualMachineVirtualMachineConfigContainerImageArgs) ToRuntimeVirtualMachineVirtualMachineConfigContainerImageOutputWithContext(ctx context.Context) RuntimeVirtualMachineVirtualMachineConfigContainerImageOutput
type RuntimeVirtualMachineVirtualMachineConfigContainerImageArray ¶
type RuntimeVirtualMachineVirtualMachineConfigContainerImageArray []RuntimeVirtualMachineVirtualMachineConfigContainerImageInput
func (RuntimeVirtualMachineVirtualMachineConfigContainerImageArray) ElementType ¶
func (RuntimeVirtualMachineVirtualMachineConfigContainerImageArray) ElementType() reflect.Type
func (RuntimeVirtualMachineVirtualMachineConfigContainerImageArray) ToRuntimeVirtualMachineVirtualMachineConfigContainerImageArrayOutput ¶
func (i RuntimeVirtualMachineVirtualMachineConfigContainerImageArray) ToRuntimeVirtualMachineVirtualMachineConfigContainerImageArrayOutput() RuntimeVirtualMachineVirtualMachineConfigContainerImageArrayOutput
func (RuntimeVirtualMachineVirtualMachineConfigContainerImageArray) ToRuntimeVirtualMachineVirtualMachineConfigContainerImageArrayOutputWithContext ¶
func (i RuntimeVirtualMachineVirtualMachineConfigContainerImageArray) ToRuntimeVirtualMachineVirtualMachineConfigContainerImageArrayOutputWithContext(ctx context.Context) RuntimeVirtualMachineVirtualMachineConfigContainerImageArrayOutput
type RuntimeVirtualMachineVirtualMachineConfigContainerImageArrayInput ¶
type RuntimeVirtualMachineVirtualMachineConfigContainerImageArrayInput interface { pulumi.Input ToRuntimeVirtualMachineVirtualMachineConfigContainerImageArrayOutput() RuntimeVirtualMachineVirtualMachineConfigContainerImageArrayOutput ToRuntimeVirtualMachineVirtualMachineConfigContainerImageArrayOutputWithContext(context.Context) RuntimeVirtualMachineVirtualMachineConfigContainerImageArrayOutput }
RuntimeVirtualMachineVirtualMachineConfigContainerImageArrayInput is an input type that accepts RuntimeVirtualMachineVirtualMachineConfigContainerImageArray and RuntimeVirtualMachineVirtualMachineConfigContainerImageArrayOutput values. You can construct a concrete instance of `RuntimeVirtualMachineVirtualMachineConfigContainerImageArrayInput` via:
RuntimeVirtualMachineVirtualMachineConfigContainerImageArray{ RuntimeVirtualMachineVirtualMachineConfigContainerImageArgs{...} }
type RuntimeVirtualMachineVirtualMachineConfigContainerImageArrayOutput ¶
type RuntimeVirtualMachineVirtualMachineConfigContainerImageArrayOutput struct{ *pulumi.OutputState }
func (RuntimeVirtualMachineVirtualMachineConfigContainerImageArrayOutput) ElementType ¶
func (RuntimeVirtualMachineVirtualMachineConfigContainerImageArrayOutput) ElementType() reflect.Type
func (RuntimeVirtualMachineVirtualMachineConfigContainerImageArrayOutput) ToRuntimeVirtualMachineVirtualMachineConfigContainerImageArrayOutput ¶
func (o RuntimeVirtualMachineVirtualMachineConfigContainerImageArrayOutput) ToRuntimeVirtualMachineVirtualMachineConfigContainerImageArrayOutput() RuntimeVirtualMachineVirtualMachineConfigContainerImageArrayOutput
func (RuntimeVirtualMachineVirtualMachineConfigContainerImageArrayOutput) ToRuntimeVirtualMachineVirtualMachineConfigContainerImageArrayOutputWithContext ¶
func (o RuntimeVirtualMachineVirtualMachineConfigContainerImageArrayOutput) ToRuntimeVirtualMachineVirtualMachineConfigContainerImageArrayOutputWithContext(ctx context.Context) RuntimeVirtualMachineVirtualMachineConfigContainerImageArrayOutput
type RuntimeVirtualMachineVirtualMachineConfigContainerImageInput ¶
type RuntimeVirtualMachineVirtualMachineConfigContainerImageInput interface { pulumi.Input ToRuntimeVirtualMachineVirtualMachineConfigContainerImageOutput() RuntimeVirtualMachineVirtualMachineConfigContainerImageOutput ToRuntimeVirtualMachineVirtualMachineConfigContainerImageOutputWithContext(context.Context) RuntimeVirtualMachineVirtualMachineConfigContainerImageOutput }
RuntimeVirtualMachineVirtualMachineConfigContainerImageInput is an input type that accepts RuntimeVirtualMachineVirtualMachineConfigContainerImageArgs and RuntimeVirtualMachineVirtualMachineConfigContainerImageOutput values. You can construct a concrete instance of `RuntimeVirtualMachineVirtualMachineConfigContainerImageInput` via:
RuntimeVirtualMachineVirtualMachineConfigContainerImageArgs{...}
type RuntimeVirtualMachineVirtualMachineConfigContainerImageOutput ¶
type RuntimeVirtualMachineVirtualMachineConfigContainerImageOutput struct{ *pulumi.OutputState }
func (RuntimeVirtualMachineVirtualMachineConfigContainerImageOutput) ElementType ¶
func (RuntimeVirtualMachineVirtualMachineConfigContainerImageOutput) ElementType() reflect.Type
func (RuntimeVirtualMachineVirtualMachineConfigContainerImageOutput) Repository ¶
func (o RuntimeVirtualMachineVirtualMachineConfigContainerImageOutput) Repository() pulumi.StringOutput
The path to the container image repository. For example: gcr.io/{project_id}/{imageName}
func (RuntimeVirtualMachineVirtualMachineConfigContainerImageOutput) Tag ¶
The tag of the container image. If not specified, this defaults to the latest tag.
func (RuntimeVirtualMachineVirtualMachineConfigContainerImageOutput) ToRuntimeVirtualMachineVirtualMachineConfigContainerImageOutput ¶
func (o RuntimeVirtualMachineVirtualMachineConfigContainerImageOutput) ToRuntimeVirtualMachineVirtualMachineConfigContainerImageOutput() RuntimeVirtualMachineVirtualMachineConfigContainerImageOutput
func (RuntimeVirtualMachineVirtualMachineConfigContainerImageOutput) ToRuntimeVirtualMachineVirtualMachineConfigContainerImageOutputWithContext ¶
func (o RuntimeVirtualMachineVirtualMachineConfigContainerImageOutput) ToRuntimeVirtualMachineVirtualMachineConfigContainerImageOutputWithContext(ctx context.Context) RuntimeVirtualMachineVirtualMachineConfigContainerImageOutput
type RuntimeVirtualMachineVirtualMachineConfigDataDisk ¶
type RuntimeVirtualMachineVirtualMachineConfigDataDisk struct { // (Output) // Optional. Specifies whether the disk will be auto-deleted // when the instance is deleted (but not when the disk is // detached from the instance). AutoDelete *bool `pulumi:"autoDelete"` // (Output) // Optional. Indicates that this is a boot disk. The virtual // machine will use the first partition of the disk for its // root filesystem. Boot *bool `pulumi:"boot"` // (Output) // Optional. Specifies a unique device name of your choice // that is reflected into the /dev/disk/by-id/google-* tree // of a Linux operating system running within the instance. // This name can be used to reference the device for mounting, // resizing, and so on, from within the instance. // If not specified, the server chooses a default device name // to apply to this disk, in the form persistent-disk-x, where // x is a number assigned by Google Compute Engine. This field // is only applicable for persistent disks. DeviceName *string `pulumi:"deviceName"` // (Output) // Indicates a list of features to enable on the guest operating // system. Applicable only for bootable images. To see a list of // available features, read `https://cloud.google.com/compute/docs/ // images/create-delete-deprecate-private-images#guest-os-features` // options. “ GuestOsFeatures []string `pulumi:"guestOsFeatures"` // (Output) // Output only. A zero-based index to this disk, where 0 is // reserved for the boot disk. If you have many disks attached // to an instance, each disk would have a unique index number. Index *int `pulumi:"index"` // Input only. Specifies the parameters for a new disk that will // be created alongside the new instance. Use initialization // parameters to create boot disks or local SSDs attached to the // new instance. This property is mutually exclusive with the // source property; you can only define one or the other, but not // both. // Structure is documented below. InitializeParams *RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParams `pulumi:"initializeParams"` // "Specifies the disk interface to use for attaching this disk, // which is either SCSI or NVME. The default is SCSI. Persistent // disks must always use SCSI and the request will fail if you attempt // to attach a persistent disk in any other format than SCSI. Local SSDs // can use either NVME or SCSI. For performance characteristics of SCSI // over NVMe, see Local SSD performance. Valid values: * NVME * SCSI". Interface *string `pulumi:"interface"` // (Output) // Type of the resource. Always compute#attachedDisk for attached // disks. Kind *string `pulumi:"kind"` // (Output) // Output only. Any valid publicly visible licenses. Licenses []string `pulumi:"licenses"` // The mode in which to attach this disk, either READ_WRITE // or READ_ONLY. If not specified, the default is to attach // the disk in READ_WRITE mode. Mode *string `pulumi:"mode"` // Specifies a valid partial or full URL to an existing // Persistent Disk resource. Source *string `pulumi:"source"` // Specifies the type of the disk, either SCRATCH or PERSISTENT. // If not specified, the default is PERSISTENT. Type *string `pulumi:"type"` }
type RuntimeVirtualMachineVirtualMachineConfigDataDiskArgs ¶
type RuntimeVirtualMachineVirtualMachineConfigDataDiskArgs struct { // (Output) // Optional. Specifies whether the disk will be auto-deleted // when the instance is deleted (but not when the disk is // detached from the instance). AutoDelete pulumi.BoolPtrInput `pulumi:"autoDelete"` // (Output) // Optional. Indicates that this is a boot disk. The virtual // machine will use the first partition of the disk for its // root filesystem. Boot pulumi.BoolPtrInput `pulumi:"boot"` // (Output) // Optional. Specifies a unique device name of your choice // that is reflected into the /dev/disk/by-id/google-* tree // of a Linux operating system running within the instance. // This name can be used to reference the device for mounting, // resizing, and so on, from within the instance. // If not specified, the server chooses a default device name // to apply to this disk, in the form persistent-disk-x, where // x is a number assigned by Google Compute Engine. This field // is only applicable for persistent disks. DeviceName pulumi.StringPtrInput `pulumi:"deviceName"` // (Output) // Indicates a list of features to enable on the guest operating // system. Applicable only for bootable images. To see a list of // available features, read `https://cloud.google.com/compute/docs/ // images/create-delete-deprecate-private-images#guest-os-features` // options. “ GuestOsFeatures pulumi.StringArrayInput `pulumi:"guestOsFeatures"` // (Output) // Output only. A zero-based index to this disk, where 0 is // reserved for the boot disk. If you have many disks attached // to an instance, each disk would have a unique index number. Index pulumi.IntPtrInput `pulumi:"index"` // Input only. Specifies the parameters for a new disk that will // be created alongside the new instance. Use initialization // parameters to create boot disks or local SSDs attached to the // new instance. This property is mutually exclusive with the // source property; you can only define one or the other, but not // both. // Structure is documented below. InitializeParams RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsPtrInput `pulumi:"initializeParams"` // "Specifies the disk interface to use for attaching this disk, // which is either SCSI or NVME. The default is SCSI. Persistent // disks must always use SCSI and the request will fail if you attempt // to attach a persistent disk in any other format than SCSI. Local SSDs // can use either NVME or SCSI. For performance characteristics of SCSI // over NVMe, see Local SSD performance. Valid values: * NVME * SCSI". Interface pulumi.StringPtrInput `pulumi:"interface"` // (Output) // Type of the resource. Always compute#attachedDisk for attached // disks. Kind pulumi.StringPtrInput `pulumi:"kind"` // (Output) // Output only. Any valid publicly visible licenses. Licenses pulumi.StringArrayInput `pulumi:"licenses"` // The mode in which to attach this disk, either READ_WRITE // or READ_ONLY. If not specified, the default is to attach // the disk in READ_WRITE mode. Mode pulumi.StringPtrInput `pulumi:"mode"` // Specifies a valid partial or full URL to an existing // Persistent Disk resource. Source pulumi.StringPtrInput `pulumi:"source"` // Specifies the type of the disk, either SCRATCH or PERSISTENT. // If not specified, the default is PERSISTENT. Type pulumi.StringPtrInput `pulumi:"type"` }
func (RuntimeVirtualMachineVirtualMachineConfigDataDiskArgs) ElementType ¶
func (RuntimeVirtualMachineVirtualMachineConfigDataDiskArgs) ElementType() reflect.Type
func (RuntimeVirtualMachineVirtualMachineConfigDataDiskArgs) ToRuntimeVirtualMachineVirtualMachineConfigDataDiskOutput ¶
func (i RuntimeVirtualMachineVirtualMachineConfigDataDiskArgs) ToRuntimeVirtualMachineVirtualMachineConfigDataDiskOutput() RuntimeVirtualMachineVirtualMachineConfigDataDiskOutput
func (RuntimeVirtualMachineVirtualMachineConfigDataDiskArgs) ToRuntimeVirtualMachineVirtualMachineConfigDataDiskOutputWithContext ¶
func (i RuntimeVirtualMachineVirtualMachineConfigDataDiskArgs) ToRuntimeVirtualMachineVirtualMachineConfigDataDiskOutputWithContext(ctx context.Context) RuntimeVirtualMachineVirtualMachineConfigDataDiskOutput
func (RuntimeVirtualMachineVirtualMachineConfigDataDiskArgs) ToRuntimeVirtualMachineVirtualMachineConfigDataDiskPtrOutput ¶
func (i RuntimeVirtualMachineVirtualMachineConfigDataDiskArgs) ToRuntimeVirtualMachineVirtualMachineConfigDataDiskPtrOutput() RuntimeVirtualMachineVirtualMachineConfigDataDiskPtrOutput
func (RuntimeVirtualMachineVirtualMachineConfigDataDiskArgs) ToRuntimeVirtualMachineVirtualMachineConfigDataDiskPtrOutputWithContext ¶
func (i RuntimeVirtualMachineVirtualMachineConfigDataDiskArgs) ToRuntimeVirtualMachineVirtualMachineConfigDataDiskPtrOutputWithContext(ctx context.Context) RuntimeVirtualMachineVirtualMachineConfigDataDiskPtrOutput
type RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParams ¶
type RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParams struct { // Provide this property when creating the disk. Description *string `pulumi:"description"` // Specifies the disk name. If not specified, the default is // to use the name of the instance. If the disk with the // instance name exists already in the given zone/region, a // new name will be automatically generated. DiskName *string `pulumi:"diskName"` // Specifies the size of the disk in base-2 GB. If not // specified, the disk will be the same size as the image // (usually 10GB). If specified, the size must be equal to // or larger than 10GB. Default 100 GB. DiskSizeGb *int `pulumi:"diskSizeGb"` // The type of the boot disk attached to this runtime, // defaults to standard persistent disk. For valid values, // see `https://cloud.google.com/vertex-ai/docs/workbench/ // reference/rest/v1/projects.locations.runtimes#disktype` DiskType *string `pulumi:"diskType"` // Labels to apply to this disk. These can be later modified // by the disks.setLabels method. This field is only // applicable for persistent disks. Labels map[string]string `pulumi:"labels"` }
type RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsArgs ¶
type RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsArgs struct { // Provide this property when creating the disk. Description pulumi.StringPtrInput `pulumi:"description"` // Specifies the disk name. If not specified, the default is // to use the name of the instance. If the disk with the // instance name exists already in the given zone/region, a // new name will be automatically generated. DiskName pulumi.StringPtrInput `pulumi:"diskName"` // Specifies the size of the disk in base-2 GB. If not // specified, the disk will be the same size as the image // (usually 10GB). If specified, the size must be equal to // or larger than 10GB. Default 100 GB. DiskSizeGb pulumi.IntPtrInput `pulumi:"diskSizeGb"` // The type of the boot disk attached to this runtime, // defaults to standard persistent disk. For valid values, // see `https://cloud.google.com/vertex-ai/docs/workbench/ // reference/rest/v1/projects.locations.runtimes#disktype` DiskType pulumi.StringPtrInput `pulumi:"diskType"` // Labels to apply to this disk. These can be later modified // by the disks.setLabels method. This field is only // applicable for persistent disks. Labels pulumi.StringMapInput `pulumi:"labels"` }
func (RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsArgs) ElementType ¶
func (RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsArgs) ElementType() reflect.Type
func (RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsArgs) ToRuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsOutput ¶
func (i RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsArgs) ToRuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsOutput() RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsOutput
func (RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsArgs) ToRuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsOutputWithContext ¶
func (i RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsArgs) ToRuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsOutputWithContext(ctx context.Context) RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsOutput
func (RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsArgs) ToRuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsPtrOutput ¶
func (i RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsArgs) ToRuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsPtrOutput() RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsPtrOutput
func (RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsArgs) ToRuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsPtrOutputWithContext ¶
func (i RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsArgs) ToRuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsPtrOutputWithContext(ctx context.Context) RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsPtrOutput
type RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsInput ¶
type RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsInput interface { pulumi.Input ToRuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsOutput() RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsOutput ToRuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsOutputWithContext(context.Context) RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsOutput }
RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsInput is an input type that accepts RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsArgs and RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsOutput values. You can construct a concrete instance of `RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsInput` via:
RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsArgs{...}
type RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsOutput ¶
type RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsOutput struct{ *pulumi.OutputState }
func (RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsOutput) Description ¶
func (o RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsOutput) Description() pulumi.StringPtrOutput
Provide this property when creating the disk.
func (RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsOutput) DiskName ¶
func (o RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsOutput) DiskName() pulumi.StringPtrOutput
Specifies the disk name. If not specified, the default is to use the name of the instance. If the disk with the instance name exists already in the given zone/region, a new name will be automatically generated.
func (RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsOutput) DiskSizeGb ¶
func (o RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsOutput) DiskSizeGb() pulumi.IntPtrOutput
Specifies the size of the disk in base-2 GB. If not specified, the disk will be the same size as the image (usually 10GB). If specified, the size must be equal to or larger than 10GB. Default 100 GB.
func (RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsOutput) DiskType ¶
func (o RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsOutput) DiskType() pulumi.StringPtrOutput
The type of the boot disk attached to this runtime, defaults to standard persistent disk. For valid values, see `https://cloud.google.com/vertex-ai/docs/workbench/ reference/rest/v1/projects.locations.runtimes#disktype`
func (RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsOutput) ElementType ¶
func (RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsOutput) ElementType() reflect.Type
func (RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsOutput) Labels ¶
func (o RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsOutput) Labels() pulumi.StringMapOutput
Labels to apply to this disk. These can be later modified by the disks.setLabels method. This field is only applicable for persistent disks.
func (RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsOutput) ToRuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsOutput ¶
func (o RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsOutput) ToRuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsOutput() RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsOutput
func (RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsOutput) ToRuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsOutputWithContext ¶
func (o RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsOutput) ToRuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsOutputWithContext(ctx context.Context) RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsOutput
func (RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsOutput) ToRuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsPtrOutput ¶
func (o RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsOutput) ToRuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsPtrOutput() RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsPtrOutput
func (RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsOutput) ToRuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsPtrOutputWithContext ¶
func (o RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsOutput) ToRuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsPtrOutputWithContext(ctx context.Context) RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsPtrOutput
type RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsPtrInput ¶
type RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsPtrInput interface { pulumi.Input ToRuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsPtrOutput() RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsPtrOutput ToRuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsPtrOutputWithContext(context.Context) RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsPtrOutput }
RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsPtrInput is an input type that accepts RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsArgs, RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsPtr and RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsPtrOutput values. You can construct a concrete instance of `RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsPtrInput` via:
RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsArgs{...} or: nil
func RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsPtr ¶
func RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsPtr(v *RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsArgs) RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsPtrInput
type RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsPtrOutput ¶
type RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsPtrOutput struct{ *pulumi.OutputState }
func (RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsPtrOutput) Description ¶
func (o RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsPtrOutput) Description() pulumi.StringPtrOutput
Provide this property when creating the disk.
func (RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsPtrOutput) DiskName ¶
func (o RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsPtrOutput) DiskName() pulumi.StringPtrOutput
Specifies the disk name. If not specified, the default is to use the name of the instance. If the disk with the instance name exists already in the given zone/region, a new name will be automatically generated.
func (RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsPtrOutput) DiskSizeGb ¶
func (o RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsPtrOutput) DiskSizeGb() pulumi.IntPtrOutput
Specifies the size of the disk in base-2 GB. If not specified, the disk will be the same size as the image (usually 10GB). If specified, the size must be equal to or larger than 10GB. Default 100 GB.
func (RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsPtrOutput) DiskType ¶
func (o RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsPtrOutput) DiskType() pulumi.StringPtrOutput
The type of the boot disk attached to this runtime, defaults to standard persistent disk. For valid values, see `https://cloud.google.com/vertex-ai/docs/workbench/ reference/rest/v1/projects.locations.runtimes#disktype`
func (RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsPtrOutput) ElementType ¶
func (RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsPtrOutput) ElementType() reflect.Type
func (RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsPtrOutput) Labels ¶
func (o RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsPtrOutput) Labels() pulumi.StringMapOutput
Labels to apply to this disk. These can be later modified by the disks.setLabels method. This field is only applicable for persistent disks.
func (RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsPtrOutput) ToRuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsPtrOutput ¶
func (o RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsPtrOutput) ToRuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsPtrOutput() RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsPtrOutput
func (RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsPtrOutput) ToRuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsPtrOutputWithContext ¶
func (o RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsPtrOutput) ToRuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsPtrOutputWithContext(ctx context.Context) RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsPtrOutput
type RuntimeVirtualMachineVirtualMachineConfigDataDiskInput ¶
type RuntimeVirtualMachineVirtualMachineConfigDataDiskInput interface { pulumi.Input ToRuntimeVirtualMachineVirtualMachineConfigDataDiskOutput() RuntimeVirtualMachineVirtualMachineConfigDataDiskOutput ToRuntimeVirtualMachineVirtualMachineConfigDataDiskOutputWithContext(context.Context) RuntimeVirtualMachineVirtualMachineConfigDataDiskOutput }
RuntimeVirtualMachineVirtualMachineConfigDataDiskInput is an input type that accepts RuntimeVirtualMachineVirtualMachineConfigDataDiskArgs and RuntimeVirtualMachineVirtualMachineConfigDataDiskOutput values. You can construct a concrete instance of `RuntimeVirtualMachineVirtualMachineConfigDataDiskInput` via:
RuntimeVirtualMachineVirtualMachineConfigDataDiskArgs{...}
type RuntimeVirtualMachineVirtualMachineConfigDataDiskOutput ¶
type RuntimeVirtualMachineVirtualMachineConfigDataDiskOutput struct{ *pulumi.OutputState }
func (RuntimeVirtualMachineVirtualMachineConfigDataDiskOutput) AutoDelete ¶
func (o RuntimeVirtualMachineVirtualMachineConfigDataDiskOutput) AutoDelete() pulumi.BoolPtrOutput
(Output) Optional. Specifies whether the disk will be auto-deleted when the instance is deleted (but not when the disk is detached from the instance).
func (RuntimeVirtualMachineVirtualMachineConfigDataDiskOutput) Boot ¶
(Output) Optional. Indicates that this is a boot disk. The virtual machine will use the first partition of the disk for its root filesystem.
func (RuntimeVirtualMachineVirtualMachineConfigDataDiskOutput) DeviceName ¶
func (o RuntimeVirtualMachineVirtualMachineConfigDataDiskOutput) DeviceName() pulumi.StringPtrOutput
(Output) Optional. Specifies a unique device name of your choice that is reflected into the /dev/disk/by-id/google-* tree of a Linux operating system running within the instance. This name can be used to reference the device for mounting, resizing, and so on, from within the instance. If not specified, the server chooses a default device name to apply to this disk, in the form persistent-disk-x, where x is a number assigned by Google Compute Engine. This field is only applicable for persistent disks.
func (RuntimeVirtualMachineVirtualMachineConfigDataDiskOutput) ElementType ¶
func (RuntimeVirtualMachineVirtualMachineConfigDataDiskOutput) ElementType() reflect.Type
func (RuntimeVirtualMachineVirtualMachineConfigDataDiskOutput) GuestOsFeatures ¶
func (o RuntimeVirtualMachineVirtualMachineConfigDataDiskOutput) GuestOsFeatures() pulumi.StringArrayOutput
(Output) Indicates a list of features to enable on the guest operating system. Applicable only for bootable images. To see a list of available features, read `https://cloud.google.com/compute/docs/ images/create-delete-deprecate-private-images#guest-os-features` options. “
func (RuntimeVirtualMachineVirtualMachineConfigDataDiskOutput) Index ¶
func (o RuntimeVirtualMachineVirtualMachineConfigDataDiskOutput) Index() pulumi.IntPtrOutput
(Output) Output only. A zero-based index to this disk, where 0 is reserved for the boot disk. If you have many disks attached to an instance, each disk would have a unique index number.
func (RuntimeVirtualMachineVirtualMachineConfigDataDiskOutput) InitializeParams ¶
func (o RuntimeVirtualMachineVirtualMachineConfigDataDiskOutput) InitializeParams() RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsPtrOutput
Input only. Specifies the parameters for a new disk that will be created alongside the new instance. Use initialization parameters to create boot disks or local SSDs attached to the new instance. This property is mutually exclusive with the source property; you can only define one or the other, but not both. Structure is documented below.
func (RuntimeVirtualMachineVirtualMachineConfigDataDiskOutput) Interface ¶
func (o RuntimeVirtualMachineVirtualMachineConfigDataDiskOutput) Interface() pulumi.StringPtrOutput
"Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. The default is SCSI. Persistent disks must always use SCSI and the request will fail if you attempt to attach a persistent disk in any other format than SCSI. Local SSDs can use either NVME or SCSI. For performance characteristics of SCSI over NVMe, see Local SSD performance. Valid values: * NVME * SCSI".
func (RuntimeVirtualMachineVirtualMachineConfigDataDiskOutput) Kind ¶
(Output) Type of the resource. Always compute#attachedDisk for attached disks.
func (RuntimeVirtualMachineVirtualMachineConfigDataDiskOutput) Licenses ¶
func (o RuntimeVirtualMachineVirtualMachineConfigDataDiskOutput) Licenses() pulumi.StringArrayOutput
(Output) Output only. Any valid publicly visible licenses.
func (RuntimeVirtualMachineVirtualMachineConfigDataDiskOutput) Mode ¶
The mode in which to attach this disk, either READ_WRITE or READ_ONLY. If not specified, the default is to attach the disk in READ_WRITE mode.
func (RuntimeVirtualMachineVirtualMachineConfigDataDiskOutput) Source ¶
func (o RuntimeVirtualMachineVirtualMachineConfigDataDiskOutput) Source() pulumi.StringPtrOutput
Specifies a valid partial or full URL to an existing Persistent Disk resource.
func (RuntimeVirtualMachineVirtualMachineConfigDataDiskOutput) ToRuntimeVirtualMachineVirtualMachineConfigDataDiskOutput ¶
func (o RuntimeVirtualMachineVirtualMachineConfigDataDiskOutput) ToRuntimeVirtualMachineVirtualMachineConfigDataDiskOutput() RuntimeVirtualMachineVirtualMachineConfigDataDiskOutput
func (RuntimeVirtualMachineVirtualMachineConfigDataDiskOutput) ToRuntimeVirtualMachineVirtualMachineConfigDataDiskOutputWithContext ¶
func (o RuntimeVirtualMachineVirtualMachineConfigDataDiskOutput) ToRuntimeVirtualMachineVirtualMachineConfigDataDiskOutputWithContext(ctx context.Context) RuntimeVirtualMachineVirtualMachineConfigDataDiskOutput
func (RuntimeVirtualMachineVirtualMachineConfigDataDiskOutput) ToRuntimeVirtualMachineVirtualMachineConfigDataDiskPtrOutput ¶
func (o RuntimeVirtualMachineVirtualMachineConfigDataDiskOutput) ToRuntimeVirtualMachineVirtualMachineConfigDataDiskPtrOutput() RuntimeVirtualMachineVirtualMachineConfigDataDiskPtrOutput
func (RuntimeVirtualMachineVirtualMachineConfigDataDiskOutput) ToRuntimeVirtualMachineVirtualMachineConfigDataDiskPtrOutputWithContext ¶
func (o RuntimeVirtualMachineVirtualMachineConfigDataDiskOutput) ToRuntimeVirtualMachineVirtualMachineConfigDataDiskPtrOutputWithContext(ctx context.Context) RuntimeVirtualMachineVirtualMachineConfigDataDiskPtrOutput
type RuntimeVirtualMachineVirtualMachineConfigDataDiskPtrInput ¶
type RuntimeVirtualMachineVirtualMachineConfigDataDiskPtrInput interface { pulumi.Input ToRuntimeVirtualMachineVirtualMachineConfigDataDiskPtrOutput() RuntimeVirtualMachineVirtualMachineConfigDataDiskPtrOutput ToRuntimeVirtualMachineVirtualMachineConfigDataDiskPtrOutputWithContext(context.Context) RuntimeVirtualMachineVirtualMachineConfigDataDiskPtrOutput }
RuntimeVirtualMachineVirtualMachineConfigDataDiskPtrInput is an input type that accepts RuntimeVirtualMachineVirtualMachineConfigDataDiskArgs, RuntimeVirtualMachineVirtualMachineConfigDataDiskPtr and RuntimeVirtualMachineVirtualMachineConfigDataDiskPtrOutput values. You can construct a concrete instance of `RuntimeVirtualMachineVirtualMachineConfigDataDiskPtrInput` via:
RuntimeVirtualMachineVirtualMachineConfigDataDiskArgs{...} or: nil
func RuntimeVirtualMachineVirtualMachineConfigDataDiskPtr ¶
func RuntimeVirtualMachineVirtualMachineConfigDataDiskPtr(v *RuntimeVirtualMachineVirtualMachineConfigDataDiskArgs) RuntimeVirtualMachineVirtualMachineConfigDataDiskPtrInput
type RuntimeVirtualMachineVirtualMachineConfigDataDiskPtrOutput ¶
type RuntimeVirtualMachineVirtualMachineConfigDataDiskPtrOutput struct{ *pulumi.OutputState }
func (RuntimeVirtualMachineVirtualMachineConfigDataDiskPtrOutput) AutoDelete ¶
func (o RuntimeVirtualMachineVirtualMachineConfigDataDiskPtrOutput) AutoDelete() pulumi.BoolPtrOutput
(Output) Optional. Specifies whether the disk will be auto-deleted when the instance is deleted (but not when the disk is detached from the instance).
func (RuntimeVirtualMachineVirtualMachineConfigDataDiskPtrOutput) Boot ¶
(Output) Optional. Indicates that this is a boot disk. The virtual machine will use the first partition of the disk for its root filesystem.
func (RuntimeVirtualMachineVirtualMachineConfigDataDiskPtrOutput) DeviceName ¶
func (o RuntimeVirtualMachineVirtualMachineConfigDataDiskPtrOutput) DeviceName() pulumi.StringPtrOutput
(Output) Optional. Specifies a unique device name of your choice that is reflected into the /dev/disk/by-id/google-* tree of a Linux operating system running within the instance. This name can be used to reference the device for mounting, resizing, and so on, from within the instance. If not specified, the server chooses a default device name to apply to this disk, in the form persistent-disk-x, where x is a number assigned by Google Compute Engine. This field is only applicable for persistent disks.
func (RuntimeVirtualMachineVirtualMachineConfigDataDiskPtrOutput) ElementType ¶
func (RuntimeVirtualMachineVirtualMachineConfigDataDiskPtrOutput) ElementType() reflect.Type
func (RuntimeVirtualMachineVirtualMachineConfigDataDiskPtrOutput) GuestOsFeatures ¶
func (o RuntimeVirtualMachineVirtualMachineConfigDataDiskPtrOutput) GuestOsFeatures() pulumi.StringArrayOutput
(Output) Indicates a list of features to enable on the guest operating system. Applicable only for bootable images. To see a list of available features, read `https://cloud.google.com/compute/docs/ images/create-delete-deprecate-private-images#guest-os-features` options. “
func (RuntimeVirtualMachineVirtualMachineConfigDataDiskPtrOutput) Index ¶
func (o RuntimeVirtualMachineVirtualMachineConfigDataDiskPtrOutput) Index() pulumi.IntPtrOutput
(Output) Output only. A zero-based index to this disk, where 0 is reserved for the boot disk. If you have many disks attached to an instance, each disk would have a unique index number.
func (RuntimeVirtualMachineVirtualMachineConfigDataDiskPtrOutput) InitializeParams ¶
func (o RuntimeVirtualMachineVirtualMachineConfigDataDiskPtrOutput) InitializeParams() RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsPtrOutput
Input only. Specifies the parameters for a new disk that will be created alongside the new instance. Use initialization parameters to create boot disks or local SSDs attached to the new instance. This property is mutually exclusive with the source property; you can only define one or the other, but not both. Structure is documented below.
func (RuntimeVirtualMachineVirtualMachineConfigDataDiskPtrOutput) Interface ¶
func (o RuntimeVirtualMachineVirtualMachineConfigDataDiskPtrOutput) Interface() pulumi.StringPtrOutput
"Specifies the disk interface to use for attaching this disk, which is either SCSI or NVME. The default is SCSI. Persistent disks must always use SCSI and the request will fail if you attempt to attach a persistent disk in any other format than SCSI. Local SSDs can use either NVME or SCSI. For performance characteristics of SCSI over NVMe, see Local SSD performance. Valid values: * NVME * SCSI".
func (RuntimeVirtualMachineVirtualMachineConfigDataDiskPtrOutput) Kind ¶
(Output) Type of the resource. Always compute#attachedDisk for attached disks.
func (RuntimeVirtualMachineVirtualMachineConfigDataDiskPtrOutput) Licenses ¶
func (o RuntimeVirtualMachineVirtualMachineConfigDataDiskPtrOutput) Licenses() pulumi.StringArrayOutput
(Output) Output only. Any valid publicly visible licenses.
func (RuntimeVirtualMachineVirtualMachineConfigDataDiskPtrOutput) Mode ¶
The mode in which to attach this disk, either READ_WRITE or READ_ONLY. If not specified, the default is to attach the disk in READ_WRITE mode.
func (RuntimeVirtualMachineVirtualMachineConfigDataDiskPtrOutput) Source ¶
func (o RuntimeVirtualMachineVirtualMachineConfigDataDiskPtrOutput) Source() pulumi.StringPtrOutput
Specifies a valid partial or full URL to an existing Persistent Disk resource.
func (RuntimeVirtualMachineVirtualMachineConfigDataDiskPtrOutput) ToRuntimeVirtualMachineVirtualMachineConfigDataDiskPtrOutput ¶
func (o RuntimeVirtualMachineVirtualMachineConfigDataDiskPtrOutput) ToRuntimeVirtualMachineVirtualMachineConfigDataDiskPtrOutput() RuntimeVirtualMachineVirtualMachineConfigDataDiskPtrOutput
func (RuntimeVirtualMachineVirtualMachineConfigDataDiskPtrOutput) ToRuntimeVirtualMachineVirtualMachineConfigDataDiskPtrOutputWithContext ¶
func (o RuntimeVirtualMachineVirtualMachineConfigDataDiskPtrOutput) ToRuntimeVirtualMachineVirtualMachineConfigDataDiskPtrOutputWithContext(ctx context.Context) RuntimeVirtualMachineVirtualMachineConfigDataDiskPtrOutput
type RuntimeVirtualMachineVirtualMachineConfigEncryptionConfig ¶
type RuntimeVirtualMachineVirtualMachineConfigEncryptionConfig struct { // The Cloud KMS resource identifier of the customer-managed // encryption key used to protect a resource, such as a disks. // It has the following format: // `projects/{PROJECT_ID}/locations/{REGION}/keyRings/ // {KEY_RING_NAME}/cryptoKeys/{KEY_NAME}` KmsKey *string `pulumi:"kmsKey"` }
type RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigArgs ¶
type RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigArgs struct { // The Cloud KMS resource identifier of the customer-managed // encryption key used to protect a resource, such as a disks. // It has the following format: // `projects/{PROJECT_ID}/locations/{REGION}/keyRings/ // {KEY_RING_NAME}/cryptoKeys/{KEY_NAME}` KmsKey pulumi.StringPtrInput `pulumi:"kmsKey"` }
func (RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigArgs) ElementType ¶
func (RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigArgs) ElementType() reflect.Type
func (RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigArgs) ToRuntimeVirtualMachineVirtualMachineConfigEncryptionConfigOutput ¶
func (i RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigArgs) ToRuntimeVirtualMachineVirtualMachineConfigEncryptionConfigOutput() RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigOutput
func (RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigArgs) ToRuntimeVirtualMachineVirtualMachineConfigEncryptionConfigOutputWithContext ¶
func (i RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigArgs) ToRuntimeVirtualMachineVirtualMachineConfigEncryptionConfigOutputWithContext(ctx context.Context) RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigOutput
func (RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigArgs) ToRuntimeVirtualMachineVirtualMachineConfigEncryptionConfigPtrOutput ¶
func (i RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigArgs) ToRuntimeVirtualMachineVirtualMachineConfigEncryptionConfigPtrOutput() RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigPtrOutput
func (RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigArgs) ToRuntimeVirtualMachineVirtualMachineConfigEncryptionConfigPtrOutputWithContext ¶
func (i RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigArgs) ToRuntimeVirtualMachineVirtualMachineConfigEncryptionConfigPtrOutputWithContext(ctx context.Context) RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigPtrOutput
type RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigInput ¶
type RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigInput interface { pulumi.Input ToRuntimeVirtualMachineVirtualMachineConfigEncryptionConfigOutput() RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigOutput ToRuntimeVirtualMachineVirtualMachineConfigEncryptionConfigOutputWithContext(context.Context) RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigOutput }
RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigInput is an input type that accepts RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigArgs and RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigOutput values. You can construct a concrete instance of `RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigInput` via:
RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigArgs{...}
type RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigOutput ¶
type RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigOutput struct{ *pulumi.OutputState }
func (RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigOutput) ElementType ¶
func (RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigOutput) ElementType() reflect.Type
func (RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigOutput) KmsKey ¶
func (o RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigOutput) KmsKey() pulumi.StringPtrOutput
The Cloud KMS resource identifier of the customer-managed encryption key used to protect a resource, such as a disks. It has the following format: `projects/{PROJECT_ID}/locations/{REGION}/keyRings/ {KEY_RING_NAME}/cryptoKeys/{KEY_NAME}`
func (RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigOutput) ToRuntimeVirtualMachineVirtualMachineConfigEncryptionConfigOutput ¶
func (o RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigOutput) ToRuntimeVirtualMachineVirtualMachineConfigEncryptionConfigOutput() RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigOutput
func (RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigOutput) ToRuntimeVirtualMachineVirtualMachineConfigEncryptionConfigOutputWithContext ¶
func (o RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigOutput) ToRuntimeVirtualMachineVirtualMachineConfigEncryptionConfigOutputWithContext(ctx context.Context) RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigOutput
func (RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigOutput) ToRuntimeVirtualMachineVirtualMachineConfigEncryptionConfigPtrOutput ¶
func (o RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigOutput) ToRuntimeVirtualMachineVirtualMachineConfigEncryptionConfigPtrOutput() RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigPtrOutput
func (RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigOutput) ToRuntimeVirtualMachineVirtualMachineConfigEncryptionConfigPtrOutputWithContext ¶
func (o RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigOutput) ToRuntimeVirtualMachineVirtualMachineConfigEncryptionConfigPtrOutputWithContext(ctx context.Context) RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigPtrOutput
type RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigPtrInput ¶
type RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigPtrInput interface { pulumi.Input ToRuntimeVirtualMachineVirtualMachineConfigEncryptionConfigPtrOutput() RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigPtrOutput ToRuntimeVirtualMachineVirtualMachineConfigEncryptionConfigPtrOutputWithContext(context.Context) RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigPtrOutput }
RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigPtrInput is an input type that accepts RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigArgs, RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigPtr and RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigPtrOutput values. You can construct a concrete instance of `RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigPtrInput` via:
RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigArgs{...} or: nil
func RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigPtr ¶
func RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigPtr(v *RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigArgs) RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigPtrInput
type RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigPtrOutput ¶
type RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigPtrOutput struct{ *pulumi.OutputState }
func (RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigPtrOutput) ElementType ¶
func (RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigPtrOutput) ElementType() reflect.Type
func (RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigPtrOutput) KmsKey ¶
func (o RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigPtrOutput) KmsKey() pulumi.StringPtrOutput
The Cloud KMS resource identifier of the customer-managed encryption key used to protect a resource, such as a disks. It has the following format: `projects/{PROJECT_ID}/locations/{REGION}/keyRings/ {KEY_RING_NAME}/cryptoKeys/{KEY_NAME}`
func (RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigPtrOutput) ToRuntimeVirtualMachineVirtualMachineConfigEncryptionConfigPtrOutput ¶
func (o RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigPtrOutput) ToRuntimeVirtualMachineVirtualMachineConfigEncryptionConfigPtrOutput() RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigPtrOutput
func (RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigPtrOutput) ToRuntimeVirtualMachineVirtualMachineConfigEncryptionConfigPtrOutputWithContext ¶
func (o RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigPtrOutput) ToRuntimeVirtualMachineVirtualMachineConfigEncryptionConfigPtrOutputWithContext(ctx context.Context) RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigPtrOutput
type RuntimeVirtualMachineVirtualMachineConfigInput ¶
type RuntimeVirtualMachineVirtualMachineConfigInput interface { pulumi.Input ToRuntimeVirtualMachineVirtualMachineConfigOutput() RuntimeVirtualMachineVirtualMachineConfigOutput ToRuntimeVirtualMachineVirtualMachineConfigOutputWithContext(context.Context) RuntimeVirtualMachineVirtualMachineConfigOutput }
RuntimeVirtualMachineVirtualMachineConfigInput is an input type that accepts RuntimeVirtualMachineVirtualMachineConfigArgs and RuntimeVirtualMachineVirtualMachineConfigOutput values. You can construct a concrete instance of `RuntimeVirtualMachineVirtualMachineConfigInput` via:
RuntimeVirtualMachineVirtualMachineConfigArgs{...}
type RuntimeVirtualMachineVirtualMachineConfigOutput ¶
type RuntimeVirtualMachineVirtualMachineConfigOutput struct{ *pulumi.OutputState }
func (RuntimeVirtualMachineVirtualMachineConfigOutput) AcceleratorConfig ¶
func (o RuntimeVirtualMachineVirtualMachineConfigOutput) AcceleratorConfig() RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigPtrOutput
The Compute Engine accelerator configuration for this runtime. Structure is documented below.
func (RuntimeVirtualMachineVirtualMachineConfigOutput) ContainerImages ¶
func (o RuntimeVirtualMachineVirtualMachineConfigOutput) ContainerImages() RuntimeVirtualMachineVirtualMachineConfigContainerImageArrayOutput
Use a list of container images to start the notebook instance. Structure is documented below.
func (RuntimeVirtualMachineVirtualMachineConfigOutput) DataDisk ¶
func (o RuntimeVirtualMachineVirtualMachineConfigOutput) DataDisk() RuntimeVirtualMachineVirtualMachineConfigDataDiskOutput
Data disk option configuration settings. Structure is documented below.
func (RuntimeVirtualMachineVirtualMachineConfigOutput) ElementType ¶
func (RuntimeVirtualMachineVirtualMachineConfigOutput) ElementType() reflect.Type
func (RuntimeVirtualMachineVirtualMachineConfigOutput) EncryptionConfig ¶
func (o RuntimeVirtualMachineVirtualMachineConfigOutput) EncryptionConfig() RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigPtrOutput
Encryption settings for virtual machine data disk. Structure is documented below.
func (RuntimeVirtualMachineVirtualMachineConfigOutput) GuestAttributes ¶
func (o RuntimeVirtualMachineVirtualMachineConfigOutput) GuestAttributes() pulumi.StringMapOutput
(Output) The Compute Engine guest attributes. (see [Project and instance guest attributes](https://cloud.google.com/compute/docs/ storing-retrieving-metadata#guest_attributes)).
func (RuntimeVirtualMachineVirtualMachineConfigOutput) InternalIpOnly ¶
func (o RuntimeVirtualMachineVirtualMachineConfigOutput) InternalIpOnly() pulumi.BoolPtrOutput
If true, runtime will only have internal IP addresses. By default, runtimes are not restricted to internal IP addresses, and will have ephemeral external IP addresses assigned to each vm. This `internalIpOnly` restriction can only be enabled for subnetwork enabled networks, and all dependencies must be configured to be accessible without external IP addresses.
func (RuntimeVirtualMachineVirtualMachineConfigOutput) Labels ¶
func (o RuntimeVirtualMachineVirtualMachineConfigOutput) Labels() pulumi.StringMapOutput
The labels to associate with this runtime. Label **keys** must contain 1 to 63 characters, and must conform to [RFC 1035] (https://www.ietf.org/rfc/rfc1035.txt). Label **values** may be empty, but, if present, must contain 1 to 63 characters, and must conform to [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt). No more than 32 labels can be associated with a cluster.
func (RuntimeVirtualMachineVirtualMachineConfigOutput) MachineType ¶
func (o RuntimeVirtualMachineVirtualMachineConfigOutput) MachineType() pulumi.StringOutput
The Compute Engine machine type used for runtimes.
func (RuntimeVirtualMachineVirtualMachineConfigOutput) Metadata ¶
func (o RuntimeVirtualMachineVirtualMachineConfigOutput) Metadata() pulumi.StringMapOutput
The Compute Engine metadata entries to add to virtual machine. (see [Project and instance metadata](https://cloud.google.com /compute/docs/storing-retrieving-metadata#project_and_instance _metadata)).
func (RuntimeVirtualMachineVirtualMachineConfigOutput) Network ¶
func (o RuntimeVirtualMachineVirtualMachineConfigOutput) Network() pulumi.StringPtrOutput
The Compute Engine network to be used for machine communications. Cannot be specified with subnetwork. If neither `network` nor `subnet` is specified, the "default" network of the project is used, if it exists. A full URL or partial URI. Examples:
- `https://www.googleapis.com/compute/v1/projects/[projectId]/ regions/global/default`
- `projects/[projectId]/regions/global/default` Runtimes are managed resources inside Google Infrastructure. Runtimes support the following network configurations:
- Google Managed Network (Network & subnet are empty)
- Consumer Project VPC (network & subnet are required). Requires configuring Private Service Access.
- Shared VPC (network & subnet are required). Requires configuring Private Service Access.
func (RuntimeVirtualMachineVirtualMachineConfigOutput) NicType ¶
func (o RuntimeVirtualMachineVirtualMachineConfigOutput) NicType() pulumi.StringPtrOutput
The type of vNIC to be used on this interface. This may be gVNIC or VirtioNet. Possible values are: `UNSPECIFIED_NIC_TYPE`, `VIRTIO_NET`, `GVNIC`.
func (RuntimeVirtualMachineVirtualMachineConfigOutput) ReservedIpRange ¶
func (o RuntimeVirtualMachineVirtualMachineConfigOutput) ReservedIpRange() pulumi.StringPtrOutput
Reserved IP Range name is used for VPC Peering. The subnetwork allocation will use the range *name* if it's assigned.
func (RuntimeVirtualMachineVirtualMachineConfigOutput) ShieldedInstanceConfig ¶
func (o RuntimeVirtualMachineVirtualMachineConfigOutput) ShieldedInstanceConfig() RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigPtrOutput
Shielded VM Instance configuration settings. Structure is documented below.
func (RuntimeVirtualMachineVirtualMachineConfigOutput) Subnet ¶
func (o RuntimeVirtualMachineVirtualMachineConfigOutput) Subnet() pulumi.StringPtrOutput
The Compute Engine subnetwork to be used for machine communications. Cannot be specified with network. A full URL or partial URI are valid. Examples:
- `https://www.googleapis.com/compute/v1/projects/[projectId]/ regions/us-east1/subnetworks/sub0`
- `projects/[projectId]/regions/us-east1/subnetworks/sub0`
func (RuntimeVirtualMachineVirtualMachineConfigOutput) Tags ¶
func (o RuntimeVirtualMachineVirtualMachineConfigOutput) Tags() pulumi.StringArrayOutput
The Compute Engine tags to add to runtime (see [Tagging instances] (https://cloud.google.com/compute/docs/ label-or-tag-resources#tags)).
func (RuntimeVirtualMachineVirtualMachineConfigOutput) ToRuntimeVirtualMachineVirtualMachineConfigOutput ¶
func (o RuntimeVirtualMachineVirtualMachineConfigOutput) ToRuntimeVirtualMachineVirtualMachineConfigOutput() RuntimeVirtualMachineVirtualMachineConfigOutput
func (RuntimeVirtualMachineVirtualMachineConfigOutput) ToRuntimeVirtualMachineVirtualMachineConfigOutputWithContext ¶
func (o RuntimeVirtualMachineVirtualMachineConfigOutput) ToRuntimeVirtualMachineVirtualMachineConfigOutputWithContext(ctx context.Context) RuntimeVirtualMachineVirtualMachineConfigOutput
func (RuntimeVirtualMachineVirtualMachineConfigOutput) ToRuntimeVirtualMachineVirtualMachineConfigPtrOutput ¶
func (o RuntimeVirtualMachineVirtualMachineConfigOutput) ToRuntimeVirtualMachineVirtualMachineConfigPtrOutput() RuntimeVirtualMachineVirtualMachineConfigPtrOutput
func (RuntimeVirtualMachineVirtualMachineConfigOutput) ToRuntimeVirtualMachineVirtualMachineConfigPtrOutputWithContext ¶
func (o RuntimeVirtualMachineVirtualMachineConfigOutput) ToRuntimeVirtualMachineVirtualMachineConfigPtrOutputWithContext(ctx context.Context) RuntimeVirtualMachineVirtualMachineConfigPtrOutput
func (RuntimeVirtualMachineVirtualMachineConfigOutput) Zone ¶
func (o RuntimeVirtualMachineVirtualMachineConfigOutput) Zone() pulumi.StringPtrOutput
(Output) The zone where the virtual machine is located.
type RuntimeVirtualMachineVirtualMachineConfigPtrInput ¶
type RuntimeVirtualMachineVirtualMachineConfigPtrInput interface { pulumi.Input ToRuntimeVirtualMachineVirtualMachineConfigPtrOutput() RuntimeVirtualMachineVirtualMachineConfigPtrOutput ToRuntimeVirtualMachineVirtualMachineConfigPtrOutputWithContext(context.Context) RuntimeVirtualMachineVirtualMachineConfigPtrOutput }
RuntimeVirtualMachineVirtualMachineConfigPtrInput is an input type that accepts RuntimeVirtualMachineVirtualMachineConfigArgs, RuntimeVirtualMachineVirtualMachineConfigPtr and RuntimeVirtualMachineVirtualMachineConfigPtrOutput values. You can construct a concrete instance of `RuntimeVirtualMachineVirtualMachineConfigPtrInput` via:
RuntimeVirtualMachineVirtualMachineConfigArgs{...} or: nil
func RuntimeVirtualMachineVirtualMachineConfigPtr ¶
func RuntimeVirtualMachineVirtualMachineConfigPtr(v *RuntimeVirtualMachineVirtualMachineConfigArgs) RuntimeVirtualMachineVirtualMachineConfigPtrInput
type RuntimeVirtualMachineVirtualMachineConfigPtrOutput ¶
type RuntimeVirtualMachineVirtualMachineConfigPtrOutput struct{ *pulumi.OutputState }
func (RuntimeVirtualMachineVirtualMachineConfigPtrOutput) AcceleratorConfig ¶
func (o RuntimeVirtualMachineVirtualMachineConfigPtrOutput) AcceleratorConfig() RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigPtrOutput
The Compute Engine accelerator configuration for this runtime. Structure is documented below.
func (RuntimeVirtualMachineVirtualMachineConfigPtrOutput) ContainerImages ¶
func (o RuntimeVirtualMachineVirtualMachineConfigPtrOutput) ContainerImages() RuntimeVirtualMachineVirtualMachineConfigContainerImageArrayOutput
Use a list of container images to start the notebook instance. Structure is documented below.
func (RuntimeVirtualMachineVirtualMachineConfigPtrOutput) DataDisk ¶
func (o RuntimeVirtualMachineVirtualMachineConfigPtrOutput) DataDisk() RuntimeVirtualMachineVirtualMachineConfigDataDiskPtrOutput
Data disk option configuration settings. Structure is documented below.
func (RuntimeVirtualMachineVirtualMachineConfigPtrOutput) ElementType ¶
func (RuntimeVirtualMachineVirtualMachineConfigPtrOutput) ElementType() reflect.Type
func (RuntimeVirtualMachineVirtualMachineConfigPtrOutput) EncryptionConfig ¶
func (o RuntimeVirtualMachineVirtualMachineConfigPtrOutput) EncryptionConfig() RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigPtrOutput
Encryption settings for virtual machine data disk. Structure is documented below.
func (RuntimeVirtualMachineVirtualMachineConfigPtrOutput) GuestAttributes ¶
func (o RuntimeVirtualMachineVirtualMachineConfigPtrOutput) GuestAttributes() pulumi.StringMapOutput
(Output) The Compute Engine guest attributes. (see [Project and instance guest attributes](https://cloud.google.com/compute/docs/ storing-retrieving-metadata#guest_attributes)).
func (RuntimeVirtualMachineVirtualMachineConfigPtrOutput) InternalIpOnly ¶
func (o RuntimeVirtualMachineVirtualMachineConfigPtrOutput) InternalIpOnly() pulumi.BoolPtrOutput
If true, runtime will only have internal IP addresses. By default, runtimes are not restricted to internal IP addresses, and will have ephemeral external IP addresses assigned to each vm. This `internalIpOnly` restriction can only be enabled for subnetwork enabled networks, and all dependencies must be configured to be accessible without external IP addresses.
func (RuntimeVirtualMachineVirtualMachineConfigPtrOutput) Labels ¶
func (o RuntimeVirtualMachineVirtualMachineConfigPtrOutput) Labels() pulumi.StringMapOutput
The labels to associate with this runtime. Label **keys** must contain 1 to 63 characters, and must conform to [RFC 1035] (https://www.ietf.org/rfc/rfc1035.txt). Label **values** may be empty, but, if present, must contain 1 to 63 characters, and must conform to [RFC 1035](https://www.ietf.org/rfc/rfc1035.txt). No more than 32 labels can be associated with a cluster.
func (RuntimeVirtualMachineVirtualMachineConfigPtrOutput) MachineType ¶
func (o RuntimeVirtualMachineVirtualMachineConfigPtrOutput) MachineType() pulumi.StringPtrOutput
The Compute Engine machine type used for runtimes.
func (RuntimeVirtualMachineVirtualMachineConfigPtrOutput) Metadata ¶
func (o RuntimeVirtualMachineVirtualMachineConfigPtrOutput) Metadata() pulumi.StringMapOutput
The Compute Engine metadata entries to add to virtual machine. (see [Project and instance metadata](https://cloud.google.com /compute/docs/storing-retrieving-metadata#project_and_instance _metadata)).
func (RuntimeVirtualMachineVirtualMachineConfigPtrOutput) Network ¶
func (o RuntimeVirtualMachineVirtualMachineConfigPtrOutput) Network() pulumi.StringPtrOutput
The Compute Engine network to be used for machine communications. Cannot be specified with subnetwork. If neither `network` nor `subnet` is specified, the "default" network of the project is used, if it exists. A full URL or partial URI. Examples:
- `https://www.googleapis.com/compute/v1/projects/[projectId]/ regions/global/default`
- `projects/[projectId]/regions/global/default` Runtimes are managed resources inside Google Infrastructure. Runtimes support the following network configurations:
- Google Managed Network (Network & subnet are empty)
- Consumer Project VPC (network & subnet are required). Requires configuring Private Service Access.
- Shared VPC (network & subnet are required). Requires configuring Private Service Access.
func (RuntimeVirtualMachineVirtualMachineConfigPtrOutput) NicType ¶
func (o RuntimeVirtualMachineVirtualMachineConfigPtrOutput) NicType() pulumi.StringPtrOutput
The type of vNIC to be used on this interface. This may be gVNIC or VirtioNet. Possible values are: `UNSPECIFIED_NIC_TYPE`, `VIRTIO_NET`, `GVNIC`.
func (RuntimeVirtualMachineVirtualMachineConfigPtrOutput) ReservedIpRange ¶
func (o RuntimeVirtualMachineVirtualMachineConfigPtrOutput) ReservedIpRange() pulumi.StringPtrOutput
Reserved IP Range name is used for VPC Peering. The subnetwork allocation will use the range *name* if it's assigned.
func (RuntimeVirtualMachineVirtualMachineConfigPtrOutput) ShieldedInstanceConfig ¶
func (o RuntimeVirtualMachineVirtualMachineConfigPtrOutput) ShieldedInstanceConfig() RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigPtrOutput
Shielded VM Instance configuration settings. Structure is documented below.
func (RuntimeVirtualMachineVirtualMachineConfigPtrOutput) Subnet ¶
func (o RuntimeVirtualMachineVirtualMachineConfigPtrOutput) Subnet() pulumi.StringPtrOutput
The Compute Engine subnetwork to be used for machine communications. Cannot be specified with network. A full URL or partial URI are valid. Examples:
- `https://www.googleapis.com/compute/v1/projects/[projectId]/ regions/us-east1/subnetworks/sub0`
- `projects/[projectId]/regions/us-east1/subnetworks/sub0`
func (RuntimeVirtualMachineVirtualMachineConfigPtrOutput) Tags ¶
The Compute Engine tags to add to runtime (see [Tagging instances] (https://cloud.google.com/compute/docs/ label-or-tag-resources#tags)).
func (RuntimeVirtualMachineVirtualMachineConfigPtrOutput) ToRuntimeVirtualMachineVirtualMachineConfigPtrOutput ¶
func (o RuntimeVirtualMachineVirtualMachineConfigPtrOutput) ToRuntimeVirtualMachineVirtualMachineConfigPtrOutput() RuntimeVirtualMachineVirtualMachineConfigPtrOutput
func (RuntimeVirtualMachineVirtualMachineConfigPtrOutput) ToRuntimeVirtualMachineVirtualMachineConfigPtrOutputWithContext ¶
func (o RuntimeVirtualMachineVirtualMachineConfigPtrOutput) ToRuntimeVirtualMachineVirtualMachineConfigPtrOutputWithContext(ctx context.Context) RuntimeVirtualMachineVirtualMachineConfigPtrOutput
func (RuntimeVirtualMachineVirtualMachineConfigPtrOutput) Zone ¶
func (o RuntimeVirtualMachineVirtualMachineConfigPtrOutput) Zone() pulumi.StringPtrOutput
(Output) The zone where the virtual machine is located.
type RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfig ¶
type RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfig struct { // Defines whether the instance has integrity monitoring enabled. // Enables monitoring and attestation of the boot integrity of // the instance. The attestation is performed against the // integrity policy baseline. This baseline is initially derived // from the implicitly trusted boot image when the instance is // created. Enabled by default. EnableIntegrityMonitoring *bool `pulumi:"enableIntegrityMonitoring"` // Defines whether the instance has Secure Boot enabled.Secure // Boot helps ensure that the system only runs authentic software // by verifying the digital signature of all boot components, and // halting the boot process if signature verification fails. // Disabled by default. EnableSecureBoot *bool `pulumi:"enableSecureBoot"` // Defines whether the instance has the vTPM enabled. Enabled by // default. EnableVtpm *bool `pulumi:"enableVtpm"` }
type RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigArgs ¶
type RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigArgs struct { // Defines whether the instance has integrity monitoring enabled. // Enables monitoring and attestation of the boot integrity of // the instance. The attestation is performed against the // integrity policy baseline. This baseline is initially derived // from the implicitly trusted boot image when the instance is // created. Enabled by default. EnableIntegrityMonitoring pulumi.BoolPtrInput `pulumi:"enableIntegrityMonitoring"` // Defines whether the instance has Secure Boot enabled.Secure // Boot helps ensure that the system only runs authentic software // by verifying the digital signature of all boot components, and // halting the boot process if signature verification fails. // Disabled by default. EnableSecureBoot pulumi.BoolPtrInput `pulumi:"enableSecureBoot"` // Defines whether the instance has the vTPM enabled. Enabled by // default. EnableVtpm pulumi.BoolPtrInput `pulumi:"enableVtpm"` }
func (RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigArgs) ElementType ¶
func (RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigArgs) ElementType() reflect.Type
func (RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigArgs) ToRuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigOutput ¶
func (i RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigArgs) ToRuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigOutput() RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigOutput
func (RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigArgs) ToRuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigOutputWithContext ¶
func (i RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigArgs) ToRuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigOutputWithContext(ctx context.Context) RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigOutput
func (RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigArgs) ToRuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigPtrOutput ¶
func (i RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigArgs) ToRuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigPtrOutput() RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigPtrOutput
func (RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigArgs) ToRuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigPtrOutputWithContext ¶
func (i RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigArgs) ToRuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigPtrOutputWithContext(ctx context.Context) RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigPtrOutput
type RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigInput ¶
type RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigInput interface { pulumi.Input ToRuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigOutput() RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigOutput ToRuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigOutputWithContext(context.Context) RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigOutput }
RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigInput is an input type that accepts RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigArgs and RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigOutput values. You can construct a concrete instance of `RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigInput` via:
RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigArgs{...}
type RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigOutput ¶
type RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigOutput struct{ *pulumi.OutputState }
func (RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigOutput) ElementType ¶
func (RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigOutput) ElementType() reflect.Type
func (RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigOutput) EnableIntegrityMonitoring ¶
func (o RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigOutput) EnableIntegrityMonitoring() pulumi.BoolPtrOutput
Defines whether the instance has integrity monitoring enabled. Enables monitoring and attestation of the boot integrity of the instance. The attestation is performed against the integrity policy baseline. This baseline is initially derived from the implicitly trusted boot image when the instance is created. Enabled by default.
func (RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigOutput) EnableSecureBoot ¶
func (o RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigOutput) EnableSecureBoot() pulumi.BoolPtrOutput
Defines whether the instance has Secure Boot enabled.Secure Boot helps ensure that the system only runs authentic software by verifying the digital signature of all boot components, and halting the boot process if signature verification fails. Disabled by default.
func (RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigOutput) EnableVtpm ¶
func (o RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigOutput) EnableVtpm() pulumi.BoolPtrOutput
Defines whether the instance has the vTPM enabled. Enabled by default.
func (RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigOutput) ToRuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigOutput ¶
func (o RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigOutput) ToRuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigOutput() RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigOutput
func (RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigOutput) ToRuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigOutputWithContext ¶
func (o RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigOutput) ToRuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigOutputWithContext(ctx context.Context) RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigOutput
func (RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigOutput) ToRuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigPtrOutput ¶
func (o RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigOutput) ToRuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigPtrOutput() RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigPtrOutput
func (RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigOutput) ToRuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigPtrOutputWithContext ¶
func (o RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigOutput) ToRuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigPtrOutputWithContext(ctx context.Context) RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigPtrOutput
type RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigPtrInput ¶
type RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigPtrInput interface { pulumi.Input ToRuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigPtrOutput() RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigPtrOutput ToRuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigPtrOutputWithContext(context.Context) RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigPtrOutput }
RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigPtrInput is an input type that accepts RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigArgs, RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigPtr and RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigPtrOutput values. You can construct a concrete instance of `RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigPtrInput` via:
RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigArgs{...} or: nil
func RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigPtr ¶
func RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigPtr(v *RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigArgs) RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigPtrInput
type RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigPtrOutput ¶
type RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigPtrOutput struct{ *pulumi.OutputState }
func (RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigPtrOutput) ElementType ¶
func (RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigPtrOutput) ElementType() reflect.Type
func (RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigPtrOutput) EnableIntegrityMonitoring ¶
func (o RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigPtrOutput) EnableIntegrityMonitoring() pulumi.BoolPtrOutput
Defines whether the instance has integrity monitoring enabled. Enables monitoring and attestation of the boot integrity of the instance. The attestation is performed against the integrity policy baseline. This baseline is initially derived from the implicitly trusted boot image when the instance is created. Enabled by default.
func (RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigPtrOutput) EnableSecureBoot ¶
func (o RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigPtrOutput) EnableSecureBoot() pulumi.BoolPtrOutput
Defines whether the instance has Secure Boot enabled.Secure Boot helps ensure that the system only runs authentic software by verifying the digital signature of all boot components, and halting the boot process if signature verification fails. Disabled by default.
func (RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigPtrOutput) EnableVtpm ¶
func (o RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigPtrOutput) EnableVtpm() pulumi.BoolPtrOutput
Defines whether the instance has the vTPM enabled. Enabled by default.
func (RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigPtrOutput) ToRuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigPtrOutput ¶
func (o RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigPtrOutput) ToRuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigPtrOutput() RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigPtrOutput
func (RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigPtrOutput) ToRuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigPtrOutputWithContext ¶
func (o RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigPtrOutput) ToRuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigPtrOutputWithContext(ctx context.Context) RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigPtrOutput