Documentation
¶
Index ¶
- type LookupRuntimeTemplateIamPolicyArgs
- type LookupRuntimeTemplateIamPolicyOutputArgs
- type LookupRuntimeTemplateIamPolicyResult
- type LookupRuntimeTemplateIamPolicyResultOutput
- func (LookupRuntimeTemplateIamPolicyResultOutput) ElementType() reflect.Type
- func (o LookupRuntimeTemplateIamPolicyResultOutput) Etag() pulumi.StringOutput
- func (o LookupRuntimeTemplateIamPolicyResultOutput) Id() pulumi.StringOutput
- func (o LookupRuntimeTemplateIamPolicyResultOutput) Location() pulumi.StringOutput
- func (o LookupRuntimeTemplateIamPolicyResultOutput) PolicyData() pulumi.StringOutput
- func (o LookupRuntimeTemplateIamPolicyResultOutput) Project() pulumi.StringOutput
- func (o LookupRuntimeTemplateIamPolicyResultOutput) RuntimeTemplate() pulumi.StringOutput
- func (o LookupRuntimeTemplateIamPolicyResultOutput) ToLookupRuntimeTemplateIamPolicyResultOutput() LookupRuntimeTemplateIamPolicyResultOutput
- func (o LookupRuntimeTemplateIamPolicyResultOutput) ToLookupRuntimeTemplateIamPolicyResultOutputWithContext(ctx context.Context) LookupRuntimeTemplateIamPolicyResultOutput
- type Runtime
- type RuntimeArgs
- type RuntimeArray
- type RuntimeArrayInput
- type RuntimeArrayOutput
- type RuntimeInput
- type RuntimeMap
- type RuntimeMapInput
- type RuntimeMapOutput
- type RuntimeNotebookRuntimeTemplateRef
- type RuntimeNotebookRuntimeTemplateRefArgs
- func (RuntimeNotebookRuntimeTemplateRefArgs) ElementType() reflect.Type
- func (i RuntimeNotebookRuntimeTemplateRefArgs) ToRuntimeNotebookRuntimeTemplateRefOutput() RuntimeNotebookRuntimeTemplateRefOutput
- func (i RuntimeNotebookRuntimeTemplateRefArgs) ToRuntimeNotebookRuntimeTemplateRefOutputWithContext(ctx context.Context) RuntimeNotebookRuntimeTemplateRefOutput
- func (i RuntimeNotebookRuntimeTemplateRefArgs) ToRuntimeNotebookRuntimeTemplateRefPtrOutput() RuntimeNotebookRuntimeTemplateRefPtrOutput
- func (i RuntimeNotebookRuntimeTemplateRefArgs) ToRuntimeNotebookRuntimeTemplateRefPtrOutputWithContext(ctx context.Context) RuntimeNotebookRuntimeTemplateRefPtrOutput
- type RuntimeNotebookRuntimeTemplateRefInput
- type RuntimeNotebookRuntimeTemplateRefOutput
- func (RuntimeNotebookRuntimeTemplateRefOutput) ElementType() reflect.Type
- func (o RuntimeNotebookRuntimeTemplateRefOutput) NotebookRuntimeTemplate() pulumi.StringOutput
- func (o RuntimeNotebookRuntimeTemplateRefOutput) ToRuntimeNotebookRuntimeTemplateRefOutput() RuntimeNotebookRuntimeTemplateRefOutput
- func (o RuntimeNotebookRuntimeTemplateRefOutput) ToRuntimeNotebookRuntimeTemplateRefOutputWithContext(ctx context.Context) RuntimeNotebookRuntimeTemplateRefOutput
- func (o RuntimeNotebookRuntimeTemplateRefOutput) ToRuntimeNotebookRuntimeTemplateRefPtrOutput() RuntimeNotebookRuntimeTemplateRefPtrOutput
- func (o RuntimeNotebookRuntimeTemplateRefOutput) ToRuntimeNotebookRuntimeTemplateRefPtrOutputWithContext(ctx context.Context) RuntimeNotebookRuntimeTemplateRefPtrOutput
- type RuntimeNotebookRuntimeTemplateRefPtrInput
- type RuntimeNotebookRuntimeTemplateRefPtrOutput
- func (o RuntimeNotebookRuntimeTemplateRefPtrOutput) Elem() RuntimeNotebookRuntimeTemplateRefOutput
- func (RuntimeNotebookRuntimeTemplateRefPtrOutput) ElementType() reflect.Type
- func (o RuntimeNotebookRuntimeTemplateRefPtrOutput) NotebookRuntimeTemplate() pulumi.StringPtrOutput
- func (o RuntimeNotebookRuntimeTemplateRefPtrOutput) ToRuntimeNotebookRuntimeTemplateRefPtrOutput() RuntimeNotebookRuntimeTemplateRefPtrOutput
- func (o RuntimeNotebookRuntimeTemplateRefPtrOutput) ToRuntimeNotebookRuntimeTemplateRefPtrOutputWithContext(ctx context.Context) RuntimeNotebookRuntimeTemplateRefPtrOutput
- type RuntimeOutput
- func (o RuntimeOutput) Description() pulumi.StringPtrOutput
- func (o RuntimeOutput) DisplayName() pulumi.StringOutput
- func (RuntimeOutput) ElementType() reflect.Type
- func (o RuntimeOutput) Location() pulumi.StringOutput
- func (o RuntimeOutput) Name() pulumi.StringOutput
- func (o RuntimeOutput) NotebookRuntimeTemplateRef() RuntimeNotebookRuntimeTemplateRefPtrOutput
- func (o RuntimeOutput) Project() pulumi.StringOutput
- func (o RuntimeOutput) RuntimeUser() pulumi.StringOutput
- func (o RuntimeOutput) ToRuntimeOutput() RuntimeOutput
- func (o RuntimeOutput) ToRuntimeOutputWithContext(ctx context.Context) RuntimeOutput
- type RuntimeState
- type RuntimeTemplate
- type RuntimeTemplateArgs
- type RuntimeTemplateArray
- type RuntimeTemplateArrayInput
- type RuntimeTemplateArrayOutput
- func (RuntimeTemplateArrayOutput) ElementType() reflect.Type
- func (o RuntimeTemplateArrayOutput) Index(i pulumi.IntInput) RuntimeTemplateOutput
- func (o RuntimeTemplateArrayOutput) ToRuntimeTemplateArrayOutput() RuntimeTemplateArrayOutput
- func (o RuntimeTemplateArrayOutput) ToRuntimeTemplateArrayOutputWithContext(ctx context.Context) RuntimeTemplateArrayOutput
- type RuntimeTemplateDataPersistentDiskSpec
- type RuntimeTemplateDataPersistentDiskSpecArgs
- func (RuntimeTemplateDataPersistentDiskSpecArgs) ElementType() reflect.Type
- func (i RuntimeTemplateDataPersistentDiskSpecArgs) ToRuntimeTemplateDataPersistentDiskSpecOutput() RuntimeTemplateDataPersistentDiskSpecOutput
- func (i RuntimeTemplateDataPersistentDiskSpecArgs) ToRuntimeTemplateDataPersistentDiskSpecOutputWithContext(ctx context.Context) RuntimeTemplateDataPersistentDiskSpecOutput
- func (i RuntimeTemplateDataPersistentDiskSpecArgs) ToRuntimeTemplateDataPersistentDiskSpecPtrOutput() RuntimeTemplateDataPersistentDiskSpecPtrOutput
- func (i RuntimeTemplateDataPersistentDiskSpecArgs) ToRuntimeTemplateDataPersistentDiskSpecPtrOutputWithContext(ctx context.Context) RuntimeTemplateDataPersistentDiskSpecPtrOutput
- type RuntimeTemplateDataPersistentDiskSpecInput
- type RuntimeTemplateDataPersistentDiskSpecOutput
- func (o RuntimeTemplateDataPersistentDiskSpecOutput) DiskSizeGb() pulumi.StringPtrOutput
- func (o RuntimeTemplateDataPersistentDiskSpecOutput) DiskType() pulumi.StringPtrOutput
- func (RuntimeTemplateDataPersistentDiskSpecOutput) ElementType() reflect.Type
- func (o RuntimeTemplateDataPersistentDiskSpecOutput) ToRuntimeTemplateDataPersistentDiskSpecOutput() RuntimeTemplateDataPersistentDiskSpecOutput
- func (o RuntimeTemplateDataPersistentDiskSpecOutput) ToRuntimeTemplateDataPersistentDiskSpecOutputWithContext(ctx context.Context) RuntimeTemplateDataPersistentDiskSpecOutput
- func (o RuntimeTemplateDataPersistentDiskSpecOutput) ToRuntimeTemplateDataPersistentDiskSpecPtrOutput() RuntimeTemplateDataPersistentDiskSpecPtrOutput
- func (o RuntimeTemplateDataPersistentDiskSpecOutput) ToRuntimeTemplateDataPersistentDiskSpecPtrOutputWithContext(ctx context.Context) RuntimeTemplateDataPersistentDiskSpecPtrOutput
- type RuntimeTemplateDataPersistentDiskSpecPtrInput
- type RuntimeTemplateDataPersistentDiskSpecPtrOutput
- func (o RuntimeTemplateDataPersistentDiskSpecPtrOutput) DiskSizeGb() pulumi.StringPtrOutput
- func (o RuntimeTemplateDataPersistentDiskSpecPtrOutput) DiskType() pulumi.StringPtrOutput
- func (o RuntimeTemplateDataPersistentDiskSpecPtrOutput) Elem() RuntimeTemplateDataPersistentDiskSpecOutput
- func (RuntimeTemplateDataPersistentDiskSpecPtrOutput) ElementType() reflect.Type
- func (o RuntimeTemplateDataPersistentDiskSpecPtrOutput) ToRuntimeTemplateDataPersistentDiskSpecPtrOutput() RuntimeTemplateDataPersistentDiskSpecPtrOutput
- func (o RuntimeTemplateDataPersistentDiskSpecPtrOutput) ToRuntimeTemplateDataPersistentDiskSpecPtrOutputWithContext(ctx context.Context) RuntimeTemplateDataPersistentDiskSpecPtrOutput
- type RuntimeTemplateEncryptionSpec
- type RuntimeTemplateEncryptionSpecArgs
- func (RuntimeTemplateEncryptionSpecArgs) ElementType() reflect.Type
- func (i RuntimeTemplateEncryptionSpecArgs) ToRuntimeTemplateEncryptionSpecOutput() RuntimeTemplateEncryptionSpecOutput
- func (i RuntimeTemplateEncryptionSpecArgs) ToRuntimeTemplateEncryptionSpecOutputWithContext(ctx context.Context) RuntimeTemplateEncryptionSpecOutput
- func (i RuntimeTemplateEncryptionSpecArgs) ToRuntimeTemplateEncryptionSpecPtrOutput() RuntimeTemplateEncryptionSpecPtrOutput
- func (i RuntimeTemplateEncryptionSpecArgs) ToRuntimeTemplateEncryptionSpecPtrOutputWithContext(ctx context.Context) RuntimeTemplateEncryptionSpecPtrOutput
- type RuntimeTemplateEncryptionSpecInput
- type RuntimeTemplateEncryptionSpecOutput
- func (RuntimeTemplateEncryptionSpecOutput) ElementType() reflect.Type
- func (o RuntimeTemplateEncryptionSpecOutput) KmsKeyName() pulumi.StringPtrOutput
- func (o RuntimeTemplateEncryptionSpecOutput) ToRuntimeTemplateEncryptionSpecOutput() RuntimeTemplateEncryptionSpecOutput
- func (o RuntimeTemplateEncryptionSpecOutput) ToRuntimeTemplateEncryptionSpecOutputWithContext(ctx context.Context) RuntimeTemplateEncryptionSpecOutput
- func (o RuntimeTemplateEncryptionSpecOutput) ToRuntimeTemplateEncryptionSpecPtrOutput() RuntimeTemplateEncryptionSpecPtrOutput
- func (o RuntimeTemplateEncryptionSpecOutput) ToRuntimeTemplateEncryptionSpecPtrOutputWithContext(ctx context.Context) RuntimeTemplateEncryptionSpecPtrOutput
- type RuntimeTemplateEncryptionSpecPtrInput
- type RuntimeTemplateEncryptionSpecPtrOutput
- func (o RuntimeTemplateEncryptionSpecPtrOutput) Elem() RuntimeTemplateEncryptionSpecOutput
- func (RuntimeTemplateEncryptionSpecPtrOutput) ElementType() reflect.Type
- func (o RuntimeTemplateEncryptionSpecPtrOutput) KmsKeyName() pulumi.StringPtrOutput
- func (o RuntimeTemplateEncryptionSpecPtrOutput) ToRuntimeTemplateEncryptionSpecPtrOutput() RuntimeTemplateEncryptionSpecPtrOutput
- func (o RuntimeTemplateEncryptionSpecPtrOutput) ToRuntimeTemplateEncryptionSpecPtrOutputWithContext(ctx context.Context) RuntimeTemplateEncryptionSpecPtrOutput
- type RuntimeTemplateEucConfig
- type RuntimeTemplateEucConfigArgs
- func (RuntimeTemplateEucConfigArgs) ElementType() reflect.Type
- func (i RuntimeTemplateEucConfigArgs) ToRuntimeTemplateEucConfigOutput() RuntimeTemplateEucConfigOutput
- func (i RuntimeTemplateEucConfigArgs) ToRuntimeTemplateEucConfigOutputWithContext(ctx context.Context) RuntimeTemplateEucConfigOutput
- func (i RuntimeTemplateEucConfigArgs) ToRuntimeTemplateEucConfigPtrOutput() RuntimeTemplateEucConfigPtrOutput
- func (i RuntimeTemplateEucConfigArgs) ToRuntimeTemplateEucConfigPtrOutputWithContext(ctx context.Context) RuntimeTemplateEucConfigPtrOutput
- type RuntimeTemplateEucConfigInput
- type RuntimeTemplateEucConfigOutput
- func (RuntimeTemplateEucConfigOutput) ElementType() reflect.Type
- func (o RuntimeTemplateEucConfigOutput) EucDisabled() pulumi.BoolPtrOutput
- func (o RuntimeTemplateEucConfigOutput) ToRuntimeTemplateEucConfigOutput() RuntimeTemplateEucConfigOutput
- func (o RuntimeTemplateEucConfigOutput) ToRuntimeTemplateEucConfigOutputWithContext(ctx context.Context) RuntimeTemplateEucConfigOutput
- func (o RuntimeTemplateEucConfigOutput) ToRuntimeTemplateEucConfigPtrOutput() RuntimeTemplateEucConfigPtrOutput
- func (o RuntimeTemplateEucConfigOutput) ToRuntimeTemplateEucConfigPtrOutputWithContext(ctx context.Context) RuntimeTemplateEucConfigPtrOutput
- type RuntimeTemplateEucConfigPtrInput
- type RuntimeTemplateEucConfigPtrOutput
- func (o RuntimeTemplateEucConfigPtrOutput) Elem() RuntimeTemplateEucConfigOutput
- func (RuntimeTemplateEucConfigPtrOutput) ElementType() reflect.Type
- func (o RuntimeTemplateEucConfigPtrOutput) EucDisabled() pulumi.BoolPtrOutput
- func (o RuntimeTemplateEucConfigPtrOutput) ToRuntimeTemplateEucConfigPtrOutput() RuntimeTemplateEucConfigPtrOutput
- func (o RuntimeTemplateEucConfigPtrOutput) ToRuntimeTemplateEucConfigPtrOutputWithContext(ctx context.Context) RuntimeTemplateEucConfigPtrOutput
- type RuntimeTemplateIamBinding
- type RuntimeTemplateIamBindingArgs
- type RuntimeTemplateIamBindingArray
- func (RuntimeTemplateIamBindingArray) ElementType() reflect.Type
- func (i RuntimeTemplateIamBindingArray) ToRuntimeTemplateIamBindingArrayOutput() RuntimeTemplateIamBindingArrayOutput
- func (i RuntimeTemplateIamBindingArray) ToRuntimeTemplateIamBindingArrayOutputWithContext(ctx context.Context) RuntimeTemplateIamBindingArrayOutput
- type RuntimeTemplateIamBindingArrayInput
- type RuntimeTemplateIamBindingArrayOutput
- func (RuntimeTemplateIamBindingArrayOutput) ElementType() reflect.Type
- func (o RuntimeTemplateIamBindingArrayOutput) Index(i pulumi.IntInput) RuntimeTemplateIamBindingOutput
- func (o RuntimeTemplateIamBindingArrayOutput) ToRuntimeTemplateIamBindingArrayOutput() RuntimeTemplateIamBindingArrayOutput
- func (o RuntimeTemplateIamBindingArrayOutput) ToRuntimeTemplateIamBindingArrayOutputWithContext(ctx context.Context) RuntimeTemplateIamBindingArrayOutput
- type RuntimeTemplateIamBindingCondition
- type RuntimeTemplateIamBindingConditionArgs
- func (RuntimeTemplateIamBindingConditionArgs) ElementType() reflect.Type
- func (i RuntimeTemplateIamBindingConditionArgs) ToRuntimeTemplateIamBindingConditionOutput() RuntimeTemplateIamBindingConditionOutput
- func (i RuntimeTemplateIamBindingConditionArgs) ToRuntimeTemplateIamBindingConditionOutputWithContext(ctx context.Context) RuntimeTemplateIamBindingConditionOutput
- func (i RuntimeTemplateIamBindingConditionArgs) ToRuntimeTemplateIamBindingConditionPtrOutput() RuntimeTemplateIamBindingConditionPtrOutput
- func (i RuntimeTemplateIamBindingConditionArgs) ToRuntimeTemplateIamBindingConditionPtrOutputWithContext(ctx context.Context) RuntimeTemplateIamBindingConditionPtrOutput
- type RuntimeTemplateIamBindingConditionInput
- type RuntimeTemplateIamBindingConditionOutput
- func (o RuntimeTemplateIamBindingConditionOutput) Description() pulumi.StringPtrOutput
- func (RuntimeTemplateIamBindingConditionOutput) ElementType() reflect.Type
- func (o RuntimeTemplateIamBindingConditionOutput) Expression() pulumi.StringOutput
- func (o RuntimeTemplateIamBindingConditionOutput) Title() pulumi.StringOutput
- func (o RuntimeTemplateIamBindingConditionOutput) ToRuntimeTemplateIamBindingConditionOutput() RuntimeTemplateIamBindingConditionOutput
- func (o RuntimeTemplateIamBindingConditionOutput) ToRuntimeTemplateIamBindingConditionOutputWithContext(ctx context.Context) RuntimeTemplateIamBindingConditionOutput
- func (o RuntimeTemplateIamBindingConditionOutput) ToRuntimeTemplateIamBindingConditionPtrOutput() RuntimeTemplateIamBindingConditionPtrOutput
- func (o RuntimeTemplateIamBindingConditionOutput) ToRuntimeTemplateIamBindingConditionPtrOutputWithContext(ctx context.Context) RuntimeTemplateIamBindingConditionPtrOutput
- type RuntimeTemplateIamBindingConditionPtrInput
- type RuntimeTemplateIamBindingConditionPtrOutput
- func (o RuntimeTemplateIamBindingConditionPtrOutput) Description() pulumi.StringPtrOutput
- func (o RuntimeTemplateIamBindingConditionPtrOutput) Elem() RuntimeTemplateIamBindingConditionOutput
- func (RuntimeTemplateIamBindingConditionPtrOutput) ElementType() reflect.Type
- func (o RuntimeTemplateIamBindingConditionPtrOutput) Expression() pulumi.StringPtrOutput
- func (o RuntimeTemplateIamBindingConditionPtrOutput) Title() pulumi.StringPtrOutput
- func (o RuntimeTemplateIamBindingConditionPtrOutput) ToRuntimeTemplateIamBindingConditionPtrOutput() RuntimeTemplateIamBindingConditionPtrOutput
- func (o RuntimeTemplateIamBindingConditionPtrOutput) ToRuntimeTemplateIamBindingConditionPtrOutputWithContext(ctx context.Context) RuntimeTemplateIamBindingConditionPtrOutput
- type RuntimeTemplateIamBindingInput
- type RuntimeTemplateIamBindingMap
- func (RuntimeTemplateIamBindingMap) ElementType() reflect.Type
- func (i RuntimeTemplateIamBindingMap) ToRuntimeTemplateIamBindingMapOutput() RuntimeTemplateIamBindingMapOutput
- func (i RuntimeTemplateIamBindingMap) ToRuntimeTemplateIamBindingMapOutputWithContext(ctx context.Context) RuntimeTemplateIamBindingMapOutput
- type RuntimeTemplateIamBindingMapInput
- type RuntimeTemplateIamBindingMapOutput
- func (RuntimeTemplateIamBindingMapOutput) ElementType() reflect.Type
- func (o RuntimeTemplateIamBindingMapOutput) MapIndex(k pulumi.StringInput) RuntimeTemplateIamBindingOutput
- func (o RuntimeTemplateIamBindingMapOutput) ToRuntimeTemplateIamBindingMapOutput() RuntimeTemplateIamBindingMapOutput
- func (o RuntimeTemplateIamBindingMapOutput) ToRuntimeTemplateIamBindingMapOutputWithContext(ctx context.Context) RuntimeTemplateIamBindingMapOutput
- type RuntimeTemplateIamBindingOutput
- func (o RuntimeTemplateIamBindingOutput) Condition() RuntimeTemplateIamBindingConditionPtrOutput
- func (RuntimeTemplateIamBindingOutput) ElementType() reflect.Type
- func (o RuntimeTemplateIamBindingOutput) Etag() pulumi.StringOutput
- func (o RuntimeTemplateIamBindingOutput) Location() pulumi.StringOutput
- func (o RuntimeTemplateIamBindingOutput) Members() pulumi.StringArrayOutput
- func (o RuntimeTemplateIamBindingOutput) Project() pulumi.StringOutput
- func (o RuntimeTemplateIamBindingOutput) Role() pulumi.StringOutput
- func (o RuntimeTemplateIamBindingOutput) RuntimeTemplate() pulumi.StringOutput
- func (o RuntimeTemplateIamBindingOutput) ToRuntimeTemplateIamBindingOutput() RuntimeTemplateIamBindingOutput
- func (o RuntimeTemplateIamBindingOutput) ToRuntimeTemplateIamBindingOutputWithContext(ctx context.Context) RuntimeTemplateIamBindingOutput
- type RuntimeTemplateIamBindingState
- type RuntimeTemplateIamMember
- type RuntimeTemplateIamMemberArgs
- type RuntimeTemplateIamMemberArray
- func (RuntimeTemplateIamMemberArray) ElementType() reflect.Type
- func (i RuntimeTemplateIamMemberArray) ToRuntimeTemplateIamMemberArrayOutput() RuntimeTemplateIamMemberArrayOutput
- func (i RuntimeTemplateIamMemberArray) ToRuntimeTemplateIamMemberArrayOutputWithContext(ctx context.Context) RuntimeTemplateIamMemberArrayOutput
- type RuntimeTemplateIamMemberArrayInput
- type RuntimeTemplateIamMemberArrayOutput
- func (RuntimeTemplateIamMemberArrayOutput) ElementType() reflect.Type
- func (o RuntimeTemplateIamMemberArrayOutput) Index(i pulumi.IntInput) RuntimeTemplateIamMemberOutput
- func (o RuntimeTemplateIamMemberArrayOutput) ToRuntimeTemplateIamMemberArrayOutput() RuntimeTemplateIamMemberArrayOutput
- func (o RuntimeTemplateIamMemberArrayOutput) ToRuntimeTemplateIamMemberArrayOutputWithContext(ctx context.Context) RuntimeTemplateIamMemberArrayOutput
- type RuntimeTemplateIamMemberCondition
- type RuntimeTemplateIamMemberConditionArgs
- func (RuntimeTemplateIamMemberConditionArgs) ElementType() reflect.Type
- func (i RuntimeTemplateIamMemberConditionArgs) ToRuntimeTemplateIamMemberConditionOutput() RuntimeTemplateIamMemberConditionOutput
- func (i RuntimeTemplateIamMemberConditionArgs) ToRuntimeTemplateIamMemberConditionOutputWithContext(ctx context.Context) RuntimeTemplateIamMemberConditionOutput
- func (i RuntimeTemplateIamMemberConditionArgs) ToRuntimeTemplateIamMemberConditionPtrOutput() RuntimeTemplateIamMemberConditionPtrOutput
- func (i RuntimeTemplateIamMemberConditionArgs) ToRuntimeTemplateIamMemberConditionPtrOutputWithContext(ctx context.Context) RuntimeTemplateIamMemberConditionPtrOutput
- type RuntimeTemplateIamMemberConditionInput
- type RuntimeTemplateIamMemberConditionOutput
- func (o RuntimeTemplateIamMemberConditionOutput) Description() pulumi.StringPtrOutput
- func (RuntimeTemplateIamMemberConditionOutput) ElementType() reflect.Type
- func (o RuntimeTemplateIamMemberConditionOutput) Expression() pulumi.StringOutput
- func (o RuntimeTemplateIamMemberConditionOutput) Title() pulumi.StringOutput
- func (o RuntimeTemplateIamMemberConditionOutput) ToRuntimeTemplateIamMemberConditionOutput() RuntimeTemplateIamMemberConditionOutput
- func (o RuntimeTemplateIamMemberConditionOutput) ToRuntimeTemplateIamMemberConditionOutputWithContext(ctx context.Context) RuntimeTemplateIamMemberConditionOutput
- func (o RuntimeTemplateIamMemberConditionOutput) ToRuntimeTemplateIamMemberConditionPtrOutput() RuntimeTemplateIamMemberConditionPtrOutput
- func (o RuntimeTemplateIamMemberConditionOutput) ToRuntimeTemplateIamMemberConditionPtrOutputWithContext(ctx context.Context) RuntimeTemplateIamMemberConditionPtrOutput
- type RuntimeTemplateIamMemberConditionPtrInput
- type RuntimeTemplateIamMemberConditionPtrOutput
- func (o RuntimeTemplateIamMemberConditionPtrOutput) Description() pulumi.StringPtrOutput
- func (o RuntimeTemplateIamMemberConditionPtrOutput) Elem() RuntimeTemplateIamMemberConditionOutput
- func (RuntimeTemplateIamMemberConditionPtrOutput) ElementType() reflect.Type
- func (o RuntimeTemplateIamMemberConditionPtrOutput) Expression() pulumi.StringPtrOutput
- func (o RuntimeTemplateIamMemberConditionPtrOutput) Title() pulumi.StringPtrOutput
- func (o RuntimeTemplateIamMemberConditionPtrOutput) ToRuntimeTemplateIamMemberConditionPtrOutput() RuntimeTemplateIamMemberConditionPtrOutput
- func (o RuntimeTemplateIamMemberConditionPtrOutput) ToRuntimeTemplateIamMemberConditionPtrOutputWithContext(ctx context.Context) RuntimeTemplateIamMemberConditionPtrOutput
- type RuntimeTemplateIamMemberInput
- type RuntimeTemplateIamMemberMap
- func (RuntimeTemplateIamMemberMap) ElementType() reflect.Type
- func (i RuntimeTemplateIamMemberMap) ToRuntimeTemplateIamMemberMapOutput() RuntimeTemplateIamMemberMapOutput
- func (i RuntimeTemplateIamMemberMap) ToRuntimeTemplateIamMemberMapOutputWithContext(ctx context.Context) RuntimeTemplateIamMemberMapOutput
- type RuntimeTemplateIamMemberMapInput
- type RuntimeTemplateIamMemberMapOutput
- func (RuntimeTemplateIamMemberMapOutput) ElementType() reflect.Type
- func (o RuntimeTemplateIamMemberMapOutput) MapIndex(k pulumi.StringInput) RuntimeTemplateIamMemberOutput
- func (o RuntimeTemplateIamMemberMapOutput) ToRuntimeTemplateIamMemberMapOutput() RuntimeTemplateIamMemberMapOutput
- func (o RuntimeTemplateIamMemberMapOutput) ToRuntimeTemplateIamMemberMapOutputWithContext(ctx context.Context) RuntimeTemplateIamMemberMapOutput
- type RuntimeTemplateIamMemberOutput
- func (o RuntimeTemplateIamMemberOutput) Condition() RuntimeTemplateIamMemberConditionPtrOutput
- func (RuntimeTemplateIamMemberOutput) ElementType() reflect.Type
- func (o RuntimeTemplateIamMemberOutput) Etag() pulumi.StringOutput
- func (o RuntimeTemplateIamMemberOutput) Location() pulumi.StringOutput
- func (o RuntimeTemplateIamMemberOutput) Member() pulumi.StringOutput
- func (o RuntimeTemplateIamMemberOutput) Project() pulumi.StringOutput
- func (o RuntimeTemplateIamMemberOutput) Role() pulumi.StringOutput
- func (o RuntimeTemplateIamMemberOutput) RuntimeTemplate() pulumi.StringOutput
- func (o RuntimeTemplateIamMemberOutput) ToRuntimeTemplateIamMemberOutput() RuntimeTemplateIamMemberOutput
- func (o RuntimeTemplateIamMemberOutput) ToRuntimeTemplateIamMemberOutputWithContext(ctx context.Context) RuntimeTemplateIamMemberOutput
- type RuntimeTemplateIamMemberState
- type RuntimeTemplateIamPolicy
- type RuntimeTemplateIamPolicyArgs
- type RuntimeTemplateIamPolicyArray
- func (RuntimeTemplateIamPolicyArray) ElementType() reflect.Type
- func (i RuntimeTemplateIamPolicyArray) ToRuntimeTemplateIamPolicyArrayOutput() RuntimeTemplateIamPolicyArrayOutput
- func (i RuntimeTemplateIamPolicyArray) ToRuntimeTemplateIamPolicyArrayOutputWithContext(ctx context.Context) RuntimeTemplateIamPolicyArrayOutput
- type RuntimeTemplateIamPolicyArrayInput
- type RuntimeTemplateIamPolicyArrayOutput
- func (RuntimeTemplateIamPolicyArrayOutput) ElementType() reflect.Type
- func (o RuntimeTemplateIamPolicyArrayOutput) Index(i pulumi.IntInput) RuntimeTemplateIamPolicyOutput
- func (o RuntimeTemplateIamPolicyArrayOutput) ToRuntimeTemplateIamPolicyArrayOutput() RuntimeTemplateIamPolicyArrayOutput
- func (o RuntimeTemplateIamPolicyArrayOutput) ToRuntimeTemplateIamPolicyArrayOutputWithContext(ctx context.Context) RuntimeTemplateIamPolicyArrayOutput
- type RuntimeTemplateIamPolicyInput
- type RuntimeTemplateIamPolicyMap
- func (RuntimeTemplateIamPolicyMap) ElementType() reflect.Type
- func (i RuntimeTemplateIamPolicyMap) ToRuntimeTemplateIamPolicyMapOutput() RuntimeTemplateIamPolicyMapOutput
- func (i RuntimeTemplateIamPolicyMap) ToRuntimeTemplateIamPolicyMapOutputWithContext(ctx context.Context) RuntimeTemplateIamPolicyMapOutput
- type RuntimeTemplateIamPolicyMapInput
- type RuntimeTemplateIamPolicyMapOutput
- func (RuntimeTemplateIamPolicyMapOutput) ElementType() reflect.Type
- func (o RuntimeTemplateIamPolicyMapOutput) MapIndex(k pulumi.StringInput) RuntimeTemplateIamPolicyOutput
- func (o RuntimeTemplateIamPolicyMapOutput) ToRuntimeTemplateIamPolicyMapOutput() RuntimeTemplateIamPolicyMapOutput
- func (o RuntimeTemplateIamPolicyMapOutput) ToRuntimeTemplateIamPolicyMapOutputWithContext(ctx context.Context) RuntimeTemplateIamPolicyMapOutput
- type RuntimeTemplateIamPolicyOutput
- func (RuntimeTemplateIamPolicyOutput) ElementType() reflect.Type
- func (o RuntimeTemplateIamPolicyOutput) Etag() pulumi.StringOutput
- func (o RuntimeTemplateIamPolicyOutput) Location() pulumi.StringOutput
- func (o RuntimeTemplateIamPolicyOutput) PolicyData() pulumi.StringOutput
- func (o RuntimeTemplateIamPolicyOutput) Project() pulumi.StringOutput
- func (o RuntimeTemplateIamPolicyOutput) RuntimeTemplate() pulumi.StringOutput
- func (o RuntimeTemplateIamPolicyOutput) ToRuntimeTemplateIamPolicyOutput() RuntimeTemplateIamPolicyOutput
- func (o RuntimeTemplateIamPolicyOutput) ToRuntimeTemplateIamPolicyOutputWithContext(ctx context.Context) RuntimeTemplateIamPolicyOutput
- type RuntimeTemplateIamPolicyState
- type RuntimeTemplateIdleShutdownConfig
- type RuntimeTemplateIdleShutdownConfigArgs
- func (RuntimeTemplateIdleShutdownConfigArgs) ElementType() reflect.Type
- func (i RuntimeTemplateIdleShutdownConfigArgs) ToRuntimeTemplateIdleShutdownConfigOutput() RuntimeTemplateIdleShutdownConfigOutput
- func (i RuntimeTemplateIdleShutdownConfigArgs) ToRuntimeTemplateIdleShutdownConfigOutputWithContext(ctx context.Context) RuntimeTemplateIdleShutdownConfigOutput
- func (i RuntimeTemplateIdleShutdownConfigArgs) ToRuntimeTemplateIdleShutdownConfigPtrOutput() RuntimeTemplateIdleShutdownConfigPtrOutput
- func (i RuntimeTemplateIdleShutdownConfigArgs) ToRuntimeTemplateIdleShutdownConfigPtrOutputWithContext(ctx context.Context) RuntimeTemplateIdleShutdownConfigPtrOutput
- type RuntimeTemplateIdleShutdownConfigInput
- type RuntimeTemplateIdleShutdownConfigOutput
- func (RuntimeTemplateIdleShutdownConfigOutput) ElementType() reflect.Type
- func (o RuntimeTemplateIdleShutdownConfigOutput) IdleTimeout() pulumi.StringPtrOutput
- func (o RuntimeTemplateIdleShutdownConfigOutput) ToRuntimeTemplateIdleShutdownConfigOutput() RuntimeTemplateIdleShutdownConfigOutput
- func (o RuntimeTemplateIdleShutdownConfigOutput) ToRuntimeTemplateIdleShutdownConfigOutputWithContext(ctx context.Context) RuntimeTemplateIdleShutdownConfigOutput
- func (o RuntimeTemplateIdleShutdownConfigOutput) ToRuntimeTemplateIdleShutdownConfigPtrOutput() RuntimeTemplateIdleShutdownConfigPtrOutput
- func (o RuntimeTemplateIdleShutdownConfigOutput) ToRuntimeTemplateIdleShutdownConfigPtrOutputWithContext(ctx context.Context) RuntimeTemplateIdleShutdownConfigPtrOutput
- type RuntimeTemplateIdleShutdownConfigPtrInput
- type RuntimeTemplateIdleShutdownConfigPtrOutput
- func (o RuntimeTemplateIdleShutdownConfigPtrOutput) Elem() RuntimeTemplateIdleShutdownConfigOutput
- func (RuntimeTemplateIdleShutdownConfigPtrOutput) ElementType() reflect.Type
- func (o RuntimeTemplateIdleShutdownConfigPtrOutput) IdleTimeout() pulumi.StringPtrOutput
- func (o RuntimeTemplateIdleShutdownConfigPtrOutput) ToRuntimeTemplateIdleShutdownConfigPtrOutput() RuntimeTemplateIdleShutdownConfigPtrOutput
- func (o RuntimeTemplateIdleShutdownConfigPtrOutput) ToRuntimeTemplateIdleShutdownConfigPtrOutputWithContext(ctx context.Context) RuntimeTemplateIdleShutdownConfigPtrOutput
- type RuntimeTemplateInput
- type RuntimeTemplateMachineSpec
- type RuntimeTemplateMachineSpecArgs
- func (RuntimeTemplateMachineSpecArgs) ElementType() reflect.Type
- func (i RuntimeTemplateMachineSpecArgs) ToRuntimeTemplateMachineSpecOutput() RuntimeTemplateMachineSpecOutput
- func (i RuntimeTemplateMachineSpecArgs) ToRuntimeTemplateMachineSpecOutputWithContext(ctx context.Context) RuntimeTemplateMachineSpecOutput
- func (i RuntimeTemplateMachineSpecArgs) ToRuntimeTemplateMachineSpecPtrOutput() RuntimeTemplateMachineSpecPtrOutput
- func (i RuntimeTemplateMachineSpecArgs) ToRuntimeTemplateMachineSpecPtrOutputWithContext(ctx context.Context) RuntimeTemplateMachineSpecPtrOutput
- type RuntimeTemplateMachineSpecInput
- type RuntimeTemplateMachineSpecOutput
- func (o RuntimeTemplateMachineSpecOutput) AcceleratorCount() pulumi.IntPtrOutput
- func (o RuntimeTemplateMachineSpecOutput) AcceleratorType() pulumi.StringPtrOutput
- func (RuntimeTemplateMachineSpecOutput) ElementType() reflect.Type
- func (o RuntimeTemplateMachineSpecOutput) MachineType() pulumi.StringPtrOutput
- func (o RuntimeTemplateMachineSpecOutput) ToRuntimeTemplateMachineSpecOutput() RuntimeTemplateMachineSpecOutput
- func (o RuntimeTemplateMachineSpecOutput) ToRuntimeTemplateMachineSpecOutputWithContext(ctx context.Context) RuntimeTemplateMachineSpecOutput
- func (o RuntimeTemplateMachineSpecOutput) ToRuntimeTemplateMachineSpecPtrOutput() RuntimeTemplateMachineSpecPtrOutput
- func (o RuntimeTemplateMachineSpecOutput) ToRuntimeTemplateMachineSpecPtrOutputWithContext(ctx context.Context) RuntimeTemplateMachineSpecPtrOutput
- type RuntimeTemplateMachineSpecPtrInput
- type RuntimeTemplateMachineSpecPtrOutput
- func (o RuntimeTemplateMachineSpecPtrOutput) AcceleratorCount() pulumi.IntPtrOutput
- func (o RuntimeTemplateMachineSpecPtrOutput) AcceleratorType() pulumi.StringPtrOutput
- func (o RuntimeTemplateMachineSpecPtrOutput) Elem() RuntimeTemplateMachineSpecOutput
- func (RuntimeTemplateMachineSpecPtrOutput) ElementType() reflect.Type
- func (o RuntimeTemplateMachineSpecPtrOutput) MachineType() pulumi.StringPtrOutput
- func (o RuntimeTemplateMachineSpecPtrOutput) ToRuntimeTemplateMachineSpecPtrOutput() RuntimeTemplateMachineSpecPtrOutput
- func (o RuntimeTemplateMachineSpecPtrOutput) ToRuntimeTemplateMachineSpecPtrOutputWithContext(ctx context.Context) RuntimeTemplateMachineSpecPtrOutput
- type RuntimeTemplateMap
- type RuntimeTemplateMapInput
- type RuntimeTemplateMapOutput
- func (RuntimeTemplateMapOutput) ElementType() reflect.Type
- func (o RuntimeTemplateMapOutput) MapIndex(k pulumi.StringInput) RuntimeTemplateOutput
- func (o RuntimeTemplateMapOutput) ToRuntimeTemplateMapOutput() RuntimeTemplateMapOutput
- func (o RuntimeTemplateMapOutput) ToRuntimeTemplateMapOutputWithContext(ctx context.Context) RuntimeTemplateMapOutput
- type RuntimeTemplateNetworkSpec
- type RuntimeTemplateNetworkSpecArgs
- func (RuntimeTemplateNetworkSpecArgs) ElementType() reflect.Type
- func (i RuntimeTemplateNetworkSpecArgs) ToRuntimeTemplateNetworkSpecOutput() RuntimeTemplateNetworkSpecOutput
- func (i RuntimeTemplateNetworkSpecArgs) ToRuntimeTemplateNetworkSpecOutputWithContext(ctx context.Context) RuntimeTemplateNetworkSpecOutput
- func (i RuntimeTemplateNetworkSpecArgs) ToRuntimeTemplateNetworkSpecPtrOutput() RuntimeTemplateNetworkSpecPtrOutput
- func (i RuntimeTemplateNetworkSpecArgs) ToRuntimeTemplateNetworkSpecPtrOutputWithContext(ctx context.Context) RuntimeTemplateNetworkSpecPtrOutput
- type RuntimeTemplateNetworkSpecInput
- type RuntimeTemplateNetworkSpecOutput
- func (RuntimeTemplateNetworkSpecOutput) ElementType() reflect.Type
- func (o RuntimeTemplateNetworkSpecOutput) EnableInternetAccess() pulumi.BoolPtrOutput
- func (o RuntimeTemplateNetworkSpecOutput) Network() pulumi.StringPtrOutput
- func (o RuntimeTemplateNetworkSpecOutput) Subnetwork() pulumi.StringPtrOutput
- func (o RuntimeTemplateNetworkSpecOutput) ToRuntimeTemplateNetworkSpecOutput() RuntimeTemplateNetworkSpecOutput
- func (o RuntimeTemplateNetworkSpecOutput) ToRuntimeTemplateNetworkSpecOutputWithContext(ctx context.Context) RuntimeTemplateNetworkSpecOutput
- func (o RuntimeTemplateNetworkSpecOutput) ToRuntimeTemplateNetworkSpecPtrOutput() RuntimeTemplateNetworkSpecPtrOutput
- func (o RuntimeTemplateNetworkSpecOutput) ToRuntimeTemplateNetworkSpecPtrOutputWithContext(ctx context.Context) RuntimeTemplateNetworkSpecPtrOutput
- type RuntimeTemplateNetworkSpecPtrInput
- type RuntimeTemplateNetworkSpecPtrOutput
- func (o RuntimeTemplateNetworkSpecPtrOutput) Elem() RuntimeTemplateNetworkSpecOutput
- func (RuntimeTemplateNetworkSpecPtrOutput) ElementType() reflect.Type
- func (o RuntimeTemplateNetworkSpecPtrOutput) EnableInternetAccess() pulumi.BoolPtrOutput
- func (o RuntimeTemplateNetworkSpecPtrOutput) Network() pulumi.StringPtrOutput
- func (o RuntimeTemplateNetworkSpecPtrOutput) Subnetwork() pulumi.StringPtrOutput
- func (o RuntimeTemplateNetworkSpecPtrOutput) ToRuntimeTemplateNetworkSpecPtrOutput() RuntimeTemplateNetworkSpecPtrOutput
- func (o RuntimeTemplateNetworkSpecPtrOutput) ToRuntimeTemplateNetworkSpecPtrOutputWithContext(ctx context.Context) RuntimeTemplateNetworkSpecPtrOutput
- type RuntimeTemplateOutput
- func (o RuntimeTemplateOutput) DataPersistentDiskSpec() RuntimeTemplateDataPersistentDiskSpecOutput
- func (o RuntimeTemplateOutput) Description() pulumi.StringPtrOutput
- func (o RuntimeTemplateOutput) DisplayName() pulumi.StringOutput
- func (o RuntimeTemplateOutput) EffectiveLabels() pulumi.StringMapOutput
- func (RuntimeTemplateOutput) ElementType() reflect.Type
- func (o RuntimeTemplateOutput) EncryptionSpec() RuntimeTemplateEncryptionSpecPtrOutput
- func (o RuntimeTemplateOutput) EucConfig() RuntimeTemplateEucConfigPtrOutput
- func (o RuntimeTemplateOutput) IdleShutdownConfig() RuntimeTemplateIdleShutdownConfigOutput
- func (o RuntimeTemplateOutput) Labels() pulumi.StringMapOutput
- func (o RuntimeTemplateOutput) Location() pulumi.StringOutput
- func (o RuntimeTemplateOutput) MachineSpec() RuntimeTemplateMachineSpecOutput
- func (o RuntimeTemplateOutput) Name() pulumi.StringOutput
- func (o RuntimeTemplateOutput) NetworkSpec() RuntimeTemplateNetworkSpecOutput
- func (o RuntimeTemplateOutput) NetworkTags() pulumi.StringArrayOutput
- func (o RuntimeTemplateOutput) Project() pulumi.StringOutput
- func (o RuntimeTemplateOutput) PulumiLabels() pulumi.StringMapOutput
- func (o RuntimeTemplateOutput) ShieldedVmConfig() RuntimeTemplateShieldedVmConfigPtrOutput
- func (o RuntimeTemplateOutput) ToRuntimeTemplateOutput() RuntimeTemplateOutput
- func (o RuntimeTemplateOutput) ToRuntimeTemplateOutputWithContext(ctx context.Context) RuntimeTemplateOutput
- type RuntimeTemplateShieldedVmConfig
- type RuntimeTemplateShieldedVmConfigArgs
- func (RuntimeTemplateShieldedVmConfigArgs) ElementType() reflect.Type
- func (i RuntimeTemplateShieldedVmConfigArgs) ToRuntimeTemplateShieldedVmConfigOutput() RuntimeTemplateShieldedVmConfigOutput
- func (i RuntimeTemplateShieldedVmConfigArgs) ToRuntimeTemplateShieldedVmConfigOutputWithContext(ctx context.Context) RuntimeTemplateShieldedVmConfigOutput
- func (i RuntimeTemplateShieldedVmConfigArgs) ToRuntimeTemplateShieldedVmConfigPtrOutput() RuntimeTemplateShieldedVmConfigPtrOutput
- func (i RuntimeTemplateShieldedVmConfigArgs) ToRuntimeTemplateShieldedVmConfigPtrOutputWithContext(ctx context.Context) RuntimeTemplateShieldedVmConfigPtrOutput
- type RuntimeTemplateShieldedVmConfigInput
- type RuntimeTemplateShieldedVmConfigOutput
- func (RuntimeTemplateShieldedVmConfigOutput) ElementType() reflect.Type
- func (o RuntimeTemplateShieldedVmConfigOutput) EnableSecureBoot() pulumi.BoolPtrOutput
- func (o RuntimeTemplateShieldedVmConfigOutput) ToRuntimeTemplateShieldedVmConfigOutput() RuntimeTemplateShieldedVmConfigOutput
- func (o RuntimeTemplateShieldedVmConfigOutput) ToRuntimeTemplateShieldedVmConfigOutputWithContext(ctx context.Context) RuntimeTemplateShieldedVmConfigOutput
- func (o RuntimeTemplateShieldedVmConfigOutput) ToRuntimeTemplateShieldedVmConfigPtrOutput() RuntimeTemplateShieldedVmConfigPtrOutput
- func (o RuntimeTemplateShieldedVmConfigOutput) ToRuntimeTemplateShieldedVmConfigPtrOutputWithContext(ctx context.Context) RuntimeTemplateShieldedVmConfigPtrOutput
- type RuntimeTemplateShieldedVmConfigPtrInput
- type RuntimeTemplateShieldedVmConfigPtrOutput
- func (o RuntimeTemplateShieldedVmConfigPtrOutput) Elem() RuntimeTemplateShieldedVmConfigOutput
- func (RuntimeTemplateShieldedVmConfigPtrOutput) ElementType() reflect.Type
- func (o RuntimeTemplateShieldedVmConfigPtrOutput) EnableSecureBoot() pulumi.BoolPtrOutput
- func (o RuntimeTemplateShieldedVmConfigPtrOutput) ToRuntimeTemplateShieldedVmConfigPtrOutput() RuntimeTemplateShieldedVmConfigPtrOutput
- func (o RuntimeTemplateShieldedVmConfigPtrOutput) ToRuntimeTemplateShieldedVmConfigPtrOutputWithContext(ctx context.Context) RuntimeTemplateShieldedVmConfigPtrOutput
- type RuntimeTemplateState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type LookupRuntimeTemplateIamPolicyArgs ¶ added in v8.17.0
type LookupRuntimeTemplateIamPolicyArgs struct { // The location for the resource: https://cloud.google.com/colab/docs/locations Used to find the parent resource to bind the IAM policy to. If not specified, // the value will be parsed from the identifier of the parent resource. If no location is provided in the parent identifier and no // location is specified, it is taken from the provider configuration. Location *string `pulumi:"location"` // The ID of the project in which the resource belongs. // If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used. Project *string `pulumi:"project"` // Used to find the parent resource to bind the IAM policy to RuntimeTemplate string `pulumi:"runtimeTemplate"` }
A collection of arguments for invoking getRuntimeTemplateIamPolicy.
type LookupRuntimeTemplateIamPolicyOutputArgs ¶ added in v8.17.0
type LookupRuntimeTemplateIamPolicyOutputArgs struct { // The location for the resource: https://cloud.google.com/colab/docs/locations Used to find the parent resource to bind the IAM policy to. If not specified, // the value will be parsed from the identifier of the parent resource. If no location is provided in the parent identifier and no // location is specified, it is taken from the provider configuration. Location pulumi.StringPtrInput `pulumi:"location"` // The ID of the project in which the resource belongs. // If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used. Project pulumi.StringPtrInput `pulumi:"project"` // Used to find the parent resource to bind the IAM policy to RuntimeTemplate pulumi.StringInput `pulumi:"runtimeTemplate"` }
A collection of arguments for invoking getRuntimeTemplateIamPolicy.
func (LookupRuntimeTemplateIamPolicyOutputArgs) ElementType ¶ added in v8.17.0
func (LookupRuntimeTemplateIamPolicyOutputArgs) ElementType() reflect.Type
type LookupRuntimeTemplateIamPolicyResult ¶ added in v8.17.0
type LookupRuntimeTemplateIamPolicyResult struct { // (Computed) The etag of the IAM policy. Etag string `pulumi:"etag"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Location string `pulumi:"location"` // (Required only by `colab.RuntimeTemplateIamPolicy`) The policy data generated by // a `organizations.getIAMPolicy` data source. PolicyData string `pulumi:"policyData"` Project string `pulumi:"project"` RuntimeTemplate string `pulumi:"runtimeTemplate"` }
A collection of values returned by getRuntimeTemplateIamPolicy.
func LookupRuntimeTemplateIamPolicy ¶ added in v8.17.0
func LookupRuntimeTemplateIamPolicy(ctx *pulumi.Context, args *LookupRuntimeTemplateIamPolicyArgs, opts ...pulumi.InvokeOption) (*LookupRuntimeTemplateIamPolicyResult, error)
Retrieves the current IAM policy data for runtimetemplate
## example
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/colab" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := colab.LookupRuntimeTemplateIamPolicy(ctx, &colab.LookupRuntimeTemplateIamPolicyArgs{ Project: pulumi.StringRef(runtime_template.Project), Location: pulumi.StringRef(runtime_template.Location), RuntimeTemplate: runtime_template.Name, }, nil) if err != nil { return err } return nil }) }
```
type LookupRuntimeTemplateIamPolicyResultOutput ¶ added in v8.17.0
type LookupRuntimeTemplateIamPolicyResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getRuntimeTemplateIamPolicy.
func LookupRuntimeTemplateIamPolicyOutput ¶ added in v8.17.0
func LookupRuntimeTemplateIamPolicyOutput(ctx *pulumi.Context, args LookupRuntimeTemplateIamPolicyOutputArgs, opts ...pulumi.InvokeOption) LookupRuntimeTemplateIamPolicyResultOutput
func (LookupRuntimeTemplateIamPolicyResultOutput) ElementType ¶ added in v8.17.0
func (LookupRuntimeTemplateIamPolicyResultOutput) ElementType() reflect.Type
func (LookupRuntimeTemplateIamPolicyResultOutput) Etag ¶ added in v8.17.0
func (o LookupRuntimeTemplateIamPolicyResultOutput) Etag() pulumi.StringOutput
(Computed) The etag of the IAM policy.
func (LookupRuntimeTemplateIamPolicyResultOutput) Id ¶ added in v8.17.0
func (o LookupRuntimeTemplateIamPolicyResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupRuntimeTemplateIamPolicyResultOutput) Location ¶ added in v8.17.0
func (o LookupRuntimeTemplateIamPolicyResultOutput) Location() pulumi.StringOutput
func (LookupRuntimeTemplateIamPolicyResultOutput) PolicyData ¶ added in v8.17.0
func (o LookupRuntimeTemplateIamPolicyResultOutput) PolicyData() pulumi.StringOutput
(Required only by `colab.RuntimeTemplateIamPolicy`) The policy data generated by a `organizations.getIAMPolicy` data source.
func (LookupRuntimeTemplateIamPolicyResultOutput) Project ¶ added in v8.17.0
func (o LookupRuntimeTemplateIamPolicyResultOutput) Project() pulumi.StringOutput
func (LookupRuntimeTemplateIamPolicyResultOutput) RuntimeTemplate ¶ added in v8.17.0
func (o LookupRuntimeTemplateIamPolicyResultOutput) RuntimeTemplate() pulumi.StringOutput
func (LookupRuntimeTemplateIamPolicyResultOutput) ToLookupRuntimeTemplateIamPolicyResultOutput ¶ added in v8.17.0
func (o LookupRuntimeTemplateIamPolicyResultOutput) ToLookupRuntimeTemplateIamPolicyResultOutput() LookupRuntimeTemplateIamPolicyResultOutput
func (LookupRuntimeTemplateIamPolicyResultOutput) ToLookupRuntimeTemplateIamPolicyResultOutputWithContext ¶ added in v8.17.0
func (o LookupRuntimeTemplateIamPolicyResultOutput) ToLookupRuntimeTemplateIamPolicyResultOutputWithContext(ctx context.Context) LookupRuntimeTemplateIamPolicyResultOutput
type Runtime ¶ added in v8.17.0
type Runtime struct { pulumi.CustomResourceState // The description of the Runtime. Description pulumi.StringPtrOutput `pulumi:"description"` // Required. The display name of the Runtime. DisplayName pulumi.StringOutput `pulumi:"displayName"` // The location for the resource: https://cloud.google.com/colab/docs/locations // // *** Location pulumi.StringOutput `pulumi:"location"` // The resource name of the Runtime Name pulumi.StringOutput `pulumi:"name"` // 'Runtime specific information used for NotebookRuntime creation.' // Structure is documented below. NotebookRuntimeTemplateRef RuntimeNotebookRuntimeTemplateRefPtrOutput `pulumi:"notebookRuntimeTemplateRef"` // 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 user email of the NotebookRuntime. RuntimeUser pulumi.StringOutput `pulumi:"runtimeUser"` }
'A runtime is a Google-provisioned virtual machine (VM) that can run the code in your notebook (IPYNB file).'
To get more information about Runtime, see:
* [API documentation](https://cloud.google.com/vertex-ai/docs/reference/rest/v1/projects.locations.notebookRuntimes) * How-to Guides
- [Create a runtime](https://cloud.google.com/colab/docs/create-runtime)
## Example Usage
### Colab Runtime Basic
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/colab" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { myTemplate, err := colab.NewRuntimeTemplate(ctx, "my_template", &colab.RuntimeTemplateArgs{ Name: pulumi.String("colab-runtime"), DisplayName: pulumi.String("Runtime template basic"), Location: pulumi.String("us-central1"), MachineSpec: &colab.RuntimeTemplateMachineSpecArgs{ MachineType: pulumi.String("e2-standard-4"), }, NetworkSpec: &colab.RuntimeTemplateNetworkSpecArgs{ EnableInternetAccess: pulumi.Bool(true), }, }) if err != nil { return err } _, err = colab.NewRuntime(ctx, "runtime", &colab.RuntimeArgs{ Name: pulumi.String("colab-runtime"), Location: pulumi.String("us-central1"), NotebookRuntimeTemplateRef: &colab.RuntimeNotebookRuntimeTemplateRefArgs{ NotebookRuntimeTemplate: myTemplate.ID(), }, DisplayName: pulumi.String("Runtime basic"), RuntimeUser: pulumi.String("gterraformtestuser@gmail.com"), }, pulumi.DependsOn([]pulumi.Resource{ myTemplate, })) if err != nil { return err } return nil }) }
``` ### Colab Runtime Full
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/colab" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { myTemplate, err := colab.NewRuntimeTemplate(ctx, "my_template", &colab.RuntimeTemplateArgs{ Name: pulumi.String("colab-runtime"), DisplayName: pulumi.String("Runtime template full"), Location: pulumi.String("us-central1"), Description: pulumi.String("Full runtime template"), MachineSpec: &colab.RuntimeTemplateMachineSpecArgs{ MachineType: pulumi.String("n1-standard-2"), AcceleratorType: pulumi.String("NVIDIA_TESLA_T4"), AcceleratorCount: pulumi.Int(1), }, DataPersistentDiskSpec: &colab.RuntimeTemplateDataPersistentDiskSpecArgs{ DiskType: pulumi.String("pd-standard"), DiskSizeGb: pulumi.String("200"), }, NetworkSpec: &colab.RuntimeTemplateNetworkSpecArgs{ EnableInternetAccess: pulumi.Bool(true), }, Labels: pulumi.StringMap{ "k": pulumi.String("val"), }, IdleShutdownConfig: &colab.RuntimeTemplateIdleShutdownConfigArgs{ IdleTimeout: pulumi.String("3600s"), }, EucConfig: &colab.RuntimeTemplateEucConfigArgs{ EucDisabled: pulumi.Bool(true), }, ShieldedVmConfig: &colab.RuntimeTemplateShieldedVmConfigArgs{ EnableSecureBoot: pulumi.Bool(true), }, NetworkTags: pulumi.StringArray{ pulumi.String("abc"), pulumi.String("def"), }, EncryptionSpec: &colab.RuntimeTemplateEncryptionSpecArgs{ KmsKeyName: pulumi.String("my-crypto-key"), }, }) if err != nil { return err } _, err = colab.NewRuntime(ctx, "runtime", &colab.RuntimeArgs{ Name: pulumi.String("colab-runtime"), Location: pulumi.String("us-central1"), NotebookRuntimeTemplateRef: &colab.RuntimeNotebookRuntimeTemplateRefArgs{ NotebookRuntimeTemplate: myTemplate.ID(), }, DisplayName: pulumi.String("Runtime full"), RuntimeUser: pulumi.String("gterraformtestuser@gmail.com"), Description: pulumi.String("Full runtime"), }, pulumi.DependsOn([]pulumi.Resource{ myTemplate, })) if err != nil { return err } return nil }) }
```
## Import
Runtime can be imported using any of these accepted formats:
* `projects/{{project}}/locations/{{location}}/notebookRuntimes/{{name}}`
* `{{project}}/{{location}}/{{name}}`
* `{{location}}/{{name}}`
When using the `pulumi import` command, Runtime can be imported using one of the formats above. For example:
```sh $ pulumi import gcp:colab/runtime:Runtime default projects/{{project}}/locations/{{location}}/notebookRuntimes/{{name}} ```
```sh $ pulumi import gcp:colab/runtime:Runtime default {{project}}/{{location}}/{{name}} ```
```sh $ pulumi import gcp:colab/runtime:Runtime default {{location}}/{{name}} ```
func GetRuntime ¶ added in v8.17.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 v8.17.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 v8.17.0
func (*Runtime) ToRuntimeOutput ¶ added in v8.17.0
func (i *Runtime) ToRuntimeOutput() RuntimeOutput
func (*Runtime) ToRuntimeOutputWithContext ¶ added in v8.17.0
func (i *Runtime) ToRuntimeOutputWithContext(ctx context.Context) RuntimeOutput
type RuntimeArgs ¶ added in v8.17.0
type RuntimeArgs struct { // The description of the Runtime. Description pulumi.StringPtrInput // Required. The display name of the Runtime. DisplayName pulumi.StringInput // The location for the resource: https://cloud.google.com/colab/docs/locations // // *** Location pulumi.StringInput // The resource name of the Runtime Name pulumi.StringPtrInput // 'Runtime specific information used for NotebookRuntime creation.' // Structure is documented below. NotebookRuntimeTemplateRef RuntimeNotebookRuntimeTemplateRefPtrInput // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project pulumi.StringPtrInput // The user email of the NotebookRuntime. RuntimeUser pulumi.StringInput }
The set of arguments for constructing a Runtime resource.
func (RuntimeArgs) ElementType ¶ added in v8.17.0
func (RuntimeArgs) ElementType() reflect.Type
type RuntimeArray ¶ added in v8.17.0
type RuntimeArray []RuntimeInput
func (RuntimeArray) ElementType ¶ added in v8.17.0
func (RuntimeArray) ElementType() reflect.Type
func (RuntimeArray) ToRuntimeArrayOutput ¶ added in v8.17.0
func (i RuntimeArray) ToRuntimeArrayOutput() RuntimeArrayOutput
func (RuntimeArray) ToRuntimeArrayOutputWithContext ¶ added in v8.17.0
func (i RuntimeArray) ToRuntimeArrayOutputWithContext(ctx context.Context) RuntimeArrayOutput
type RuntimeArrayInput ¶ added in v8.17.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 v8.17.0
type RuntimeArrayOutput struct{ *pulumi.OutputState }
func (RuntimeArrayOutput) ElementType ¶ added in v8.17.0
func (RuntimeArrayOutput) ElementType() reflect.Type
func (RuntimeArrayOutput) Index ¶ added in v8.17.0
func (o RuntimeArrayOutput) Index(i pulumi.IntInput) RuntimeOutput
func (RuntimeArrayOutput) ToRuntimeArrayOutput ¶ added in v8.17.0
func (o RuntimeArrayOutput) ToRuntimeArrayOutput() RuntimeArrayOutput
func (RuntimeArrayOutput) ToRuntimeArrayOutputWithContext ¶ added in v8.17.0
func (o RuntimeArrayOutput) ToRuntimeArrayOutputWithContext(ctx context.Context) RuntimeArrayOutput
type RuntimeInput ¶ added in v8.17.0
type RuntimeInput interface { pulumi.Input ToRuntimeOutput() RuntimeOutput ToRuntimeOutputWithContext(ctx context.Context) RuntimeOutput }
type RuntimeMap ¶ added in v8.17.0
type RuntimeMap map[string]RuntimeInput
func (RuntimeMap) ElementType ¶ added in v8.17.0
func (RuntimeMap) ElementType() reflect.Type
func (RuntimeMap) ToRuntimeMapOutput ¶ added in v8.17.0
func (i RuntimeMap) ToRuntimeMapOutput() RuntimeMapOutput
func (RuntimeMap) ToRuntimeMapOutputWithContext ¶ added in v8.17.0
func (i RuntimeMap) ToRuntimeMapOutputWithContext(ctx context.Context) RuntimeMapOutput
type RuntimeMapInput ¶ added in v8.17.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 v8.17.0
type RuntimeMapOutput struct{ *pulumi.OutputState }
func (RuntimeMapOutput) ElementType ¶ added in v8.17.0
func (RuntimeMapOutput) ElementType() reflect.Type
func (RuntimeMapOutput) MapIndex ¶ added in v8.17.0
func (o RuntimeMapOutput) MapIndex(k pulumi.StringInput) RuntimeOutput
func (RuntimeMapOutput) ToRuntimeMapOutput ¶ added in v8.17.0
func (o RuntimeMapOutput) ToRuntimeMapOutput() RuntimeMapOutput
func (RuntimeMapOutput) ToRuntimeMapOutputWithContext ¶ added in v8.17.0
func (o RuntimeMapOutput) ToRuntimeMapOutputWithContext(ctx context.Context) RuntimeMapOutput
type RuntimeNotebookRuntimeTemplateRef ¶ added in v8.17.0
type RuntimeNotebookRuntimeTemplateRef struct { // The resource name of the NotebookRuntimeTemplate based on which a NotebookRuntime will be created. NotebookRuntimeTemplate string `pulumi:"notebookRuntimeTemplate"` }
type RuntimeNotebookRuntimeTemplateRefArgs ¶ added in v8.17.0
type RuntimeNotebookRuntimeTemplateRefArgs struct { // The resource name of the NotebookRuntimeTemplate based on which a NotebookRuntime will be created. NotebookRuntimeTemplate pulumi.StringInput `pulumi:"notebookRuntimeTemplate"` }
func (RuntimeNotebookRuntimeTemplateRefArgs) ElementType ¶ added in v8.17.0
func (RuntimeNotebookRuntimeTemplateRefArgs) ElementType() reflect.Type
func (RuntimeNotebookRuntimeTemplateRefArgs) ToRuntimeNotebookRuntimeTemplateRefOutput ¶ added in v8.17.0
func (i RuntimeNotebookRuntimeTemplateRefArgs) ToRuntimeNotebookRuntimeTemplateRefOutput() RuntimeNotebookRuntimeTemplateRefOutput
func (RuntimeNotebookRuntimeTemplateRefArgs) ToRuntimeNotebookRuntimeTemplateRefOutputWithContext ¶ added in v8.17.0
func (i RuntimeNotebookRuntimeTemplateRefArgs) ToRuntimeNotebookRuntimeTemplateRefOutputWithContext(ctx context.Context) RuntimeNotebookRuntimeTemplateRefOutput
func (RuntimeNotebookRuntimeTemplateRefArgs) ToRuntimeNotebookRuntimeTemplateRefPtrOutput ¶ added in v8.17.0
func (i RuntimeNotebookRuntimeTemplateRefArgs) ToRuntimeNotebookRuntimeTemplateRefPtrOutput() RuntimeNotebookRuntimeTemplateRefPtrOutput
func (RuntimeNotebookRuntimeTemplateRefArgs) ToRuntimeNotebookRuntimeTemplateRefPtrOutputWithContext ¶ added in v8.17.0
func (i RuntimeNotebookRuntimeTemplateRefArgs) ToRuntimeNotebookRuntimeTemplateRefPtrOutputWithContext(ctx context.Context) RuntimeNotebookRuntimeTemplateRefPtrOutput
type RuntimeNotebookRuntimeTemplateRefInput ¶ added in v8.17.0
type RuntimeNotebookRuntimeTemplateRefInput interface { pulumi.Input ToRuntimeNotebookRuntimeTemplateRefOutput() RuntimeNotebookRuntimeTemplateRefOutput ToRuntimeNotebookRuntimeTemplateRefOutputWithContext(context.Context) RuntimeNotebookRuntimeTemplateRefOutput }
RuntimeNotebookRuntimeTemplateRefInput is an input type that accepts RuntimeNotebookRuntimeTemplateRefArgs and RuntimeNotebookRuntimeTemplateRefOutput values. You can construct a concrete instance of `RuntimeNotebookRuntimeTemplateRefInput` via:
RuntimeNotebookRuntimeTemplateRefArgs{...}
type RuntimeNotebookRuntimeTemplateRefOutput ¶ added in v8.17.0
type RuntimeNotebookRuntimeTemplateRefOutput struct{ *pulumi.OutputState }
func (RuntimeNotebookRuntimeTemplateRefOutput) ElementType ¶ added in v8.17.0
func (RuntimeNotebookRuntimeTemplateRefOutput) ElementType() reflect.Type
func (RuntimeNotebookRuntimeTemplateRefOutput) NotebookRuntimeTemplate ¶ added in v8.17.0
func (o RuntimeNotebookRuntimeTemplateRefOutput) NotebookRuntimeTemplate() pulumi.StringOutput
The resource name of the NotebookRuntimeTemplate based on which a NotebookRuntime will be created.
func (RuntimeNotebookRuntimeTemplateRefOutput) ToRuntimeNotebookRuntimeTemplateRefOutput ¶ added in v8.17.0
func (o RuntimeNotebookRuntimeTemplateRefOutput) ToRuntimeNotebookRuntimeTemplateRefOutput() RuntimeNotebookRuntimeTemplateRefOutput
func (RuntimeNotebookRuntimeTemplateRefOutput) ToRuntimeNotebookRuntimeTemplateRefOutputWithContext ¶ added in v8.17.0
func (o RuntimeNotebookRuntimeTemplateRefOutput) ToRuntimeNotebookRuntimeTemplateRefOutputWithContext(ctx context.Context) RuntimeNotebookRuntimeTemplateRefOutput
func (RuntimeNotebookRuntimeTemplateRefOutput) ToRuntimeNotebookRuntimeTemplateRefPtrOutput ¶ added in v8.17.0
func (o RuntimeNotebookRuntimeTemplateRefOutput) ToRuntimeNotebookRuntimeTemplateRefPtrOutput() RuntimeNotebookRuntimeTemplateRefPtrOutput
func (RuntimeNotebookRuntimeTemplateRefOutput) ToRuntimeNotebookRuntimeTemplateRefPtrOutputWithContext ¶ added in v8.17.0
func (o RuntimeNotebookRuntimeTemplateRefOutput) ToRuntimeNotebookRuntimeTemplateRefPtrOutputWithContext(ctx context.Context) RuntimeNotebookRuntimeTemplateRefPtrOutput
type RuntimeNotebookRuntimeTemplateRefPtrInput ¶ added in v8.17.0
type RuntimeNotebookRuntimeTemplateRefPtrInput interface { pulumi.Input ToRuntimeNotebookRuntimeTemplateRefPtrOutput() RuntimeNotebookRuntimeTemplateRefPtrOutput ToRuntimeNotebookRuntimeTemplateRefPtrOutputWithContext(context.Context) RuntimeNotebookRuntimeTemplateRefPtrOutput }
RuntimeNotebookRuntimeTemplateRefPtrInput is an input type that accepts RuntimeNotebookRuntimeTemplateRefArgs, RuntimeNotebookRuntimeTemplateRefPtr and RuntimeNotebookRuntimeTemplateRefPtrOutput values. You can construct a concrete instance of `RuntimeNotebookRuntimeTemplateRefPtrInput` via:
RuntimeNotebookRuntimeTemplateRefArgs{...} or: nil
func RuntimeNotebookRuntimeTemplateRefPtr ¶ added in v8.17.0
func RuntimeNotebookRuntimeTemplateRefPtr(v *RuntimeNotebookRuntimeTemplateRefArgs) RuntimeNotebookRuntimeTemplateRefPtrInput
type RuntimeNotebookRuntimeTemplateRefPtrOutput ¶ added in v8.17.0
type RuntimeNotebookRuntimeTemplateRefPtrOutput struct{ *pulumi.OutputState }
func (RuntimeNotebookRuntimeTemplateRefPtrOutput) ElementType ¶ added in v8.17.0
func (RuntimeNotebookRuntimeTemplateRefPtrOutput) ElementType() reflect.Type
func (RuntimeNotebookRuntimeTemplateRefPtrOutput) NotebookRuntimeTemplate ¶ added in v8.17.0
func (o RuntimeNotebookRuntimeTemplateRefPtrOutput) NotebookRuntimeTemplate() pulumi.StringPtrOutput
The resource name of the NotebookRuntimeTemplate based on which a NotebookRuntime will be created.
func (RuntimeNotebookRuntimeTemplateRefPtrOutput) ToRuntimeNotebookRuntimeTemplateRefPtrOutput ¶ added in v8.17.0
func (o RuntimeNotebookRuntimeTemplateRefPtrOutput) ToRuntimeNotebookRuntimeTemplateRefPtrOutput() RuntimeNotebookRuntimeTemplateRefPtrOutput
func (RuntimeNotebookRuntimeTemplateRefPtrOutput) ToRuntimeNotebookRuntimeTemplateRefPtrOutputWithContext ¶ added in v8.17.0
func (o RuntimeNotebookRuntimeTemplateRefPtrOutput) ToRuntimeNotebookRuntimeTemplateRefPtrOutputWithContext(ctx context.Context) RuntimeNotebookRuntimeTemplateRefPtrOutput
type RuntimeOutput ¶ added in v8.17.0
type RuntimeOutput struct{ *pulumi.OutputState }
func (RuntimeOutput) Description ¶ added in v8.17.0
func (o RuntimeOutput) Description() pulumi.StringPtrOutput
The description of the Runtime.
func (RuntimeOutput) DisplayName ¶ added in v8.17.0
func (o RuntimeOutput) DisplayName() pulumi.StringOutput
Required. The display name of the Runtime.
func (RuntimeOutput) ElementType ¶ added in v8.17.0
func (RuntimeOutput) ElementType() reflect.Type
func (RuntimeOutput) Location ¶ added in v8.17.0
func (o RuntimeOutput) Location() pulumi.StringOutput
The location for the resource: https://cloud.google.com/colab/docs/locations
***
func (RuntimeOutput) Name ¶ added in v8.17.0
func (o RuntimeOutput) Name() pulumi.StringOutput
The resource name of the Runtime
func (RuntimeOutput) NotebookRuntimeTemplateRef ¶ added in v8.17.0
func (o RuntimeOutput) NotebookRuntimeTemplateRef() RuntimeNotebookRuntimeTemplateRefPtrOutput
'Runtime specific information used for NotebookRuntime creation.' Structure is documented below.
func (RuntimeOutput) Project ¶ added in v8.17.0
func (o RuntimeOutput) Project() pulumi.StringOutput
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
func (RuntimeOutput) RuntimeUser ¶ added in v8.17.0
func (o RuntimeOutput) RuntimeUser() pulumi.StringOutput
The user email of the NotebookRuntime.
func (RuntimeOutput) ToRuntimeOutput ¶ added in v8.17.0
func (o RuntimeOutput) ToRuntimeOutput() RuntimeOutput
func (RuntimeOutput) ToRuntimeOutputWithContext ¶ added in v8.17.0
func (o RuntimeOutput) ToRuntimeOutputWithContext(ctx context.Context) RuntimeOutput
type RuntimeState ¶ added in v8.17.0
type RuntimeState struct { // The description of the Runtime. Description pulumi.StringPtrInput // Required. The display name of the Runtime. DisplayName pulumi.StringPtrInput // The location for the resource: https://cloud.google.com/colab/docs/locations // // *** Location pulumi.StringPtrInput // The resource name of the Runtime Name pulumi.StringPtrInput // 'Runtime specific information used for NotebookRuntime creation.' // Structure is documented below. NotebookRuntimeTemplateRef RuntimeNotebookRuntimeTemplateRefPtrInput // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project pulumi.StringPtrInput // The user email of the NotebookRuntime. RuntimeUser pulumi.StringPtrInput }
func (RuntimeState) ElementType ¶ added in v8.17.0
func (RuntimeState) ElementType() reflect.Type
type RuntimeTemplate ¶
type RuntimeTemplate struct { pulumi.CustomResourceState // The configuration for the data disk of the runtime. // Structure is documented below. DataPersistentDiskSpec RuntimeTemplateDataPersistentDiskSpecOutput `pulumi:"dataPersistentDiskSpec"` // The description of the Runtime Template. Description pulumi.StringPtrOutput `pulumi:"description"` // Required. The display name of the Runtime Template. DisplayName pulumi.StringOutput `pulumi:"displayName"` // All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services. EffectiveLabels pulumi.StringMapOutput `pulumi:"effectiveLabels"` // Customer-managed encryption key spec for the notebook runtime. // Structure is documented below. EncryptionSpec RuntimeTemplateEncryptionSpecPtrOutput `pulumi:"encryptionSpec"` // EUC configuration of the NotebookRuntimeTemplate. // Structure is documented below. EucConfig RuntimeTemplateEucConfigPtrOutput `pulumi:"eucConfig"` // Notebook Idle Shutdown configuration for the runtime. // Structure is documented below. IdleShutdownConfig RuntimeTemplateIdleShutdownConfigOutput `pulumi:"idleShutdownConfig"` // Labels to identify and group the runtime template. // **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. // Please refer to the field `effectiveLabels` for all of the labels present on the resource. Labels pulumi.StringMapOutput `pulumi:"labels"` // The location for the resource: https://cloud.google.com/colab/docs/locations // // *** Location pulumi.StringOutput `pulumi:"location"` // 'The machine configuration of the runtime.' // Structure is documented below. MachineSpec RuntimeTemplateMachineSpecOutput `pulumi:"machineSpec"` // The resource name of the Runtime Template Name pulumi.StringOutput `pulumi:"name"` // The network configuration for the runtime. // Structure is documented below. NetworkSpec RuntimeTemplateNetworkSpecOutput `pulumi:"networkSpec"` // Applies the given Compute Engine tags to the runtime. NetworkTags pulumi.StringArrayOutput `pulumi:"networkTags"` // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project pulumi.StringOutput `pulumi:"project"` // The combination of labels configured directly on the resource // and default labels configured on the provider. PulumiLabels pulumi.StringMapOutput `pulumi:"pulumiLabels"` // Runtime Shielded VM spec. // Structure is documented below. ShieldedVmConfig RuntimeTemplateShieldedVmConfigPtrOutput `pulumi:"shieldedVmConfig"` }
'A runtime template is a VM configuration that specifies a machine type and other characteristics of the VM,
as well as common settings such as the network and whether public internet access is enabled. When you create a runtime, its VM is created according to the specifications of a runtime template.'
To get more information about RuntimeTemplate, see:
* [API documentation](https://cloud.google.com/vertex-ai/docs/reference/rest/v1/projects.locations.notebookRuntimeTemplates) * How-to Guides
- [Create a runtime template](https://cloud.google.com/colab/docs/create-runtime-template)
## Example Usage
### Colab Runtime Template Basic
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/colab" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := colab.NewRuntimeTemplate(ctx, "runtime-template", &colab.RuntimeTemplateArgs{ Name: pulumi.String("colab-runtime-template"), DisplayName: pulumi.String("Runtime template basic"), Location: pulumi.String("us-central1"), MachineSpec: &colab.RuntimeTemplateMachineSpecArgs{ MachineType: pulumi.String("e2-standard-4"), }, NetworkSpec: &colab.RuntimeTemplateNetworkSpecArgs{ EnableInternetAccess: pulumi.Bool(true), }, }) if err != nil { return err } return nil }) }
``` ### Colab Runtime Template No Name
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/colab" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := colab.NewRuntimeTemplate(ctx, "runtime-template", &colab.RuntimeTemplateArgs{ DisplayName: pulumi.String("Runtime template no name"), Location: pulumi.String("us-central1"), MachineSpec: &colab.RuntimeTemplateMachineSpecArgs{ MachineType: pulumi.String("e2-standard-4"), }, NetworkSpec: &colab.RuntimeTemplateNetworkSpecArgs{ EnableInternetAccess: pulumi.Bool(true), }, }) if err != nil { return err } return nil }) }
``` ### Colab Runtime Template Full
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/colab" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/compute" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { myNetwork, err := compute.NewNetwork(ctx, "my_network", &compute.NetworkArgs{ Name: pulumi.String("colab-test-default"), AutoCreateSubnetworks: pulumi.Bool(false), }) if err != nil { return err } mySubnetwork, err := compute.NewSubnetwork(ctx, "my_subnetwork", &compute.SubnetworkArgs{ Name: pulumi.String("colab-test-default"), Network: myNetwork.ID(), Region: pulumi.String("us-central1"), IpCidrRange: pulumi.String("10.0.1.0/24"), }) if err != nil { return err } _, err = colab.NewRuntimeTemplate(ctx, "runtime-template", &colab.RuntimeTemplateArgs{ Name: pulumi.String("colab-runtime-template"), DisplayName: pulumi.String("Runtime template full"), Location: pulumi.String("us-central1"), Description: pulumi.String("Full runtime template"), MachineSpec: &colab.RuntimeTemplateMachineSpecArgs{ MachineType: pulumi.String("n1-standard-2"), AcceleratorType: pulumi.String("NVIDIA_TESLA_T4"), AcceleratorCount: pulumi.Int(1), }, DataPersistentDiskSpec: &colab.RuntimeTemplateDataPersistentDiskSpecArgs{ DiskType: pulumi.String("pd-standard"), DiskSizeGb: pulumi.String("200"), }, NetworkSpec: &colab.RuntimeTemplateNetworkSpecArgs{ EnableInternetAccess: pulumi.Bool(true), Network: myNetwork.ID(), Subnetwork: mySubnetwork.ID(), }, Labels: pulumi.StringMap{ "k": pulumi.String("val"), }, IdleShutdownConfig: &colab.RuntimeTemplateIdleShutdownConfigArgs{ IdleTimeout: pulumi.String("3600s"), }, EucConfig: &colab.RuntimeTemplateEucConfigArgs{ EucDisabled: pulumi.Bool(true), }, ShieldedVmConfig: &colab.RuntimeTemplateShieldedVmConfigArgs{ EnableSecureBoot: pulumi.Bool(true), }, NetworkTags: pulumi.StringArray{ pulumi.String("abc"), pulumi.String("def"), }, EncryptionSpec: &colab.RuntimeTemplateEncryptionSpecArgs{ KmsKeyName: pulumi.String("my-crypto-key"), }, }) if err != nil { return err } return nil }) }
```
## Import
RuntimeTemplate can be imported using any of these accepted formats:
* `projects/{{project}}/locations/{{location}}/notebookRuntimeTemplates/{{name}}`
* `{{project}}/{{location}}/{{name}}`
* `{{location}}/{{name}}`
When using the `pulumi import` command, RuntimeTemplate can be imported using one of the formats above. For example:
```sh $ pulumi import gcp:colab/runtimeTemplate:RuntimeTemplate default projects/{{project}}/locations/{{location}}/notebookRuntimeTemplates/{{name}} ```
```sh $ pulumi import gcp:colab/runtimeTemplate:RuntimeTemplate default {{project}}/{{location}}/{{name}} ```
```sh $ pulumi import gcp:colab/runtimeTemplate:RuntimeTemplate default {{location}}/{{name}} ```
func GetRuntimeTemplate ¶
func GetRuntimeTemplate(ctx *pulumi.Context, name string, id pulumi.IDInput, state *RuntimeTemplateState, opts ...pulumi.ResourceOption) (*RuntimeTemplate, error)
GetRuntimeTemplate gets an existing RuntimeTemplate 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 NewRuntimeTemplate ¶
func NewRuntimeTemplate(ctx *pulumi.Context, name string, args *RuntimeTemplateArgs, opts ...pulumi.ResourceOption) (*RuntimeTemplate, error)
NewRuntimeTemplate registers a new resource with the given unique name, arguments, and options.
func (*RuntimeTemplate) ElementType ¶
func (*RuntimeTemplate) ElementType() reflect.Type
func (*RuntimeTemplate) ToRuntimeTemplateOutput ¶
func (i *RuntimeTemplate) ToRuntimeTemplateOutput() RuntimeTemplateOutput
func (*RuntimeTemplate) ToRuntimeTemplateOutputWithContext ¶
func (i *RuntimeTemplate) ToRuntimeTemplateOutputWithContext(ctx context.Context) RuntimeTemplateOutput
type RuntimeTemplateArgs ¶
type RuntimeTemplateArgs struct { // The configuration for the data disk of the runtime. // Structure is documented below. DataPersistentDiskSpec RuntimeTemplateDataPersistentDiskSpecPtrInput // The description of the Runtime Template. Description pulumi.StringPtrInput // Required. The display name of the Runtime Template. DisplayName pulumi.StringInput // Customer-managed encryption key spec for the notebook runtime. // Structure is documented below. EncryptionSpec RuntimeTemplateEncryptionSpecPtrInput // EUC configuration of the NotebookRuntimeTemplate. // Structure is documented below. EucConfig RuntimeTemplateEucConfigPtrInput // Notebook Idle Shutdown configuration for the runtime. // Structure is documented below. IdleShutdownConfig RuntimeTemplateIdleShutdownConfigPtrInput // Labels to identify and group the runtime template. // **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. // Please refer to the field `effectiveLabels` for all of the labels present on the resource. Labels pulumi.StringMapInput // The location for the resource: https://cloud.google.com/colab/docs/locations // // *** Location pulumi.StringInput // 'The machine configuration of the runtime.' // Structure is documented below. MachineSpec RuntimeTemplateMachineSpecPtrInput // The resource name of the Runtime Template Name pulumi.StringPtrInput // The network configuration for the runtime. // Structure is documented below. NetworkSpec RuntimeTemplateNetworkSpecPtrInput // Applies the given Compute Engine tags to the runtime. NetworkTags pulumi.StringArrayInput // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project pulumi.StringPtrInput // Runtime Shielded VM spec. // Structure is documented below. ShieldedVmConfig RuntimeTemplateShieldedVmConfigPtrInput }
The set of arguments for constructing a RuntimeTemplate resource.
func (RuntimeTemplateArgs) ElementType ¶
func (RuntimeTemplateArgs) ElementType() reflect.Type
type RuntimeTemplateArray ¶
type RuntimeTemplateArray []RuntimeTemplateInput
func (RuntimeTemplateArray) ElementType ¶
func (RuntimeTemplateArray) ElementType() reflect.Type
func (RuntimeTemplateArray) ToRuntimeTemplateArrayOutput ¶
func (i RuntimeTemplateArray) ToRuntimeTemplateArrayOutput() RuntimeTemplateArrayOutput
func (RuntimeTemplateArray) ToRuntimeTemplateArrayOutputWithContext ¶
func (i RuntimeTemplateArray) ToRuntimeTemplateArrayOutputWithContext(ctx context.Context) RuntimeTemplateArrayOutput
type RuntimeTemplateArrayInput ¶
type RuntimeTemplateArrayInput interface { pulumi.Input ToRuntimeTemplateArrayOutput() RuntimeTemplateArrayOutput ToRuntimeTemplateArrayOutputWithContext(context.Context) RuntimeTemplateArrayOutput }
RuntimeTemplateArrayInput is an input type that accepts RuntimeTemplateArray and RuntimeTemplateArrayOutput values. You can construct a concrete instance of `RuntimeTemplateArrayInput` via:
RuntimeTemplateArray{ RuntimeTemplateArgs{...} }
type RuntimeTemplateArrayOutput ¶
type RuntimeTemplateArrayOutput struct{ *pulumi.OutputState }
func (RuntimeTemplateArrayOutput) ElementType ¶
func (RuntimeTemplateArrayOutput) ElementType() reflect.Type
func (RuntimeTemplateArrayOutput) Index ¶
func (o RuntimeTemplateArrayOutput) Index(i pulumi.IntInput) RuntimeTemplateOutput
func (RuntimeTemplateArrayOutput) ToRuntimeTemplateArrayOutput ¶
func (o RuntimeTemplateArrayOutput) ToRuntimeTemplateArrayOutput() RuntimeTemplateArrayOutput
func (RuntimeTemplateArrayOutput) ToRuntimeTemplateArrayOutputWithContext ¶
func (o RuntimeTemplateArrayOutput) ToRuntimeTemplateArrayOutputWithContext(ctx context.Context) RuntimeTemplateArrayOutput
type RuntimeTemplateDataPersistentDiskSpec ¶
type RuntimeTemplateDataPersistentDiskSpec struct { // The disk size of the runtime in GB. If specified, the diskType must also be specified. The minimum size is 10GB and the maximum is 65536GB. DiskSizeGb *string `pulumi:"diskSizeGb"` // The type of the persistent disk. DiskType *string `pulumi:"diskType"` }
type RuntimeTemplateDataPersistentDiskSpecArgs ¶
type RuntimeTemplateDataPersistentDiskSpecArgs struct { // The disk size of the runtime in GB. If specified, the diskType must also be specified. The minimum size is 10GB and the maximum is 65536GB. DiskSizeGb pulumi.StringPtrInput `pulumi:"diskSizeGb"` // The type of the persistent disk. DiskType pulumi.StringPtrInput `pulumi:"diskType"` }
func (RuntimeTemplateDataPersistentDiskSpecArgs) ElementType ¶
func (RuntimeTemplateDataPersistentDiskSpecArgs) ElementType() reflect.Type
func (RuntimeTemplateDataPersistentDiskSpecArgs) ToRuntimeTemplateDataPersistentDiskSpecOutput ¶
func (i RuntimeTemplateDataPersistentDiskSpecArgs) ToRuntimeTemplateDataPersistentDiskSpecOutput() RuntimeTemplateDataPersistentDiskSpecOutput
func (RuntimeTemplateDataPersistentDiskSpecArgs) ToRuntimeTemplateDataPersistentDiskSpecOutputWithContext ¶
func (i RuntimeTemplateDataPersistentDiskSpecArgs) ToRuntimeTemplateDataPersistentDiskSpecOutputWithContext(ctx context.Context) RuntimeTemplateDataPersistentDiskSpecOutput
func (RuntimeTemplateDataPersistentDiskSpecArgs) ToRuntimeTemplateDataPersistentDiskSpecPtrOutput ¶
func (i RuntimeTemplateDataPersistentDiskSpecArgs) ToRuntimeTemplateDataPersistentDiskSpecPtrOutput() RuntimeTemplateDataPersistentDiskSpecPtrOutput
func (RuntimeTemplateDataPersistentDiskSpecArgs) ToRuntimeTemplateDataPersistentDiskSpecPtrOutputWithContext ¶
func (i RuntimeTemplateDataPersistentDiskSpecArgs) ToRuntimeTemplateDataPersistentDiskSpecPtrOutputWithContext(ctx context.Context) RuntimeTemplateDataPersistentDiskSpecPtrOutput
type RuntimeTemplateDataPersistentDiskSpecInput ¶
type RuntimeTemplateDataPersistentDiskSpecInput interface { pulumi.Input ToRuntimeTemplateDataPersistentDiskSpecOutput() RuntimeTemplateDataPersistentDiskSpecOutput ToRuntimeTemplateDataPersistentDiskSpecOutputWithContext(context.Context) RuntimeTemplateDataPersistentDiskSpecOutput }
RuntimeTemplateDataPersistentDiskSpecInput is an input type that accepts RuntimeTemplateDataPersistentDiskSpecArgs and RuntimeTemplateDataPersistentDiskSpecOutput values. You can construct a concrete instance of `RuntimeTemplateDataPersistentDiskSpecInput` via:
RuntimeTemplateDataPersistentDiskSpecArgs{...}
type RuntimeTemplateDataPersistentDiskSpecOutput ¶
type RuntimeTemplateDataPersistentDiskSpecOutput struct{ *pulumi.OutputState }
func (RuntimeTemplateDataPersistentDiskSpecOutput) DiskSizeGb ¶
func (o RuntimeTemplateDataPersistentDiskSpecOutput) DiskSizeGb() pulumi.StringPtrOutput
The disk size of the runtime in GB. If specified, the diskType must also be specified. The minimum size is 10GB and the maximum is 65536GB.
func (RuntimeTemplateDataPersistentDiskSpecOutput) DiskType ¶
func (o RuntimeTemplateDataPersistentDiskSpecOutput) DiskType() pulumi.StringPtrOutput
The type of the persistent disk.
func (RuntimeTemplateDataPersistentDiskSpecOutput) ElementType ¶
func (RuntimeTemplateDataPersistentDiskSpecOutput) ElementType() reflect.Type
func (RuntimeTemplateDataPersistentDiskSpecOutput) ToRuntimeTemplateDataPersistentDiskSpecOutput ¶
func (o RuntimeTemplateDataPersistentDiskSpecOutput) ToRuntimeTemplateDataPersistentDiskSpecOutput() RuntimeTemplateDataPersistentDiskSpecOutput
func (RuntimeTemplateDataPersistentDiskSpecOutput) ToRuntimeTemplateDataPersistentDiskSpecOutputWithContext ¶
func (o RuntimeTemplateDataPersistentDiskSpecOutput) ToRuntimeTemplateDataPersistentDiskSpecOutputWithContext(ctx context.Context) RuntimeTemplateDataPersistentDiskSpecOutput
func (RuntimeTemplateDataPersistentDiskSpecOutput) ToRuntimeTemplateDataPersistentDiskSpecPtrOutput ¶
func (o RuntimeTemplateDataPersistentDiskSpecOutput) ToRuntimeTemplateDataPersistentDiskSpecPtrOutput() RuntimeTemplateDataPersistentDiskSpecPtrOutput
func (RuntimeTemplateDataPersistentDiskSpecOutput) ToRuntimeTemplateDataPersistentDiskSpecPtrOutputWithContext ¶
func (o RuntimeTemplateDataPersistentDiskSpecOutput) ToRuntimeTemplateDataPersistentDiskSpecPtrOutputWithContext(ctx context.Context) RuntimeTemplateDataPersistentDiskSpecPtrOutput
type RuntimeTemplateDataPersistentDiskSpecPtrInput ¶
type RuntimeTemplateDataPersistentDiskSpecPtrInput interface { pulumi.Input ToRuntimeTemplateDataPersistentDiskSpecPtrOutput() RuntimeTemplateDataPersistentDiskSpecPtrOutput ToRuntimeTemplateDataPersistentDiskSpecPtrOutputWithContext(context.Context) RuntimeTemplateDataPersistentDiskSpecPtrOutput }
RuntimeTemplateDataPersistentDiskSpecPtrInput is an input type that accepts RuntimeTemplateDataPersistentDiskSpecArgs, RuntimeTemplateDataPersistentDiskSpecPtr and RuntimeTemplateDataPersistentDiskSpecPtrOutput values. You can construct a concrete instance of `RuntimeTemplateDataPersistentDiskSpecPtrInput` via:
RuntimeTemplateDataPersistentDiskSpecArgs{...} or: nil
func RuntimeTemplateDataPersistentDiskSpecPtr ¶
func RuntimeTemplateDataPersistentDiskSpecPtr(v *RuntimeTemplateDataPersistentDiskSpecArgs) RuntimeTemplateDataPersistentDiskSpecPtrInput
type RuntimeTemplateDataPersistentDiskSpecPtrOutput ¶
type RuntimeTemplateDataPersistentDiskSpecPtrOutput struct{ *pulumi.OutputState }
func (RuntimeTemplateDataPersistentDiskSpecPtrOutput) DiskSizeGb ¶
func (o RuntimeTemplateDataPersistentDiskSpecPtrOutput) DiskSizeGb() pulumi.StringPtrOutput
The disk size of the runtime in GB. If specified, the diskType must also be specified. The minimum size is 10GB and the maximum is 65536GB.
func (RuntimeTemplateDataPersistentDiskSpecPtrOutput) DiskType ¶
func (o RuntimeTemplateDataPersistentDiskSpecPtrOutput) DiskType() pulumi.StringPtrOutput
The type of the persistent disk.
func (RuntimeTemplateDataPersistentDiskSpecPtrOutput) ElementType ¶
func (RuntimeTemplateDataPersistentDiskSpecPtrOutput) ElementType() reflect.Type
func (RuntimeTemplateDataPersistentDiskSpecPtrOutput) ToRuntimeTemplateDataPersistentDiskSpecPtrOutput ¶
func (o RuntimeTemplateDataPersistentDiskSpecPtrOutput) ToRuntimeTemplateDataPersistentDiskSpecPtrOutput() RuntimeTemplateDataPersistentDiskSpecPtrOutput
func (RuntimeTemplateDataPersistentDiskSpecPtrOutput) ToRuntimeTemplateDataPersistentDiskSpecPtrOutputWithContext ¶
func (o RuntimeTemplateDataPersistentDiskSpecPtrOutput) ToRuntimeTemplateDataPersistentDiskSpecPtrOutputWithContext(ctx context.Context) RuntimeTemplateDataPersistentDiskSpecPtrOutput
type RuntimeTemplateEncryptionSpec ¶
type RuntimeTemplateEncryptionSpec struct { // The Cloud KMS encryption key (customer-managed encryption key) used to protect the runtime. KmsKeyName *string `pulumi:"kmsKeyName"` }
type RuntimeTemplateEncryptionSpecArgs ¶
type RuntimeTemplateEncryptionSpecArgs struct { // The Cloud KMS encryption key (customer-managed encryption key) used to protect the runtime. KmsKeyName pulumi.StringPtrInput `pulumi:"kmsKeyName"` }
func (RuntimeTemplateEncryptionSpecArgs) ElementType ¶
func (RuntimeTemplateEncryptionSpecArgs) ElementType() reflect.Type
func (RuntimeTemplateEncryptionSpecArgs) ToRuntimeTemplateEncryptionSpecOutput ¶
func (i RuntimeTemplateEncryptionSpecArgs) ToRuntimeTemplateEncryptionSpecOutput() RuntimeTemplateEncryptionSpecOutput
func (RuntimeTemplateEncryptionSpecArgs) ToRuntimeTemplateEncryptionSpecOutputWithContext ¶
func (i RuntimeTemplateEncryptionSpecArgs) ToRuntimeTemplateEncryptionSpecOutputWithContext(ctx context.Context) RuntimeTemplateEncryptionSpecOutput
func (RuntimeTemplateEncryptionSpecArgs) ToRuntimeTemplateEncryptionSpecPtrOutput ¶
func (i RuntimeTemplateEncryptionSpecArgs) ToRuntimeTemplateEncryptionSpecPtrOutput() RuntimeTemplateEncryptionSpecPtrOutput
func (RuntimeTemplateEncryptionSpecArgs) ToRuntimeTemplateEncryptionSpecPtrOutputWithContext ¶
func (i RuntimeTemplateEncryptionSpecArgs) ToRuntimeTemplateEncryptionSpecPtrOutputWithContext(ctx context.Context) RuntimeTemplateEncryptionSpecPtrOutput
type RuntimeTemplateEncryptionSpecInput ¶
type RuntimeTemplateEncryptionSpecInput interface { pulumi.Input ToRuntimeTemplateEncryptionSpecOutput() RuntimeTemplateEncryptionSpecOutput ToRuntimeTemplateEncryptionSpecOutputWithContext(context.Context) RuntimeTemplateEncryptionSpecOutput }
RuntimeTemplateEncryptionSpecInput is an input type that accepts RuntimeTemplateEncryptionSpecArgs and RuntimeTemplateEncryptionSpecOutput values. You can construct a concrete instance of `RuntimeTemplateEncryptionSpecInput` via:
RuntimeTemplateEncryptionSpecArgs{...}
type RuntimeTemplateEncryptionSpecOutput ¶
type RuntimeTemplateEncryptionSpecOutput struct{ *pulumi.OutputState }
func (RuntimeTemplateEncryptionSpecOutput) ElementType ¶
func (RuntimeTemplateEncryptionSpecOutput) ElementType() reflect.Type
func (RuntimeTemplateEncryptionSpecOutput) KmsKeyName ¶
func (o RuntimeTemplateEncryptionSpecOutput) KmsKeyName() pulumi.StringPtrOutput
The Cloud KMS encryption key (customer-managed encryption key) used to protect the runtime.
func (RuntimeTemplateEncryptionSpecOutput) ToRuntimeTemplateEncryptionSpecOutput ¶
func (o RuntimeTemplateEncryptionSpecOutput) ToRuntimeTemplateEncryptionSpecOutput() RuntimeTemplateEncryptionSpecOutput
func (RuntimeTemplateEncryptionSpecOutput) ToRuntimeTemplateEncryptionSpecOutputWithContext ¶
func (o RuntimeTemplateEncryptionSpecOutput) ToRuntimeTemplateEncryptionSpecOutputWithContext(ctx context.Context) RuntimeTemplateEncryptionSpecOutput
func (RuntimeTemplateEncryptionSpecOutput) ToRuntimeTemplateEncryptionSpecPtrOutput ¶
func (o RuntimeTemplateEncryptionSpecOutput) ToRuntimeTemplateEncryptionSpecPtrOutput() RuntimeTemplateEncryptionSpecPtrOutput
func (RuntimeTemplateEncryptionSpecOutput) ToRuntimeTemplateEncryptionSpecPtrOutputWithContext ¶
func (o RuntimeTemplateEncryptionSpecOutput) ToRuntimeTemplateEncryptionSpecPtrOutputWithContext(ctx context.Context) RuntimeTemplateEncryptionSpecPtrOutput
type RuntimeTemplateEncryptionSpecPtrInput ¶
type RuntimeTemplateEncryptionSpecPtrInput interface { pulumi.Input ToRuntimeTemplateEncryptionSpecPtrOutput() RuntimeTemplateEncryptionSpecPtrOutput ToRuntimeTemplateEncryptionSpecPtrOutputWithContext(context.Context) RuntimeTemplateEncryptionSpecPtrOutput }
RuntimeTemplateEncryptionSpecPtrInput is an input type that accepts RuntimeTemplateEncryptionSpecArgs, RuntimeTemplateEncryptionSpecPtr and RuntimeTemplateEncryptionSpecPtrOutput values. You can construct a concrete instance of `RuntimeTemplateEncryptionSpecPtrInput` via:
RuntimeTemplateEncryptionSpecArgs{...} or: nil
func RuntimeTemplateEncryptionSpecPtr ¶
func RuntimeTemplateEncryptionSpecPtr(v *RuntimeTemplateEncryptionSpecArgs) RuntimeTemplateEncryptionSpecPtrInput
type RuntimeTemplateEncryptionSpecPtrOutput ¶
type RuntimeTemplateEncryptionSpecPtrOutput struct{ *pulumi.OutputState }
func (RuntimeTemplateEncryptionSpecPtrOutput) ElementType ¶
func (RuntimeTemplateEncryptionSpecPtrOutput) ElementType() reflect.Type
func (RuntimeTemplateEncryptionSpecPtrOutput) KmsKeyName ¶
func (o RuntimeTemplateEncryptionSpecPtrOutput) KmsKeyName() pulumi.StringPtrOutput
The Cloud KMS encryption key (customer-managed encryption key) used to protect the runtime.
func (RuntimeTemplateEncryptionSpecPtrOutput) ToRuntimeTemplateEncryptionSpecPtrOutput ¶
func (o RuntimeTemplateEncryptionSpecPtrOutput) ToRuntimeTemplateEncryptionSpecPtrOutput() RuntimeTemplateEncryptionSpecPtrOutput
func (RuntimeTemplateEncryptionSpecPtrOutput) ToRuntimeTemplateEncryptionSpecPtrOutputWithContext ¶
func (o RuntimeTemplateEncryptionSpecPtrOutput) ToRuntimeTemplateEncryptionSpecPtrOutputWithContext(ctx context.Context) RuntimeTemplateEncryptionSpecPtrOutput
type RuntimeTemplateEucConfig ¶
type RuntimeTemplateEucConfig struct { // Disable end user credential access for the runtime. EucDisabled *bool `pulumi:"eucDisabled"` }
type RuntimeTemplateEucConfigArgs ¶
type RuntimeTemplateEucConfigArgs struct { // Disable end user credential access for the runtime. EucDisabled pulumi.BoolPtrInput `pulumi:"eucDisabled"` }
func (RuntimeTemplateEucConfigArgs) ElementType ¶
func (RuntimeTemplateEucConfigArgs) ElementType() reflect.Type
func (RuntimeTemplateEucConfigArgs) ToRuntimeTemplateEucConfigOutput ¶
func (i RuntimeTemplateEucConfigArgs) ToRuntimeTemplateEucConfigOutput() RuntimeTemplateEucConfigOutput
func (RuntimeTemplateEucConfigArgs) ToRuntimeTemplateEucConfigOutputWithContext ¶
func (i RuntimeTemplateEucConfigArgs) ToRuntimeTemplateEucConfigOutputWithContext(ctx context.Context) RuntimeTemplateEucConfigOutput
func (RuntimeTemplateEucConfigArgs) ToRuntimeTemplateEucConfigPtrOutput ¶
func (i RuntimeTemplateEucConfigArgs) ToRuntimeTemplateEucConfigPtrOutput() RuntimeTemplateEucConfigPtrOutput
func (RuntimeTemplateEucConfigArgs) ToRuntimeTemplateEucConfigPtrOutputWithContext ¶
func (i RuntimeTemplateEucConfigArgs) ToRuntimeTemplateEucConfigPtrOutputWithContext(ctx context.Context) RuntimeTemplateEucConfigPtrOutput
type RuntimeTemplateEucConfigInput ¶
type RuntimeTemplateEucConfigInput interface { pulumi.Input ToRuntimeTemplateEucConfigOutput() RuntimeTemplateEucConfigOutput ToRuntimeTemplateEucConfigOutputWithContext(context.Context) RuntimeTemplateEucConfigOutput }
RuntimeTemplateEucConfigInput is an input type that accepts RuntimeTemplateEucConfigArgs and RuntimeTemplateEucConfigOutput values. You can construct a concrete instance of `RuntimeTemplateEucConfigInput` via:
RuntimeTemplateEucConfigArgs{...}
type RuntimeTemplateEucConfigOutput ¶
type RuntimeTemplateEucConfigOutput struct{ *pulumi.OutputState }
func (RuntimeTemplateEucConfigOutput) ElementType ¶
func (RuntimeTemplateEucConfigOutput) ElementType() reflect.Type
func (RuntimeTemplateEucConfigOutput) EucDisabled ¶
func (o RuntimeTemplateEucConfigOutput) EucDisabled() pulumi.BoolPtrOutput
Disable end user credential access for the runtime.
func (RuntimeTemplateEucConfigOutput) ToRuntimeTemplateEucConfigOutput ¶
func (o RuntimeTemplateEucConfigOutput) ToRuntimeTemplateEucConfigOutput() RuntimeTemplateEucConfigOutput
func (RuntimeTemplateEucConfigOutput) ToRuntimeTemplateEucConfigOutputWithContext ¶
func (o RuntimeTemplateEucConfigOutput) ToRuntimeTemplateEucConfigOutputWithContext(ctx context.Context) RuntimeTemplateEucConfigOutput
func (RuntimeTemplateEucConfigOutput) ToRuntimeTemplateEucConfigPtrOutput ¶
func (o RuntimeTemplateEucConfigOutput) ToRuntimeTemplateEucConfigPtrOutput() RuntimeTemplateEucConfigPtrOutput
func (RuntimeTemplateEucConfigOutput) ToRuntimeTemplateEucConfigPtrOutputWithContext ¶
func (o RuntimeTemplateEucConfigOutput) ToRuntimeTemplateEucConfigPtrOutputWithContext(ctx context.Context) RuntimeTemplateEucConfigPtrOutput
type RuntimeTemplateEucConfigPtrInput ¶
type RuntimeTemplateEucConfigPtrInput interface { pulumi.Input ToRuntimeTemplateEucConfigPtrOutput() RuntimeTemplateEucConfigPtrOutput ToRuntimeTemplateEucConfigPtrOutputWithContext(context.Context) RuntimeTemplateEucConfigPtrOutput }
RuntimeTemplateEucConfigPtrInput is an input type that accepts RuntimeTemplateEucConfigArgs, RuntimeTemplateEucConfigPtr and RuntimeTemplateEucConfigPtrOutput values. You can construct a concrete instance of `RuntimeTemplateEucConfigPtrInput` via:
RuntimeTemplateEucConfigArgs{...} or: nil
func RuntimeTemplateEucConfigPtr ¶
func RuntimeTemplateEucConfigPtr(v *RuntimeTemplateEucConfigArgs) RuntimeTemplateEucConfigPtrInput
type RuntimeTemplateEucConfigPtrOutput ¶
type RuntimeTemplateEucConfigPtrOutput struct{ *pulumi.OutputState }
func (RuntimeTemplateEucConfigPtrOutput) Elem ¶
func (o RuntimeTemplateEucConfigPtrOutput) Elem() RuntimeTemplateEucConfigOutput
func (RuntimeTemplateEucConfigPtrOutput) ElementType ¶
func (RuntimeTemplateEucConfigPtrOutput) ElementType() reflect.Type
func (RuntimeTemplateEucConfigPtrOutput) EucDisabled ¶
func (o RuntimeTemplateEucConfigPtrOutput) EucDisabled() pulumi.BoolPtrOutput
Disable end user credential access for the runtime.
func (RuntimeTemplateEucConfigPtrOutput) ToRuntimeTemplateEucConfigPtrOutput ¶
func (o RuntimeTemplateEucConfigPtrOutput) ToRuntimeTemplateEucConfigPtrOutput() RuntimeTemplateEucConfigPtrOutput
func (RuntimeTemplateEucConfigPtrOutput) ToRuntimeTemplateEucConfigPtrOutputWithContext ¶
func (o RuntimeTemplateEucConfigPtrOutput) ToRuntimeTemplateEucConfigPtrOutputWithContext(ctx context.Context) RuntimeTemplateEucConfigPtrOutput
type RuntimeTemplateIamBinding ¶ added in v8.17.0
type RuntimeTemplateIamBinding struct { pulumi.CustomResourceState Condition RuntimeTemplateIamBindingConditionPtrOutput `pulumi:"condition"` // (Computed) The etag of the IAM policy. Etag pulumi.StringOutput `pulumi:"etag"` // The location for the resource: https://cloud.google.com/colab/docs/locations Used to find the parent resource to bind the IAM policy to. If not specified, // the value will be parsed from the identifier of the parent resource. If no location is provided in the parent identifier and no // location is specified, it is taken from the provider configuration. Location pulumi.StringOutput `pulumi:"location"` // Identities that will be granted the privilege in `role`. // Each entry can have one of the following values: // * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account. // * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account. // * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com. // * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com. // * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com. // * **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com. // * **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project" // * **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project" // * **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project" Members pulumi.StringArrayOutput `pulumi:"members"` // The ID of the project in which the resource belongs. // If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used. Project pulumi.StringOutput `pulumi:"project"` // The role that should be applied. Only one // `colab.RuntimeTemplateIamBinding` 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 RuntimeTemplate pulumi.StringOutput `pulumi:"runtimeTemplate"` }
Three different resources help you manage your IAM policy for Colab Enterprise RuntimeTemplate. Each of these resources serves a different use case:
* `colab.RuntimeTemplateIamPolicy`: Authoritative. Sets the IAM policy for the runtimetemplate and replaces any existing policy already attached. * `colab.RuntimeTemplateIamBinding`: 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 runtimetemplate are preserved. * `colab.RuntimeTemplateIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the runtimetemplate are preserved.
A data source can be used to retrieve policy data in advent you do not need creation ¶
* `colab.RuntimeTemplateIamPolicy`: Retrieves the IAM policy for the runtimetemplate
> **Note:** `colab.RuntimeTemplateIamPolicy` **cannot** be used in conjunction with `colab.RuntimeTemplateIamBinding` and `colab.RuntimeTemplateIamMember` or they will fight over what your policy should be.
> **Note:** `colab.RuntimeTemplateIamBinding` resources **can be** used in conjunction with `colab.RuntimeTemplateIamMember` resources **only if** they do not grant privilege to the same role.
## colab.RuntimeTemplateIamPolicy
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/colab" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/organizations" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { admin, err := organizations.LookupIAMPolicy(ctx, &organizations.LookupIAMPolicyArgs{ Bindings: []organizations.GetIAMPolicyBinding{ { Role: "roles/viewer", Members: []string{ "user:jane@example.com", }, }, }, }, nil) if err != nil { return err } _, err = colab.NewRuntimeTemplateIamPolicy(ctx, "policy", &colab.RuntimeTemplateIamPolicyArgs{ Project: pulumi.Any(runtime_template.Project), Location: pulumi.Any(runtime_template.Location), RuntimeTemplate: pulumi.Any(runtime_template.Name), PolicyData: pulumi.String(admin.PolicyData), }) if err != nil { return err } return nil }) }
```
## colab.RuntimeTemplateIamBinding
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/colab" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := colab.NewRuntimeTemplateIamBinding(ctx, "binding", &colab.RuntimeTemplateIamBindingArgs{ Project: pulumi.Any(runtime_template.Project), Location: pulumi.Any(runtime_template.Location), RuntimeTemplate: pulumi.Any(runtime_template.Name), Role: pulumi.String("roles/viewer"), Members: pulumi.StringArray{ pulumi.String("user:jane@example.com"), }, }) if err != nil { return err } return nil }) }
```
## colab.RuntimeTemplateIamMember
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/colab" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := colab.NewRuntimeTemplateIamMember(ctx, "member", &colab.RuntimeTemplateIamMemberArgs{ Project: pulumi.Any(runtime_template.Project), Location: pulumi.Any(runtime_template.Location), RuntimeTemplate: pulumi.Any(runtime_template.Name), Role: pulumi.String("roles/viewer"), Member: pulumi.String("user:jane@example.com"), }) if err != nil { return err } return nil }) }
```
## This resource supports User Project Overrides.
-
# IAM policy for Colab Enterprise RuntimeTemplate Three different resources help you manage your IAM policy for Colab Enterprise RuntimeTemplate. Each of these resources serves a different use case:
* `colab.RuntimeTemplateIamPolicy`: Authoritative. Sets the IAM policy for the runtimetemplate and replaces any existing policy already attached. * `colab.RuntimeTemplateIamBinding`: 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 runtimetemplate are preserved. * `colab.RuntimeTemplateIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the runtimetemplate are preserved.
A data source can be used to retrieve policy data in advent you do not need creation ¶
* `colab.RuntimeTemplateIamPolicy`: Retrieves the IAM policy for the runtimetemplate
> **Note:** `colab.RuntimeTemplateIamPolicy` **cannot** be used in conjunction with `colab.RuntimeTemplateIamBinding` and `colab.RuntimeTemplateIamMember` or they will fight over what your policy should be.
> **Note:** `colab.RuntimeTemplateIamBinding` resources **can be** used in conjunction with `colab.RuntimeTemplateIamMember` resources **only if** they do not grant privilege to the same role.
## colab.RuntimeTemplateIamPolicy
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/colab" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/organizations" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { admin, err := organizations.LookupIAMPolicy(ctx, &organizations.LookupIAMPolicyArgs{ Bindings: []organizations.GetIAMPolicyBinding{ { Role: "roles/viewer", Members: []string{ "user:jane@example.com", }, }, }, }, nil) if err != nil { return err } _, err = colab.NewRuntimeTemplateIamPolicy(ctx, "policy", &colab.RuntimeTemplateIamPolicyArgs{ Project: pulumi.Any(runtime_template.Project), Location: pulumi.Any(runtime_template.Location), RuntimeTemplate: pulumi.Any(runtime_template.Name), PolicyData: pulumi.String(admin.PolicyData), }) if err != nil { return err } return nil }) }
```
## colab.RuntimeTemplateIamBinding
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/colab" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := colab.NewRuntimeTemplateIamBinding(ctx, "binding", &colab.RuntimeTemplateIamBindingArgs{ Project: pulumi.Any(runtime_template.Project), Location: pulumi.Any(runtime_template.Location), RuntimeTemplate: pulumi.Any(runtime_template.Name), Role: pulumi.String("roles/viewer"), Members: pulumi.StringArray{ pulumi.String("user:jane@example.com"), }, }) if err != nil { return err } return nil }) }
```
## colab.RuntimeTemplateIamMember
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/colab" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := colab.NewRuntimeTemplateIamMember(ctx, "member", &colab.RuntimeTemplateIamMemberArgs{ Project: pulumi.Any(runtime_template.Project), Location: pulumi.Any(runtime_template.Location), RuntimeTemplate: pulumi.Any(runtime_template.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}}/notebookRuntimeTemplates/{{runtime_template}}
* {{project}}/{{location}}/{{runtime_template}}
* {{location}}/{{runtime_template}}
* {{runtime_template}}
Any variables not passed in the import command will be taken from the provider configuration.
Colab Enterprise runtimetemplate IAM resources can be imported using the resource identifiers, role, and member.
IAM member imports use space-delimited identifiers: the resource in question, the role, and the member identity, e.g.
```sh $ pulumi import gcp:colab/runtimeTemplateIamBinding:RuntimeTemplateIamBinding editor "projects/{{project}}/locations/{{location}}/notebookRuntimeTemplates/{{runtime_template}} roles/viewer user:jane@example.com" ```
IAM binding imports use space-delimited identifiers: the resource in question and the role, e.g.
```sh $ pulumi import gcp:colab/runtimeTemplateIamBinding:RuntimeTemplateIamBinding editor "projects/{{project}}/locations/{{location}}/notebookRuntimeTemplates/{{runtime_template}} roles/viewer" ```
IAM policy imports use the identifier of the resource in question, e.g.
```sh $ pulumi import gcp:colab/runtimeTemplateIamBinding:RuntimeTemplateIamBinding editor projects/{{project}}/locations/{{location}}/notebookRuntimeTemplates/{{runtime_template}} ```
-> **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 GetRuntimeTemplateIamBinding ¶ added in v8.17.0
func GetRuntimeTemplateIamBinding(ctx *pulumi.Context, name string, id pulumi.IDInput, state *RuntimeTemplateIamBindingState, opts ...pulumi.ResourceOption) (*RuntimeTemplateIamBinding, error)
GetRuntimeTemplateIamBinding gets an existing RuntimeTemplateIamBinding 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 NewRuntimeTemplateIamBinding ¶ added in v8.17.0
func NewRuntimeTemplateIamBinding(ctx *pulumi.Context, name string, args *RuntimeTemplateIamBindingArgs, opts ...pulumi.ResourceOption) (*RuntimeTemplateIamBinding, error)
NewRuntimeTemplateIamBinding registers a new resource with the given unique name, arguments, and options.
func (*RuntimeTemplateIamBinding) ElementType ¶ added in v8.17.0
func (*RuntimeTemplateIamBinding) ElementType() reflect.Type
func (*RuntimeTemplateIamBinding) ToRuntimeTemplateIamBindingOutput ¶ added in v8.17.0
func (i *RuntimeTemplateIamBinding) ToRuntimeTemplateIamBindingOutput() RuntimeTemplateIamBindingOutput
func (*RuntimeTemplateIamBinding) ToRuntimeTemplateIamBindingOutputWithContext ¶ added in v8.17.0
func (i *RuntimeTemplateIamBinding) ToRuntimeTemplateIamBindingOutputWithContext(ctx context.Context) RuntimeTemplateIamBindingOutput
type RuntimeTemplateIamBindingArgs ¶ added in v8.17.0
type RuntimeTemplateIamBindingArgs struct { Condition RuntimeTemplateIamBindingConditionPtrInput // The location for the resource: https://cloud.google.com/colab/docs/locations Used to find the parent resource to bind the IAM policy to. If not specified, // the value will be parsed from the identifier of the parent resource. If no location is provided in the parent identifier and no // location is specified, it is taken from the provider configuration. Location pulumi.StringPtrInput // Identities that will be granted the privilege in `role`. // Each entry can have one of the following values: // * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account. // * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account. // * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com. // * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com. // * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com. // * **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com. // * **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project" // * **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project" // * **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project" Members pulumi.StringArrayInput // The ID of the project in which the resource belongs. // If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used. Project pulumi.StringPtrInput // The role that should be applied. Only one // `colab.RuntimeTemplateIamBinding` 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 RuntimeTemplate pulumi.StringInput }
The set of arguments for constructing a RuntimeTemplateIamBinding resource.
func (RuntimeTemplateIamBindingArgs) ElementType ¶ added in v8.17.0
func (RuntimeTemplateIamBindingArgs) ElementType() reflect.Type
type RuntimeTemplateIamBindingArray ¶ added in v8.17.0
type RuntimeTemplateIamBindingArray []RuntimeTemplateIamBindingInput
func (RuntimeTemplateIamBindingArray) ElementType ¶ added in v8.17.0
func (RuntimeTemplateIamBindingArray) ElementType() reflect.Type
func (RuntimeTemplateIamBindingArray) ToRuntimeTemplateIamBindingArrayOutput ¶ added in v8.17.0
func (i RuntimeTemplateIamBindingArray) ToRuntimeTemplateIamBindingArrayOutput() RuntimeTemplateIamBindingArrayOutput
func (RuntimeTemplateIamBindingArray) ToRuntimeTemplateIamBindingArrayOutputWithContext ¶ added in v8.17.0
func (i RuntimeTemplateIamBindingArray) ToRuntimeTemplateIamBindingArrayOutputWithContext(ctx context.Context) RuntimeTemplateIamBindingArrayOutput
type RuntimeTemplateIamBindingArrayInput ¶ added in v8.17.0
type RuntimeTemplateIamBindingArrayInput interface { pulumi.Input ToRuntimeTemplateIamBindingArrayOutput() RuntimeTemplateIamBindingArrayOutput ToRuntimeTemplateIamBindingArrayOutputWithContext(context.Context) RuntimeTemplateIamBindingArrayOutput }
RuntimeTemplateIamBindingArrayInput is an input type that accepts RuntimeTemplateIamBindingArray and RuntimeTemplateIamBindingArrayOutput values. You can construct a concrete instance of `RuntimeTemplateIamBindingArrayInput` via:
RuntimeTemplateIamBindingArray{ RuntimeTemplateIamBindingArgs{...} }
type RuntimeTemplateIamBindingArrayOutput ¶ added in v8.17.0
type RuntimeTemplateIamBindingArrayOutput struct{ *pulumi.OutputState }
func (RuntimeTemplateIamBindingArrayOutput) ElementType ¶ added in v8.17.0
func (RuntimeTemplateIamBindingArrayOutput) ElementType() reflect.Type
func (RuntimeTemplateIamBindingArrayOutput) Index ¶ added in v8.17.0
func (o RuntimeTemplateIamBindingArrayOutput) Index(i pulumi.IntInput) RuntimeTemplateIamBindingOutput
func (RuntimeTemplateIamBindingArrayOutput) ToRuntimeTemplateIamBindingArrayOutput ¶ added in v8.17.0
func (o RuntimeTemplateIamBindingArrayOutput) ToRuntimeTemplateIamBindingArrayOutput() RuntimeTemplateIamBindingArrayOutput
func (RuntimeTemplateIamBindingArrayOutput) ToRuntimeTemplateIamBindingArrayOutputWithContext ¶ added in v8.17.0
func (o RuntimeTemplateIamBindingArrayOutput) ToRuntimeTemplateIamBindingArrayOutputWithContext(ctx context.Context) RuntimeTemplateIamBindingArrayOutput
type RuntimeTemplateIamBindingCondition ¶ added in v8.17.0
type RuntimeTemplateIamBindingConditionArgs ¶ added in v8.17.0
type RuntimeTemplateIamBindingConditionArgs struct { Description pulumi.StringPtrInput `pulumi:"description"` Expression pulumi.StringInput `pulumi:"expression"` Title pulumi.StringInput `pulumi:"title"` }
func (RuntimeTemplateIamBindingConditionArgs) ElementType ¶ added in v8.17.0
func (RuntimeTemplateIamBindingConditionArgs) ElementType() reflect.Type
func (RuntimeTemplateIamBindingConditionArgs) ToRuntimeTemplateIamBindingConditionOutput ¶ added in v8.17.0
func (i RuntimeTemplateIamBindingConditionArgs) ToRuntimeTemplateIamBindingConditionOutput() RuntimeTemplateIamBindingConditionOutput
func (RuntimeTemplateIamBindingConditionArgs) ToRuntimeTemplateIamBindingConditionOutputWithContext ¶ added in v8.17.0
func (i RuntimeTemplateIamBindingConditionArgs) ToRuntimeTemplateIamBindingConditionOutputWithContext(ctx context.Context) RuntimeTemplateIamBindingConditionOutput
func (RuntimeTemplateIamBindingConditionArgs) ToRuntimeTemplateIamBindingConditionPtrOutput ¶ added in v8.17.0
func (i RuntimeTemplateIamBindingConditionArgs) ToRuntimeTemplateIamBindingConditionPtrOutput() RuntimeTemplateIamBindingConditionPtrOutput
func (RuntimeTemplateIamBindingConditionArgs) ToRuntimeTemplateIamBindingConditionPtrOutputWithContext ¶ added in v8.17.0
func (i RuntimeTemplateIamBindingConditionArgs) ToRuntimeTemplateIamBindingConditionPtrOutputWithContext(ctx context.Context) RuntimeTemplateIamBindingConditionPtrOutput
type RuntimeTemplateIamBindingConditionInput ¶ added in v8.17.0
type RuntimeTemplateIamBindingConditionInput interface { pulumi.Input ToRuntimeTemplateIamBindingConditionOutput() RuntimeTemplateIamBindingConditionOutput ToRuntimeTemplateIamBindingConditionOutputWithContext(context.Context) RuntimeTemplateIamBindingConditionOutput }
RuntimeTemplateIamBindingConditionInput is an input type that accepts RuntimeTemplateIamBindingConditionArgs and RuntimeTemplateIamBindingConditionOutput values. You can construct a concrete instance of `RuntimeTemplateIamBindingConditionInput` via:
RuntimeTemplateIamBindingConditionArgs{...}
type RuntimeTemplateIamBindingConditionOutput ¶ added in v8.17.0
type RuntimeTemplateIamBindingConditionOutput struct{ *pulumi.OutputState }
func (RuntimeTemplateIamBindingConditionOutput) Description ¶ added in v8.17.0
func (o RuntimeTemplateIamBindingConditionOutput) Description() pulumi.StringPtrOutput
func (RuntimeTemplateIamBindingConditionOutput) ElementType ¶ added in v8.17.0
func (RuntimeTemplateIamBindingConditionOutput) ElementType() reflect.Type
func (RuntimeTemplateIamBindingConditionOutput) Expression ¶ added in v8.17.0
func (o RuntimeTemplateIamBindingConditionOutput) Expression() pulumi.StringOutput
func (RuntimeTemplateIamBindingConditionOutput) Title ¶ added in v8.17.0
func (o RuntimeTemplateIamBindingConditionOutput) Title() pulumi.StringOutput
func (RuntimeTemplateIamBindingConditionOutput) ToRuntimeTemplateIamBindingConditionOutput ¶ added in v8.17.0
func (o RuntimeTemplateIamBindingConditionOutput) ToRuntimeTemplateIamBindingConditionOutput() RuntimeTemplateIamBindingConditionOutput
func (RuntimeTemplateIamBindingConditionOutput) ToRuntimeTemplateIamBindingConditionOutputWithContext ¶ added in v8.17.0
func (o RuntimeTemplateIamBindingConditionOutput) ToRuntimeTemplateIamBindingConditionOutputWithContext(ctx context.Context) RuntimeTemplateIamBindingConditionOutput
func (RuntimeTemplateIamBindingConditionOutput) ToRuntimeTemplateIamBindingConditionPtrOutput ¶ added in v8.17.0
func (o RuntimeTemplateIamBindingConditionOutput) ToRuntimeTemplateIamBindingConditionPtrOutput() RuntimeTemplateIamBindingConditionPtrOutput
func (RuntimeTemplateIamBindingConditionOutput) ToRuntimeTemplateIamBindingConditionPtrOutputWithContext ¶ added in v8.17.0
func (o RuntimeTemplateIamBindingConditionOutput) ToRuntimeTemplateIamBindingConditionPtrOutputWithContext(ctx context.Context) RuntimeTemplateIamBindingConditionPtrOutput
type RuntimeTemplateIamBindingConditionPtrInput ¶ added in v8.17.0
type RuntimeTemplateIamBindingConditionPtrInput interface { pulumi.Input ToRuntimeTemplateIamBindingConditionPtrOutput() RuntimeTemplateIamBindingConditionPtrOutput ToRuntimeTemplateIamBindingConditionPtrOutputWithContext(context.Context) RuntimeTemplateIamBindingConditionPtrOutput }
RuntimeTemplateIamBindingConditionPtrInput is an input type that accepts RuntimeTemplateIamBindingConditionArgs, RuntimeTemplateIamBindingConditionPtr and RuntimeTemplateIamBindingConditionPtrOutput values. You can construct a concrete instance of `RuntimeTemplateIamBindingConditionPtrInput` via:
RuntimeTemplateIamBindingConditionArgs{...} or: nil
func RuntimeTemplateIamBindingConditionPtr ¶ added in v8.17.0
func RuntimeTemplateIamBindingConditionPtr(v *RuntimeTemplateIamBindingConditionArgs) RuntimeTemplateIamBindingConditionPtrInput
type RuntimeTemplateIamBindingConditionPtrOutput ¶ added in v8.17.0
type RuntimeTemplateIamBindingConditionPtrOutput struct{ *pulumi.OutputState }
func (RuntimeTemplateIamBindingConditionPtrOutput) Description ¶ added in v8.17.0
func (o RuntimeTemplateIamBindingConditionPtrOutput) Description() pulumi.StringPtrOutput
func (RuntimeTemplateIamBindingConditionPtrOutput) ElementType ¶ added in v8.17.0
func (RuntimeTemplateIamBindingConditionPtrOutput) ElementType() reflect.Type
func (RuntimeTemplateIamBindingConditionPtrOutput) Expression ¶ added in v8.17.0
func (o RuntimeTemplateIamBindingConditionPtrOutput) Expression() pulumi.StringPtrOutput
func (RuntimeTemplateIamBindingConditionPtrOutput) Title ¶ added in v8.17.0
func (o RuntimeTemplateIamBindingConditionPtrOutput) Title() pulumi.StringPtrOutput
func (RuntimeTemplateIamBindingConditionPtrOutput) ToRuntimeTemplateIamBindingConditionPtrOutput ¶ added in v8.17.0
func (o RuntimeTemplateIamBindingConditionPtrOutput) ToRuntimeTemplateIamBindingConditionPtrOutput() RuntimeTemplateIamBindingConditionPtrOutput
func (RuntimeTemplateIamBindingConditionPtrOutput) ToRuntimeTemplateIamBindingConditionPtrOutputWithContext ¶ added in v8.17.0
func (o RuntimeTemplateIamBindingConditionPtrOutput) ToRuntimeTemplateIamBindingConditionPtrOutputWithContext(ctx context.Context) RuntimeTemplateIamBindingConditionPtrOutput
type RuntimeTemplateIamBindingInput ¶ added in v8.17.0
type RuntimeTemplateIamBindingInput interface { pulumi.Input ToRuntimeTemplateIamBindingOutput() RuntimeTemplateIamBindingOutput ToRuntimeTemplateIamBindingOutputWithContext(ctx context.Context) RuntimeTemplateIamBindingOutput }
type RuntimeTemplateIamBindingMap ¶ added in v8.17.0
type RuntimeTemplateIamBindingMap map[string]RuntimeTemplateIamBindingInput
func (RuntimeTemplateIamBindingMap) ElementType ¶ added in v8.17.0
func (RuntimeTemplateIamBindingMap) ElementType() reflect.Type
func (RuntimeTemplateIamBindingMap) ToRuntimeTemplateIamBindingMapOutput ¶ added in v8.17.0
func (i RuntimeTemplateIamBindingMap) ToRuntimeTemplateIamBindingMapOutput() RuntimeTemplateIamBindingMapOutput
func (RuntimeTemplateIamBindingMap) ToRuntimeTemplateIamBindingMapOutputWithContext ¶ added in v8.17.0
func (i RuntimeTemplateIamBindingMap) ToRuntimeTemplateIamBindingMapOutputWithContext(ctx context.Context) RuntimeTemplateIamBindingMapOutput
type RuntimeTemplateIamBindingMapInput ¶ added in v8.17.0
type RuntimeTemplateIamBindingMapInput interface { pulumi.Input ToRuntimeTemplateIamBindingMapOutput() RuntimeTemplateIamBindingMapOutput ToRuntimeTemplateIamBindingMapOutputWithContext(context.Context) RuntimeTemplateIamBindingMapOutput }
RuntimeTemplateIamBindingMapInput is an input type that accepts RuntimeTemplateIamBindingMap and RuntimeTemplateIamBindingMapOutput values. You can construct a concrete instance of `RuntimeTemplateIamBindingMapInput` via:
RuntimeTemplateIamBindingMap{ "key": RuntimeTemplateIamBindingArgs{...} }
type RuntimeTemplateIamBindingMapOutput ¶ added in v8.17.0
type RuntimeTemplateIamBindingMapOutput struct{ *pulumi.OutputState }
func (RuntimeTemplateIamBindingMapOutput) ElementType ¶ added in v8.17.0
func (RuntimeTemplateIamBindingMapOutput) ElementType() reflect.Type
func (RuntimeTemplateIamBindingMapOutput) MapIndex ¶ added in v8.17.0
func (o RuntimeTemplateIamBindingMapOutput) MapIndex(k pulumi.StringInput) RuntimeTemplateIamBindingOutput
func (RuntimeTemplateIamBindingMapOutput) ToRuntimeTemplateIamBindingMapOutput ¶ added in v8.17.0
func (o RuntimeTemplateIamBindingMapOutput) ToRuntimeTemplateIamBindingMapOutput() RuntimeTemplateIamBindingMapOutput
func (RuntimeTemplateIamBindingMapOutput) ToRuntimeTemplateIamBindingMapOutputWithContext ¶ added in v8.17.0
func (o RuntimeTemplateIamBindingMapOutput) ToRuntimeTemplateIamBindingMapOutputWithContext(ctx context.Context) RuntimeTemplateIamBindingMapOutput
type RuntimeTemplateIamBindingOutput ¶ added in v8.17.0
type RuntimeTemplateIamBindingOutput struct{ *pulumi.OutputState }
func (RuntimeTemplateIamBindingOutput) Condition ¶ added in v8.17.0
func (o RuntimeTemplateIamBindingOutput) Condition() RuntimeTemplateIamBindingConditionPtrOutput
func (RuntimeTemplateIamBindingOutput) ElementType ¶ added in v8.17.0
func (RuntimeTemplateIamBindingOutput) ElementType() reflect.Type
func (RuntimeTemplateIamBindingOutput) Etag ¶ added in v8.17.0
func (o RuntimeTemplateIamBindingOutput) Etag() pulumi.StringOutput
(Computed) The etag of the IAM policy.
func (RuntimeTemplateIamBindingOutput) Location ¶ added in v8.17.0
func (o RuntimeTemplateIamBindingOutput) Location() pulumi.StringOutput
The location for the resource: https://cloud.google.com/colab/docs/locations Used to find the parent resource to bind the IAM policy to. If not specified, the value will be parsed from the identifier of the parent resource. If no location is provided in the parent identifier and no location is specified, it is taken from the provider configuration.
func (RuntimeTemplateIamBindingOutput) Members ¶ added in v8.17.0
func (o RuntimeTemplateIamBindingOutput) Members() pulumi.StringArrayOutput
Identities that will be granted the privilege in `role`. Each entry can have one of the following values: * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account. * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account. * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com. * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com. * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com. * **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com. * **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project" * **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project" * **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"
func (RuntimeTemplateIamBindingOutput) Project ¶ added in v8.17.0
func (o RuntimeTemplateIamBindingOutput) Project() pulumi.StringOutput
The ID of the project in which the resource belongs. If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
func (RuntimeTemplateIamBindingOutput) Role ¶ added in v8.17.0
func (o RuntimeTemplateIamBindingOutput) Role() pulumi.StringOutput
The role that should be applied. Only one `colab.RuntimeTemplateIamBinding` can be used per role. Note that custom roles must be of the format `[projects|organizations]/{parent-name}/roles/{role-name}`.
func (RuntimeTemplateIamBindingOutput) RuntimeTemplate ¶ added in v8.17.0
func (o RuntimeTemplateIamBindingOutput) RuntimeTemplate() pulumi.StringOutput
Used to find the parent resource to bind the IAM policy to
func (RuntimeTemplateIamBindingOutput) ToRuntimeTemplateIamBindingOutput ¶ added in v8.17.0
func (o RuntimeTemplateIamBindingOutput) ToRuntimeTemplateIamBindingOutput() RuntimeTemplateIamBindingOutput
func (RuntimeTemplateIamBindingOutput) ToRuntimeTemplateIamBindingOutputWithContext ¶ added in v8.17.0
func (o RuntimeTemplateIamBindingOutput) ToRuntimeTemplateIamBindingOutputWithContext(ctx context.Context) RuntimeTemplateIamBindingOutput
type RuntimeTemplateIamBindingState ¶ added in v8.17.0
type RuntimeTemplateIamBindingState struct { Condition RuntimeTemplateIamBindingConditionPtrInput // (Computed) The etag of the IAM policy. Etag pulumi.StringPtrInput // The location for the resource: https://cloud.google.com/colab/docs/locations Used to find the parent resource to bind the IAM policy to. If not specified, // the value will be parsed from the identifier of the parent resource. If no location is provided in the parent identifier and no // location is specified, it is taken from the provider configuration. Location pulumi.StringPtrInput // Identities that will be granted the privilege in `role`. // Each entry can have one of the following values: // * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account. // * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account. // * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com. // * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com. // * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com. // * **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com. // * **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project" // * **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project" // * **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project" Members pulumi.StringArrayInput // The ID of the project in which the resource belongs. // If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used. Project pulumi.StringPtrInput // The role that should be applied. Only one // `colab.RuntimeTemplateIamBinding` 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 RuntimeTemplate pulumi.StringPtrInput }
func (RuntimeTemplateIamBindingState) ElementType ¶ added in v8.17.0
func (RuntimeTemplateIamBindingState) ElementType() reflect.Type
type RuntimeTemplateIamMember ¶ added in v8.17.0
type RuntimeTemplateIamMember struct { pulumi.CustomResourceState Condition RuntimeTemplateIamMemberConditionPtrOutput `pulumi:"condition"` // (Computed) The etag of the IAM policy. Etag pulumi.StringOutput `pulumi:"etag"` // The location for the resource: https://cloud.google.com/colab/docs/locations Used to find the parent resource to bind the IAM policy to. If not specified, // the value will be parsed from the identifier of the parent resource. If no location is provided in the parent identifier and no // location is specified, it is taken from the provider configuration. Location pulumi.StringOutput `pulumi:"location"` // Identities that will be granted the privilege in `role`. // Each entry can have one of the following values: // * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account. // * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account. // * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com. // * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com. // * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com. // * **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com. // * **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project" // * **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project" // * **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project" Member pulumi.StringOutput `pulumi:"member"` // The ID of the project in which the resource belongs. // If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used. Project pulumi.StringOutput `pulumi:"project"` // The role that should be applied. Only one // `colab.RuntimeTemplateIamBinding` 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 RuntimeTemplate pulumi.StringOutput `pulumi:"runtimeTemplate"` }
Three different resources help you manage your IAM policy for Colab Enterprise RuntimeTemplate. Each of these resources serves a different use case:
* `colab.RuntimeTemplateIamPolicy`: Authoritative. Sets the IAM policy for the runtimetemplate and replaces any existing policy already attached. * `colab.RuntimeTemplateIamBinding`: 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 runtimetemplate are preserved. * `colab.RuntimeTemplateIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the runtimetemplate are preserved.
A data source can be used to retrieve policy data in advent you do not need creation ¶
* `colab.RuntimeTemplateIamPolicy`: Retrieves the IAM policy for the runtimetemplate
> **Note:** `colab.RuntimeTemplateIamPolicy` **cannot** be used in conjunction with `colab.RuntimeTemplateIamBinding` and `colab.RuntimeTemplateIamMember` or they will fight over what your policy should be.
> **Note:** `colab.RuntimeTemplateIamBinding` resources **can be** used in conjunction with `colab.RuntimeTemplateIamMember` resources **only if** they do not grant privilege to the same role.
## colab.RuntimeTemplateIamPolicy
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/colab" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/organizations" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { admin, err := organizations.LookupIAMPolicy(ctx, &organizations.LookupIAMPolicyArgs{ Bindings: []organizations.GetIAMPolicyBinding{ { Role: "roles/viewer", Members: []string{ "user:jane@example.com", }, }, }, }, nil) if err != nil { return err } _, err = colab.NewRuntimeTemplateIamPolicy(ctx, "policy", &colab.RuntimeTemplateIamPolicyArgs{ Project: pulumi.Any(runtime_template.Project), Location: pulumi.Any(runtime_template.Location), RuntimeTemplate: pulumi.Any(runtime_template.Name), PolicyData: pulumi.String(admin.PolicyData), }) if err != nil { return err } return nil }) }
```
## colab.RuntimeTemplateIamBinding
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/colab" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := colab.NewRuntimeTemplateIamBinding(ctx, "binding", &colab.RuntimeTemplateIamBindingArgs{ Project: pulumi.Any(runtime_template.Project), Location: pulumi.Any(runtime_template.Location), RuntimeTemplate: pulumi.Any(runtime_template.Name), Role: pulumi.String("roles/viewer"), Members: pulumi.StringArray{ pulumi.String("user:jane@example.com"), }, }) if err != nil { return err } return nil }) }
```
## colab.RuntimeTemplateIamMember
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/colab" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := colab.NewRuntimeTemplateIamMember(ctx, "member", &colab.RuntimeTemplateIamMemberArgs{ Project: pulumi.Any(runtime_template.Project), Location: pulumi.Any(runtime_template.Location), RuntimeTemplate: pulumi.Any(runtime_template.Name), Role: pulumi.String("roles/viewer"), Member: pulumi.String("user:jane@example.com"), }) if err != nil { return err } return nil }) }
```
## This resource supports User Project Overrides.
-
# IAM policy for Colab Enterprise RuntimeTemplate Three different resources help you manage your IAM policy for Colab Enterprise RuntimeTemplate. Each of these resources serves a different use case:
* `colab.RuntimeTemplateIamPolicy`: Authoritative. Sets the IAM policy for the runtimetemplate and replaces any existing policy already attached. * `colab.RuntimeTemplateIamBinding`: 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 runtimetemplate are preserved. * `colab.RuntimeTemplateIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the runtimetemplate are preserved.
A data source can be used to retrieve policy data in advent you do not need creation ¶
* `colab.RuntimeTemplateIamPolicy`: Retrieves the IAM policy for the runtimetemplate
> **Note:** `colab.RuntimeTemplateIamPolicy` **cannot** be used in conjunction with `colab.RuntimeTemplateIamBinding` and `colab.RuntimeTemplateIamMember` or they will fight over what your policy should be.
> **Note:** `colab.RuntimeTemplateIamBinding` resources **can be** used in conjunction with `colab.RuntimeTemplateIamMember` resources **only if** they do not grant privilege to the same role.
## colab.RuntimeTemplateIamPolicy
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/colab" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/organizations" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { admin, err := organizations.LookupIAMPolicy(ctx, &organizations.LookupIAMPolicyArgs{ Bindings: []organizations.GetIAMPolicyBinding{ { Role: "roles/viewer", Members: []string{ "user:jane@example.com", }, }, }, }, nil) if err != nil { return err } _, err = colab.NewRuntimeTemplateIamPolicy(ctx, "policy", &colab.RuntimeTemplateIamPolicyArgs{ Project: pulumi.Any(runtime_template.Project), Location: pulumi.Any(runtime_template.Location), RuntimeTemplate: pulumi.Any(runtime_template.Name), PolicyData: pulumi.String(admin.PolicyData), }) if err != nil { return err } return nil }) }
```
## colab.RuntimeTemplateIamBinding
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/colab" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := colab.NewRuntimeTemplateIamBinding(ctx, "binding", &colab.RuntimeTemplateIamBindingArgs{ Project: pulumi.Any(runtime_template.Project), Location: pulumi.Any(runtime_template.Location), RuntimeTemplate: pulumi.Any(runtime_template.Name), Role: pulumi.String("roles/viewer"), Members: pulumi.StringArray{ pulumi.String("user:jane@example.com"), }, }) if err != nil { return err } return nil }) }
```
## colab.RuntimeTemplateIamMember
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/colab" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := colab.NewRuntimeTemplateIamMember(ctx, "member", &colab.RuntimeTemplateIamMemberArgs{ Project: pulumi.Any(runtime_template.Project), Location: pulumi.Any(runtime_template.Location), RuntimeTemplate: pulumi.Any(runtime_template.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}}/notebookRuntimeTemplates/{{runtime_template}}
* {{project}}/{{location}}/{{runtime_template}}
* {{location}}/{{runtime_template}}
* {{runtime_template}}
Any variables not passed in the import command will be taken from the provider configuration.
Colab Enterprise runtimetemplate IAM resources can be imported using the resource identifiers, role, and member.
IAM member imports use space-delimited identifiers: the resource in question, the role, and the member identity, e.g.
```sh $ pulumi import gcp:colab/runtimeTemplateIamMember:RuntimeTemplateIamMember editor "projects/{{project}}/locations/{{location}}/notebookRuntimeTemplates/{{runtime_template}} roles/viewer user:jane@example.com" ```
IAM binding imports use space-delimited identifiers: the resource in question and the role, e.g.
```sh $ pulumi import gcp:colab/runtimeTemplateIamMember:RuntimeTemplateIamMember editor "projects/{{project}}/locations/{{location}}/notebookRuntimeTemplates/{{runtime_template}} roles/viewer" ```
IAM policy imports use the identifier of the resource in question, e.g.
```sh $ pulumi import gcp:colab/runtimeTemplateIamMember:RuntimeTemplateIamMember editor projects/{{project}}/locations/{{location}}/notebookRuntimeTemplates/{{runtime_template}} ```
-> **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 GetRuntimeTemplateIamMember ¶ added in v8.17.0
func GetRuntimeTemplateIamMember(ctx *pulumi.Context, name string, id pulumi.IDInput, state *RuntimeTemplateIamMemberState, opts ...pulumi.ResourceOption) (*RuntimeTemplateIamMember, error)
GetRuntimeTemplateIamMember gets an existing RuntimeTemplateIamMember 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 NewRuntimeTemplateIamMember ¶ added in v8.17.0
func NewRuntimeTemplateIamMember(ctx *pulumi.Context, name string, args *RuntimeTemplateIamMemberArgs, opts ...pulumi.ResourceOption) (*RuntimeTemplateIamMember, error)
NewRuntimeTemplateIamMember registers a new resource with the given unique name, arguments, and options.
func (*RuntimeTemplateIamMember) ElementType ¶ added in v8.17.0
func (*RuntimeTemplateIamMember) ElementType() reflect.Type
func (*RuntimeTemplateIamMember) ToRuntimeTemplateIamMemberOutput ¶ added in v8.17.0
func (i *RuntimeTemplateIamMember) ToRuntimeTemplateIamMemberOutput() RuntimeTemplateIamMemberOutput
func (*RuntimeTemplateIamMember) ToRuntimeTemplateIamMemberOutputWithContext ¶ added in v8.17.0
func (i *RuntimeTemplateIamMember) ToRuntimeTemplateIamMemberOutputWithContext(ctx context.Context) RuntimeTemplateIamMemberOutput
type RuntimeTemplateIamMemberArgs ¶ added in v8.17.0
type RuntimeTemplateIamMemberArgs struct { Condition RuntimeTemplateIamMemberConditionPtrInput // The location for the resource: https://cloud.google.com/colab/docs/locations Used to find the parent resource to bind the IAM policy to. If not specified, // the value will be parsed from the identifier of the parent resource. If no location is provided in the parent identifier and no // location is specified, it is taken from the provider configuration. Location pulumi.StringPtrInput // Identities that will be granted the privilege in `role`. // Each entry can have one of the following values: // * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account. // * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account. // * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com. // * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com. // * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com. // * **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com. // * **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project" // * **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project" // * **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project" Member pulumi.StringInput // The ID of the project in which the resource belongs. // If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used. Project pulumi.StringPtrInput // The role that should be applied. Only one // `colab.RuntimeTemplateIamBinding` 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 RuntimeTemplate pulumi.StringInput }
The set of arguments for constructing a RuntimeTemplateIamMember resource.
func (RuntimeTemplateIamMemberArgs) ElementType ¶ added in v8.17.0
func (RuntimeTemplateIamMemberArgs) ElementType() reflect.Type
type RuntimeTemplateIamMemberArray ¶ added in v8.17.0
type RuntimeTemplateIamMemberArray []RuntimeTemplateIamMemberInput
func (RuntimeTemplateIamMemberArray) ElementType ¶ added in v8.17.0
func (RuntimeTemplateIamMemberArray) ElementType() reflect.Type
func (RuntimeTemplateIamMemberArray) ToRuntimeTemplateIamMemberArrayOutput ¶ added in v8.17.0
func (i RuntimeTemplateIamMemberArray) ToRuntimeTemplateIamMemberArrayOutput() RuntimeTemplateIamMemberArrayOutput
func (RuntimeTemplateIamMemberArray) ToRuntimeTemplateIamMemberArrayOutputWithContext ¶ added in v8.17.0
func (i RuntimeTemplateIamMemberArray) ToRuntimeTemplateIamMemberArrayOutputWithContext(ctx context.Context) RuntimeTemplateIamMemberArrayOutput
type RuntimeTemplateIamMemberArrayInput ¶ added in v8.17.0
type RuntimeTemplateIamMemberArrayInput interface { pulumi.Input ToRuntimeTemplateIamMemberArrayOutput() RuntimeTemplateIamMemberArrayOutput ToRuntimeTemplateIamMemberArrayOutputWithContext(context.Context) RuntimeTemplateIamMemberArrayOutput }
RuntimeTemplateIamMemberArrayInput is an input type that accepts RuntimeTemplateIamMemberArray and RuntimeTemplateIamMemberArrayOutput values. You can construct a concrete instance of `RuntimeTemplateIamMemberArrayInput` via:
RuntimeTemplateIamMemberArray{ RuntimeTemplateIamMemberArgs{...} }
type RuntimeTemplateIamMemberArrayOutput ¶ added in v8.17.0
type RuntimeTemplateIamMemberArrayOutput struct{ *pulumi.OutputState }
func (RuntimeTemplateIamMemberArrayOutput) ElementType ¶ added in v8.17.0
func (RuntimeTemplateIamMemberArrayOutput) ElementType() reflect.Type
func (RuntimeTemplateIamMemberArrayOutput) Index ¶ added in v8.17.0
func (o RuntimeTemplateIamMemberArrayOutput) Index(i pulumi.IntInput) RuntimeTemplateIamMemberOutput
func (RuntimeTemplateIamMemberArrayOutput) ToRuntimeTemplateIamMemberArrayOutput ¶ added in v8.17.0
func (o RuntimeTemplateIamMemberArrayOutput) ToRuntimeTemplateIamMemberArrayOutput() RuntimeTemplateIamMemberArrayOutput
func (RuntimeTemplateIamMemberArrayOutput) ToRuntimeTemplateIamMemberArrayOutputWithContext ¶ added in v8.17.0
func (o RuntimeTemplateIamMemberArrayOutput) ToRuntimeTemplateIamMemberArrayOutputWithContext(ctx context.Context) RuntimeTemplateIamMemberArrayOutput
type RuntimeTemplateIamMemberCondition ¶ added in v8.17.0
type RuntimeTemplateIamMemberConditionArgs ¶ added in v8.17.0
type RuntimeTemplateIamMemberConditionArgs struct { Description pulumi.StringPtrInput `pulumi:"description"` Expression pulumi.StringInput `pulumi:"expression"` Title pulumi.StringInput `pulumi:"title"` }
func (RuntimeTemplateIamMemberConditionArgs) ElementType ¶ added in v8.17.0
func (RuntimeTemplateIamMemberConditionArgs) ElementType() reflect.Type
func (RuntimeTemplateIamMemberConditionArgs) ToRuntimeTemplateIamMemberConditionOutput ¶ added in v8.17.0
func (i RuntimeTemplateIamMemberConditionArgs) ToRuntimeTemplateIamMemberConditionOutput() RuntimeTemplateIamMemberConditionOutput
func (RuntimeTemplateIamMemberConditionArgs) ToRuntimeTemplateIamMemberConditionOutputWithContext ¶ added in v8.17.0
func (i RuntimeTemplateIamMemberConditionArgs) ToRuntimeTemplateIamMemberConditionOutputWithContext(ctx context.Context) RuntimeTemplateIamMemberConditionOutput
func (RuntimeTemplateIamMemberConditionArgs) ToRuntimeTemplateIamMemberConditionPtrOutput ¶ added in v8.17.0
func (i RuntimeTemplateIamMemberConditionArgs) ToRuntimeTemplateIamMemberConditionPtrOutput() RuntimeTemplateIamMemberConditionPtrOutput
func (RuntimeTemplateIamMemberConditionArgs) ToRuntimeTemplateIamMemberConditionPtrOutputWithContext ¶ added in v8.17.0
func (i RuntimeTemplateIamMemberConditionArgs) ToRuntimeTemplateIamMemberConditionPtrOutputWithContext(ctx context.Context) RuntimeTemplateIamMemberConditionPtrOutput
type RuntimeTemplateIamMemberConditionInput ¶ added in v8.17.0
type RuntimeTemplateIamMemberConditionInput interface { pulumi.Input ToRuntimeTemplateIamMemberConditionOutput() RuntimeTemplateIamMemberConditionOutput ToRuntimeTemplateIamMemberConditionOutputWithContext(context.Context) RuntimeTemplateIamMemberConditionOutput }
RuntimeTemplateIamMemberConditionInput is an input type that accepts RuntimeTemplateIamMemberConditionArgs and RuntimeTemplateIamMemberConditionOutput values. You can construct a concrete instance of `RuntimeTemplateIamMemberConditionInput` via:
RuntimeTemplateIamMemberConditionArgs{...}
type RuntimeTemplateIamMemberConditionOutput ¶ added in v8.17.0
type RuntimeTemplateIamMemberConditionOutput struct{ *pulumi.OutputState }
func (RuntimeTemplateIamMemberConditionOutput) Description ¶ added in v8.17.0
func (o RuntimeTemplateIamMemberConditionOutput) Description() pulumi.StringPtrOutput
func (RuntimeTemplateIamMemberConditionOutput) ElementType ¶ added in v8.17.0
func (RuntimeTemplateIamMemberConditionOutput) ElementType() reflect.Type
func (RuntimeTemplateIamMemberConditionOutput) Expression ¶ added in v8.17.0
func (o RuntimeTemplateIamMemberConditionOutput) Expression() pulumi.StringOutput
func (RuntimeTemplateIamMemberConditionOutput) Title ¶ added in v8.17.0
func (o RuntimeTemplateIamMemberConditionOutput) Title() pulumi.StringOutput
func (RuntimeTemplateIamMemberConditionOutput) ToRuntimeTemplateIamMemberConditionOutput ¶ added in v8.17.0
func (o RuntimeTemplateIamMemberConditionOutput) ToRuntimeTemplateIamMemberConditionOutput() RuntimeTemplateIamMemberConditionOutput
func (RuntimeTemplateIamMemberConditionOutput) ToRuntimeTemplateIamMemberConditionOutputWithContext ¶ added in v8.17.0
func (o RuntimeTemplateIamMemberConditionOutput) ToRuntimeTemplateIamMemberConditionOutputWithContext(ctx context.Context) RuntimeTemplateIamMemberConditionOutput
func (RuntimeTemplateIamMemberConditionOutput) ToRuntimeTemplateIamMemberConditionPtrOutput ¶ added in v8.17.0
func (o RuntimeTemplateIamMemberConditionOutput) ToRuntimeTemplateIamMemberConditionPtrOutput() RuntimeTemplateIamMemberConditionPtrOutput
func (RuntimeTemplateIamMemberConditionOutput) ToRuntimeTemplateIamMemberConditionPtrOutputWithContext ¶ added in v8.17.0
func (o RuntimeTemplateIamMemberConditionOutput) ToRuntimeTemplateIamMemberConditionPtrOutputWithContext(ctx context.Context) RuntimeTemplateIamMemberConditionPtrOutput
type RuntimeTemplateIamMemberConditionPtrInput ¶ added in v8.17.0
type RuntimeTemplateIamMemberConditionPtrInput interface { pulumi.Input ToRuntimeTemplateIamMemberConditionPtrOutput() RuntimeTemplateIamMemberConditionPtrOutput ToRuntimeTemplateIamMemberConditionPtrOutputWithContext(context.Context) RuntimeTemplateIamMemberConditionPtrOutput }
RuntimeTemplateIamMemberConditionPtrInput is an input type that accepts RuntimeTemplateIamMemberConditionArgs, RuntimeTemplateIamMemberConditionPtr and RuntimeTemplateIamMemberConditionPtrOutput values. You can construct a concrete instance of `RuntimeTemplateIamMemberConditionPtrInput` via:
RuntimeTemplateIamMemberConditionArgs{...} or: nil
func RuntimeTemplateIamMemberConditionPtr ¶ added in v8.17.0
func RuntimeTemplateIamMemberConditionPtr(v *RuntimeTemplateIamMemberConditionArgs) RuntimeTemplateIamMemberConditionPtrInput
type RuntimeTemplateIamMemberConditionPtrOutput ¶ added in v8.17.0
type RuntimeTemplateIamMemberConditionPtrOutput struct{ *pulumi.OutputState }
func (RuntimeTemplateIamMemberConditionPtrOutput) Description ¶ added in v8.17.0
func (o RuntimeTemplateIamMemberConditionPtrOutput) Description() pulumi.StringPtrOutput
func (RuntimeTemplateIamMemberConditionPtrOutput) ElementType ¶ added in v8.17.0
func (RuntimeTemplateIamMemberConditionPtrOutput) ElementType() reflect.Type
func (RuntimeTemplateIamMemberConditionPtrOutput) Expression ¶ added in v8.17.0
func (o RuntimeTemplateIamMemberConditionPtrOutput) Expression() pulumi.StringPtrOutput
func (RuntimeTemplateIamMemberConditionPtrOutput) Title ¶ added in v8.17.0
func (o RuntimeTemplateIamMemberConditionPtrOutput) Title() pulumi.StringPtrOutput
func (RuntimeTemplateIamMemberConditionPtrOutput) ToRuntimeTemplateIamMemberConditionPtrOutput ¶ added in v8.17.0
func (o RuntimeTemplateIamMemberConditionPtrOutput) ToRuntimeTemplateIamMemberConditionPtrOutput() RuntimeTemplateIamMemberConditionPtrOutput
func (RuntimeTemplateIamMemberConditionPtrOutput) ToRuntimeTemplateIamMemberConditionPtrOutputWithContext ¶ added in v8.17.0
func (o RuntimeTemplateIamMemberConditionPtrOutput) ToRuntimeTemplateIamMemberConditionPtrOutputWithContext(ctx context.Context) RuntimeTemplateIamMemberConditionPtrOutput
type RuntimeTemplateIamMemberInput ¶ added in v8.17.0
type RuntimeTemplateIamMemberInput interface { pulumi.Input ToRuntimeTemplateIamMemberOutput() RuntimeTemplateIamMemberOutput ToRuntimeTemplateIamMemberOutputWithContext(ctx context.Context) RuntimeTemplateIamMemberOutput }
type RuntimeTemplateIamMemberMap ¶ added in v8.17.0
type RuntimeTemplateIamMemberMap map[string]RuntimeTemplateIamMemberInput
func (RuntimeTemplateIamMemberMap) ElementType ¶ added in v8.17.0
func (RuntimeTemplateIamMemberMap) ElementType() reflect.Type
func (RuntimeTemplateIamMemberMap) ToRuntimeTemplateIamMemberMapOutput ¶ added in v8.17.0
func (i RuntimeTemplateIamMemberMap) ToRuntimeTemplateIamMemberMapOutput() RuntimeTemplateIamMemberMapOutput
func (RuntimeTemplateIamMemberMap) ToRuntimeTemplateIamMemberMapOutputWithContext ¶ added in v8.17.0
func (i RuntimeTemplateIamMemberMap) ToRuntimeTemplateIamMemberMapOutputWithContext(ctx context.Context) RuntimeTemplateIamMemberMapOutput
type RuntimeTemplateIamMemberMapInput ¶ added in v8.17.0
type RuntimeTemplateIamMemberMapInput interface { pulumi.Input ToRuntimeTemplateIamMemberMapOutput() RuntimeTemplateIamMemberMapOutput ToRuntimeTemplateIamMemberMapOutputWithContext(context.Context) RuntimeTemplateIamMemberMapOutput }
RuntimeTemplateIamMemberMapInput is an input type that accepts RuntimeTemplateIamMemberMap and RuntimeTemplateIamMemberMapOutput values. You can construct a concrete instance of `RuntimeTemplateIamMemberMapInput` via:
RuntimeTemplateIamMemberMap{ "key": RuntimeTemplateIamMemberArgs{...} }
type RuntimeTemplateIamMemberMapOutput ¶ added in v8.17.0
type RuntimeTemplateIamMemberMapOutput struct{ *pulumi.OutputState }
func (RuntimeTemplateIamMemberMapOutput) ElementType ¶ added in v8.17.0
func (RuntimeTemplateIamMemberMapOutput) ElementType() reflect.Type
func (RuntimeTemplateIamMemberMapOutput) MapIndex ¶ added in v8.17.0
func (o RuntimeTemplateIamMemberMapOutput) MapIndex(k pulumi.StringInput) RuntimeTemplateIamMemberOutput
func (RuntimeTemplateIamMemberMapOutput) ToRuntimeTemplateIamMemberMapOutput ¶ added in v8.17.0
func (o RuntimeTemplateIamMemberMapOutput) ToRuntimeTemplateIamMemberMapOutput() RuntimeTemplateIamMemberMapOutput
func (RuntimeTemplateIamMemberMapOutput) ToRuntimeTemplateIamMemberMapOutputWithContext ¶ added in v8.17.0
func (o RuntimeTemplateIamMemberMapOutput) ToRuntimeTemplateIamMemberMapOutputWithContext(ctx context.Context) RuntimeTemplateIamMemberMapOutput
type RuntimeTemplateIamMemberOutput ¶ added in v8.17.0
type RuntimeTemplateIamMemberOutput struct{ *pulumi.OutputState }
func (RuntimeTemplateIamMemberOutput) Condition ¶ added in v8.17.0
func (o RuntimeTemplateIamMemberOutput) Condition() RuntimeTemplateIamMemberConditionPtrOutput
func (RuntimeTemplateIamMemberOutput) ElementType ¶ added in v8.17.0
func (RuntimeTemplateIamMemberOutput) ElementType() reflect.Type
func (RuntimeTemplateIamMemberOutput) Etag ¶ added in v8.17.0
func (o RuntimeTemplateIamMemberOutput) Etag() pulumi.StringOutput
(Computed) The etag of the IAM policy.
func (RuntimeTemplateIamMemberOutput) Location ¶ added in v8.17.0
func (o RuntimeTemplateIamMemberOutput) Location() pulumi.StringOutput
The location for the resource: https://cloud.google.com/colab/docs/locations Used to find the parent resource to bind the IAM policy to. If not specified, the value will be parsed from the identifier of the parent resource. If no location is provided in the parent identifier and no location is specified, it is taken from the provider configuration.
func (RuntimeTemplateIamMemberOutput) Member ¶ added in v8.17.0
func (o RuntimeTemplateIamMemberOutput) Member() pulumi.StringOutput
Identities that will be granted the privilege in `role`. Each entry can have one of the following values: * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account. * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account. * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com. * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com. * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com. * **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com. * **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project" * **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project" * **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project"
func (RuntimeTemplateIamMemberOutput) Project ¶ added in v8.17.0
func (o RuntimeTemplateIamMemberOutput) Project() pulumi.StringOutput
The ID of the project in which the resource belongs. If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
func (RuntimeTemplateIamMemberOutput) Role ¶ added in v8.17.0
func (o RuntimeTemplateIamMemberOutput) Role() pulumi.StringOutput
The role that should be applied. Only one `colab.RuntimeTemplateIamBinding` can be used per role. Note that custom roles must be of the format `[projects|organizations]/{parent-name}/roles/{role-name}`.
func (RuntimeTemplateIamMemberOutput) RuntimeTemplate ¶ added in v8.17.0
func (o RuntimeTemplateIamMemberOutput) RuntimeTemplate() pulumi.StringOutput
Used to find the parent resource to bind the IAM policy to
func (RuntimeTemplateIamMemberOutput) ToRuntimeTemplateIamMemberOutput ¶ added in v8.17.0
func (o RuntimeTemplateIamMemberOutput) ToRuntimeTemplateIamMemberOutput() RuntimeTemplateIamMemberOutput
func (RuntimeTemplateIamMemberOutput) ToRuntimeTemplateIamMemberOutputWithContext ¶ added in v8.17.0
func (o RuntimeTemplateIamMemberOutput) ToRuntimeTemplateIamMemberOutputWithContext(ctx context.Context) RuntimeTemplateIamMemberOutput
type RuntimeTemplateIamMemberState ¶ added in v8.17.0
type RuntimeTemplateIamMemberState struct { Condition RuntimeTemplateIamMemberConditionPtrInput // (Computed) The etag of the IAM policy. Etag pulumi.StringPtrInput // The location for the resource: https://cloud.google.com/colab/docs/locations Used to find the parent resource to bind the IAM policy to. If not specified, // the value will be parsed from the identifier of the parent resource. If no location is provided in the parent identifier and no // location is specified, it is taken from the provider configuration. Location pulumi.StringPtrInput // Identities that will be granted the privilege in `role`. // Each entry can have one of the following values: // * **allUsers**: A special identifier that represents anyone who is on the internet; with or without a Google account. // * **allAuthenticatedUsers**: A special identifier that represents anyone who is authenticated with a Google account or a service account. // * **user:{emailid}**: An email address that represents a specific Google account. For example, alice@gmail.com or joe@example.com. // * **serviceAccount:{emailid}**: An email address that represents a service account. For example, my-other-app@appspot.gserviceaccount.com. // * **group:{emailid}**: An email address that represents a Google group. For example, admins@example.com. // * **domain:{domain}**: A G Suite domain (primary, instead of alias) name that represents all the users of that domain. For example, google.com or example.com. // * **projectOwner:projectid**: Owners of the given project. For example, "projectOwner:my-example-project" // * **projectEditor:projectid**: Editors of the given project. For example, "projectEditor:my-example-project" // * **projectViewer:projectid**: Viewers of the given project. For example, "projectViewer:my-example-project" Member pulumi.StringPtrInput // The ID of the project in which the resource belongs. // If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used. Project pulumi.StringPtrInput // The role that should be applied. Only one // `colab.RuntimeTemplateIamBinding` 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 RuntimeTemplate pulumi.StringPtrInput }
func (RuntimeTemplateIamMemberState) ElementType ¶ added in v8.17.0
func (RuntimeTemplateIamMemberState) ElementType() reflect.Type
type RuntimeTemplateIamPolicy ¶ added in v8.17.0
type RuntimeTemplateIamPolicy struct { pulumi.CustomResourceState // (Computed) The etag of the IAM policy. Etag pulumi.StringOutput `pulumi:"etag"` // The location for the resource: https://cloud.google.com/colab/docs/locations Used to find the parent resource to bind the IAM policy to. If not specified, // the value will be parsed from the identifier of the parent resource. If no location is provided in the parent identifier and no // location is specified, it is taken from the provider configuration. Location pulumi.StringOutput `pulumi:"location"` // The policy data generated by // a `organizations.getIAMPolicy` data source. PolicyData pulumi.StringOutput `pulumi:"policyData"` // The ID of the project in which the resource belongs. // If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used. Project pulumi.StringOutput `pulumi:"project"` // Used to find the parent resource to bind the IAM policy to RuntimeTemplate pulumi.StringOutput `pulumi:"runtimeTemplate"` }
Three different resources help you manage your IAM policy for Colab Enterprise RuntimeTemplate. Each of these resources serves a different use case:
* `colab.RuntimeTemplateIamPolicy`: Authoritative. Sets the IAM policy for the runtimetemplate and replaces any existing policy already attached. * `colab.RuntimeTemplateIamBinding`: 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 runtimetemplate are preserved. * `colab.RuntimeTemplateIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the runtimetemplate are preserved.
A data source can be used to retrieve policy data in advent you do not need creation ¶
* `colab.RuntimeTemplateIamPolicy`: Retrieves the IAM policy for the runtimetemplate
> **Note:** `colab.RuntimeTemplateIamPolicy` **cannot** be used in conjunction with `colab.RuntimeTemplateIamBinding` and `colab.RuntimeTemplateIamMember` or they will fight over what your policy should be.
> **Note:** `colab.RuntimeTemplateIamBinding` resources **can be** used in conjunction with `colab.RuntimeTemplateIamMember` resources **only if** they do not grant privilege to the same role.
## colab.RuntimeTemplateIamPolicy
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/colab" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/organizations" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { admin, err := organizations.LookupIAMPolicy(ctx, &organizations.LookupIAMPolicyArgs{ Bindings: []organizations.GetIAMPolicyBinding{ { Role: "roles/viewer", Members: []string{ "user:jane@example.com", }, }, }, }, nil) if err != nil { return err } _, err = colab.NewRuntimeTemplateIamPolicy(ctx, "policy", &colab.RuntimeTemplateIamPolicyArgs{ Project: pulumi.Any(runtime_template.Project), Location: pulumi.Any(runtime_template.Location), RuntimeTemplate: pulumi.Any(runtime_template.Name), PolicyData: pulumi.String(admin.PolicyData), }) if err != nil { return err } return nil }) }
```
## colab.RuntimeTemplateIamBinding
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/colab" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := colab.NewRuntimeTemplateIamBinding(ctx, "binding", &colab.RuntimeTemplateIamBindingArgs{ Project: pulumi.Any(runtime_template.Project), Location: pulumi.Any(runtime_template.Location), RuntimeTemplate: pulumi.Any(runtime_template.Name), Role: pulumi.String("roles/viewer"), Members: pulumi.StringArray{ pulumi.String("user:jane@example.com"), }, }) if err != nil { return err } return nil }) }
```
## colab.RuntimeTemplateIamMember
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/colab" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := colab.NewRuntimeTemplateIamMember(ctx, "member", &colab.RuntimeTemplateIamMemberArgs{ Project: pulumi.Any(runtime_template.Project), Location: pulumi.Any(runtime_template.Location), RuntimeTemplate: pulumi.Any(runtime_template.Name), Role: pulumi.String("roles/viewer"), Member: pulumi.String("user:jane@example.com"), }) if err != nil { return err } return nil }) }
```
## This resource supports User Project Overrides.
-
# IAM policy for Colab Enterprise RuntimeTemplate Three different resources help you manage your IAM policy for Colab Enterprise RuntimeTemplate. Each of these resources serves a different use case:
* `colab.RuntimeTemplateIamPolicy`: Authoritative. Sets the IAM policy for the runtimetemplate and replaces any existing policy already attached. * `colab.RuntimeTemplateIamBinding`: 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 runtimetemplate are preserved. * `colab.RuntimeTemplateIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the runtimetemplate are preserved.
A data source can be used to retrieve policy data in advent you do not need creation ¶
* `colab.RuntimeTemplateIamPolicy`: Retrieves the IAM policy for the runtimetemplate
> **Note:** `colab.RuntimeTemplateIamPolicy` **cannot** be used in conjunction with `colab.RuntimeTemplateIamBinding` and `colab.RuntimeTemplateIamMember` or they will fight over what your policy should be.
> **Note:** `colab.RuntimeTemplateIamBinding` resources **can be** used in conjunction with `colab.RuntimeTemplateIamMember` resources **only if** they do not grant privilege to the same role.
## colab.RuntimeTemplateIamPolicy
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/colab" "github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/organizations" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { admin, err := organizations.LookupIAMPolicy(ctx, &organizations.LookupIAMPolicyArgs{ Bindings: []organizations.GetIAMPolicyBinding{ { Role: "roles/viewer", Members: []string{ "user:jane@example.com", }, }, }, }, nil) if err != nil { return err } _, err = colab.NewRuntimeTemplateIamPolicy(ctx, "policy", &colab.RuntimeTemplateIamPolicyArgs{ Project: pulumi.Any(runtime_template.Project), Location: pulumi.Any(runtime_template.Location), RuntimeTemplate: pulumi.Any(runtime_template.Name), PolicyData: pulumi.String(admin.PolicyData), }) if err != nil { return err } return nil }) }
```
## colab.RuntimeTemplateIamBinding
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/colab" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := colab.NewRuntimeTemplateIamBinding(ctx, "binding", &colab.RuntimeTemplateIamBindingArgs{ Project: pulumi.Any(runtime_template.Project), Location: pulumi.Any(runtime_template.Location), RuntimeTemplate: pulumi.Any(runtime_template.Name), Role: pulumi.String("roles/viewer"), Members: pulumi.StringArray{ pulumi.String("user:jane@example.com"), }, }) if err != nil { return err } return nil }) }
```
## colab.RuntimeTemplateIamMember
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v8/go/gcp/colab" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := colab.NewRuntimeTemplateIamMember(ctx, "member", &colab.RuntimeTemplateIamMemberArgs{ Project: pulumi.Any(runtime_template.Project), Location: pulumi.Any(runtime_template.Location), RuntimeTemplate: pulumi.Any(runtime_template.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}}/notebookRuntimeTemplates/{{runtime_template}}
* {{project}}/{{location}}/{{runtime_template}}
* {{location}}/{{runtime_template}}
* {{runtime_template}}
Any variables not passed in the import command will be taken from the provider configuration.
Colab Enterprise runtimetemplate IAM resources can be imported using the resource identifiers, role, and member.
IAM member imports use space-delimited identifiers: the resource in question, the role, and the member identity, e.g.
```sh $ pulumi import gcp:colab/runtimeTemplateIamPolicy:RuntimeTemplateIamPolicy editor "projects/{{project}}/locations/{{location}}/notebookRuntimeTemplates/{{runtime_template}} roles/viewer user:jane@example.com" ```
IAM binding imports use space-delimited identifiers: the resource in question and the role, e.g.
```sh $ pulumi import gcp:colab/runtimeTemplateIamPolicy:RuntimeTemplateIamPolicy editor "projects/{{project}}/locations/{{location}}/notebookRuntimeTemplates/{{runtime_template}} roles/viewer" ```
IAM policy imports use the identifier of the resource in question, e.g.
```sh $ pulumi import gcp:colab/runtimeTemplateIamPolicy:RuntimeTemplateIamPolicy editor projects/{{project}}/locations/{{location}}/notebookRuntimeTemplates/{{runtime_template}} ```
-> **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 GetRuntimeTemplateIamPolicy ¶ added in v8.17.0
func GetRuntimeTemplateIamPolicy(ctx *pulumi.Context, name string, id pulumi.IDInput, state *RuntimeTemplateIamPolicyState, opts ...pulumi.ResourceOption) (*RuntimeTemplateIamPolicy, error)
GetRuntimeTemplateIamPolicy gets an existing RuntimeTemplateIamPolicy 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 NewRuntimeTemplateIamPolicy ¶ added in v8.17.0
func NewRuntimeTemplateIamPolicy(ctx *pulumi.Context, name string, args *RuntimeTemplateIamPolicyArgs, opts ...pulumi.ResourceOption) (*RuntimeTemplateIamPolicy, error)
NewRuntimeTemplateIamPolicy registers a new resource with the given unique name, arguments, and options.
func (*RuntimeTemplateIamPolicy) ElementType ¶ added in v8.17.0
func (*RuntimeTemplateIamPolicy) ElementType() reflect.Type
func (*RuntimeTemplateIamPolicy) ToRuntimeTemplateIamPolicyOutput ¶ added in v8.17.0
func (i *RuntimeTemplateIamPolicy) ToRuntimeTemplateIamPolicyOutput() RuntimeTemplateIamPolicyOutput
func (*RuntimeTemplateIamPolicy) ToRuntimeTemplateIamPolicyOutputWithContext ¶ added in v8.17.0
func (i *RuntimeTemplateIamPolicy) ToRuntimeTemplateIamPolicyOutputWithContext(ctx context.Context) RuntimeTemplateIamPolicyOutput
type RuntimeTemplateIamPolicyArgs ¶ added in v8.17.0
type RuntimeTemplateIamPolicyArgs struct { // The location for the resource: https://cloud.google.com/colab/docs/locations Used to find the parent resource to bind the IAM policy to. If not specified, // the value will be parsed from the identifier of the parent resource. If no location is provided in the parent identifier and no // location is specified, it is taken from the provider configuration. Location pulumi.StringPtrInput // The policy data generated by // a `organizations.getIAMPolicy` data source. PolicyData pulumi.StringInput // The ID of the project in which the resource belongs. // If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used. Project pulumi.StringPtrInput // Used to find the parent resource to bind the IAM policy to RuntimeTemplate pulumi.StringInput }
The set of arguments for constructing a RuntimeTemplateIamPolicy resource.
func (RuntimeTemplateIamPolicyArgs) ElementType ¶ added in v8.17.0
func (RuntimeTemplateIamPolicyArgs) ElementType() reflect.Type
type RuntimeTemplateIamPolicyArray ¶ added in v8.17.0
type RuntimeTemplateIamPolicyArray []RuntimeTemplateIamPolicyInput
func (RuntimeTemplateIamPolicyArray) ElementType ¶ added in v8.17.0
func (RuntimeTemplateIamPolicyArray) ElementType() reflect.Type
func (RuntimeTemplateIamPolicyArray) ToRuntimeTemplateIamPolicyArrayOutput ¶ added in v8.17.0
func (i RuntimeTemplateIamPolicyArray) ToRuntimeTemplateIamPolicyArrayOutput() RuntimeTemplateIamPolicyArrayOutput
func (RuntimeTemplateIamPolicyArray) ToRuntimeTemplateIamPolicyArrayOutputWithContext ¶ added in v8.17.0
func (i RuntimeTemplateIamPolicyArray) ToRuntimeTemplateIamPolicyArrayOutputWithContext(ctx context.Context) RuntimeTemplateIamPolicyArrayOutput
type RuntimeTemplateIamPolicyArrayInput ¶ added in v8.17.0
type RuntimeTemplateIamPolicyArrayInput interface { pulumi.Input ToRuntimeTemplateIamPolicyArrayOutput() RuntimeTemplateIamPolicyArrayOutput ToRuntimeTemplateIamPolicyArrayOutputWithContext(context.Context) RuntimeTemplateIamPolicyArrayOutput }
RuntimeTemplateIamPolicyArrayInput is an input type that accepts RuntimeTemplateIamPolicyArray and RuntimeTemplateIamPolicyArrayOutput values. You can construct a concrete instance of `RuntimeTemplateIamPolicyArrayInput` via:
RuntimeTemplateIamPolicyArray{ RuntimeTemplateIamPolicyArgs{...} }
type RuntimeTemplateIamPolicyArrayOutput ¶ added in v8.17.0
type RuntimeTemplateIamPolicyArrayOutput struct{ *pulumi.OutputState }
func (RuntimeTemplateIamPolicyArrayOutput) ElementType ¶ added in v8.17.0
func (RuntimeTemplateIamPolicyArrayOutput) ElementType() reflect.Type
func (RuntimeTemplateIamPolicyArrayOutput) Index ¶ added in v8.17.0
func (o RuntimeTemplateIamPolicyArrayOutput) Index(i pulumi.IntInput) RuntimeTemplateIamPolicyOutput
func (RuntimeTemplateIamPolicyArrayOutput) ToRuntimeTemplateIamPolicyArrayOutput ¶ added in v8.17.0
func (o RuntimeTemplateIamPolicyArrayOutput) ToRuntimeTemplateIamPolicyArrayOutput() RuntimeTemplateIamPolicyArrayOutput
func (RuntimeTemplateIamPolicyArrayOutput) ToRuntimeTemplateIamPolicyArrayOutputWithContext ¶ added in v8.17.0
func (o RuntimeTemplateIamPolicyArrayOutput) ToRuntimeTemplateIamPolicyArrayOutputWithContext(ctx context.Context) RuntimeTemplateIamPolicyArrayOutput
type RuntimeTemplateIamPolicyInput ¶ added in v8.17.0
type RuntimeTemplateIamPolicyInput interface { pulumi.Input ToRuntimeTemplateIamPolicyOutput() RuntimeTemplateIamPolicyOutput ToRuntimeTemplateIamPolicyOutputWithContext(ctx context.Context) RuntimeTemplateIamPolicyOutput }
type RuntimeTemplateIamPolicyMap ¶ added in v8.17.0
type RuntimeTemplateIamPolicyMap map[string]RuntimeTemplateIamPolicyInput
func (RuntimeTemplateIamPolicyMap) ElementType ¶ added in v8.17.0
func (RuntimeTemplateIamPolicyMap) ElementType() reflect.Type
func (RuntimeTemplateIamPolicyMap) ToRuntimeTemplateIamPolicyMapOutput ¶ added in v8.17.0
func (i RuntimeTemplateIamPolicyMap) ToRuntimeTemplateIamPolicyMapOutput() RuntimeTemplateIamPolicyMapOutput
func (RuntimeTemplateIamPolicyMap) ToRuntimeTemplateIamPolicyMapOutputWithContext ¶ added in v8.17.0
func (i RuntimeTemplateIamPolicyMap) ToRuntimeTemplateIamPolicyMapOutputWithContext(ctx context.Context) RuntimeTemplateIamPolicyMapOutput
type RuntimeTemplateIamPolicyMapInput ¶ added in v8.17.0
type RuntimeTemplateIamPolicyMapInput interface { pulumi.Input ToRuntimeTemplateIamPolicyMapOutput() RuntimeTemplateIamPolicyMapOutput ToRuntimeTemplateIamPolicyMapOutputWithContext(context.Context) RuntimeTemplateIamPolicyMapOutput }
RuntimeTemplateIamPolicyMapInput is an input type that accepts RuntimeTemplateIamPolicyMap and RuntimeTemplateIamPolicyMapOutput values. You can construct a concrete instance of `RuntimeTemplateIamPolicyMapInput` via:
RuntimeTemplateIamPolicyMap{ "key": RuntimeTemplateIamPolicyArgs{...} }
type RuntimeTemplateIamPolicyMapOutput ¶ added in v8.17.0
type RuntimeTemplateIamPolicyMapOutput struct{ *pulumi.OutputState }
func (RuntimeTemplateIamPolicyMapOutput) ElementType ¶ added in v8.17.0
func (RuntimeTemplateIamPolicyMapOutput) ElementType() reflect.Type
func (RuntimeTemplateIamPolicyMapOutput) MapIndex ¶ added in v8.17.0
func (o RuntimeTemplateIamPolicyMapOutput) MapIndex(k pulumi.StringInput) RuntimeTemplateIamPolicyOutput
func (RuntimeTemplateIamPolicyMapOutput) ToRuntimeTemplateIamPolicyMapOutput ¶ added in v8.17.0
func (o RuntimeTemplateIamPolicyMapOutput) ToRuntimeTemplateIamPolicyMapOutput() RuntimeTemplateIamPolicyMapOutput
func (RuntimeTemplateIamPolicyMapOutput) ToRuntimeTemplateIamPolicyMapOutputWithContext ¶ added in v8.17.0
func (o RuntimeTemplateIamPolicyMapOutput) ToRuntimeTemplateIamPolicyMapOutputWithContext(ctx context.Context) RuntimeTemplateIamPolicyMapOutput
type RuntimeTemplateIamPolicyOutput ¶ added in v8.17.0
type RuntimeTemplateIamPolicyOutput struct{ *pulumi.OutputState }
func (RuntimeTemplateIamPolicyOutput) ElementType ¶ added in v8.17.0
func (RuntimeTemplateIamPolicyOutput) ElementType() reflect.Type
func (RuntimeTemplateIamPolicyOutput) Etag ¶ added in v8.17.0
func (o RuntimeTemplateIamPolicyOutput) Etag() pulumi.StringOutput
(Computed) The etag of the IAM policy.
func (RuntimeTemplateIamPolicyOutput) Location ¶ added in v8.17.0
func (o RuntimeTemplateIamPolicyOutput) Location() pulumi.StringOutput
The location for the resource: https://cloud.google.com/colab/docs/locations Used to find the parent resource to bind the IAM policy to. If not specified, the value will be parsed from the identifier of the parent resource. If no location is provided in the parent identifier and no location is specified, it is taken from the provider configuration.
func (RuntimeTemplateIamPolicyOutput) PolicyData ¶ added in v8.17.0
func (o RuntimeTemplateIamPolicyOutput) PolicyData() pulumi.StringOutput
The policy data generated by a `organizations.getIAMPolicy` data source.
func (RuntimeTemplateIamPolicyOutput) Project ¶ added in v8.17.0
func (o RuntimeTemplateIamPolicyOutput) Project() pulumi.StringOutput
The ID of the project in which the resource belongs. If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used.
func (RuntimeTemplateIamPolicyOutput) RuntimeTemplate ¶ added in v8.17.0
func (o RuntimeTemplateIamPolicyOutput) RuntimeTemplate() pulumi.StringOutput
Used to find the parent resource to bind the IAM policy to
func (RuntimeTemplateIamPolicyOutput) ToRuntimeTemplateIamPolicyOutput ¶ added in v8.17.0
func (o RuntimeTemplateIamPolicyOutput) ToRuntimeTemplateIamPolicyOutput() RuntimeTemplateIamPolicyOutput
func (RuntimeTemplateIamPolicyOutput) ToRuntimeTemplateIamPolicyOutputWithContext ¶ added in v8.17.0
func (o RuntimeTemplateIamPolicyOutput) ToRuntimeTemplateIamPolicyOutputWithContext(ctx context.Context) RuntimeTemplateIamPolicyOutput
type RuntimeTemplateIamPolicyState ¶ added in v8.17.0
type RuntimeTemplateIamPolicyState struct { // (Computed) The etag of the IAM policy. Etag pulumi.StringPtrInput // The location for the resource: https://cloud.google.com/colab/docs/locations Used to find the parent resource to bind the IAM policy to. If not specified, // the value will be parsed from the identifier of the parent resource. If no location is provided in the parent identifier and no // location is specified, it is taken from the provider configuration. Location pulumi.StringPtrInput // The policy data generated by // a `organizations.getIAMPolicy` data source. PolicyData pulumi.StringPtrInput // The ID of the project in which the resource belongs. // If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used. Project pulumi.StringPtrInput // Used to find the parent resource to bind the IAM policy to RuntimeTemplate pulumi.StringPtrInput }
func (RuntimeTemplateIamPolicyState) ElementType ¶ added in v8.17.0
func (RuntimeTemplateIamPolicyState) ElementType() reflect.Type
type RuntimeTemplateIdleShutdownConfig ¶
type RuntimeTemplateIdleShutdownConfig struct { // The duration after which the runtime is automatically shut down. An input of 0s disables the idle shutdown feature, and a valid range is [10m, 24h]. IdleTimeout *string `pulumi:"idleTimeout"` }
type RuntimeTemplateIdleShutdownConfigArgs ¶
type RuntimeTemplateIdleShutdownConfigArgs struct { // The duration after which the runtime is automatically shut down. An input of 0s disables the idle shutdown feature, and a valid range is [10m, 24h]. IdleTimeout pulumi.StringPtrInput `pulumi:"idleTimeout"` }
func (RuntimeTemplateIdleShutdownConfigArgs) ElementType ¶
func (RuntimeTemplateIdleShutdownConfigArgs) ElementType() reflect.Type
func (RuntimeTemplateIdleShutdownConfigArgs) ToRuntimeTemplateIdleShutdownConfigOutput ¶
func (i RuntimeTemplateIdleShutdownConfigArgs) ToRuntimeTemplateIdleShutdownConfigOutput() RuntimeTemplateIdleShutdownConfigOutput
func (RuntimeTemplateIdleShutdownConfigArgs) ToRuntimeTemplateIdleShutdownConfigOutputWithContext ¶
func (i RuntimeTemplateIdleShutdownConfigArgs) ToRuntimeTemplateIdleShutdownConfigOutputWithContext(ctx context.Context) RuntimeTemplateIdleShutdownConfigOutput
func (RuntimeTemplateIdleShutdownConfigArgs) ToRuntimeTemplateIdleShutdownConfigPtrOutput ¶
func (i RuntimeTemplateIdleShutdownConfigArgs) ToRuntimeTemplateIdleShutdownConfigPtrOutput() RuntimeTemplateIdleShutdownConfigPtrOutput
func (RuntimeTemplateIdleShutdownConfigArgs) ToRuntimeTemplateIdleShutdownConfigPtrOutputWithContext ¶
func (i RuntimeTemplateIdleShutdownConfigArgs) ToRuntimeTemplateIdleShutdownConfigPtrOutputWithContext(ctx context.Context) RuntimeTemplateIdleShutdownConfigPtrOutput
type RuntimeTemplateIdleShutdownConfigInput ¶
type RuntimeTemplateIdleShutdownConfigInput interface { pulumi.Input ToRuntimeTemplateIdleShutdownConfigOutput() RuntimeTemplateIdleShutdownConfigOutput ToRuntimeTemplateIdleShutdownConfigOutputWithContext(context.Context) RuntimeTemplateIdleShutdownConfigOutput }
RuntimeTemplateIdleShutdownConfigInput is an input type that accepts RuntimeTemplateIdleShutdownConfigArgs and RuntimeTemplateIdleShutdownConfigOutput values. You can construct a concrete instance of `RuntimeTemplateIdleShutdownConfigInput` via:
RuntimeTemplateIdleShutdownConfigArgs{...}
type RuntimeTemplateIdleShutdownConfigOutput ¶
type RuntimeTemplateIdleShutdownConfigOutput struct{ *pulumi.OutputState }
func (RuntimeTemplateIdleShutdownConfigOutput) ElementType ¶
func (RuntimeTemplateIdleShutdownConfigOutput) ElementType() reflect.Type
func (RuntimeTemplateIdleShutdownConfigOutput) IdleTimeout ¶
func (o RuntimeTemplateIdleShutdownConfigOutput) IdleTimeout() pulumi.StringPtrOutput
The duration after which the runtime is automatically shut down. An input of 0s disables the idle shutdown feature, and a valid range is [10m, 24h].
func (RuntimeTemplateIdleShutdownConfigOutput) ToRuntimeTemplateIdleShutdownConfigOutput ¶
func (o RuntimeTemplateIdleShutdownConfigOutput) ToRuntimeTemplateIdleShutdownConfigOutput() RuntimeTemplateIdleShutdownConfigOutput
func (RuntimeTemplateIdleShutdownConfigOutput) ToRuntimeTemplateIdleShutdownConfigOutputWithContext ¶
func (o RuntimeTemplateIdleShutdownConfigOutput) ToRuntimeTemplateIdleShutdownConfigOutputWithContext(ctx context.Context) RuntimeTemplateIdleShutdownConfigOutput
func (RuntimeTemplateIdleShutdownConfigOutput) ToRuntimeTemplateIdleShutdownConfigPtrOutput ¶
func (o RuntimeTemplateIdleShutdownConfigOutput) ToRuntimeTemplateIdleShutdownConfigPtrOutput() RuntimeTemplateIdleShutdownConfigPtrOutput
func (RuntimeTemplateIdleShutdownConfigOutput) ToRuntimeTemplateIdleShutdownConfigPtrOutputWithContext ¶
func (o RuntimeTemplateIdleShutdownConfigOutput) ToRuntimeTemplateIdleShutdownConfigPtrOutputWithContext(ctx context.Context) RuntimeTemplateIdleShutdownConfigPtrOutput
type RuntimeTemplateIdleShutdownConfigPtrInput ¶
type RuntimeTemplateIdleShutdownConfigPtrInput interface { pulumi.Input ToRuntimeTemplateIdleShutdownConfigPtrOutput() RuntimeTemplateIdleShutdownConfigPtrOutput ToRuntimeTemplateIdleShutdownConfigPtrOutputWithContext(context.Context) RuntimeTemplateIdleShutdownConfigPtrOutput }
RuntimeTemplateIdleShutdownConfigPtrInput is an input type that accepts RuntimeTemplateIdleShutdownConfigArgs, RuntimeTemplateIdleShutdownConfigPtr and RuntimeTemplateIdleShutdownConfigPtrOutput values. You can construct a concrete instance of `RuntimeTemplateIdleShutdownConfigPtrInput` via:
RuntimeTemplateIdleShutdownConfigArgs{...} or: nil
func RuntimeTemplateIdleShutdownConfigPtr ¶
func RuntimeTemplateIdleShutdownConfigPtr(v *RuntimeTemplateIdleShutdownConfigArgs) RuntimeTemplateIdleShutdownConfigPtrInput
type RuntimeTemplateIdleShutdownConfigPtrOutput ¶
type RuntimeTemplateIdleShutdownConfigPtrOutput struct{ *pulumi.OutputState }
func (RuntimeTemplateIdleShutdownConfigPtrOutput) ElementType ¶
func (RuntimeTemplateIdleShutdownConfigPtrOutput) ElementType() reflect.Type
func (RuntimeTemplateIdleShutdownConfigPtrOutput) IdleTimeout ¶
func (o RuntimeTemplateIdleShutdownConfigPtrOutput) IdleTimeout() pulumi.StringPtrOutput
The duration after which the runtime is automatically shut down. An input of 0s disables the idle shutdown feature, and a valid range is [10m, 24h].
func (RuntimeTemplateIdleShutdownConfigPtrOutput) ToRuntimeTemplateIdleShutdownConfigPtrOutput ¶
func (o RuntimeTemplateIdleShutdownConfigPtrOutput) ToRuntimeTemplateIdleShutdownConfigPtrOutput() RuntimeTemplateIdleShutdownConfigPtrOutput
func (RuntimeTemplateIdleShutdownConfigPtrOutput) ToRuntimeTemplateIdleShutdownConfigPtrOutputWithContext ¶
func (o RuntimeTemplateIdleShutdownConfigPtrOutput) ToRuntimeTemplateIdleShutdownConfigPtrOutputWithContext(ctx context.Context) RuntimeTemplateIdleShutdownConfigPtrOutput
type RuntimeTemplateInput ¶
type RuntimeTemplateInput interface { pulumi.Input ToRuntimeTemplateOutput() RuntimeTemplateOutput ToRuntimeTemplateOutputWithContext(ctx context.Context) RuntimeTemplateOutput }
type RuntimeTemplateMachineSpec ¶
type RuntimeTemplateMachineSpec struct { // The number of accelerators used by the runtime. AcceleratorCount *int `pulumi:"acceleratorCount"` // The type of hardware accelerator used by the runtime. If specified, acceleratorCount must also be specified. AcceleratorType *string `pulumi:"acceleratorType"` // The Compute Engine machine type selected for the runtime. MachineType *string `pulumi:"machineType"` }
type RuntimeTemplateMachineSpecArgs ¶
type RuntimeTemplateMachineSpecArgs struct { // The number of accelerators used by the runtime. AcceleratorCount pulumi.IntPtrInput `pulumi:"acceleratorCount"` // The type of hardware accelerator used by the runtime. If specified, acceleratorCount must also be specified. AcceleratorType pulumi.StringPtrInput `pulumi:"acceleratorType"` // The Compute Engine machine type selected for the runtime. MachineType pulumi.StringPtrInput `pulumi:"machineType"` }
func (RuntimeTemplateMachineSpecArgs) ElementType ¶
func (RuntimeTemplateMachineSpecArgs) ElementType() reflect.Type
func (RuntimeTemplateMachineSpecArgs) ToRuntimeTemplateMachineSpecOutput ¶
func (i RuntimeTemplateMachineSpecArgs) ToRuntimeTemplateMachineSpecOutput() RuntimeTemplateMachineSpecOutput
func (RuntimeTemplateMachineSpecArgs) ToRuntimeTemplateMachineSpecOutputWithContext ¶
func (i RuntimeTemplateMachineSpecArgs) ToRuntimeTemplateMachineSpecOutputWithContext(ctx context.Context) RuntimeTemplateMachineSpecOutput
func (RuntimeTemplateMachineSpecArgs) ToRuntimeTemplateMachineSpecPtrOutput ¶
func (i RuntimeTemplateMachineSpecArgs) ToRuntimeTemplateMachineSpecPtrOutput() RuntimeTemplateMachineSpecPtrOutput
func (RuntimeTemplateMachineSpecArgs) ToRuntimeTemplateMachineSpecPtrOutputWithContext ¶
func (i RuntimeTemplateMachineSpecArgs) ToRuntimeTemplateMachineSpecPtrOutputWithContext(ctx context.Context) RuntimeTemplateMachineSpecPtrOutput
type RuntimeTemplateMachineSpecInput ¶
type RuntimeTemplateMachineSpecInput interface { pulumi.Input ToRuntimeTemplateMachineSpecOutput() RuntimeTemplateMachineSpecOutput ToRuntimeTemplateMachineSpecOutputWithContext(context.Context) RuntimeTemplateMachineSpecOutput }
RuntimeTemplateMachineSpecInput is an input type that accepts RuntimeTemplateMachineSpecArgs and RuntimeTemplateMachineSpecOutput values. You can construct a concrete instance of `RuntimeTemplateMachineSpecInput` via:
RuntimeTemplateMachineSpecArgs{...}
type RuntimeTemplateMachineSpecOutput ¶
type RuntimeTemplateMachineSpecOutput struct{ *pulumi.OutputState }
func (RuntimeTemplateMachineSpecOutput) AcceleratorCount ¶
func (o RuntimeTemplateMachineSpecOutput) AcceleratorCount() pulumi.IntPtrOutput
The number of accelerators used by the runtime.
func (RuntimeTemplateMachineSpecOutput) AcceleratorType ¶
func (o RuntimeTemplateMachineSpecOutput) AcceleratorType() pulumi.StringPtrOutput
The type of hardware accelerator used by the runtime. If specified, acceleratorCount must also be specified.
func (RuntimeTemplateMachineSpecOutput) ElementType ¶
func (RuntimeTemplateMachineSpecOutput) ElementType() reflect.Type
func (RuntimeTemplateMachineSpecOutput) MachineType ¶
func (o RuntimeTemplateMachineSpecOutput) MachineType() pulumi.StringPtrOutput
The Compute Engine machine type selected for the runtime.
func (RuntimeTemplateMachineSpecOutput) ToRuntimeTemplateMachineSpecOutput ¶
func (o RuntimeTemplateMachineSpecOutput) ToRuntimeTemplateMachineSpecOutput() RuntimeTemplateMachineSpecOutput
func (RuntimeTemplateMachineSpecOutput) ToRuntimeTemplateMachineSpecOutputWithContext ¶
func (o RuntimeTemplateMachineSpecOutput) ToRuntimeTemplateMachineSpecOutputWithContext(ctx context.Context) RuntimeTemplateMachineSpecOutput
func (RuntimeTemplateMachineSpecOutput) ToRuntimeTemplateMachineSpecPtrOutput ¶
func (o RuntimeTemplateMachineSpecOutput) ToRuntimeTemplateMachineSpecPtrOutput() RuntimeTemplateMachineSpecPtrOutput
func (RuntimeTemplateMachineSpecOutput) ToRuntimeTemplateMachineSpecPtrOutputWithContext ¶
func (o RuntimeTemplateMachineSpecOutput) ToRuntimeTemplateMachineSpecPtrOutputWithContext(ctx context.Context) RuntimeTemplateMachineSpecPtrOutput
type RuntimeTemplateMachineSpecPtrInput ¶
type RuntimeTemplateMachineSpecPtrInput interface { pulumi.Input ToRuntimeTemplateMachineSpecPtrOutput() RuntimeTemplateMachineSpecPtrOutput ToRuntimeTemplateMachineSpecPtrOutputWithContext(context.Context) RuntimeTemplateMachineSpecPtrOutput }
RuntimeTemplateMachineSpecPtrInput is an input type that accepts RuntimeTemplateMachineSpecArgs, RuntimeTemplateMachineSpecPtr and RuntimeTemplateMachineSpecPtrOutput values. You can construct a concrete instance of `RuntimeTemplateMachineSpecPtrInput` via:
RuntimeTemplateMachineSpecArgs{...} or: nil
func RuntimeTemplateMachineSpecPtr ¶
func RuntimeTemplateMachineSpecPtr(v *RuntimeTemplateMachineSpecArgs) RuntimeTemplateMachineSpecPtrInput
type RuntimeTemplateMachineSpecPtrOutput ¶
type RuntimeTemplateMachineSpecPtrOutput struct{ *pulumi.OutputState }
func (RuntimeTemplateMachineSpecPtrOutput) AcceleratorCount ¶
func (o RuntimeTemplateMachineSpecPtrOutput) AcceleratorCount() pulumi.IntPtrOutput
The number of accelerators used by the runtime.
func (RuntimeTemplateMachineSpecPtrOutput) AcceleratorType ¶
func (o RuntimeTemplateMachineSpecPtrOutput) AcceleratorType() pulumi.StringPtrOutput
The type of hardware accelerator used by the runtime. If specified, acceleratorCount must also be specified.
func (RuntimeTemplateMachineSpecPtrOutput) Elem ¶
func (o RuntimeTemplateMachineSpecPtrOutput) Elem() RuntimeTemplateMachineSpecOutput
func (RuntimeTemplateMachineSpecPtrOutput) ElementType ¶
func (RuntimeTemplateMachineSpecPtrOutput) ElementType() reflect.Type
func (RuntimeTemplateMachineSpecPtrOutput) MachineType ¶
func (o RuntimeTemplateMachineSpecPtrOutput) MachineType() pulumi.StringPtrOutput
The Compute Engine machine type selected for the runtime.
func (RuntimeTemplateMachineSpecPtrOutput) ToRuntimeTemplateMachineSpecPtrOutput ¶
func (o RuntimeTemplateMachineSpecPtrOutput) ToRuntimeTemplateMachineSpecPtrOutput() RuntimeTemplateMachineSpecPtrOutput
func (RuntimeTemplateMachineSpecPtrOutput) ToRuntimeTemplateMachineSpecPtrOutputWithContext ¶
func (o RuntimeTemplateMachineSpecPtrOutput) ToRuntimeTemplateMachineSpecPtrOutputWithContext(ctx context.Context) RuntimeTemplateMachineSpecPtrOutput
type RuntimeTemplateMap ¶
type RuntimeTemplateMap map[string]RuntimeTemplateInput
func (RuntimeTemplateMap) ElementType ¶
func (RuntimeTemplateMap) ElementType() reflect.Type
func (RuntimeTemplateMap) ToRuntimeTemplateMapOutput ¶
func (i RuntimeTemplateMap) ToRuntimeTemplateMapOutput() RuntimeTemplateMapOutput
func (RuntimeTemplateMap) ToRuntimeTemplateMapOutputWithContext ¶
func (i RuntimeTemplateMap) ToRuntimeTemplateMapOutputWithContext(ctx context.Context) RuntimeTemplateMapOutput
type RuntimeTemplateMapInput ¶
type RuntimeTemplateMapInput interface { pulumi.Input ToRuntimeTemplateMapOutput() RuntimeTemplateMapOutput ToRuntimeTemplateMapOutputWithContext(context.Context) RuntimeTemplateMapOutput }
RuntimeTemplateMapInput is an input type that accepts RuntimeTemplateMap and RuntimeTemplateMapOutput values. You can construct a concrete instance of `RuntimeTemplateMapInput` via:
RuntimeTemplateMap{ "key": RuntimeTemplateArgs{...} }
type RuntimeTemplateMapOutput ¶
type RuntimeTemplateMapOutput struct{ *pulumi.OutputState }
func (RuntimeTemplateMapOutput) ElementType ¶
func (RuntimeTemplateMapOutput) ElementType() reflect.Type
func (RuntimeTemplateMapOutput) MapIndex ¶
func (o RuntimeTemplateMapOutput) MapIndex(k pulumi.StringInput) RuntimeTemplateOutput
func (RuntimeTemplateMapOutput) ToRuntimeTemplateMapOutput ¶
func (o RuntimeTemplateMapOutput) ToRuntimeTemplateMapOutput() RuntimeTemplateMapOutput
func (RuntimeTemplateMapOutput) ToRuntimeTemplateMapOutputWithContext ¶
func (o RuntimeTemplateMapOutput) ToRuntimeTemplateMapOutputWithContext(ctx context.Context) RuntimeTemplateMapOutput
type RuntimeTemplateNetworkSpec ¶
type RuntimeTemplateNetworkSpec struct { // Enable public internet access for the runtime. EnableInternetAccess *bool `pulumi:"enableInternetAccess"` // The name of the VPC that this runtime is in. Network *string `pulumi:"network"` // The name of the subnetwork that this runtime is in. Subnetwork *string `pulumi:"subnetwork"` }
type RuntimeTemplateNetworkSpecArgs ¶
type RuntimeTemplateNetworkSpecArgs struct { // Enable public internet access for the runtime. EnableInternetAccess pulumi.BoolPtrInput `pulumi:"enableInternetAccess"` // The name of the VPC that this runtime is in. Network pulumi.StringPtrInput `pulumi:"network"` // The name of the subnetwork that this runtime is in. Subnetwork pulumi.StringPtrInput `pulumi:"subnetwork"` }
func (RuntimeTemplateNetworkSpecArgs) ElementType ¶
func (RuntimeTemplateNetworkSpecArgs) ElementType() reflect.Type
func (RuntimeTemplateNetworkSpecArgs) ToRuntimeTemplateNetworkSpecOutput ¶
func (i RuntimeTemplateNetworkSpecArgs) ToRuntimeTemplateNetworkSpecOutput() RuntimeTemplateNetworkSpecOutput
func (RuntimeTemplateNetworkSpecArgs) ToRuntimeTemplateNetworkSpecOutputWithContext ¶
func (i RuntimeTemplateNetworkSpecArgs) ToRuntimeTemplateNetworkSpecOutputWithContext(ctx context.Context) RuntimeTemplateNetworkSpecOutput
func (RuntimeTemplateNetworkSpecArgs) ToRuntimeTemplateNetworkSpecPtrOutput ¶
func (i RuntimeTemplateNetworkSpecArgs) ToRuntimeTemplateNetworkSpecPtrOutput() RuntimeTemplateNetworkSpecPtrOutput
func (RuntimeTemplateNetworkSpecArgs) ToRuntimeTemplateNetworkSpecPtrOutputWithContext ¶
func (i RuntimeTemplateNetworkSpecArgs) ToRuntimeTemplateNetworkSpecPtrOutputWithContext(ctx context.Context) RuntimeTemplateNetworkSpecPtrOutput
type RuntimeTemplateNetworkSpecInput ¶
type RuntimeTemplateNetworkSpecInput interface { pulumi.Input ToRuntimeTemplateNetworkSpecOutput() RuntimeTemplateNetworkSpecOutput ToRuntimeTemplateNetworkSpecOutputWithContext(context.Context) RuntimeTemplateNetworkSpecOutput }
RuntimeTemplateNetworkSpecInput is an input type that accepts RuntimeTemplateNetworkSpecArgs and RuntimeTemplateNetworkSpecOutput values. You can construct a concrete instance of `RuntimeTemplateNetworkSpecInput` via:
RuntimeTemplateNetworkSpecArgs{...}
type RuntimeTemplateNetworkSpecOutput ¶
type RuntimeTemplateNetworkSpecOutput struct{ *pulumi.OutputState }
func (RuntimeTemplateNetworkSpecOutput) ElementType ¶
func (RuntimeTemplateNetworkSpecOutput) ElementType() reflect.Type
func (RuntimeTemplateNetworkSpecOutput) EnableInternetAccess ¶
func (o RuntimeTemplateNetworkSpecOutput) EnableInternetAccess() pulumi.BoolPtrOutput
Enable public internet access for the runtime.
func (RuntimeTemplateNetworkSpecOutput) Network ¶
func (o RuntimeTemplateNetworkSpecOutput) Network() pulumi.StringPtrOutput
The name of the VPC that this runtime is in.
func (RuntimeTemplateNetworkSpecOutput) Subnetwork ¶
func (o RuntimeTemplateNetworkSpecOutput) Subnetwork() pulumi.StringPtrOutput
The name of the subnetwork that this runtime is in.
func (RuntimeTemplateNetworkSpecOutput) ToRuntimeTemplateNetworkSpecOutput ¶
func (o RuntimeTemplateNetworkSpecOutput) ToRuntimeTemplateNetworkSpecOutput() RuntimeTemplateNetworkSpecOutput
func (RuntimeTemplateNetworkSpecOutput) ToRuntimeTemplateNetworkSpecOutputWithContext ¶
func (o RuntimeTemplateNetworkSpecOutput) ToRuntimeTemplateNetworkSpecOutputWithContext(ctx context.Context) RuntimeTemplateNetworkSpecOutput
func (RuntimeTemplateNetworkSpecOutput) ToRuntimeTemplateNetworkSpecPtrOutput ¶
func (o RuntimeTemplateNetworkSpecOutput) ToRuntimeTemplateNetworkSpecPtrOutput() RuntimeTemplateNetworkSpecPtrOutput
func (RuntimeTemplateNetworkSpecOutput) ToRuntimeTemplateNetworkSpecPtrOutputWithContext ¶
func (o RuntimeTemplateNetworkSpecOutput) ToRuntimeTemplateNetworkSpecPtrOutputWithContext(ctx context.Context) RuntimeTemplateNetworkSpecPtrOutput
type RuntimeTemplateNetworkSpecPtrInput ¶
type RuntimeTemplateNetworkSpecPtrInput interface { pulumi.Input ToRuntimeTemplateNetworkSpecPtrOutput() RuntimeTemplateNetworkSpecPtrOutput ToRuntimeTemplateNetworkSpecPtrOutputWithContext(context.Context) RuntimeTemplateNetworkSpecPtrOutput }
RuntimeTemplateNetworkSpecPtrInput is an input type that accepts RuntimeTemplateNetworkSpecArgs, RuntimeTemplateNetworkSpecPtr and RuntimeTemplateNetworkSpecPtrOutput values. You can construct a concrete instance of `RuntimeTemplateNetworkSpecPtrInput` via:
RuntimeTemplateNetworkSpecArgs{...} or: nil
func RuntimeTemplateNetworkSpecPtr ¶
func RuntimeTemplateNetworkSpecPtr(v *RuntimeTemplateNetworkSpecArgs) RuntimeTemplateNetworkSpecPtrInput
type RuntimeTemplateNetworkSpecPtrOutput ¶
type RuntimeTemplateNetworkSpecPtrOutput struct{ *pulumi.OutputState }
func (RuntimeTemplateNetworkSpecPtrOutput) Elem ¶
func (o RuntimeTemplateNetworkSpecPtrOutput) Elem() RuntimeTemplateNetworkSpecOutput
func (RuntimeTemplateNetworkSpecPtrOutput) ElementType ¶
func (RuntimeTemplateNetworkSpecPtrOutput) ElementType() reflect.Type
func (RuntimeTemplateNetworkSpecPtrOutput) EnableInternetAccess ¶
func (o RuntimeTemplateNetworkSpecPtrOutput) EnableInternetAccess() pulumi.BoolPtrOutput
Enable public internet access for the runtime.
func (RuntimeTemplateNetworkSpecPtrOutput) Network ¶
func (o RuntimeTemplateNetworkSpecPtrOutput) Network() pulumi.StringPtrOutput
The name of the VPC that this runtime is in.
func (RuntimeTemplateNetworkSpecPtrOutput) Subnetwork ¶
func (o RuntimeTemplateNetworkSpecPtrOutput) Subnetwork() pulumi.StringPtrOutput
The name of the subnetwork that this runtime is in.
func (RuntimeTemplateNetworkSpecPtrOutput) ToRuntimeTemplateNetworkSpecPtrOutput ¶
func (o RuntimeTemplateNetworkSpecPtrOutput) ToRuntimeTemplateNetworkSpecPtrOutput() RuntimeTemplateNetworkSpecPtrOutput
func (RuntimeTemplateNetworkSpecPtrOutput) ToRuntimeTemplateNetworkSpecPtrOutputWithContext ¶
func (o RuntimeTemplateNetworkSpecPtrOutput) ToRuntimeTemplateNetworkSpecPtrOutputWithContext(ctx context.Context) RuntimeTemplateNetworkSpecPtrOutput
type RuntimeTemplateOutput ¶
type RuntimeTemplateOutput struct{ *pulumi.OutputState }
func (RuntimeTemplateOutput) DataPersistentDiskSpec ¶
func (o RuntimeTemplateOutput) DataPersistentDiskSpec() RuntimeTemplateDataPersistentDiskSpecOutput
The configuration for the data disk of the runtime. Structure is documented below.
func (RuntimeTemplateOutput) Description ¶
func (o RuntimeTemplateOutput) Description() pulumi.StringPtrOutput
The description of the Runtime Template.
func (RuntimeTemplateOutput) DisplayName ¶
func (o RuntimeTemplateOutput) DisplayName() pulumi.StringOutput
Required. The display name of the Runtime Template.
func (RuntimeTemplateOutput) EffectiveLabels ¶
func (o RuntimeTemplateOutput) EffectiveLabels() pulumi.StringMapOutput
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services.
func (RuntimeTemplateOutput) ElementType ¶
func (RuntimeTemplateOutput) ElementType() reflect.Type
func (RuntimeTemplateOutput) EncryptionSpec ¶
func (o RuntimeTemplateOutput) EncryptionSpec() RuntimeTemplateEncryptionSpecPtrOutput
Customer-managed encryption key spec for the notebook runtime. Structure is documented below.
func (RuntimeTemplateOutput) EucConfig ¶
func (o RuntimeTemplateOutput) EucConfig() RuntimeTemplateEucConfigPtrOutput
EUC configuration of the NotebookRuntimeTemplate. Structure is documented below.
func (RuntimeTemplateOutput) IdleShutdownConfig ¶
func (o RuntimeTemplateOutput) IdleShutdownConfig() RuntimeTemplateIdleShutdownConfigOutput
Notebook Idle Shutdown configuration for the runtime. Structure is documented below.
func (RuntimeTemplateOutput) Labels ¶
func (o RuntimeTemplateOutput) Labels() pulumi.StringMapOutput
Labels to identify and group the runtime template. **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field `effectiveLabels` for all of the labels present on the resource.
func (RuntimeTemplateOutput) Location ¶
func (o RuntimeTemplateOutput) Location() pulumi.StringOutput
The location for the resource: https://cloud.google.com/colab/docs/locations
***
func (RuntimeTemplateOutput) MachineSpec ¶
func (o RuntimeTemplateOutput) MachineSpec() RuntimeTemplateMachineSpecOutput
'The machine configuration of the runtime.' Structure is documented below.
func (RuntimeTemplateOutput) Name ¶
func (o RuntimeTemplateOutput) Name() pulumi.StringOutput
The resource name of the Runtime Template
func (RuntimeTemplateOutput) NetworkSpec ¶
func (o RuntimeTemplateOutput) NetworkSpec() RuntimeTemplateNetworkSpecOutput
The network configuration for the runtime. Structure is documented below.
func (RuntimeTemplateOutput) NetworkTags ¶
func (o RuntimeTemplateOutput) NetworkTags() pulumi.StringArrayOutput
Applies the given Compute Engine tags to the runtime.
func (RuntimeTemplateOutput) Project ¶
func (o RuntimeTemplateOutput) Project() pulumi.StringOutput
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
func (RuntimeTemplateOutput) PulumiLabels ¶
func (o RuntimeTemplateOutput) PulumiLabels() pulumi.StringMapOutput
The combination of labels configured directly on the resource and default labels configured on the provider.
func (RuntimeTemplateOutput) ShieldedVmConfig ¶
func (o RuntimeTemplateOutput) ShieldedVmConfig() RuntimeTemplateShieldedVmConfigPtrOutput
Runtime Shielded VM spec. Structure is documented below.
func (RuntimeTemplateOutput) ToRuntimeTemplateOutput ¶
func (o RuntimeTemplateOutput) ToRuntimeTemplateOutput() RuntimeTemplateOutput
func (RuntimeTemplateOutput) ToRuntimeTemplateOutputWithContext ¶
func (o RuntimeTemplateOutput) ToRuntimeTemplateOutputWithContext(ctx context.Context) RuntimeTemplateOutput
type RuntimeTemplateShieldedVmConfig ¶
type RuntimeTemplateShieldedVmConfig struct { // Enables secure boot for the runtime. EnableSecureBoot *bool `pulumi:"enableSecureBoot"` }
type RuntimeTemplateShieldedVmConfigArgs ¶
type RuntimeTemplateShieldedVmConfigArgs struct { // Enables secure boot for the runtime. EnableSecureBoot pulumi.BoolPtrInput `pulumi:"enableSecureBoot"` }
func (RuntimeTemplateShieldedVmConfigArgs) ElementType ¶
func (RuntimeTemplateShieldedVmConfigArgs) ElementType() reflect.Type
func (RuntimeTemplateShieldedVmConfigArgs) ToRuntimeTemplateShieldedVmConfigOutput ¶
func (i RuntimeTemplateShieldedVmConfigArgs) ToRuntimeTemplateShieldedVmConfigOutput() RuntimeTemplateShieldedVmConfigOutput
func (RuntimeTemplateShieldedVmConfigArgs) ToRuntimeTemplateShieldedVmConfigOutputWithContext ¶
func (i RuntimeTemplateShieldedVmConfigArgs) ToRuntimeTemplateShieldedVmConfigOutputWithContext(ctx context.Context) RuntimeTemplateShieldedVmConfigOutput
func (RuntimeTemplateShieldedVmConfigArgs) ToRuntimeTemplateShieldedVmConfigPtrOutput ¶
func (i RuntimeTemplateShieldedVmConfigArgs) ToRuntimeTemplateShieldedVmConfigPtrOutput() RuntimeTemplateShieldedVmConfigPtrOutput
func (RuntimeTemplateShieldedVmConfigArgs) ToRuntimeTemplateShieldedVmConfigPtrOutputWithContext ¶
func (i RuntimeTemplateShieldedVmConfigArgs) ToRuntimeTemplateShieldedVmConfigPtrOutputWithContext(ctx context.Context) RuntimeTemplateShieldedVmConfigPtrOutput
type RuntimeTemplateShieldedVmConfigInput ¶
type RuntimeTemplateShieldedVmConfigInput interface { pulumi.Input ToRuntimeTemplateShieldedVmConfigOutput() RuntimeTemplateShieldedVmConfigOutput ToRuntimeTemplateShieldedVmConfigOutputWithContext(context.Context) RuntimeTemplateShieldedVmConfigOutput }
RuntimeTemplateShieldedVmConfigInput is an input type that accepts RuntimeTemplateShieldedVmConfigArgs and RuntimeTemplateShieldedVmConfigOutput values. You can construct a concrete instance of `RuntimeTemplateShieldedVmConfigInput` via:
RuntimeTemplateShieldedVmConfigArgs{...}
type RuntimeTemplateShieldedVmConfigOutput ¶
type RuntimeTemplateShieldedVmConfigOutput struct{ *pulumi.OutputState }
func (RuntimeTemplateShieldedVmConfigOutput) ElementType ¶
func (RuntimeTemplateShieldedVmConfigOutput) ElementType() reflect.Type
func (RuntimeTemplateShieldedVmConfigOutput) EnableSecureBoot ¶
func (o RuntimeTemplateShieldedVmConfigOutput) EnableSecureBoot() pulumi.BoolPtrOutput
Enables secure boot for the runtime.
func (RuntimeTemplateShieldedVmConfigOutput) ToRuntimeTemplateShieldedVmConfigOutput ¶
func (o RuntimeTemplateShieldedVmConfigOutput) ToRuntimeTemplateShieldedVmConfigOutput() RuntimeTemplateShieldedVmConfigOutput
func (RuntimeTemplateShieldedVmConfigOutput) ToRuntimeTemplateShieldedVmConfigOutputWithContext ¶
func (o RuntimeTemplateShieldedVmConfigOutput) ToRuntimeTemplateShieldedVmConfigOutputWithContext(ctx context.Context) RuntimeTemplateShieldedVmConfigOutput
func (RuntimeTemplateShieldedVmConfigOutput) ToRuntimeTemplateShieldedVmConfigPtrOutput ¶
func (o RuntimeTemplateShieldedVmConfigOutput) ToRuntimeTemplateShieldedVmConfigPtrOutput() RuntimeTemplateShieldedVmConfigPtrOutput
func (RuntimeTemplateShieldedVmConfigOutput) ToRuntimeTemplateShieldedVmConfigPtrOutputWithContext ¶
func (o RuntimeTemplateShieldedVmConfigOutput) ToRuntimeTemplateShieldedVmConfigPtrOutputWithContext(ctx context.Context) RuntimeTemplateShieldedVmConfigPtrOutput
type RuntimeTemplateShieldedVmConfigPtrInput ¶
type RuntimeTemplateShieldedVmConfigPtrInput interface { pulumi.Input ToRuntimeTemplateShieldedVmConfigPtrOutput() RuntimeTemplateShieldedVmConfigPtrOutput ToRuntimeTemplateShieldedVmConfigPtrOutputWithContext(context.Context) RuntimeTemplateShieldedVmConfigPtrOutput }
RuntimeTemplateShieldedVmConfigPtrInput is an input type that accepts RuntimeTemplateShieldedVmConfigArgs, RuntimeTemplateShieldedVmConfigPtr and RuntimeTemplateShieldedVmConfigPtrOutput values. You can construct a concrete instance of `RuntimeTemplateShieldedVmConfigPtrInput` via:
RuntimeTemplateShieldedVmConfigArgs{...} or: nil
func RuntimeTemplateShieldedVmConfigPtr ¶
func RuntimeTemplateShieldedVmConfigPtr(v *RuntimeTemplateShieldedVmConfigArgs) RuntimeTemplateShieldedVmConfigPtrInput
type RuntimeTemplateShieldedVmConfigPtrOutput ¶
type RuntimeTemplateShieldedVmConfigPtrOutput struct{ *pulumi.OutputState }
func (RuntimeTemplateShieldedVmConfigPtrOutput) ElementType ¶
func (RuntimeTemplateShieldedVmConfigPtrOutput) ElementType() reflect.Type
func (RuntimeTemplateShieldedVmConfigPtrOutput) EnableSecureBoot ¶
func (o RuntimeTemplateShieldedVmConfigPtrOutput) EnableSecureBoot() pulumi.BoolPtrOutput
Enables secure boot for the runtime.
func (RuntimeTemplateShieldedVmConfigPtrOutput) ToRuntimeTemplateShieldedVmConfigPtrOutput ¶
func (o RuntimeTemplateShieldedVmConfigPtrOutput) ToRuntimeTemplateShieldedVmConfigPtrOutput() RuntimeTemplateShieldedVmConfigPtrOutput
func (RuntimeTemplateShieldedVmConfigPtrOutput) ToRuntimeTemplateShieldedVmConfigPtrOutputWithContext ¶
func (o RuntimeTemplateShieldedVmConfigPtrOutput) ToRuntimeTemplateShieldedVmConfigPtrOutputWithContext(ctx context.Context) RuntimeTemplateShieldedVmConfigPtrOutput
type RuntimeTemplateState ¶
type RuntimeTemplateState struct { // The configuration for the data disk of the runtime. // Structure is documented below. DataPersistentDiskSpec RuntimeTemplateDataPersistentDiskSpecPtrInput // The description of the Runtime Template. Description pulumi.StringPtrInput // Required. The display name of the Runtime Template. DisplayName pulumi.StringPtrInput // All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Pulumi, other clients and services. EffectiveLabels pulumi.StringMapInput // Customer-managed encryption key spec for the notebook runtime. // Structure is documented below. EncryptionSpec RuntimeTemplateEncryptionSpecPtrInput // EUC configuration of the NotebookRuntimeTemplate. // Structure is documented below. EucConfig RuntimeTemplateEucConfigPtrInput // Notebook Idle Shutdown configuration for the runtime. // Structure is documented below. IdleShutdownConfig RuntimeTemplateIdleShutdownConfigPtrInput // Labels to identify and group the runtime template. // **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. // Please refer to the field `effectiveLabels` for all of the labels present on the resource. Labels pulumi.StringMapInput // The location for the resource: https://cloud.google.com/colab/docs/locations // // *** Location pulumi.StringPtrInput // 'The machine configuration of the runtime.' // Structure is documented below. MachineSpec RuntimeTemplateMachineSpecPtrInput // The resource name of the Runtime Template Name pulumi.StringPtrInput // The network configuration for the runtime. // Structure is documented below. NetworkSpec RuntimeTemplateNetworkSpecPtrInput // Applies the given Compute Engine tags to the runtime. NetworkTags pulumi.StringArrayInput // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project pulumi.StringPtrInput // The combination of labels configured directly on the resource // and default labels configured on the provider. PulumiLabels pulumi.StringMapInput // Runtime Shielded VM spec. // Structure is documented below. ShieldedVmConfig RuntimeTemplateShieldedVmConfigPtrInput }
func (RuntimeTemplateState) ElementType ¶
func (RuntimeTemplateState) ElementType() reflect.Type