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
- 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
- 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
- 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
- type InstanceIamPolicyState
- type InstanceInput
- type InstanceMap
- type InstanceMapInput
- type InstanceMapOutput
- type InstanceOutput
- 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
- type LocationState
- 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
- 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
- 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
- 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
- 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 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) NotebookUpgradeSchedule() pulumi.StringPtrOutput
- func (o RuntimeSoftwareConfigOutput) PostStartupScript() 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
- 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) NotebookUpgradeSchedule() pulumi.StringPtrOutput
- func (o RuntimeSoftwareConfigPtrOutput) PostStartupScript() pulumi.StringPtrOutput
- func (o RuntimeSoftwareConfigPtrOutput) ToRuntimeSoftwareConfigPtrOutput() RuntimeSoftwareConfigPtrOutput
- func (o RuntimeSoftwareConfigPtrOutput) ToRuntimeSoftwareConfigPtrOutputWithContext(ctx context.Context) RuntimeSoftwareConfigPtrOutput
- 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) 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) 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 name of the Google Cloud project that this VM image belongs to. // Format: projects/{project_id} 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/v6/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{ ContainerImage: ¬ebooks.EnvironmentContainerImageArgs{ Repository: pulumi.String("gcr.io/deeplearning-platform-release/base-cpu"), }, Location: pulumi.String("us-west1-a"), }) if err != nil { return err } return nil }) }
```
## Import
Environment can be imported using any of these accepted formats ¶
```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 name of the Google Cloud project that this VM image belongs to. // Format: projects/{project_id} 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) ElementType ¶
func (EnvironmentOutput) ElementType() reflect.Type
func (EnvironmentOutput) ToEnvironmentOutput ¶
func (o EnvironmentOutput) ToEnvironmentOutput() EnvironmentOutput
func (EnvironmentOutput) ToEnvironmentOutputWithContext ¶
func (o EnvironmentOutput) ToEnvironmentOutputWithContext(ctx context.Context) EnvironmentOutput
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 name of the Google Cloud project that this VM image belongs to. // Format: projects/{project_id} 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`, and `PD_BALANCED`. 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`, and `PD_BALANCED`. DataDiskType pulumi.StringPtrOutput `pulumi:"dataDiskType"` // Disk encryption method used on the boot and data disks, defaults to GMEK. // Possible values are `DISK_ENCRYPTION_UNSPECIFIED`, `GMEK`, and `CMEK`. DiskEncryption pulumi.StringPtrOutput `pulumi:"diskEncryption"` // 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" }. 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`, and `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 name of the Google Cloud project that this VM image belongs to. // Format: projects/{project_id} Project pulumi.StringOutput `pulumi:"project"` // The proxy endpoint that is used to access the Jupyter notebook. ProxyUri pulumi.StringOutput `pulumi:"proxyUri"` // 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"` }
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/v6/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{ Location: pulumi.String("us-west1-a"), MachineType: pulumi.String("e2-medium"), VmImage: ¬ebooks.InstanceVmImageArgs{ ImageFamily: pulumi.String("tf-latest-cpu"), Project: pulumi.String("deeplearning-platform-release"), }, }) if err != nil { return err } return nil }) }
``` ### Notebook Instance Basic Container
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v6/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{ ContainerImage: ¬ebooks.InstanceContainerImageArgs{ Repository: pulumi.String("gcr.io/deeplearning-platform-release/base-cpu"), Tag: pulumi.String("latest"), }, Location: pulumi.String("us-west1-a"), MachineType: pulumi.String("e2-medium"), Metadata: pulumi.StringMap{ "proxy-mode": pulumi.String("service_account"), }, }) if err != nil { return err } return nil }) }
``` ### Notebook Instance Basic Gpu
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v6/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{ AcceleratorConfig: ¬ebooks.InstanceAcceleratorConfigArgs{ CoreCount: pulumi.Int(1), Type: pulumi.String("NVIDIA_TESLA_T4"), }, InstallGpuDriver: pulumi.Bool(true), Location: pulumi.String("us-west1-a"), MachineType: pulumi.String("n1-standard-1"), VmImage: ¬ebooks.InstanceVmImageArgs{ ImageFamily: pulumi.String("tf-latest-gpu"), Project: pulumi.String("deeplearning-platform-release"), }, }) if err != nil { return err } return nil }) }
``` ### Notebook Instance Full
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/compute" "github.com/pulumi/pulumi-gcp/sdk/v6/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{ 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("admin@hashicorptest.com"), }, ServiceAccount: pulumi.String("emailAddress: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"), }, }) if err != nil { return err } return nil }) }
```
## Import
Instance can be imported using any of these accepted formats ¶
```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`, and `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`, and `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`, and `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`, and `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`, and `PD_BALANCED`. 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`, and `PD_BALANCED`. DataDiskType pulumi.StringPtrInput // Disk encryption method used on the boot and data disks, defaults to GMEK. // Possible values are `DISK_ENCRYPTION_UNSPECIFIED`, `GMEK`, and `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" }. 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`, and `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 name of the Google Cloud project that this VM image belongs to. // Format: projects/{project_id} 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 Location pulumi.StringOutput `pulumi:"location"` 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.
> **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.
## google\_notebooks\_instance\_iam\_policy
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/notebooks" "github.com/pulumi/pulumi-gcp/sdk/v6/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{ 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(google_notebooks_instance.Instance.Project), Location: pulumi.Any(google_notebooks_instance.Instance.Location), InstanceName: pulumi.Any(google_notebooks_instance.Instance.Name), PolicyData: pulumi.String(admin.PolicyData), }) if err != nil { return err } return nil }) }
```
## google\_notebooks\_instance\_iam\_binding
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v6/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(google_notebooks_instance.Instance.Project), Location: pulumi.Any(google_notebooks_instance.Instance.Location), InstanceName: pulumi.Any(google_notebooks_instance.Instance.Name), Role: pulumi.String("roles/viewer"), Members: pulumi.StringArray{ pulumi.String("user:jane@example.com"), }, }) if err != nil { return err } return nil }) }
```
## google\_notebooks\_instance\_iam\_member
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v6/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(google_notebooks_instance.Instance.Project), Location: pulumi.Any(google_notebooks_instance.Instance.Location), InstanceName: pulumi.Any(google_notebooks_instance.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 identifiersthe 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 identifiersthe 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 Location pulumi.StringPtrInput 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) ElementType ¶
func (InstanceIamBindingOutput) ElementType() reflect.Type
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 Location pulumi.StringPtrInput 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 Location pulumi.StringOutput `pulumi:"location"` 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.
> **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.
## google\_notebooks\_instance\_iam\_policy
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/notebooks" "github.com/pulumi/pulumi-gcp/sdk/v6/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{ 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(google_notebooks_instance.Instance.Project), Location: pulumi.Any(google_notebooks_instance.Instance.Location), InstanceName: pulumi.Any(google_notebooks_instance.Instance.Name), PolicyData: pulumi.String(admin.PolicyData), }) if err != nil { return err } return nil }) }
```
## google\_notebooks\_instance\_iam\_binding
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v6/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(google_notebooks_instance.Instance.Project), Location: pulumi.Any(google_notebooks_instance.Instance.Location), InstanceName: pulumi.Any(google_notebooks_instance.Instance.Name), Role: pulumi.String("roles/viewer"), Members: pulumi.StringArray{ pulumi.String("user:jane@example.com"), }, }) if err != nil { return err } return nil }) }
```
## google\_notebooks\_instance\_iam\_member
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v6/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(google_notebooks_instance.Instance.Project), Location: pulumi.Any(google_notebooks_instance.Instance.Location), InstanceName: pulumi.Any(google_notebooks_instance.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 identifiersthe 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 identifiersthe 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 Location pulumi.StringPtrInput 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) ElementType ¶
func (InstanceIamMemberOutput) ElementType() reflect.Type
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 Location pulumi.StringPtrInput 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 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.
> **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.
## google\_notebooks\_instance\_iam\_policy
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/notebooks" "github.com/pulumi/pulumi-gcp/sdk/v6/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{ 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(google_notebooks_instance.Instance.Project), Location: pulumi.Any(google_notebooks_instance.Instance.Location), InstanceName: pulumi.Any(google_notebooks_instance.Instance.Name), PolicyData: pulumi.String(admin.PolicyData), }) if err != nil { return err } return nil }) }
```
## google\_notebooks\_instance\_iam\_binding
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v6/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(google_notebooks_instance.Instance.Project), Location: pulumi.Any(google_notebooks_instance.Instance.Location), InstanceName: pulumi.Any(google_notebooks_instance.Instance.Name), Role: pulumi.String("roles/viewer"), Members: pulumi.StringArray{ pulumi.String("user:jane@example.com"), }, }) if err != nil { return err } return nil }) }
```
## google\_notebooks\_instance\_iam\_member
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v6/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(google_notebooks_instance.Instance.Project), Location: pulumi.Any(google_notebooks_instance.Instance.Location), InstanceName: pulumi.Any(google_notebooks_instance.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 identifiersthe 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 identifiersthe 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 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) 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 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) ElementType ¶
func (InstanceOutput) ElementType() reflect.Type
func (InstanceOutput) ToInstanceOutput ¶
func (o InstanceOutput) ToInstanceOutput() InstanceOutput
func (InstanceOutput) ToInstanceOutputWithContext ¶
func (o InstanceOutput) ToInstanceOutputWithContext(ctx context.Context) InstanceOutput
type InstanceReservationAffinity ¶
type InstanceReservationAffinity struct { // The type of Compute Reservation. // Possible values are `NO_RESERVATION`, `ANY_RESERVATION`, and `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`, and `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`, and `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`, and `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`, and `PD_BALANCED`. 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`, and `PD_BALANCED`. DataDiskType pulumi.StringPtrInput // Disk encryption method used on the boot and data disks, defaults to GMEK. // Possible values are `DISK_ENCRYPTION_UNSPECIFIED`, `GMEK`, and `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" }. 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`, and `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 name of the Google Cloud project that this VM image belongs to. // Format: projects/{project_id} Project pulumi.StringPtrInput // The proxy endpoint that is used to access the Jupyter notebook. ProxyUri 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 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 ¶
```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) 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 Runtime ¶ added in v6.4.0
type Runtime struct { pulumi.CustomResourceState // The config settings for accessing runtime. // Structure is documented below. AccessConfig RuntimeAccessConfigPtrOutput `pulumi:"accessConfig"` // 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"` // 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 Metrics RuntimeMetricArrayOutput `pulumi:"metrics"` // The name specified for the Notebook instance. 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 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/v6/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{ AccessConfig: ¬ebooks.RuntimeAccessConfigArgs{ AccessType: pulumi.String("SINGLE_USER"), RuntimeOwner: pulumi.String("admin@hashicorptest.com"), }, Location: pulumi.String("us-central1"), VirtualMachine: ¬ebooks.RuntimeVirtualMachineArgs{ VirtualMachineConfig: ¬ebooks.RuntimeVirtualMachineVirtualMachineConfigArgs{ DataDisk: ¬ebooks.RuntimeVirtualMachineVirtualMachineConfigDataDiskArgs{ InitializeParams: ¬ebooks.RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsArgs{ DiskSizeGb: pulumi.Int(100), DiskType: pulumi.String("PD_STANDARD"), }, }, MachineType: pulumi.String("n1-standard-4"), }, }, }) if err != nil { return err } return nil }) }
``` ### Notebook Runtime Basic Gpu
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/notebooks" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := notebooks.NewRuntime(ctx, "runtimeGpu", ¬ebooks.RuntimeArgs{ AccessConfig: ¬ebooks.RuntimeAccessConfigArgs{ AccessType: pulumi.String("SINGLE_USER"), RuntimeOwner: pulumi.String("admin@hashicorptest.com"), }, Location: pulumi.String("us-central1"), SoftwareConfig: ¬ebooks.RuntimeSoftwareConfigArgs{ InstallGpuDriver: pulumi.Bool(true), }, VirtualMachine: ¬ebooks.RuntimeVirtualMachineArgs{ VirtualMachineConfig: ¬ebooks.RuntimeVirtualMachineVirtualMachineConfigArgs{ AcceleratorConfig: ¬ebooks.RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigArgs{ CoreCount: pulumi.Int(1), Type: pulumi.String("NVIDIA_TESLA_V100"), }, DataDisk: ¬ebooks.RuntimeVirtualMachineVirtualMachineConfigDataDiskArgs{ InitializeParams: ¬ebooks.RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsArgs{ DiskSizeGb: pulumi.Int(100), DiskType: pulumi.String("PD_STANDARD"), }, }, MachineType: pulumi.String("n1-standard-4"), }, }, }) if err != nil { return err } return nil }) }
``` ### Notebook Runtime Basic Container
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/notebooks" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := notebooks.NewRuntime(ctx, "runtimeContainer", ¬ebooks.RuntimeArgs{ AccessConfig: ¬ebooks.RuntimeAccessConfigArgs{ AccessType: pulumi.String("SINGLE_USER"), RuntimeOwner: pulumi.String("admin@hashicorptest.com"), }, Location: pulumi.String("us-central1"), VirtualMachine: ¬ebooks.RuntimeVirtualMachineArgs{ VirtualMachineConfig: ¬ebooks.RuntimeVirtualMachineVirtualMachineConfigArgs{ 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"), }, }, DataDisk: ¬ebooks.RuntimeVirtualMachineVirtualMachineConfigDataDiskArgs{ InitializeParams: ¬ebooks.RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsArgs{ DiskSizeGb: pulumi.Int(100), DiskType: pulumi.String("PD_STANDARD"), }, }, MachineType: pulumi.String("n1-standard-4"), }, }, }) if err != nil { return err } return nil }) }
```
## Import
Runtime can be imported using any of these accepted formats ¶
```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 ¶ added in v6.4.0
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 ¶ added in v6.4.0
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 ¶ added in v6.4.0
func (*Runtime) ToRuntimeOutput ¶ added in v6.4.0
func (i *Runtime) ToRuntimeOutput() RuntimeOutput
func (*Runtime) ToRuntimeOutputWithContext ¶ added in v6.4.0
func (i *Runtime) ToRuntimeOutputWithContext(ctx context.Context) RuntimeOutput
type RuntimeAccessConfig ¶ added in v6.4.0
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"` // - // 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 ¶ added in v6.4.0
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"` // - // 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 ¶ added in v6.4.0
func (RuntimeAccessConfigArgs) ElementType() reflect.Type
func (RuntimeAccessConfigArgs) ToRuntimeAccessConfigOutput ¶ added in v6.4.0
func (i RuntimeAccessConfigArgs) ToRuntimeAccessConfigOutput() RuntimeAccessConfigOutput
func (RuntimeAccessConfigArgs) ToRuntimeAccessConfigOutputWithContext ¶ added in v6.4.0
func (i RuntimeAccessConfigArgs) ToRuntimeAccessConfigOutputWithContext(ctx context.Context) RuntimeAccessConfigOutput
func (RuntimeAccessConfigArgs) ToRuntimeAccessConfigPtrOutput ¶ added in v6.4.0
func (i RuntimeAccessConfigArgs) ToRuntimeAccessConfigPtrOutput() RuntimeAccessConfigPtrOutput
func (RuntimeAccessConfigArgs) ToRuntimeAccessConfigPtrOutputWithContext ¶ added in v6.4.0
func (i RuntimeAccessConfigArgs) ToRuntimeAccessConfigPtrOutputWithContext(ctx context.Context) RuntimeAccessConfigPtrOutput
type RuntimeAccessConfigInput ¶ added in v6.4.0
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 ¶ added in v6.4.0
type RuntimeAccessConfigOutput struct{ *pulumi.OutputState }
func (RuntimeAccessConfigOutput) AccessType ¶ added in v6.4.0
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 ¶ added in v6.4.0
func (RuntimeAccessConfigOutput) ElementType() reflect.Type
func (RuntimeAccessConfigOutput) ProxyUri ¶ added in v6.4.0
func (o RuntimeAccessConfigOutput) ProxyUri() pulumi.StringPtrOutput
- The proxy endpoint that is used to access the runtime.
func (RuntimeAccessConfigOutput) RuntimeOwner ¶ added in v6.4.0
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 ¶ added in v6.4.0
func (o RuntimeAccessConfigOutput) ToRuntimeAccessConfigOutput() RuntimeAccessConfigOutput
func (RuntimeAccessConfigOutput) ToRuntimeAccessConfigOutputWithContext ¶ added in v6.4.0
func (o RuntimeAccessConfigOutput) ToRuntimeAccessConfigOutputWithContext(ctx context.Context) RuntimeAccessConfigOutput
func (RuntimeAccessConfigOutput) ToRuntimeAccessConfigPtrOutput ¶ added in v6.4.0
func (o RuntimeAccessConfigOutput) ToRuntimeAccessConfigPtrOutput() RuntimeAccessConfigPtrOutput
func (RuntimeAccessConfigOutput) ToRuntimeAccessConfigPtrOutputWithContext ¶ added in v6.4.0
func (o RuntimeAccessConfigOutput) ToRuntimeAccessConfigPtrOutputWithContext(ctx context.Context) RuntimeAccessConfigPtrOutput
type RuntimeAccessConfigPtrInput ¶ added in v6.4.0
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 ¶ added in v6.4.0
func RuntimeAccessConfigPtr(v *RuntimeAccessConfigArgs) RuntimeAccessConfigPtrInput
type RuntimeAccessConfigPtrOutput ¶ added in v6.4.0
type RuntimeAccessConfigPtrOutput struct{ *pulumi.OutputState }
func (RuntimeAccessConfigPtrOutput) AccessType ¶ added in v6.4.0
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 ¶ added in v6.4.0
func (o RuntimeAccessConfigPtrOutput) Elem() RuntimeAccessConfigOutput
func (RuntimeAccessConfigPtrOutput) ElementType ¶ added in v6.4.0
func (RuntimeAccessConfigPtrOutput) ElementType() reflect.Type
func (RuntimeAccessConfigPtrOutput) ProxyUri ¶ added in v6.4.0
func (o RuntimeAccessConfigPtrOutput) ProxyUri() pulumi.StringPtrOutput
- The proxy endpoint that is used to access the runtime.
func (RuntimeAccessConfigPtrOutput) RuntimeOwner ¶ added in v6.4.0
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 ¶ added in v6.4.0
func (o RuntimeAccessConfigPtrOutput) ToRuntimeAccessConfigPtrOutput() RuntimeAccessConfigPtrOutput
func (RuntimeAccessConfigPtrOutput) ToRuntimeAccessConfigPtrOutputWithContext ¶ added in v6.4.0
func (o RuntimeAccessConfigPtrOutput) ToRuntimeAccessConfigPtrOutputWithContext(ctx context.Context) RuntimeAccessConfigPtrOutput
type RuntimeArgs ¶ added in v6.4.0
type RuntimeArgs struct { // The config settings for accessing runtime. // Structure is documented below. AccessConfig RuntimeAccessConfigPtrInput // A reference to the zone where the machine resides. Location pulumi.StringInput // The name specified for the Notebook instance. 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 ¶ added in v6.4.0
func (RuntimeArgs) ElementType() reflect.Type
type RuntimeArray ¶ added in v6.4.0
type RuntimeArray []RuntimeInput
func (RuntimeArray) ElementType ¶ added in v6.4.0
func (RuntimeArray) ElementType() reflect.Type
func (RuntimeArray) ToRuntimeArrayOutput ¶ added in v6.4.0
func (i RuntimeArray) ToRuntimeArrayOutput() RuntimeArrayOutput
func (RuntimeArray) ToRuntimeArrayOutputWithContext ¶ added in v6.4.0
func (i RuntimeArray) ToRuntimeArrayOutputWithContext(ctx context.Context) RuntimeArrayOutput
type RuntimeArrayInput ¶ added in v6.4.0
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 ¶ added in v6.4.0
type RuntimeArrayOutput struct{ *pulumi.OutputState }
func (RuntimeArrayOutput) ElementType ¶ added in v6.4.0
func (RuntimeArrayOutput) ElementType() reflect.Type
func (RuntimeArrayOutput) Index ¶ added in v6.4.0
func (o RuntimeArrayOutput) Index(i pulumi.IntInput) RuntimeOutput
func (RuntimeArrayOutput) ToRuntimeArrayOutput ¶ added in v6.4.0
func (o RuntimeArrayOutput) ToRuntimeArrayOutput() RuntimeArrayOutput
func (RuntimeArrayOutput) ToRuntimeArrayOutputWithContext ¶ added in v6.4.0
func (o RuntimeArrayOutput) ToRuntimeArrayOutputWithContext(ctx context.Context) RuntimeArrayOutput
type RuntimeIamBinding ¶ added in v6.5.0
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 Location pulumi.StringOutput `pulumi:"location"` 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.
> **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.
## google\_notebooks\_runtime\_iam\_policy
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/notebooks" "github.com/pulumi/pulumi-gcp/sdk/v6/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{ 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(google_notebooks_runtime.Runtime.Project), Location: pulumi.Any(google_notebooks_runtime.Runtime.Location), RuntimeName: pulumi.Any(google_notebooks_runtime.Runtime.Name), PolicyData: pulumi.String(admin.PolicyData), }) if err != nil { return err } return nil }) }
```
## google\_notebooks\_runtime\_iam\_binding
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v6/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(google_notebooks_runtime.Runtime.Project), Location: pulumi.Any(google_notebooks_runtime.Runtime.Location), RuntimeName: pulumi.Any(google_notebooks_runtime.Runtime.Name), Role: pulumi.String("roles/viewer"), Members: pulumi.StringArray{ pulumi.String("user:jane@example.com"), }, }) if err != nil { return err } return nil }) }
```
## google\_notebooks\_runtime\_iam\_member
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v6/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(google_notebooks_runtime.Runtime.Project), Location: pulumi.Any(google_notebooks_runtime.Runtime.Location), RuntimeName: pulumi.Any(google_notebooks_runtime.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 identifiersthe 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 identifiersthe 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 ¶ added in v6.5.0
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 ¶ added in v6.5.0
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 ¶ added in v6.5.0
func (*RuntimeIamBinding) ElementType() reflect.Type
func (*RuntimeIamBinding) ToRuntimeIamBindingOutput ¶ added in v6.5.0
func (i *RuntimeIamBinding) ToRuntimeIamBindingOutput() RuntimeIamBindingOutput
func (*RuntimeIamBinding) ToRuntimeIamBindingOutputWithContext ¶ added in v6.5.0
func (i *RuntimeIamBinding) ToRuntimeIamBindingOutputWithContext(ctx context.Context) RuntimeIamBindingOutput
type RuntimeIamBindingArgs ¶ added in v6.5.0
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 Location pulumi.StringPtrInput 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 ¶ added in v6.5.0
func (RuntimeIamBindingArgs) ElementType() reflect.Type
type RuntimeIamBindingArray ¶ added in v6.5.0
type RuntimeIamBindingArray []RuntimeIamBindingInput
func (RuntimeIamBindingArray) ElementType ¶ added in v6.5.0
func (RuntimeIamBindingArray) ElementType() reflect.Type
func (RuntimeIamBindingArray) ToRuntimeIamBindingArrayOutput ¶ added in v6.5.0
func (i RuntimeIamBindingArray) ToRuntimeIamBindingArrayOutput() RuntimeIamBindingArrayOutput
func (RuntimeIamBindingArray) ToRuntimeIamBindingArrayOutputWithContext ¶ added in v6.5.0
func (i RuntimeIamBindingArray) ToRuntimeIamBindingArrayOutputWithContext(ctx context.Context) RuntimeIamBindingArrayOutput
type RuntimeIamBindingArrayInput ¶ added in v6.5.0
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 ¶ added in v6.5.0
type RuntimeIamBindingArrayOutput struct{ *pulumi.OutputState }
func (RuntimeIamBindingArrayOutput) ElementType ¶ added in v6.5.0
func (RuntimeIamBindingArrayOutput) ElementType() reflect.Type
func (RuntimeIamBindingArrayOutput) Index ¶ added in v6.5.0
func (o RuntimeIamBindingArrayOutput) Index(i pulumi.IntInput) RuntimeIamBindingOutput
func (RuntimeIamBindingArrayOutput) ToRuntimeIamBindingArrayOutput ¶ added in v6.5.0
func (o RuntimeIamBindingArrayOutput) ToRuntimeIamBindingArrayOutput() RuntimeIamBindingArrayOutput
func (RuntimeIamBindingArrayOutput) ToRuntimeIamBindingArrayOutputWithContext ¶ added in v6.5.0
func (o RuntimeIamBindingArrayOutput) ToRuntimeIamBindingArrayOutputWithContext(ctx context.Context) RuntimeIamBindingArrayOutput
type RuntimeIamBindingCondition ¶ added in v6.5.0
type RuntimeIamBindingConditionArgs ¶ added in v6.5.0
type RuntimeIamBindingConditionArgs struct { Description pulumi.StringPtrInput `pulumi:"description"` Expression pulumi.StringInput `pulumi:"expression"` Title pulumi.StringInput `pulumi:"title"` }
func (RuntimeIamBindingConditionArgs) ElementType ¶ added in v6.5.0
func (RuntimeIamBindingConditionArgs) ElementType() reflect.Type
func (RuntimeIamBindingConditionArgs) ToRuntimeIamBindingConditionOutput ¶ added in v6.5.0
func (i RuntimeIamBindingConditionArgs) ToRuntimeIamBindingConditionOutput() RuntimeIamBindingConditionOutput
func (RuntimeIamBindingConditionArgs) ToRuntimeIamBindingConditionOutputWithContext ¶ added in v6.5.0
func (i RuntimeIamBindingConditionArgs) ToRuntimeIamBindingConditionOutputWithContext(ctx context.Context) RuntimeIamBindingConditionOutput
func (RuntimeIamBindingConditionArgs) ToRuntimeIamBindingConditionPtrOutput ¶ added in v6.5.0
func (i RuntimeIamBindingConditionArgs) ToRuntimeIamBindingConditionPtrOutput() RuntimeIamBindingConditionPtrOutput
func (RuntimeIamBindingConditionArgs) ToRuntimeIamBindingConditionPtrOutputWithContext ¶ added in v6.5.0
func (i RuntimeIamBindingConditionArgs) ToRuntimeIamBindingConditionPtrOutputWithContext(ctx context.Context) RuntimeIamBindingConditionPtrOutput
type RuntimeIamBindingConditionInput ¶ added in v6.5.0
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 ¶ added in v6.5.0
type RuntimeIamBindingConditionOutput struct{ *pulumi.OutputState }
func (RuntimeIamBindingConditionOutput) Description ¶ added in v6.5.0
func (o RuntimeIamBindingConditionOutput) Description() pulumi.StringPtrOutput
func (RuntimeIamBindingConditionOutput) ElementType ¶ added in v6.5.0
func (RuntimeIamBindingConditionOutput) ElementType() reflect.Type
func (RuntimeIamBindingConditionOutput) Expression ¶ added in v6.5.0
func (o RuntimeIamBindingConditionOutput) Expression() pulumi.StringOutput
func (RuntimeIamBindingConditionOutput) Title ¶ added in v6.5.0
func (o RuntimeIamBindingConditionOutput) Title() pulumi.StringOutput
func (RuntimeIamBindingConditionOutput) ToRuntimeIamBindingConditionOutput ¶ added in v6.5.0
func (o RuntimeIamBindingConditionOutput) ToRuntimeIamBindingConditionOutput() RuntimeIamBindingConditionOutput
func (RuntimeIamBindingConditionOutput) ToRuntimeIamBindingConditionOutputWithContext ¶ added in v6.5.0
func (o RuntimeIamBindingConditionOutput) ToRuntimeIamBindingConditionOutputWithContext(ctx context.Context) RuntimeIamBindingConditionOutput
func (RuntimeIamBindingConditionOutput) ToRuntimeIamBindingConditionPtrOutput ¶ added in v6.5.0
func (o RuntimeIamBindingConditionOutput) ToRuntimeIamBindingConditionPtrOutput() RuntimeIamBindingConditionPtrOutput
func (RuntimeIamBindingConditionOutput) ToRuntimeIamBindingConditionPtrOutputWithContext ¶ added in v6.5.0
func (o RuntimeIamBindingConditionOutput) ToRuntimeIamBindingConditionPtrOutputWithContext(ctx context.Context) RuntimeIamBindingConditionPtrOutput
type RuntimeIamBindingConditionPtrInput ¶ added in v6.5.0
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 ¶ added in v6.5.0
func RuntimeIamBindingConditionPtr(v *RuntimeIamBindingConditionArgs) RuntimeIamBindingConditionPtrInput
type RuntimeIamBindingConditionPtrOutput ¶ added in v6.5.0
type RuntimeIamBindingConditionPtrOutput struct{ *pulumi.OutputState }
func (RuntimeIamBindingConditionPtrOutput) Description ¶ added in v6.5.0
func (o RuntimeIamBindingConditionPtrOutput) Description() pulumi.StringPtrOutput
func (RuntimeIamBindingConditionPtrOutput) Elem ¶ added in v6.5.0
func (o RuntimeIamBindingConditionPtrOutput) Elem() RuntimeIamBindingConditionOutput
func (RuntimeIamBindingConditionPtrOutput) ElementType ¶ added in v6.5.0
func (RuntimeIamBindingConditionPtrOutput) ElementType() reflect.Type
func (RuntimeIamBindingConditionPtrOutput) Expression ¶ added in v6.5.0
func (o RuntimeIamBindingConditionPtrOutput) Expression() pulumi.StringPtrOutput
func (RuntimeIamBindingConditionPtrOutput) Title ¶ added in v6.5.0
func (o RuntimeIamBindingConditionPtrOutput) Title() pulumi.StringPtrOutput
func (RuntimeIamBindingConditionPtrOutput) ToRuntimeIamBindingConditionPtrOutput ¶ added in v6.5.0
func (o RuntimeIamBindingConditionPtrOutput) ToRuntimeIamBindingConditionPtrOutput() RuntimeIamBindingConditionPtrOutput
func (RuntimeIamBindingConditionPtrOutput) ToRuntimeIamBindingConditionPtrOutputWithContext ¶ added in v6.5.0
func (o RuntimeIamBindingConditionPtrOutput) ToRuntimeIamBindingConditionPtrOutputWithContext(ctx context.Context) RuntimeIamBindingConditionPtrOutput
type RuntimeIamBindingInput ¶ added in v6.5.0
type RuntimeIamBindingInput interface { pulumi.Input ToRuntimeIamBindingOutput() RuntimeIamBindingOutput ToRuntimeIamBindingOutputWithContext(ctx context.Context) RuntimeIamBindingOutput }
type RuntimeIamBindingMap ¶ added in v6.5.0
type RuntimeIamBindingMap map[string]RuntimeIamBindingInput
func (RuntimeIamBindingMap) ElementType ¶ added in v6.5.0
func (RuntimeIamBindingMap) ElementType() reflect.Type
func (RuntimeIamBindingMap) ToRuntimeIamBindingMapOutput ¶ added in v6.5.0
func (i RuntimeIamBindingMap) ToRuntimeIamBindingMapOutput() RuntimeIamBindingMapOutput
func (RuntimeIamBindingMap) ToRuntimeIamBindingMapOutputWithContext ¶ added in v6.5.0
func (i RuntimeIamBindingMap) ToRuntimeIamBindingMapOutputWithContext(ctx context.Context) RuntimeIamBindingMapOutput
type RuntimeIamBindingMapInput ¶ added in v6.5.0
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 ¶ added in v6.5.0
type RuntimeIamBindingMapOutput struct{ *pulumi.OutputState }
func (RuntimeIamBindingMapOutput) ElementType ¶ added in v6.5.0
func (RuntimeIamBindingMapOutput) ElementType() reflect.Type
func (RuntimeIamBindingMapOutput) MapIndex ¶ added in v6.5.0
func (o RuntimeIamBindingMapOutput) MapIndex(k pulumi.StringInput) RuntimeIamBindingOutput
func (RuntimeIamBindingMapOutput) ToRuntimeIamBindingMapOutput ¶ added in v6.5.0
func (o RuntimeIamBindingMapOutput) ToRuntimeIamBindingMapOutput() RuntimeIamBindingMapOutput
func (RuntimeIamBindingMapOutput) ToRuntimeIamBindingMapOutputWithContext ¶ added in v6.5.0
func (o RuntimeIamBindingMapOutput) ToRuntimeIamBindingMapOutputWithContext(ctx context.Context) RuntimeIamBindingMapOutput
type RuntimeIamBindingOutput ¶ added in v6.5.0
type RuntimeIamBindingOutput struct{ *pulumi.OutputState }
func (RuntimeIamBindingOutput) ElementType ¶ added in v6.5.0
func (RuntimeIamBindingOutput) ElementType() reflect.Type
func (RuntimeIamBindingOutput) ToRuntimeIamBindingOutput ¶ added in v6.5.0
func (o RuntimeIamBindingOutput) ToRuntimeIamBindingOutput() RuntimeIamBindingOutput
func (RuntimeIamBindingOutput) ToRuntimeIamBindingOutputWithContext ¶ added in v6.5.0
func (o RuntimeIamBindingOutput) ToRuntimeIamBindingOutputWithContext(ctx context.Context) RuntimeIamBindingOutput
type RuntimeIamBindingState ¶ added in v6.5.0
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 Location pulumi.StringPtrInput 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 ¶ added in v6.5.0
func (RuntimeIamBindingState) ElementType() reflect.Type
type RuntimeIamMember ¶ added in v6.5.0
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 Location pulumi.StringOutput `pulumi:"location"` 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.
> **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.
## google\_notebooks\_runtime\_iam\_policy
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/notebooks" "github.com/pulumi/pulumi-gcp/sdk/v6/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{ 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(google_notebooks_runtime.Runtime.Project), Location: pulumi.Any(google_notebooks_runtime.Runtime.Location), RuntimeName: pulumi.Any(google_notebooks_runtime.Runtime.Name), PolicyData: pulumi.String(admin.PolicyData), }) if err != nil { return err } return nil }) }
```
## google\_notebooks\_runtime\_iam\_binding
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v6/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(google_notebooks_runtime.Runtime.Project), Location: pulumi.Any(google_notebooks_runtime.Runtime.Location), RuntimeName: pulumi.Any(google_notebooks_runtime.Runtime.Name), Role: pulumi.String("roles/viewer"), Members: pulumi.StringArray{ pulumi.String("user:jane@example.com"), }, }) if err != nil { return err } return nil }) }
```
## google\_notebooks\_runtime\_iam\_member
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v6/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(google_notebooks_runtime.Runtime.Project), Location: pulumi.Any(google_notebooks_runtime.Runtime.Location), RuntimeName: pulumi.Any(google_notebooks_runtime.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 identifiersthe 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 identifiersthe 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 ¶ added in v6.5.0
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 ¶ added in v6.5.0
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 ¶ added in v6.5.0
func (*RuntimeIamMember) ElementType() reflect.Type
func (*RuntimeIamMember) ToRuntimeIamMemberOutput ¶ added in v6.5.0
func (i *RuntimeIamMember) ToRuntimeIamMemberOutput() RuntimeIamMemberOutput
func (*RuntimeIamMember) ToRuntimeIamMemberOutputWithContext ¶ added in v6.5.0
func (i *RuntimeIamMember) ToRuntimeIamMemberOutputWithContext(ctx context.Context) RuntimeIamMemberOutput
type RuntimeIamMemberArgs ¶ added in v6.5.0
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 Location pulumi.StringPtrInput 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 ¶ added in v6.5.0
func (RuntimeIamMemberArgs) ElementType() reflect.Type
type RuntimeIamMemberArray ¶ added in v6.5.0
type RuntimeIamMemberArray []RuntimeIamMemberInput
func (RuntimeIamMemberArray) ElementType ¶ added in v6.5.0
func (RuntimeIamMemberArray) ElementType() reflect.Type
func (RuntimeIamMemberArray) ToRuntimeIamMemberArrayOutput ¶ added in v6.5.0
func (i RuntimeIamMemberArray) ToRuntimeIamMemberArrayOutput() RuntimeIamMemberArrayOutput
func (RuntimeIamMemberArray) ToRuntimeIamMemberArrayOutputWithContext ¶ added in v6.5.0
func (i RuntimeIamMemberArray) ToRuntimeIamMemberArrayOutputWithContext(ctx context.Context) RuntimeIamMemberArrayOutput
type RuntimeIamMemberArrayInput ¶ added in v6.5.0
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 ¶ added in v6.5.0
type RuntimeIamMemberArrayOutput struct{ *pulumi.OutputState }
func (RuntimeIamMemberArrayOutput) ElementType ¶ added in v6.5.0
func (RuntimeIamMemberArrayOutput) ElementType() reflect.Type
func (RuntimeIamMemberArrayOutput) Index ¶ added in v6.5.0
func (o RuntimeIamMemberArrayOutput) Index(i pulumi.IntInput) RuntimeIamMemberOutput
func (RuntimeIamMemberArrayOutput) ToRuntimeIamMemberArrayOutput ¶ added in v6.5.0
func (o RuntimeIamMemberArrayOutput) ToRuntimeIamMemberArrayOutput() RuntimeIamMemberArrayOutput
func (RuntimeIamMemberArrayOutput) ToRuntimeIamMemberArrayOutputWithContext ¶ added in v6.5.0
func (o RuntimeIamMemberArrayOutput) ToRuntimeIamMemberArrayOutputWithContext(ctx context.Context) RuntimeIamMemberArrayOutput
type RuntimeIamMemberCondition ¶ added in v6.5.0
type RuntimeIamMemberConditionArgs ¶ added in v6.5.0
type RuntimeIamMemberConditionArgs struct { Description pulumi.StringPtrInput `pulumi:"description"` Expression pulumi.StringInput `pulumi:"expression"` Title pulumi.StringInput `pulumi:"title"` }
func (RuntimeIamMemberConditionArgs) ElementType ¶ added in v6.5.0
func (RuntimeIamMemberConditionArgs) ElementType() reflect.Type
func (RuntimeIamMemberConditionArgs) ToRuntimeIamMemberConditionOutput ¶ added in v6.5.0
func (i RuntimeIamMemberConditionArgs) ToRuntimeIamMemberConditionOutput() RuntimeIamMemberConditionOutput
func (RuntimeIamMemberConditionArgs) ToRuntimeIamMemberConditionOutputWithContext ¶ added in v6.5.0
func (i RuntimeIamMemberConditionArgs) ToRuntimeIamMemberConditionOutputWithContext(ctx context.Context) RuntimeIamMemberConditionOutput
func (RuntimeIamMemberConditionArgs) ToRuntimeIamMemberConditionPtrOutput ¶ added in v6.5.0
func (i RuntimeIamMemberConditionArgs) ToRuntimeIamMemberConditionPtrOutput() RuntimeIamMemberConditionPtrOutput
func (RuntimeIamMemberConditionArgs) ToRuntimeIamMemberConditionPtrOutputWithContext ¶ added in v6.5.0
func (i RuntimeIamMemberConditionArgs) ToRuntimeIamMemberConditionPtrOutputWithContext(ctx context.Context) RuntimeIamMemberConditionPtrOutput
type RuntimeIamMemberConditionInput ¶ added in v6.5.0
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 ¶ added in v6.5.0
type RuntimeIamMemberConditionOutput struct{ *pulumi.OutputState }
func (RuntimeIamMemberConditionOutput) Description ¶ added in v6.5.0
func (o RuntimeIamMemberConditionOutput) Description() pulumi.StringPtrOutput
func (RuntimeIamMemberConditionOutput) ElementType ¶ added in v6.5.0
func (RuntimeIamMemberConditionOutput) ElementType() reflect.Type
func (RuntimeIamMemberConditionOutput) Expression ¶ added in v6.5.0
func (o RuntimeIamMemberConditionOutput) Expression() pulumi.StringOutput
func (RuntimeIamMemberConditionOutput) Title ¶ added in v6.5.0
func (o RuntimeIamMemberConditionOutput) Title() pulumi.StringOutput
func (RuntimeIamMemberConditionOutput) ToRuntimeIamMemberConditionOutput ¶ added in v6.5.0
func (o RuntimeIamMemberConditionOutput) ToRuntimeIamMemberConditionOutput() RuntimeIamMemberConditionOutput
func (RuntimeIamMemberConditionOutput) ToRuntimeIamMemberConditionOutputWithContext ¶ added in v6.5.0
func (o RuntimeIamMemberConditionOutput) ToRuntimeIamMemberConditionOutputWithContext(ctx context.Context) RuntimeIamMemberConditionOutput
func (RuntimeIamMemberConditionOutput) ToRuntimeIamMemberConditionPtrOutput ¶ added in v6.5.0
func (o RuntimeIamMemberConditionOutput) ToRuntimeIamMemberConditionPtrOutput() RuntimeIamMemberConditionPtrOutput
func (RuntimeIamMemberConditionOutput) ToRuntimeIamMemberConditionPtrOutputWithContext ¶ added in v6.5.0
func (o RuntimeIamMemberConditionOutput) ToRuntimeIamMemberConditionPtrOutputWithContext(ctx context.Context) RuntimeIamMemberConditionPtrOutput
type RuntimeIamMemberConditionPtrInput ¶ added in v6.5.0
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 ¶ added in v6.5.0
func RuntimeIamMemberConditionPtr(v *RuntimeIamMemberConditionArgs) RuntimeIamMemberConditionPtrInput
type RuntimeIamMemberConditionPtrOutput ¶ added in v6.5.0
type RuntimeIamMemberConditionPtrOutput struct{ *pulumi.OutputState }
func (RuntimeIamMemberConditionPtrOutput) Description ¶ added in v6.5.0
func (o RuntimeIamMemberConditionPtrOutput) Description() pulumi.StringPtrOutput
func (RuntimeIamMemberConditionPtrOutput) Elem ¶ added in v6.5.0
func (o RuntimeIamMemberConditionPtrOutput) Elem() RuntimeIamMemberConditionOutput
func (RuntimeIamMemberConditionPtrOutput) ElementType ¶ added in v6.5.0
func (RuntimeIamMemberConditionPtrOutput) ElementType() reflect.Type
func (RuntimeIamMemberConditionPtrOutput) Expression ¶ added in v6.5.0
func (o RuntimeIamMemberConditionPtrOutput) Expression() pulumi.StringPtrOutput
func (RuntimeIamMemberConditionPtrOutput) Title ¶ added in v6.5.0
func (o RuntimeIamMemberConditionPtrOutput) Title() pulumi.StringPtrOutput
func (RuntimeIamMemberConditionPtrOutput) ToRuntimeIamMemberConditionPtrOutput ¶ added in v6.5.0
func (o RuntimeIamMemberConditionPtrOutput) ToRuntimeIamMemberConditionPtrOutput() RuntimeIamMemberConditionPtrOutput
func (RuntimeIamMemberConditionPtrOutput) ToRuntimeIamMemberConditionPtrOutputWithContext ¶ added in v6.5.0
func (o RuntimeIamMemberConditionPtrOutput) ToRuntimeIamMemberConditionPtrOutputWithContext(ctx context.Context) RuntimeIamMemberConditionPtrOutput
type RuntimeIamMemberInput ¶ added in v6.5.0
type RuntimeIamMemberInput interface { pulumi.Input ToRuntimeIamMemberOutput() RuntimeIamMemberOutput ToRuntimeIamMemberOutputWithContext(ctx context.Context) RuntimeIamMemberOutput }
type RuntimeIamMemberMap ¶ added in v6.5.0
type RuntimeIamMemberMap map[string]RuntimeIamMemberInput
func (RuntimeIamMemberMap) ElementType ¶ added in v6.5.0
func (RuntimeIamMemberMap) ElementType() reflect.Type
func (RuntimeIamMemberMap) ToRuntimeIamMemberMapOutput ¶ added in v6.5.0
func (i RuntimeIamMemberMap) ToRuntimeIamMemberMapOutput() RuntimeIamMemberMapOutput
func (RuntimeIamMemberMap) ToRuntimeIamMemberMapOutputWithContext ¶ added in v6.5.0
func (i RuntimeIamMemberMap) ToRuntimeIamMemberMapOutputWithContext(ctx context.Context) RuntimeIamMemberMapOutput
type RuntimeIamMemberMapInput ¶ added in v6.5.0
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 ¶ added in v6.5.0
type RuntimeIamMemberMapOutput struct{ *pulumi.OutputState }
func (RuntimeIamMemberMapOutput) ElementType ¶ added in v6.5.0
func (RuntimeIamMemberMapOutput) ElementType() reflect.Type
func (RuntimeIamMemberMapOutput) MapIndex ¶ added in v6.5.0
func (o RuntimeIamMemberMapOutput) MapIndex(k pulumi.StringInput) RuntimeIamMemberOutput
func (RuntimeIamMemberMapOutput) ToRuntimeIamMemberMapOutput ¶ added in v6.5.0
func (o RuntimeIamMemberMapOutput) ToRuntimeIamMemberMapOutput() RuntimeIamMemberMapOutput
func (RuntimeIamMemberMapOutput) ToRuntimeIamMemberMapOutputWithContext ¶ added in v6.5.0
func (o RuntimeIamMemberMapOutput) ToRuntimeIamMemberMapOutputWithContext(ctx context.Context) RuntimeIamMemberMapOutput
type RuntimeIamMemberOutput ¶ added in v6.5.0
type RuntimeIamMemberOutput struct{ *pulumi.OutputState }
func (RuntimeIamMemberOutput) ElementType ¶ added in v6.5.0
func (RuntimeIamMemberOutput) ElementType() reflect.Type
func (RuntimeIamMemberOutput) ToRuntimeIamMemberOutput ¶ added in v6.5.0
func (o RuntimeIamMemberOutput) ToRuntimeIamMemberOutput() RuntimeIamMemberOutput
func (RuntimeIamMemberOutput) ToRuntimeIamMemberOutputWithContext ¶ added in v6.5.0
func (o RuntimeIamMemberOutput) ToRuntimeIamMemberOutputWithContext(ctx context.Context) RuntimeIamMemberOutput
type RuntimeIamMemberState ¶ added in v6.5.0
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 Location pulumi.StringPtrInput 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 ¶ added in v6.5.0
func (RuntimeIamMemberState) ElementType() reflect.Type
type RuntimeIamPolicy ¶ added in v6.5.0
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 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.
> **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.
## google\_notebooks\_runtime\_iam\_policy
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v6/go/gcp/notebooks" "github.com/pulumi/pulumi-gcp/sdk/v6/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{ 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(google_notebooks_runtime.Runtime.Project), Location: pulumi.Any(google_notebooks_runtime.Runtime.Location), RuntimeName: pulumi.Any(google_notebooks_runtime.Runtime.Name), PolicyData: pulumi.String(admin.PolicyData), }) if err != nil { return err } return nil }) }
```
## google\_notebooks\_runtime\_iam\_binding
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v6/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(google_notebooks_runtime.Runtime.Project), Location: pulumi.Any(google_notebooks_runtime.Runtime.Location), RuntimeName: pulumi.Any(google_notebooks_runtime.Runtime.Name), Role: pulumi.String("roles/viewer"), Members: pulumi.StringArray{ pulumi.String("user:jane@example.com"), }, }) if err != nil { return err } return nil }) }
```
## google\_notebooks\_runtime\_iam\_member
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v6/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(google_notebooks_runtime.Runtime.Project), Location: pulumi.Any(google_notebooks_runtime.Runtime.Location), RuntimeName: pulumi.Any(google_notebooks_runtime.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 identifiersthe 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 identifiersthe 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 ¶ added in v6.5.0
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 ¶ added in v6.5.0
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 ¶ added in v6.5.0
func (*RuntimeIamPolicy) ElementType() reflect.Type
func (*RuntimeIamPolicy) ToRuntimeIamPolicyOutput ¶ added in v6.5.0
func (i *RuntimeIamPolicy) ToRuntimeIamPolicyOutput() RuntimeIamPolicyOutput
func (*RuntimeIamPolicy) ToRuntimeIamPolicyOutputWithContext ¶ added in v6.5.0
func (i *RuntimeIamPolicy) ToRuntimeIamPolicyOutputWithContext(ctx context.Context) RuntimeIamPolicyOutput
type RuntimeIamPolicyArgs ¶ added in v6.5.0
type RuntimeIamPolicyArgs struct { // A reference to the zone where the machine resides. Used to find the parent resource to bind the IAM policy to 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 ¶ added in v6.5.0
func (RuntimeIamPolicyArgs) ElementType() reflect.Type
type RuntimeIamPolicyArray ¶ added in v6.5.0
type RuntimeIamPolicyArray []RuntimeIamPolicyInput
func (RuntimeIamPolicyArray) ElementType ¶ added in v6.5.0
func (RuntimeIamPolicyArray) ElementType() reflect.Type
func (RuntimeIamPolicyArray) ToRuntimeIamPolicyArrayOutput ¶ added in v6.5.0
func (i RuntimeIamPolicyArray) ToRuntimeIamPolicyArrayOutput() RuntimeIamPolicyArrayOutput
func (RuntimeIamPolicyArray) ToRuntimeIamPolicyArrayOutputWithContext ¶ added in v6.5.0
func (i RuntimeIamPolicyArray) ToRuntimeIamPolicyArrayOutputWithContext(ctx context.Context) RuntimeIamPolicyArrayOutput
type RuntimeIamPolicyArrayInput ¶ added in v6.5.0
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 ¶ added in v6.5.0
type RuntimeIamPolicyArrayOutput struct{ *pulumi.OutputState }
func (RuntimeIamPolicyArrayOutput) ElementType ¶ added in v6.5.0
func (RuntimeIamPolicyArrayOutput) ElementType() reflect.Type
func (RuntimeIamPolicyArrayOutput) Index ¶ added in v6.5.0
func (o RuntimeIamPolicyArrayOutput) Index(i pulumi.IntInput) RuntimeIamPolicyOutput
func (RuntimeIamPolicyArrayOutput) ToRuntimeIamPolicyArrayOutput ¶ added in v6.5.0
func (o RuntimeIamPolicyArrayOutput) ToRuntimeIamPolicyArrayOutput() RuntimeIamPolicyArrayOutput
func (RuntimeIamPolicyArrayOutput) ToRuntimeIamPolicyArrayOutputWithContext ¶ added in v6.5.0
func (o RuntimeIamPolicyArrayOutput) ToRuntimeIamPolicyArrayOutputWithContext(ctx context.Context) RuntimeIamPolicyArrayOutput
type RuntimeIamPolicyInput ¶ added in v6.5.0
type RuntimeIamPolicyInput interface { pulumi.Input ToRuntimeIamPolicyOutput() RuntimeIamPolicyOutput ToRuntimeIamPolicyOutputWithContext(ctx context.Context) RuntimeIamPolicyOutput }
type RuntimeIamPolicyMap ¶ added in v6.5.0
type RuntimeIamPolicyMap map[string]RuntimeIamPolicyInput
func (RuntimeIamPolicyMap) ElementType ¶ added in v6.5.0
func (RuntimeIamPolicyMap) ElementType() reflect.Type
func (RuntimeIamPolicyMap) ToRuntimeIamPolicyMapOutput ¶ added in v6.5.0
func (i RuntimeIamPolicyMap) ToRuntimeIamPolicyMapOutput() RuntimeIamPolicyMapOutput
func (RuntimeIamPolicyMap) ToRuntimeIamPolicyMapOutputWithContext ¶ added in v6.5.0
func (i RuntimeIamPolicyMap) ToRuntimeIamPolicyMapOutputWithContext(ctx context.Context) RuntimeIamPolicyMapOutput
type RuntimeIamPolicyMapInput ¶ added in v6.5.0
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 ¶ added in v6.5.0
type RuntimeIamPolicyMapOutput struct{ *pulumi.OutputState }
func (RuntimeIamPolicyMapOutput) ElementType ¶ added in v6.5.0
func (RuntimeIamPolicyMapOutput) ElementType() reflect.Type
func (RuntimeIamPolicyMapOutput) MapIndex ¶ added in v6.5.0
func (o RuntimeIamPolicyMapOutput) MapIndex(k pulumi.StringInput) RuntimeIamPolicyOutput
func (RuntimeIamPolicyMapOutput) ToRuntimeIamPolicyMapOutput ¶ added in v6.5.0
func (o RuntimeIamPolicyMapOutput) ToRuntimeIamPolicyMapOutput() RuntimeIamPolicyMapOutput
func (RuntimeIamPolicyMapOutput) ToRuntimeIamPolicyMapOutputWithContext ¶ added in v6.5.0
func (o RuntimeIamPolicyMapOutput) ToRuntimeIamPolicyMapOutputWithContext(ctx context.Context) RuntimeIamPolicyMapOutput
type RuntimeIamPolicyOutput ¶ added in v6.5.0
type RuntimeIamPolicyOutput struct{ *pulumi.OutputState }
func (RuntimeIamPolicyOutput) ElementType ¶ added in v6.5.0
func (RuntimeIamPolicyOutput) ElementType() reflect.Type
func (RuntimeIamPolicyOutput) ToRuntimeIamPolicyOutput ¶ added in v6.5.0
func (o RuntimeIamPolicyOutput) ToRuntimeIamPolicyOutput() RuntimeIamPolicyOutput
func (RuntimeIamPolicyOutput) ToRuntimeIamPolicyOutputWithContext ¶ added in v6.5.0
func (o RuntimeIamPolicyOutput) ToRuntimeIamPolicyOutputWithContext(ctx context.Context) RuntimeIamPolicyOutput
type RuntimeIamPolicyState ¶ added in v6.5.0
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 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 ¶ added in v6.5.0
func (RuntimeIamPolicyState) ElementType() reflect.Type
type RuntimeInput ¶ added in v6.4.0
type RuntimeInput interface { pulumi.Input ToRuntimeOutput() RuntimeOutput ToRuntimeOutputWithContext(ctx context.Context) RuntimeOutput }
type RuntimeMap ¶ added in v6.4.0
type RuntimeMap map[string]RuntimeInput
func (RuntimeMap) ElementType ¶ added in v6.4.0
func (RuntimeMap) ElementType() reflect.Type
func (RuntimeMap) ToRuntimeMapOutput ¶ added in v6.4.0
func (i RuntimeMap) ToRuntimeMapOutput() RuntimeMapOutput
func (RuntimeMap) ToRuntimeMapOutputWithContext ¶ added in v6.4.0
func (i RuntimeMap) ToRuntimeMapOutputWithContext(ctx context.Context) RuntimeMapOutput
type RuntimeMapInput ¶ added in v6.4.0
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 ¶ added in v6.4.0
type RuntimeMapOutput struct{ *pulumi.OutputState }
func (RuntimeMapOutput) ElementType ¶ added in v6.4.0
func (RuntimeMapOutput) ElementType() reflect.Type
func (RuntimeMapOutput) MapIndex ¶ added in v6.4.0
func (o RuntimeMapOutput) MapIndex(k pulumi.StringInput) RuntimeOutput
func (RuntimeMapOutput) ToRuntimeMapOutput ¶ added in v6.4.0
func (o RuntimeMapOutput) ToRuntimeMapOutput() RuntimeMapOutput
func (RuntimeMapOutput) ToRuntimeMapOutputWithContext ¶ added in v6.4.0
func (o RuntimeMapOutput) ToRuntimeMapOutputWithContext(ctx context.Context) RuntimeMapOutput
type RuntimeMetric ¶ added in v6.4.0
type RuntimeMetricArgs ¶ added in v6.4.0
type RuntimeMetricArgs struct {
SystemMetrics pulumi.StringMapInput `pulumi:"systemMetrics"`
}
func (RuntimeMetricArgs) ElementType ¶ added in v6.4.0
func (RuntimeMetricArgs) ElementType() reflect.Type
func (RuntimeMetricArgs) ToRuntimeMetricOutput ¶ added in v6.4.0
func (i RuntimeMetricArgs) ToRuntimeMetricOutput() RuntimeMetricOutput
func (RuntimeMetricArgs) ToRuntimeMetricOutputWithContext ¶ added in v6.4.0
func (i RuntimeMetricArgs) ToRuntimeMetricOutputWithContext(ctx context.Context) RuntimeMetricOutput
type RuntimeMetricArray ¶ added in v6.4.0
type RuntimeMetricArray []RuntimeMetricInput
func (RuntimeMetricArray) ElementType ¶ added in v6.4.0
func (RuntimeMetricArray) ElementType() reflect.Type
func (RuntimeMetricArray) ToRuntimeMetricArrayOutput ¶ added in v6.4.0
func (i RuntimeMetricArray) ToRuntimeMetricArrayOutput() RuntimeMetricArrayOutput
func (RuntimeMetricArray) ToRuntimeMetricArrayOutputWithContext ¶ added in v6.4.0
func (i RuntimeMetricArray) ToRuntimeMetricArrayOutputWithContext(ctx context.Context) RuntimeMetricArrayOutput
type RuntimeMetricArrayInput ¶ added in v6.4.0
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 ¶ added in v6.4.0
type RuntimeMetricArrayOutput struct{ *pulumi.OutputState }
func (RuntimeMetricArrayOutput) ElementType ¶ added in v6.4.0
func (RuntimeMetricArrayOutput) ElementType() reflect.Type
func (RuntimeMetricArrayOutput) Index ¶ added in v6.4.0
func (o RuntimeMetricArrayOutput) Index(i pulumi.IntInput) RuntimeMetricOutput
func (RuntimeMetricArrayOutput) ToRuntimeMetricArrayOutput ¶ added in v6.4.0
func (o RuntimeMetricArrayOutput) ToRuntimeMetricArrayOutput() RuntimeMetricArrayOutput
func (RuntimeMetricArrayOutput) ToRuntimeMetricArrayOutputWithContext ¶ added in v6.4.0
func (o RuntimeMetricArrayOutput) ToRuntimeMetricArrayOutputWithContext(ctx context.Context) RuntimeMetricArrayOutput
type RuntimeMetricInput ¶ added in v6.4.0
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 ¶ added in v6.4.0
type RuntimeMetricOutput struct{ *pulumi.OutputState }
func (RuntimeMetricOutput) ElementType ¶ added in v6.4.0
func (RuntimeMetricOutput) ElementType() reflect.Type
func (RuntimeMetricOutput) SystemMetrics ¶ added in v6.4.0
func (o RuntimeMetricOutput) SystemMetrics() pulumi.StringMapOutput
func (RuntimeMetricOutput) ToRuntimeMetricOutput ¶ added in v6.4.0
func (o RuntimeMetricOutput) ToRuntimeMetricOutput() RuntimeMetricOutput
func (RuntimeMetricOutput) ToRuntimeMetricOutputWithContext ¶ added in v6.4.0
func (o RuntimeMetricOutput) ToRuntimeMetricOutputWithContext(ctx context.Context) RuntimeMetricOutput
type RuntimeOutput ¶ added in v6.4.0
type RuntimeOutput struct{ *pulumi.OutputState }
func (RuntimeOutput) ElementType ¶ added in v6.4.0
func (RuntimeOutput) ElementType() reflect.Type
func (RuntimeOutput) ToRuntimeOutput ¶ added in v6.4.0
func (o RuntimeOutput) ToRuntimeOutput() RuntimeOutput
func (RuntimeOutput) ToRuntimeOutputWithContext ¶ added in v6.4.0
func (o RuntimeOutput) ToRuntimeOutputWithContext(ctx context.Context) RuntimeOutput
type RuntimeSoftwareConfig ¶ added in v6.4.0
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"` // 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"` }
type RuntimeSoftwareConfigArgs ¶ added in v6.4.0
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"` // 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"` }
func (RuntimeSoftwareConfigArgs) ElementType ¶ added in v6.4.0
func (RuntimeSoftwareConfigArgs) ElementType() reflect.Type
func (RuntimeSoftwareConfigArgs) ToRuntimeSoftwareConfigOutput ¶ added in v6.4.0
func (i RuntimeSoftwareConfigArgs) ToRuntimeSoftwareConfigOutput() RuntimeSoftwareConfigOutput
func (RuntimeSoftwareConfigArgs) ToRuntimeSoftwareConfigOutputWithContext ¶ added in v6.4.0
func (i RuntimeSoftwareConfigArgs) ToRuntimeSoftwareConfigOutputWithContext(ctx context.Context) RuntimeSoftwareConfigOutput
func (RuntimeSoftwareConfigArgs) ToRuntimeSoftwareConfigPtrOutput ¶ added in v6.4.0
func (i RuntimeSoftwareConfigArgs) ToRuntimeSoftwareConfigPtrOutput() RuntimeSoftwareConfigPtrOutput
func (RuntimeSoftwareConfigArgs) ToRuntimeSoftwareConfigPtrOutputWithContext ¶ added in v6.4.0
func (i RuntimeSoftwareConfigArgs) ToRuntimeSoftwareConfigPtrOutputWithContext(ctx context.Context) RuntimeSoftwareConfigPtrOutput
type RuntimeSoftwareConfigInput ¶ added in v6.4.0
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 RuntimeSoftwareConfigOutput ¶ added in v6.4.0
type RuntimeSoftwareConfigOutput struct{ *pulumi.OutputState }
func (RuntimeSoftwareConfigOutput) CustomGpuDriverPath ¶ added in v6.4.0
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 ¶ added in v6.4.0
func (RuntimeSoftwareConfigOutput) ElementType() reflect.Type
func (RuntimeSoftwareConfigOutput) EnableHealthMonitoring ¶ added in v6.4.0
func (o RuntimeSoftwareConfigOutput) EnableHealthMonitoring() pulumi.BoolPtrOutput
Verifies core internal services are running. Default: True.
func (RuntimeSoftwareConfigOutput) IdleShutdown ¶ added in v6.4.0
func (o RuntimeSoftwareConfigOutput) IdleShutdown() pulumi.BoolPtrOutput
Runtime will automatically shutdown after idle_shutdown_time. Default: True
func (RuntimeSoftwareConfigOutput) IdleShutdownTimeout ¶ added in v6.4.0
func (o RuntimeSoftwareConfigOutput) IdleShutdownTimeout() pulumi.IntPtrOutput
Time in minutes to wait before shuting down runtime. Default: 180 minutes
func (RuntimeSoftwareConfigOutput) InstallGpuDriver ¶ added in v6.4.0
func (o RuntimeSoftwareConfigOutput) InstallGpuDriver() pulumi.BoolPtrOutput
Install Nvidia Driver automatically.
func (RuntimeSoftwareConfigOutput) NotebookUpgradeSchedule ¶ added in v6.4.0
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 ¶ added in v6.4.0
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) ToRuntimeSoftwareConfigOutput ¶ added in v6.4.0
func (o RuntimeSoftwareConfigOutput) ToRuntimeSoftwareConfigOutput() RuntimeSoftwareConfigOutput
func (RuntimeSoftwareConfigOutput) ToRuntimeSoftwareConfigOutputWithContext ¶ added in v6.4.0
func (o RuntimeSoftwareConfigOutput) ToRuntimeSoftwareConfigOutputWithContext(ctx context.Context) RuntimeSoftwareConfigOutput
func (RuntimeSoftwareConfigOutput) ToRuntimeSoftwareConfigPtrOutput ¶ added in v6.4.0
func (o RuntimeSoftwareConfigOutput) ToRuntimeSoftwareConfigPtrOutput() RuntimeSoftwareConfigPtrOutput
func (RuntimeSoftwareConfigOutput) ToRuntimeSoftwareConfigPtrOutputWithContext ¶ added in v6.4.0
func (o RuntimeSoftwareConfigOutput) ToRuntimeSoftwareConfigPtrOutputWithContext(ctx context.Context) RuntimeSoftwareConfigPtrOutput
type RuntimeSoftwareConfigPtrInput ¶ added in v6.4.0
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 ¶ added in v6.4.0
func RuntimeSoftwareConfigPtr(v *RuntimeSoftwareConfigArgs) RuntimeSoftwareConfigPtrInput
type RuntimeSoftwareConfigPtrOutput ¶ added in v6.4.0
type RuntimeSoftwareConfigPtrOutput struct{ *pulumi.OutputState }
func (RuntimeSoftwareConfigPtrOutput) CustomGpuDriverPath ¶ added in v6.4.0
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 ¶ added in v6.4.0
func (o RuntimeSoftwareConfigPtrOutput) Elem() RuntimeSoftwareConfigOutput
func (RuntimeSoftwareConfigPtrOutput) ElementType ¶ added in v6.4.0
func (RuntimeSoftwareConfigPtrOutput) ElementType() reflect.Type
func (RuntimeSoftwareConfigPtrOutput) EnableHealthMonitoring ¶ added in v6.4.0
func (o RuntimeSoftwareConfigPtrOutput) EnableHealthMonitoring() pulumi.BoolPtrOutput
Verifies core internal services are running. Default: True.
func (RuntimeSoftwareConfigPtrOutput) IdleShutdown ¶ added in v6.4.0
func (o RuntimeSoftwareConfigPtrOutput) IdleShutdown() pulumi.BoolPtrOutput
Runtime will automatically shutdown after idle_shutdown_time. Default: True
func (RuntimeSoftwareConfigPtrOutput) IdleShutdownTimeout ¶ added in v6.4.0
func (o RuntimeSoftwareConfigPtrOutput) IdleShutdownTimeout() pulumi.IntPtrOutput
Time in minutes to wait before shuting down runtime. Default: 180 minutes
func (RuntimeSoftwareConfigPtrOutput) InstallGpuDriver ¶ added in v6.4.0
func (o RuntimeSoftwareConfigPtrOutput) InstallGpuDriver() pulumi.BoolPtrOutput
Install Nvidia Driver automatically.
func (RuntimeSoftwareConfigPtrOutput) NotebookUpgradeSchedule ¶ added in v6.4.0
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 ¶ added in v6.4.0
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) ToRuntimeSoftwareConfigPtrOutput ¶ added in v6.4.0
func (o RuntimeSoftwareConfigPtrOutput) ToRuntimeSoftwareConfigPtrOutput() RuntimeSoftwareConfigPtrOutput
func (RuntimeSoftwareConfigPtrOutput) ToRuntimeSoftwareConfigPtrOutputWithContext ¶ added in v6.4.0
func (o RuntimeSoftwareConfigPtrOutput) ToRuntimeSoftwareConfigPtrOutputWithContext(ctx context.Context) RuntimeSoftwareConfigPtrOutput
type RuntimeState ¶ added in v6.4.0
type RuntimeState struct { // The config settings for accessing runtime. // Structure is documented below. AccessConfig RuntimeAccessConfigPtrInput // 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 // A reference to the zone where the machine resides. Location pulumi.StringPtrInput // Contains Runtime daemon metrics such as Service status and JupyterLab status Metrics RuntimeMetricArrayInput // The name specified for the Notebook instance. 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 // 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 ¶ added in v6.4.0
func (RuntimeState) ElementType() reflect.Type
type RuntimeVirtualMachine ¶ added in v6.4.0
type RuntimeVirtualMachine struct { // - // The unique identifier of the Managed Compute Engine instance. InstanceId *string `pulumi:"instanceId"` // - // 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 ¶ added in v6.4.0
type RuntimeVirtualMachineArgs struct { // - // The unique identifier of the Managed Compute Engine instance. InstanceId pulumi.StringPtrInput `pulumi:"instanceId"` // - // 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 ¶ added in v6.4.0
func (RuntimeVirtualMachineArgs) ElementType() reflect.Type
func (RuntimeVirtualMachineArgs) ToRuntimeVirtualMachineOutput ¶ added in v6.4.0
func (i RuntimeVirtualMachineArgs) ToRuntimeVirtualMachineOutput() RuntimeVirtualMachineOutput
func (RuntimeVirtualMachineArgs) ToRuntimeVirtualMachineOutputWithContext ¶ added in v6.4.0
func (i RuntimeVirtualMachineArgs) ToRuntimeVirtualMachineOutputWithContext(ctx context.Context) RuntimeVirtualMachineOutput
func (RuntimeVirtualMachineArgs) ToRuntimeVirtualMachinePtrOutput ¶ added in v6.4.0
func (i RuntimeVirtualMachineArgs) ToRuntimeVirtualMachinePtrOutput() RuntimeVirtualMachinePtrOutput
func (RuntimeVirtualMachineArgs) ToRuntimeVirtualMachinePtrOutputWithContext ¶ added in v6.4.0
func (i RuntimeVirtualMachineArgs) ToRuntimeVirtualMachinePtrOutputWithContext(ctx context.Context) RuntimeVirtualMachinePtrOutput
type RuntimeVirtualMachineInput ¶ added in v6.4.0
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 ¶ added in v6.4.0
type RuntimeVirtualMachineOutput struct{ *pulumi.OutputState }
func (RuntimeVirtualMachineOutput) ElementType ¶ added in v6.4.0
func (RuntimeVirtualMachineOutput) ElementType() reflect.Type
func (RuntimeVirtualMachineOutput) InstanceId ¶ added in v6.4.0
func (o RuntimeVirtualMachineOutput) InstanceId() pulumi.StringPtrOutput
- The unique identifier of the Managed Compute Engine instance.
func (RuntimeVirtualMachineOutput) InstanceName ¶ added in v6.4.0
func (o RuntimeVirtualMachineOutput) InstanceName() pulumi.StringPtrOutput
- The user-friendly name of the Managed Compute Engine instance.
func (RuntimeVirtualMachineOutput) ToRuntimeVirtualMachineOutput ¶ added in v6.4.0
func (o RuntimeVirtualMachineOutput) ToRuntimeVirtualMachineOutput() RuntimeVirtualMachineOutput
func (RuntimeVirtualMachineOutput) ToRuntimeVirtualMachineOutputWithContext ¶ added in v6.4.0
func (o RuntimeVirtualMachineOutput) ToRuntimeVirtualMachineOutputWithContext(ctx context.Context) RuntimeVirtualMachineOutput
func (RuntimeVirtualMachineOutput) ToRuntimeVirtualMachinePtrOutput ¶ added in v6.4.0
func (o RuntimeVirtualMachineOutput) ToRuntimeVirtualMachinePtrOutput() RuntimeVirtualMachinePtrOutput
func (RuntimeVirtualMachineOutput) ToRuntimeVirtualMachinePtrOutputWithContext ¶ added in v6.4.0
func (o RuntimeVirtualMachineOutput) ToRuntimeVirtualMachinePtrOutputWithContext(ctx context.Context) RuntimeVirtualMachinePtrOutput
func (RuntimeVirtualMachineOutput) VirtualMachineConfig ¶ added in v6.4.0
func (o RuntimeVirtualMachineOutput) VirtualMachineConfig() RuntimeVirtualMachineVirtualMachineConfigPtrOutput
Virtual Machine configuration settings. Structure is documented below.
type RuntimeVirtualMachinePtrInput ¶ added in v6.4.0
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 ¶ added in v6.4.0
func RuntimeVirtualMachinePtr(v *RuntimeVirtualMachineArgs) RuntimeVirtualMachinePtrInput
type RuntimeVirtualMachinePtrOutput ¶ added in v6.4.0
type RuntimeVirtualMachinePtrOutput struct{ *pulumi.OutputState }
func (RuntimeVirtualMachinePtrOutput) Elem ¶ added in v6.4.0
func (o RuntimeVirtualMachinePtrOutput) Elem() RuntimeVirtualMachineOutput
func (RuntimeVirtualMachinePtrOutput) ElementType ¶ added in v6.4.0
func (RuntimeVirtualMachinePtrOutput) ElementType() reflect.Type
func (RuntimeVirtualMachinePtrOutput) InstanceId ¶ added in v6.4.0
func (o RuntimeVirtualMachinePtrOutput) InstanceId() pulumi.StringPtrOutput
- The unique identifier of the Managed Compute Engine instance.
func (RuntimeVirtualMachinePtrOutput) InstanceName ¶ added in v6.4.0
func (o RuntimeVirtualMachinePtrOutput) InstanceName() pulumi.StringPtrOutput
- The user-friendly name of the Managed Compute Engine instance.
func (RuntimeVirtualMachinePtrOutput) ToRuntimeVirtualMachinePtrOutput ¶ added in v6.4.0
func (o RuntimeVirtualMachinePtrOutput) ToRuntimeVirtualMachinePtrOutput() RuntimeVirtualMachinePtrOutput
func (RuntimeVirtualMachinePtrOutput) ToRuntimeVirtualMachinePtrOutputWithContext ¶ added in v6.4.0
func (o RuntimeVirtualMachinePtrOutput) ToRuntimeVirtualMachinePtrOutputWithContext(ctx context.Context) RuntimeVirtualMachinePtrOutput
func (RuntimeVirtualMachinePtrOutput) VirtualMachineConfig ¶ added in v6.4.0
func (o RuntimeVirtualMachinePtrOutput) VirtualMachineConfig() RuntimeVirtualMachineVirtualMachineConfigPtrOutput
Virtual Machine configuration settings. Structure is documented below.
type RuntimeVirtualMachineVirtualMachineConfig ¶ added in v6.4.0
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"` // - // 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"` // 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"` // 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`, and `GVNIC`. NicType *string `pulumi:"nicType"` // 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"` // - // The zone where the virtual machine is located. Zone *string `pulumi:"zone"` }
type RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfig ¶ added in v6.4.0
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 ¶ added in v6.4.0
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 ¶ added in v6.4.0
func (RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigArgs) ElementType() reflect.Type
func (RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigArgs) ToRuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigOutput ¶ added in v6.4.0
func (i RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigArgs) ToRuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigOutput() RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigOutput
func (RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigArgs) ToRuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigOutputWithContext ¶ added in v6.4.0
func (i RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigArgs) ToRuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigOutputWithContext(ctx context.Context) RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigOutput
func (RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigArgs) ToRuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigPtrOutput ¶ added in v6.4.0
func (i RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigArgs) ToRuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigPtrOutput() RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigPtrOutput
func (RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigArgs) ToRuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigPtrOutputWithContext ¶ added in v6.4.0
func (i RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigArgs) ToRuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigPtrOutputWithContext(ctx context.Context) RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigPtrOutput
type RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigInput ¶ added in v6.4.0
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 ¶ added in v6.4.0
type RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigOutput struct{ *pulumi.OutputState }
func (RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigOutput) CoreCount ¶ added in v6.4.0
func (o RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigOutput) CoreCount() pulumi.IntPtrOutput
Count of cores of this accelerator.
func (RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigOutput) ElementType ¶ added in v6.4.0
func (RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigOutput) ElementType() reflect.Type
func (RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigOutput) ToRuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigOutput ¶ added in v6.4.0
func (o RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigOutput) ToRuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigOutput() RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigOutput
func (RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigOutput) ToRuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigOutputWithContext ¶ added in v6.4.0
func (o RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigOutput) ToRuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigOutputWithContext(ctx context.Context) RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigOutput
func (RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigOutput) ToRuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigPtrOutput ¶ added in v6.4.0
func (o RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigOutput) ToRuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigPtrOutput() RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigPtrOutput
func (RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigOutput) ToRuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigPtrOutputWithContext ¶ added in v6.4.0
func (o RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigOutput) ToRuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigPtrOutputWithContext(ctx context.Context) RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigPtrOutput
func (RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigOutput) Type ¶ added in v6.4.0
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 ¶ added in v6.4.0
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 ¶ added in v6.4.0
func RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigPtr(v *RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigArgs) RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigPtrInput
type RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigPtrOutput ¶ added in v6.4.0
type RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigPtrOutput struct{ *pulumi.OutputState }
func (RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigPtrOutput) CoreCount ¶ added in v6.4.0
func (o RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigPtrOutput) CoreCount() pulumi.IntPtrOutput
Count of cores of this accelerator.
func (RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigPtrOutput) ElementType ¶ added in v6.4.0
func (RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigPtrOutput) ElementType() reflect.Type
func (RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigPtrOutput) ToRuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigPtrOutput ¶ added in v6.4.0
func (o RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigPtrOutput) ToRuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigPtrOutput() RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigPtrOutput
func (RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigPtrOutput) ToRuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigPtrOutputWithContext ¶ added in v6.4.0
func (o RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigPtrOutput) ToRuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigPtrOutputWithContext(ctx context.Context) RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigPtrOutput
func (RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigPtrOutput) Type ¶ added in v6.4.0
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 ¶ added in v6.4.0
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"` // - // 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"` // 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"` // 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`, and `GVNIC`. NicType pulumi.StringPtrInput `pulumi:"nicType"` // 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"` // - // The zone where the virtual machine is located. Zone pulumi.StringPtrInput `pulumi:"zone"` }
func (RuntimeVirtualMachineVirtualMachineConfigArgs) ElementType ¶ added in v6.4.0
func (RuntimeVirtualMachineVirtualMachineConfigArgs) ElementType() reflect.Type
func (RuntimeVirtualMachineVirtualMachineConfigArgs) ToRuntimeVirtualMachineVirtualMachineConfigOutput ¶ added in v6.4.0
func (i RuntimeVirtualMachineVirtualMachineConfigArgs) ToRuntimeVirtualMachineVirtualMachineConfigOutput() RuntimeVirtualMachineVirtualMachineConfigOutput
func (RuntimeVirtualMachineVirtualMachineConfigArgs) ToRuntimeVirtualMachineVirtualMachineConfigOutputWithContext ¶ added in v6.4.0
func (i RuntimeVirtualMachineVirtualMachineConfigArgs) ToRuntimeVirtualMachineVirtualMachineConfigOutputWithContext(ctx context.Context) RuntimeVirtualMachineVirtualMachineConfigOutput
func (RuntimeVirtualMachineVirtualMachineConfigArgs) ToRuntimeVirtualMachineVirtualMachineConfigPtrOutput ¶ added in v6.4.0
func (i RuntimeVirtualMachineVirtualMachineConfigArgs) ToRuntimeVirtualMachineVirtualMachineConfigPtrOutput() RuntimeVirtualMachineVirtualMachineConfigPtrOutput
func (RuntimeVirtualMachineVirtualMachineConfigArgs) ToRuntimeVirtualMachineVirtualMachineConfigPtrOutputWithContext ¶ added in v6.4.0
func (i RuntimeVirtualMachineVirtualMachineConfigArgs) ToRuntimeVirtualMachineVirtualMachineConfigPtrOutputWithContext(ctx context.Context) RuntimeVirtualMachineVirtualMachineConfigPtrOutput
type RuntimeVirtualMachineVirtualMachineConfigContainerImage ¶ added in v6.4.0
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 ¶ added in v6.4.0
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 ¶ added in v6.4.0
func (RuntimeVirtualMachineVirtualMachineConfigContainerImageArgs) ElementType() reflect.Type
func (RuntimeVirtualMachineVirtualMachineConfigContainerImageArgs) ToRuntimeVirtualMachineVirtualMachineConfigContainerImageOutput ¶ added in v6.4.0
func (i RuntimeVirtualMachineVirtualMachineConfigContainerImageArgs) ToRuntimeVirtualMachineVirtualMachineConfigContainerImageOutput() RuntimeVirtualMachineVirtualMachineConfigContainerImageOutput
func (RuntimeVirtualMachineVirtualMachineConfigContainerImageArgs) ToRuntimeVirtualMachineVirtualMachineConfigContainerImageOutputWithContext ¶ added in v6.4.0
func (i RuntimeVirtualMachineVirtualMachineConfigContainerImageArgs) ToRuntimeVirtualMachineVirtualMachineConfigContainerImageOutputWithContext(ctx context.Context) RuntimeVirtualMachineVirtualMachineConfigContainerImageOutput
type RuntimeVirtualMachineVirtualMachineConfigContainerImageArray ¶ added in v6.4.0
type RuntimeVirtualMachineVirtualMachineConfigContainerImageArray []RuntimeVirtualMachineVirtualMachineConfigContainerImageInput
func (RuntimeVirtualMachineVirtualMachineConfigContainerImageArray) ElementType ¶ added in v6.4.0
func (RuntimeVirtualMachineVirtualMachineConfigContainerImageArray) ElementType() reflect.Type
func (RuntimeVirtualMachineVirtualMachineConfigContainerImageArray) ToRuntimeVirtualMachineVirtualMachineConfigContainerImageArrayOutput ¶ added in v6.4.0
func (i RuntimeVirtualMachineVirtualMachineConfigContainerImageArray) ToRuntimeVirtualMachineVirtualMachineConfigContainerImageArrayOutput() RuntimeVirtualMachineVirtualMachineConfigContainerImageArrayOutput
func (RuntimeVirtualMachineVirtualMachineConfigContainerImageArray) ToRuntimeVirtualMachineVirtualMachineConfigContainerImageArrayOutputWithContext ¶ added in v6.4.0
func (i RuntimeVirtualMachineVirtualMachineConfigContainerImageArray) ToRuntimeVirtualMachineVirtualMachineConfigContainerImageArrayOutputWithContext(ctx context.Context) RuntimeVirtualMachineVirtualMachineConfigContainerImageArrayOutput
type RuntimeVirtualMachineVirtualMachineConfigContainerImageArrayInput ¶ added in v6.4.0
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 ¶ added in v6.4.0
type RuntimeVirtualMachineVirtualMachineConfigContainerImageArrayOutput struct{ *pulumi.OutputState }
func (RuntimeVirtualMachineVirtualMachineConfigContainerImageArrayOutput) ElementType ¶ added in v6.4.0
func (RuntimeVirtualMachineVirtualMachineConfigContainerImageArrayOutput) ElementType() reflect.Type
func (RuntimeVirtualMachineVirtualMachineConfigContainerImageArrayOutput) ToRuntimeVirtualMachineVirtualMachineConfigContainerImageArrayOutput ¶ added in v6.4.0
func (o RuntimeVirtualMachineVirtualMachineConfigContainerImageArrayOutput) ToRuntimeVirtualMachineVirtualMachineConfigContainerImageArrayOutput() RuntimeVirtualMachineVirtualMachineConfigContainerImageArrayOutput
func (RuntimeVirtualMachineVirtualMachineConfigContainerImageArrayOutput) ToRuntimeVirtualMachineVirtualMachineConfigContainerImageArrayOutputWithContext ¶ added in v6.4.0
func (o RuntimeVirtualMachineVirtualMachineConfigContainerImageArrayOutput) ToRuntimeVirtualMachineVirtualMachineConfigContainerImageArrayOutputWithContext(ctx context.Context) RuntimeVirtualMachineVirtualMachineConfigContainerImageArrayOutput
type RuntimeVirtualMachineVirtualMachineConfigContainerImageInput ¶ added in v6.4.0
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 ¶ added in v6.4.0
type RuntimeVirtualMachineVirtualMachineConfigContainerImageOutput struct{ *pulumi.OutputState }
func (RuntimeVirtualMachineVirtualMachineConfigContainerImageOutput) ElementType ¶ added in v6.4.0
func (RuntimeVirtualMachineVirtualMachineConfigContainerImageOutput) ElementType() reflect.Type
func (RuntimeVirtualMachineVirtualMachineConfigContainerImageOutput) Repository ¶ added in v6.4.0
func (o RuntimeVirtualMachineVirtualMachineConfigContainerImageOutput) Repository() pulumi.StringOutput
The path to the container image repository. For example: gcr.io/{project_id}/{imageName}
func (RuntimeVirtualMachineVirtualMachineConfigContainerImageOutput) Tag ¶ added in v6.4.0
The tag of the container image. If not specified, this defaults to the latest tag.
func (RuntimeVirtualMachineVirtualMachineConfigContainerImageOutput) ToRuntimeVirtualMachineVirtualMachineConfigContainerImageOutput ¶ added in v6.4.0
func (o RuntimeVirtualMachineVirtualMachineConfigContainerImageOutput) ToRuntimeVirtualMachineVirtualMachineConfigContainerImageOutput() RuntimeVirtualMachineVirtualMachineConfigContainerImageOutput
func (RuntimeVirtualMachineVirtualMachineConfigContainerImageOutput) ToRuntimeVirtualMachineVirtualMachineConfigContainerImageOutputWithContext ¶ added in v6.4.0
func (o RuntimeVirtualMachineVirtualMachineConfigContainerImageOutput) ToRuntimeVirtualMachineVirtualMachineConfigContainerImageOutputWithContext(ctx context.Context) RuntimeVirtualMachineVirtualMachineConfigContainerImageOutput
type RuntimeVirtualMachineVirtualMachineConfigDataDisk ¶ added in v6.4.0
type RuntimeVirtualMachineVirtualMachineConfigDataDisk struct { // - // 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"` // - // 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"` // - // 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"` // - // 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 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"` // - // Type of the resource. Always compute#attachedDisk for attached // disks. Kind *string `pulumi:"kind"` // - // 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"` // 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 RuntimeVirtualMachineVirtualMachineConfigDataDiskArgs ¶ added in v6.4.0
type RuntimeVirtualMachineVirtualMachineConfigDataDiskArgs struct { // - // 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"` // - // 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"` // - // 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"` // - // 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 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"` // - // Type of the resource. Always compute#attachedDisk for attached // disks. Kind pulumi.StringPtrInput `pulumi:"kind"` // - // 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"` // 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 (RuntimeVirtualMachineVirtualMachineConfigDataDiskArgs) ElementType ¶ added in v6.4.0
func (RuntimeVirtualMachineVirtualMachineConfigDataDiskArgs) ElementType() reflect.Type
func (RuntimeVirtualMachineVirtualMachineConfigDataDiskArgs) ToRuntimeVirtualMachineVirtualMachineConfigDataDiskOutput ¶ added in v6.4.0
func (i RuntimeVirtualMachineVirtualMachineConfigDataDiskArgs) ToRuntimeVirtualMachineVirtualMachineConfigDataDiskOutput() RuntimeVirtualMachineVirtualMachineConfigDataDiskOutput
func (RuntimeVirtualMachineVirtualMachineConfigDataDiskArgs) ToRuntimeVirtualMachineVirtualMachineConfigDataDiskOutputWithContext ¶ added in v6.4.0
func (i RuntimeVirtualMachineVirtualMachineConfigDataDiskArgs) ToRuntimeVirtualMachineVirtualMachineConfigDataDiskOutputWithContext(ctx context.Context) RuntimeVirtualMachineVirtualMachineConfigDataDiskOutput
func (RuntimeVirtualMachineVirtualMachineConfigDataDiskArgs) ToRuntimeVirtualMachineVirtualMachineConfigDataDiskPtrOutput ¶ added in v6.4.0
func (i RuntimeVirtualMachineVirtualMachineConfigDataDiskArgs) ToRuntimeVirtualMachineVirtualMachineConfigDataDiskPtrOutput() RuntimeVirtualMachineVirtualMachineConfigDataDiskPtrOutput
func (RuntimeVirtualMachineVirtualMachineConfigDataDiskArgs) ToRuntimeVirtualMachineVirtualMachineConfigDataDiskPtrOutputWithContext ¶ added in v6.4.0
func (i RuntimeVirtualMachineVirtualMachineConfigDataDiskArgs) ToRuntimeVirtualMachineVirtualMachineConfigDataDiskPtrOutputWithContext(ctx context.Context) RuntimeVirtualMachineVirtualMachineConfigDataDiskPtrOutput
type RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParams ¶ added in v6.4.0
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 ¶ added in v6.4.0
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 ¶ added in v6.4.0
func (RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsArgs) ElementType() reflect.Type
func (RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsArgs) ToRuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsOutput ¶ added in v6.4.0
func (i RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsArgs) ToRuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsOutput() RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsOutput
func (RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsArgs) ToRuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsOutputWithContext ¶ added in v6.4.0
func (i RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsArgs) ToRuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsOutputWithContext(ctx context.Context) RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsOutput
func (RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsArgs) ToRuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsPtrOutput ¶ added in v6.4.0
func (i RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsArgs) ToRuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsPtrOutput() RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsPtrOutput
func (RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsArgs) ToRuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsPtrOutputWithContext ¶ added in v6.4.0
func (i RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsArgs) ToRuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsPtrOutputWithContext(ctx context.Context) RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsPtrOutput
type RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsInput ¶ added in v6.4.0
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 ¶ added in v6.4.0
type RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsOutput struct{ *pulumi.OutputState }
func (RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsOutput) Description ¶ added in v6.4.0
func (o RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsOutput) Description() pulumi.StringPtrOutput
Provide this property when creating the disk.
func (RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsOutput) DiskName ¶ added in v6.4.0
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 ¶ added in v6.4.0
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 ¶ added in v6.4.0
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 ¶ added in v6.4.0
func (RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsOutput) ElementType() reflect.Type
func (RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsOutput) Labels ¶ added in v6.4.0
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 ¶ added in v6.4.0
func (o RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsOutput) ToRuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsOutput() RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsOutput
func (RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsOutput) ToRuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsOutputWithContext ¶ added in v6.4.0
func (o RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsOutput) ToRuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsOutputWithContext(ctx context.Context) RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsOutput
func (RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsOutput) ToRuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsPtrOutput ¶ added in v6.4.0
func (o RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsOutput) ToRuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsPtrOutput() RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsPtrOutput
func (RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsOutput) ToRuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsPtrOutputWithContext ¶ added in v6.4.0
func (o RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsOutput) ToRuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsPtrOutputWithContext(ctx context.Context) RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsPtrOutput
type RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsPtrInput ¶ added in v6.4.0
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 ¶ added in v6.4.0
func RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsPtr(v *RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsArgs) RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsPtrInput
type RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsPtrOutput ¶ added in v6.4.0
type RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsPtrOutput struct{ *pulumi.OutputState }
func (RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsPtrOutput) Description ¶ added in v6.4.0
func (o RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsPtrOutput) Description() pulumi.StringPtrOutput
Provide this property when creating the disk.
func (RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsPtrOutput) DiskName ¶ added in v6.4.0
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 ¶ added in v6.4.0
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 ¶ added in v6.4.0
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) Elem ¶ added in v6.4.0
func (RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsPtrOutput) ElementType ¶ added in v6.4.0
func (RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsPtrOutput) ElementType() reflect.Type
func (RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsPtrOutput) Labels ¶ added in v6.4.0
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 ¶ added in v6.4.0
func (o RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsPtrOutput) ToRuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsPtrOutput() RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsPtrOutput
func (RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsPtrOutput) ToRuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsPtrOutputWithContext ¶ added in v6.4.0
func (o RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsPtrOutput) ToRuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsPtrOutputWithContext(ctx context.Context) RuntimeVirtualMachineVirtualMachineConfigDataDiskInitializeParamsPtrOutput
type RuntimeVirtualMachineVirtualMachineConfigDataDiskInput ¶ added in v6.4.0
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 ¶ added in v6.4.0
type RuntimeVirtualMachineVirtualMachineConfigDataDiskOutput struct{ *pulumi.OutputState }
func (RuntimeVirtualMachineVirtualMachineConfigDataDiskOutput) AutoDelete ¶ added in v6.4.0
func (o RuntimeVirtualMachineVirtualMachineConfigDataDiskOutput) AutoDelete() pulumi.BoolPtrOutput
- 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 ¶ added in v6.4.0
- 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 ¶ added in v6.4.0
func (o RuntimeVirtualMachineVirtualMachineConfigDataDiskOutput) DeviceName() pulumi.StringPtrOutput
- 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 ¶ added in v6.4.0
func (RuntimeVirtualMachineVirtualMachineConfigDataDiskOutput) ElementType() reflect.Type
func (RuntimeVirtualMachineVirtualMachineConfigDataDiskOutput) GuestOsFeatures ¶ added in v6.4.0
func (o RuntimeVirtualMachineVirtualMachineConfigDataDiskOutput) GuestOsFeatures() pulumi.StringArrayOutput
- 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 ¶ added in v6.4.0
func (o RuntimeVirtualMachineVirtualMachineConfigDataDiskOutput) Index() pulumi.IntPtrOutput
- 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 ¶ added in v6.4.0
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 ¶ added in v6.4.0
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 ¶ added in v6.4.0
- Type of the resource. Always compute#attachedDisk for attached disks.
func (RuntimeVirtualMachineVirtualMachineConfigDataDiskOutput) Licenses ¶ added in v6.4.0
func (o RuntimeVirtualMachineVirtualMachineConfigDataDiskOutput) Licenses() pulumi.StringArrayOutput
- Output only. Any valid publicly visible licenses.
func (RuntimeVirtualMachineVirtualMachineConfigDataDiskOutput) Mode ¶ added in v6.4.0
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 ¶ added in v6.4.0
func (o RuntimeVirtualMachineVirtualMachineConfigDataDiskOutput) Source() pulumi.StringPtrOutput
Specifies a valid partial or full URL to an existing Persistent Disk resource.
func (RuntimeVirtualMachineVirtualMachineConfigDataDiskOutput) ToRuntimeVirtualMachineVirtualMachineConfigDataDiskOutput ¶ added in v6.4.0
func (o RuntimeVirtualMachineVirtualMachineConfigDataDiskOutput) ToRuntimeVirtualMachineVirtualMachineConfigDataDiskOutput() RuntimeVirtualMachineVirtualMachineConfigDataDiskOutput
func (RuntimeVirtualMachineVirtualMachineConfigDataDiskOutput) ToRuntimeVirtualMachineVirtualMachineConfigDataDiskOutputWithContext ¶ added in v6.4.0
func (o RuntimeVirtualMachineVirtualMachineConfigDataDiskOutput) ToRuntimeVirtualMachineVirtualMachineConfigDataDiskOutputWithContext(ctx context.Context) RuntimeVirtualMachineVirtualMachineConfigDataDiskOutput
func (RuntimeVirtualMachineVirtualMachineConfigDataDiskOutput) ToRuntimeVirtualMachineVirtualMachineConfigDataDiskPtrOutput ¶ added in v6.4.0
func (o RuntimeVirtualMachineVirtualMachineConfigDataDiskOutput) ToRuntimeVirtualMachineVirtualMachineConfigDataDiskPtrOutput() RuntimeVirtualMachineVirtualMachineConfigDataDiskPtrOutput
func (RuntimeVirtualMachineVirtualMachineConfigDataDiskOutput) ToRuntimeVirtualMachineVirtualMachineConfigDataDiskPtrOutputWithContext ¶ added in v6.4.0
func (o RuntimeVirtualMachineVirtualMachineConfigDataDiskOutput) ToRuntimeVirtualMachineVirtualMachineConfigDataDiskPtrOutputWithContext(ctx context.Context) RuntimeVirtualMachineVirtualMachineConfigDataDiskPtrOutput
func (RuntimeVirtualMachineVirtualMachineConfigDataDiskOutput) Type ¶ added in v6.4.0
Accelerator model. For valid values, see `https://cloud.google.com/vertex-ai/docs/workbench/reference/ rest/v1/projects.locations.runtimes#AcceleratorType`
type RuntimeVirtualMachineVirtualMachineConfigDataDiskPtrInput ¶ added in v6.4.0
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 ¶ added in v6.4.0
func RuntimeVirtualMachineVirtualMachineConfigDataDiskPtr(v *RuntimeVirtualMachineVirtualMachineConfigDataDiskArgs) RuntimeVirtualMachineVirtualMachineConfigDataDiskPtrInput
type RuntimeVirtualMachineVirtualMachineConfigDataDiskPtrOutput ¶ added in v6.4.0
type RuntimeVirtualMachineVirtualMachineConfigDataDiskPtrOutput struct{ *pulumi.OutputState }
func (RuntimeVirtualMachineVirtualMachineConfigDataDiskPtrOutput) AutoDelete ¶ added in v6.4.0
func (o RuntimeVirtualMachineVirtualMachineConfigDataDiskPtrOutput) AutoDelete() pulumi.BoolPtrOutput
- 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 ¶ added in v6.4.0
- 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 ¶ added in v6.4.0
func (o RuntimeVirtualMachineVirtualMachineConfigDataDiskPtrOutput) DeviceName() pulumi.StringPtrOutput
- 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 ¶ added in v6.4.0
func (RuntimeVirtualMachineVirtualMachineConfigDataDiskPtrOutput) ElementType() reflect.Type
func (RuntimeVirtualMachineVirtualMachineConfigDataDiskPtrOutput) GuestOsFeatures ¶ added in v6.4.0
func (o RuntimeVirtualMachineVirtualMachineConfigDataDiskPtrOutput) GuestOsFeatures() pulumi.StringArrayOutput
- 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 ¶ added in v6.4.0
func (o RuntimeVirtualMachineVirtualMachineConfigDataDiskPtrOutput) Index() pulumi.IntPtrOutput
- 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 ¶ added in v6.4.0
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 ¶ added in v6.4.0
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 ¶ added in v6.4.0
- Type of the resource. Always compute#attachedDisk for attached disks.
func (RuntimeVirtualMachineVirtualMachineConfigDataDiskPtrOutput) Licenses ¶ added in v6.4.0
func (o RuntimeVirtualMachineVirtualMachineConfigDataDiskPtrOutput) Licenses() pulumi.StringArrayOutput
- Output only. Any valid publicly visible licenses.
func (RuntimeVirtualMachineVirtualMachineConfigDataDiskPtrOutput) Mode ¶ added in v6.4.0
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 ¶ added in v6.4.0
func (o RuntimeVirtualMachineVirtualMachineConfigDataDiskPtrOutput) Source() pulumi.StringPtrOutput
Specifies a valid partial or full URL to an existing Persistent Disk resource.
func (RuntimeVirtualMachineVirtualMachineConfigDataDiskPtrOutput) ToRuntimeVirtualMachineVirtualMachineConfigDataDiskPtrOutput ¶ added in v6.4.0
func (o RuntimeVirtualMachineVirtualMachineConfigDataDiskPtrOutput) ToRuntimeVirtualMachineVirtualMachineConfigDataDiskPtrOutput() RuntimeVirtualMachineVirtualMachineConfigDataDiskPtrOutput
func (RuntimeVirtualMachineVirtualMachineConfigDataDiskPtrOutput) ToRuntimeVirtualMachineVirtualMachineConfigDataDiskPtrOutputWithContext ¶ added in v6.4.0
func (o RuntimeVirtualMachineVirtualMachineConfigDataDiskPtrOutput) ToRuntimeVirtualMachineVirtualMachineConfigDataDiskPtrOutputWithContext(ctx context.Context) RuntimeVirtualMachineVirtualMachineConfigDataDiskPtrOutput
func (RuntimeVirtualMachineVirtualMachineConfigDataDiskPtrOutput) Type ¶ added in v6.4.0
Accelerator model. For valid values, see `https://cloud.google.com/vertex-ai/docs/workbench/reference/ rest/v1/projects.locations.runtimes#AcceleratorType`
type RuntimeVirtualMachineVirtualMachineConfigEncryptionConfig ¶ added in v6.4.0
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 ¶ added in v6.4.0
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 ¶ added in v6.4.0
func (RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigArgs) ElementType() reflect.Type
func (RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigArgs) ToRuntimeVirtualMachineVirtualMachineConfigEncryptionConfigOutput ¶ added in v6.4.0
func (i RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigArgs) ToRuntimeVirtualMachineVirtualMachineConfigEncryptionConfigOutput() RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigOutput
func (RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigArgs) ToRuntimeVirtualMachineVirtualMachineConfigEncryptionConfigOutputWithContext ¶ added in v6.4.0
func (i RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigArgs) ToRuntimeVirtualMachineVirtualMachineConfigEncryptionConfigOutputWithContext(ctx context.Context) RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigOutput
func (RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigArgs) ToRuntimeVirtualMachineVirtualMachineConfigEncryptionConfigPtrOutput ¶ added in v6.4.0
func (i RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigArgs) ToRuntimeVirtualMachineVirtualMachineConfigEncryptionConfigPtrOutput() RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigPtrOutput
func (RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigArgs) ToRuntimeVirtualMachineVirtualMachineConfigEncryptionConfigPtrOutputWithContext ¶ added in v6.4.0
func (i RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigArgs) ToRuntimeVirtualMachineVirtualMachineConfigEncryptionConfigPtrOutputWithContext(ctx context.Context) RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigPtrOutput
type RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigInput ¶ added in v6.4.0
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 ¶ added in v6.4.0
type RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigOutput struct{ *pulumi.OutputState }
func (RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigOutput) ElementType ¶ added in v6.4.0
func (RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigOutput) ElementType() reflect.Type
func (RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigOutput) KmsKey ¶ added in v6.4.0
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 ¶ added in v6.4.0
func (o RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigOutput) ToRuntimeVirtualMachineVirtualMachineConfigEncryptionConfigOutput() RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigOutput
func (RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigOutput) ToRuntimeVirtualMachineVirtualMachineConfigEncryptionConfigOutputWithContext ¶ added in v6.4.0
func (o RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigOutput) ToRuntimeVirtualMachineVirtualMachineConfigEncryptionConfigOutputWithContext(ctx context.Context) RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigOutput
func (RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigOutput) ToRuntimeVirtualMachineVirtualMachineConfigEncryptionConfigPtrOutput ¶ added in v6.4.0
func (o RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigOutput) ToRuntimeVirtualMachineVirtualMachineConfigEncryptionConfigPtrOutput() RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigPtrOutput
func (RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigOutput) ToRuntimeVirtualMachineVirtualMachineConfigEncryptionConfigPtrOutputWithContext ¶ added in v6.4.0
func (o RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigOutput) ToRuntimeVirtualMachineVirtualMachineConfigEncryptionConfigPtrOutputWithContext(ctx context.Context) RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigPtrOutput
type RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigPtrInput ¶ added in v6.4.0
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 ¶ added in v6.4.0
func RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigPtr(v *RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigArgs) RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigPtrInput
type RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigPtrOutput ¶ added in v6.4.0
type RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigPtrOutput struct{ *pulumi.OutputState }
func (RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigPtrOutput) ElementType ¶ added in v6.4.0
func (RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigPtrOutput) ElementType() reflect.Type
func (RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigPtrOutput) KmsKey ¶ added in v6.4.0
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 ¶ added in v6.4.0
func (o RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigPtrOutput) ToRuntimeVirtualMachineVirtualMachineConfigEncryptionConfigPtrOutput() RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigPtrOutput
func (RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigPtrOutput) ToRuntimeVirtualMachineVirtualMachineConfigEncryptionConfigPtrOutputWithContext ¶ added in v6.4.0
func (o RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigPtrOutput) ToRuntimeVirtualMachineVirtualMachineConfigEncryptionConfigPtrOutputWithContext(ctx context.Context) RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigPtrOutput
type RuntimeVirtualMachineVirtualMachineConfigInput ¶ added in v6.4.0
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 ¶ added in v6.4.0
type RuntimeVirtualMachineVirtualMachineConfigOutput struct{ *pulumi.OutputState }
func (RuntimeVirtualMachineVirtualMachineConfigOutput) AcceleratorConfig ¶ added in v6.4.0
func (o RuntimeVirtualMachineVirtualMachineConfigOutput) AcceleratorConfig() RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigPtrOutput
The Compute Engine accelerator configuration for this runtime. Structure is documented below.
func (RuntimeVirtualMachineVirtualMachineConfigOutput) ContainerImages ¶ added in v6.4.0
func (o RuntimeVirtualMachineVirtualMachineConfigOutput) ContainerImages() RuntimeVirtualMachineVirtualMachineConfigContainerImageArrayOutput
Use a list of container images to start the notebook instance. Structure is documented below.
func (RuntimeVirtualMachineVirtualMachineConfigOutput) DataDisk ¶ added in v6.4.0
func (o RuntimeVirtualMachineVirtualMachineConfigOutput) DataDisk() RuntimeVirtualMachineVirtualMachineConfigDataDiskOutput
Data disk option configuration settings. Structure is documented below.
func (RuntimeVirtualMachineVirtualMachineConfigOutput) ElementType ¶ added in v6.4.0
func (RuntimeVirtualMachineVirtualMachineConfigOutput) ElementType() reflect.Type
func (RuntimeVirtualMachineVirtualMachineConfigOutput) EncryptionConfig ¶ added in v6.4.0
func (o RuntimeVirtualMachineVirtualMachineConfigOutput) EncryptionConfig() RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigPtrOutput
Encryption settings for virtual machine data disk. Structure is documented below.
func (RuntimeVirtualMachineVirtualMachineConfigOutput) GuestAttributes ¶ added in v6.4.0
func (o RuntimeVirtualMachineVirtualMachineConfigOutput) GuestAttributes() pulumi.StringMapOutput
- 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 ¶ added in v6.4.0
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 ¶ added in v6.4.0
func (o RuntimeVirtualMachineVirtualMachineConfigOutput) 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 (RuntimeVirtualMachineVirtualMachineConfigOutput) MachineType ¶ added in v6.4.0
func (o RuntimeVirtualMachineVirtualMachineConfigOutput) MachineType() pulumi.StringOutput
The Compute Engine machine type used for runtimes.
func (RuntimeVirtualMachineVirtualMachineConfigOutput) Metadata ¶ added in v6.4.0
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 ¶ added in v6.4.0
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 ¶ added in v6.4.0
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`, and `GVNIC`.
func (RuntimeVirtualMachineVirtualMachineConfigOutput) ShieldedInstanceConfig ¶ added in v6.4.0
func (o RuntimeVirtualMachineVirtualMachineConfigOutput) ShieldedInstanceConfig() RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigPtrOutput
Shielded VM Instance configuration settings. Structure is documented below.
func (RuntimeVirtualMachineVirtualMachineConfigOutput) Subnet ¶ added in v6.4.0
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 ¶ added in v6.4.0
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 ¶ added in v6.4.0
func (o RuntimeVirtualMachineVirtualMachineConfigOutput) ToRuntimeVirtualMachineVirtualMachineConfigOutput() RuntimeVirtualMachineVirtualMachineConfigOutput
func (RuntimeVirtualMachineVirtualMachineConfigOutput) ToRuntimeVirtualMachineVirtualMachineConfigOutputWithContext ¶ added in v6.4.0
func (o RuntimeVirtualMachineVirtualMachineConfigOutput) ToRuntimeVirtualMachineVirtualMachineConfigOutputWithContext(ctx context.Context) RuntimeVirtualMachineVirtualMachineConfigOutput
func (RuntimeVirtualMachineVirtualMachineConfigOutput) ToRuntimeVirtualMachineVirtualMachineConfigPtrOutput ¶ added in v6.4.0
func (o RuntimeVirtualMachineVirtualMachineConfigOutput) ToRuntimeVirtualMachineVirtualMachineConfigPtrOutput() RuntimeVirtualMachineVirtualMachineConfigPtrOutput
func (RuntimeVirtualMachineVirtualMachineConfigOutput) ToRuntimeVirtualMachineVirtualMachineConfigPtrOutputWithContext ¶ added in v6.4.0
func (o RuntimeVirtualMachineVirtualMachineConfigOutput) ToRuntimeVirtualMachineVirtualMachineConfigPtrOutputWithContext(ctx context.Context) RuntimeVirtualMachineVirtualMachineConfigPtrOutput
func (RuntimeVirtualMachineVirtualMachineConfigOutput) Zone ¶ added in v6.4.0
func (o RuntimeVirtualMachineVirtualMachineConfigOutput) Zone() pulumi.StringPtrOutput
- The zone where the virtual machine is located.
type RuntimeVirtualMachineVirtualMachineConfigPtrInput ¶ added in v6.4.0
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 ¶ added in v6.4.0
func RuntimeVirtualMachineVirtualMachineConfigPtr(v *RuntimeVirtualMachineVirtualMachineConfigArgs) RuntimeVirtualMachineVirtualMachineConfigPtrInput
type RuntimeVirtualMachineVirtualMachineConfigPtrOutput ¶ added in v6.4.0
type RuntimeVirtualMachineVirtualMachineConfigPtrOutput struct{ *pulumi.OutputState }
func (RuntimeVirtualMachineVirtualMachineConfigPtrOutput) AcceleratorConfig ¶ added in v6.4.0
func (o RuntimeVirtualMachineVirtualMachineConfigPtrOutput) AcceleratorConfig() RuntimeVirtualMachineVirtualMachineConfigAcceleratorConfigPtrOutput
The Compute Engine accelerator configuration for this runtime. Structure is documented below.
func (RuntimeVirtualMachineVirtualMachineConfigPtrOutput) ContainerImages ¶ added in v6.4.0
func (o RuntimeVirtualMachineVirtualMachineConfigPtrOutput) ContainerImages() RuntimeVirtualMachineVirtualMachineConfigContainerImageArrayOutput
Use a list of container images to start the notebook instance. Structure is documented below.
func (RuntimeVirtualMachineVirtualMachineConfigPtrOutput) DataDisk ¶ added in v6.4.0
func (o RuntimeVirtualMachineVirtualMachineConfigPtrOutput) DataDisk() RuntimeVirtualMachineVirtualMachineConfigDataDiskPtrOutput
Data disk option configuration settings. Structure is documented below.
func (RuntimeVirtualMachineVirtualMachineConfigPtrOutput) ElementType ¶ added in v6.4.0
func (RuntimeVirtualMachineVirtualMachineConfigPtrOutput) ElementType() reflect.Type
func (RuntimeVirtualMachineVirtualMachineConfigPtrOutput) EncryptionConfig ¶ added in v6.4.0
func (o RuntimeVirtualMachineVirtualMachineConfigPtrOutput) EncryptionConfig() RuntimeVirtualMachineVirtualMachineConfigEncryptionConfigPtrOutput
Encryption settings for virtual machine data disk. Structure is documented below.
func (RuntimeVirtualMachineVirtualMachineConfigPtrOutput) GuestAttributes ¶ added in v6.4.0
func (o RuntimeVirtualMachineVirtualMachineConfigPtrOutput) GuestAttributes() pulumi.StringMapOutput
- 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 ¶ added in v6.4.0
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 ¶ added in v6.4.0
func (o RuntimeVirtualMachineVirtualMachineConfigPtrOutput) 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 (RuntimeVirtualMachineVirtualMachineConfigPtrOutput) MachineType ¶ added in v6.4.0
func (o RuntimeVirtualMachineVirtualMachineConfigPtrOutput) MachineType() pulumi.StringPtrOutput
The Compute Engine machine type used for runtimes.
func (RuntimeVirtualMachineVirtualMachineConfigPtrOutput) Metadata ¶ added in v6.4.0
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 ¶ added in v6.4.0
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 ¶ added in v6.4.0
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`, and `GVNIC`.
func (RuntimeVirtualMachineVirtualMachineConfigPtrOutput) ShieldedInstanceConfig ¶ added in v6.4.0
func (o RuntimeVirtualMachineVirtualMachineConfigPtrOutput) ShieldedInstanceConfig() RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigPtrOutput
Shielded VM Instance configuration settings. Structure is documented below.
func (RuntimeVirtualMachineVirtualMachineConfigPtrOutput) Subnet ¶ added in v6.4.0
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 ¶ added in v6.4.0
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 ¶ added in v6.4.0
func (o RuntimeVirtualMachineVirtualMachineConfigPtrOutput) ToRuntimeVirtualMachineVirtualMachineConfigPtrOutput() RuntimeVirtualMachineVirtualMachineConfigPtrOutput
func (RuntimeVirtualMachineVirtualMachineConfigPtrOutput) ToRuntimeVirtualMachineVirtualMachineConfigPtrOutputWithContext ¶ added in v6.4.0
func (o RuntimeVirtualMachineVirtualMachineConfigPtrOutput) ToRuntimeVirtualMachineVirtualMachineConfigPtrOutputWithContext(ctx context.Context) RuntimeVirtualMachineVirtualMachineConfigPtrOutput
func (RuntimeVirtualMachineVirtualMachineConfigPtrOutput) Zone ¶ added in v6.4.0
func (o RuntimeVirtualMachineVirtualMachineConfigPtrOutput) Zone() pulumi.StringPtrOutput
- The zone where the virtual machine is located.
type RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfig ¶ added in v6.4.0
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 ¶ added in v6.4.0
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 ¶ added in v6.4.0
func (RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigArgs) ElementType() reflect.Type
func (RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigArgs) ToRuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigOutput ¶ added in v6.4.0
func (i RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigArgs) ToRuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigOutput() RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigOutput
func (RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigArgs) ToRuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigOutputWithContext ¶ added in v6.4.0
func (i RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigArgs) ToRuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigOutputWithContext(ctx context.Context) RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigOutput
func (RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigArgs) ToRuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigPtrOutput ¶ added in v6.4.0
func (i RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigArgs) ToRuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigPtrOutput() RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigPtrOutput
func (RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigArgs) ToRuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigPtrOutputWithContext ¶ added in v6.4.0
func (i RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigArgs) ToRuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigPtrOutputWithContext(ctx context.Context) RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigPtrOutput
type RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigInput ¶ added in v6.4.0
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 ¶ added in v6.4.0
type RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigOutput struct{ *pulumi.OutputState }
func (RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigOutput) ElementType ¶ added in v6.4.0
func (RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigOutput) ElementType() reflect.Type
func (RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigOutput) EnableIntegrityMonitoring ¶ added in v6.4.0
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 ¶ added in v6.4.0
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 ¶ added in v6.4.0
func (o RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigOutput) EnableVtpm() pulumi.BoolPtrOutput
Defines whether the instance has the vTPM enabled. Enabled by default.
func (RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigOutput) ToRuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigOutput ¶ added in v6.4.0
func (o RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigOutput) ToRuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigOutput() RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigOutput
func (RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigOutput) ToRuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigOutputWithContext ¶ added in v6.4.0
func (o RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigOutput) ToRuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigOutputWithContext(ctx context.Context) RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigOutput
func (RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigOutput) ToRuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigPtrOutput ¶ added in v6.4.0
func (o RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigOutput) ToRuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigPtrOutput() RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigPtrOutput
func (RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigOutput) ToRuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigPtrOutputWithContext ¶ added in v6.4.0
func (o RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigOutput) ToRuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigPtrOutputWithContext(ctx context.Context) RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigPtrOutput
type RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigPtrInput ¶ added in v6.4.0
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 ¶ added in v6.4.0
func RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigPtr(v *RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigArgs) RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigPtrInput
type RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigPtrOutput ¶ added in v6.4.0
type RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigPtrOutput struct{ *pulumi.OutputState }
func (RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigPtrOutput) Elem ¶ added in v6.4.0
func (RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigPtrOutput) ElementType ¶ added in v6.4.0
func (RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigPtrOutput) ElementType() reflect.Type
func (RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigPtrOutput) EnableIntegrityMonitoring ¶ added in v6.4.0
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 ¶ added in v6.4.0
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 ¶ added in v6.4.0
func (o RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigPtrOutput) EnableVtpm() pulumi.BoolPtrOutput
Defines whether the instance has the vTPM enabled. Enabled by default.
func (RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigPtrOutput) ToRuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigPtrOutput ¶ added in v6.4.0
func (o RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigPtrOutput) ToRuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigPtrOutput() RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigPtrOutput
func (RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigPtrOutput) ToRuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigPtrOutputWithContext ¶ added in v6.4.0
func (o RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigPtrOutput) ToRuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigPtrOutputWithContext(ctx context.Context) RuntimeVirtualMachineVirtualMachineConfigShieldedInstanceConfigPtrOutput