Documentation
¶
Index ¶
- type BackupPlan
- type BackupPlanArgs
- type BackupPlanArray
- func (BackupPlanArray) ElementType() reflect.Type
- func (i BackupPlanArray) ToBackupPlanArrayOutput() BackupPlanArrayOutput
- func (i BackupPlanArray) ToBackupPlanArrayOutputWithContext(ctx context.Context) BackupPlanArrayOutput
- func (i BackupPlanArray) ToOutput(ctx context.Context) pulumix.Output[[]*BackupPlan]
- type BackupPlanArrayInput
- type BackupPlanArrayOutput
- func (BackupPlanArrayOutput) ElementType() reflect.Type
- func (o BackupPlanArrayOutput) Index(i pulumi.IntInput) BackupPlanOutput
- func (o BackupPlanArrayOutput) ToBackupPlanArrayOutput() BackupPlanArrayOutput
- func (o BackupPlanArrayOutput) ToBackupPlanArrayOutputWithContext(ctx context.Context) BackupPlanArrayOutput
- func (o BackupPlanArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*BackupPlan]
- type BackupPlanBackupConfig
- type BackupPlanBackupConfigArgs
- func (BackupPlanBackupConfigArgs) ElementType() reflect.Type
- func (i BackupPlanBackupConfigArgs) ToBackupPlanBackupConfigOutput() BackupPlanBackupConfigOutput
- func (i BackupPlanBackupConfigArgs) ToBackupPlanBackupConfigOutputWithContext(ctx context.Context) BackupPlanBackupConfigOutput
- func (i BackupPlanBackupConfigArgs) ToBackupPlanBackupConfigPtrOutput() BackupPlanBackupConfigPtrOutput
- func (i BackupPlanBackupConfigArgs) ToBackupPlanBackupConfigPtrOutputWithContext(ctx context.Context) BackupPlanBackupConfigPtrOutput
- func (i BackupPlanBackupConfigArgs) ToOutput(ctx context.Context) pulumix.Output[BackupPlanBackupConfig]
- type BackupPlanBackupConfigEncryptionKey
- type BackupPlanBackupConfigEncryptionKeyArgs
- func (BackupPlanBackupConfigEncryptionKeyArgs) ElementType() reflect.Type
- func (i BackupPlanBackupConfigEncryptionKeyArgs) ToBackupPlanBackupConfigEncryptionKeyOutput() BackupPlanBackupConfigEncryptionKeyOutput
- func (i BackupPlanBackupConfigEncryptionKeyArgs) ToBackupPlanBackupConfigEncryptionKeyOutputWithContext(ctx context.Context) BackupPlanBackupConfigEncryptionKeyOutput
- func (i BackupPlanBackupConfigEncryptionKeyArgs) ToBackupPlanBackupConfigEncryptionKeyPtrOutput() BackupPlanBackupConfigEncryptionKeyPtrOutput
- func (i BackupPlanBackupConfigEncryptionKeyArgs) ToBackupPlanBackupConfigEncryptionKeyPtrOutputWithContext(ctx context.Context) BackupPlanBackupConfigEncryptionKeyPtrOutput
- func (i BackupPlanBackupConfigEncryptionKeyArgs) ToOutput(ctx context.Context) pulumix.Output[BackupPlanBackupConfigEncryptionKey]
- type BackupPlanBackupConfigEncryptionKeyInput
- type BackupPlanBackupConfigEncryptionKeyOutput
- func (BackupPlanBackupConfigEncryptionKeyOutput) ElementType() reflect.Type
- func (o BackupPlanBackupConfigEncryptionKeyOutput) GcpKmsEncryptionKey() pulumi.StringOutput
- func (o BackupPlanBackupConfigEncryptionKeyOutput) ToBackupPlanBackupConfigEncryptionKeyOutput() BackupPlanBackupConfigEncryptionKeyOutput
- func (o BackupPlanBackupConfigEncryptionKeyOutput) ToBackupPlanBackupConfigEncryptionKeyOutputWithContext(ctx context.Context) BackupPlanBackupConfigEncryptionKeyOutput
- func (o BackupPlanBackupConfigEncryptionKeyOutput) ToBackupPlanBackupConfigEncryptionKeyPtrOutput() BackupPlanBackupConfigEncryptionKeyPtrOutput
- func (o BackupPlanBackupConfigEncryptionKeyOutput) ToBackupPlanBackupConfigEncryptionKeyPtrOutputWithContext(ctx context.Context) BackupPlanBackupConfigEncryptionKeyPtrOutput
- func (o BackupPlanBackupConfigEncryptionKeyOutput) ToOutput(ctx context.Context) pulumix.Output[BackupPlanBackupConfigEncryptionKey]
- type BackupPlanBackupConfigEncryptionKeyPtrInput
- type BackupPlanBackupConfigEncryptionKeyPtrOutput
- func (o BackupPlanBackupConfigEncryptionKeyPtrOutput) Elem() BackupPlanBackupConfigEncryptionKeyOutput
- func (BackupPlanBackupConfigEncryptionKeyPtrOutput) ElementType() reflect.Type
- func (o BackupPlanBackupConfigEncryptionKeyPtrOutput) GcpKmsEncryptionKey() pulumi.StringPtrOutput
- func (o BackupPlanBackupConfigEncryptionKeyPtrOutput) ToBackupPlanBackupConfigEncryptionKeyPtrOutput() BackupPlanBackupConfigEncryptionKeyPtrOutput
- func (o BackupPlanBackupConfigEncryptionKeyPtrOutput) ToBackupPlanBackupConfigEncryptionKeyPtrOutputWithContext(ctx context.Context) BackupPlanBackupConfigEncryptionKeyPtrOutput
- func (o BackupPlanBackupConfigEncryptionKeyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BackupPlanBackupConfigEncryptionKey]
- type BackupPlanBackupConfigInput
- type BackupPlanBackupConfigOutput
- func (o BackupPlanBackupConfigOutput) AllNamespaces() pulumi.BoolPtrOutput
- func (BackupPlanBackupConfigOutput) ElementType() reflect.Type
- func (o BackupPlanBackupConfigOutput) EncryptionKey() BackupPlanBackupConfigEncryptionKeyPtrOutput
- func (o BackupPlanBackupConfigOutput) IncludeSecrets() pulumi.BoolPtrOutput
- func (o BackupPlanBackupConfigOutput) IncludeVolumeData() pulumi.BoolPtrOutput
- func (o BackupPlanBackupConfigOutput) SelectedApplications() BackupPlanBackupConfigSelectedApplicationsPtrOutput
- func (o BackupPlanBackupConfigOutput) SelectedNamespaces() BackupPlanBackupConfigSelectedNamespacesPtrOutput
- func (o BackupPlanBackupConfigOutput) ToBackupPlanBackupConfigOutput() BackupPlanBackupConfigOutput
- func (o BackupPlanBackupConfigOutput) ToBackupPlanBackupConfigOutputWithContext(ctx context.Context) BackupPlanBackupConfigOutput
- func (o BackupPlanBackupConfigOutput) ToBackupPlanBackupConfigPtrOutput() BackupPlanBackupConfigPtrOutput
- func (o BackupPlanBackupConfigOutput) ToBackupPlanBackupConfigPtrOutputWithContext(ctx context.Context) BackupPlanBackupConfigPtrOutput
- func (o BackupPlanBackupConfigOutput) ToOutput(ctx context.Context) pulumix.Output[BackupPlanBackupConfig]
- type BackupPlanBackupConfigPtrInput
- type BackupPlanBackupConfigPtrOutput
- func (o BackupPlanBackupConfigPtrOutput) AllNamespaces() pulumi.BoolPtrOutput
- func (o BackupPlanBackupConfigPtrOutput) Elem() BackupPlanBackupConfigOutput
- func (BackupPlanBackupConfigPtrOutput) ElementType() reflect.Type
- func (o BackupPlanBackupConfigPtrOutput) EncryptionKey() BackupPlanBackupConfigEncryptionKeyPtrOutput
- func (o BackupPlanBackupConfigPtrOutput) IncludeSecrets() pulumi.BoolPtrOutput
- func (o BackupPlanBackupConfigPtrOutput) IncludeVolumeData() pulumi.BoolPtrOutput
- func (o BackupPlanBackupConfigPtrOutput) SelectedApplications() BackupPlanBackupConfigSelectedApplicationsPtrOutput
- func (o BackupPlanBackupConfigPtrOutput) SelectedNamespaces() BackupPlanBackupConfigSelectedNamespacesPtrOutput
- func (o BackupPlanBackupConfigPtrOutput) ToBackupPlanBackupConfigPtrOutput() BackupPlanBackupConfigPtrOutput
- func (o BackupPlanBackupConfigPtrOutput) ToBackupPlanBackupConfigPtrOutputWithContext(ctx context.Context) BackupPlanBackupConfigPtrOutput
- func (o BackupPlanBackupConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BackupPlanBackupConfig]
- type BackupPlanBackupConfigSelectedApplications
- type BackupPlanBackupConfigSelectedApplicationsArgs
- func (BackupPlanBackupConfigSelectedApplicationsArgs) ElementType() reflect.Type
- func (i BackupPlanBackupConfigSelectedApplicationsArgs) ToBackupPlanBackupConfigSelectedApplicationsOutput() BackupPlanBackupConfigSelectedApplicationsOutput
- func (i BackupPlanBackupConfigSelectedApplicationsArgs) ToBackupPlanBackupConfigSelectedApplicationsOutputWithContext(ctx context.Context) BackupPlanBackupConfigSelectedApplicationsOutput
- func (i BackupPlanBackupConfigSelectedApplicationsArgs) ToBackupPlanBackupConfigSelectedApplicationsPtrOutput() BackupPlanBackupConfigSelectedApplicationsPtrOutput
- func (i BackupPlanBackupConfigSelectedApplicationsArgs) ToBackupPlanBackupConfigSelectedApplicationsPtrOutputWithContext(ctx context.Context) BackupPlanBackupConfigSelectedApplicationsPtrOutput
- func (i BackupPlanBackupConfigSelectedApplicationsArgs) ToOutput(ctx context.Context) pulumix.Output[BackupPlanBackupConfigSelectedApplications]
- type BackupPlanBackupConfigSelectedApplicationsInput
- type BackupPlanBackupConfigSelectedApplicationsNamespacedName
- type BackupPlanBackupConfigSelectedApplicationsNamespacedNameArgs
- func (BackupPlanBackupConfigSelectedApplicationsNamespacedNameArgs) ElementType() reflect.Type
- func (i BackupPlanBackupConfigSelectedApplicationsNamespacedNameArgs) ToBackupPlanBackupConfigSelectedApplicationsNamespacedNameOutput() BackupPlanBackupConfigSelectedApplicationsNamespacedNameOutput
- func (i BackupPlanBackupConfigSelectedApplicationsNamespacedNameArgs) ToBackupPlanBackupConfigSelectedApplicationsNamespacedNameOutputWithContext(ctx context.Context) BackupPlanBackupConfigSelectedApplicationsNamespacedNameOutput
- func (i BackupPlanBackupConfigSelectedApplicationsNamespacedNameArgs) ToOutput(ctx context.Context) pulumix.Output[BackupPlanBackupConfigSelectedApplicationsNamespacedName]
- type BackupPlanBackupConfigSelectedApplicationsNamespacedNameArray
- func (BackupPlanBackupConfigSelectedApplicationsNamespacedNameArray) ElementType() reflect.Type
- func (i BackupPlanBackupConfigSelectedApplicationsNamespacedNameArray) ToBackupPlanBackupConfigSelectedApplicationsNamespacedNameArrayOutput() BackupPlanBackupConfigSelectedApplicationsNamespacedNameArrayOutput
- func (i BackupPlanBackupConfigSelectedApplicationsNamespacedNameArray) ToBackupPlanBackupConfigSelectedApplicationsNamespacedNameArrayOutputWithContext(ctx context.Context) BackupPlanBackupConfigSelectedApplicationsNamespacedNameArrayOutput
- func (i BackupPlanBackupConfigSelectedApplicationsNamespacedNameArray) ToOutput(ctx context.Context) pulumix.Output[[]BackupPlanBackupConfigSelectedApplicationsNamespacedName]
- type BackupPlanBackupConfigSelectedApplicationsNamespacedNameArrayInput
- type BackupPlanBackupConfigSelectedApplicationsNamespacedNameArrayOutput
- func (BackupPlanBackupConfigSelectedApplicationsNamespacedNameArrayOutput) ElementType() reflect.Type
- func (o BackupPlanBackupConfigSelectedApplicationsNamespacedNameArrayOutput) Index(i pulumi.IntInput) BackupPlanBackupConfigSelectedApplicationsNamespacedNameOutput
- func (o BackupPlanBackupConfigSelectedApplicationsNamespacedNameArrayOutput) ToBackupPlanBackupConfigSelectedApplicationsNamespacedNameArrayOutput() BackupPlanBackupConfigSelectedApplicationsNamespacedNameArrayOutput
- func (o BackupPlanBackupConfigSelectedApplicationsNamespacedNameArrayOutput) ToBackupPlanBackupConfigSelectedApplicationsNamespacedNameArrayOutputWithContext(ctx context.Context) BackupPlanBackupConfigSelectedApplicationsNamespacedNameArrayOutput
- func (o BackupPlanBackupConfigSelectedApplicationsNamespacedNameArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]BackupPlanBackupConfigSelectedApplicationsNamespacedName]
- type BackupPlanBackupConfigSelectedApplicationsNamespacedNameInput
- type BackupPlanBackupConfigSelectedApplicationsNamespacedNameOutput
- func (BackupPlanBackupConfigSelectedApplicationsNamespacedNameOutput) ElementType() reflect.Type
- func (o BackupPlanBackupConfigSelectedApplicationsNamespacedNameOutput) Name() pulumi.StringOutput
- func (o BackupPlanBackupConfigSelectedApplicationsNamespacedNameOutput) Namespace() pulumi.StringOutput
- func (o BackupPlanBackupConfigSelectedApplicationsNamespacedNameOutput) ToBackupPlanBackupConfigSelectedApplicationsNamespacedNameOutput() BackupPlanBackupConfigSelectedApplicationsNamespacedNameOutput
- func (o BackupPlanBackupConfigSelectedApplicationsNamespacedNameOutput) ToBackupPlanBackupConfigSelectedApplicationsNamespacedNameOutputWithContext(ctx context.Context) BackupPlanBackupConfigSelectedApplicationsNamespacedNameOutput
- func (o BackupPlanBackupConfigSelectedApplicationsNamespacedNameOutput) ToOutput(ctx context.Context) pulumix.Output[BackupPlanBackupConfigSelectedApplicationsNamespacedName]
- type BackupPlanBackupConfigSelectedApplicationsOutput
- func (BackupPlanBackupConfigSelectedApplicationsOutput) ElementType() reflect.Type
- func (o BackupPlanBackupConfigSelectedApplicationsOutput) NamespacedNames() BackupPlanBackupConfigSelectedApplicationsNamespacedNameArrayOutput
- func (o BackupPlanBackupConfigSelectedApplicationsOutput) ToBackupPlanBackupConfigSelectedApplicationsOutput() BackupPlanBackupConfigSelectedApplicationsOutput
- func (o BackupPlanBackupConfigSelectedApplicationsOutput) ToBackupPlanBackupConfigSelectedApplicationsOutputWithContext(ctx context.Context) BackupPlanBackupConfigSelectedApplicationsOutput
- func (o BackupPlanBackupConfigSelectedApplicationsOutput) ToBackupPlanBackupConfigSelectedApplicationsPtrOutput() BackupPlanBackupConfigSelectedApplicationsPtrOutput
- func (o BackupPlanBackupConfigSelectedApplicationsOutput) ToBackupPlanBackupConfigSelectedApplicationsPtrOutputWithContext(ctx context.Context) BackupPlanBackupConfigSelectedApplicationsPtrOutput
- func (o BackupPlanBackupConfigSelectedApplicationsOutput) ToOutput(ctx context.Context) pulumix.Output[BackupPlanBackupConfigSelectedApplications]
- type BackupPlanBackupConfigSelectedApplicationsPtrInput
- type BackupPlanBackupConfigSelectedApplicationsPtrOutput
- func (o BackupPlanBackupConfigSelectedApplicationsPtrOutput) Elem() BackupPlanBackupConfigSelectedApplicationsOutput
- func (BackupPlanBackupConfigSelectedApplicationsPtrOutput) ElementType() reflect.Type
- func (o BackupPlanBackupConfigSelectedApplicationsPtrOutput) NamespacedNames() BackupPlanBackupConfigSelectedApplicationsNamespacedNameArrayOutput
- func (o BackupPlanBackupConfigSelectedApplicationsPtrOutput) ToBackupPlanBackupConfigSelectedApplicationsPtrOutput() BackupPlanBackupConfigSelectedApplicationsPtrOutput
- func (o BackupPlanBackupConfigSelectedApplicationsPtrOutput) ToBackupPlanBackupConfigSelectedApplicationsPtrOutputWithContext(ctx context.Context) BackupPlanBackupConfigSelectedApplicationsPtrOutput
- func (o BackupPlanBackupConfigSelectedApplicationsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BackupPlanBackupConfigSelectedApplications]
- type BackupPlanBackupConfigSelectedNamespaces
- type BackupPlanBackupConfigSelectedNamespacesArgs
- func (BackupPlanBackupConfigSelectedNamespacesArgs) ElementType() reflect.Type
- func (i BackupPlanBackupConfigSelectedNamespacesArgs) ToBackupPlanBackupConfigSelectedNamespacesOutput() BackupPlanBackupConfigSelectedNamespacesOutput
- func (i BackupPlanBackupConfigSelectedNamespacesArgs) ToBackupPlanBackupConfigSelectedNamespacesOutputWithContext(ctx context.Context) BackupPlanBackupConfigSelectedNamespacesOutput
- func (i BackupPlanBackupConfigSelectedNamespacesArgs) ToBackupPlanBackupConfigSelectedNamespacesPtrOutput() BackupPlanBackupConfigSelectedNamespacesPtrOutput
- func (i BackupPlanBackupConfigSelectedNamespacesArgs) ToBackupPlanBackupConfigSelectedNamespacesPtrOutputWithContext(ctx context.Context) BackupPlanBackupConfigSelectedNamespacesPtrOutput
- func (i BackupPlanBackupConfigSelectedNamespacesArgs) ToOutput(ctx context.Context) pulumix.Output[BackupPlanBackupConfigSelectedNamespaces]
- type BackupPlanBackupConfigSelectedNamespacesInput
- type BackupPlanBackupConfigSelectedNamespacesOutput
- func (BackupPlanBackupConfigSelectedNamespacesOutput) ElementType() reflect.Type
- func (o BackupPlanBackupConfigSelectedNamespacesOutput) Namespaces() pulumi.StringArrayOutput
- func (o BackupPlanBackupConfigSelectedNamespacesOutput) ToBackupPlanBackupConfigSelectedNamespacesOutput() BackupPlanBackupConfigSelectedNamespacesOutput
- func (o BackupPlanBackupConfigSelectedNamespacesOutput) ToBackupPlanBackupConfigSelectedNamespacesOutputWithContext(ctx context.Context) BackupPlanBackupConfigSelectedNamespacesOutput
- func (o BackupPlanBackupConfigSelectedNamespacesOutput) ToBackupPlanBackupConfigSelectedNamespacesPtrOutput() BackupPlanBackupConfigSelectedNamespacesPtrOutput
- func (o BackupPlanBackupConfigSelectedNamespacesOutput) ToBackupPlanBackupConfigSelectedNamespacesPtrOutputWithContext(ctx context.Context) BackupPlanBackupConfigSelectedNamespacesPtrOutput
- func (o BackupPlanBackupConfigSelectedNamespacesOutput) ToOutput(ctx context.Context) pulumix.Output[BackupPlanBackupConfigSelectedNamespaces]
- type BackupPlanBackupConfigSelectedNamespacesPtrInput
- type BackupPlanBackupConfigSelectedNamespacesPtrOutput
- func (o BackupPlanBackupConfigSelectedNamespacesPtrOutput) Elem() BackupPlanBackupConfigSelectedNamespacesOutput
- func (BackupPlanBackupConfigSelectedNamespacesPtrOutput) ElementType() reflect.Type
- func (o BackupPlanBackupConfigSelectedNamespacesPtrOutput) Namespaces() pulumi.StringArrayOutput
- func (o BackupPlanBackupConfigSelectedNamespacesPtrOutput) ToBackupPlanBackupConfigSelectedNamespacesPtrOutput() BackupPlanBackupConfigSelectedNamespacesPtrOutput
- func (o BackupPlanBackupConfigSelectedNamespacesPtrOutput) ToBackupPlanBackupConfigSelectedNamespacesPtrOutputWithContext(ctx context.Context) BackupPlanBackupConfigSelectedNamespacesPtrOutput
- func (o BackupPlanBackupConfigSelectedNamespacesPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BackupPlanBackupConfigSelectedNamespaces]
- type BackupPlanBackupSchedule
- type BackupPlanBackupScheduleArgs
- func (BackupPlanBackupScheduleArgs) ElementType() reflect.Type
- func (i BackupPlanBackupScheduleArgs) ToBackupPlanBackupScheduleOutput() BackupPlanBackupScheduleOutput
- func (i BackupPlanBackupScheduleArgs) ToBackupPlanBackupScheduleOutputWithContext(ctx context.Context) BackupPlanBackupScheduleOutput
- func (i BackupPlanBackupScheduleArgs) ToBackupPlanBackupSchedulePtrOutput() BackupPlanBackupSchedulePtrOutput
- func (i BackupPlanBackupScheduleArgs) ToBackupPlanBackupSchedulePtrOutputWithContext(ctx context.Context) BackupPlanBackupSchedulePtrOutput
- func (i BackupPlanBackupScheduleArgs) ToOutput(ctx context.Context) pulumix.Output[BackupPlanBackupSchedule]
- type BackupPlanBackupScheduleInput
- type BackupPlanBackupScheduleOutput
- func (o BackupPlanBackupScheduleOutput) CronSchedule() pulumi.StringPtrOutput
- func (BackupPlanBackupScheduleOutput) ElementType() reflect.Type
- func (o BackupPlanBackupScheduleOutput) Paused() pulumi.BoolPtrOutput
- func (o BackupPlanBackupScheduleOutput) ToBackupPlanBackupScheduleOutput() BackupPlanBackupScheduleOutput
- func (o BackupPlanBackupScheduleOutput) ToBackupPlanBackupScheduleOutputWithContext(ctx context.Context) BackupPlanBackupScheduleOutput
- func (o BackupPlanBackupScheduleOutput) ToBackupPlanBackupSchedulePtrOutput() BackupPlanBackupSchedulePtrOutput
- func (o BackupPlanBackupScheduleOutput) ToBackupPlanBackupSchedulePtrOutputWithContext(ctx context.Context) BackupPlanBackupSchedulePtrOutput
- func (o BackupPlanBackupScheduleOutput) ToOutput(ctx context.Context) pulumix.Output[BackupPlanBackupSchedule]
- type BackupPlanBackupSchedulePtrInput
- type BackupPlanBackupSchedulePtrOutput
- func (o BackupPlanBackupSchedulePtrOutput) CronSchedule() pulumi.StringPtrOutput
- func (o BackupPlanBackupSchedulePtrOutput) Elem() BackupPlanBackupScheduleOutput
- func (BackupPlanBackupSchedulePtrOutput) ElementType() reflect.Type
- func (o BackupPlanBackupSchedulePtrOutput) Paused() pulumi.BoolPtrOutput
- func (o BackupPlanBackupSchedulePtrOutput) ToBackupPlanBackupSchedulePtrOutput() BackupPlanBackupSchedulePtrOutput
- func (o BackupPlanBackupSchedulePtrOutput) ToBackupPlanBackupSchedulePtrOutputWithContext(ctx context.Context) BackupPlanBackupSchedulePtrOutput
- func (o BackupPlanBackupSchedulePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BackupPlanBackupSchedule]
- type BackupPlanIamBinding
- func (*BackupPlanIamBinding) ElementType() reflect.Type
- func (i *BackupPlanIamBinding) ToBackupPlanIamBindingOutput() BackupPlanIamBindingOutput
- func (i *BackupPlanIamBinding) ToBackupPlanIamBindingOutputWithContext(ctx context.Context) BackupPlanIamBindingOutput
- func (i *BackupPlanIamBinding) ToOutput(ctx context.Context) pulumix.Output[*BackupPlanIamBinding]
- type BackupPlanIamBindingArgs
- type BackupPlanIamBindingArray
- func (BackupPlanIamBindingArray) ElementType() reflect.Type
- func (i BackupPlanIamBindingArray) ToBackupPlanIamBindingArrayOutput() BackupPlanIamBindingArrayOutput
- func (i BackupPlanIamBindingArray) ToBackupPlanIamBindingArrayOutputWithContext(ctx context.Context) BackupPlanIamBindingArrayOutput
- func (i BackupPlanIamBindingArray) ToOutput(ctx context.Context) pulumix.Output[[]*BackupPlanIamBinding]
- type BackupPlanIamBindingArrayInput
- type BackupPlanIamBindingArrayOutput
- func (BackupPlanIamBindingArrayOutput) ElementType() reflect.Type
- func (o BackupPlanIamBindingArrayOutput) Index(i pulumi.IntInput) BackupPlanIamBindingOutput
- func (o BackupPlanIamBindingArrayOutput) ToBackupPlanIamBindingArrayOutput() BackupPlanIamBindingArrayOutput
- func (o BackupPlanIamBindingArrayOutput) ToBackupPlanIamBindingArrayOutputWithContext(ctx context.Context) BackupPlanIamBindingArrayOutput
- func (o BackupPlanIamBindingArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*BackupPlanIamBinding]
- type BackupPlanIamBindingCondition
- type BackupPlanIamBindingConditionArgs
- func (BackupPlanIamBindingConditionArgs) ElementType() reflect.Type
- func (i BackupPlanIamBindingConditionArgs) ToBackupPlanIamBindingConditionOutput() BackupPlanIamBindingConditionOutput
- func (i BackupPlanIamBindingConditionArgs) ToBackupPlanIamBindingConditionOutputWithContext(ctx context.Context) BackupPlanIamBindingConditionOutput
- func (i BackupPlanIamBindingConditionArgs) ToBackupPlanIamBindingConditionPtrOutput() BackupPlanIamBindingConditionPtrOutput
- func (i BackupPlanIamBindingConditionArgs) ToBackupPlanIamBindingConditionPtrOutputWithContext(ctx context.Context) BackupPlanIamBindingConditionPtrOutput
- func (i BackupPlanIamBindingConditionArgs) ToOutput(ctx context.Context) pulumix.Output[BackupPlanIamBindingCondition]
- type BackupPlanIamBindingConditionInput
- type BackupPlanIamBindingConditionOutput
- func (o BackupPlanIamBindingConditionOutput) Description() pulumi.StringPtrOutput
- func (BackupPlanIamBindingConditionOutput) ElementType() reflect.Type
- func (o BackupPlanIamBindingConditionOutput) Expression() pulumi.StringOutput
- func (o BackupPlanIamBindingConditionOutput) Title() pulumi.StringOutput
- func (o BackupPlanIamBindingConditionOutput) ToBackupPlanIamBindingConditionOutput() BackupPlanIamBindingConditionOutput
- func (o BackupPlanIamBindingConditionOutput) ToBackupPlanIamBindingConditionOutputWithContext(ctx context.Context) BackupPlanIamBindingConditionOutput
- func (o BackupPlanIamBindingConditionOutput) ToBackupPlanIamBindingConditionPtrOutput() BackupPlanIamBindingConditionPtrOutput
- func (o BackupPlanIamBindingConditionOutput) ToBackupPlanIamBindingConditionPtrOutputWithContext(ctx context.Context) BackupPlanIamBindingConditionPtrOutput
- func (o BackupPlanIamBindingConditionOutput) ToOutput(ctx context.Context) pulumix.Output[BackupPlanIamBindingCondition]
- type BackupPlanIamBindingConditionPtrInput
- type BackupPlanIamBindingConditionPtrOutput
- func (o BackupPlanIamBindingConditionPtrOutput) Description() pulumi.StringPtrOutput
- func (o BackupPlanIamBindingConditionPtrOutput) Elem() BackupPlanIamBindingConditionOutput
- func (BackupPlanIamBindingConditionPtrOutput) ElementType() reflect.Type
- func (o BackupPlanIamBindingConditionPtrOutput) Expression() pulumi.StringPtrOutput
- func (o BackupPlanIamBindingConditionPtrOutput) Title() pulumi.StringPtrOutput
- func (o BackupPlanIamBindingConditionPtrOutput) ToBackupPlanIamBindingConditionPtrOutput() BackupPlanIamBindingConditionPtrOutput
- func (o BackupPlanIamBindingConditionPtrOutput) ToBackupPlanIamBindingConditionPtrOutputWithContext(ctx context.Context) BackupPlanIamBindingConditionPtrOutput
- func (o BackupPlanIamBindingConditionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BackupPlanIamBindingCondition]
- type BackupPlanIamBindingInput
- type BackupPlanIamBindingMap
- func (BackupPlanIamBindingMap) ElementType() reflect.Type
- func (i BackupPlanIamBindingMap) ToBackupPlanIamBindingMapOutput() BackupPlanIamBindingMapOutput
- func (i BackupPlanIamBindingMap) ToBackupPlanIamBindingMapOutputWithContext(ctx context.Context) BackupPlanIamBindingMapOutput
- func (i BackupPlanIamBindingMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*BackupPlanIamBinding]
- type BackupPlanIamBindingMapInput
- type BackupPlanIamBindingMapOutput
- func (BackupPlanIamBindingMapOutput) ElementType() reflect.Type
- func (o BackupPlanIamBindingMapOutput) MapIndex(k pulumi.StringInput) BackupPlanIamBindingOutput
- func (o BackupPlanIamBindingMapOutput) ToBackupPlanIamBindingMapOutput() BackupPlanIamBindingMapOutput
- func (o BackupPlanIamBindingMapOutput) ToBackupPlanIamBindingMapOutputWithContext(ctx context.Context) BackupPlanIamBindingMapOutput
- func (o BackupPlanIamBindingMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*BackupPlanIamBinding]
- type BackupPlanIamBindingOutput
- func (o BackupPlanIamBindingOutput) Condition() BackupPlanIamBindingConditionPtrOutput
- func (BackupPlanIamBindingOutput) ElementType() reflect.Type
- func (o BackupPlanIamBindingOutput) Etag() pulumi.StringOutput
- func (o BackupPlanIamBindingOutput) Location() pulumi.StringOutput
- func (o BackupPlanIamBindingOutput) Members() pulumi.StringArrayOutput
- func (o BackupPlanIamBindingOutput) Name() pulumi.StringOutput
- func (o BackupPlanIamBindingOutput) Project() pulumi.StringOutput
- func (o BackupPlanIamBindingOutput) Role() pulumi.StringOutput
- func (o BackupPlanIamBindingOutput) ToBackupPlanIamBindingOutput() BackupPlanIamBindingOutput
- func (o BackupPlanIamBindingOutput) ToBackupPlanIamBindingOutputWithContext(ctx context.Context) BackupPlanIamBindingOutput
- func (o BackupPlanIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*BackupPlanIamBinding]
- type BackupPlanIamBindingState
- type BackupPlanIamMember
- func (*BackupPlanIamMember) ElementType() reflect.Type
- func (i *BackupPlanIamMember) ToBackupPlanIamMemberOutput() BackupPlanIamMemberOutput
- func (i *BackupPlanIamMember) ToBackupPlanIamMemberOutputWithContext(ctx context.Context) BackupPlanIamMemberOutput
- func (i *BackupPlanIamMember) ToOutput(ctx context.Context) pulumix.Output[*BackupPlanIamMember]
- type BackupPlanIamMemberArgs
- type BackupPlanIamMemberArray
- func (BackupPlanIamMemberArray) ElementType() reflect.Type
- func (i BackupPlanIamMemberArray) ToBackupPlanIamMemberArrayOutput() BackupPlanIamMemberArrayOutput
- func (i BackupPlanIamMemberArray) ToBackupPlanIamMemberArrayOutputWithContext(ctx context.Context) BackupPlanIamMemberArrayOutput
- func (i BackupPlanIamMemberArray) ToOutput(ctx context.Context) pulumix.Output[[]*BackupPlanIamMember]
- type BackupPlanIamMemberArrayInput
- type BackupPlanIamMemberArrayOutput
- func (BackupPlanIamMemberArrayOutput) ElementType() reflect.Type
- func (o BackupPlanIamMemberArrayOutput) Index(i pulumi.IntInput) BackupPlanIamMemberOutput
- func (o BackupPlanIamMemberArrayOutput) ToBackupPlanIamMemberArrayOutput() BackupPlanIamMemberArrayOutput
- func (o BackupPlanIamMemberArrayOutput) ToBackupPlanIamMemberArrayOutputWithContext(ctx context.Context) BackupPlanIamMemberArrayOutput
- func (o BackupPlanIamMemberArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*BackupPlanIamMember]
- type BackupPlanIamMemberCondition
- type BackupPlanIamMemberConditionArgs
- func (BackupPlanIamMemberConditionArgs) ElementType() reflect.Type
- func (i BackupPlanIamMemberConditionArgs) ToBackupPlanIamMemberConditionOutput() BackupPlanIamMemberConditionOutput
- func (i BackupPlanIamMemberConditionArgs) ToBackupPlanIamMemberConditionOutputWithContext(ctx context.Context) BackupPlanIamMemberConditionOutput
- func (i BackupPlanIamMemberConditionArgs) ToBackupPlanIamMemberConditionPtrOutput() BackupPlanIamMemberConditionPtrOutput
- func (i BackupPlanIamMemberConditionArgs) ToBackupPlanIamMemberConditionPtrOutputWithContext(ctx context.Context) BackupPlanIamMemberConditionPtrOutput
- func (i BackupPlanIamMemberConditionArgs) ToOutput(ctx context.Context) pulumix.Output[BackupPlanIamMemberCondition]
- type BackupPlanIamMemberConditionInput
- type BackupPlanIamMemberConditionOutput
- func (o BackupPlanIamMemberConditionOutput) Description() pulumi.StringPtrOutput
- func (BackupPlanIamMemberConditionOutput) ElementType() reflect.Type
- func (o BackupPlanIamMemberConditionOutput) Expression() pulumi.StringOutput
- func (o BackupPlanIamMemberConditionOutput) Title() pulumi.StringOutput
- func (o BackupPlanIamMemberConditionOutput) ToBackupPlanIamMemberConditionOutput() BackupPlanIamMemberConditionOutput
- func (o BackupPlanIamMemberConditionOutput) ToBackupPlanIamMemberConditionOutputWithContext(ctx context.Context) BackupPlanIamMemberConditionOutput
- func (o BackupPlanIamMemberConditionOutput) ToBackupPlanIamMemberConditionPtrOutput() BackupPlanIamMemberConditionPtrOutput
- func (o BackupPlanIamMemberConditionOutput) ToBackupPlanIamMemberConditionPtrOutputWithContext(ctx context.Context) BackupPlanIamMemberConditionPtrOutput
- func (o BackupPlanIamMemberConditionOutput) ToOutput(ctx context.Context) pulumix.Output[BackupPlanIamMemberCondition]
- type BackupPlanIamMemberConditionPtrInput
- type BackupPlanIamMemberConditionPtrOutput
- func (o BackupPlanIamMemberConditionPtrOutput) Description() pulumi.StringPtrOutput
- func (o BackupPlanIamMemberConditionPtrOutput) Elem() BackupPlanIamMemberConditionOutput
- func (BackupPlanIamMemberConditionPtrOutput) ElementType() reflect.Type
- func (o BackupPlanIamMemberConditionPtrOutput) Expression() pulumi.StringPtrOutput
- func (o BackupPlanIamMemberConditionPtrOutput) Title() pulumi.StringPtrOutput
- func (o BackupPlanIamMemberConditionPtrOutput) ToBackupPlanIamMemberConditionPtrOutput() BackupPlanIamMemberConditionPtrOutput
- func (o BackupPlanIamMemberConditionPtrOutput) ToBackupPlanIamMemberConditionPtrOutputWithContext(ctx context.Context) BackupPlanIamMemberConditionPtrOutput
- func (o BackupPlanIamMemberConditionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BackupPlanIamMemberCondition]
- type BackupPlanIamMemberInput
- type BackupPlanIamMemberMap
- func (BackupPlanIamMemberMap) ElementType() reflect.Type
- func (i BackupPlanIamMemberMap) ToBackupPlanIamMemberMapOutput() BackupPlanIamMemberMapOutput
- func (i BackupPlanIamMemberMap) ToBackupPlanIamMemberMapOutputWithContext(ctx context.Context) BackupPlanIamMemberMapOutput
- func (i BackupPlanIamMemberMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*BackupPlanIamMember]
- type BackupPlanIamMemberMapInput
- type BackupPlanIamMemberMapOutput
- func (BackupPlanIamMemberMapOutput) ElementType() reflect.Type
- func (o BackupPlanIamMemberMapOutput) MapIndex(k pulumi.StringInput) BackupPlanIamMemberOutput
- func (o BackupPlanIamMemberMapOutput) ToBackupPlanIamMemberMapOutput() BackupPlanIamMemberMapOutput
- func (o BackupPlanIamMemberMapOutput) ToBackupPlanIamMemberMapOutputWithContext(ctx context.Context) BackupPlanIamMemberMapOutput
- func (o BackupPlanIamMemberMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*BackupPlanIamMember]
- type BackupPlanIamMemberOutput
- func (o BackupPlanIamMemberOutput) Condition() BackupPlanIamMemberConditionPtrOutput
- func (BackupPlanIamMemberOutput) ElementType() reflect.Type
- func (o BackupPlanIamMemberOutput) Etag() pulumi.StringOutput
- func (o BackupPlanIamMemberOutput) Location() pulumi.StringOutput
- func (o BackupPlanIamMemberOutput) Member() pulumi.StringOutput
- func (o BackupPlanIamMemberOutput) Name() pulumi.StringOutput
- func (o BackupPlanIamMemberOutput) Project() pulumi.StringOutput
- func (o BackupPlanIamMemberOutput) Role() pulumi.StringOutput
- func (o BackupPlanIamMemberOutput) ToBackupPlanIamMemberOutput() BackupPlanIamMemberOutput
- func (o BackupPlanIamMemberOutput) ToBackupPlanIamMemberOutputWithContext(ctx context.Context) BackupPlanIamMemberOutput
- func (o BackupPlanIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*BackupPlanIamMember]
- type BackupPlanIamMemberState
- type BackupPlanIamPolicy
- func (*BackupPlanIamPolicy) ElementType() reflect.Type
- func (i *BackupPlanIamPolicy) ToBackupPlanIamPolicyOutput() BackupPlanIamPolicyOutput
- func (i *BackupPlanIamPolicy) ToBackupPlanIamPolicyOutputWithContext(ctx context.Context) BackupPlanIamPolicyOutput
- func (i *BackupPlanIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*BackupPlanIamPolicy]
- type BackupPlanIamPolicyArgs
- type BackupPlanIamPolicyArray
- func (BackupPlanIamPolicyArray) ElementType() reflect.Type
- func (i BackupPlanIamPolicyArray) ToBackupPlanIamPolicyArrayOutput() BackupPlanIamPolicyArrayOutput
- func (i BackupPlanIamPolicyArray) ToBackupPlanIamPolicyArrayOutputWithContext(ctx context.Context) BackupPlanIamPolicyArrayOutput
- func (i BackupPlanIamPolicyArray) ToOutput(ctx context.Context) pulumix.Output[[]*BackupPlanIamPolicy]
- type BackupPlanIamPolicyArrayInput
- type BackupPlanIamPolicyArrayOutput
- func (BackupPlanIamPolicyArrayOutput) ElementType() reflect.Type
- func (o BackupPlanIamPolicyArrayOutput) Index(i pulumi.IntInput) BackupPlanIamPolicyOutput
- func (o BackupPlanIamPolicyArrayOutput) ToBackupPlanIamPolicyArrayOutput() BackupPlanIamPolicyArrayOutput
- func (o BackupPlanIamPolicyArrayOutput) ToBackupPlanIamPolicyArrayOutputWithContext(ctx context.Context) BackupPlanIamPolicyArrayOutput
- func (o BackupPlanIamPolicyArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*BackupPlanIamPolicy]
- type BackupPlanIamPolicyInput
- type BackupPlanIamPolicyMap
- func (BackupPlanIamPolicyMap) ElementType() reflect.Type
- func (i BackupPlanIamPolicyMap) ToBackupPlanIamPolicyMapOutput() BackupPlanIamPolicyMapOutput
- func (i BackupPlanIamPolicyMap) ToBackupPlanIamPolicyMapOutputWithContext(ctx context.Context) BackupPlanIamPolicyMapOutput
- func (i BackupPlanIamPolicyMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*BackupPlanIamPolicy]
- type BackupPlanIamPolicyMapInput
- type BackupPlanIamPolicyMapOutput
- func (BackupPlanIamPolicyMapOutput) ElementType() reflect.Type
- func (o BackupPlanIamPolicyMapOutput) MapIndex(k pulumi.StringInput) BackupPlanIamPolicyOutput
- func (o BackupPlanIamPolicyMapOutput) ToBackupPlanIamPolicyMapOutput() BackupPlanIamPolicyMapOutput
- func (o BackupPlanIamPolicyMapOutput) ToBackupPlanIamPolicyMapOutputWithContext(ctx context.Context) BackupPlanIamPolicyMapOutput
- func (o BackupPlanIamPolicyMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*BackupPlanIamPolicy]
- type BackupPlanIamPolicyOutput
- func (BackupPlanIamPolicyOutput) ElementType() reflect.Type
- func (o BackupPlanIamPolicyOutput) Etag() pulumi.StringOutput
- func (o BackupPlanIamPolicyOutput) Location() pulumi.StringOutput
- func (o BackupPlanIamPolicyOutput) Name() pulumi.StringOutput
- func (o BackupPlanIamPolicyOutput) PolicyData() pulumi.StringOutput
- func (o BackupPlanIamPolicyOutput) Project() pulumi.StringOutput
- func (o BackupPlanIamPolicyOutput) ToBackupPlanIamPolicyOutput() BackupPlanIamPolicyOutput
- func (o BackupPlanIamPolicyOutput) ToBackupPlanIamPolicyOutputWithContext(ctx context.Context) BackupPlanIamPolicyOutput
- func (o BackupPlanIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*BackupPlanIamPolicy]
- type BackupPlanIamPolicyState
- type BackupPlanInput
- type BackupPlanMap
- func (BackupPlanMap) ElementType() reflect.Type
- func (i BackupPlanMap) ToBackupPlanMapOutput() BackupPlanMapOutput
- func (i BackupPlanMap) ToBackupPlanMapOutputWithContext(ctx context.Context) BackupPlanMapOutput
- func (i BackupPlanMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*BackupPlan]
- type BackupPlanMapInput
- type BackupPlanMapOutput
- func (BackupPlanMapOutput) ElementType() reflect.Type
- func (o BackupPlanMapOutput) MapIndex(k pulumi.StringInput) BackupPlanOutput
- func (o BackupPlanMapOutput) ToBackupPlanMapOutput() BackupPlanMapOutput
- func (o BackupPlanMapOutput) ToBackupPlanMapOutputWithContext(ctx context.Context) BackupPlanMapOutput
- func (o BackupPlanMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*BackupPlan]
- type BackupPlanOutput
- func (o BackupPlanOutput) BackupConfig() BackupPlanBackupConfigPtrOutput
- func (o BackupPlanOutput) BackupSchedule() BackupPlanBackupSchedulePtrOutput
- func (o BackupPlanOutput) Cluster() pulumi.StringOutput
- func (o BackupPlanOutput) Deactivated() pulumi.BoolOutput
- func (o BackupPlanOutput) Description() pulumi.StringPtrOutput
- func (o BackupPlanOutput) EffectiveLabels() pulumi.StringMapOutput
- func (BackupPlanOutput) ElementType() reflect.Type
- func (o BackupPlanOutput) Etag() pulumi.StringOutput
- func (o BackupPlanOutput) Labels() pulumi.StringMapOutput
- func (o BackupPlanOutput) Location() pulumi.StringOutput
- func (o BackupPlanOutput) Name() pulumi.StringOutput
- func (o BackupPlanOutput) Project() pulumi.StringOutput
- func (o BackupPlanOutput) ProtectedPodCount() pulumi.IntOutput
- func (o BackupPlanOutput) RetentionPolicy() BackupPlanRetentionPolicyPtrOutput
- func (o BackupPlanOutput) State() pulumi.StringOutput
- func (o BackupPlanOutput) StateReason() pulumi.StringOutput
- func (o BackupPlanOutput) TerraformLabels() pulumi.StringMapOutput
- func (o BackupPlanOutput) ToBackupPlanOutput() BackupPlanOutput
- func (o BackupPlanOutput) ToBackupPlanOutputWithContext(ctx context.Context) BackupPlanOutput
- func (o BackupPlanOutput) ToOutput(ctx context.Context) pulumix.Output[*BackupPlan]
- func (o BackupPlanOutput) Uid() pulumi.StringOutput
- type BackupPlanRetentionPolicy
- type BackupPlanRetentionPolicyArgs
- func (BackupPlanRetentionPolicyArgs) ElementType() reflect.Type
- func (i BackupPlanRetentionPolicyArgs) ToBackupPlanRetentionPolicyOutput() BackupPlanRetentionPolicyOutput
- func (i BackupPlanRetentionPolicyArgs) ToBackupPlanRetentionPolicyOutputWithContext(ctx context.Context) BackupPlanRetentionPolicyOutput
- func (i BackupPlanRetentionPolicyArgs) ToBackupPlanRetentionPolicyPtrOutput() BackupPlanRetentionPolicyPtrOutput
- func (i BackupPlanRetentionPolicyArgs) ToBackupPlanRetentionPolicyPtrOutputWithContext(ctx context.Context) BackupPlanRetentionPolicyPtrOutput
- func (i BackupPlanRetentionPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[BackupPlanRetentionPolicy]
- type BackupPlanRetentionPolicyInput
- type BackupPlanRetentionPolicyOutput
- func (o BackupPlanRetentionPolicyOutput) BackupDeleteLockDays() pulumi.IntPtrOutput
- func (o BackupPlanRetentionPolicyOutput) BackupRetainDays() pulumi.IntPtrOutput
- func (BackupPlanRetentionPolicyOutput) ElementType() reflect.Type
- func (o BackupPlanRetentionPolicyOutput) Locked() pulumi.BoolPtrOutput
- func (o BackupPlanRetentionPolicyOutput) ToBackupPlanRetentionPolicyOutput() BackupPlanRetentionPolicyOutput
- func (o BackupPlanRetentionPolicyOutput) ToBackupPlanRetentionPolicyOutputWithContext(ctx context.Context) BackupPlanRetentionPolicyOutput
- func (o BackupPlanRetentionPolicyOutput) ToBackupPlanRetentionPolicyPtrOutput() BackupPlanRetentionPolicyPtrOutput
- func (o BackupPlanRetentionPolicyOutput) ToBackupPlanRetentionPolicyPtrOutputWithContext(ctx context.Context) BackupPlanRetentionPolicyPtrOutput
- func (o BackupPlanRetentionPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[BackupPlanRetentionPolicy]
- type BackupPlanRetentionPolicyPtrInput
- type BackupPlanRetentionPolicyPtrOutput
- func (o BackupPlanRetentionPolicyPtrOutput) BackupDeleteLockDays() pulumi.IntPtrOutput
- func (o BackupPlanRetentionPolicyPtrOutput) BackupRetainDays() pulumi.IntPtrOutput
- func (o BackupPlanRetentionPolicyPtrOutput) Elem() BackupPlanRetentionPolicyOutput
- func (BackupPlanRetentionPolicyPtrOutput) ElementType() reflect.Type
- func (o BackupPlanRetentionPolicyPtrOutput) Locked() pulumi.BoolPtrOutput
- func (o BackupPlanRetentionPolicyPtrOutput) ToBackupPlanRetentionPolicyPtrOutput() BackupPlanRetentionPolicyPtrOutput
- func (o BackupPlanRetentionPolicyPtrOutput) ToBackupPlanRetentionPolicyPtrOutputWithContext(ctx context.Context) BackupPlanRetentionPolicyPtrOutput
- func (o BackupPlanRetentionPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BackupPlanRetentionPolicy]
- type BackupPlanState
- type LookupBackupPlanIamPolicyArgs
- type LookupBackupPlanIamPolicyOutputArgs
- type LookupBackupPlanIamPolicyResult
- type LookupBackupPlanIamPolicyResultOutput
- func (LookupBackupPlanIamPolicyResultOutput) ElementType() reflect.Type
- func (o LookupBackupPlanIamPolicyResultOutput) Etag() pulumi.StringOutput
- func (o LookupBackupPlanIamPolicyResultOutput) Id() pulumi.StringOutput
- func (o LookupBackupPlanIamPolicyResultOutput) Location() pulumi.StringOutput
- func (o LookupBackupPlanIamPolicyResultOutput) Name() pulumi.StringOutput
- func (o LookupBackupPlanIamPolicyResultOutput) PolicyData() pulumi.StringOutput
- func (o LookupBackupPlanIamPolicyResultOutput) Project() pulumi.StringOutput
- func (o LookupBackupPlanIamPolicyResultOutput) ToLookupBackupPlanIamPolicyResultOutput() LookupBackupPlanIamPolicyResultOutput
- func (o LookupBackupPlanIamPolicyResultOutput) ToLookupBackupPlanIamPolicyResultOutputWithContext(ctx context.Context) LookupBackupPlanIamPolicyResultOutput
- func (o LookupBackupPlanIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupBackupPlanIamPolicyResult]
- type LookupRestorePlanIamPolicyArgs
- type LookupRestorePlanIamPolicyOutputArgs
- type LookupRestorePlanIamPolicyResult
- type LookupRestorePlanIamPolicyResultOutput
- func (LookupRestorePlanIamPolicyResultOutput) ElementType() reflect.Type
- func (o LookupRestorePlanIamPolicyResultOutput) Etag() pulumi.StringOutput
- func (o LookupRestorePlanIamPolicyResultOutput) Id() pulumi.StringOutput
- func (o LookupRestorePlanIamPolicyResultOutput) Location() pulumi.StringOutput
- func (o LookupRestorePlanIamPolicyResultOutput) Name() pulumi.StringOutput
- func (o LookupRestorePlanIamPolicyResultOutput) PolicyData() pulumi.StringOutput
- func (o LookupRestorePlanIamPolicyResultOutput) Project() pulumi.StringOutput
- func (o LookupRestorePlanIamPolicyResultOutput) ToLookupRestorePlanIamPolicyResultOutput() LookupRestorePlanIamPolicyResultOutput
- func (o LookupRestorePlanIamPolicyResultOutput) ToLookupRestorePlanIamPolicyResultOutputWithContext(ctx context.Context) LookupRestorePlanIamPolicyResultOutput
- func (o LookupRestorePlanIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupRestorePlanIamPolicyResult]
- type RestorePlan
- type RestorePlanArgs
- type RestorePlanArray
- func (RestorePlanArray) ElementType() reflect.Type
- func (i RestorePlanArray) ToOutput(ctx context.Context) pulumix.Output[[]*RestorePlan]
- func (i RestorePlanArray) ToRestorePlanArrayOutput() RestorePlanArrayOutput
- func (i RestorePlanArray) ToRestorePlanArrayOutputWithContext(ctx context.Context) RestorePlanArrayOutput
- type RestorePlanArrayInput
- type RestorePlanArrayOutput
- func (RestorePlanArrayOutput) ElementType() reflect.Type
- func (o RestorePlanArrayOutput) Index(i pulumi.IntInput) RestorePlanOutput
- func (o RestorePlanArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*RestorePlan]
- func (o RestorePlanArrayOutput) ToRestorePlanArrayOutput() RestorePlanArrayOutput
- func (o RestorePlanArrayOutput) ToRestorePlanArrayOutputWithContext(ctx context.Context) RestorePlanArrayOutput
- type RestorePlanIamBinding
- func (*RestorePlanIamBinding) ElementType() reflect.Type
- func (i *RestorePlanIamBinding) ToOutput(ctx context.Context) pulumix.Output[*RestorePlanIamBinding]
- func (i *RestorePlanIamBinding) ToRestorePlanIamBindingOutput() RestorePlanIamBindingOutput
- func (i *RestorePlanIamBinding) ToRestorePlanIamBindingOutputWithContext(ctx context.Context) RestorePlanIamBindingOutput
- type RestorePlanIamBindingArgs
- type RestorePlanIamBindingArray
- func (RestorePlanIamBindingArray) ElementType() reflect.Type
- func (i RestorePlanIamBindingArray) ToOutput(ctx context.Context) pulumix.Output[[]*RestorePlanIamBinding]
- func (i RestorePlanIamBindingArray) ToRestorePlanIamBindingArrayOutput() RestorePlanIamBindingArrayOutput
- func (i RestorePlanIamBindingArray) ToRestorePlanIamBindingArrayOutputWithContext(ctx context.Context) RestorePlanIamBindingArrayOutput
- type RestorePlanIamBindingArrayInput
- type RestorePlanIamBindingArrayOutput
- func (RestorePlanIamBindingArrayOutput) ElementType() reflect.Type
- func (o RestorePlanIamBindingArrayOutput) Index(i pulumi.IntInput) RestorePlanIamBindingOutput
- func (o RestorePlanIamBindingArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*RestorePlanIamBinding]
- func (o RestorePlanIamBindingArrayOutput) ToRestorePlanIamBindingArrayOutput() RestorePlanIamBindingArrayOutput
- func (o RestorePlanIamBindingArrayOutput) ToRestorePlanIamBindingArrayOutputWithContext(ctx context.Context) RestorePlanIamBindingArrayOutput
- type RestorePlanIamBindingCondition
- type RestorePlanIamBindingConditionArgs
- func (RestorePlanIamBindingConditionArgs) ElementType() reflect.Type
- func (i RestorePlanIamBindingConditionArgs) ToOutput(ctx context.Context) pulumix.Output[RestorePlanIamBindingCondition]
- func (i RestorePlanIamBindingConditionArgs) ToRestorePlanIamBindingConditionOutput() RestorePlanIamBindingConditionOutput
- func (i RestorePlanIamBindingConditionArgs) ToRestorePlanIamBindingConditionOutputWithContext(ctx context.Context) RestorePlanIamBindingConditionOutput
- func (i RestorePlanIamBindingConditionArgs) ToRestorePlanIamBindingConditionPtrOutput() RestorePlanIamBindingConditionPtrOutput
- func (i RestorePlanIamBindingConditionArgs) ToRestorePlanIamBindingConditionPtrOutputWithContext(ctx context.Context) RestorePlanIamBindingConditionPtrOutput
- type RestorePlanIamBindingConditionInput
- type RestorePlanIamBindingConditionOutput
- func (o RestorePlanIamBindingConditionOutput) Description() pulumi.StringPtrOutput
- func (RestorePlanIamBindingConditionOutput) ElementType() reflect.Type
- func (o RestorePlanIamBindingConditionOutput) Expression() pulumi.StringOutput
- func (o RestorePlanIamBindingConditionOutput) Title() pulumi.StringOutput
- func (o RestorePlanIamBindingConditionOutput) ToOutput(ctx context.Context) pulumix.Output[RestorePlanIamBindingCondition]
- func (o RestorePlanIamBindingConditionOutput) ToRestorePlanIamBindingConditionOutput() RestorePlanIamBindingConditionOutput
- func (o RestorePlanIamBindingConditionOutput) ToRestorePlanIamBindingConditionOutputWithContext(ctx context.Context) RestorePlanIamBindingConditionOutput
- func (o RestorePlanIamBindingConditionOutput) ToRestorePlanIamBindingConditionPtrOutput() RestorePlanIamBindingConditionPtrOutput
- func (o RestorePlanIamBindingConditionOutput) ToRestorePlanIamBindingConditionPtrOutputWithContext(ctx context.Context) RestorePlanIamBindingConditionPtrOutput
- type RestorePlanIamBindingConditionPtrInput
- type RestorePlanIamBindingConditionPtrOutput
- func (o RestorePlanIamBindingConditionPtrOutput) Description() pulumi.StringPtrOutput
- func (o RestorePlanIamBindingConditionPtrOutput) Elem() RestorePlanIamBindingConditionOutput
- func (RestorePlanIamBindingConditionPtrOutput) ElementType() reflect.Type
- func (o RestorePlanIamBindingConditionPtrOutput) Expression() pulumi.StringPtrOutput
- func (o RestorePlanIamBindingConditionPtrOutput) Title() pulumi.StringPtrOutput
- func (o RestorePlanIamBindingConditionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RestorePlanIamBindingCondition]
- func (o RestorePlanIamBindingConditionPtrOutput) ToRestorePlanIamBindingConditionPtrOutput() RestorePlanIamBindingConditionPtrOutput
- func (o RestorePlanIamBindingConditionPtrOutput) ToRestorePlanIamBindingConditionPtrOutputWithContext(ctx context.Context) RestorePlanIamBindingConditionPtrOutput
- type RestorePlanIamBindingInput
- type RestorePlanIamBindingMap
- func (RestorePlanIamBindingMap) ElementType() reflect.Type
- func (i RestorePlanIamBindingMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*RestorePlanIamBinding]
- func (i RestorePlanIamBindingMap) ToRestorePlanIamBindingMapOutput() RestorePlanIamBindingMapOutput
- func (i RestorePlanIamBindingMap) ToRestorePlanIamBindingMapOutputWithContext(ctx context.Context) RestorePlanIamBindingMapOutput
- type RestorePlanIamBindingMapInput
- type RestorePlanIamBindingMapOutput
- func (RestorePlanIamBindingMapOutput) ElementType() reflect.Type
- func (o RestorePlanIamBindingMapOutput) MapIndex(k pulumi.StringInput) RestorePlanIamBindingOutput
- func (o RestorePlanIamBindingMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*RestorePlanIamBinding]
- func (o RestorePlanIamBindingMapOutput) ToRestorePlanIamBindingMapOutput() RestorePlanIamBindingMapOutput
- func (o RestorePlanIamBindingMapOutput) ToRestorePlanIamBindingMapOutputWithContext(ctx context.Context) RestorePlanIamBindingMapOutput
- type RestorePlanIamBindingOutput
- func (o RestorePlanIamBindingOutput) Condition() RestorePlanIamBindingConditionPtrOutput
- func (RestorePlanIamBindingOutput) ElementType() reflect.Type
- func (o RestorePlanIamBindingOutput) Etag() pulumi.StringOutput
- func (o RestorePlanIamBindingOutput) Location() pulumi.StringOutput
- func (o RestorePlanIamBindingOutput) Members() pulumi.StringArrayOutput
- func (o RestorePlanIamBindingOutput) Name() pulumi.StringOutput
- func (o RestorePlanIamBindingOutput) Project() pulumi.StringOutput
- func (o RestorePlanIamBindingOutput) Role() pulumi.StringOutput
- func (o RestorePlanIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*RestorePlanIamBinding]
- func (o RestorePlanIamBindingOutput) ToRestorePlanIamBindingOutput() RestorePlanIamBindingOutput
- func (o RestorePlanIamBindingOutput) ToRestorePlanIamBindingOutputWithContext(ctx context.Context) RestorePlanIamBindingOutput
- type RestorePlanIamBindingState
- type RestorePlanIamMember
- func (*RestorePlanIamMember) ElementType() reflect.Type
- func (i *RestorePlanIamMember) ToOutput(ctx context.Context) pulumix.Output[*RestorePlanIamMember]
- func (i *RestorePlanIamMember) ToRestorePlanIamMemberOutput() RestorePlanIamMemberOutput
- func (i *RestorePlanIamMember) ToRestorePlanIamMemberOutputWithContext(ctx context.Context) RestorePlanIamMemberOutput
- type RestorePlanIamMemberArgs
- type RestorePlanIamMemberArray
- func (RestorePlanIamMemberArray) ElementType() reflect.Type
- func (i RestorePlanIamMemberArray) ToOutput(ctx context.Context) pulumix.Output[[]*RestorePlanIamMember]
- func (i RestorePlanIamMemberArray) ToRestorePlanIamMemberArrayOutput() RestorePlanIamMemberArrayOutput
- func (i RestorePlanIamMemberArray) ToRestorePlanIamMemberArrayOutputWithContext(ctx context.Context) RestorePlanIamMemberArrayOutput
- type RestorePlanIamMemberArrayInput
- type RestorePlanIamMemberArrayOutput
- func (RestorePlanIamMemberArrayOutput) ElementType() reflect.Type
- func (o RestorePlanIamMemberArrayOutput) Index(i pulumi.IntInput) RestorePlanIamMemberOutput
- func (o RestorePlanIamMemberArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*RestorePlanIamMember]
- func (o RestorePlanIamMemberArrayOutput) ToRestorePlanIamMemberArrayOutput() RestorePlanIamMemberArrayOutput
- func (o RestorePlanIamMemberArrayOutput) ToRestorePlanIamMemberArrayOutputWithContext(ctx context.Context) RestorePlanIamMemberArrayOutput
- type RestorePlanIamMemberCondition
- type RestorePlanIamMemberConditionArgs
- func (RestorePlanIamMemberConditionArgs) ElementType() reflect.Type
- func (i RestorePlanIamMemberConditionArgs) ToOutput(ctx context.Context) pulumix.Output[RestorePlanIamMemberCondition]
- func (i RestorePlanIamMemberConditionArgs) ToRestorePlanIamMemberConditionOutput() RestorePlanIamMemberConditionOutput
- func (i RestorePlanIamMemberConditionArgs) ToRestorePlanIamMemberConditionOutputWithContext(ctx context.Context) RestorePlanIamMemberConditionOutput
- func (i RestorePlanIamMemberConditionArgs) ToRestorePlanIamMemberConditionPtrOutput() RestorePlanIamMemberConditionPtrOutput
- func (i RestorePlanIamMemberConditionArgs) ToRestorePlanIamMemberConditionPtrOutputWithContext(ctx context.Context) RestorePlanIamMemberConditionPtrOutput
- type RestorePlanIamMemberConditionInput
- type RestorePlanIamMemberConditionOutput
- func (o RestorePlanIamMemberConditionOutput) Description() pulumi.StringPtrOutput
- func (RestorePlanIamMemberConditionOutput) ElementType() reflect.Type
- func (o RestorePlanIamMemberConditionOutput) Expression() pulumi.StringOutput
- func (o RestorePlanIamMemberConditionOutput) Title() pulumi.StringOutput
- func (o RestorePlanIamMemberConditionOutput) ToOutput(ctx context.Context) pulumix.Output[RestorePlanIamMemberCondition]
- func (o RestorePlanIamMemberConditionOutput) ToRestorePlanIamMemberConditionOutput() RestorePlanIamMemberConditionOutput
- func (o RestorePlanIamMemberConditionOutput) ToRestorePlanIamMemberConditionOutputWithContext(ctx context.Context) RestorePlanIamMemberConditionOutput
- func (o RestorePlanIamMemberConditionOutput) ToRestorePlanIamMemberConditionPtrOutput() RestorePlanIamMemberConditionPtrOutput
- func (o RestorePlanIamMemberConditionOutput) ToRestorePlanIamMemberConditionPtrOutputWithContext(ctx context.Context) RestorePlanIamMemberConditionPtrOutput
- type RestorePlanIamMemberConditionPtrInput
- type RestorePlanIamMemberConditionPtrOutput
- func (o RestorePlanIamMemberConditionPtrOutput) Description() pulumi.StringPtrOutput
- func (o RestorePlanIamMemberConditionPtrOutput) Elem() RestorePlanIamMemberConditionOutput
- func (RestorePlanIamMemberConditionPtrOutput) ElementType() reflect.Type
- func (o RestorePlanIamMemberConditionPtrOutput) Expression() pulumi.StringPtrOutput
- func (o RestorePlanIamMemberConditionPtrOutput) Title() pulumi.StringPtrOutput
- func (o RestorePlanIamMemberConditionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RestorePlanIamMemberCondition]
- func (o RestorePlanIamMemberConditionPtrOutput) ToRestorePlanIamMemberConditionPtrOutput() RestorePlanIamMemberConditionPtrOutput
- func (o RestorePlanIamMemberConditionPtrOutput) ToRestorePlanIamMemberConditionPtrOutputWithContext(ctx context.Context) RestorePlanIamMemberConditionPtrOutput
- type RestorePlanIamMemberInput
- type RestorePlanIamMemberMap
- func (RestorePlanIamMemberMap) ElementType() reflect.Type
- func (i RestorePlanIamMemberMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*RestorePlanIamMember]
- func (i RestorePlanIamMemberMap) ToRestorePlanIamMemberMapOutput() RestorePlanIamMemberMapOutput
- func (i RestorePlanIamMemberMap) ToRestorePlanIamMemberMapOutputWithContext(ctx context.Context) RestorePlanIamMemberMapOutput
- type RestorePlanIamMemberMapInput
- type RestorePlanIamMemberMapOutput
- func (RestorePlanIamMemberMapOutput) ElementType() reflect.Type
- func (o RestorePlanIamMemberMapOutput) MapIndex(k pulumi.StringInput) RestorePlanIamMemberOutput
- func (o RestorePlanIamMemberMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*RestorePlanIamMember]
- func (o RestorePlanIamMemberMapOutput) ToRestorePlanIamMemberMapOutput() RestorePlanIamMemberMapOutput
- func (o RestorePlanIamMemberMapOutput) ToRestorePlanIamMemberMapOutputWithContext(ctx context.Context) RestorePlanIamMemberMapOutput
- type RestorePlanIamMemberOutput
- func (o RestorePlanIamMemberOutput) Condition() RestorePlanIamMemberConditionPtrOutput
- func (RestorePlanIamMemberOutput) ElementType() reflect.Type
- func (o RestorePlanIamMemberOutput) Etag() pulumi.StringOutput
- func (o RestorePlanIamMemberOutput) Location() pulumi.StringOutput
- func (o RestorePlanIamMemberOutput) Member() pulumi.StringOutput
- func (o RestorePlanIamMemberOutput) Name() pulumi.StringOutput
- func (o RestorePlanIamMemberOutput) Project() pulumi.StringOutput
- func (o RestorePlanIamMemberOutput) Role() pulumi.StringOutput
- func (o RestorePlanIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*RestorePlanIamMember]
- func (o RestorePlanIamMemberOutput) ToRestorePlanIamMemberOutput() RestorePlanIamMemberOutput
- func (o RestorePlanIamMemberOutput) ToRestorePlanIamMemberOutputWithContext(ctx context.Context) RestorePlanIamMemberOutput
- type RestorePlanIamMemberState
- type RestorePlanIamPolicy
- func (*RestorePlanIamPolicy) ElementType() reflect.Type
- func (i *RestorePlanIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*RestorePlanIamPolicy]
- func (i *RestorePlanIamPolicy) ToRestorePlanIamPolicyOutput() RestorePlanIamPolicyOutput
- func (i *RestorePlanIamPolicy) ToRestorePlanIamPolicyOutputWithContext(ctx context.Context) RestorePlanIamPolicyOutput
- type RestorePlanIamPolicyArgs
- type RestorePlanIamPolicyArray
- func (RestorePlanIamPolicyArray) ElementType() reflect.Type
- func (i RestorePlanIamPolicyArray) ToOutput(ctx context.Context) pulumix.Output[[]*RestorePlanIamPolicy]
- func (i RestorePlanIamPolicyArray) ToRestorePlanIamPolicyArrayOutput() RestorePlanIamPolicyArrayOutput
- func (i RestorePlanIamPolicyArray) ToRestorePlanIamPolicyArrayOutputWithContext(ctx context.Context) RestorePlanIamPolicyArrayOutput
- type RestorePlanIamPolicyArrayInput
- type RestorePlanIamPolicyArrayOutput
- func (RestorePlanIamPolicyArrayOutput) ElementType() reflect.Type
- func (o RestorePlanIamPolicyArrayOutput) Index(i pulumi.IntInput) RestorePlanIamPolicyOutput
- func (o RestorePlanIamPolicyArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*RestorePlanIamPolicy]
- func (o RestorePlanIamPolicyArrayOutput) ToRestorePlanIamPolicyArrayOutput() RestorePlanIamPolicyArrayOutput
- func (o RestorePlanIamPolicyArrayOutput) ToRestorePlanIamPolicyArrayOutputWithContext(ctx context.Context) RestorePlanIamPolicyArrayOutput
- type RestorePlanIamPolicyInput
- type RestorePlanIamPolicyMap
- func (RestorePlanIamPolicyMap) ElementType() reflect.Type
- func (i RestorePlanIamPolicyMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*RestorePlanIamPolicy]
- func (i RestorePlanIamPolicyMap) ToRestorePlanIamPolicyMapOutput() RestorePlanIamPolicyMapOutput
- func (i RestorePlanIamPolicyMap) ToRestorePlanIamPolicyMapOutputWithContext(ctx context.Context) RestorePlanIamPolicyMapOutput
- type RestorePlanIamPolicyMapInput
- type RestorePlanIamPolicyMapOutput
- func (RestorePlanIamPolicyMapOutput) ElementType() reflect.Type
- func (o RestorePlanIamPolicyMapOutput) MapIndex(k pulumi.StringInput) RestorePlanIamPolicyOutput
- func (o RestorePlanIamPolicyMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*RestorePlanIamPolicy]
- func (o RestorePlanIamPolicyMapOutput) ToRestorePlanIamPolicyMapOutput() RestorePlanIamPolicyMapOutput
- func (o RestorePlanIamPolicyMapOutput) ToRestorePlanIamPolicyMapOutputWithContext(ctx context.Context) RestorePlanIamPolicyMapOutput
- type RestorePlanIamPolicyOutput
- func (RestorePlanIamPolicyOutput) ElementType() reflect.Type
- func (o RestorePlanIamPolicyOutput) Etag() pulumi.StringOutput
- func (o RestorePlanIamPolicyOutput) Location() pulumi.StringOutput
- func (o RestorePlanIamPolicyOutput) Name() pulumi.StringOutput
- func (o RestorePlanIamPolicyOutput) PolicyData() pulumi.StringOutput
- func (o RestorePlanIamPolicyOutput) Project() pulumi.StringOutput
- func (o RestorePlanIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*RestorePlanIamPolicy]
- func (o RestorePlanIamPolicyOutput) ToRestorePlanIamPolicyOutput() RestorePlanIamPolicyOutput
- func (o RestorePlanIamPolicyOutput) ToRestorePlanIamPolicyOutputWithContext(ctx context.Context) RestorePlanIamPolicyOutput
- type RestorePlanIamPolicyState
- type RestorePlanInput
- type RestorePlanMap
- func (RestorePlanMap) ElementType() reflect.Type
- func (i RestorePlanMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*RestorePlan]
- func (i RestorePlanMap) ToRestorePlanMapOutput() RestorePlanMapOutput
- func (i RestorePlanMap) ToRestorePlanMapOutputWithContext(ctx context.Context) RestorePlanMapOutput
- type RestorePlanMapInput
- type RestorePlanMapOutput
- func (RestorePlanMapOutput) ElementType() reflect.Type
- func (o RestorePlanMapOutput) MapIndex(k pulumi.StringInput) RestorePlanOutput
- func (o RestorePlanMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*RestorePlan]
- func (o RestorePlanMapOutput) ToRestorePlanMapOutput() RestorePlanMapOutput
- func (o RestorePlanMapOutput) ToRestorePlanMapOutputWithContext(ctx context.Context) RestorePlanMapOutput
- type RestorePlanOutput
- func (o RestorePlanOutput) BackupPlan() pulumi.StringOutput
- func (o RestorePlanOutput) Cluster() pulumi.StringOutput
- func (o RestorePlanOutput) Description() pulumi.StringPtrOutput
- func (o RestorePlanOutput) EffectiveLabels() pulumi.StringMapOutput
- func (RestorePlanOutput) ElementType() reflect.Type
- func (o RestorePlanOutput) Labels() pulumi.StringMapOutput
- func (o RestorePlanOutput) Location() pulumi.StringOutput
- func (o RestorePlanOutput) Name() pulumi.StringOutput
- func (o RestorePlanOutput) Project() pulumi.StringOutput
- func (o RestorePlanOutput) RestoreConfig() RestorePlanRestoreConfigOutput
- func (o RestorePlanOutput) State() pulumi.StringOutput
- func (o RestorePlanOutput) StateReason() pulumi.StringOutput
- func (o RestorePlanOutput) TerraformLabels() pulumi.StringMapOutput
- func (o RestorePlanOutput) ToOutput(ctx context.Context) pulumix.Output[*RestorePlan]
- func (o RestorePlanOutput) ToRestorePlanOutput() RestorePlanOutput
- func (o RestorePlanOutput) ToRestorePlanOutputWithContext(ctx context.Context) RestorePlanOutput
- func (o RestorePlanOutput) Uid() pulumi.StringOutput
- type RestorePlanRestoreConfig
- type RestorePlanRestoreConfigArgs
- func (RestorePlanRestoreConfigArgs) ElementType() reflect.Type
- func (i RestorePlanRestoreConfigArgs) ToOutput(ctx context.Context) pulumix.Output[RestorePlanRestoreConfig]
- func (i RestorePlanRestoreConfigArgs) ToRestorePlanRestoreConfigOutput() RestorePlanRestoreConfigOutput
- func (i RestorePlanRestoreConfigArgs) ToRestorePlanRestoreConfigOutputWithContext(ctx context.Context) RestorePlanRestoreConfigOutput
- func (i RestorePlanRestoreConfigArgs) ToRestorePlanRestoreConfigPtrOutput() RestorePlanRestoreConfigPtrOutput
- func (i RestorePlanRestoreConfigArgs) ToRestorePlanRestoreConfigPtrOutputWithContext(ctx context.Context) RestorePlanRestoreConfigPtrOutput
- type RestorePlanRestoreConfigClusterResourceRestoreScope
- type RestorePlanRestoreConfigClusterResourceRestoreScopeArgs
- func (RestorePlanRestoreConfigClusterResourceRestoreScopeArgs) ElementType() reflect.Type
- func (i RestorePlanRestoreConfigClusterResourceRestoreScopeArgs) ToOutput(ctx context.Context) pulumix.Output[RestorePlanRestoreConfigClusterResourceRestoreScope]
- func (i RestorePlanRestoreConfigClusterResourceRestoreScopeArgs) ToRestorePlanRestoreConfigClusterResourceRestoreScopeOutput() RestorePlanRestoreConfigClusterResourceRestoreScopeOutput
- func (i RestorePlanRestoreConfigClusterResourceRestoreScopeArgs) ToRestorePlanRestoreConfigClusterResourceRestoreScopeOutputWithContext(ctx context.Context) RestorePlanRestoreConfigClusterResourceRestoreScopeOutput
- func (i RestorePlanRestoreConfigClusterResourceRestoreScopeArgs) ToRestorePlanRestoreConfigClusterResourceRestoreScopePtrOutput() RestorePlanRestoreConfigClusterResourceRestoreScopePtrOutput
- func (i RestorePlanRestoreConfigClusterResourceRestoreScopeArgs) ToRestorePlanRestoreConfigClusterResourceRestoreScopePtrOutputWithContext(ctx context.Context) RestorePlanRestoreConfigClusterResourceRestoreScopePtrOutput
- type RestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKind
- type RestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKindArgs
- func (RestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKindArgs) ElementType() reflect.Type
- func (i RestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKindArgs) ToOutput(ctx context.Context) ...
- func (i RestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKindArgs) ToRestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKindOutput() RestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKindOutput
- func (i RestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKindArgs) ToRestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKindOutputWithContext(ctx context.Context) RestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKindOutput
- type RestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKindArray
- func (RestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKindArray) ElementType() reflect.Type
- func (i RestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKindArray) ToOutput(ctx context.Context) ...
- func (i RestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKindArray) ToRestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKindArrayOutput() ...
- func (i RestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKindArray) ToRestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKindArrayOutputWithContext(ctx context.Context) ...
- type RestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKindArrayInput
- type RestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKindArrayOutput
- func (RestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKindArrayOutput) ElementType() reflect.Type
- func (o RestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKindArrayOutput) Index(i pulumi.IntInput) RestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKindOutput
- func (o RestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKindArrayOutput) ToOutput(ctx context.Context) ...
- func (o RestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKindArrayOutput) ToRestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKindArrayOutput() ...
- func (o RestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKindArrayOutput) ToRestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKindArrayOutputWithContext(ctx context.Context) ...
- type RestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKindInput
- type RestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKindOutput
- func (RestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKindOutput) ElementType() reflect.Type
- func (o RestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKindOutput) ResourceGroup() pulumi.StringPtrOutput
- func (o RestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKindOutput) ResourceKind() pulumi.StringPtrOutput
- func (o RestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKindOutput) ToOutput(ctx context.Context) ...
- func (o RestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKindOutput) ToRestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKindOutput() RestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKindOutput
- func (o RestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKindOutput) ToRestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKindOutputWithContext(ctx context.Context) RestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKindOutput
- type RestorePlanRestoreConfigClusterResourceRestoreScopeInput
- type RestorePlanRestoreConfigClusterResourceRestoreScopeOutput
- func (o RestorePlanRestoreConfigClusterResourceRestoreScopeOutput) AllGroupKinds() pulumi.BoolPtrOutput
- func (RestorePlanRestoreConfigClusterResourceRestoreScopeOutput) ElementType() reflect.Type
- func (o RestorePlanRestoreConfigClusterResourceRestoreScopeOutput) ExcludedGroupKinds() ...
- func (o RestorePlanRestoreConfigClusterResourceRestoreScopeOutput) NoGroupKinds() pulumi.BoolPtrOutput
- func (o RestorePlanRestoreConfigClusterResourceRestoreScopeOutput) SelectedGroupKinds() ...
- func (o RestorePlanRestoreConfigClusterResourceRestoreScopeOutput) ToOutput(ctx context.Context) pulumix.Output[RestorePlanRestoreConfigClusterResourceRestoreScope]
- func (o RestorePlanRestoreConfigClusterResourceRestoreScopeOutput) ToRestorePlanRestoreConfigClusterResourceRestoreScopeOutput() RestorePlanRestoreConfigClusterResourceRestoreScopeOutput
- func (o RestorePlanRestoreConfigClusterResourceRestoreScopeOutput) ToRestorePlanRestoreConfigClusterResourceRestoreScopeOutputWithContext(ctx context.Context) RestorePlanRestoreConfigClusterResourceRestoreScopeOutput
- func (o RestorePlanRestoreConfigClusterResourceRestoreScopeOutput) ToRestorePlanRestoreConfigClusterResourceRestoreScopePtrOutput() RestorePlanRestoreConfigClusterResourceRestoreScopePtrOutput
- func (o RestorePlanRestoreConfigClusterResourceRestoreScopeOutput) ToRestorePlanRestoreConfigClusterResourceRestoreScopePtrOutputWithContext(ctx context.Context) RestorePlanRestoreConfigClusterResourceRestoreScopePtrOutput
- type RestorePlanRestoreConfigClusterResourceRestoreScopePtrInput
- type RestorePlanRestoreConfigClusterResourceRestoreScopePtrOutput
- func (o RestorePlanRestoreConfigClusterResourceRestoreScopePtrOutput) AllGroupKinds() pulumi.BoolPtrOutput
- func (o RestorePlanRestoreConfigClusterResourceRestoreScopePtrOutput) Elem() RestorePlanRestoreConfigClusterResourceRestoreScopeOutput
- func (RestorePlanRestoreConfigClusterResourceRestoreScopePtrOutput) ElementType() reflect.Type
- func (o RestorePlanRestoreConfigClusterResourceRestoreScopePtrOutput) ExcludedGroupKinds() ...
- func (o RestorePlanRestoreConfigClusterResourceRestoreScopePtrOutput) NoGroupKinds() pulumi.BoolPtrOutput
- func (o RestorePlanRestoreConfigClusterResourceRestoreScopePtrOutput) SelectedGroupKinds() ...
- func (o RestorePlanRestoreConfigClusterResourceRestoreScopePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RestorePlanRestoreConfigClusterResourceRestoreScope]
- func (o RestorePlanRestoreConfigClusterResourceRestoreScopePtrOutput) ToRestorePlanRestoreConfigClusterResourceRestoreScopePtrOutput() RestorePlanRestoreConfigClusterResourceRestoreScopePtrOutput
- func (o RestorePlanRestoreConfigClusterResourceRestoreScopePtrOutput) ToRestorePlanRestoreConfigClusterResourceRestoreScopePtrOutputWithContext(ctx context.Context) RestorePlanRestoreConfigClusterResourceRestoreScopePtrOutput
- type RestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKind
- type RestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindArgs
- func (RestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindArgs) ElementType() reflect.Type
- func (i RestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindArgs) ToOutput(ctx context.Context) ...
- func (i RestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindArgs) ToRestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindOutput() RestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindOutput
- func (i RestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindArgs) ToRestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindOutputWithContext(ctx context.Context) RestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindOutput
- type RestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindArray
- func (RestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindArray) ElementType() reflect.Type
- func (i RestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindArray) ToOutput(ctx context.Context) ...
- func (i RestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindArray) ToRestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindArrayOutput() ...
- func (i RestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindArray) ToRestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindArrayOutputWithContext(ctx context.Context) ...
- type RestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindArrayInput
- type RestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindArrayOutput
- func (RestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindArrayOutput) ElementType() reflect.Type
- func (o RestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindArrayOutput) Index(i pulumi.IntInput) RestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindOutput
- func (o RestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindArrayOutput) ToOutput(ctx context.Context) ...
- func (o RestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindArrayOutput) ToRestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindArrayOutput() ...
- func (o RestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindArrayOutput) ToRestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindArrayOutputWithContext(ctx context.Context) ...
- type RestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindInput
- type RestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindOutput
- func (RestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindOutput) ElementType() reflect.Type
- func (o RestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindOutput) ResourceGroup() pulumi.StringPtrOutput
- func (o RestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindOutput) ResourceKind() pulumi.StringPtrOutput
- func (o RestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindOutput) ToOutput(ctx context.Context) ...
- func (o RestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindOutput) ToRestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindOutput() RestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindOutput
- func (o RestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindOutput) ToRestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindOutputWithContext(ctx context.Context) RestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindOutput
- type RestorePlanRestoreConfigExcludedNamespaces
- type RestorePlanRestoreConfigExcludedNamespacesArgs
- func (RestorePlanRestoreConfigExcludedNamespacesArgs) ElementType() reflect.Type
- func (i RestorePlanRestoreConfigExcludedNamespacesArgs) ToOutput(ctx context.Context) pulumix.Output[RestorePlanRestoreConfigExcludedNamespaces]
- func (i RestorePlanRestoreConfigExcludedNamespacesArgs) ToRestorePlanRestoreConfigExcludedNamespacesOutput() RestorePlanRestoreConfigExcludedNamespacesOutput
- func (i RestorePlanRestoreConfigExcludedNamespacesArgs) ToRestorePlanRestoreConfigExcludedNamespacesOutputWithContext(ctx context.Context) RestorePlanRestoreConfigExcludedNamespacesOutput
- func (i RestorePlanRestoreConfigExcludedNamespacesArgs) ToRestorePlanRestoreConfigExcludedNamespacesPtrOutput() RestorePlanRestoreConfigExcludedNamespacesPtrOutput
- func (i RestorePlanRestoreConfigExcludedNamespacesArgs) ToRestorePlanRestoreConfigExcludedNamespacesPtrOutputWithContext(ctx context.Context) RestorePlanRestoreConfigExcludedNamespacesPtrOutput
- type RestorePlanRestoreConfigExcludedNamespacesInput
- type RestorePlanRestoreConfigExcludedNamespacesOutput
- func (RestorePlanRestoreConfigExcludedNamespacesOutput) ElementType() reflect.Type
- func (o RestorePlanRestoreConfigExcludedNamespacesOutput) Namespaces() pulumi.StringArrayOutput
- func (o RestorePlanRestoreConfigExcludedNamespacesOutput) ToOutput(ctx context.Context) pulumix.Output[RestorePlanRestoreConfigExcludedNamespaces]
- func (o RestorePlanRestoreConfigExcludedNamespacesOutput) ToRestorePlanRestoreConfigExcludedNamespacesOutput() RestorePlanRestoreConfigExcludedNamespacesOutput
- func (o RestorePlanRestoreConfigExcludedNamespacesOutput) ToRestorePlanRestoreConfigExcludedNamespacesOutputWithContext(ctx context.Context) RestorePlanRestoreConfigExcludedNamespacesOutput
- func (o RestorePlanRestoreConfigExcludedNamespacesOutput) ToRestorePlanRestoreConfigExcludedNamespacesPtrOutput() RestorePlanRestoreConfigExcludedNamespacesPtrOutput
- func (o RestorePlanRestoreConfigExcludedNamespacesOutput) ToRestorePlanRestoreConfigExcludedNamespacesPtrOutputWithContext(ctx context.Context) RestorePlanRestoreConfigExcludedNamespacesPtrOutput
- type RestorePlanRestoreConfigExcludedNamespacesPtrInput
- type RestorePlanRestoreConfigExcludedNamespacesPtrOutput
- func (o RestorePlanRestoreConfigExcludedNamespacesPtrOutput) Elem() RestorePlanRestoreConfigExcludedNamespacesOutput
- func (RestorePlanRestoreConfigExcludedNamespacesPtrOutput) ElementType() reflect.Type
- func (o RestorePlanRestoreConfigExcludedNamespacesPtrOutput) Namespaces() pulumi.StringArrayOutput
- func (o RestorePlanRestoreConfigExcludedNamespacesPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RestorePlanRestoreConfigExcludedNamespaces]
- func (o RestorePlanRestoreConfigExcludedNamespacesPtrOutput) ToRestorePlanRestoreConfigExcludedNamespacesPtrOutput() RestorePlanRestoreConfigExcludedNamespacesPtrOutput
- func (o RestorePlanRestoreConfigExcludedNamespacesPtrOutput) ToRestorePlanRestoreConfigExcludedNamespacesPtrOutputWithContext(ctx context.Context) RestorePlanRestoreConfigExcludedNamespacesPtrOutput
- type RestorePlanRestoreConfigInput
- type RestorePlanRestoreConfigOutput
- func (o RestorePlanRestoreConfigOutput) AllNamespaces() pulumi.BoolPtrOutput
- func (o RestorePlanRestoreConfigOutput) ClusterResourceConflictPolicy() pulumi.StringPtrOutput
- func (o RestorePlanRestoreConfigOutput) ClusterResourceRestoreScope() RestorePlanRestoreConfigClusterResourceRestoreScopePtrOutput
- func (RestorePlanRestoreConfigOutput) ElementType() reflect.Type
- func (o RestorePlanRestoreConfigOutput) ExcludedNamespaces() RestorePlanRestoreConfigExcludedNamespacesPtrOutput
- func (o RestorePlanRestoreConfigOutput) NamespacedResourceRestoreMode() pulumi.StringPtrOutput
- func (o RestorePlanRestoreConfigOutput) NoNamespaces() pulumi.BoolPtrOutput
- func (o RestorePlanRestoreConfigOutput) SelectedApplications() RestorePlanRestoreConfigSelectedApplicationsPtrOutput
- func (o RestorePlanRestoreConfigOutput) SelectedNamespaces() RestorePlanRestoreConfigSelectedNamespacesPtrOutput
- func (o RestorePlanRestoreConfigOutput) ToOutput(ctx context.Context) pulumix.Output[RestorePlanRestoreConfig]
- func (o RestorePlanRestoreConfigOutput) ToRestorePlanRestoreConfigOutput() RestorePlanRestoreConfigOutput
- func (o RestorePlanRestoreConfigOutput) ToRestorePlanRestoreConfigOutputWithContext(ctx context.Context) RestorePlanRestoreConfigOutput
- func (o RestorePlanRestoreConfigOutput) ToRestorePlanRestoreConfigPtrOutput() RestorePlanRestoreConfigPtrOutput
- func (o RestorePlanRestoreConfigOutput) ToRestorePlanRestoreConfigPtrOutputWithContext(ctx context.Context) RestorePlanRestoreConfigPtrOutput
- func (o RestorePlanRestoreConfigOutput) TransformationRules() RestorePlanRestoreConfigTransformationRuleArrayOutput
- func (o RestorePlanRestoreConfigOutput) VolumeDataRestorePolicy() pulumi.StringPtrOutput
- type RestorePlanRestoreConfigPtrInput
- type RestorePlanRestoreConfigPtrOutput
- func (o RestorePlanRestoreConfigPtrOutput) AllNamespaces() pulumi.BoolPtrOutput
- func (o RestorePlanRestoreConfigPtrOutput) ClusterResourceConflictPolicy() pulumi.StringPtrOutput
- func (o RestorePlanRestoreConfigPtrOutput) ClusterResourceRestoreScope() RestorePlanRestoreConfigClusterResourceRestoreScopePtrOutput
- func (o RestorePlanRestoreConfigPtrOutput) Elem() RestorePlanRestoreConfigOutput
- func (RestorePlanRestoreConfigPtrOutput) ElementType() reflect.Type
- func (o RestorePlanRestoreConfigPtrOutput) ExcludedNamespaces() RestorePlanRestoreConfigExcludedNamespacesPtrOutput
- func (o RestorePlanRestoreConfigPtrOutput) NamespacedResourceRestoreMode() pulumi.StringPtrOutput
- func (o RestorePlanRestoreConfigPtrOutput) NoNamespaces() pulumi.BoolPtrOutput
- func (o RestorePlanRestoreConfigPtrOutput) SelectedApplications() RestorePlanRestoreConfigSelectedApplicationsPtrOutput
- func (o RestorePlanRestoreConfigPtrOutput) SelectedNamespaces() RestorePlanRestoreConfigSelectedNamespacesPtrOutput
- func (o RestorePlanRestoreConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RestorePlanRestoreConfig]
- func (o RestorePlanRestoreConfigPtrOutput) ToRestorePlanRestoreConfigPtrOutput() RestorePlanRestoreConfigPtrOutput
- func (o RestorePlanRestoreConfigPtrOutput) ToRestorePlanRestoreConfigPtrOutputWithContext(ctx context.Context) RestorePlanRestoreConfigPtrOutput
- func (o RestorePlanRestoreConfigPtrOutput) TransformationRules() RestorePlanRestoreConfigTransformationRuleArrayOutput
- func (o RestorePlanRestoreConfigPtrOutput) VolumeDataRestorePolicy() pulumi.StringPtrOutput
- type RestorePlanRestoreConfigSelectedApplications
- type RestorePlanRestoreConfigSelectedApplicationsArgs
- func (RestorePlanRestoreConfigSelectedApplicationsArgs) ElementType() reflect.Type
- func (i RestorePlanRestoreConfigSelectedApplicationsArgs) ToOutput(ctx context.Context) pulumix.Output[RestorePlanRestoreConfigSelectedApplications]
- func (i RestorePlanRestoreConfigSelectedApplicationsArgs) ToRestorePlanRestoreConfigSelectedApplicationsOutput() RestorePlanRestoreConfigSelectedApplicationsOutput
- func (i RestorePlanRestoreConfigSelectedApplicationsArgs) ToRestorePlanRestoreConfigSelectedApplicationsOutputWithContext(ctx context.Context) RestorePlanRestoreConfigSelectedApplicationsOutput
- func (i RestorePlanRestoreConfigSelectedApplicationsArgs) ToRestorePlanRestoreConfigSelectedApplicationsPtrOutput() RestorePlanRestoreConfigSelectedApplicationsPtrOutput
- func (i RestorePlanRestoreConfigSelectedApplicationsArgs) ToRestorePlanRestoreConfigSelectedApplicationsPtrOutputWithContext(ctx context.Context) RestorePlanRestoreConfigSelectedApplicationsPtrOutput
- type RestorePlanRestoreConfigSelectedApplicationsInput
- type RestorePlanRestoreConfigSelectedApplicationsNamespacedName
- type RestorePlanRestoreConfigSelectedApplicationsNamespacedNameArgs
- func (RestorePlanRestoreConfigSelectedApplicationsNamespacedNameArgs) ElementType() reflect.Type
- func (i RestorePlanRestoreConfigSelectedApplicationsNamespacedNameArgs) ToOutput(ctx context.Context) pulumix.Output[RestorePlanRestoreConfigSelectedApplicationsNamespacedName]
- func (i RestorePlanRestoreConfigSelectedApplicationsNamespacedNameArgs) ToRestorePlanRestoreConfigSelectedApplicationsNamespacedNameOutput() RestorePlanRestoreConfigSelectedApplicationsNamespacedNameOutput
- func (i RestorePlanRestoreConfigSelectedApplicationsNamespacedNameArgs) ToRestorePlanRestoreConfigSelectedApplicationsNamespacedNameOutputWithContext(ctx context.Context) RestorePlanRestoreConfigSelectedApplicationsNamespacedNameOutput
- type RestorePlanRestoreConfigSelectedApplicationsNamespacedNameArray
- func (RestorePlanRestoreConfigSelectedApplicationsNamespacedNameArray) ElementType() reflect.Type
- func (i RestorePlanRestoreConfigSelectedApplicationsNamespacedNameArray) ToOutput(ctx context.Context) pulumix.Output[[]RestorePlanRestoreConfigSelectedApplicationsNamespacedName]
- func (i RestorePlanRestoreConfigSelectedApplicationsNamespacedNameArray) ToRestorePlanRestoreConfigSelectedApplicationsNamespacedNameArrayOutput() RestorePlanRestoreConfigSelectedApplicationsNamespacedNameArrayOutput
- func (i RestorePlanRestoreConfigSelectedApplicationsNamespacedNameArray) ToRestorePlanRestoreConfigSelectedApplicationsNamespacedNameArrayOutputWithContext(ctx context.Context) RestorePlanRestoreConfigSelectedApplicationsNamespacedNameArrayOutput
- type RestorePlanRestoreConfigSelectedApplicationsNamespacedNameArrayInput
- type RestorePlanRestoreConfigSelectedApplicationsNamespacedNameArrayOutput
- func (RestorePlanRestoreConfigSelectedApplicationsNamespacedNameArrayOutput) ElementType() reflect.Type
- func (o RestorePlanRestoreConfigSelectedApplicationsNamespacedNameArrayOutput) Index(i pulumi.IntInput) RestorePlanRestoreConfigSelectedApplicationsNamespacedNameOutput
- func (o RestorePlanRestoreConfigSelectedApplicationsNamespacedNameArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RestorePlanRestoreConfigSelectedApplicationsNamespacedName]
- func (o RestorePlanRestoreConfigSelectedApplicationsNamespacedNameArrayOutput) ToRestorePlanRestoreConfigSelectedApplicationsNamespacedNameArrayOutput() RestorePlanRestoreConfigSelectedApplicationsNamespacedNameArrayOutput
- func (o RestorePlanRestoreConfigSelectedApplicationsNamespacedNameArrayOutput) ToRestorePlanRestoreConfigSelectedApplicationsNamespacedNameArrayOutputWithContext(ctx context.Context) RestorePlanRestoreConfigSelectedApplicationsNamespacedNameArrayOutput
- type RestorePlanRestoreConfigSelectedApplicationsNamespacedNameInput
- type RestorePlanRestoreConfigSelectedApplicationsNamespacedNameOutput
- func (RestorePlanRestoreConfigSelectedApplicationsNamespacedNameOutput) ElementType() reflect.Type
- func (o RestorePlanRestoreConfigSelectedApplicationsNamespacedNameOutput) Name() pulumi.StringOutput
- func (o RestorePlanRestoreConfigSelectedApplicationsNamespacedNameOutput) Namespace() pulumi.StringOutput
- func (o RestorePlanRestoreConfigSelectedApplicationsNamespacedNameOutput) ToOutput(ctx context.Context) pulumix.Output[RestorePlanRestoreConfigSelectedApplicationsNamespacedName]
- func (o RestorePlanRestoreConfigSelectedApplicationsNamespacedNameOutput) ToRestorePlanRestoreConfigSelectedApplicationsNamespacedNameOutput() RestorePlanRestoreConfigSelectedApplicationsNamespacedNameOutput
- func (o RestorePlanRestoreConfigSelectedApplicationsNamespacedNameOutput) ToRestorePlanRestoreConfigSelectedApplicationsNamespacedNameOutputWithContext(ctx context.Context) RestorePlanRestoreConfigSelectedApplicationsNamespacedNameOutput
- type RestorePlanRestoreConfigSelectedApplicationsOutput
- func (RestorePlanRestoreConfigSelectedApplicationsOutput) ElementType() reflect.Type
- func (o RestorePlanRestoreConfigSelectedApplicationsOutput) NamespacedNames() RestorePlanRestoreConfigSelectedApplicationsNamespacedNameArrayOutput
- func (o RestorePlanRestoreConfigSelectedApplicationsOutput) ToOutput(ctx context.Context) pulumix.Output[RestorePlanRestoreConfigSelectedApplications]
- func (o RestorePlanRestoreConfigSelectedApplicationsOutput) ToRestorePlanRestoreConfigSelectedApplicationsOutput() RestorePlanRestoreConfigSelectedApplicationsOutput
- func (o RestorePlanRestoreConfigSelectedApplicationsOutput) ToRestorePlanRestoreConfigSelectedApplicationsOutputWithContext(ctx context.Context) RestorePlanRestoreConfigSelectedApplicationsOutput
- func (o RestorePlanRestoreConfigSelectedApplicationsOutput) ToRestorePlanRestoreConfigSelectedApplicationsPtrOutput() RestorePlanRestoreConfigSelectedApplicationsPtrOutput
- func (o RestorePlanRestoreConfigSelectedApplicationsOutput) ToRestorePlanRestoreConfigSelectedApplicationsPtrOutputWithContext(ctx context.Context) RestorePlanRestoreConfigSelectedApplicationsPtrOutput
- type RestorePlanRestoreConfigSelectedApplicationsPtrInput
- type RestorePlanRestoreConfigSelectedApplicationsPtrOutput
- func (o RestorePlanRestoreConfigSelectedApplicationsPtrOutput) Elem() RestorePlanRestoreConfigSelectedApplicationsOutput
- func (RestorePlanRestoreConfigSelectedApplicationsPtrOutput) ElementType() reflect.Type
- func (o RestorePlanRestoreConfigSelectedApplicationsPtrOutput) NamespacedNames() RestorePlanRestoreConfigSelectedApplicationsNamespacedNameArrayOutput
- func (o RestorePlanRestoreConfigSelectedApplicationsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RestorePlanRestoreConfigSelectedApplications]
- func (o RestorePlanRestoreConfigSelectedApplicationsPtrOutput) ToRestorePlanRestoreConfigSelectedApplicationsPtrOutput() RestorePlanRestoreConfigSelectedApplicationsPtrOutput
- func (o RestorePlanRestoreConfigSelectedApplicationsPtrOutput) ToRestorePlanRestoreConfigSelectedApplicationsPtrOutputWithContext(ctx context.Context) RestorePlanRestoreConfigSelectedApplicationsPtrOutput
- type RestorePlanRestoreConfigSelectedNamespaces
- type RestorePlanRestoreConfigSelectedNamespacesArgs
- func (RestorePlanRestoreConfigSelectedNamespacesArgs) ElementType() reflect.Type
- func (i RestorePlanRestoreConfigSelectedNamespacesArgs) ToOutput(ctx context.Context) pulumix.Output[RestorePlanRestoreConfigSelectedNamespaces]
- func (i RestorePlanRestoreConfigSelectedNamespacesArgs) ToRestorePlanRestoreConfigSelectedNamespacesOutput() RestorePlanRestoreConfigSelectedNamespacesOutput
- func (i RestorePlanRestoreConfigSelectedNamespacesArgs) ToRestorePlanRestoreConfigSelectedNamespacesOutputWithContext(ctx context.Context) RestorePlanRestoreConfigSelectedNamespacesOutput
- func (i RestorePlanRestoreConfigSelectedNamespacesArgs) ToRestorePlanRestoreConfigSelectedNamespacesPtrOutput() RestorePlanRestoreConfigSelectedNamespacesPtrOutput
- func (i RestorePlanRestoreConfigSelectedNamespacesArgs) ToRestorePlanRestoreConfigSelectedNamespacesPtrOutputWithContext(ctx context.Context) RestorePlanRestoreConfigSelectedNamespacesPtrOutput
- type RestorePlanRestoreConfigSelectedNamespacesInput
- type RestorePlanRestoreConfigSelectedNamespacesOutput
- func (RestorePlanRestoreConfigSelectedNamespacesOutput) ElementType() reflect.Type
- func (o RestorePlanRestoreConfigSelectedNamespacesOutput) Namespaces() pulumi.StringArrayOutput
- func (o RestorePlanRestoreConfigSelectedNamespacesOutput) ToOutput(ctx context.Context) pulumix.Output[RestorePlanRestoreConfigSelectedNamespaces]
- func (o RestorePlanRestoreConfigSelectedNamespacesOutput) ToRestorePlanRestoreConfigSelectedNamespacesOutput() RestorePlanRestoreConfigSelectedNamespacesOutput
- func (o RestorePlanRestoreConfigSelectedNamespacesOutput) ToRestorePlanRestoreConfigSelectedNamespacesOutputWithContext(ctx context.Context) RestorePlanRestoreConfigSelectedNamespacesOutput
- func (o RestorePlanRestoreConfigSelectedNamespacesOutput) ToRestorePlanRestoreConfigSelectedNamespacesPtrOutput() RestorePlanRestoreConfigSelectedNamespacesPtrOutput
- func (o RestorePlanRestoreConfigSelectedNamespacesOutput) ToRestorePlanRestoreConfigSelectedNamespacesPtrOutputWithContext(ctx context.Context) RestorePlanRestoreConfigSelectedNamespacesPtrOutput
- type RestorePlanRestoreConfigSelectedNamespacesPtrInput
- type RestorePlanRestoreConfigSelectedNamespacesPtrOutput
- func (o RestorePlanRestoreConfigSelectedNamespacesPtrOutput) Elem() RestorePlanRestoreConfigSelectedNamespacesOutput
- func (RestorePlanRestoreConfigSelectedNamespacesPtrOutput) ElementType() reflect.Type
- func (o RestorePlanRestoreConfigSelectedNamespacesPtrOutput) Namespaces() pulumi.StringArrayOutput
- func (o RestorePlanRestoreConfigSelectedNamespacesPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RestorePlanRestoreConfigSelectedNamespaces]
- func (o RestorePlanRestoreConfigSelectedNamespacesPtrOutput) ToRestorePlanRestoreConfigSelectedNamespacesPtrOutput() RestorePlanRestoreConfigSelectedNamespacesPtrOutput
- func (o RestorePlanRestoreConfigSelectedNamespacesPtrOutput) ToRestorePlanRestoreConfigSelectedNamespacesPtrOutputWithContext(ctx context.Context) RestorePlanRestoreConfigSelectedNamespacesPtrOutput
- type RestorePlanRestoreConfigTransformationRule
- type RestorePlanRestoreConfigTransformationRuleArgs
- func (RestorePlanRestoreConfigTransformationRuleArgs) ElementType() reflect.Type
- func (i RestorePlanRestoreConfigTransformationRuleArgs) ToOutput(ctx context.Context) pulumix.Output[RestorePlanRestoreConfigTransformationRule]
- func (i RestorePlanRestoreConfigTransformationRuleArgs) ToRestorePlanRestoreConfigTransformationRuleOutput() RestorePlanRestoreConfigTransformationRuleOutput
- func (i RestorePlanRestoreConfigTransformationRuleArgs) ToRestorePlanRestoreConfigTransformationRuleOutputWithContext(ctx context.Context) RestorePlanRestoreConfigTransformationRuleOutput
- type RestorePlanRestoreConfigTransformationRuleArray
- func (RestorePlanRestoreConfigTransformationRuleArray) ElementType() reflect.Type
- func (i RestorePlanRestoreConfigTransformationRuleArray) ToOutput(ctx context.Context) pulumix.Output[[]RestorePlanRestoreConfigTransformationRule]
- func (i RestorePlanRestoreConfigTransformationRuleArray) ToRestorePlanRestoreConfigTransformationRuleArrayOutput() RestorePlanRestoreConfigTransformationRuleArrayOutput
- func (i RestorePlanRestoreConfigTransformationRuleArray) ToRestorePlanRestoreConfigTransformationRuleArrayOutputWithContext(ctx context.Context) RestorePlanRestoreConfigTransformationRuleArrayOutput
- type RestorePlanRestoreConfigTransformationRuleArrayInput
- type RestorePlanRestoreConfigTransformationRuleArrayOutput
- func (RestorePlanRestoreConfigTransformationRuleArrayOutput) ElementType() reflect.Type
- func (o RestorePlanRestoreConfigTransformationRuleArrayOutput) Index(i pulumi.IntInput) RestorePlanRestoreConfigTransformationRuleOutput
- func (o RestorePlanRestoreConfigTransformationRuleArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RestorePlanRestoreConfigTransformationRule]
- func (o RestorePlanRestoreConfigTransformationRuleArrayOutput) ToRestorePlanRestoreConfigTransformationRuleArrayOutput() RestorePlanRestoreConfigTransformationRuleArrayOutput
- func (o RestorePlanRestoreConfigTransformationRuleArrayOutput) ToRestorePlanRestoreConfigTransformationRuleArrayOutputWithContext(ctx context.Context) RestorePlanRestoreConfigTransformationRuleArrayOutput
- type RestorePlanRestoreConfigTransformationRuleFieldAction
- type RestorePlanRestoreConfigTransformationRuleFieldActionArgs
- func (RestorePlanRestoreConfigTransformationRuleFieldActionArgs) ElementType() reflect.Type
- func (i RestorePlanRestoreConfigTransformationRuleFieldActionArgs) ToOutput(ctx context.Context) pulumix.Output[RestorePlanRestoreConfigTransformationRuleFieldAction]
- func (i RestorePlanRestoreConfigTransformationRuleFieldActionArgs) ToRestorePlanRestoreConfigTransformationRuleFieldActionOutput() RestorePlanRestoreConfigTransformationRuleFieldActionOutput
- func (i RestorePlanRestoreConfigTransformationRuleFieldActionArgs) ToRestorePlanRestoreConfigTransformationRuleFieldActionOutputWithContext(ctx context.Context) RestorePlanRestoreConfigTransformationRuleFieldActionOutput
- type RestorePlanRestoreConfigTransformationRuleFieldActionArray
- func (RestorePlanRestoreConfigTransformationRuleFieldActionArray) ElementType() reflect.Type
- func (i RestorePlanRestoreConfigTransformationRuleFieldActionArray) ToOutput(ctx context.Context) pulumix.Output[[]RestorePlanRestoreConfigTransformationRuleFieldAction]
- func (i RestorePlanRestoreConfigTransformationRuleFieldActionArray) ToRestorePlanRestoreConfigTransformationRuleFieldActionArrayOutput() RestorePlanRestoreConfigTransformationRuleFieldActionArrayOutput
- func (i RestorePlanRestoreConfigTransformationRuleFieldActionArray) ToRestorePlanRestoreConfigTransformationRuleFieldActionArrayOutputWithContext(ctx context.Context) RestorePlanRestoreConfigTransformationRuleFieldActionArrayOutput
- type RestorePlanRestoreConfigTransformationRuleFieldActionArrayInput
- type RestorePlanRestoreConfigTransformationRuleFieldActionArrayOutput
- func (RestorePlanRestoreConfigTransformationRuleFieldActionArrayOutput) ElementType() reflect.Type
- func (o RestorePlanRestoreConfigTransformationRuleFieldActionArrayOutput) Index(i pulumi.IntInput) RestorePlanRestoreConfigTransformationRuleFieldActionOutput
- func (o RestorePlanRestoreConfigTransformationRuleFieldActionArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RestorePlanRestoreConfigTransformationRuleFieldAction]
- func (o RestorePlanRestoreConfigTransformationRuleFieldActionArrayOutput) ToRestorePlanRestoreConfigTransformationRuleFieldActionArrayOutput() RestorePlanRestoreConfigTransformationRuleFieldActionArrayOutput
- func (o RestorePlanRestoreConfigTransformationRuleFieldActionArrayOutput) ToRestorePlanRestoreConfigTransformationRuleFieldActionArrayOutputWithContext(ctx context.Context) RestorePlanRestoreConfigTransformationRuleFieldActionArrayOutput
- type RestorePlanRestoreConfigTransformationRuleFieldActionInput
- type RestorePlanRestoreConfigTransformationRuleFieldActionOutput
- func (RestorePlanRestoreConfigTransformationRuleFieldActionOutput) ElementType() reflect.Type
- func (o RestorePlanRestoreConfigTransformationRuleFieldActionOutput) FromPath() pulumi.StringPtrOutput
- func (o RestorePlanRestoreConfigTransformationRuleFieldActionOutput) Op() pulumi.StringOutput
- func (o RestorePlanRestoreConfigTransformationRuleFieldActionOutput) Path() pulumi.StringPtrOutput
- func (o RestorePlanRestoreConfigTransformationRuleFieldActionOutput) ToOutput(ctx context.Context) pulumix.Output[RestorePlanRestoreConfigTransformationRuleFieldAction]
- func (o RestorePlanRestoreConfigTransformationRuleFieldActionOutput) ToRestorePlanRestoreConfigTransformationRuleFieldActionOutput() RestorePlanRestoreConfigTransformationRuleFieldActionOutput
- func (o RestorePlanRestoreConfigTransformationRuleFieldActionOutput) ToRestorePlanRestoreConfigTransformationRuleFieldActionOutputWithContext(ctx context.Context) RestorePlanRestoreConfigTransformationRuleFieldActionOutput
- func (o RestorePlanRestoreConfigTransformationRuleFieldActionOutput) Value() pulumi.StringPtrOutput
- type RestorePlanRestoreConfigTransformationRuleInput
- type RestorePlanRestoreConfigTransformationRuleOutput
- func (o RestorePlanRestoreConfigTransformationRuleOutput) Description() pulumi.StringPtrOutput
- func (RestorePlanRestoreConfigTransformationRuleOutput) ElementType() reflect.Type
- func (o RestorePlanRestoreConfigTransformationRuleOutput) FieldActions() RestorePlanRestoreConfigTransformationRuleFieldActionArrayOutput
- func (o RestorePlanRestoreConfigTransformationRuleOutput) ResourceFilter() RestorePlanRestoreConfigTransformationRuleResourceFilterPtrOutput
- func (o RestorePlanRestoreConfigTransformationRuleOutput) ToOutput(ctx context.Context) pulumix.Output[RestorePlanRestoreConfigTransformationRule]
- func (o RestorePlanRestoreConfigTransformationRuleOutput) ToRestorePlanRestoreConfigTransformationRuleOutput() RestorePlanRestoreConfigTransformationRuleOutput
- func (o RestorePlanRestoreConfigTransformationRuleOutput) ToRestorePlanRestoreConfigTransformationRuleOutputWithContext(ctx context.Context) RestorePlanRestoreConfigTransformationRuleOutput
- type RestorePlanRestoreConfigTransformationRuleResourceFilter
- type RestorePlanRestoreConfigTransformationRuleResourceFilterArgs
- func (RestorePlanRestoreConfigTransformationRuleResourceFilterArgs) ElementType() reflect.Type
- func (i RestorePlanRestoreConfigTransformationRuleResourceFilterArgs) ToOutput(ctx context.Context) pulumix.Output[RestorePlanRestoreConfigTransformationRuleResourceFilter]
- func (i RestorePlanRestoreConfigTransformationRuleResourceFilterArgs) ToRestorePlanRestoreConfigTransformationRuleResourceFilterOutput() RestorePlanRestoreConfigTransformationRuleResourceFilterOutput
- func (i RestorePlanRestoreConfigTransformationRuleResourceFilterArgs) ToRestorePlanRestoreConfigTransformationRuleResourceFilterOutputWithContext(ctx context.Context) RestorePlanRestoreConfigTransformationRuleResourceFilterOutput
- func (i RestorePlanRestoreConfigTransformationRuleResourceFilterArgs) ToRestorePlanRestoreConfigTransformationRuleResourceFilterPtrOutput() RestorePlanRestoreConfigTransformationRuleResourceFilterPtrOutput
- func (i RestorePlanRestoreConfigTransformationRuleResourceFilterArgs) ToRestorePlanRestoreConfigTransformationRuleResourceFilterPtrOutputWithContext(ctx context.Context) RestorePlanRestoreConfigTransformationRuleResourceFilterPtrOutput
- type RestorePlanRestoreConfigTransformationRuleResourceFilterGroupKind
- type RestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindArgs
- func (RestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindArgs) ElementType() reflect.Type
- func (i RestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindArgs) ToOutput(ctx context.Context) ...
- func (i RestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindArgs) ToRestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindOutput() RestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindOutput
- func (i RestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindArgs) ToRestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindOutputWithContext(ctx context.Context) RestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindOutput
- type RestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindArray
- func (RestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindArray) ElementType() reflect.Type
- func (i RestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindArray) ToOutput(ctx context.Context) ...
- func (i RestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindArray) ToRestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindArrayOutput() RestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindArrayOutput
- func (i RestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindArray) ToRestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindArrayOutputWithContext(ctx context.Context) RestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindArrayOutput
- type RestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindArrayInput
- type RestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindArrayOutput
- func (RestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindArrayOutput) ElementType() reflect.Type
- func (o RestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindArrayOutput) Index(i pulumi.IntInput) RestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindOutput
- func (o RestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindArrayOutput) ToOutput(ctx context.Context) ...
- func (o RestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindArrayOutput) ToRestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindArrayOutput() RestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindArrayOutput
- func (o RestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindArrayOutput) ToRestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindArrayOutputWithContext(ctx context.Context) RestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindArrayOutput
- type RestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindInput
- type RestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindOutput
- func (RestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindOutput) ElementType() reflect.Type
- func (o RestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindOutput) ResourceGroup() pulumi.StringPtrOutput
- func (o RestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindOutput) ResourceKind() pulumi.StringPtrOutput
- func (o RestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindOutput) ToOutput(ctx context.Context) ...
- func (o RestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindOutput) ToRestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindOutput() RestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindOutput
- func (o RestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindOutput) ToRestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindOutputWithContext(ctx context.Context) RestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindOutput
- type RestorePlanRestoreConfigTransformationRuleResourceFilterInput
- type RestorePlanRestoreConfigTransformationRuleResourceFilterOutput
- func (RestorePlanRestoreConfigTransformationRuleResourceFilterOutput) ElementType() reflect.Type
- func (o RestorePlanRestoreConfigTransformationRuleResourceFilterOutput) GroupKinds() RestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindArrayOutput
- func (o RestorePlanRestoreConfigTransformationRuleResourceFilterOutput) JsonPath() pulumi.StringPtrOutput
- func (o RestorePlanRestoreConfigTransformationRuleResourceFilterOutput) Namespaces() pulumi.StringArrayOutput
- func (o RestorePlanRestoreConfigTransformationRuleResourceFilterOutput) ToOutput(ctx context.Context) pulumix.Output[RestorePlanRestoreConfigTransformationRuleResourceFilter]
- func (o RestorePlanRestoreConfigTransformationRuleResourceFilterOutput) ToRestorePlanRestoreConfigTransformationRuleResourceFilterOutput() RestorePlanRestoreConfigTransformationRuleResourceFilterOutput
- func (o RestorePlanRestoreConfigTransformationRuleResourceFilterOutput) ToRestorePlanRestoreConfigTransformationRuleResourceFilterOutputWithContext(ctx context.Context) RestorePlanRestoreConfigTransformationRuleResourceFilterOutput
- func (o RestorePlanRestoreConfigTransformationRuleResourceFilterOutput) ToRestorePlanRestoreConfigTransformationRuleResourceFilterPtrOutput() RestorePlanRestoreConfigTransformationRuleResourceFilterPtrOutput
- func (o RestorePlanRestoreConfigTransformationRuleResourceFilterOutput) ToRestorePlanRestoreConfigTransformationRuleResourceFilterPtrOutputWithContext(ctx context.Context) RestorePlanRestoreConfigTransformationRuleResourceFilterPtrOutput
- type RestorePlanRestoreConfigTransformationRuleResourceFilterPtrInput
- type RestorePlanRestoreConfigTransformationRuleResourceFilterPtrOutput
- func (o RestorePlanRestoreConfigTransformationRuleResourceFilterPtrOutput) Elem() RestorePlanRestoreConfigTransformationRuleResourceFilterOutput
- func (RestorePlanRestoreConfigTransformationRuleResourceFilterPtrOutput) ElementType() reflect.Type
- func (o RestorePlanRestoreConfigTransformationRuleResourceFilterPtrOutput) GroupKinds() RestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindArrayOutput
- func (o RestorePlanRestoreConfigTransformationRuleResourceFilterPtrOutput) JsonPath() pulumi.StringPtrOutput
- func (o RestorePlanRestoreConfigTransformationRuleResourceFilterPtrOutput) Namespaces() pulumi.StringArrayOutput
- func (o RestorePlanRestoreConfigTransformationRuleResourceFilterPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RestorePlanRestoreConfigTransformationRuleResourceFilter]
- func (o RestorePlanRestoreConfigTransformationRuleResourceFilterPtrOutput) ToRestorePlanRestoreConfigTransformationRuleResourceFilterPtrOutput() RestorePlanRestoreConfigTransformationRuleResourceFilterPtrOutput
- func (o RestorePlanRestoreConfigTransformationRuleResourceFilterPtrOutput) ToRestorePlanRestoreConfigTransformationRuleResourceFilterPtrOutputWithContext(ctx context.Context) RestorePlanRestoreConfigTransformationRuleResourceFilterPtrOutput
- type RestorePlanState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BackupPlan ¶
type BackupPlan struct { pulumi.CustomResourceState // Defines the configuration of Backups created via this BackupPlan. // Structure is documented below. BackupConfig BackupPlanBackupConfigPtrOutput `pulumi:"backupConfig"` // Defines a schedule for automatic Backup creation via this BackupPlan. // Structure is documented below. BackupSchedule BackupPlanBackupSchedulePtrOutput `pulumi:"backupSchedule"` // The source cluster from which Backups will be created via this BackupPlan. Cluster pulumi.StringOutput `pulumi:"cluster"` // This flag indicates whether this BackupPlan has been deactivated. // Setting this field to True locks the BackupPlan such that no further updates will be allowed // (except deletes), including the deactivated field itself. It also prevents any new Backups // from being created via this BackupPlan (including scheduled Backups). Deactivated pulumi.BoolOutput `pulumi:"deactivated"` // User specified descriptive string for this BackupPlan. Description pulumi.StringPtrOutput `pulumi:"description"` // All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Terraform, other // clients and services. EffectiveLabels pulumi.StringMapOutput `pulumi:"effectiveLabels"` // etag is used for optimistic concurrency control as a way to help prevent simultaneous // updates of a backup plan from overwriting each other. It is strongly suggested that // systems make use of the 'etag' in the read-modify-write cycle to perform BackupPlan updates // in order to avoid race conditions: An etag is returned in the response to backupPlans.get, // and systems are expected to put that etag in the request to backupPlans.patch or // backupPlans.delete to ensure that their change will be applied to the same version of the resource. Etag pulumi.StringOutput `pulumi:"etag"` // Description: A set of custom labels supplied by the user. // A list of key->value pairs. // Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }. // // **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. // Please refer to the field `effectiveLabels` for all of the labels present on the resource. Labels pulumi.StringMapOutput `pulumi:"labels"` // The region of the Backup Plan. // // *** Location pulumi.StringOutput `pulumi:"location"` // The full name of the BackupPlan Resource. Name pulumi.StringOutput `pulumi:"name"` // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project pulumi.StringOutput `pulumi:"project"` // The number of Kubernetes Pods backed up in the last successful Backup created via this BackupPlan. ProtectedPodCount pulumi.IntOutput `pulumi:"protectedPodCount"` // RetentionPolicy governs lifecycle of Backups created under this plan. // Structure is documented below. RetentionPolicy BackupPlanRetentionPolicyPtrOutput `pulumi:"retentionPolicy"` // The State of the BackupPlan. State pulumi.StringOutput `pulumi:"state"` // Detailed description of why BackupPlan is in its current state. StateReason pulumi.StringOutput `pulumi:"stateReason"` // The combination of labels configured directly on the resource // and default labels configured on the provider. TerraformLabels pulumi.StringMapOutput `pulumi:"terraformLabels"` // Server generated, unique identifier of UUID format. Uid pulumi.StringOutput `pulumi:"uid"` }
Represents a Backup Plan instance.
To get more information about BackupPlan, see:
* [API documentation](https://cloud.google.com/kubernetes-engine/docs/add-on/backup-for-gke/reference/rest/v1/projects.locations.backupPlans) * How-to Guides
- [Official Documentation](https://cloud.google.com/kubernetes-engine/docs/add-on/backup-for-gke)
## Example Usage ### Gkebackup Backupplan Basic
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/container" "github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/gkebackup" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { primary, err := container.NewCluster(ctx, "primary", &container.ClusterArgs{ Location: pulumi.String("us-central1"), InitialNodeCount: pulumi.Int(1), WorkloadIdentityConfig: &container.ClusterWorkloadIdentityConfigArgs{ WorkloadPool: pulumi.String("my-project-name.svc.id.goog"), }, AddonsConfig: &container.ClusterAddonsConfigArgs{ GkeBackupAgentConfig: &container.ClusterAddonsConfigGkeBackupAgentConfigArgs{ Enabled: pulumi.Bool(true), }, }, DeletionProtection: pulumi.Bool(true), }) if err != nil { return err } _, err = gkebackup.NewBackupPlan(ctx, "basic", &gkebackup.BackupPlanArgs{ Cluster: primary.ID(), Location: pulumi.String("us-central1"), BackupConfig: &gkebackup.BackupPlanBackupConfigArgs{ IncludeVolumeData: pulumi.Bool(true), IncludeSecrets: pulumi.Bool(true), AllNamespaces: pulumi.Bool(true), }, }) if err != nil { return err } return nil }) }
``` ### Gkebackup Backupplan Autopilot
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/container" "github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/gkebackup" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { primary, err := container.NewCluster(ctx, "primary", &container.ClusterArgs{ Location: pulumi.String("us-central1"), EnableAutopilot: pulumi.Bool(true), IpAllocationPolicy: nil, ReleaseChannel: &container.ClusterReleaseChannelArgs{ Channel: pulumi.String("RAPID"), }, AddonsConfig: &container.ClusterAddonsConfigArgs{ GkeBackupAgentConfig: &container.ClusterAddonsConfigGkeBackupAgentConfigArgs{ Enabled: pulumi.Bool(true), }, }, DeletionProtection: pulumi.Bool(true), }) if err != nil { return err } _, err = gkebackup.NewBackupPlan(ctx, "autopilot", &gkebackup.BackupPlanArgs{ Cluster: primary.ID(), Location: pulumi.String("us-central1"), BackupConfig: &gkebackup.BackupPlanBackupConfigArgs{ IncludeVolumeData: pulumi.Bool(true), IncludeSecrets: pulumi.Bool(true), AllNamespaces: pulumi.Bool(true), }, }) if err != nil { return err } return nil }) }
``` ### Gkebackup Backupplan Cmek
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/container" "github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/gkebackup" "github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/kms" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { primary, err := container.NewCluster(ctx, "primary", &container.ClusterArgs{ Location: pulumi.String("us-central1"), InitialNodeCount: pulumi.Int(1), WorkloadIdentityConfig: &container.ClusterWorkloadIdentityConfigArgs{ WorkloadPool: pulumi.String("my-project-name.svc.id.goog"), }, AddonsConfig: &container.ClusterAddonsConfigArgs{ GkeBackupAgentConfig: &container.ClusterAddonsConfigGkeBackupAgentConfigArgs{ Enabled: pulumi.Bool(true), }, }, DeletionProtection: pulumi.Bool(true), }) if err != nil { return err } keyRing, err := kms.NewKeyRing(ctx, "keyRing", &kms.KeyRingArgs{ Location: pulumi.String("us-central1"), }) if err != nil { return err } cryptoKey, err := kms.NewCryptoKey(ctx, "cryptoKey", &kms.CryptoKeyArgs{ KeyRing: keyRing.ID(), }) if err != nil { return err } _, err = gkebackup.NewBackupPlan(ctx, "cmek", &gkebackup.BackupPlanArgs{ Cluster: primary.ID(), Location: pulumi.String("us-central1"), BackupConfig: &gkebackup.BackupPlanBackupConfigArgs{ IncludeVolumeData: pulumi.Bool(true), IncludeSecrets: pulumi.Bool(true), SelectedNamespaces: &gkebackup.BackupPlanBackupConfigSelectedNamespacesArgs{ Namespaces: pulumi.StringArray{ pulumi.String("default"), pulumi.String("test"), }, }, EncryptionKey: &gkebackup.BackupPlanBackupConfigEncryptionKeyArgs{ GcpKmsEncryptionKey: cryptoKey.ID(), }, }, }) if err != nil { return err } return nil }) }
``` ### Gkebackup Backupplan Full
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/container" "github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/gkebackup" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { primary, err := container.NewCluster(ctx, "primary", &container.ClusterArgs{ Location: pulumi.String("us-central1"), InitialNodeCount: pulumi.Int(1), WorkloadIdentityConfig: &container.ClusterWorkloadIdentityConfigArgs{ WorkloadPool: pulumi.String("my-project-name.svc.id.goog"), }, AddonsConfig: &container.ClusterAddonsConfigArgs{ GkeBackupAgentConfig: &container.ClusterAddonsConfigGkeBackupAgentConfigArgs{ Enabled: pulumi.Bool(true), }, }, DeletionProtection: pulumi.Bool(true), }) if err != nil { return err } _, err = gkebackup.NewBackupPlan(ctx, "full", &gkebackup.BackupPlanArgs{ Cluster: primary.ID(), Location: pulumi.String("us-central1"), RetentionPolicy: &gkebackup.BackupPlanRetentionPolicyArgs{ BackupDeleteLockDays: pulumi.Int(30), BackupRetainDays: pulumi.Int(180), }, BackupSchedule: &gkebackup.BackupPlanBackupScheduleArgs{ CronSchedule: pulumi.String("0 9 * * 1"), }, BackupConfig: &gkebackup.BackupPlanBackupConfigArgs{ IncludeVolumeData: pulumi.Bool(true), IncludeSecrets: pulumi.Bool(true), SelectedApplications: &gkebackup.BackupPlanBackupConfigSelectedApplicationsArgs{ NamespacedNames: gkebackup.BackupPlanBackupConfigSelectedApplicationsNamespacedNameArray{ &gkebackup.BackupPlanBackupConfigSelectedApplicationsNamespacedNameArgs{ Name: pulumi.String("app1"), Namespace: pulumi.String("ns1"), }, &gkebackup.BackupPlanBackupConfigSelectedApplicationsNamespacedNameArgs{ Name: pulumi.String("app2"), Namespace: pulumi.String("ns2"), }, }, }, }, }) if err != nil { return err } return nil }) }
```
## Import
BackupPlan can be imported using any of these accepted formats ¶
```sh
$ pulumi import gcp:gkebackup/backupPlan:BackupPlan default projects/{{project}}/locations/{{location}}/backupPlans/{{name}}
```
```sh
$ pulumi import gcp:gkebackup/backupPlan:BackupPlan default {{project}}/{{location}}/{{name}}
```
```sh
$ pulumi import gcp:gkebackup/backupPlan:BackupPlan default {{location}}/{{name}}
```
func GetBackupPlan ¶
func GetBackupPlan(ctx *pulumi.Context, name string, id pulumi.IDInput, state *BackupPlanState, opts ...pulumi.ResourceOption) (*BackupPlan, error)
GetBackupPlan gets an existing BackupPlan 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 NewBackupPlan ¶
func NewBackupPlan(ctx *pulumi.Context, name string, args *BackupPlanArgs, opts ...pulumi.ResourceOption) (*BackupPlan, error)
NewBackupPlan registers a new resource with the given unique name, arguments, and options.
func (*BackupPlan) ElementType ¶
func (*BackupPlan) ElementType() reflect.Type
func (*BackupPlan) ToBackupPlanOutput ¶
func (i *BackupPlan) ToBackupPlanOutput() BackupPlanOutput
func (*BackupPlan) ToBackupPlanOutputWithContext ¶
func (i *BackupPlan) ToBackupPlanOutputWithContext(ctx context.Context) BackupPlanOutput
func (*BackupPlan) ToOutput ¶
func (i *BackupPlan) ToOutput(ctx context.Context) pulumix.Output[*BackupPlan]
type BackupPlanArgs ¶
type BackupPlanArgs struct { // Defines the configuration of Backups created via this BackupPlan. // Structure is documented below. BackupConfig BackupPlanBackupConfigPtrInput // Defines a schedule for automatic Backup creation via this BackupPlan. // Structure is documented below. BackupSchedule BackupPlanBackupSchedulePtrInput // The source cluster from which Backups will be created via this BackupPlan. Cluster pulumi.StringInput // This flag indicates whether this BackupPlan has been deactivated. // Setting this field to True locks the BackupPlan such that no further updates will be allowed // (except deletes), including the deactivated field itself. It also prevents any new Backups // from being created via this BackupPlan (including scheduled Backups). Deactivated pulumi.BoolPtrInput // User specified descriptive string for this BackupPlan. Description pulumi.StringPtrInput // Description: A set of custom labels supplied by the user. // A list of key->value pairs. // Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }. // // **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. // Please refer to the field `effectiveLabels` for all of the labels present on the resource. Labels pulumi.StringMapInput // The region of the Backup Plan. // // *** Location pulumi.StringInput // The full name of the BackupPlan Resource. Name pulumi.StringPtrInput // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project pulumi.StringPtrInput // RetentionPolicy governs lifecycle of Backups created under this plan. // Structure is documented below. RetentionPolicy BackupPlanRetentionPolicyPtrInput }
The set of arguments for constructing a BackupPlan resource.
func (BackupPlanArgs) ElementType ¶
func (BackupPlanArgs) ElementType() reflect.Type
type BackupPlanArray ¶
type BackupPlanArray []BackupPlanInput
func (BackupPlanArray) ElementType ¶
func (BackupPlanArray) ElementType() reflect.Type
func (BackupPlanArray) ToBackupPlanArrayOutput ¶
func (i BackupPlanArray) ToBackupPlanArrayOutput() BackupPlanArrayOutput
func (BackupPlanArray) ToBackupPlanArrayOutputWithContext ¶
func (i BackupPlanArray) ToBackupPlanArrayOutputWithContext(ctx context.Context) BackupPlanArrayOutput
func (BackupPlanArray) ToOutput ¶
func (i BackupPlanArray) ToOutput(ctx context.Context) pulumix.Output[[]*BackupPlan]
type BackupPlanArrayInput ¶
type BackupPlanArrayInput interface { pulumi.Input ToBackupPlanArrayOutput() BackupPlanArrayOutput ToBackupPlanArrayOutputWithContext(context.Context) BackupPlanArrayOutput }
BackupPlanArrayInput is an input type that accepts BackupPlanArray and BackupPlanArrayOutput values. You can construct a concrete instance of `BackupPlanArrayInput` via:
BackupPlanArray{ BackupPlanArgs{...} }
type BackupPlanArrayOutput ¶
type BackupPlanArrayOutput struct{ *pulumi.OutputState }
func (BackupPlanArrayOutput) ElementType ¶
func (BackupPlanArrayOutput) ElementType() reflect.Type
func (BackupPlanArrayOutput) Index ¶
func (o BackupPlanArrayOutput) Index(i pulumi.IntInput) BackupPlanOutput
func (BackupPlanArrayOutput) ToBackupPlanArrayOutput ¶
func (o BackupPlanArrayOutput) ToBackupPlanArrayOutput() BackupPlanArrayOutput
func (BackupPlanArrayOutput) ToBackupPlanArrayOutputWithContext ¶
func (o BackupPlanArrayOutput) ToBackupPlanArrayOutputWithContext(ctx context.Context) BackupPlanArrayOutput
func (BackupPlanArrayOutput) ToOutput ¶
func (o BackupPlanArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*BackupPlan]
type BackupPlanBackupConfig ¶
type BackupPlanBackupConfig struct { // If True, include all namespaced resources. AllNamespaces *bool `pulumi:"allNamespaces"` // This defines a customer managed encryption key that will be used to encrypt the "config" // portion (the Kubernetes resources) of Backups created via this plan. // Structure is documented below. EncryptionKey *BackupPlanBackupConfigEncryptionKey `pulumi:"encryptionKey"` // This flag specifies whether Kubernetes Secret resources should be included // when they fall into the scope of Backups. IncludeSecrets *bool `pulumi:"includeSecrets"` // This flag specifies whether volume data should be backed up when PVCs are // included in the scope of a Backup. IncludeVolumeData *bool `pulumi:"includeVolumeData"` // A list of namespaced Kubernetes Resources. // Structure is documented below. SelectedApplications *BackupPlanBackupConfigSelectedApplications `pulumi:"selectedApplications"` // If set, include just the resources in the listed namespaces. // Structure is documented below. SelectedNamespaces *BackupPlanBackupConfigSelectedNamespaces `pulumi:"selectedNamespaces"` }
type BackupPlanBackupConfigArgs ¶
type BackupPlanBackupConfigArgs struct { // If True, include all namespaced resources. AllNamespaces pulumi.BoolPtrInput `pulumi:"allNamespaces"` // This defines a customer managed encryption key that will be used to encrypt the "config" // portion (the Kubernetes resources) of Backups created via this plan. // Structure is documented below. EncryptionKey BackupPlanBackupConfigEncryptionKeyPtrInput `pulumi:"encryptionKey"` // This flag specifies whether Kubernetes Secret resources should be included // when they fall into the scope of Backups. IncludeSecrets pulumi.BoolPtrInput `pulumi:"includeSecrets"` // This flag specifies whether volume data should be backed up when PVCs are // included in the scope of a Backup. IncludeVolumeData pulumi.BoolPtrInput `pulumi:"includeVolumeData"` // A list of namespaced Kubernetes Resources. // Structure is documented below. SelectedApplications BackupPlanBackupConfigSelectedApplicationsPtrInput `pulumi:"selectedApplications"` // If set, include just the resources in the listed namespaces. // Structure is documented below. SelectedNamespaces BackupPlanBackupConfigSelectedNamespacesPtrInput `pulumi:"selectedNamespaces"` }
func (BackupPlanBackupConfigArgs) ElementType ¶
func (BackupPlanBackupConfigArgs) ElementType() reflect.Type
func (BackupPlanBackupConfigArgs) ToBackupPlanBackupConfigOutput ¶
func (i BackupPlanBackupConfigArgs) ToBackupPlanBackupConfigOutput() BackupPlanBackupConfigOutput
func (BackupPlanBackupConfigArgs) ToBackupPlanBackupConfigOutputWithContext ¶
func (i BackupPlanBackupConfigArgs) ToBackupPlanBackupConfigOutputWithContext(ctx context.Context) BackupPlanBackupConfigOutput
func (BackupPlanBackupConfigArgs) ToBackupPlanBackupConfigPtrOutput ¶
func (i BackupPlanBackupConfigArgs) ToBackupPlanBackupConfigPtrOutput() BackupPlanBackupConfigPtrOutput
func (BackupPlanBackupConfigArgs) ToBackupPlanBackupConfigPtrOutputWithContext ¶
func (i BackupPlanBackupConfigArgs) ToBackupPlanBackupConfigPtrOutputWithContext(ctx context.Context) BackupPlanBackupConfigPtrOutput
func (BackupPlanBackupConfigArgs) ToOutput ¶
func (i BackupPlanBackupConfigArgs) ToOutput(ctx context.Context) pulumix.Output[BackupPlanBackupConfig]
type BackupPlanBackupConfigEncryptionKey ¶
type BackupPlanBackupConfigEncryptionKey struct { // Google Cloud KMS encryption key. Format: projects/*/locations/*/keyRings/*/cryptoKeys/* GcpKmsEncryptionKey string `pulumi:"gcpKmsEncryptionKey"` }
type BackupPlanBackupConfigEncryptionKeyArgs ¶
type BackupPlanBackupConfigEncryptionKeyArgs struct { // Google Cloud KMS encryption key. Format: projects/*/locations/*/keyRings/*/cryptoKeys/* GcpKmsEncryptionKey pulumi.StringInput `pulumi:"gcpKmsEncryptionKey"` }
func (BackupPlanBackupConfigEncryptionKeyArgs) ElementType ¶
func (BackupPlanBackupConfigEncryptionKeyArgs) ElementType() reflect.Type
func (BackupPlanBackupConfigEncryptionKeyArgs) ToBackupPlanBackupConfigEncryptionKeyOutput ¶
func (i BackupPlanBackupConfigEncryptionKeyArgs) ToBackupPlanBackupConfigEncryptionKeyOutput() BackupPlanBackupConfigEncryptionKeyOutput
func (BackupPlanBackupConfigEncryptionKeyArgs) ToBackupPlanBackupConfigEncryptionKeyOutputWithContext ¶
func (i BackupPlanBackupConfigEncryptionKeyArgs) ToBackupPlanBackupConfigEncryptionKeyOutputWithContext(ctx context.Context) BackupPlanBackupConfigEncryptionKeyOutput
func (BackupPlanBackupConfigEncryptionKeyArgs) ToBackupPlanBackupConfigEncryptionKeyPtrOutput ¶
func (i BackupPlanBackupConfigEncryptionKeyArgs) ToBackupPlanBackupConfigEncryptionKeyPtrOutput() BackupPlanBackupConfigEncryptionKeyPtrOutput
func (BackupPlanBackupConfigEncryptionKeyArgs) ToBackupPlanBackupConfigEncryptionKeyPtrOutputWithContext ¶
func (i BackupPlanBackupConfigEncryptionKeyArgs) ToBackupPlanBackupConfigEncryptionKeyPtrOutputWithContext(ctx context.Context) BackupPlanBackupConfigEncryptionKeyPtrOutput
func (BackupPlanBackupConfigEncryptionKeyArgs) ToOutput ¶
func (i BackupPlanBackupConfigEncryptionKeyArgs) ToOutput(ctx context.Context) pulumix.Output[BackupPlanBackupConfigEncryptionKey]
type BackupPlanBackupConfigEncryptionKeyInput ¶
type BackupPlanBackupConfigEncryptionKeyInput interface { pulumi.Input ToBackupPlanBackupConfigEncryptionKeyOutput() BackupPlanBackupConfigEncryptionKeyOutput ToBackupPlanBackupConfigEncryptionKeyOutputWithContext(context.Context) BackupPlanBackupConfigEncryptionKeyOutput }
BackupPlanBackupConfigEncryptionKeyInput is an input type that accepts BackupPlanBackupConfigEncryptionKeyArgs and BackupPlanBackupConfigEncryptionKeyOutput values. You can construct a concrete instance of `BackupPlanBackupConfigEncryptionKeyInput` via:
BackupPlanBackupConfigEncryptionKeyArgs{...}
type BackupPlanBackupConfigEncryptionKeyOutput ¶
type BackupPlanBackupConfigEncryptionKeyOutput struct{ *pulumi.OutputState }
func (BackupPlanBackupConfigEncryptionKeyOutput) ElementType ¶
func (BackupPlanBackupConfigEncryptionKeyOutput) ElementType() reflect.Type
func (BackupPlanBackupConfigEncryptionKeyOutput) GcpKmsEncryptionKey ¶
func (o BackupPlanBackupConfigEncryptionKeyOutput) GcpKmsEncryptionKey() pulumi.StringOutput
Google Cloud KMS encryption key. Format: projects/*/locations/*/keyRings/*/cryptoKeys/*
func (BackupPlanBackupConfigEncryptionKeyOutput) ToBackupPlanBackupConfigEncryptionKeyOutput ¶
func (o BackupPlanBackupConfigEncryptionKeyOutput) ToBackupPlanBackupConfigEncryptionKeyOutput() BackupPlanBackupConfigEncryptionKeyOutput
func (BackupPlanBackupConfigEncryptionKeyOutput) ToBackupPlanBackupConfigEncryptionKeyOutputWithContext ¶
func (o BackupPlanBackupConfigEncryptionKeyOutput) ToBackupPlanBackupConfigEncryptionKeyOutputWithContext(ctx context.Context) BackupPlanBackupConfigEncryptionKeyOutput
func (BackupPlanBackupConfigEncryptionKeyOutput) ToBackupPlanBackupConfigEncryptionKeyPtrOutput ¶
func (o BackupPlanBackupConfigEncryptionKeyOutput) ToBackupPlanBackupConfigEncryptionKeyPtrOutput() BackupPlanBackupConfigEncryptionKeyPtrOutput
func (BackupPlanBackupConfigEncryptionKeyOutput) ToBackupPlanBackupConfigEncryptionKeyPtrOutputWithContext ¶
func (o BackupPlanBackupConfigEncryptionKeyOutput) ToBackupPlanBackupConfigEncryptionKeyPtrOutputWithContext(ctx context.Context) BackupPlanBackupConfigEncryptionKeyPtrOutput
func (BackupPlanBackupConfigEncryptionKeyOutput) ToOutput ¶
func (o BackupPlanBackupConfigEncryptionKeyOutput) ToOutput(ctx context.Context) pulumix.Output[BackupPlanBackupConfigEncryptionKey]
type BackupPlanBackupConfigEncryptionKeyPtrInput ¶
type BackupPlanBackupConfigEncryptionKeyPtrInput interface { pulumi.Input ToBackupPlanBackupConfigEncryptionKeyPtrOutput() BackupPlanBackupConfigEncryptionKeyPtrOutput ToBackupPlanBackupConfigEncryptionKeyPtrOutputWithContext(context.Context) BackupPlanBackupConfigEncryptionKeyPtrOutput }
BackupPlanBackupConfigEncryptionKeyPtrInput is an input type that accepts BackupPlanBackupConfigEncryptionKeyArgs, BackupPlanBackupConfigEncryptionKeyPtr and BackupPlanBackupConfigEncryptionKeyPtrOutput values. You can construct a concrete instance of `BackupPlanBackupConfigEncryptionKeyPtrInput` via:
BackupPlanBackupConfigEncryptionKeyArgs{...} or: nil
func BackupPlanBackupConfigEncryptionKeyPtr ¶
func BackupPlanBackupConfigEncryptionKeyPtr(v *BackupPlanBackupConfigEncryptionKeyArgs) BackupPlanBackupConfigEncryptionKeyPtrInput
type BackupPlanBackupConfigEncryptionKeyPtrOutput ¶
type BackupPlanBackupConfigEncryptionKeyPtrOutput struct{ *pulumi.OutputState }
func (BackupPlanBackupConfigEncryptionKeyPtrOutput) ElementType ¶
func (BackupPlanBackupConfigEncryptionKeyPtrOutput) ElementType() reflect.Type
func (BackupPlanBackupConfigEncryptionKeyPtrOutput) GcpKmsEncryptionKey ¶
func (o BackupPlanBackupConfigEncryptionKeyPtrOutput) GcpKmsEncryptionKey() pulumi.StringPtrOutput
Google Cloud KMS encryption key. Format: projects/*/locations/*/keyRings/*/cryptoKeys/*
func (BackupPlanBackupConfigEncryptionKeyPtrOutput) ToBackupPlanBackupConfigEncryptionKeyPtrOutput ¶
func (o BackupPlanBackupConfigEncryptionKeyPtrOutput) ToBackupPlanBackupConfigEncryptionKeyPtrOutput() BackupPlanBackupConfigEncryptionKeyPtrOutput
func (BackupPlanBackupConfigEncryptionKeyPtrOutput) ToBackupPlanBackupConfigEncryptionKeyPtrOutputWithContext ¶
func (o BackupPlanBackupConfigEncryptionKeyPtrOutput) ToBackupPlanBackupConfigEncryptionKeyPtrOutputWithContext(ctx context.Context) BackupPlanBackupConfigEncryptionKeyPtrOutput
func (BackupPlanBackupConfigEncryptionKeyPtrOutput) ToOutput ¶
func (o BackupPlanBackupConfigEncryptionKeyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BackupPlanBackupConfigEncryptionKey]
type BackupPlanBackupConfigInput ¶
type BackupPlanBackupConfigInput interface { pulumi.Input ToBackupPlanBackupConfigOutput() BackupPlanBackupConfigOutput ToBackupPlanBackupConfigOutputWithContext(context.Context) BackupPlanBackupConfigOutput }
BackupPlanBackupConfigInput is an input type that accepts BackupPlanBackupConfigArgs and BackupPlanBackupConfigOutput values. You can construct a concrete instance of `BackupPlanBackupConfigInput` via:
BackupPlanBackupConfigArgs{...}
type BackupPlanBackupConfigOutput ¶
type BackupPlanBackupConfigOutput struct{ *pulumi.OutputState }
func (BackupPlanBackupConfigOutput) AllNamespaces ¶
func (o BackupPlanBackupConfigOutput) AllNamespaces() pulumi.BoolPtrOutput
If True, include all namespaced resources.
func (BackupPlanBackupConfigOutput) ElementType ¶
func (BackupPlanBackupConfigOutput) ElementType() reflect.Type
func (BackupPlanBackupConfigOutput) EncryptionKey ¶
func (o BackupPlanBackupConfigOutput) EncryptionKey() BackupPlanBackupConfigEncryptionKeyPtrOutput
This defines a customer managed encryption key that will be used to encrypt the "config" portion (the Kubernetes resources) of Backups created via this plan. Structure is documented below.
func (BackupPlanBackupConfigOutput) IncludeSecrets ¶
func (o BackupPlanBackupConfigOutput) IncludeSecrets() pulumi.BoolPtrOutput
This flag specifies whether Kubernetes Secret resources should be included when they fall into the scope of Backups.
func (BackupPlanBackupConfigOutput) IncludeVolumeData ¶
func (o BackupPlanBackupConfigOutput) IncludeVolumeData() pulumi.BoolPtrOutput
This flag specifies whether volume data should be backed up when PVCs are included in the scope of a Backup.
func (BackupPlanBackupConfigOutput) SelectedApplications ¶
func (o BackupPlanBackupConfigOutput) SelectedApplications() BackupPlanBackupConfigSelectedApplicationsPtrOutput
A list of namespaced Kubernetes Resources. Structure is documented below.
func (BackupPlanBackupConfigOutput) SelectedNamespaces ¶
func (o BackupPlanBackupConfigOutput) SelectedNamespaces() BackupPlanBackupConfigSelectedNamespacesPtrOutput
If set, include just the resources in the listed namespaces. Structure is documented below.
func (BackupPlanBackupConfigOutput) ToBackupPlanBackupConfigOutput ¶
func (o BackupPlanBackupConfigOutput) ToBackupPlanBackupConfigOutput() BackupPlanBackupConfigOutput
func (BackupPlanBackupConfigOutput) ToBackupPlanBackupConfigOutputWithContext ¶
func (o BackupPlanBackupConfigOutput) ToBackupPlanBackupConfigOutputWithContext(ctx context.Context) BackupPlanBackupConfigOutput
func (BackupPlanBackupConfigOutput) ToBackupPlanBackupConfigPtrOutput ¶
func (o BackupPlanBackupConfigOutput) ToBackupPlanBackupConfigPtrOutput() BackupPlanBackupConfigPtrOutput
func (BackupPlanBackupConfigOutput) ToBackupPlanBackupConfigPtrOutputWithContext ¶
func (o BackupPlanBackupConfigOutput) ToBackupPlanBackupConfigPtrOutputWithContext(ctx context.Context) BackupPlanBackupConfigPtrOutput
func (BackupPlanBackupConfigOutput) ToOutput ¶
func (o BackupPlanBackupConfigOutput) ToOutput(ctx context.Context) pulumix.Output[BackupPlanBackupConfig]
type BackupPlanBackupConfigPtrInput ¶
type BackupPlanBackupConfigPtrInput interface { pulumi.Input ToBackupPlanBackupConfigPtrOutput() BackupPlanBackupConfigPtrOutput ToBackupPlanBackupConfigPtrOutputWithContext(context.Context) BackupPlanBackupConfigPtrOutput }
BackupPlanBackupConfigPtrInput is an input type that accepts BackupPlanBackupConfigArgs, BackupPlanBackupConfigPtr and BackupPlanBackupConfigPtrOutput values. You can construct a concrete instance of `BackupPlanBackupConfigPtrInput` via:
BackupPlanBackupConfigArgs{...} or: nil
func BackupPlanBackupConfigPtr ¶
func BackupPlanBackupConfigPtr(v *BackupPlanBackupConfigArgs) BackupPlanBackupConfigPtrInput
type BackupPlanBackupConfigPtrOutput ¶
type BackupPlanBackupConfigPtrOutput struct{ *pulumi.OutputState }
func (BackupPlanBackupConfigPtrOutput) AllNamespaces ¶
func (o BackupPlanBackupConfigPtrOutput) AllNamespaces() pulumi.BoolPtrOutput
If True, include all namespaced resources.
func (BackupPlanBackupConfigPtrOutput) Elem ¶
func (o BackupPlanBackupConfigPtrOutput) Elem() BackupPlanBackupConfigOutput
func (BackupPlanBackupConfigPtrOutput) ElementType ¶
func (BackupPlanBackupConfigPtrOutput) ElementType() reflect.Type
func (BackupPlanBackupConfigPtrOutput) EncryptionKey ¶
func (o BackupPlanBackupConfigPtrOutput) EncryptionKey() BackupPlanBackupConfigEncryptionKeyPtrOutput
This defines a customer managed encryption key that will be used to encrypt the "config" portion (the Kubernetes resources) of Backups created via this plan. Structure is documented below.
func (BackupPlanBackupConfigPtrOutput) IncludeSecrets ¶
func (o BackupPlanBackupConfigPtrOutput) IncludeSecrets() pulumi.BoolPtrOutput
This flag specifies whether Kubernetes Secret resources should be included when they fall into the scope of Backups.
func (BackupPlanBackupConfigPtrOutput) IncludeVolumeData ¶
func (o BackupPlanBackupConfigPtrOutput) IncludeVolumeData() pulumi.BoolPtrOutput
This flag specifies whether volume data should be backed up when PVCs are included in the scope of a Backup.
func (BackupPlanBackupConfigPtrOutput) SelectedApplications ¶
func (o BackupPlanBackupConfigPtrOutput) SelectedApplications() BackupPlanBackupConfigSelectedApplicationsPtrOutput
A list of namespaced Kubernetes Resources. Structure is documented below.
func (BackupPlanBackupConfigPtrOutput) SelectedNamespaces ¶
func (o BackupPlanBackupConfigPtrOutput) SelectedNamespaces() BackupPlanBackupConfigSelectedNamespacesPtrOutput
If set, include just the resources in the listed namespaces. Structure is documented below.
func (BackupPlanBackupConfigPtrOutput) ToBackupPlanBackupConfigPtrOutput ¶
func (o BackupPlanBackupConfigPtrOutput) ToBackupPlanBackupConfigPtrOutput() BackupPlanBackupConfigPtrOutput
func (BackupPlanBackupConfigPtrOutput) ToBackupPlanBackupConfigPtrOutputWithContext ¶
func (o BackupPlanBackupConfigPtrOutput) ToBackupPlanBackupConfigPtrOutputWithContext(ctx context.Context) BackupPlanBackupConfigPtrOutput
func (BackupPlanBackupConfigPtrOutput) ToOutput ¶
func (o BackupPlanBackupConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BackupPlanBackupConfig]
type BackupPlanBackupConfigSelectedApplications ¶
type BackupPlanBackupConfigSelectedApplications struct { // A list of namespaced Kubernetes resources. // Structure is documented below. NamespacedNames []BackupPlanBackupConfigSelectedApplicationsNamespacedName `pulumi:"namespacedNames"` }
type BackupPlanBackupConfigSelectedApplicationsArgs ¶
type BackupPlanBackupConfigSelectedApplicationsArgs struct { // A list of namespaced Kubernetes resources. // Structure is documented below. NamespacedNames BackupPlanBackupConfigSelectedApplicationsNamespacedNameArrayInput `pulumi:"namespacedNames"` }
func (BackupPlanBackupConfigSelectedApplicationsArgs) ElementType ¶
func (BackupPlanBackupConfigSelectedApplicationsArgs) ElementType() reflect.Type
func (BackupPlanBackupConfigSelectedApplicationsArgs) ToBackupPlanBackupConfigSelectedApplicationsOutput ¶
func (i BackupPlanBackupConfigSelectedApplicationsArgs) ToBackupPlanBackupConfigSelectedApplicationsOutput() BackupPlanBackupConfigSelectedApplicationsOutput
func (BackupPlanBackupConfigSelectedApplicationsArgs) ToBackupPlanBackupConfigSelectedApplicationsOutputWithContext ¶
func (i BackupPlanBackupConfigSelectedApplicationsArgs) ToBackupPlanBackupConfigSelectedApplicationsOutputWithContext(ctx context.Context) BackupPlanBackupConfigSelectedApplicationsOutput
func (BackupPlanBackupConfigSelectedApplicationsArgs) ToBackupPlanBackupConfigSelectedApplicationsPtrOutput ¶
func (i BackupPlanBackupConfigSelectedApplicationsArgs) ToBackupPlanBackupConfigSelectedApplicationsPtrOutput() BackupPlanBackupConfigSelectedApplicationsPtrOutput
func (BackupPlanBackupConfigSelectedApplicationsArgs) ToBackupPlanBackupConfigSelectedApplicationsPtrOutputWithContext ¶
func (i BackupPlanBackupConfigSelectedApplicationsArgs) ToBackupPlanBackupConfigSelectedApplicationsPtrOutputWithContext(ctx context.Context) BackupPlanBackupConfigSelectedApplicationsPtrOutput
func (BackupPlanBackupConfigSelectedApplicationsArgs) ToOutput ¶
func (i BackupPlanBackupConfigSelectedApplicationsArgs) ToOutput(ctx context.Context) pulumix.Output[BackupPlanBackupConfigSelectedApplications]
type BackupPlanBackupConfigSelectedApplicationsInput ¶
type BackupPlanBackupConfigSelectedApplicationsInput interface { pulumi.Input ToBackupPlanBackupConfigSelectedApplicationsOutput() BackupPlanBackupConfigSelectedApplicationsOutput ToBackupPlanBackupConfigSelectedApplicationsOutputWithContext(context.Context) BackupPlanBackupConfigSelectedApplicationsOutput }
BackupPlanBackupConfigSelectedApplicationsInput is an input type that accepts BackupPlanBackupConfigSelectedApplicationsArgs and BackupPlanBackupConfigSelectedApplicationsOutput values. You can construct a concrete instance of `BackupPlanBackupConfigSelectedApplicationsInput` via:
BackupPlanBackupConfigSelectedApplicationsArgs{...}
type BackupPlanBackupConfigSelectedApplicationsNamespacedNameArgs ¶
type BackupPlanBackupConfigSelectedApplicationsNamespacedNameArgs struct { // The name of a Kubernetes Resource. Name pulumi.StringInput `pulumi:"name"` // The namespace of a Kubernetes Resource. Namespace pulumi.StringInput `pulumi:"namespace"` }
func (BackupPlanBackupConfigSelectedApplicationsNamespacedNameArgs) ElementType ¶
func (BackupPlanBackupConfigSelectedApplicationsNamespacedNameArgs) ElementType() reflect.Type
func (BackupPlanBackupConfigSelectedApplicationsNamespacedNameArgs) ToBackupPlanBackupConfigSelectedApplicationsNamespacedNameOutput ¶
func (i BackupPlanBackupConfigSelectedApplicationsNamespacedNameArgs) ToBackupPlanBackupConfigSelectedApplicationsNamespacedNameOutput() BackupPlanBackupConfigSelectedApplicationsNamespacedNameOutput
func (BackupPlanBackupConfigSelectedApplicationsNamespacedNameArgs) ToBackupPlanBackupConfigSelectedApplicationsNamespacedNameOutputWithContext ¶
func (i BackupPlanBackupConfigSelectedApplicationsNamespacedNameArgs) ToBackupPlanBackupConfigSelectedApplicationsNamespacedNameOutputWithContext(ctx context.Context) BackupPlanBackupConfigSelectedApplicationsNamespacedNameOutput
type BackupPlanBackupConfigSelectedApplicationsNamespacedNameArray ¶
type BackupPlanBackupConfigSelectedApplicationsNamespacedNameArray []BackupPlanBackupConfigSelectedApplicationsNamespacedNameInput
func (BackupPlanBackupConfigSelectedApplicationsNamespacedNameArray) ElementType ¶
func (BackupPlanBackupConfigSelectedApplicationsNamespacedNameArray) ElementType() reflect.Type
func (BackupPlanBackupConfigSelectedApplicationsNamespacedNameArray) ToBackupPlanBackupConfigSelectedApplicationsNamespacedNameArrayOutput ¶
func (i BackupPlanBackupConfigSelectedApplicationsNamespacedNameArray) ToBackupPlanBackupConfigSelectedApplicationsNamespacedNameArrayOutput() BackupPlanBackupConfigSelectedApplicationsNamespacedNameArrayOutput
func (BackupPlanBackupConfigSelectedApplicationsNamespacedNameArray) ToBackupPlanBackupConfigSelectedApplicationsNamespacedNameArrayOutputWithContext ¶
func (i BackupPlanBackupConfigSelectedApplicationsNamespacedNameArray) ToBackupPlanBackupConfigSelectedApplicationsNamespacedNameArrayOutputWithContext(ctx context.Context) BackupPlanBackupConfigSelectedApplicationsNamespacedNameArrayOutput
type BackupPlanBackupConfigSelectedApplicationsNamespacedNameArrayInput ¶
type BackupPlanBackupConfigSelectedApplicationsNamespacedNameArrayInput interface { pulumi.Input ToBackupPlanBackupConfigSelectedApplicationsNamespacedNameArrayOutput() BackupPlanBackupConfigSelectedApplicationsNamespacedNameArrayOutput ToBackupPlanBackupConfigSelectedApplicationsNamespacedNameArrayOutputWithContext(context.Context) BackupPlanBackupConfigSelectedApplicationsNamespacedNameArrayOutput }
BackupPlanBackupConfigSelectedApplicationsNamespacedNameArrayInput is an input type that accepts BackupPlanBackupConfigSelectedApplicationsNamespacedNameArray and BackupPlanBackupConfigSelectedApplicationsNamespacedNameArrayOutput values. You can construct a concrete instance of `BackupPlanBackupConfigSelectedApplicationsNamespacedNameArrayInput` via:
BackupPlanBackupConfigSelectedApplicationsNamespacedNameArray{ BackupPlanBackupConfigSelectedApplicationsNamespacedNameArgs{...} }
type BackupPlanBackupConfigSelectedApplicationsNamespacedNameArrayOutput ¶
type BackupPlanBackupConfigSelectedApplicationsNamespacedNameArrayOutput struct{ *pulumi.OutputState }
func (BackupPlanBackupConfigSelectedApplicationsNamespacedNameArrayOutput) ElementType ¶
func (BackupPlanBackupConfigSelectedApplicationsNamespacedNameArrayOutput) ElementType() reflect.Type
func (BackupPlanBackupConfigSelectedApplicationsNamespacedNameArrayOutput) ToBackupPlanBackupConfigSelectedApplicationsNamespacedNameArrayOutput ¶
func (o BackupPlanBackupConfigSelectedApplicationsNamespacedNameArrayOutput) ToBackupPlanBackupConfigSelectedApplicationsNamespacedNameArrayOutput() BackupPlanBackupConfigSelectedApplicationsNamespacedNameArrayOutput
func (BackupPlanBackupConfigSelectedApplicationsNamespacedNameArrayOutput) ToBackupPlanBackupConfigSelectedApplicationsNamespacedNameArrayOutputWithContext ¶
func (o BackupPlanBackupConfigSelectedApplicationsNamespacedNameArrayOutput) ToBackupPlanBackupConfigSelectedApplicationsNamespacedNameArrayOutputWithContext(ctx context.Context) BackupPlanBackupConfigSelectedApplicationsNamespacedNameArrayOutput
type BackupPlanBackupConfigSelectedApplicationsNamespacedNameInput ¶
type BackupPlanBackupConfigSelectedApplicationsNamespacedNameInput interface { pulumi.Input ToBackupPlanBackupConfigSelectedApplicationsNamespacedNameOutput() BackupPlanBackupConfigSelectedApplicationsNamespacedNameOutput ToBackupPlanBackupConfigSelectedApplicationsNamespacedNameOutputWithContext(context.Context) BackupPlanBackupConfigSelectedApplicationsNamespacedNameOutput }
BackupPlanBackupConfigSelectedApplicationsNamespacedNameInput is an input type that accepts BackupPlanBackupConfigSelectedApplicationsNamespacedNameArgs and BackupPlanBackupConfigSelectedApplicationsNamespacedNameOutput values. You can construct a concrete instance of `BackupPlanBackupConfigSelectedApplicationsNamespacedNameInput` via:
BackupPlanBackupConfigSelectedApplicationsNamespacedNameArgs{...}
type BackupPlanBackupConfigSelectedApplicationsNamespacedNameOutput ¶
type BackupPlanBackupConfigSelectedApplicationsNamespacedNameOutput struct{ *pulumi.OutputState }
func (BackupPlanBackupConfigSelectedApplicationsNamespacedNameOutput) ElementType ¶
func (BackupPlanBackupConfigSelectedApplicationsNamespacedNameOutput) ElementType() reflect.Type
func (BackupPlanBackupConfigSelectedApplicationsNamespacedNameOutput) Name ¶
The name of a Kubernetes Resource.
func (BackupPlanBackupConfigSelectedApplicationsNamespacedNameOutput) Namespace ¶
func (o BackupPlanBackupConfigSelectedApplicationsNamespacedNameOutput) Namespace() pulumi.StringOutput
The namespace of a Kubernetes Resource.
func (BackupPlanBackupConfigSelectedApplicationsNamespacedNameOutput) ToBackupPlanBackupConfigSelectedApplicationsNamespacedNameOutput ¶
func (o BackupPlanBackupConfigSelectedApplicationsNamespacedNameOutput) ToBackupPlanBackupConfigSelectedApplicationsNamespacedNameOutput() BackupPlanBackupConfigSelectedApplicationsNamespacedNameOutput
func (BackupPlanBackupConfigSelectedApplicationsNamespacedNameOutput) ToBackupPlanBackupConfigSelectedApplicationsNamespacedNameOutputWithContext ¶
func (o BackupPlanBackupConfigSelectedApplicationsNamespacedNameOutput) ToBackupPlanBackupConfigSelectedApplicationsNamespacedNameOutputWithContext(ctx context.Context) BackupPlanBackupConfigSelectedApplicationsNamespacedNameOutput
type BackupPlanBackupConfigSelectedApplicationsOutput ¶
type BackupPlanBackupConfigSelectedApplicationsOutput struct{ *pulumi.OutputState }
func (BackupPlanBackupConfigSelectedApplicationsOutput) ElementType ¶
func (BackupPlanBackupConfigSelectedApplicationsOutput) ElementType() reflect.Type
func (BackupPlanBackupConfigSelectedApplicationsOutput) NamespacedNames ¶
func (o BackupPlanBackupConfigSelectedApplicationsOutput) NamespacedNames() BackupPlanBackupConfigSelectedApplicationsNamespacedNameArrayOutput
A list of namespaced Kubernetes resources. Structure is documented below.
func (BackupPlanBackupConfigSelectedApplicationsOutput) ToBackupPlanBackupConfigSelectedApplicationsOutput ¶
func (o BackupPlanBackupConfigSelectedApplicationsOutput) ToBackupPlanBackupConfigSelectedApplicationsOutput() BackupPlanBackupConfigSelectedApplicationsOutput
func (BackupPlanBackupConfigSelectedApplicationsOutput) ToBackupPlanBackupConfigSelectedApplicationsOutputWithContext ¶
func (o BackupPlanBackupConfigSelectedApplicationsOutput) ToBackupPlanBackupConfigSelectedApplicationsOutputWithContext(ctx context.Context) BackupPlanBackupConfigSelectedApplicationsOutput
func (BackupPlanBackupConfigSelectedApplicationsOutput) ToBackupPlanBackupConfigSelectedApplicationsPtrOutput ¶
func (o BackupPlanBackupConfigSelectedApplicationsOutput) ToBackupPlanBackupConfigSelectedApplicationsPtrOutput() BackupPlanBackupConfigSelectedApplicationsPtrOutput
func (BackupPlanBackupConfigSelectedApplicationsOutput) ToBackupPlanBackupConfigSelectedApplicationsPtrOutputWithContext ¶
func (o BackupPlanBackupConfigSelectedApplicationsOutput) ToBackupPlanBackupConfigSelectedApplicationsPtrOutputWithContext(ctx context.Context) BackupPlanBackupConfigSelectedApplicationsPtrOutput
type BackupPlanBackupConfigSelectedApplicationsPtrInput ¶
type BackupPlanBackupConfigSelectedApplicationsPtrInput interface { pulumi.Input ToBackupPlanBackupConfigSelectedApplicationsPtrOutput() BackupPlanBackupConfigSelectedApplicationsPtrOutput ToBackupPlanBackupConfigSelectedApplicationsPtrOutputWithContext(context.Context) BackupPlanBackupConfigSelectedApplicationsPtrOutput }
BackupPlanBackupConfigSelectedApplicationsPtrInput is an input type that accepts BackupPlanBackupConfigSelectedApplicationsArgs, BackupPlanBackupConfigSelectedApplicationsPtr and BackupPlanBackupConfigSelectedApplicationsPtrOutput values. You can construct a concrete instance of `BackupPlanBackupConfigSelectedApplicationsPtrInput` via:
BackupPlanBackupConfigSelectedApplicationsArgs{...} or: nil
func BackupPlanBackupConfigSelectedApplicationsPtr ¶
func BackupPlanBackupConfigSelectedApplicationsPtr(v *BackupPlanBackupConfigSelectedApplicationsArgs) BackupPlanBackupConfigSelectedApplicationsPtrInput
type BackupPlanBackupConfigSelectedApplicationsPtrOutput ¶
type BackupPlanBackupConfigSelectedApplicationsPtrOutput struct{ *pulumi.OutputState }
func (BackupPlanBackupConfigSelectedApplicationsPtrOutput) ElementType ¶
func (BackupPlanBackupConfigSelectedApplicationsPtrOutput) ElementType() reflect.Type
func (BackupPlanBackupConfigSelectedApplicationsPtrOutput) NamespacedNames ¶
func (o BackupPlanBackupConfigSelectedApplicationsPtrOutput) NamespacedNames() BackupPlanBackupConfigSelectedApplicationsNamespacedNameArrayOutput
A list of namespaced Kubernetes resources. Structure is documented below.
func (BackupPlanBackupConfigSelectedApplicationsPtrOutput) ToBackupPlanBackupConfigSelectedApplicationsPtrOutput ¶
func (o BackupPlanBackupConfigSelectedApplicationsPtrOutput) ToBackupPlanBackupConfigSelectedApplicationsPtrOutput() BackupPlanBackupConfigSelectedApplicationsPtrOutput
func (BackupPlanBackupConfigSelectedApplicationsPtrOutput) ToBackupPlanBackupConfigSelectedApplicationsPtrOutputWithContext ¶
func (o BackupPlanBackupConfigSelectedApplicationsPtrOutput) ToBackupPlanBackupConfigSelectedApplicationsPtrOutputWithContext(ctx context.Context) BackupPlanBackupConfigSelectedApplicationsPtrOutput
func (BackupPlanBackupConfigSelectedApplicationsPtrOutput) ToOutput ¶
func (o BackupPlanBackupConfigSelectedApplicationsPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BackupPlanBackupConfigSelectedApplications]
type BackupPlanBackupConfigSelectedNamespaces ¶
type BackupPlanBackupConfigSelectedNamespaces struct { // A list of Kubernetes Namespaces. Namespaces []string `pulumi:"namespaces"` }
type BackupPlanBackupConfigSelectedNamespacesArgs ¶
type BackupPlanBackupConfigSelectedNamespacesArgs struct { // A list of Kubernetes Namespaces. Namespaces pulumi.StringArrayInput `pulumi:"namespaces"` }
func (BackupPlanBackupConfigSelectedNamespacesArgs) ElementType ¶
func (BackupPlanBackupConfigSelectedNamespacesArgs) ElementType() reflect.Type
func (BackupPlanBackupConfigSelectedNamespacesArgs) ToBackupPlanBackupConfigSelectedNamespacesOutput ¶
func (i BackupPlanBackupConfigSelectedNamespacesArgs) ToBackupPlanBackupConfigSelectedNamespacesOutput() BackupPlanBackupConfigSelectedNamespacesOutput
func (BackupPlanBackupConfigSelectedNamespacesArgs) ToBackupPlanBackupConfigSelectedNamespacesOutputWithContext ¶
func (i BackupPlanBackupConfigSelectedNamespacesArgs) ToBackupPlanBackupConfigSelectedNamespacesOutputWithContext(ctx context.Context) BackupPlanBackupConfigSelectedNamespacesOutput
func (BackupPlanBackupConfigSelectedNamespacesArgs) ToBackupPlanBackupConfigSelectedNamespacesPtrOutput ¶
func (i BackupPlanBackupConfigSelectedNamespacesArgs) ToBackupPlanBackupConfigSelectedNamespacesPtrOutput() BackupPlanBackupConfigSelectedNamespacesPtrOutput
func (BackupPlanBackupConfigSelectedNamespacesArgs) ToBackupPlanBackupConfigSelectedNamespacesPtrOutputWithContext ¶
func (i BackupPlanBackupConfigSelectedNamespacesArgs) ToBackupPlanBackupConfigSelectedNamespacesPtrOutputWithContext(ctx context.Context) BackupPlanBackupConfigSelectedNamespacesPtrOutput
func (BackupPlanBackupConfigSelectedNamespacesArgs) ToOutput ¶
func (i BackupPlanBackupConfigSelectedNamespacesArgs) ToOutput(ctx context.Context) pulumix.Output[BackupPlanBackupConfigSelectedNamespaces]
type BackupPlanBackupConfigSelectedNamespacesInput ¶
type BackupPlanBackupConfigSelectedNamespacesInput interface { pulumi.Input ToBackupPlanBackupConfigSelectedNamespacesOutput() BackupPlanBackupConfigSelectedNamespacesOutput ToBackupPlanBackupConfigSelectedNamespacesOutputWithContext(context.Context) BackupPlanBackupConfigSelectedNamespacesOutput }
BackupPlanBackupConfigSelectedNamespacesInput is an input type that accepts BackupPlanBackupConfigSelectedNamespacesArgs and BackupPlanBackupConfigSelectedNamespacesOutput values. You can construct a concrete instance of `BackupPlanBackupConfigSelectedNamespacesInput` via:
BackupPlanBackupConfigSelectedNamespacesArgs{...}
type BackupPlanBackupConfigSelectedNamespacesOutput ¶
type BackupPlanBackupConfigSelectedNamespacesOutput struct{ *pulumi.OutputState }
func (BackupPlanBackupConfigSelectedNamespacesOutput) ElementType ¶
func (BackupPlanBackupConfigSelectedNamespacesOutput) ElementType() reflect.Type
func (BackupPlanBackupConfigSelectedNamespacesOutput) Namespaces ¶
func (o BackupPlanBackupConfigSelectedNamespacesOutput) Namespaces() pulumi.StringArrayOutput
A list of Kubernetes Namespaces.
func (BackupPlanBackupConfigSelectedNamespacesOutput) ToBackupPlanBackupConfigSelectedNamespacesOutput ¶
func (o BackupPlanBackupConfigSelectedNamespacesOutput) ToBackupPlanBackupConfigSelectedNamespacesOutput() BackupPlanBackupConfigSelectedNamespacesOutput
func (BackupPlanBackupConfigSelectedNamespacesOutput) ToBackupPlanBackupConfigSelectedNamespacesOutputWithContext ¶
func (o BackupPlanBackupConfigSelectedNamespacesOutput) ToBackupPlanBackupConfigSelectedNamespacesOutputWithContext(ctx context.Context) BackupPlanBackupConfigSelectedNamespacesOutput
func (BackupPlanBackupConfigSelectedNamespacesOutput) ToBackupPlanBackupConfigSelectedNamespacesPtrOutput ¶
func (o BackupPlanBackupConfigSelectedNamespacesOutput) ToBackupPlanBackupConfigSelectedNamespacesPtrOutput() BackupPlanBackupConfigSelectedNamespacesPtrOutput
func (BackupPlanBackupConfigSelectedNamespacesOutput) ToBackupPlanBackupConfigSelectedNamespacesPtrOutputWithContext ¶
func (o BackupPlanBackupConfigSelectedNamespacesOutput) ToBackupPlanBackupConfigSelectedNamespacesPtrOutputWithContext(ctx context.Context) BackupPlanBackupConfigSelectedNamespacesPtrOutput
func (BackupPlanBackupConfigSelectedNamespacesOutput) ToOutput ¶
func (o BackupPlanBackupConfigSelectedNamespacesOutput) ToOutput(ctx context.Context) pulumix.Output[BackupPlanBackupConfigSelectedNamespaces]
type BackupPlanBackupConfigSelectedNamespacesPtrInput ¶
type BackupPlanBackupConfigSelectedNamespacesPtrInput interface { pulumi.Input ToBackupPlanBackupConfigSelectedNamespacesPtrOutput() BackupPlanBackupConfigSelectedNamespacesPtrOutput ToBackupPlanBackupConfigSelectedNamespacesPtrOutputWithContext(context.Context) BackupPlanBackupConfigSelectedNamespacesPtrOutput }
BackupPlanBackupConfigSelectedNamespacesPtrInput is an input type that accepts BackupPlanBackupConfigSelectedNamespacesArgs, BackupPlanBackupConfigSelectedNamespacesPtr and BackupPlanBackupConfigSelectedNamespacesPtrOutput values. You can construct a concrete instance of `BackupPlanBackupConfigSelectedNamespacesPtrInput` via:
BackupPlanBackupConfigSelectedNamespacesArgs{...} or: nil
func BackupPlanBackupConfigSelectedNamespacesPtr ¶
func BackupPlanBackupConfigSelectedNamespacesPtr(v *BackupPlanBackupConfigSelectedNamespacesArgs) BackupPlanBackupConfigSelectedNamespacesPtrInput
type BackupPlanBackupConfigSelectedNamespacesPtrOutput ¶
type BackupPlanBackupConfigSelectedNamespacesPtrOutput struct{ *pulumi.OutputState }
func (BackupPlanBackupConfigSelectedNamespacesPtrOutput) ElementType ¶
func (BackupPlanBackupConfigSelectedNamespacesPtrOutput) ElementType() reflect.Type
func (BackupPlanBackupConfigSelectedNamespacesPtrOutput) Namespaces ¶
func (o BackupPlanBackupConfigSelectedNamespacesPtrOutput) Namespaces() pulumi.StringArrayOutput
A list of Kubernetes Namespaces.
func (BackupPlanBackupConfigSelectedNamespacesPtrOutput) ToBackupPlanBackupConfigSelectedNamespacesPtrOutput ¶
func (o BackupPlanBackupConfigSelectedNamespacesPtrOutput) ToBackupPlanBackupConfigSelectedNamespacesPtrOutput() BackupPlanBackupConfigSelectedNamespacesPtrOutput
func (BackupPlanBackupConfigSelectedNamespacesPtrOutput) ToBackupPlanBackupConfigSelectedNamespacesPtrOutputWithContext ¶
func (o BackupPlanBackupConfigSelectedNamespacesPtrOutput) ToBackupPlanBackupConfigSelectedNamespacesPtrOutputWithContext(ctx context.Context) BackupPlanBackupConfigSelectedNamespacesPtrOutput
func (BackupPlanBackupConfigSelectedNamespacesPtrOutput) ToOutput ¶
func (o BackupPlanBackupConfigSelectedNamespacesPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BackupPlanBackupConfigSelectedNamespaces]
type BackupPlanBackupSchedule ¶
type BackupPlanBackupSchedule struct { // A standard cron string that defines a repeating schedule for // creating Backups via this BackupPlan. // If this is defined, then backupRetainDays must also be defined. CronSchedule *string `pulumi:"cronSchedule"` // This flag denotes whether automatic Backup creation is paused for this BackupPlan. Paused *bool `pulumi:"paused"` }
type BackupPlanBackupScheduleArgs ¶
type BackupPlanBackupScheduleArgs struct { // A standard cron string that defines a repeating schedule for // creating Backups via this BackupPlan. // If this is defined, then backupRetainDays must also be defined. CronSchedule pulumi.StringPtrInput `pulumi:"cronSchedule"` // This flag denotes whether automatic Backup creation is paused for this BackupPlan. Paused pulumi.BoolPtrInput `pulumi:"paused"` }
func (BackupPlanBackupScheduleArgs) ElementType ¶
func (BackupPlanBackupScheduleArgs) ElementType() reflect.Type
func (BackupPlanBackupScheduleArgs) ToBackupPlanBackupScheduleOutput ¶
func (i BackupPlanBackupScheduleArgs) ToBackupPlanBackupScheduleOutput() BackupPlanBackupScheduleOutput
func (BackupPlanBackupScheduleArgs) ToBackupPlanBackupScheduleOutputWithContext ¶
func (i BackupPlanBackupScheduleArgs) ToBackupPlanBackupScheduleOutputWithContext(ctx context.Context) BackupPlanBackupScheduleOutput
func (BackupPlanBackupScheduleArgs) ToBackupPlanBackupSchedulePtrOutput ¶
func (i BackupPlanBackupScheduleArgs) ToBackupPlanBackupSchedulePtrOutput() BackupPlanBackupSchedulePtrOutput
func (BackupPlanBackupScheduleArgs) ToBackupPlanBackupSchedulePtrOutputWithContext ¶
func (i BackupPlanBackupScheduleArgs) ToBackupPlanBackupSchedulePtrOutputWithContext(ctx context.Context) BackupPlanBackupSchedulePtrOutput
func (BackupPlanBackupScheduleArgs) ToOutput ¶
func (i BackupPlanBackupScheduleArgs) ToOutput(ctx context.Context) pulumix.Output[BackupPlanBackupSchedule]
type BackupPlanBackupScheduleInput ¶
type BackupPlanBackupScheduleInput interface { pulumi.Input ToBackupPlanBackupScheduleOutput() BackupPlanBackupScheduleOutput ToBackupPlanBackupScheduleOutputWithContext(context.Context) BackupPlanBackupScheduleOutput }
BackupPlanBackupScheduleInput is an input type that accepts BackupPlanBackupScheduleArgs and BackupPlanBackupScheduleOutput values. You can construct a concrete instance of `BackupPlanBackupScheduleInput` via:
BackupPlanBackupScheduleArgs{...}
type BackupPlanBackupScheduleOutput ¶
type BackupPlanBackupScheduleOutput struct{ *pulumi.OutputState }
func (BackupPlanBackupScheduleOutput) CronSchedule ¶
func (o BackupPlanBackupScheduleOutput) CronSchedule() pulumi.StringPtrOutput
A standard cron string that defines a repeating schedule for creating Backups via this BackupPlan. If this is defined, then backupRetainDays must also be defined.
func (BackupPlanBackupScheduleOutput) ElementType ¶
func (BackupPlanBackupScheduleOutput) ElementType() reflect.Type
func (BackupPlanBackupScheduleOutput) Paused ¶
func (o BackupPlanBackupScheduleOutput) Paused() pulumi.BoolPtrOutput
This flag denotes whether automatic Backup creation is paused for this BackupPlan.
func (BackupPlanBackupScheduleOutput) ToBackupPlanBackupScheduleOutput ¶
func (o BackupPlanBackupScheduleOutput) ToBackupPlanBackupScheduleOutput() BackupPlanBackupScheduleOutput
func (BackupPlanBackupScheduleOutput) ToBackupPlanBackupScheduleOutputWithContext ¶
func (o BackupPlanBackupScheduleOutput) ToBackupPlanBackupScheduleOutputWithContext(ctx context.Context) BackupPlanBackupScheduleOutput
func (BackupPlanBackupScheduleOutput) ToBackupPlanBackupSchedulePtrOutput ¶
func (o BackupPlanBackupScheduleOutput) ToBackupPlanBackupSchedulePtrOutput() BackupPlanBackupSchedulePtrOutput
func (BackupPlanBackupScheduleOutput) ToBackupPlanBackupSchedulePtrOutputWithContext ¶
func (o BackupPlanBackupScheduleOutput) ToBackupPlanBackupSchedulePtrOutputWithContext(ctx context.Context) BackupPlanBackupSchedulePtrOutput
func (BackupPlanBackupScheduleOutput) ToOutput ¶
func (o BackupPlanBackupScheduleOutput) ToOutput(ctx context.Context) pulumix.Output[BackupPlanBackupSchedule]
type BackupPlanBackupSchedulePtrInput ¶
type BackupPlanBackupSchedulePtrInput interface { pulumi.Input ToBackupPlanBackupSchedulePtrOutput() BackupPlanBackupSchedulePtrOutput ToBackupPlanBackupSchedulePtrOutputWithContext(context.Context) BackupPlanBackupSchedulePtrOutput }
BackupPlanBackupSchedulePtrInput is an input type that accepts BackupPlanBackupScheduleArgs, BackupPlanBackupSchedulePtr and BackupPlanBackupSchedulePtrOutput values. You can construct a concrete instance of `BackupPlanBackupSchedulePtrInput` via:
BackupPlanBackupScheduleArgs{...} or: nil
func BackupPlanBackupSchedulePtr ¶
func BackupPlanBackupSchedulePtr(v *BackupPlanBackupScheduleArgs) BackupPlanBackupSchedulePtrInput
type BackupPlanBackupSchedulePtrOutput ¶
type BackupPlanBackupSchedulePtrOutput struct{ *pulumi.OutputState }
func (BackupPlanBackupSchedulePtrOutput) CronSchedule ¶
func (o BackupPlanBackupSchedulePtrOutput) CronSchedule() pulumi.StringPtrOutput
A standard cron string that defines a repeating schedule for creating Backups via this BackupPlan. If this is defined, then backupRetainDays must also be defined.
func (BackupPlanBackupSchedulePtrOutput) Elem ¶
func (o BackupPlanBackupSchedulePtrOutput) Elem() BackupPlanBackupScheduleOutput
func (BackupPlanBackupSchedulePtrOutput) ElementType ¶
func (BackupPlanBackupSchedulePtrOutput) ElementType() reflect.Type
func (BackupPlanBackupSchedulePtrOutput) Paused ¶
func (o BackupPlanBackupSchedulePtrOutput) Paused() pulumi.BoolPtrOutput
This flag denotes whether automatic Backup creation is paused for this BackupPlan.
func (BackupPlanBackupSchedulePtrOutput) ToBackupPlanBackupSchedulePtrOutput ¶
func (o BackupPlanBackupSchedulePtrOutput) ToBackupPlanBackupSchedulePtrOutput() BackupPlanBackupSchedulePtrOutput
func (BackupPlanBackupSchedulePtrOutput) ToBackupPlanBackupSchedulePtrOutputWithContext ¶
func (o BackupPlanBackupSchedulePtrOutput) ToBackupPlanBackupSchedulePtrOutputWithContext(ctx context.Context) BackupPlanBackupSchedulePtrOutput
func (BackupPlanBackupSchedulePtrOutput) ToOutput ¶
func (o BackupPlanBackupSchedulePtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BackupPlanBackupSchedule]
type BackupPlanIamBinding ¶
type BackupPlanIamBinding struct { pulumi.CustomResourceState Condition BackupPlanIamBindingConditionPtrOutput `pulumi:"condition"` // (Computed) The etag of the IAM policy. Etag pulumi.StringOutput `pulumi:"etag"` // The region of the Backup Plan. // Used to find the parent resource to bind the IAM policy to Location pulumi.StringOutput `pulumi:"location"` Members pulumi.StringArrayOutput `pulumi:"members"` // Used to find the parent resource to bind the IAM policy to Name pulumi.StringOutput `pulumi:"name"` // 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. // // * `member/members` - (Required) 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" Project pulumi.StringOutput `pulumi:"project"` // The role that should be applied. Only one // `gkebackup.BackupPlanIamBinding` can be used per role. Note that custom roles must be of the format // `[projects|organizations]/{parent-name}/roles/{role-name}`. Role pulumi.StringOutput `pulumi:"role"` }
Three different resources help you manage your IAM policy for Backup for GKE BackupPlan. Each of these resources serves a different use case:
* `gkebackup.BackupPlanIamPolicy`: Authoritative. Sets the IAM policy for the backupplan and replaces any existing policy already attached. * `gkebackup.BackupPlanIamBinding`: 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 backupplan are preserved. * `gkebackup.BackupPlanIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the backupplan are preserved.
A data source can be used to retrieve policy data in advent you do not need creation ¶
* `gkebackup.BackupPlanIamPolicy`: Retrieves the IAM policy for the backupplan
> **Note:** `gkebackup.BackupPlanIamPolicy` **cannot** be used in conjunction with `gkebackup.BackupPlanIamBinding` and `gkebackup.BackupPlanIamMember` or they will fight over what your policy should be.
> **Note:** `gkebackup.BackupPlanIamBinding` resources **can be** used in conjunction with `gkebackup.BackupPlanIamMember` resources **only if** they do not grant privilege to the same role.
## google\_gke\_backup\_backup\_plan\_iam\_policy
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/gkebackup" "github.com/pulumi/pulumi-gcp/sdk/v7/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 = gkebackup.NewBackupPlanIamPolicy(ctx, "policy", &gkebackup.BackupPlanIamPolicyArgs{ Project: pulumi.Any(google_gke_backup_backup_plan.Basic.Project), Location: pulumi.Any(google_gke_backup_backup_plan.Basic.Location), PolicyData: *pulumi.String(admin.PolicyData), }) if err != nil { return err } return nil }) }
```
## google\_gke\_backup\_backup\_plan\_iam\_binding
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/gkebackup" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := gkebackup.NewBackupPlanIamBinding(ctx, "binding", &gkebackup.BackupPlanIamBindingArgs{ Project: pulumi.Any(google_gke_backup_backup_plan.Basic.Project), Location: pulumi.Any(google_gke_backup_backup_plan.Basic.Location), Role: pulumi.String("roles/viewer"), Members: pulumi.StringArray{ pulumi.String("user:jane@example.com"), }, }) if err != nil { return err } return nil }) }
```
## google\_gke\_backup\_backup\_plan\_iam\_member
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/gkebackup" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := gkebackup.NewBackupPlanIamMember(ctx, "member", &gkebackup.BackupPlanIamMemberArgs{ Project: pulumi.Any(google_gke_backup_backup_plan.Basic.Project), Location: pulumi.Any(google_gke_backup_backup_plan.Basic.Location), 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}}/backupPlans/{{name}} * {{project}}/{{location}}/{{name}} * {{location}}/{{name}} * {{name}} Any variables not passed in the import command will be taken from the provider configuration. Backup for GKE backupplan IAM resources can be imported using the resource identifiers, role, and member. IAM member imports use space-delimited identifiersthe resource in question, the role, and the member identity, e.g.
```sh
$ pulumi import gcp:gkebackup/backupPlanIamBinding:BackupPlanIamBinding editor "projects/{{project}}/locations/{{location}}/backupPlans/{{backup_plan}} roles/viewer user:jane@example.com"
```
IAM binding imports use space-delimited identifiersthe resource in question and the role, e.g.
```sh
$ pulumi import gcp:gkebackup/backupPlanIamBinding:BackupPlanIamBinding editor "projects/{{project}}/locations/{{location}}/backupPlans/{{backup_plan}} roles/viewer"
```
IAM policy imports use the identifier of the resource in question, e.g.
```sh
$ pulumi import gcp:gkebackup/backupPlanIamBinding:BackupPlanIamBinding editor projects/{{project}}/locations/{{location}}/backupPlans/{{backup_plan}}
```
-> **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 GetBackupPlanIamBinding ¶
func GetBackupPlanIamBinding(ctx *pulumi.Context, name string, id pulumi.IDInput, state *BackupPlanIamBindingState, opts ...pulumi.ResourceOption) (*BackupPlanIamBinding, error)
GetBackupPlanIamBinding gets an existing BackupPlanIamBinding 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 NewBackupPlanIamBinding ¶
func NewBackupPlanIamBinding(ctx *pulumi.Context, name string, args *BackupPlanIamBindingArgs, opts ...pulumi.ResourceOption) (*BackupPlanIamBinding, error)
NewBackupPlanIamBinding registers a new resource with the given unique name, arguments, and options.
func (*BackupPlanIamBinding) ElementType ¶
func (*BackupPlanIamBinding) ElementType() reflect.Type
func (*BackupPlanIamBinding) ToBackupPlanIamBindingOutput ¶
func (i *BackupPlanIamBinding) ToBackupPlanIamBindingOutput() BackupPlanIamBindingOutput
func (*BackupPlanIamBinding) ToBackupPlanIamBindingOutputWithContext ¶
func (i *BackupPlanIamBinding) ToBackupPlanIamBindingOutputWithContext(ctx context.Context) BackupPlanIamBindingOutput
func (*BackupPlanIamBinding) ToOutput ¶
func (i *BackupPlanIamBinding) ToOutput(ctx context.Context) pulumix.Output[*BackupPlanIamBinding]
type BackupPlanIamBindingArgs ¶
type BackupPlanIamBindingArgs struct { Condition BackupPlanIamBindingConditionPtrInput // The region of the Backup Plan. // Used to find the parent resource to bind the IAM policy to Location pulumi.StringPtrInput Members pulumi.StringArrayInput // Used to find the parent resource to bind the IAM policy to Name 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. // // * `member/members` - (Required) 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" Project pulumi.StringPtrInput // The role that should be applied. Only one // `gkebackup.BackupPlanIamBinding` can be used per role. Note that custom roles must be of the format // `[projects|organizations]/{parent-name}/roles/{role-name}`. Role pulumi.StringInput }
The set of arguments for constructing a BackupPlanIamBinding resource.
func (BackupPlanIamBindingArgs) ElementType ¶
func (BackupPlanIamBindingArgs) ElementType() reflect.Type
type BackupPlanIamBindingArray ¶
type BackupPlanIamBindingArray []BackupPlanIamBindingInput
func (BackupPlanIamBindingArray) ElementType ¶
func (BackupPlanIamBindingArray) ElementType() reflect.Type
func (BackupPlanIamBindingArray) ToBackupPlanIamBindingArrayOutput ¶
func (i BackupPlanIamBindingArray) ToBackupPlanIamBindingArrayOutput() BackupPlanIamBindingArrayOutput
func (BackupPlanIamBindingArray) ToBackupPlanIamBindingArrayOutputWithContext ¶
func (i BackupPlanIamBindingArray) ToBackupPlanIamBindingArrayOutputWithContext(ctx context.Context) BackupPlanIamBindingArrayOutput
func (BackupPlanIamBindingArray) ToOutput ¶
func (i BackupPlanIamBindingArray) ToOutput(ctx context.Context) pulumix.Output[[]*BackupPlanIamBinding]
type BackupPlanIamBindingArrayInput ¶
type BackupPlanIamBindingArrayInput interface { pulumi.Input ToBackupPlanIamBindingArrayOutput() BackupPlanIamBindingArrayOutput ToBackupPlanIamBindingArrayOutputWithContext(context.Context) BackupPlanIamBindingArrayOutput }
BackupPlanIamBindingArrayInput is an input type that accepts BackupPlanIamBindingArray and BackupPlanIamBindingArrayOutput values. You can construct a concrete instance of `BackupPlanIamBindingArrayInput` via:
BackupPlanIamBindingArray{ BackupPlanIamBindingArgs{...} }
type BackupPlanIamBindingArrayOutput ¶
type BackupPlanIamBindingArrayOutput struct{ *pulumi.OutputState }
func (BackupPlanIamBindingArrayOutput) ElementType ¶
func (BackupPlanIamBindingArrayOutput) ElementType() reflect.Type
func (BackupPlanIamBindingArrayOutput) Index ¶
func (o BackupPlanIamBindingArrayOutput) Index(i pulumi.IntInput) BackupPlanIamBindingOutput
func (BackupPlanIamBindingArrayOutput) ToBackupPlanIamBindingArrayOutput ¶
func (o BackupPlanIamBindingArrayOutput) ToBackupPlanIamBindingArrayOutput() BackupPlanIamBindingArrayOutput
func (BackupPlanIamBindingArrayOutput) ToBackupPlanIamBindingArrayOutputWithContext ¶
func (o BackupPlanIamBindingArrayOutput) ToBackupPlanIamBindingArrayOutputWithContext(ctx context.Context) BackupPlanIamBindingArrayOutput
func (BackupPlanIamBindingArrayOutput) ToOutput ¶
func (o BackupPlanIamBindingArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*BackupPlanIamBinding]
type BackupPlanIamBindingConditionArgs ¶
type BackupPlanIamBindingConditionArgs struct { Description pulumi.StringPtrInput `pulumi:"description"` Expression pulumi.StringInput `pulumi:"expression"` Title pulumi.StringInput `pulumi:"title"` }
func (BackupPlanIamBindingConditionArgs) ElementType ¶
func (BackupPlanIamBindingConditionArgs) ElementType() reflect.Type
func (BackupPlanIamBindingConditionArgs) ToBackupPlanIamBindingConditionOutput ¶
func (i BackupPlanIamBindingConditionArgs) ToBackupPlanIamBindingConditionOutput() BackupPlanIamBindingConditionOutput
func (BackupPlanIamBindingConditionArgs) ToBackupPlanIamBindingConditionOutputWithContext ¶
func (i BackupPlanIamBindingConditionArgs) ToBackupPlanIamBindingConditionOutputWithContext(ctx context.Context) BackupPlanIamBindingConditionOutput
func (BackupPlanIamBindingConditionArgs) ToBackupPlanIamBindingConditionPtrOutput ¶
func (i BackupPlanIamBindingConditionArgs) ToBackupPlanIamBindingConditionPtrOutput() BackupPlanIamBindingConditionPtrOutput
func (BackupPlanIamBindingConditionArgs) ToBackupPlanIamBindingConditionPtrOutputWithContext ¶
func (i BackupPlanIamBindingConditionArgs) ToBackupPlanIamBindingConditionPtrOutputWithContext(ctx context.Context) BackupPlanIamBindingConditionPtrOutput
func (BackupPlanIamBindingConditionArgs) ToOutput ¶
func (i BackupPlanIamBindingConditionArgs) ToOutput(ctx context.Context) pulumix.Output[BackupPlanIamBindingCondition]
type BackupPlanIamBindingConditionInput ¶
type BackupPlanIamBindingConditionInput interface { pulumi.Input ToBackupPlanIamBindingConditionOutput() BackupPlanIamBindingConditionOutput ToBackupPlanIamBindingConditionOutputWithContext(context.Context) BackupPlanIamBindingConditionOutput }
BackupPlanIamBindingConditionInput is an input type that accepts BackupPlanIamBindingConditionArgs and BackupPlanIamBindingConditionOutput values. You can construct a concrete instance of `BackupPlanIamBindingConditionInput` via:
BackupPlanIamBindingConditionArgs{...}
type BackupPlanIamBindingConditionOutput ¶
type BackupPlanIamBindingConditionOutput struct{ *pulumi.OutputState }
func (BackupPlanIamBindingConditionOutput) Description ¶
func (o BackupPlanIamBindingConditionOutput) Description() pulumi.StringPtrOutput
func (BackupPlanIamBindingConditionOutput) ElementType ¶
func (BackupPlanIamBindingConditionOutput) ElementType() reflect.Type
func (BackupPlanIamBindingConditionOutput) Expression ¶
func (o BackupPlanIamBindingConditionOutput) Expression() pulumi.StringOutput
func (BackupPlanIamBindingConditionOutput) Title ¶
func (o BackupPlanIamBindingConditionOutput) Title() pulumi.StringOutput
func (BackupPlanIamBindingConditionOutput) ToBackupPlanIamBindingConditionOutput ¶
func (o BackupPlanIamBindingConditionOutput) ToBackupPlanIamBindingConditionOutput() BackupPlanIamBindingConditionOutput
func (BackupPlanIamBindingConditionOutput) ToBackupPlanIamBindingConditionOutputWithContext ¶
func (o BackupPlanIamBindingConditionOutput) ToBackupPlanIamBindingConditionOutputWithContext(ctx context.Context) BackupPlanIamBindingConditionOutput
func (BackupPlanIamBindingConditionOutput) ToBackupPlanIamBindingConditionPtrOutput ¶
func (o BackupPlanIamBindingConditionOutput) ToBackupPlanIamBindingConditionPtrOutput() BackupPlanIamBindingConditionPtrOutput
func (BackupPlanIamBindingConditionOutput) ToBackupPlanIamBindingConditionPtrOutputWithContext ¶
func (o BackupPlanIamBindingConditionOutput) ToBackupPlanIamBindingConditionPtrOutputWithContext(ctx context.Context) BackupPlanIamBindingConditionPtrOutput
func (BackupPlanIamBindingConditionOutput) ToOutput ¶
func (o BackupPlanIamBindingConditionOutput) ToOutput(ctx context.Context) pulumix.Output[BackupPlanIamBindingCondition]
type BackupPlanIamBindingConditionPtrInput ¶
type BackupPlanIamBindingConditionPtrInput interface { pulumi.Input ToBackupPlanIamBindingConditionPtrOutput() BackupPlanIamBindingConditionPtrOutput ToBackupPlanIamBindingConditionPtrOutputWithContext(context.Context) BackupPlanIamBindingConditionPtrOutput }
BackupPlanIamBindingConditionPtrInput is an input type that accepts BackupPlanIamBindingConditionArgs, BackupPlanIamBindingConditionPtr and BackupPlanIamBindingConditionPtrOutput values. You can construct a concrete instance of `BackupPlanIamBindingConditionPtrInput` via:
BackupPlanIamBindingConditionArgs{...} or: nil
func BackupPlanIamBindingConditionPtr ¶
func BackupPlanIamBindingConditionPtr(v *BackupPlanIamBindingConditionArgs) BackupPlanIamBindingConditionPtrInput
type BackupPlanIamBindingConditionPtrOutput ¶
type BackupPlanIamBindingConditionPtrOutput struct{ *pulumi.OutputState }
func (BackupPlanIamBindingConditionPtrOutput) Description ¶
func (o BackupPlanIamBindingConditionPtrOutput) Description() pulumi.StringPtrOutput
func (BackupPlanIamBindingConditionPtrOutput) ElementType ¶
func (BackupPlanIamBindingConditionPtrOutput) ElementType() reflect.Type
func (BackupPlanIamBindingConditionPtrOutput) Expression ¶
func (o BackupPlanIamBindingConditionPtrOutput) Expression() pulumi.StringPtrOutput
func (BackupPlanIamBindingConditionPtrOutput) Title ¶
func (o BackupPlanIamBindingConditionPtrOutput) Title() pulumi.StringPtrOutput
func (BackupPlanIamBindingConditionPtrOutput) ToBackupPlanIamBindingConditionPtrOutput ¶
func (o BackupPlanIamBindingConditionPtrOutput) ToBackupPlanIamBindingConditionPtrOutput() BackupPlanIamBindingConditionPtrOutput
func (BackupPlanIamBindingConditionPtrOutput) ToBackupPlanIamBindingConditionPtrOutputWithContext ¶
func (o BackupPlanIamBindingConditionPtrOutput) ToBackupPlanIamBindingConditionPtrOutputWithContext(ctx context.Context) BackupPlanIamBindingConditionPtrOutput
func (BackupPlanIamBindingConditionPtrOutput) ToOutput ¶
func (o BackupPlanIamBindingConditionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BackupPlanIamBindingCondition]
type BackupPlanIamBindingInput ¶
type BackupPlanIamBindingInput interface { pulumi.Input ToBackupPlanIamBindingOutput() BackupPlanIamBindingOutput ToBackupPlanIamBindingOutputWithContext(ctx context.Context) BackupPlanIamBindingOutput }
type BackupPlanIamBindingMap ¶
type BackupPlanIamBindingMap map[string]BackupPlanIamBindingInput
func (BackupPlanIamBindingMap) ElementType ¶
func (BackupPlanIamBindingMap) ElementType() reflect.Type
func (BackupPlanIamBindingMap) ToBackupPlanIamBindingMapOutput ¶
func (i BackupPlanIamBindingMap) ToBackupPlanIamBindingMapOutput() BackupPlanIamBindingMapOutput
func (BackupPlanIamBindingMap) ToBackupPlanIamBindingMapOutputWithContext ¶
func (i BackupPlanIamBindingMap) ToBackupPlanIamBindingMapOutputWithContext(ctx context.Context) BackupPlanIamBindingMapOutput
func (BackupPlanIamBindingMap) ToOutput ¶
func (i BackupPlanIamBindingMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*BackupPlanIamBinding]
type BackupPlanIamBindingMapInput ¶
type BackupPlanIamBindingMapInput interface { pulumi.Input ToBackupPlanIamBindingMapOutput() BackupPlanIamBindingMapOutput ToBackupPlanIamBindingMapOutputWithContext(context.Context) BackupPlanIamBindingMapOutput }
BackupPlanIamBindingMapInput is an input type that accepts BackupPlanIamBindingMap and BackupPlanIamBindingMapOutput values. You can construct a concrete instance of `BackupPlanIamBindingMapInput` via:
BackupPlanIamBindingMap{ "key": BackupPlanIamBindingArgs{...} }
type BackupPlanIamBindingMapOutput ¶
type BackupPlanIamBindingMapOutput struct{ *pulumi.OutputState }
func (BackupPlanIamBindingMapOutput) ElementType ¶
func (BackupPlanIamBindingMapOutput) ElementType() reflect.Type
func (BackupPlanIamBindingMapOutput) MapIndex ¶
func (o BackupPlanIamBindingMapOutput) MapIndex(k pulumi.StringInput) BackupPlanIamBindingOutput
func (BackupPlanIamBindingMapOutput) ToBackupPlanIamBindingMapOutput ¶
func (o BackupPlanIamBindingMapOutput) ToBackupPlanIamBindingMapOutput() BackupPlanIamBindingMapOutput
func (BackupPlanIamBindingMapOutput) ToBackupPlanIamBindingMapOutputWithContext ¶
func (o BackupPlanIamBindingMapOutput) ToBackupPlanIamBindingMapOutputWithContext(ctx context.Context) BackupPlanIamBindingMapOutput
func (BackupPlanIamBindingMapOutput) ToOutput ¶
func (o BackupPlanIamBindingMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*BackupPlanIamBinding]
type BackupPlanIamBindingOutput ¶
type BackupPlanIamBindingOutput struct{ *pulumi.OutputState }
func (BackupPlanIamBindingOutput) Condition ¶
func (o BackupPlanIamBindingOutput) Condition() BackupPlanIamBindingConditionPtrOutput
func (BackupPlanIamBindingOutput) ElementType ¶
func (BackupPlanIamBindingOutput) ElementType() reflect.Type
func (BackupPlanIamBindingOutput) Etag ¶
func (o BackupPlanIamBindingOutput) Etag() pulumi.StringOutput
(Computed) The etag of the IAM policy.
func (BackupPlanIamBindingOutput) Location ¶
func (o BackupPlanIamBindingOutput) Location() pulumi.StringOutput
The region of the Backup Plan. Used to find the parent resource to bind the IAM policy to
func (BackupPlanIamBindingOutput) Members ¶
func (o BackupPlanIamBindingOutput) Members() pulumi.StringArrayOutput
func (BackupPlanIamBindingOutput) Name ¶
func (o BackupPlanIamBindingOutput) Name() pulumi.StringOutput
Used to find the parent resource to bind the IAM policy to
func (BackupPlanIamBindingOutput) Project ¶
func (o BackupPlanIamBindingOutput) 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.
- `member/members` - (Required) 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 (BackupPlanIamBindingOutput) Role ¶
func (o BackupPlanIamBindingOutput) Role() pulumi.StringOutput
The role that should be applied. Only one `gkebackup.BackupPlanIamBinding` can be used per role. Note that custom roles must be of the format `[projects|organizations]/{parent-name}/roles/{role-name}`.
func (BackupPlanIamBindingOutput) ToBackupPlanIamBindingOutput ¶
func (o BackupPlanIamBindingOutput) ToBackupPlanIamBindingOutput() BackupPlanIamBindingOutput
func (BackupPlanIamBindingOutput) ToBackupPlanIamBindingOutputWithContext ¶
func (o BackupPlanIamBindingOutput) ToBackupPlanIamBindingOutputWithContext(ctx context.Context) BackupPlanIamBindingOutput
func (BackupPlanIamBindingOutput) ToOutput ¶
func (o BackupPlanIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*BackupPlanIamBinding]
type BackupPlanIamBindingState ¶
type BackupPlanIamBindingState struct { Condition BackupPlanIamBindingConditionPtrInput // (Computed) The etag of the IAM policy. Etag pulumi.StringPtrInput // The region of the Backup Plan. // Used to find the parent resource to bind the IAM policy to Location pulumi.StringPtrInput Members pulumi.StringArrayInput // Used to find the parent resource to bind the IAM policy to Name 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. // // * `member/members` - (Required) 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" Project pulumi.StringPtrInput // The role that should be applied. Only one // `gkebackup.BackupPlanIamBinding` can be used per role. Note that custom roles must be of the format // `[projects|organizations]/{parent-name}/roles/{role-name}`. Role pulumi.StringPtrInput }
func (BackupPlanIamBindingState) ElementType ¶
func (BackupPlanIamBindingState) ElementType() reflect.Type
type BackupPlanIamMember ¶
type BackupPlanIamMember struct { pulumi.CustomResourceState Condition BackupPlanIamMemberConditionPtrOutput `pulumi:"condition"` // (Computed) The etag of the IAM policy. Etag pulumi.StringOutput `pulumi:"etag"` // The region of the Backup Plan. // Used to find the parent resource to bind the IAM policy to Location pulumi.StringOutput `pulumi:"location"` Member pulumi.StringOutput `pulumi:"member"` // Used to find the parent resource to bind the IAM policy to Name pulumi.StringOutput `pulumi:"name"` // 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. // // * `member/members` - (Required) 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" Project pulumi.StringOutput `pulumi:"project"` // The role that should be applied. Only one // `gkebackup.BackupPlanIamBinding` can be used per role. Note that custom roles must be of the format // `[projects|organizations]/{parent-name}/roles/{role-name}`. Role pulumi.StringOutput `pulumi:"role"` }
Three different resources help you manage your IAM policy for Backup for GKE BackupPlan. Each of these resources serves a different use case:
* `gkebackup.BackupPlanIamPolicy`: Authoritative. Sets the IAM policy for the backupplan and replaces any existing policy already attached. * `gkebackup.BackupPlanIamBinding`: 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 backupplan are preserved. * `gkebackup.BackupPlanIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the backupplan are preserved.
A data source can be used to retrieve policy data in advent you do not need creation ¶
* `gkebackup.BackupPlanIamPolicy`: Retrieves the IAM policy for the backupplan
> **Note:** `gkebackup.BackupPlanIamPolicy` **cannot** be used in conjunction with `gkebackup.BackupPlanIamBinding` and `gkebackup.BackupPlanIamMember` or they will fight over what your policy should be.
> **Note:** `gkebackup.BackupPlanIamBinding` resources **can be** used in conjunction with `gkebackup.BackupPlanIamMember` resources **only if** they do not grant privilege to the same role.
## google\_gke\_backup\_backup\_plan\_iam\_policy
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/gkebackup" "github.com/pulumi/pulumi-gcp/sdk/v7/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 = gkebackup.NewBackupPlanIamPolicy(ctx, "policy", &gkebackup.BackupPlanIamPolicyArgs{ Project: pulumi.Any(google_gke_backup_backup_plan.Basic.Project), Location: pulumi.Any(google_gke_backup_backup_plan.Basic.Location), PolicyData: *pulumi.String(admin.PolicyData), }) if err != nil { return err } return nil }) }
```
## google\_gke\_backup\_backup\_plan\_iam\_binding
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/gkebackup" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := gkebackup.NewBackupPlanIamBinding(ctx, "binding", &gkebackup.BackupPlanIamBindingArgs{ Project: pulumi.Any(google_gke_backup_backup_plan.Basic.Project), Location: pulumi.Any(google_gke_backup_backup_plan.Basic.Location), Role: pulumi.String("roles/viewer"), Members: pulumi.StringArray{ pulumi.String("user:jane@example.com"), }, }) if err != nil { return err } return nil }) }
```
## google\_gke\_backup\_backup\_plan\_iam\_member
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/gkebackup" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := gkebackup.NewBackupPlanIamMember(ctx, "member", &gkebackup.BackupPlanIamMemberArgs{ Project: pulumi.Any(google_gke_backup_backup_plan.Basic.Project), Location: pulumi.Any(google_gke_backup_backup_plan.Basic.Location), 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}}/backupPlans/{{name}} * {{project}}/{{location}}/{{name}} * {{location}}/{{name}} * {{name}} Any variables not passed in the import command will be taken from the provider configuration. Backup for GKE backupplan IAM resources can be imported using the resource identifiers, role, and member. IAM member imports use space-delimited identifiersthe resource in question, the role, and the member identity, e.g.
```sh
$ pulumi import gcp:gkebackup/backupPlanIamMember:BackupPlanIamMember editor "projects/{{project}}/locations/{{location}}/backupPlans/{{backup_plan}} roles/viewer user:jane@example.com"
```
IAM binding imports use space-delimited identifiersthe resource in question and the role, e.g.
```sh
$ pulumi import gcp:gkebackup/backupPlanIamMember:BackupPlanIamMember editor "projects/{{project}}/locations/{{location}}/backupPlans/{{backup_plan}} roles/viewer"
```
IAM policy imports use the identifier of the resource in question, e.g.
```sh
$ pulumi import gcp:gkebackup/backupPlanIamMember:BackupPlanIamMember editor projects/{{project}}/locations/{{location}}/backupPlans/{{backup_plan}}
```
-> **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 GetBackupPlanIamMember ¶
func GetBackupPlanIamMember(ctx *pulumi.Context, name string, id pulumi.IDInput, state *BackupPlanIamMemberState, opts ...pulumi.ResourceOption) (*BackupPlanIamMember, error)
GetBackupPlanIamMember gets an existing BackupPlanIamMember 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 NewBackupPlanIamMember ¶
func NewBackupPlanIamMember(ctx *pulumi.Context, name string, args *BackupPlanIamMemberArgs, opts ...pulumi.ResourceOption) (*BackupPlanIamMember, error)
NewBackupPlanIamMember registers a new resource with the given unique name, arguments, and options.
func (*BackupPlanIamMember) ElementType ¶
func (*BackupPlanIamMember) ElementType() reflect.Type
func (*BackupPlanIamMember) ToBackupPlanIamMemberOutput ¶
func (i *BackupPlanIamMember) ToBackupPlanIamMemberOutput() BackupPlanIamMemberOutput
func (*BackupPlanIamMember) ToBackupPlanIamMemberOutputWithContext ¶
func (i *BackupPlanIamMember) ToBackupPlanIamMemberOutputWithContext(ctx context.Context) BackupPlanIamMemberOutput
func (*BackupPlanIamMember) ToOutput ¶
func (i *BackupPlanIamMember) ToOutput(ctx context.Context) pulumix.Output[*BackupPlanIamMember]
type BackupPlanIamMemberArgs ¶
type BackupPlanIamMemberArgs struct { Condition BackupPlanIamMemberConditionPtrInput // The region of the Backup Plan. // Used to find the parent resource to bind the IAM policy to Location pulumi.StringPtrInput Member pulumi.StringInput // Used to find the parent resource to bind the IAM policy to Name 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. // // * `member/members` - (Required) 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" Project pulumi.StringPtrInput // The role that should be applied. Only one // `gkebackup.BackupPlanIamBinding` can be used per role. Note that custom roles must be of the format // `[projects|organizations]/{parent-name}/roles/{role-name}`. Role pulumi.StringInput }
The set of arguments for constructing a BackupPlanIamMember resource.
func (BackupPlanIamMemberArgs) ElementType ¶
func (BackupPlanIamMemberArgs) ElementType() reflect.Type
type BackupPlanIamMemberArray ¶
type BackupPlanIamMemberArray []BackupPlanIamMemberInput
func (BackupPlanIamMemberArray) ElementType ¶
func (BackupPlanIamMemberArray) ElementType() reflect.Type
func (BackupPlanIamMemberArray) ToBackupPlanIamMemberArrayOutput ¶
func (i BackupPlanIamMemberArray) ToBackupPlanIamMemberArrayOutput() BackupPlanIamMemberArrayOutput
func (BackupPlanIamMemberArray) ToBackupPlanIamMemberArrayOutputWithContext ¶
func (i BackupPlanIamMemberArray) ToBackupPlanIamMemberArrayOutputWithContext(ctx context.Context) BackupPlanIamMemberArrayOutput
func (BackupPlanIamMemberArray) ToOutput ¶
func (i BackupPlanIamMemberArray) ToOutput(ctx context.Context) pulumix.Output[[]*BackupPlanIamMember]
type BackupPlanIamMemberArrayInput ¶
type BackupPlanIamMemberArrayInput interface { pulumi.Input ToBackupPlanIamMemberArrayOutput() BackupPlanIamMemberArrayOutput ToBackupPlanIamMemberArrayOutputWithContext(context.Context) BackupPlanIamMemberArrayOutput }
BackupPlanIamMemberArrayInput is an input type that accepts BackupPlanIamMemberArray and BackupPlanIamMemberArrayOutput values. You can construct a concrete instance of `BackupPlanIamMemberArrayInput` via:
BackupPlanIamMemberArray{ BackupPlanIamMemberArgs{...} }
type BackupPlanIamMemberArrayOutput ¶
type BackupPlanIamMemberArrayOutput struct{ *pulumi.OutputState }
func (BackupPlanIamMemberArrayOutput) ElementType ¶
func (BackupPlanIamMemberArrayOutput) ElementType() reflect.Type
func (BackupPlanIamMemberArrayOutput) Index ¶
func (o BackupPlanIamMemberArrayOutput) Index(i pulumi.IntInput) BackupPlanIamMemberOutput
func (BackupPlanIamMemberArrayOutput) ToBackupPlanIamMemberArrayOutput ¶
func (o BackupPlanIamMemberArrayOutput) ToBackupPlanIamMemberArrayOutput() BackupPlanIamMemberArrayOutput
func (BackupPlanIamMemberArrayOutput) ToBackupPlanIamMemberArrayOutputWithContext ¶
func (o BackupPlanIamMemberArrayOutput) ToBackupPlanIamMemberArrayOutputWithContext(ctx context.Context) BackupPlanIamMemberArrayOutput
func (BackupPlanIamMemberArrayOutput) ToOutput ¶
func (o BackupPlanIamMemberArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*BackupPlanIamMember]
type BackupPlanIamMemberConditionArgs ¶
type BackupPlanIamMemberConditionArgs struct { Description pulumi.StringPtrInput `pulumi:"description"` Expression pulumi.StringInput `pulumi:"expression"` Title pulumi.StringInput `pulumi:"title"` }
func (BackupPlanIamMemberConditionArgs) ElementType ¶
func (BackupPlanIamMemberConditionArgs) ElementType() reflect.Type
func (BackupPlanIamMemberConditionArgs) ToBackupPlanIamMemberConditionOutput ¶
func (i BackupPlanIamMemberConditionArgs) ToBackupPlanIamMemberConditionOutput() BackupPlanIamMemberConditionOutput
func (BackupPlanIamMemberConditionArgs) ToBackupPlanIamMemberConditionOutputWithContext ¶
func (i BackupPlanIamMemberConditionArgs) ToBackupPlanIamMemberConditionOutputWithContext(ctx context.Context) BackupPlanIamMemberConditionOutput
func (BackupPlanIamMemberConditionArgs) ToBackupPlanIamMemberConditionPtrOutput ¶
func (i BackupPlanIamMemberConditionArgs) ToBackupPlanIamMemberConditionPtrOutput() BackupPlanIamMemberConditionPtrOutput
func (BackupPlanIamMemberConditionArgs) ToBackupPlanIamMemberConditionPtrOutputWithContext ¶
func (i BackupPlanIamMemberConditionArgs) ToBackupPlanIamMemberConditionPtrOutputWithContext(ctx context.Context) BackupPlanIamMemberConditionPtrOutput
func (BackupPlanIamMemberConditionArgs) ToOutput ¶
func (i BackupPlanIamMemberConditionArgs) ToOutput(ctx context.Context) pulumix.Output[BackupPlanIamMemberCondition]
type BackupPlanIamMemberConditionInput ¶
type BackupPlanIamMemberConditionInput interface { pulumi.Input ToBackupPlanIamMemberConditionOutput() BackupPlanIamMemberConditionOutput ToBackupPlanIamMemberConditionOutputWithContext(context.Context) BackupPlanIamMemberConditionOutput }
BackupPlanIamMemberConditionInput is an input type that accepts BackupPlanIamMemberConditionArgs and BackupPlanIamMemberConditionOutput values. You can construct a concrete instance of `BackupPlanIamMemberConditionInput` via:
BackupPlanIamMemberConditionArgs{...}
type BackupPlanIamMemberConditionOutput ¶
type BackupPlanIamMemberConditionOutput struct{ *pulumi.OutputState }
func (BackupPlanIamMemberConditionOutput) Description ¶
func (o BackupPlanIamMemberConditionOutput) Description() pulumi.StringPtrOutput
func (BackupPlanIamMemberConditionOutput) ElementType ¶
func (BackupPlanIamMemberConditionOutput) ElementType() reflect.Type
func (BackupPlanIamMemberConditionOutput) Expression ¶
func (o BackupPlanIamMemberConditionOutput) Expression() pulumi.StringOutput
func (BackupPlanIamMemberConditionOutput) Title ¶
func (o BackupPlanIamMemberConditionOutput) Title() pulumi.StringOutput
func (BackupPlanIamMemberConditionOutput) ToBackupPlanIamMemberConditionOutput ¶
func (o BackupPlanIamMemberConditionOutput) ToBackupPlanIamMemberConditionOutput() BackupPlanIamMemberConditionOutput
func (BackupPlanIamMemberConditionOutput) ToBackupPlanIamMemberConditionOutputWithContext ¶
func (o BackupPlanIamMemberConditionOutput) ToBackupPlanIamMemberConditionOutputWithContext(ctx context.Context) BackupPlanIamMemberConditionOutput
func (BackupPlanIamMemberConditionOutput) ToBackupPlanIamMemberConditionPtrOutput ¶
func (o BackupPlanIamMemberConditionOutput) ToBackupPlanIamMemberConditionPtrOutput() BackupPlanIamMemberConditionPtrOutput
func (BackupPlanIamMemberConditionOutput) ToBackupPlanIamMemberConditionPtrOutputWithContext ¶
func (o BackupPlanIamMemberConditionOutput) ToBackupPlanIamMemberConditionPtrOutputWithContext(ctx context.Context) BackupPlanIamMemberConditionPtrOutput
func (BackupPlanIamMemberConditionOutput) ToOutput ¶
func (o BackupPlanIamMemberConditionOutput) ToOutput(ctx context.Context) pulumix.Output[BackupPlanIamMemberCondition]
type BackupPlanIamMemberConditionPtrInput ¶
type BackupPlanIamMemberConditionPtrInput interface { pulumi.Input ToBackupPlanIamMemberConditionPtrOutput() BackupPlanIamMemberConditionPtrOutput ToBackupPlanIamMemberConditionPtrOutputWithContext(context.Context) BackupPlanIamMemberConditionPtrOutput }
BackupPlanIamMemberConditionPtrInput is an input type that accepts BackupPlanIamMemberConditionArgs, BackupPlanIamMemberConditionPtr and BackupPlanIamMemberConditionPtrOutput values. You can construct a concrete instance of `BackupPlanIamMemberConditionPtrInput` via:
BackupPlanIamMemberConditionArgs{...} or: nil
func BackupPlanIamMemberConditionPtr ¶
func BackupPlanIamMemberConditionPtr(v *BackupPlanIamMemberConditionArgs) BackupPlanIamMemberConditionPtrInput
type BackupPlanIamMemberConditionPtrOutput ¶
type BackupPlanIamMemberConditionPtrOutput struct{ *pulumi.OutputState }
func (BackupPlanIamMemberConditionPtrOutput) Description ¶
func (o BackupPlanIamMemberConditionPtrOutput) Description() pulumi.StringPtrOutput
func (BackupPlanIamMemberConditionPtrOutput) ElementType ¶
func (BackupPlanIamMemberConditionPtrOutput) ElementType() reflect.Type
func (BackupPlanIamMemberConditionPtrOutput) Expression ¶
func (o BackupPlanIamMemberConditionPtrOutput) Expression() pulumi.StringPtrOutput
func (BackupPlanIamMemberConditionPtrOutput) Title ¶
func (o BackupPlanIamMemberConditionPtrOutput) Title() pulumi.StringPtrOutput
func (BackupPlanIamMemberConditionPtrOutput) ToBackupPlanIamMemberConditionPtrOutput ¶
func (o BackupPlanIamMemberConditionPtrOutput) ToBackupPlanIamMemberConditionPtrOutput() BackupPlanIamMemberConditionPtrOutput
func (BackupPlanIamMemberConditionPtrOutput) ToBackupPlanIamMemberConditionPtrOutputWithContext ¶
func (o BackupPlanIamMemberConditionPtrOutput) ToBackupPlanIamMemberConditionPtrOutputWithContext(ctx context.Context) BackupPlanIamMemberConditionPtrOutput
func (BackupPlanIamMemberConditionPtrOutput) ToOutput ¶
func (o BackupPlanIamMemberConditionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BackupPlanIamMemberCondition]
type BackupPlanIamMemberInput ¶
type BackupPlanIamMemberInput interface { pulumi.Input ToBackupPlanIamMemberOutput() BackupPlanIamMemberOutput ToBackupPlanIamMemberOutputWithContext(ctx context.Context) BackupPlanIamMemberOutput }
type BackupPlanIamMemberMap ¶
type BackupPlanIamMemberMap map[string]BackupPlanIamMemberInput
func (BackupPlanIamMemberMap) ElementType ¶
func (BackupPlanIamMemberMap) ElementType() reflect.Type
func (BackupPlanIamMemberMap) ToBackupPlanIamMemberMapOutput ¶
func (i BackupPlanIamMemberMap) ToBackupPlanIamMemberMapOutput() BackupPlanIamMemberMapOutput
func (BackupPlanIamMemberMap) ToBackupPlanIamMemberMapOutputWithContext ¶
func (i BackupPlanIamMemberMap) ToBackupPlanIamMemberMapOutputWithContext(ctx context.Context) BackupPlanIamMemberMapOutput
func (BackupPlanIamMemberMap) ToOutput ¶
func (i BackupPlanIamMemberMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*BackupPlanIamMember]
type BackupPlanIamMemberMapInput ¶
type BackupPlanIamMemberMapInput interface { pulumi.Input ToBackupPlanIamMemberMapOutput() BackupPlanIamMemberMapOutput ToBackupPlanIamMemberMapOutputWithContext(context.Context) BackupPlanIamMemberMapOutput }
BackupPlanIamMemberMapInput is an input type that accepts BackupPlanIamMemberMap and BackupPlanIamMemberMapOutput values. You can construct a concrete instance of `BackupPlanIamMemberMapInput` via:
BackupPlanIamMemberMap{ "key": BackupPlanIamMemberArgs{...} }
type BackupPlanIamMemberMapOutput ¶
type BackupPlanIamMemberMapOutput struct{ *pulumi.OutputState }
func (BackupPlanIamMemberMapOutput) ElementType ¶
func (BackupPlanIamMemberMapOutput) ElementType() reflect.Type
func (BackupPlanIamMemberMapOutput) MapIndex ¶
func (o BackupPlanIamMemberMapOutput) MapIndex(k pulumi.StringInput) BackupPlanIamMemberOutput
func (BackupPlanIamMemberMapOutput) ToBackupPlanIamMemberMapOutput ¶
func (o BackupPlanIamMemberMapOutput) ToBackupPlanIamMemberMapOutput() BackupPlanIamMemberMapOutput
func (BackupPlanIamMemberMapOutput) ToBackupPlanIamMemberMapOutputWithContext ¶
func (o BackupPlanIamMemberMapOutput) ToBackupPlanIamMemberMapOutputWithContext(ctx context.Context) BackupPlanIamMemberMapOutput
func (BackupPlanIamMemberMapOutput) ToOutput ¶
func (o BackupPlanIamMemberMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*BackupPlanIamMember]
type BackupPlanIamMemberOutput ¶
type BackupPlanIamMemberOutput struct{ *pulumi.OutputState }
func (BackupPlanIamMemberOutput) Condition ¶
func (o BackupPlanIamMemberOutput) Condition() BackupPlanIamMemberConditionPtrOutput
func (BackupPlanIamMemberOutput) ElementType ¶
func (BackupPlanIamMemberOutput) ElementType() reflect.Type
func (BackupPlanIamMemberOutput) Etag ¶
func (o BackupPlanIamMemberOutput) Etag() pulumi.StringOutput
(Computed) The etag of the IAM policy.
func (BackupPlanIamMemberOutput) Location ¶
func (o BackupPlanIamMemberOutput) Location() pulumi.StringOutput
The region of the Backup Plan. Used to find the parent resource to bind the IAM policy to
func (BackupPlanIamMemberOutput) Member ¶
func (o BackupPlanIamMemberOutput) Member() pulumi.StringOutput
func (BackupPlanIamMemberOutput) Name ¶
func (o BackupPlanIamMemberOutput) Name() pulumi.StringOutput
Used to find the parent resource to bind the IAM policy to
func (BackupPlanIamMemberOutput) Project ¶
func (o BackupPlanIamMemberOutput) 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.
- `member/members` - (Required) 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 (BackupPlanIamMemberOutput) Role ¶
func (o BackupPlanIamMemberOutput) Role() pulumi.StringOutput
The role that should be applied. Only one `gkebackup.BackupPlanIamBinding` can be used per role. Note that custom roles must be of the format `[projects|organizations]/{parent-name}/roles/{role-name}`.
func (BackupPlanIamMemberOutput) ToBackupPlanIamMemberOutput ¶
func (o BackupPlanIamMemberOutput) ToBackupPlanIamMemberOutput() BackupPlanIamMemberOutput
func (BackupPlanIamMemberOutput) ToBackupPlanIamMemberOutputWithContext ¶
func (o BackupPlanIamMemberOutput) ToBackupPlanIamMemberOutputWithContext(ctx context.Context) BackupPlanIamMemberOutput
func (BackupPlanIamMemberOutput) ToOutput ¶
func (o BackupPlanIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*BackupPlanIamMember]
type BackupPlanIamMemberState ¶
type BackupPlanIamMemberState struct { Condition BackupPlanIamMemberConditionPtrInput // (Computed) The etag of the IAM policy. Etag pulumi.StringPtrInput // The region of the Backup Plan. // Used to find the parent resource to bind the IAM policy to Location pulumi.StringPtrInput Member pulumi.StringPtrInput // Used to find the parent resource to bind the IAM policy to Name 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. // // * `member/members` - (Required) 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" Project pulumi.StringPtrInput // The role that should be applied. Only one // `gkebackup.BackupPlanIamBinding` can be used per role. Note that custom roles must be of the format // `[projects|organizations]/{parent-name}/roles/{role-name}`. Role pulumi.StringPtrInput }
func (BackupPlanIamMemberState) ElementType ¶
func (BackupPlanIamMemberState) ElementType() reflect.Type
type BackupPlanIamPolicy ¶
type BackupPlanIamPolicy struct { pulumi.CustomResourceState // (Computed) The etag of the IAM policy. Etag pulumi.StringOutput `pulumi:"etag"` // The region of the Backup Plan. // Used to find the parent resource to bind the IAM policy to Location pulumi.StringOutput `pulumi:"location"` // Used to find the parent resource to bind the IAM policy to Name pulumi.StringOutput `pulumi:"name"` // 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. // // * `member/members` - (Required) 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" Project pulumi.StringOutput `pulumi:"project"` }
Three different resources help you manage your IAM policy for Backup for GKE BackupPlan. Each of these resources serves a different use case:
* `gkebackup.BackupPlanIamPolicy`: Authoritative. Sets the IAM policy for the backupplan and replaces any existing policy already attached. * `gkebackup.BackupPlanIamBinding`: 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 backupplan are preserved. * `gkebackup.BackupPlanIamMember`: Non-authoritative. Updates the IAM policy to grant a role to a new member. Other members for the role for the backupplan are preserved.
A data source can be used to retrieve policy data in advent you do not need creation ¶
* `gkebackup.BackupPlanIamPolicy`: Retrieves the IAM policy for the backupplan
> **Note:** `gkebackup.BackupPlanIamPolicy` **cannot** be used in conjunction with `gkebackup.BackupPlanIamBinding` and `gkebackup.BackupPlanIamMember` or they will fight over what your policy should be.
> **Note:** `gkebackup.BackupPlanIamBinding` resources **can be** used in conjunction with `gkebackup.BackupPlanIamMember` resources **only if** they do not grant privilege to the same role.
## google\_gke\_backup\_backup\_plan\_iam\_policy
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/gkebackup" "github.com/pulumi/pulumi-gcp/sdk/v7/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 = gkebackup.NewBackupPlanIamPolicy(ctx, "policy", &gkebackup.BackupPlanIamPolicyArgs{ Project: pulumi.Any(google_gke_backup_backup_plan.Basic.Project), Location: pulumi.Any(google_gke_backup_backup_plan.Basic.Location), PolicyData: *pulumi.String(admin.PolicyData), }) if err != nil { return err } return nil }) }
```
## google\_gke\_backup\_backup\_plan\_iam\_binding
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/gkebackup" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := gkebackup.NewBackupPlanIamBinding(ctx, "binding", &gkebackup.BackupPlanIamBindingArgs{ Project: pulumi.Any(google_gke_backup_backup_plan.Basic.Project), Location: pulumi.Any(google_gke_backup_backup_plan.Basic.Location), Role: pulumi.String("roles/viewer"), Members: pulumi.StringArray{ pulumi.String("user:jane@example.com"), }, }) if err != nil { return err } return nil }) }
```
## google\_gke\_backup\_backup\_plan\_iam\_member
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/gkebackup" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := gkebackup.NewBackupPlanIamMember(ctx, "member", &gkebackup.BackupPlanIamMemberArgs{ Project: pulumi.Any(google_gke_backup_backup_plan.Basic.Project), Location: pulumi.Any(google_gke_backup_backup_plan.Basic.Location), 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}}/backupPlans/{{name}} * {{project}}/{{location}}/{{name}} * {{location}}/{{name}} * {{name}} Any variables not passed in the import command will be taken from the provider configuration. Backup for GKE backupplan IAM resources can be imported using the resource identifiers, role, and member. IAM member imports use space-delimited identifiersthe resource in question, the role, and the member identity, e.g.
```sh
$ pulumi import gcp:gkebackup/backupPlanIamPolicy:BackupPlanIamPolicy editor "projects/{{project}}/locations/{{location}}/backupPlans/{{backup_plan}} roles/viewer user:jane@example.com"
```
IAM binding imports use space-delimited identifiersthe resource in question and the role, e.g.
```sh
$ pulumi import gcp:gkebackup/backupPlanIamPolicy:BackupPlanIamPolicy editor "projects/{{project}}/locations/{{location}}/backupPlans/{{backup_plan}} roles/viewer"
```
IAM policy imports use the identifier of the resource in question, e.g.
```sh
$ pulumi import gcp:gkebackup/backupPlanIamPolicy:BackupPlanIamPolicy editor projects/{{project}}/locations/{{location}}/backupPlans/{{backup_plan}}
```
-> **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 GetBackupPlanIamPolicy ¶
func GetBackupPlanIamPolicy(ctx *pulumi.Context, name string, id pulumi.IDInput, state *BackupPlanIamPolicyState, opts ...pulumi.ResourceOption) (*BackupPlanIamPolicy, error)
GetBackupPlanIamPolicy gets an existing BackupPlanIamPolicy 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 NewBackupPlanIamPolicy ¶
func NewBackupPlanIamPolicy(ctx *pulumi.Context, name string, args *BackupPlanIamPolicyArgs, opts ...pulumi.ResourceOption) (*BackupPlanIamPolicy, error)
NewBackupPlanIamPolicy registers a new resource with the given unique name, arguments, and options.
func (*BackupPlanIamPolicy) ElementType ¶
func (*BackupPlanIamPolicy) ElementType() reflect.Type
func (*BackupPlanIamPolicy) ToBackupPlanIamPolicyOutput ¶
func (i *BackupPlanIamPolicy) ToBackupPlanIamPolicyOutput() BackupPlanIamPolicyOutput
func (*BackupPlanIamPolicy) ToBackupPlanIamPolicyOutputWithContext ¶
func (i *BackupPlanIamPolicy) ToBackupPlanIamPolicyOutputWithContext(ctx context.Context) BackupPlanIamPolicyOutput
func (*BackupPlanIamPolicy) ToOutput ¶
func (i *BackupPlanIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*BackupPlanIamPolicy]
type BackupPlanIamPolicyArgs ¶
type BackupPlanIamPolicyArgs struct { // The region of the Backup Plan. // Used to find the parent resource to bind the IAM policy to Location pulumi.StringPtrInput // Used to find the parent resource to bind the IAM policy to Name 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. // // * `member/members` - (Required) 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" Project pulumi.StringPtrInput }
The set of arguments for constructing a BackupPlanIamPolicy resource.
func (BackupPlanIamPolicyArgs) ElementType ¶
func (BackupPlanIamPolicyArgs) ElementType() reflect.Type
type BackupPlanIamPolicyArray ¶
type BackupPlanIamPolicyArray []BackupPlanIamPolicyInput
func (BackupPlanIamPolicyArray) ElementType ¶
func (BackupPlanIamPolicyArray) ElementType() reflect.Type
func (BackupPlanIamPolicyArray) ToBackupPlanIamPolicyArrayOutput ¶
func (i BackupPlanIamPolicyArray) ToBackupPlanIamPolicyArrayOutput() BackupPlanIamPolicyArrayOutput
func (BackupPlanIamPolicyArray) ToBackupPlanIamPolicyArrayOutputWithContext ¶
func (i BackupPlanIamPolicyArray) ToBackupPlanIamPolicyArrayOutputWithContext(ctx context.Context) BackupPlanIamPolicyArrayOutput
func (BackupPlanIamPolicyArray) ToOutput ¶
func (i BackupPlanIamPolicyArray) ToOutput(ctx context.Context) pulumix.Output[[]*BackupPlanIamPolicy]
type BackupPlanIamPolicyArrayInput ¶
type BackupPlanIamPolicyArrayInput interface { pulumi.Input ToBackupPlanIamPolicyArrayOutput() BackupPlanIamPolicyArrayOutput ToBackupPlanIamPolicyArrayOutputWithContext(context.Context) BackupPlanIamPolicyArrayOutput }
BackupPlanIamPolicyArrayInput is an input type that accepts BackupPlanIamPolicyArray and BackupPlanIamPolicyArrayOutput values. You can construct a concrete instance of `BackupPlanIamPolicyArrayInput` via:
BackupPlanIamPolicyArray{ BackupPlanIamPolicyArgs{...} }
type BackupPlanIamPolicyArrayOutput ¶
type BackupPlanIamPolicyArrayOutput struct{ *pulumi.OutputState }
func (BackupPlanIamPolicyArrayOutput) ElementType ¶
func (BackupPlanIamPolicyArrayOutput) ElementType() reflect.Type
func (BackupPlanIamPolicyArrayOutput) Index ¶
func (o BackupPlanIamPolicyArrayOutput) Index(i pulumi.IntInput) BackupPlanIamPolicyOutput
func (BackupPlanIamPolicyArrayOutput) ToBackupPlanIamPolicyArrayOutput ¶
func (o BackupPlanIamPolicyArrayOutput) ToBackupPlanIamPolicyArrayOutput() BackupPlanIamPolicyArrayOutput
func (BackupPlanIamPolicyArrayOutput) ToBackupPlanIamPolicyArrayOutputWithContext ¶
func (o BackupPlanIamPolicyArrayOutput) ToBackupPlanIamPolicyArrayOutputWithContext(ctx context.Context) BackupPlanIamPolicyArrayOutput
func (BackupPlanIamPolicyArrayOutput) ToOutput ¶
func (o BackupPlanIamPolicyArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*BackupPlanIamPolicy]
type BackupPlanIamPolicyInput ¶
type BackupPlanIamPolicyInput interface { pulumi.Input ToBackupPlanIamPolicyOutput() BackupPlanIamPolicyOutput ToBackupPlanIamPolicyOutputWithContext(ctx context.Context) BackupPlanIamPolicyOutput }
type BackupPlanIamPolicyMap ¶
type BackupPlanIamPolicyMap map[string]BackupPlanIamPolicyInput
func (BackupPlanIamPolicyMap) ElementType ¶
func (BackupPlanIamPolicyMap) ElementType() reflect.Type
func (BackupPlanIamPolicyMap) ToBackupPlanIamPolicyMapOutput ¶
func (i BackupPlanIamPolicyMap) ToBackupPlanIamPolicyMapOutput() BackupPlanIamPolicyMapOutput
func (BackupPlanIamPolicyMap) ToBackupPlanIamPolicyMapOutputWithContext ¶
func (i BackupPlanIamPolicyMap) ToBackupPlanIamPolicyMapOutputWithContext(ctx context.Context) BackupPlanIamPolicyMapOutput
func (BackupPlanIamPolicyMap) ToOutput ¶
func (i BackupPlanIamPolicyMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*BackupPlanIamPolicy]
type BackupPlanIamPolicyMapInput ¶
type BackupPlanIamPolicyMapInput interface { pulumi.Input ToBackupPlanIamPolicyMapOutput() BackupPlanIamPolicyMapOutput ToBackupPlanIamPolicyMapOutputWithContext(context.Context) BackupPlanIamPolicyMapOutput }
BackupPlanIamPolicyMapInput is an input type that accepts BackupPlanIamPolicyMap and BackupPlanIamPolicyMapOutput values. You can construct a concrete instance of `BackupPlanIamPolicyMapInput` via:
BackupPlanIamPolicyMap{ "key": BackupPlanIamPolicyArgs{...} }
type BackupPlanIamPolicyMapOutput ¶
type BackupPlanIamPolicyMapOutput struct{ *pulumi.OutputState }
func (BackupPlanIamPolicyMapOutput) ElementType ¶
func (BackupPlanIamPolicyMapOutput) ElementType() reflect.Type
func (BackupPlanIamPolicyMapOutput) MapIndex ¶
func (o BackupPlanIamPolicyMapOutput) MapIndex(k pulumi.StringInput) BackupPlanIamPolicyOutput
func (BackupPlanIamPolicyMapOutput) ToBackupPlanIamPolicyMapOutput ¶
func (o BackupPlanIamPolicyMapOutput) ToBackupPlanIamPolicyMapOutput() BackupPlanIamPolicyMapOutput
func (BackupPlanIamPolicyMapOutput) ToBackupPlanIamPolicyMapOutputWithContext ¶
func (o BackupPlanIamPolicyMapOutput) ToBackupPlanIamPolicyMapOutputWithContext(ctx context.Context) BackupPlanIamPolicyMapOutput
func (BackupPlanIamPolicyMapOutput) ToOutput ¶
func (o BackupPlanIamPolicyMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*BackupPlanIamPolicy]
type BackupPlanIamPolicyOutput ¶
type BackupPlanIamPolicyOutput struct{ *pulumi.OutputState }
func (BackupPlanIamPolicyOutput) ElementType ¶
func (BackupPlanIamPolicyOutput) ElementType() reflect.Type
func (BackupPlanIamPolicyOutput) Etag ¶
func (o BackupPlanIamPolicyOutput) Etag() pulumi.StringOutput
(Computed) The etag of the IAM policy.
func (BackupPlanIamPolicyOutput) Location ¶
func (o BackupPlanIamPolicyOutput) Location() pulumi.StringOutput
The region of the Backup Plan. Used to find the parent resource to bind the IAM policy to
func (BackupPlanIamPolicyOutput) Name ¶
func (o BackupPlanIamPolicyOutput) Name() pulumi.StringOutput
Used to find the parent resource to bind the IAM policy to
func (BackupPlanIamPolicyOutput) PolicyData ¶
func (o BackupPlanIamPolicyOutput) PolicyData() pulumi.StringOutput
The policy data generated by a `organizations.getIAMPolicy` data source.
func (BackupPlanIamPolicyOutput) Project ¶
func (o BackupPlanIamPolicyOutput) 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.
- `member/members` - (Required) 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 (BackupPlanIamPolicyOutput) ToBackupPlanIamPolicyOutput ¶
func (o BackupPlanIamPolicyOutput) ToBackupPlanIamPolicyOutput() BackupPlanIamPolicyOutput
func (BackupPlanIamPolicyOutput) ToBackupPlanIamPolicyOutputWithContext ¶
func (o BackupPlanIamPolicyOutput) ToBackupPlanIamPolicyOutputWithContext(ctx context.Context) BackupPlanIamPolicyOutput
func (BackupPlanIamPolicyOutput) ToOutput ¶
func (o BackupPlanIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*BackupPlanIamPolicy]
type BackupPlanIamPolicyState ¶
type BackupPlanIamPolicyState struct { // (Computed) The etag of the IAM policy. Etag pulumi.StringPtrInput // The region of the Backup Plan. // Used to find the parent resource to bind the IAM policy to Location pulumi.StringPtrInput // Used to find the parent resource to bind the IAM policy to Name 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. // // * `member/members` - (Required) 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" Project pulumi.StringPtrInput }
func (BackupPlanIamPolicyState) ElementType ¶
func (BackupPlanIamPolicyState) ElementType() reflect.Type
type BackupPlanInput ¶
type BackupPlanInput interface { pulumi.Input ToBackupPlanOutput() BackupPlanOutput ToBackupPlanOutputWithContext(ctx context.Context) BackupPlanOutput }
type BackupPlanMap ¶
type BackupPlanMap map[string]BackupPlanInput
func (BackupPlanMap) ElementType ¶
func (BackupPlanMap) ElementType() reflect.Type
func (BackupPlanMap) ToBackupPlanMapOutput ¶
func (i BackupPlanMap) ToBackupPlanMapOutput() BackupPlanMapOutput
func (BackupPlanMap) ToBackupPlanMapOutputWithContext ¶
func (i BackupPlanMap) ToBackupPlanMapOutputWithContext(ctx context.Context) BackupPlanMapOutput
func (BackupPlanMap) ToOutput ¶
func (i BackupPlanMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*BackupPlan]
type BackupPlanMapInput ¶
type BackupPlanMapInput interface { pulumi.Input ToBackupPlanMapOutput() BackupPlanMapOutput ToBackupPlanMapOutputWithContext(context.Context) BackupPlanMapOutput }
BackupPlanMapInput is an input type that accepts BackupPlanMap and BackupPlanMapOutput values. You can construct a concrete instance of `BackupPlanMapInput` via:
BackupPlanMap{ "key": BackupPlanArgs{...} }
type BackupPlanMapOutput ¶
type BackupPlanMapOutput struct{ *pulumi.OutputState }
func (BackupPlanMapOutput) ElementType ¶
func (BackupPlanMapOutput) ElementType() reflect.Type
func (BackupPlanMapOutput) MapIndex ¶
func (o BackupPlanMapOutput) MapIndex(k pulumi.StringInput) BackupPlanOutput
func (BackupPlanMapOutput) ToBackupPlanMapOutput ¶
func (o BackupPlanMapOutput) ToBackupPlanMapOutput() BackupPlanMapOutput
func (BackupPlanMapOutput) ToBackupPlanMapOutputWithContext ¶
func (o BackupPlanMapOutput) ToBackupPlanMapOutputWithContext(ctx context.Context) BackupPlanMapOutput
func (BackupPlanMapOutput) ToOutput ¶
func (o BackupPlanMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*BackupPlan]
type BackupPlanOutput ¶
type BackupPlanOutput struct{ *pulumi.OutputState }
func (BackupPlanOutput) BackupConfig ¶
func (o BackupPlanOutput) BackupConfig() BackupPlanBackupConfigPtrOutput
Defines the configuration of Backups created via this BackupPlan. Structure is documented below.
func (BackupPlanOutput) BackupSchedule ¶
func (o BackupPlanOutput) BackupSchedule() BackupPlanBackupSchedulePtrOutput
Defines a schedule for automatic Backup creation via this BackupPlan. Structure is documented below.
func (BackupPlanOutput) Cluster ¶
func (o BackupPlanOutput) Cluster() pulumi.StringOutput
The source cluster from which Backups will be created via this BackupPlan.
func (BackupPlanOutput) Deactivated ¶
func (o BackupPlanOutput) Deactivated() pulumi.BoolOutput
This flag indicates whether this BackupPlan has been deactivated. Setting this field to True locks the BackupPlan such that no further updates will be allowed (except deletes), including the deactivated field itself. It also prevents any new Backups from being created via this BackupPlan (including scheduled Backups).
func (BackupPlanOutput) Description ¶
func (o BackupPlanOutput) Description() pulumi.StringPtrOutput
User specified descriptive string for this BackupPlan.
func (BackupPlanOutput) EffectiveLabels ¶
func (o BackupPlanOutput) EffectiveLabels() pulumi.StringMapOutput
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Terraform, other clients and services.
func (BackupPlanOutput) ElementType ¶
func (BackupPlanOutput) ElementType() reflect.Type
func (BackupPlanOutput) Etag ¶
func (o BackupPlanOutput) Etag() pulumi.StringOutput
etag is used for optimistic concurrency control as a way to help prevent simultaneous updates of a backup plan from overwriting each other. It is strongly suggested that systems make use of the 'etag' in the read-modify-write cycle to perform BackupPlan updates in order to avoid race conditions: An etag is returned in the response to backupPlans.get, and systems are expected to put that etag in the request to backupPlans.patch or backupPlans.delete to ensure that their change will be applied to the same version of the resource.
func (BackupPlanOutput) Labels ¶
func (o BackupPlanOutput) Labels() pulumi.StringMapOutput
Description: A set of custom labels supplied by the user. A list of key->value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field `effectiveLabels` for all of the labels present on the resource.
func (BackupPlanOutput) Location ¶
func (o BackupPlanOutput) Location() pulumi.StringOutput
The region of the Backup Plan.
***
func (BackupPlanOutput) Name ¶
func (o BackupPlanOutput) Name() pulumi.StringOutput
The full name of the BackupPlan Resource.
func (BackupPlanOutput) Project ¶
func (o BackupPlanOutput) Project() pulumi.StringOutput
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
func (BackupPlanOutput) ProtectedPodCount ¶
func (o BackupPlanOutput) ProtectedPodCount() pulumi.IntOutput
The number of Kubernetes Pods backed up in the last successful Backup created via this BackupPlan.
func (BackupPlanOutput) RetentionPolicy ¶
func (o BackupPlanOutput) RetentionPolicy() BackupPlanRetentionPolicyPtrOutput
RetentionPolicy governs lifecycle of Backups created under this plan. Structure is documented below.
func (BackupPlanOutput) State ¶
func (o BackupPlanOutput) State() pulumi.StringOutput
The State of the BackupPlan.
func (BackupPlanOutput) StateReason ¶
func (o BackupPlanOutput) StateReason() pulumi.StringOutput
Detailed description of why BackupPlan is in its current state.
func (BackupPlanOutput) TerraformLabels ¶
func (o BackupPlanOutput) TerraformLabels() pulumi.StringMapOutput
The combination of labels configured directly on the resource and default labels configured on the provider.
func (BackupPlanOutput) ToBackupPlanOutput ¶
func (o BackupPlanOutput) ToBackupPlanOutput() BackupPlanOutput
func (BackupPlanOutput) ToBackupPlanOutputWithContext ¶
func (o BackupPlanOutput) ToBackupPlanOutputWithContext(ctx context.Context) BackupPlanOutput
func (BackupPlanOutput) ToOutput ¶
func (o BackupPlanOutput) ToOutput(ctx context.Context) pulumix.Output[*BackupPlan]
func (BackupPlanOutput) Uid ¶
func (o BackupPlanOutput) Uid() pulumi.StringOutput
Server generated, unique identifier of UUID format.
type BackupPlanRetentionPolicy ¶
type BackupPlanRetentionPolicy struct { // Minimum age for a Backup created via this BackupPlan (in days). // Must be an integer value between 0-90 (inclusive). // A Backup created under this BackupPlan will not be deletable // until it reaches Backup's (create time + backup_delete_lock_days). // Updating this field of a BackupPlan does not affect existing Backups. // Backups created after a successful update will inherit this new value. BackupDeleteLockDays *int `pulumi:"backupDeleteLockDays"` // The default maximum age of a Backup created via this BackupPlan. // This field MUST be an integer value >= 0 and <= 365. If specified, // a Backup created under this BackupPlan will be automatically deleted // after its age reaches (createTime + backupRetainDays). // If not specified, Backups created under this BackupPlan will NOT be // subject to automatic deletion. Updating this field does NOT affect // existing Backups under it. Backups created AFTER a successful update // will automatically pick up the new value. // NOTE: backupRetainDays must be >= backupDeleteLockDays. // If cronSchedule is defined, then this must be <= 360 * the creation interval.] BackupRetainDays *int `pulumi:"backupRetainDays"` // This flag denotes whether the retention policy of this BackupPlan is locked. // If set to True, no further update is allowed on this policy, including // the locked field itself. Locked *bool `pulumi:"locked"` }
type BackupPlanRetentionPolicyArgs ¶
type BackupPlanRetentionPolicyArgs struct { // Minimum age for a Backup created via this BackupPlan (in days). // Must be an integer value between 0-90 (inclusive). // A Backup created under this BackupPlan will not be deletable // until it reaches Backup's (create time + backup_delete_lock_days). // Updating this field of a BackupPlan does not affect existing Backups. // Backups created after a successful update will inherit this new value. BackupDeleteLockDays pulumi.IntPtrInput `pulumi:"backupDeleteLockDays"` // The default maximum age of a Backup created via this BackupPlan. // This field MUST be an integer value >= 0 and <= 365. If specified, // a Backup created under this BackupPlan will be automatically deleted // after its age reaches (createTime + backupRetainDays). // If not specified, Backups created under this BackupPlan will NOT be // subject to automatic deletion. Updating this field does NOT affect // existing Backups under it. Backups created AFTER a successful update // will automatically pick up the new value. // NOTE: backupRetainDays must be >= backupDeleteLockDays. // If cronSchedule is defined, then this must be <= 360 * the creation interval.] BackupRetainDays pulumi.IntPtrInput `pulumi:"backupRetainDays"` // This flag denotes whether the retention policy of this BackupPlan is locked. // If set to True, no further update is allowed on this policy, including // the locked field itself. Locked pulumi.BoolPtrInput `pulumi:"locked"` }
func (BackupPlanRetentionPolicyArgs) ElementType ¶
func (BackupPlanRetentionPolicyArgs) ElementType() reflect.Type
func (BackupPlanRetentionPolicyArgs) ToBackupPlanRetentionPolicyOutput ¶
func (i BackupPlanRetentionPolicyArgs) ToBackupPlanRetentionPolicyOutput() BackupPlanRetentionPolicyOutput
func (BackupPlanRetentionPolicyArgs) ToBackupPlanRetentionPolicyOutputWithContext ¶
func (i BackupPlanRetentionPolicyArgs) ToBackupPlanRetentionPolicyOutputWithContext(ctx context.Context) BackupPlanRetentionPolicyOutput
func (BackupPlanRetentionPolicyArgs) ToBackupPlanRetentionPolicyPtrOutput ¶
func (i BackupPlanRetentionPolicyArgs) ToBackupPlanRetentionPolicyPtrOutput() BackupPlanRetentionPolicyPtrOutput
func (BackupPlanRetentionPolicyArgs) ToBackupPlanRetentionPolicyPtrOutputWithContext ¶
func (i BackupPlanRetentionPolicyArgs) ToBackupPlanRetentionPolicyPtrOutputWithContext(ctx context.Context) BackupPlanRetentionPolicyPtrOutput
func (BackupPlanRetentionPolicyArgs) ToOutput ¶
func (i BackupPlanRetentionPolicyArgs) ToOutput(ctx context.Context) pulumix.Output[BackupPlanRetentionPolicy]
type BackupPlanRetentionPolicyInput ¶
type BackupPlanRetentionPolicyInput interface { pulumi.Input ToBackupPlanRetentionPolicyOutput() BackupPlanRetentionPolicyOutput ToBackupPlanRetentionPolicyOutputWithContext(context.Context) BackupPlanRetentionPolicyOutput }
BackupPlanRetentionPolicyInput is an input type that accepts BackupPlanRetentionPolicyArgs and BackupPlanRetentionPolicyOutput values. You can construct a concrete instance of `BackupPlanRetentionPolicyInput` via:
BackupPlanRetentionPolicyArgs{...}
type BackupPlanRetentionPolicyOutput ¶
type BackupPlanRetentionPolicyOutput struct{ *pulumi.OutputState }
func (BackupPlanRetentionPolicyOutput) BackupDeleteLockDays ¶
func (o BackupPlanRetentionPolicyOutput) BackupDeleteLockDays() pulumi.IntPtrOutput
Minimum age for a Backup created via this BackupPlan (in days). Must be an integer value between 0-90 (inclusive). A Backup created under this BackupPlan will not be deletable until it reaches Backup's (create time + backup_delete_lock_days). Updating this field of a BackupPlan does not affect existing Backups. Backups created after a successful update will inherit this new value.
func (BackupPlanRetentionPolicyOutput) BackupRetainDays ¶
func (o BackupPlanRetentionPolicyOutput) BackupRetainDays() pulumi.IntPtrOutput
The default maximum age of a Backup created via this BackupPlan. This field MUST be an integer value >= 0 and <= 365. If specified, a Backup created under this BackupPlan will be automatically deleted after its age reaches (createTime + backupRetainDays). If not specified, Backups created under this BackupPlan will NOT be subject to automatic deletion. Updating this field does NOT affect existing Backups under it. Backups created AFTER a successful update will automatically pick up the new value. NOTE: backupRetainDays must be >= backupDeleteLockDays. If cronSchedule is defined, then this must be <= 360 * the creation interval.]
func (BackupPlanRetentionPolicyOutput) ElementType ¶
func (BackupPlanRetentionPolicyOutput) ElementType() reflect.Type
func (BackupPlanRetentionPolicyOutput) Locked ¶
func (o BackupPlanRetentionPolicyOutput) Locked() pulumi.BoolPtrOutput
This flag denotes whether the retention policy of this BackupPlan is locked. If set to True, no further update is allowed on this policy, including the locked field itself.
func (BackupPlanRetentionPolicyOutput) ToBackupPlanRetentionPolicyOutput ¶
func (o BackupPlanRetentionPolicyOutput) ToBackupPlanRetentionPolicyOutput() BackupPlanRetentionPolicyOutput
func (BackupPlanRetentionPolicyOutput) ToBackupPlanRetentionPolicyOutputWithContext ¶
func (o BackupPlanRetentionPolicyOutput) ToBackupPlanRetentionPolicyOutputWithContext(ctx context.Context) BackupPlanRetentionPolicyOutput
func (BackupPlanRetentionPolicyOutput) ToBackupPlanRetentionPolicyPtrOutput ¶
func (o BackupPlanRetentionPolicyOutput) ToBackupPlanRetentionPolicyPtrOutput() BackupPlanRetentionPolicyPtrOutput
func (BackupPlanRetentionPolicyOutput) ToBackupPlanRetentionPolicyPtrOutputWithContext ¶
func (o BackupPlanRetentionPolicyOutput) ToBackupPlanRetentionPolicyPtrOutputWithContext(ctx context.Context) BackupPlanRetentionPolicyPtrOutput
func (BackupPlanRetentionPolicyOutput) ToOutput ¶
func (o BackupPlanRetentionPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[BackupPlanRetentionPolicy]
type BackupPlanRetentionPolicyPtrInput ¶
type BackupPlanRetentionPolicyPtrInput interface { pulumi.Input ToBackupPlanRetentionPolicyPtrOutput() BackupPlanRetentionPolicyPtrOutput ToBackupPlanRetentionPolicyPtrOutputWithContext(context.Context) BackupPlanRetentionPolicyPtrOutput }
BackupPlanRetentionPolicyPtrInput is an input type that accepts BackupPlanRetentionPolicyArgs, BackupPlanRetentionPolicyPtr and BackupPlanRetentionPolicyPtrOutput values. You can construct a concrete instance of `BackupPlanRetentionPolicyPtrInput` via:
BackupPlanRetentionPolicyArgs{...} or: nil
func BackupPlanRetentionPolicyPtr ¶
func BackupPlanRetentionPolicyPtr(v *BackupPlanRetentionPolicyArgs) BackupPlanRetentionPolicyPtrInput
type BackupPlanRetentionPolicyPtrOutput ¶
type BackupPlanRetentionPolicyPtrOutput struct{ *pulumi.OutputState }
func (BackupPlanRetentionPolicyPtrOutput) BackupDeleteLockDays ¶
func (o BackupPlanRetentionPolicyPtrOutput) BackupDeleteLockDays() pulumi.IntPtrOutput
Minimum age for a Backup created via this BackupPlan (in days). Must be an integer value between 0-90 (inclusive). A Backup created under this BackupPlan will not be deletable until it reaches Backup's (create time + backup_delete_lock_days). Updating this field of a BackupPlan does not affect existing Backups. Backups created after a successful update will inherit this new value.
func (BackupPlanRetentionPolicyPtrOutput) BackupRetainDays ¶
func (o BackupPlanRetentionPolicyPtrOutput) BackupRetainDays() pulumi.IntPtrOutput
The default maximum age of a Backup created via this BackupPlan. This field MUST be an integer value >= 0 and <= 365. If specified, a Backup created under this BackupPlan will be automatically deleted after its age reaches (createTime + backupRetainDays). If not specified, Backups created under this BackupPlan will NOT be subject to automatic deletion. Updating this field does NOT affect existing Backups under it. Backups created AFTER a successful update will automatically pick up the new value. NOTE: backupRetainDays must be >= backupDeleteLockDays. If cronSchedule is defined, then this must be <= 360 * the creation interval.]
func (BackupPlanRetentionPolicyPtrOutput) Elem ¶
func (o BackupPlanRetentionPolicyPtrOutput) Elem() BackupPlanRetentionPolicyOutput
func (BackupPlanRetentionPolicyPtrOutput) ElementType ¶
func (BackupPlanRetentionPolicyPtrOutput) ElementType() reflect.Type
func (BackupPlanRetentionPolicyPtrOutput) Locked ¶
func (o BackupPlanRetentionPolicyPtrOutput) Locked() pulumi.BoolPtrOutput
This flag denotes whether the retention policy of this BackupPlan is locked. If set to True, no further update is allowed on this policy, including the locked field itself.
func (BackupPlanRetentionPolicyPtrOutput) ToBackupPlanRetentionPolicyPtrOutput ¶
func (o BackupPlanRetentionPolicyPtrOutput) ToBackupPlanRetentionPolicyPtrOutput() BackupPlanRetentionPolicyPtrOutput
func (BackupPlanRetentionPolicyPtrOutput) ToBackupPlanRetentionPolicyPtrOutputWithContext ¶
func (o BackupPlanRetentionPolicyPtrOutput) ToBackupPlanRetentionPolicyPtrOutputWithContext(ctx context.Context) BackupPlanRetentionPolicyPtrOutput
func (BackupPlanRetentionPolicyPtrOutput) ToOutput ¶
func (o BackupPlanRetentionPolicyPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*BackupPlanRetentionPolicy]
type BackupPlanState ¶
type BackupPlanState struct { // Defines the configuration of Backups created via this BackupPlan. // Structure is documented below. BackupConfig BackupPlanBackupConfigPtrInput // Defines a schedule for automatic Backup creation via this BackupPlan. // Structure is documented below. BackupSchedule BackupPlanBackupSchedulePtrInput // The source cluster from which Backups will be created via this BackupPlan. Cluster pulumi.StringPtrInput // This flag indicates whether this BackupPlan has been deactivated. // Setting this field to True locks the BackupPlan such that no further updates will be allowed // (except deletes), including the deactivated field itself. It also prevents any new Backups // from being created via this BackupPlan (including scheduled Backups). Deactivated pulumi.BoolPtrInput // User specified descriptive string for this BackupPlan. Description pulumi.StringPtrInput // All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Terraform, other // clients and services. EffectiveLabels pulumi.StringMapInput // etag is used for optimistic concurrency control as a way to help prevent simultaneous // updates of a backup plan from overwriting each other. It is strongly suggested that // systems make use of the 'etag' in the read-modify-write cycle to perform BackupPlan updates // in order to avoid race conditions: An etag is returned in the response to backupPlans.get, // and systems are expected to put that etag in the request to backupPlans.patch or // backupPlans.delete to ensure that their change will be applied to the same version of the resource. Etag pulumi.StringPtrInput // Description: A set of custom labels supplied by the user. // A list of key->value pairs. // Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }. // // **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. // Please refer to the field `effectiveLabels` for all of the labels present on the resource. Labels pulumi.StringMapInput // The region of the Backup Plan. // // *** Location pulumi.StringPtrInput // The full name of the BackupPlan Resource. Name pulumi.StringPtrInput // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project pulumi.StringPtrInput // The number of Kubernetes Pods backed up in the last successful Backup created via this BackupPlan. ProtectedPodCount pulumi.IntPtrInput // RetentionPolicy governs lifecycle of Backups created under this plan. // Structure is documented below. RetentionPolicy BackupPlanRetentionPolicyPtrInput // The State of the BackupPlan. State pulumi.StringPtrInput // Detailed description of why BackupPlan is in its current state. StateReason pulumi.StringPtrInput // The combination of labels configured directly on the resource // and default labels configured on the provider. TerraformLabels pulumi.StringMapInput // Server generated, unique identifier of UUID format. Uid pulumi.StringPtrInput }
func (BackupPlanState) ElementType ¶
func (BackupPlanState) ElementType() reflect.Type
type LookupBackupPlanIamPolicyArgs ¶
type LookupBackupPlanIamPolicyArgs struct { // The region of the Backup Plan. // Used to find the parent resource to bind the IAM policy to Location *string `pulumi:"location"` // Used to find the parent resource to bind the IAM policy to Name string `pulumi:"name"` // The ID of the project in which the resource belongs. // If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used. Project *string `pulumi:"project"` }
A collection of arguments for invoking getBackupPlanIamPolicy.
type LookupBackupPlanIamPolicyOutputArgs ¶
type LookupBackupPlanIamPolicyOutputArgs struct { // The region of the Backup Plan. // Used to find the parent resource to bind the IAM policy to Location pulumi.StringPtrInput `pulumi:"location"` // Used to find the parent resource to bind the IAM policy to Name pulumi.StringInput `pulumi:"name"` // The ID of the project in which the resource belongs. // If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used. Project pulumi.StringPtrInput `pulumi:"project"` }
A collection of arguments for invoking getBackupPlanIamPolicy.
func (LookupBackupPlanIamPolicyOutputArgs) ElementType ¶
func (LookupBackupPlanIamPolicyOutputArgs) ElementType() reflect.Type
type LookupBackupPlanIamPolicyResult ¶
type LookupBackupPlanIamPolicyResult 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"` Name string `pulumi:"name"` // (Required only by `gkebackup.BackupPlanIamPolicy`) The policy data generated by // a `organizations.getIAMPolicy` data source. PolicyData string `pulumi:"policyData"` Project string `pulumi:"project"` }
A collection of values returned by getBackupPlanIamPolicy.
func LookupBackupPlanIamPolicy ¶
func LookupBackupPlanIamPolicy(ctx *pulumi.Context, args *LookupBackupPlanIamPolicyArgs, opts ...pulumi.InvokeOption) (*LookupBackupPlanIamPolicyResult, error)
Retrieves the current IAM policy data for backupplan
## example
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/gkebackup" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := gkebackup.LookupBackupPlanIamPolicy(ctx, &gkebackup.LookupBackupPlanIamPolicyArgs{ Project: pulumi.StringRef(google_gke_backup_backup_plan.Basic.Project), Location: pulumi.StringRef(google_gke_backup_backup_plan.Basic.Location), Name: google_gke_backup_backup_plan.Basic.Name, }, nil) if err != nil { return err } return nil }) }
```
type LookupBackupPlanIamPolicyResultOutput ¶
type LookupBackupPlanIamPolicyResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getBackupPlanIamPolicy.
func LookupBackupPlanIamPolicyOutput ¶
func LookupBackupPlanIamPolicyOutput(ctx *pulumi.Context, args LookupBackupPlanIamPolicyOutputArgs, opts ...pulumi.InvokeOption) LookupBackupPlanIamPolicyResultOutput
func (LookupBackupPlanIamPolicyResultOutput) ElementType ¶
func (LookupBackupPlanIamPolicyResultOutput) ElementType() reflect.Type
func (LookupBackupPlanIamPolicyResultOutput) Etag ¶
func (o LookupBackupPlanIamPolicyResultOutput) Etag() pulumi.StringOutput
(Computed) The etag of the IAM policy.
func (LookupBackupPlanIamPolicyResultOutput) Id ¶
func (o LookupBackupPlanIamPolicyResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupBackupPlanIamPolicyResultOutput) Location ¶
func (o LookupBackupPlanIamPolicyResultOutput) Location() pulumi.StringOutput
func (LookupBackupPlanIamPolicyResultOutput) Name ¶
func (o LookupBackupPlanIamPolicyResultOutput) Name() pulumi.StringOutput
func (LookupBackupPlanIamPolicyResultOutput) PolicyData ¶
func (o LookupBackupPlanIamPolicyResultOutput) PolicyData() pulumi.StringOutput
(Required only by `gkebackup.BackupPlanIamPolicy`) The policy data generated by a `organizations.getIAMPolicy` data source.
func (LookupBackupPlanIamPolicyResultOutput) Project ¶
func (o LookupBackupPlanIamPolicyResultOutput) Project() pulumi.StringOutput
func (LookupBackupPlanIamPolicyResultOutput) ToLookupBackupPlanIamPolicyResultOutput ¶
func (o LookupBackupPlanIamPolicyResultOutput) ToLookupBackupPlanIamPolicyResultOutput() LookupBackupPlanIamPolicyResultOutput
func (LookupBackupPlanIamPolicyResultOutput) ToLookupBackupPlanIamPolicyResultOutputWithContext ¶
func (o LookupBackupPlanIamPolicyResultOutput) ToLookupBackupPlanIamPolicyResultOutputWithContext(ctx context.Context) LookupBackupPlanIamPolicyResultOutput
func (LookupBackupPlanIamPolicyResultOutput) ToOutput ¶
func (o LookupBackupPlanIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupBackupPlanIamPolicyResult]
type LookupRestorePlanIamPolicyArgs ¶
type LookupRestorePlanIamPolicyArgs struct { // The region of the Restore Plan. // Used to find the parent resource to bind the IAM policy to Location *string `pulumi:"location"` // Used to find the parent resource to bind the IAM policy to Name string `pulumi:"name"` // The ID of the project in which the resource belongs. // If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used. Project *string `pulumi:"project"` }
A collection of arguments for invoking getRestorePlanIamPolicy.
type LookupRestorePlanIamPolicyOutputArgs ¶
type LookupRestorePlanIamPolicyOutputArgs struct { // The region of the Restore Plan. // Used to find the parent resource to bind the IAM policy to Location pulumi.StringPtrInput `pulumi:"location"` // Used to find the parent resource to bind the IAM policy to Name pulumi.StringInput `pulumi:"name"` // The ID of the project in which the resource belongs. // If it is not provided, the project will be parsed from the identifier of the parent resource. If no project is provided in the parent identifier and no project is specified, the provider project is used. Project pulumi.StringPtrInput `pulumi:"project"` }
A collection of arguments for invoking getRestorePlanIamPolicy.
func (LookupRestorePlanIamPolicyOutputArgs) ElementType ¶
func (LookupRestorePlanIamPolicyOutputArgs) ElementType() reflect.Type
type LookupRestorePlanIamPolicyResult ¶
type LookupRestorePlanIamPolicyResult 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"` Name string `pulumi:"name"` // (Required only by `gkebackup.RestorePlanIamPolicy`) The policy data generated by // a `organizations.getIAMPolicy` data source. PolicyData string `pulumi:"policyData"` Project string `pulumi:"project"` }
A collection of values returned by getRestorePlanIamPolicy.
func LookupRestorePlanIamPolicy ¶
func LookupRestorePlanIamPolicy(ctx *pulumi.Context, args *LookupRestorePlanIamPolicyArgs, opts ...pulumi.InvokeOption) (*LookupRestorePlanIamPolicyResult, error)
Retrieves the current IAM policy data for restoreplan
## example
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/gkebackup" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := gkebackup.LookupRestorePlanIamPolicy(ctx, &gkebackup.LookupRestorePlanIamPolicyArgs{ Project: pulumi.StringRef(google_gke_backup_restore_plan.All_ns.Project), Location: pulumi.StringRef(google_gke_backup_restore_plan.All_ns.Location), Name: google_gke_backup_restore_plan.All_ns.Name, }, nil) if err != nil { return err } return nil }) }
```
type LookupRestorePlanIamPolicyResultOutput ¶
type LookupRestorePlanIamPolicyResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getRestorePlanIamPolicy.
func LookupRestorePlanIamPolicyOutput ¶
func LookupRestorePlanIamPolicyOutput(ctx *pulumi.Context, args LookupRestorePlanIamPolicyOutputArgs, opts ...pulumi.InvokeOption) LookupRestorePlanIamPolicyResultOutput
func (LookupRestorePlanIamPolicyResultOutput) ElementType ¶
func (LookupRestorePlanIamPolicyResultOutput) ElementType() reflect.Type
func (LookupRestorePlanIamPolicyResultOutput) Etag ¶
func (o LookupRestorePlanIamPolicyResultOutput) Etag() pulumi.StringOutput
(Computed) The etag of the IAM policy.
func (LookupRestorePlanIamPolicyResultOutput) Id ¶
func (o LookupRestorePlanIamPolicyResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupRestorePlanIamPolicyResultOutput) Location ¶
func (o LookupRestorePlanIamPolicyResultOutput) Location() pulumi.StringOutput
func (LookupRestorePlanIamPolicyResultOutput) Name ¶
func (o LookupRestorePlanIamPolicyResultOutput) Name() pulumi.StringOutput
func (LookupRestorePlanIamPolicyResultOutput) PolicyData ¶
func (o LookupRestorePlanIamPolicyResultOutput) PolicyData() pulumi.StringOutput
(Required only by `gkebackup.RestorePlanIamPolicy`) The policy data generated by a `organizations.getIAMPolicy` data source.
func (LookupRestorePlanIamPolicyResultOutput) Project ¶
func (o LookupRestorePlanIamPolicyResultOutput) Project() pulumi.StringOutput
func (LookupRestorePlanIamPolicyResultOutput) ToLookupRestorePlanIamPolicyResultOutput ¶
func (o LookupRestorePlanIamPolicyResultOutput) ToLookupRestorePlanIamPolicyResultOutput() LookupRestorePlanIamPolicyResultOutput
func (LookupRestorePlanIamPolicyResultOutput) ToLookupRestorePlanIamPolicyResultOutputWithContext ¶
func (o LookupRestorePlanIamPolicyResultOutput) ToLookupRestorePlanIamPolicyResultOutputWithContext(ctx context.Context) LookupRestorePlanIamPolicyResultOutput
func (LookupRestorePlanIamPolicyResultOutput) ToOutput ¶
func (o LookupRestorePlanIamPolicyResultOutput) ToOutput(ctx context.Context) pulumix.Output[LookupRestorePlanIamPolicyResult]
type RestorePlan ¶
type RestorePlan struct { pulumi.CustomResourceState // A reference to the BackupPlan from which Backups may be used // as the source for Restores created via this RestorePlan. BackupPlan pulumi.StringOutput `pulumi:"backupPlan"` // The source cluster from which Restores will be created via this RestorePlan. Cluster pulumi.StringOutput `pulumi:"cluster"` // User specified descriptive string for this RestorePlan. Description pulumi.StringPtrOutput `pulumi:"description"` // All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Terraform, other // clients and services. EffectiveLabels pulumi.StringMapOutput `pulumi:"effectiveLabels"` // Description: A set of custom labels supplied by the user. // A list of key->value pairs. // Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }. // // **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. // Please refer to the field `effectiveLabels` for all of the labels present on the resource. Labels pulumi.StringMapOutput `pulumi:"labels"` // The region of the Restore Plan. Location pulumi.StringOutput `pulumi:"location"` // The full name of the BackupPlan Resource. Name pulumi.StringOutput `pulumi:"name"` // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project pulumi.StringOutput `pulumi:"project"` // Defines the configuration of Restores created via this RestorePlan. // Structure is documented below. RestoreConfig RestorePlanRestoreConfigOutput `pulumi:"restoreConfig"` // The State of the RestorePlan. State pulumi.StringOutput `pulumi:"state"` // Detailed description of why RestorePlan is in its current state. StateReason pulumi.StringOutput `pulumi:"stateReason"` // The combination of labels configured directly on the resource // and default labels configured on the provider. TerraformLabels pulumi.StringMapOutput `pulumi:"terraformLabels"` // Server generated, unique identifier of UUID format. Uid pulumi.StringOutput `pulumi:"uid"` }
Represents a Restore Plan instance.
To get more information about RestorePlan, see:
* [API documentation](https://cloud.google.com/kubernetes-engine/docs/add-on/backup-for-gke/reference/rest/v1/projects.locations.restorePlans) * How-to Guides
- [Official Documentation](https://cloud.google.com/kubernetes-engine/docs/add-on/backup-for-gke)
## Example Usage ### Gkebackup Restoreplan All Namespaces
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/container" "github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/gkebackup" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { primary, err := container.NewCluster(ctx, "primary", &container.ClusterArgs{ Location: pulumi.String("us-central1"), InitialNodeCount: pulumi.Int(1), WorkloadIdentityConfig: &container.ClusterWorkloadIdentityConfigArgs{ WorkloadPool: pulumi.String("my-project-name.svc.id.goog"), }, AddonsConfig: &container.ClusterAddonsConfigArgs{ GkeBackupAgentConfig: &container.ClusterAddonsConfigGkeBackupAgentConfigArgs{ Enabled: pulumi.Bool(true), }, }, DeletionProtection: pulumi.Bool(""), }) if err != nil { return err } basic, err := gkebackup.NewBackupPlan(ctx, "basic", &gkebackup.BackupPlanArgs{ Cluster: primary.ID(), Location: pulumi.String("us-central1"), BackupConfig: &gkebackup.BackupPlanBackupConfigArgs{ IncludeVolumeData: pulumi.Bool(true), IncludeSecrets: pulumi.Bool(true), AllNamespaces: pulumi.Bool(true), }, }) if err != nil { return err } _, err = gkebackup.NewRestorePlan(ctx, "allNs", &gkebackup.RestorePlanArgs{ Location: pulumi.String("us-central1"), BackupPlan: basic.ID(), Cluster: primary.ID(), RestoreConfig: &gkebackup.RestorePlanRestoreConfigArgs{ AllNamespaces: pulumi.Bool(true), NamespacedResourceRestoreMode: pulumi.String("FAIL_ON_CONFLICT"), VolumeDataRestorePolicy: pulumi.String("RESTORE_VOLUME_DATA_FROM_BACKUP"), ClusterResourceRestoreScope: &gkebackup.RestorePlanRestoreConfigClusterResourceRestoreScopeArgs{ AllGroupKinds: pulumi.Bool(true), }, ClusterResourceConflictPolicy: pulumi.String("USE_EXISTING_VERSION"), }, }) if err != nil { return err } return nil }) }
``` ### Gkebackup Restoreplan Rollback Namespace
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/container" "github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/gkebackup" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { primary, err := container.NewCluster(ctx, "primary", &container.ClusterArgs{ Location: pulumi.String("us-central1"), InitialNodeCount: pulumi.Int(1), WorkloadIdentityConfig: &container.ClusterWorkloadIdentityConfigArgs{ WorkloadPool: pulumi.String("my-project-name.svc.id.goog"), }, AddonsConfig: &container.ClusterAddonsConfigArgs{ GkeBackupAgentConfig: &container.ClusterAddonsConfigGkeBackupAgentConfigArgs{ Enabled: pulumi.Bool(true), }, }, DeletionProtection: pulumi.Bool(""), }) if err != nil { return err } basic, err := gkebackup.NewBackupPlan(ctx, "basic", &gkebackup.BackupPlanArgs{ Cluster: primary.ID(), Location: pulumi.String("us-central1"), BackupConfig: &gkebackup.BackupPlanBackupConfigArgs{ IncludeVolumeData: pulumi.Bool(true), IncludeSecrets: pulumi.Bool(true), AllNamespaces: pulumi.Bool(true), }, }) if err != nil { return err } _, err = gkebackup.NewRestorePlan(ctx, "rollbackNs", &gkebackup.RestorePlanArgs{ Location: pulumi.String("us-central1"), BackupPlan: basic.ID(), Cluster: primary.ID(), RestoreConfig: &gkebackup.RestorePlanRestoreConfigArgs{ SelectedNamespaces: &gkebackup.RestorePlanRestoreConfigSelectedNamespacesArgs{ Namespaces: pulumi.StringArray{ pulumi.String("my-ns"), }, }, NamespacedResourceRestoreMode: pulumi.String("DELETE_AND_RESTORE"), VolumeDataRestorePolicy: pulumi.String("RESTORE_VOLUME_DATA_FROM_BACKUP"), ClusterResourceRestoreScope: &gkebackup.RestorePlanRestoreConfigClusterResourceRestoreScopeArgs{ SelectedGroupKinds: gkebackup.RestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindArray{ &gkebackup.RestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindArgs{ ResourceGroup: pulumi.String("apiextension.k8s.io"), ResourceKind: pulumi.String("CustomResourceDefinition"), }, &gkebackup.RestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindArgs{ ResourceGroup: pulumi.String("storage.k8s.io"), ResourceKind: pulumi.String("StorageClass"), }, }, }, ClusterResourceConflictPolicy: pulumi.String("USE_EXISTING_VERSION"), }, }) if err != nil { return err } return nil }) }
``` ### Gkebackup Restoreplan Protected Application
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/container" "github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/gkebackup" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { primary, err := container.NewCluster(ctx, "primary", &container.ClusterArgs{ Location: pulumi.String("us-central1"), InitialNodeCount: pulumi.Int(1), WorkloadIdentityConfig: &container.ClusterWorkloadIdentityConfigArgs{ WorkloadPool: pulumi.String("my-project-name.svc.id.goog"), }, AddonsConfig: &container.ClusterAddonsConfigArgs{ GkeBackupAgentConfig: &container.ClusterAddonsConfigGkeBackupAgentConfigArgs{ Enabled: pulumi.Bool(true), }, }, DeletionProtection: pulumi.Bool(""), }) if err != nil { return err } basic, err := gkebackup.NewBackupPlan(ctx, "basic", &gkebackup.BackupPlanArgs{ Cluster: primary.ID(), Location: pulumi.String("us-central1"), BackupConfig: &gkebackup.BackupPlanBackupConfigArgs{ IncludeVolumeData: pulumi.Bool(true), IncludeSecrets: pulumi.Bool(true), AllNamespaces: pulumi.Bool(true), }, }) if err != nil { return err } _, err = gkebackup.NewRestorePlan(ctx, "rollbackApp", &gkebackup.RestorePlanArgs{ Location: pulumi.String("us-central1"), BackupPlan: basic.ID(), Cluster: primary.ID(), RestoreConfig: &gkebackup.RestorePlanRestoreConfigArgs{ SelectedApplications: &gkebackup.RestorePlanRestoreConfigSelectedApplicationsArgs{ NamespacedNames: gkebackup.RestorePlanRestoreConfigSelectedApplicationsNamespacedNameArray{ &gkebackup.RestorePlanRestoreConfigSelectedApplicationsNamespacedNameArgs{ Name: pulumi.String("my-app"), Namespace: pulumi.String("my-ns"), }, }, }, NamespacedResourceRestoreMode: pulumi.String("DELETE_AND_RESTORE"), VolumeDataRestorePolicy: pulumi.String("REUSE_VOLUME_HANDLE_FROM_BACKUP"), ClusterResourceRestoreScope: &gkebackup.RestorePlanRestoreConfigClusterResourceRestoreScopeArgs{ NoGroupKinds: pulumi.Bool(true), }, }, }) if err != nil { return err } return nil }) }
``` ### Gkebackup Restoreplan All Cluster Resources
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/container" "github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/gkebackup" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { primary, err := container.NewCluster(ctx, "primary", &container.ClusterArgs{ Location: pulumi.String("us-central1"), InitialNodeCount: pulumi.Int(1), WorkloadIdentityConfig: &container.ClusterWorkloadIdentityConfigArgs{ WorkloadPool: pulumi.String("my-project-name.svc.id.goog"), }, AddonsConfig: &container.ClusterAddonsConfigArgs{ GkeBackupAgentConfig: &container.ClusterAddonsConfigGkeBackupAgentConfigArgs{ Enabled: pulumi.Bool(true), }, }, DeletionProtection: pulumi.Bool(""), }) if err != nil { return err } basic, err := gkebackup.NewBackupPlan(ctx, "basic", &gkebackup.BackupPlanArgs{ Cluster: primary.ID(), Location: pulumi.String("us-central1"), BackupConfig: &gkebackup.BackupPlanBackupConfigArgs{ IncludeVolumeData: pulumi.Bool(true), IncludeSecrets: pulumi.Bool(true), AllNamespaces: pulumi.Bool(true), }, }) if err != nil { return err } _, err = gkebackup.NewRestorePlan(ctx, "allClusterResources", &gkebackup.RestorePlanArgs{ Location: pulumi.String("us-central1"), BackupPlan: basic.ID(), Cluster: primary.ID(), RestoreConfig: &gkebackup.RestorePlanRestoreConfigArgs{ NoNamespaces: pulumi.Bool(true), NamespacedResourceRestoreMode: pulumi.String("FAIL_ON_CONFLICT"), ClusterResourceRestoreScope: &gkebackup.RestorePlanRestoreConfigClusterResourceRestoreScopeArgs{ AllGroupKinds: pulumi.Bool(true), }, ClusterResourceConflictPolicy: pulumi.String("USE_EXISTING_VERSION"), }, }) if err != nil { return err } return nil }) }
``` ### Gkebackup Restoreplan Rename Namespace
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/container" "github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/gkebackup" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { primary, err := container.NewCluster(ctx, "primary", &container.ClusterArgs{ Location: pulumi.String("us-central1"), InitialNodeCount: pulumi.Int(1), WorkloadIdentityConfig: &container.ClusterWorkloadIdentityConfigArgs{ WorkloadPool: pulumi.String("my-project-name.svc.id.goog"), }, AddonsConfig: &container.ClusterAddonsConfigArgs{ GkeBackupAgentConfig: &container.ClusterAddonsConfigGkeBackupAgentConfigArgs{ Enabled: pulumi.Bool(true), }, }, DeletionProtection: pulumi.Bool(""), }) if err != nil { return err } basic, err := gkebackup.NewBackupPlan(ctx, "basic", &gkebackup.BackupPlanArgs{ Cluster: primary.ID(), Location: pulumi.String("us-central1"), BackupConfig: &gkebackup.BackupPlanBackupConfigArgs{ IncludeVolumeData: pulumi.Bool(true), IncludeSecrets: pulumi.Bool(true), AllNamespaces: pulumi.Bool(true), }, }) if err != nil { return err } _, err = gkebackup.NewRestorePlan(ctx, "renameNs", &gkebackup.RestorePlanArgs{ Location: pulumi.String("us-central1"), BackupPlan: basic.ID(), Cluster: primary.ID(), RestoreConfig: &gkebackup.RestorePlanRestoreConfigArgs{ SelectedNamespaces: &gkebackup.RestorePlanRestoreConfigSelectedNamespacesArgs{ Namespaces: pulumi.StringArray{ pulumi.String("ns1"), }, }, NamespacedResourceRestoreMode: pulumi.String("FAIL_ON_CONFLICT"), VolumeDataRestorePolicy: pulumi.String("REUSE_VOLUME_HANDLE_FROM_BACKUP"), ClusterResourceRestoreScope: &gkebackup.RestorePlanRestoreConfigClusterResourceRestoreScopeArgs{ NoGroupKinds: pulumi.Bool(true), }, TransformationRules: gkebackup.RestorePlanRestoreConfigTransformationRuleArray{ &gkebackup.RestorePlanRestoreConfigTransformationRuleArgs{ Description: pulumi.String("rename namespace from ns1 to ns2"), ResourceFilter: &gkebackup.RestorePlanRestoreConfigTransformationRuleResourceFilterArgs{ GroupKinds: gkebackup.RestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindArray{ &gkebackup.RestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindArgs{ ResourceKind: pulumi.String("Namespace"), }, }, JsonPath: pulumi.String(".metadata[?(@.name == 'ns1')]"), }, FieldActions: gkebackup.RestorePlanRestoreConfigTransformationRuleFieldActionArray{ &gkebackup.RestorePlanRestoreConfigTransformationRuleFieldActionArgs{ Op: pulumi.String("REPLACE"), Path: pulumi.String("/metadata/name"), Value: pulumi.String("ns2"), }, }, }, &gkebackup.RestorePlanRestoreConfigTransformationRuleArgs{ Description: pulumi.String("move all resources from ns1 to ns2"), ResourceFilter: &gkebackup.RestorePlanRestoreConfigTransformationRuleResourceFilterArgs{ Namespaces: pulumi.StringArray{ pulumi.String("ns1"), }, }, FieldActions: gkebackup.RestorePlanRestoreConfigTransformationRuleFieldActionArray{ &gkebackup.RestorePlanRestoreConfigTransformationRuleFieldActionArgs{ Op: pulumi.String("REPLACE"), Path: pulumi.String("/metadata/namespace"), Value: pulumi.String("ns2"), }, }, }, }, }, }) if err != nil { return err } return nil }) }
``` ### Gkebackup Restoreplan Second Transformation
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/container" "github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/gkebackup" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { primary, err := container.NewCluster(ctx, "primary", &container.ClusterArgs{ Location: pulumi.String("us-central1"), InitialNodeCount: pulumi.Int(1), WorkloadIdentityConfig: &container.ClusterWorkloadIdentityConfigArgs{ WorkloadPool: pulumi.String("my-project-name.svc.id.goog"), }, AddonsConfig: &container.ClusterAddonsConfigArgs{ GkeBackupAgentConfig: &container.ClusterAddonsConfigGkeBackupAgentConfigArgs{ Enabled: pulumi.Bool(true), }, }, DeletionProtection: pulumi.Bool(""), }) if err != nil { return err } basic, err := gkebackup.NewBackupPlan(ctx, "basic", &gkebackup.BackupPlanArgs{ Cluster: primary.ID(), Location: pulumi.String("us-central1"), BackupConfig: &gkebackup.BackupPlanBackupConfigArgs{ IncludeVolumeData: pulumi.Bool(true), IncludeSecrets: pulumi.Bool(true), AllNamespaces: pulumi.Bool(true), }, }) if err != nil { return err } _, err = gkebackup.NewRestorePlan(ctx, "transformRule", &gkebackup.RestorePlanArgs{ Description: pulumi.String("copy nginx env variables"), Labels: pulumi.StringMap{ "app": pulumi.String("nginx"), }, Location: pulumi.String("us-central1"), BackupPlan: basic.ID(), Cluster: primary.ID(), RestoreConfig: &gkebackup.RestorePlanRestoreConfigArgs{ ExcludedNamespaces: &gkebackup.RestorePlanRestoreConfigExcludedNamespacesArgs{ Namespaces: pulumi.StringArray{ pulumi.String("my-ns"), }, }, NamespacedResourceRestoreMode: pulumi.String("DELETE_AND_RESTORE"), VolumeDataRestorePolicy: pulumi.String("RESTORE_VOLUME_DATA_FROM_BACKUP"), ClusterResourceRestoreScope: &gkebackup.RestorePlanRestoreConfigClusterResourceRestoreScopeArgs{ ExcludedGroupKinds: gkebackup.RestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKindArray{ &gkebackup.RestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKindArgs{ ResourceGroup: pulumi.String("apiextension.k8s.io"), ResourceKind: pulumi.String("CustomResourceDefinition"), }, }, }, ClusterResourceConflictPolicy: pulumi.String("USE_EXISTING_VERSION"), TransformationRules: gkebackup.RestorePlanRestoreConfigTransformationRuleArray{ &gkebackup.RestorePlanRestoreConfigTransformationRuleArgs{ Description: pulumi.String("Copy environment variables from the nginx container to the install init container."), ResourceFilter: &gkebackup.RestorePlanRestoreConfigTransformationRuleResourceFilterArgs{ GroupKinds: gkebackup.RestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindArray{ &gkebackup.RestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindArgs{ ResourceKind: pulumi.String("Pod"), ResourceGroup: pulumi.String(""), }, }, JsonPath: pulumi.String(".metadata[?(@.name == 'nginx')]"), }, FieldActions: gkebackup.RestorePlanRestoreConfigTransformationRuleFieldActionArray{ &gkebackup.RestorePlanRestoreConfigTransformationRuleFieldActionArgs{ Op: pulumi.String("COPY"), Path: pulumi.String("/spec/initContainers/0/env"), FromPath: pulumi.String("/spec/containers/0/env"), }, }, }, }, }, }) if err != nil { return err } return nil }) }
```
## Import
RestorePlan can be imported using any of these accepted formats ¶
```sh
$ pulumi import gcp:gkebackup/restorePlan:RestorePlan default projects/{{project}}/locations/{{location}}/restorePlans/{{name}}
```
```sh
$ pulumi import gcp:gkebackup/restorePlan:RestorePlan default {{project}}/{{location}}/{{name}}
```
```sh
$ pulumi import gcp:gkebackup/restorePlan:RestorePlan default {{location}}/{{name}}
```
func GetRestorePlan ¶
func GetRestorePlan(ctx *pulumi.Context, name string, id pulumi.IDInput, state *RestorePlanState, opts ...pulumi.ResourceOption) (*RestorePlan, error)
GetRestorePlan gets an existing RestorePlan 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 NewRestorePlan ¶
func NewRestorePlan(ctx *pulumi.Context, name string, args *RestorePlanArgs, opts ...pulumi.ResourceOption) (*RestorePlan, error)
NewRestorePlan registers a new resource with the given unique name, arguments, and options.
func (*RestorePlan) ElementType ¶
func (*RestorePlan) ElementType() reflect.Type
func (*RestorePlan) ToOutput ¶
func (i *RestorePlan) ToOutput(ctx context.Context) pulumix.Output[*RestorePlan]
func (*RestorePlan) ToRestorePlanOutput ¶
func (i *RestorePlan) ToRestorePlanOutput() RestorePlanOutput
func (*RestorePlan) ToRestorePlanOutputWithContext ¶
func (i *RestorePlan) ToRestorePlanOutputWithContext(ctx context.Context) RestorePlanOutput
type RestorePlanArgs ¶
type RestorePlanArgs struct { // A reference to the BackupPlan from which Backups may be used // as the source for Restores created via this RestorePlan. BackupPlan pulumi.StringInput // The source cluster from which Restores will be created via this RestorePlan. Cluster pulumi.StringInput // User specified descriptive string for this RestorePlan. Description pulumi.StringPtrInput // Description: A set of custom labels supplied by the user. // A list of key->value pairs. // Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }. // // **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. // Please refer to the field `effectiveLabels` for all of the labels present on the resource. Labels pulumi.StringMapInput // The region of the Restore Plan. Location pulumi.StringInput // The full name of the BackupPlan Resource. Name pulumi.StringPtrInput // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project pulumi.StringPtrInput // Defines the configuration of Restores created via this RestorePlan. // Structure is documented below. RestoreConfig RestorePlanRestoreConfigInput }
The set of arguments for constructing a RestorePlan resource.
func (RestorePlanArgs) ElementType ¶
func (RestorePlanArgs) ElementType() reflect.Type
type RestorePlanArray ¶
type RestorePlanArray []RestorePlanInput
func (RestorePlanArray) ElementType ¶
func (RestorePlanArray) ElementType() reflect.Type
func (RestorePlanArray) ToOutput ¶
func (i RestorePlanArray) ToOutput(ctx context.Context) pulumix.Output[[]*RestorePlan]
func (RestorePlanArray) ToRestorePlanArrayOutput ¶
func (i RestorePlanArray) ToRestorePlanArrayOutput() RestorePlanArrayOutput
func (RestorePlanArray) ToRestorePlanArrayOutputWithContext ¶
func (i RestorePlanArray) ToRestorePlanArrayOutputWithContext(ctx context.Context) RestorePlanArrayOutput
type RestorePlanArrayInput ¶
type RestorePlanArrayInput interface { pulumi.Input ToRestorePlanArrayOutput() RestorePlanArrayOutput ToRestorePlanArrayOutputWithContext(context.Context) RestorePlanArrayOutput }
RestorePlanArrayInput is an input type that accepts RestorePlanArray and RestorePlanArrayOutput values. You can construct a concrete instance of `RestorePlanArrayInput` via:
RestorePlanArray{ RestorePlanArgs{...} }
type RestorePlanArrayOutput ¶
type RestorePlanArrayOutput struct{ *pulumi.OutputState }
func (RestorePlanArrayOutput) ElementType ¶
func (RestorePlanArrayOutput) ElementType() reflect.Type
func (RestorePlanArrayOutput) Index ¶
func (o RestorePlanArrayOutput) Index(i pulumi.IntInput) RestorePlanOutput
func (RestorePlanArrayOutput) ToOutput ¶
func (o RestorePlanArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*RestorePlan]
func (RestorePlanArrayOutput) ToRestorePlanArrayOutput ¶
func (o RestorePlanArrayOutput) ToRestorePlanArrayOutput() RestorePlanArrayOutput
func (RestorePlanArrayOutput) ToRestorePlanArrayOutputWithContext ¶
func (o RestorePlanArrayOutput) ToRestorePlanArrayOutputWithContext(ctx context.Context) RestorePlanArrayOutput
type RestorePlanIamBinding ¶
type RestorePlanIamBinding struct { pulumi.CustomResourceState Condition RestorePlanIamBindingConditionPtrOutput `pulumi:"condition"` Etag pulumi.StringOutput `pulumi:"etag"` // The region of the Restore Plan. Location pulumi.StringOutput `pulumi:"location"` Members pulumi.StringArrayOutput `pulumi:"members"` // The full name of the BackupPlan Resource. Name pulumi.StringOutput `pulumi:"name"` // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project pulumi.StringOutput `pulumi:"project"` Role pulumi.StringOutput `pulumi:"role"` }
Represents a Restore Plan instance.
To get more information about RestorePlan, see:
* [API documentation](https://cloud.google.com/kubernetes-engine/docs/add-on/backup-for-gke/reference/rest/v1/projects.locations.restorePlans) * How-to Guides
- [Official Documentation](https://cloud.google.com/kubernetes-engine/docs/add-on/backup-for-gke)
## Example Usage ### Gkebackup Restoreplan All Namespaces
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/container" "github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/gkebackup" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { primary, err := container.NewCluster(ctx, "primary", &container.ClusterArgs{ Location: pulumi.String("us-central1"), InitialNodeCount: pulumi.Int(1), WorkloadIdentityConfig: &container.ClusterWorkloadIdentityConfigArgs{ WorkloadPool: pulumi.String("my-project-name.svc.id.goog"), }, AddonsConfig: &container.ClusterAddonsConfigArgs{ GkeBackupAgentConfig: &container.ClusterAddonsConfigGkeBackupAgentConfigArgs{ Enabled: pulumi.Bool(true), }, }, DeletionProtection: pulumi.Bool(""), }) if err != nil { return err } basic, err := gkebackup.NewBackupPlan(ctx, "basic", &gkebackup.BackupPlanArgs{ Cluster: primary.ID(), Location: pulumi.String("us-central1"), BackupConfig: &gkebackup.BackupPlanBackupConfigArgs{ IncludeVolumeData: pulumi.Bool(true), IncludeSecrets: pulumi.Bool(true), AllNamespaces: pulumi.Bool(true), }, }) if err != nil { return err } _, err = gkebackup.NewRestorePlan(ctx, "allNs", &gkebackup.RestorePlanArgs{ Location: pulumi.String("us-central1"), BackupPlan: basic.ID(), Cluster: primary.ID(), RestoreConfig: &gkebackup.RestorePlanRestoreConfigArgs{ AllNamespaces: pulumi.Bool(true), NamespacedResourceRestoreMode: pulumi.String("FAIL_ON_CONFLICT"), VolumeDataRestorePolicy: pulumi.String("RESTORE_VOLUME_DATA_FROM_BACKUP"), ClusterResourceRestoreScope: &gkebackup.RestorePlanRestoreConfigClusterResourceRestoreScopeArgs{ AllGroupKinds: pulumi.Bool(true), }, ClusterResourceConflictPolicy: pulumi.String("USE_EXISTING_VERSION"), }, }) if err != nil { return err } return nil }) }
``` ### Gkebackup Restoreplan Rollback Namespace
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/container" "github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/gkebackup" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { primary, err := container.NewCluster(ctx, "primary", &container.ClusterArgs{ Location: pulumi.String("us-central1"), InitialNodeCount: pulumi.Int(1), WorkloadIdentityConfig: &container.ClusterWorkloadIdentityConfigArgs{ WorkloadPool: pulumi.String("my-project-name.svc.id.goog"), }, AddonsConfig: &container.ClusterAddonsConfigArgs{ GkeBackupAgentConfig: &container.ClusterAddonsConfigGkeBackupAgentConfigArgs{ Enabled: pulumi.Bool(true), }, }, DeletionProtection: pulumi.Bool(""), }) if err != nil { return err } basic, err := gkebackup.NewBackupPlan(ctx, "basic", &gkebackup.BackupPlanArgs{ Cluster: primary.ID(), Location: pulumi.String("us-central1"), BackupConfig: &gkebackup.BackupPlanBackupConfigArgs{ IncludeVolumeData: pulumi.Bool(true), IncludeSecrets: pulumi.Bool(true), AllNamespaces: pulumi.Bool(true), }, }) if err != nil { return err } _, err = gkebackup.NewRestorePlan(ctx, "rollbackNs", &gkebackup.RestorePlanArgs{ Location: pulumi.String("us-central1"), BackupPlan: basic.ID(), Cluster: primary.ID(), RestoreConfig: &gkebackup.RestorePlanRestoreConfigArgs{ SelectedNamespaces: &gkebackup.RestorePlanRestoreConfigSelectedNamespacesArgs{ Namespaces: pulumi.StringArray{ pulumi.String("my-ns"), }, }, NamespacedResourceRestoreMode: pulumi.String("DELETE_AND_RESTORE"), VolumeDataRestorePolicy: pulumi.String("RESTORE_VOLUME_DATA_FROM_BACKUP"), ClusterResourceRestoreScope: &gkebackup.RestorePlanRestoreConfigClusterResourceRestoreScopeArgs{ SelectedGroupKinds: gkebackup.RestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindArray{ &gkebackup.RestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindArgs{ ResourceGroup: pulumi.String("apiextension.k8s.io"), ResourceKind: pulumi.String("CustomResourceDefinition"), }, &gkebackup.RestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindArgs{ ResourceGroup: pulumi.String("storage.k8s.io"), ResourceKind: pulumi.String("StorageClass"), }, }, }, ClusterResourceConflictPolicy: pulumi.String("USE_EXISTING_VERSION"), }, }) if err != nil { return err } return nil }) }
``` ### Gkebackup Restoreplan Protected Application
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/container" "github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/gkebackup" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { primary, err := container.NewCluster(ctx, "primary", &container.ClusterArgs{ Location: pulumi.String("us-central1"), InitialNodeCount: pulumi.Int(1), WorkloadIdentityConfig: &container.ClusterWorkloadIdentityConfigArgs{ WorkloadPool: pulumi.String("my-project-name.svc.id.goog"), }, AddonsConfig: &container.ClusterAddonsConfigArgs{ GkeBackupAgentConfig: &container.ClusterAddonsConfigGkeBackupAgentConfigArgs{ Enabled: pulumi.Bool(true), }, }, DeletionProtection: pulumi.Bool(""), }) if err != nil { return err } basic, err := gkebackup.NewBackupPlan(ctx, "basic", &gkebackup.BackupPlanArgs{ Cluster: primary.ID(), Location: pulumi.String("us-central1"), BackupConfig: &gkebackup.BackupPlanBackupConfigArgs{ IncludeVolumeData: pulumi.Bool(true), IncludeSecrets: pulumi.Bool(true), AllNamespaces: pulumi.Bool(true), }, }) if err != nil { return err } _, err = gkebackup.NewRestorePlan(ctx, "rollbackApp", &gkebackup.RestorePlanArgs{ Location: pulumi.String("us-central1"), BackupPlan: basic.ID(), Cluster: primary.ID(), RestoreConfig: &gkebackup.RestorePlanRestoreConfigArgs{ SelectedApplications: &gkebackup.RestorePlanRestoreConfigSelectedApplicationsArgs{ NamespacedNames: gkebackup.RestorePlanRestoreConfigSelectedApplicationsNamespacedNameArray{ &gkebackup.RestorePlanRestoreConfigSelectedApplicationsNamespacedNameArgs{ Name: pulumi.String("my-app"), Namespace: pulumi.String("my-ns"), }, }, }, NamespacedResourceRestoreMode: pulumi.String("DELETE_AND_RESTORE"), VolumeDataRestorePolicy: pulumi.String("REUSE_VOLUME_HANDLE_FROM_BACKUP"), ClusterResourceRestoreScope: &gkebackup.RestorePlanRestoreConfigClusterResourceRestoreScopeArgs{ NoGroupKinds: pulumi.Bool(true), }, }, }) if err != nil { return err } return nil }) }
``` ### Gkebackup Restoreplan All Cluster Resources
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/container" "github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/gkebackup" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { primary, err := container.NewCluster(ctx, "primary", &container.ClusterArgs{ Location: pulumi.String("us-central1"), InitialNodeCount: pulumi.Int(1), WorkloadIdentityConfig: &container.ClusterWorkloadIdentityConfigArgs{ WorkloadPool: pulumi.String("my-project-name.svc.id.goog"), }, AddonsConfig: &container.ClusterAddonsConfigArgs{ GkeBackupAgentConfig: &container.ClusterAddonsConfigGkeBackupAgentConfigArgs{ Enabled: pulumi.Bool(true), }, }, DeletionProtection: pulumi.Bool(""), }) if err != nil { return err } basic, err := gkebackup.NewBackupPlan(ctx, "basic", &gkebackup.BackupPlanArgs{ Cluster: primary.ID(), Location: pulumi.String("us-central1"), BackupConfig: &gkebackup.BackupPlanBackupConfigArgs{ IncludeVolumeData: pulumi.Bool(true), IncludeSecrets: pulumi.Bool(true), AllNamespaces: pulumi.Bool(true), }, }) if err != nil { return err } _, err = gkebackup.NewRestorePlan(ctx, "allClusterResources", &gkebackup.RestorePlanArgs{ Location: pulumi.String("us-central1"), BackupPlan: basic.ID(), Cluster: primary.ID(), RestoreConfig: &gkebackup.RestorePlanRestoreConfigArgs{ NoNamespaces: pulumi.Bool(true), NamespacedResourceRestoreMode: pulumi.String("FAIL_ON_CONFLICT"), ClusterResourceRestoreScope: &gkebackup.RestorePlanRestoreConfigClusterResourceRestoreScopeArgs{ AllGroupKinds: pulumi.Bool(true), }, ClusterResourceConflictPolicy: pulumi.String("USE_EXISTING_VERSION"), }, }) if err != nil { return err } return nil }) }
``` ### Gkebackup Restoreplan Rename Namespace
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/container" "github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/gkebackup" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { primary, err := container.NewCluster(ctx, "primary", &container.ClusterArgs{ Location: pulumi.String("us-central1"), InitialNodeCount: pulumi.Int(1), WorkloadIdentityConfig: &container.ClusterWorkloadIdentityConfigArgs{ WorkloadPool: pulumi.String("my-project-name.svc.id.goog"), }, AddonsConfig: &container.ClusterAddonsConfigArgs{ GkeBackupAgentConfig: &container.ClusterAddonsConfigGkeBackupAgentConfigArgs{ Enabled: pulumi.Bool(true), }, }, DeletionProtection: pulumi.Bool(""), }) if err != nil { return err } basic, err := gkebackup.NewBackupPlan(ctx, "basic", &gkebackup.BackupPlanArgs{ Cluster: primary.ID(), Location: pulumi.String("us-central1"), BackupConfig: &gkebackup.BackupPlanBackupConfigArgs{ IncludeVolumeData: pulumi.Bool(true), IncludeSecrets: pulumi.Bool(true), AllNamespaces: pulumi.Bool(true), }, }) if err != nil { return err } _, err = gkebackup.NewRestorePlan(ctx, "renameNs", &gkebackup.RestorePlanArgs{ Location: pulumi.String("us-central1"), BackupPlan: basic.ID(), Cluster: primary.ID(), RestoreConfig: &gkebackup.RestorePlanRestoreConfigArgs{ SelectedNamespaces: &gkebackup.RestorePlanRestoreConfigSelectedNamespacesArgs{ Namespaces: pulumi.StringArray{ pulumi.String("ns1"), }, }, NamespacedResourceRestoreMode: pulumi.String("FAIL_ON_CONFLICT"), VolumeDataRestorePolicy: pulumi.String("REUSE_VOLUME_HANDLE_FROM_BACKUP"), ClusterResourceRestoreScope: &gkebackup.RestorePlanRestoreConfigClusterResourceRestoreScopeArgs{ NoGroupKinds: pulumi.Bool(true), }, TransformationRules: gkebackup.RestorePlanRestoreConfigTransformationRuleArray{ &gkebackup.RestorePlanRestoreConfigTransformationRuleArgs{ Description: pulumi.String("rename namespace from ns1 to ns2"), ResourceFilter: &gkebackup.RestorePlanRestoreConfigTransformationRuleResourceFilterArgs{ GroupKinds: gkebackup.RestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindArray{ &gkebackup.RestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindArgs{ ResourceKind: pulumi.String("Namespace"), }, }, JsonPath: pulumi.String(".metadata[?(@.name == 'ns1')]"), }, FieldActions: gkebackup.RestorePlanRestoreConfigTransformationRuleFieldActionArray{ &gkebackup.RestorePlanRestoreConfigTransformationRuleFieldActionArgs{ Op: pulumi.String("REPLACE"), Path: pulumi.String("/metadata/name"), Value: pulumi.String("ns2"), }, }, }, &gkebackup.RestorePlanRestoreConfigTransformationRuleArgs{ Description: pulumi.String("move all resources from ns1 to ns2"), ResourceFilter: &gkebackup.RestorePlanRestoreConfigTransformationRuleResourceFilterArgs{ Namespaces: pulumi.StringArray{ pulumi.String("ns1"), }, }, FieldActions: gkebackup.RestorePlanRestoreConfigTransformationRuleFieldActionArray{ &gkebackup.RestorePlanRestoreConfigTransformationRuleFieldActionArgs{ Op: pulumi.String("REPLACE"), Path: pulumi.String("/metadata/namespace"), Value: pulumi.String("ns2"), }, }, }, }, }, }) if err != nil { return err } return nil }) }
``` ### Gkebackup Restoreplan Second Transformation
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/container" "github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/gkebackup" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { primary, err := container.NewCluster(ctx, "primary", &container.ClusterArgs{ Location: pulumi.String("us-central1"), InitialNodeCount: pulumi.Int(1), WorkloadIdentityConfig: &container.ClusterWorkloadIdentityConfigArgs{ WorkloadPool: pulumi.String("my-project-name.svc.id.goog"), }, AddonsConfig: &container.ClusterAddonsConfigArgs{ GkeBackupAgentConfig: &container.ClusterAddonsConfigGkeBackupAgentConfigArgs{ Enabled: pulumi.Bool(true), }, }, DeletionProtection: pulumi.Bool(""), }) if err != nil { return err } basic, err := gkebackup.NewBackupPlan(ctx, "basic", &gkebackup.BackupPlanArgs{ Cluster: primary.ID(), Location: pulumi.String("us-central1"), BackupConfig: &gkebackup.BackupPlanBackupConfigArgs{ IncludeVolumeData: pulumi.Bool(true), IncludeSecrets: pulumi.Bool(true), AllNamespaces: pulumi.Bool(true), }, }) if err != nil { return err } _, err = gkebackup.NewRestorePlan(ctx, "transformRule", &gkebackup.RestorePlanArgs{ Description: pulumi.String("copy nginx env variables"), Labels: pulumi.StringMap{ "app": pulumi.String("nginx"), }, Location: pulumi.String("us-central1"), BackupPlan: basic.ID(), Cluster: primary.ID(), RestoreConfig: &gkebackup.RestorePlanRestoreConfigArgs{ ExcludedNamespaces: &gkebackup.RestorePlanRestoreConfigExcludedNamespacesArgs{ Namespaces: pulumi.StringArray{ pulumi.String("my-ns"), }, }, NamespacedResourceRestoreMode: pulumi.String("DELETE_AND_RESTORE"), VolumeDataRestorePolicy: pulumi.String("RESTORE_VOLUME_DATA_FROM_BACKUP"), ClusterResourceRestoreScope: &gkebackup.RestorePlanRestoreConfigClusterResourceRestoreScopeArgs{ ExcludedGroupKinds: gkebackup.RestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKindArray{ &gkebackup.RestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKindArgs{ ResourceGroup: pulumi.String("apiextension.k8s.io"), ResourceKind: pulumi.String("CustomResourceDefinition"), }, }, }, ClusterResourceConflictPolicy: pulumi.String("USE_EXISTING_VERSION"), TransformationRules: gkebackup.RestorePlanRestoreConfigTransformationRuleArray{ &gkebackup.RestorePlanRestoreConfigTransformationRuleArgs{ Description: pulumi.String("Copy environment variables from the nginx container to the install init container."), ResourceFilter: &gkebackup.RestorePlanRestoreConfigTransformationRuleResourceFilterArgs{ GroupKinds: gkebackup.RestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindArray{ &gkebackup.RestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindArgs{ ResourceKind: pulumi.String("Pod"), ResourceGroup: pulumi.String(""), }, }, JsonPath: pulumi.String(".metadata[?(@.name == 'nginx')]"), }, FieldActions: gkebackup.RestorePlanRestoreConfigTransformationRuleFieldActionArray{ &gkebackup.RestorePlanRestoreConfigTransformationRuleFieldActionArgs{ Op: pulumi.String("COPY"), Path: pulumi.String("/spec/initContainers/0/env"), FromPath: pulumi.String("/spec/containers/0/env"), }, }, }, }, }, }) if err != nil { return err } return nil }) }
```
## Import
RestorePlan can be imported using any of these accepted formats ¶
```sh
$ pulumi import gcp:gkebackup/restorePlanIamBinding:RestorePlanIamBinding default projects/{{project}}/locations/{{location}}/restorePlans/{{name}}
```
```sh
$ pulumi import gcp:gkebackup/restorePlanIamBinding:RestorePlanIamBinding default {{project}}/{{location}}/{{name}}
```
```sh
$ pulumi import gcp:gkebackup/restorePlanIamBinding:RestorePlanIamBinding default {{location}}/{{name}}
```
func GetRestorePlanIamBinding ¶
func GetRestorePlanIamBinding(ctx *pulumi.Context, name string, id pulumi.IDInput, state *RestorePlanIamBindingState, opts ...pulumi.ResourceOption) (*RestorePlanIamBinding, error)
GetRestorePlanIamBinding gets an existing RestorePlanIamBinding 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 NewRestorePlanIamBinding ¶
func NewRestorePlanIamBinding(ctx *pulumi.Context, name string, args *RestorePlanIamBindingArgs, opts ...pulumi.ResourceOption) (*RestorePlanIamBinding, error)
NewRestorePlanIamBinding registers a new resource with the given unique name, arguments, and options.
func (*RestorePlanIamBinding) ElementType ¶
func (*RestorePlanIamBinding) ElementType() reflect.Type
func (*RestorePlanIamBinding) ToOutput ¶
func (i *RestorePlanIamBinding) ToOutput(ctx context.Context) pulumix.Output[*RestorePlanIamBinding]
func (*RestorePlanIamBinding) ToRestorePlanIamBindingOutput ¶
func (i *RestorePlanIamBinding) ToRestorePlanIamBindingOutput() RestorePlanIamBindingOutput
func (*RestorePlanIamBinding) ToRestorePlanIamBindingOutputWithContext ¶
func (i *RestorePlanIamBinding) ToRestorePlanIamBindingOutputWithContext(ctx context.Context) RestorePlanIamBindingOutput
type RestorePlanIamBindingArgs ¶
type RestorePlanIamBindingArgs struct { Condition RestorePlanIamBindingConditionPtrInput // The region of the Restore Plan. Location pulumi.StringPtrInput Members pulumi.StringArrayInput // The full name of the BackupPlan Resource. Name pulumi.StringPtrInput // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project pulumi.StringPtrInput Role pulumi.StringInput }
The set of arguments for constructing a RestorePlanIamBinding resource.
func (RestorePlanIamBindingArgs) ElementType ¶
func (RestorePlanIamBindingArgs) ElementType() reflect.Type
type RestorePlanIamBindingArray ¶
type RestorePlanIamBindingArray []RestorePlanIamBindingInput
func (RestorePlanIamBindingArray) ElementType ¶
func (RestorePlanIamBindingArray) ElementType() reflect.Type
func (RestorePlanIamBindingArray) ToOutput ¶
func (i RestorePlanIamBindingArray) ToOutput(ctx context.Context) pulumix.Output[[]*RestorePlanIamBinding]
func (RestorePlanIamBindingArray) ToRestorePlanIamBindingArrayOutput ¶
func (i RestorePlanIamBindingArray) ToRestorePlanIamBindingArrayOutput() RestorePlanIamBindingArrayOutput
func (RestorePlanIamBindingArray) ToRestorePlanIamBindingArrayOutputWithContext ¶
func (i RestorePlanIamBindingArray) ToRestorePlanIamBindingArrayOutputWithContext(ctx context.Context) RestorePlanIamBindingArrayOutput
type RestorePlanIamBindingArrayInput ¶
type RestorePlanIamBindingArrayInput interface { pulumi.Input ToRestorePlanIamBindingArrayOutput() RestorePlanIamBindingArrayOutput ToRestorePlanIamBindingArrayOutputWithContext(context.Context) RestorePlanIamBindingArrayOutput }
RestorePlanIamBindingArrayInput is an input type that accepts RestorePlanIamBindingArray and RestorePlanIamBindingArrayOutput values. You can construct a concrete instance of `RestorePlanIamBindingArrayInput` via:
RestorePlanIamBindingArray{ RestorePlanIamBindingArgs{...} }
type RestorePlanIamBindingArrayOutput ¶
type RestorePlanIamBindingArrayOutput struct{ *pulumi.OutputState }
func (RestorePlanIamBindingArrayOutput) ElementType ¶
func (RestorePlanIamBindingArrayOutput) ElementType() reflect.Type
func (RestorePlanIamBindingArrayOutput) Index ¶
func (o RestorePlanIamBindingArrayOutput) Index(i pulumi.IntInput) RestorePlanIamBindingOutput
func (RestorePlanIamBindingArrayOutput) ToOutput ¶
func (o RestorePlanIamBindingArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*RestorePlanIamBinding]
func (RestorePlanIamBindingArrayOutput) ToRestorePlanIamBindingArrayOutput ¶
func (o RestorePlanIamBindingArrayOutput) ToRestorePlanIamBindingArrayOutput() RestorePlanIamBindingArrayOutput
func (RestorePlanIamBindingArrayOutput) ToRestorePlanIamBindingArrayOutputWithContext ¶
func (o RestorePlanIamBindingArrayOutput) ToRestorePlanIamBindingArrayOutputWithContext(ctx context.Context) RestorePlanIamBindingArrayOutput
type RestorePlanIamBindingConditionArgs ¶
type RestorePlanIamBindingConditionArgs struct { // User specified descriptive string for this RestorePlan. Description pulumi.StringPtrInput `pulumi:"description"` Expression pulumi.StringInput `pulumi:"expression"` Title pulumi.StringInput `pulumi:"title"` }
func (RestorePlanIamBindingConditionArgs) ElementType ¶
func (RestorePlanIamBindingConditionArgs) ElementType() reflect.Type
func (RestorePlanIamBindingConditionArgs) ToOutput ¶
func (i RestorePlanIamBindingConditionArgs) ToOutput(ctx context.Context) pulumix.Output[RestorePlanIamBindingCondition]
func (RestorePlanIamBindingConditionArgs) ToRestorePlanIamBindingConditionOutput ¶
func (i RestorePlanIamBindingConditionArgs) ToRestorePlanIamBindingConditionOutput() RestorePlanIamBindingConditionOutput
func (RestorePlanIamBindingConditionArgs) ToRestorePlanIamBindingConditionOutputWithContext ¶
func (i RestorePlanIamBindingConditionArgs) ToRestorePlanIamBindingConditionOutputWithContext(ctx context.Context) RestorePlanIamBindingConditionOutput
func (RestorePlanIamBindingConditionArgs) ToRestorePlanIamBindingConditionPtrOutput ¶
func (i RestorePlanIamBindingConditionArgs) ToRestorePlanIamBindingConditionPtrOutput() RestorePlanIamBindingConditionPtrOutput
func (RestorePlanIamBindingConditionArgs) ToRestorePlanIamBindingConditionPtrOutputWithContext ¶
func (i RestorePlanIamBindingConditionArgs) ToRestorePlanIamBindingConditionPtrOutputWithContext(ctx context.Context) RestorePlanIamBindingConditionPtrOutput
type RestorePlanIamBindingConditionInput ¶
type RestorePlanIamBindingConditionInput interface { pulumi.Input ToRestorePlanIamBindingConditionOutput() RestorePlanIamBindingConditionOutput ToRestorePlanIamBindingConditionOutputWithContext(context.Context) RestorePlanIamBindingConditionOutput }
RestorePlanIamBindingConditionInput is an input type that accepts RestorePlanIamBindingConditionArgs and RestorePlanIamBindingConditionOutput values. You can construct a concrete instance of `RestorePlanIamBindingConditionInput` via:
RestorePlanIamBindingConditionArgs{...}
type RestorePlanIamBindingConditionOutput ¶
type RestorePlanIamBindingConditionOutput struct{ *pulumi.OutputState }
func (RestorePlanIamBindingConditionOutput) Description ¶
func (o RestorePlanIamBindingConditionOutput) Description() pulumi.StringPtrOutput
User specified descriptive string for this RestorePlan.
func (RestorePlanIamBindingConditionOutput) ElementType ¶
func (RestorePlanIamBindingConditionOutput) ElementType() reflect.Type
func (RestorePlanIamBindingConditionOutput) Expression ¶
func (o RestorePlanIamBindingConditionOutput) Expression() pulumi.StringOutput
func (RestorePlanIamBindingConditionOutput) Title ¶
func (o RestorePlanIamBindingConditionOutput) Title() pulumi.StringOutput
func (RestorePlanIamBindingConditionOutput) ToOutput ¶
func (o RestorePlanIamBindingConditionOutput) ToOutput(ctx context.Context) pulumix.Output[RestorePlanIamBindingCondition]
func (RestorePlanIamBindingConditionOutput) ToRestorePlanIamBindingConditionOutput ¶
func (o RestorePlanIamBindingConditionOutput) ToRestorePlanIamBindingConditionOutput() RestorePlanIamBindingConditionOutput
func (RestorePlanIamBindingConditionOutput) ToRestorePlanIamBindingConditionOutputWithContext ¶
func (o RestorePlanIamBindingConditionOutput) ToRestorePlanIamBindingConditionOutputWithContext(ctx context.Context) RestorePlanIamBindingConditionOutput
func (RestorePlanIamBindingConditionOutput) ToRestorePlanIamBindingConditionPtrOutput ¶
func (o RestorePlanIamBindingConditionOutput) ToRestorePlanIamBindingConditionPtrOutput() RestorePlanIamBindingConditionPtrOutput
func (RestorePlanIamBindingConditionOutput) ToRestorePlanIamBindingConditionPtrOutputWithContext ¶
func (o RestorePlanIamBindingConditionOutput) ToRestorePlanIamBindingConditionPtrOutputWithContext(ctx context.Context) RestorePlanIamBindingConditionPtrOutput
type RestorePlanIamBindingConditionPtrInput ¶
type RestorePlanIamBindingConditionPtrInput interface { pulumi.Input ToRestorePlanIamBindingConditionPtrOutput() RestorePlanIamBindingConditionPtrOutput ToRestorePlanIamBindingConditionPtrOutputWithContext(context.Context) RestorePlanIamBindingConditionPtrOutput }
RestorePlanIamBindingConditionPtrInput is an input type that accepts RestorePlanIamBindingConditionArgs, RestorePlanIamBindingConditionPtr and RestorePlanIamBindingConditionPtrOutput values. You can construct a concrete instance of `RestorePlanIamBindingConditionPtrInput` via:
RestorePlanIamBindingConditionArgs{...} or: nil
func RestorePlanIamBindingConditionPtr ¶
func RestorePlanIamBindingConditionPtr(v *RestorePlanIamBindingConditionArgs) RestorePlanIamBindingConditionPtrInput
type RestorePlanIamBindingConditionPtrOutput ¶
type RestorePlanIamBindingConditionPtrOutput struct{ *pulumi.OutputState }
func (RestorePlanIamBindingConditionPtrOutput) Description ¶
func (o RestorePlanIamBindingConditionPtrOutput) Description() pulumi.StringPtrOutput
User specified descriptive string for this RestorePlan.
func (RestorePlanIamBindingConditionPtrOutput) ElementType ¶
func (RestorePlanIamBindingConditionPtrOutput) ElementType() reflect.Type
func (RestorePlanIamBindingConditionPtrOutput) Expression ¶
func (o RestorePlanIamBindingConditionPtrOutput) Expression() pulumi.StringPtrOutput
func (RestorePlanIamBindingConditionPtrOutput) Title ¶
func (o RestorePlanIamBindingConditionPtrOutput) Title() pulumi.StringPtrOutput
func (RestorePlanIamBindingConditionPtrOutput) ToOutput ¶
func (o RestorePlanIamBindingConditionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RestorePlanIamBindingCondition]
func (RestorePlanIamBindingConditionPtrOutput) ToRestorePlanIamBindingConditionPtrOutput ¶
func (o RestorePlanIamBindingConditionPtrOutput) ToRestorePlanIamBindingConditionPtrOutput() RestorePlanIamBindingConditionPtrOutput
func (RestorePlanIamBindingConditionPtrOutput) ToRestorePlanIamBindingConditionPtrOutputWithContext ¶
func (o RestorePlanIamBindingConditionPtrOutput) ToRestorePlanIamBindingConditionPtrOutputWithContext(ctx context.Context) RestorePlanIamBindingConditionPtrOutput
type RestorePlanIamBindingInput ¶
type RestorePlanIamBindingInput interface { pulumi.Input ToRestorePlanIamBindingOutput() RestorePlanIamBindingOutput ToRestorePlanIamBindingOutputWithContext(ctx context.Context) RestorePlanIamBindingOutput }
type RestorePlanIamBindingMap ¶
type RestorePlanIamBindingMap map[string]RestorePlanIamBindingInput
func (RestorePlanIamBindingMap) ElementType ¶
func (RestorePlanIamBindingMap) ElementType() reflect.Type
func (RestorePlanIamBindingMap) ToOutput ¶
func (i RestorePlanIamBindingMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*RestorePlanIamBinding]
func (RestorePlanIamBindingMap) ToRestorePlanIamBindingMapOutput ¶
func (i RestorePlanIamBindingMap) ToRestorePlanIamBindingMapOutput() RestorePlanIamBindingMapOutput
func (RestorePlanIamBindingMap) ToRestorePlanIamBindingMapOutputWithContext ¶
func (i RestorePlanIamBindingMap) ToRestorePlanIamBindingMapOutputWithContext(ctx context.Context) RestorePlanIamBindingMapOutput
type RestorePlanIamBindingMapInput ¶
type RestorePlanIamBindingMapInput interface { pulumi.Input ToRestorePlanIamBindingMapOutput() RestorePlanIamBindingMapOutput ToRestorePlanIamBindingMapOutputWithContext(context.Context) RestorePlanIamBindingMapOutput }
RestorePlanIamBindingMapInput is an input type that accepts RestorePlanIamBindingMap and RestorePlanIamBindingMapOutput values. You can construct a concrete instance of `RestorePlanIamBindingMapInput` via:
RestorePlanIamBindingMap{ "key": RestorePlanIamBindingArgs{...} }
type RestorePlanIamBindingMapOutput ¶
type RestorePlanIamBindingMapOutput struct{ *pulumi.OutputState }
func (RestorePlanIamBindingMapOutput) ElementType ¶
func (RestorePlanIamBindingMapOutput) ElementType() reflect.Type
func (RestorePlanIamBindingMapOutput) MapIndex ¶
func (o RestorePlanIamBindingMapOutput) MapIndex(k pulumi.StringInput) RestorePlanIamBindingOutput
func (RestorePlanIamBindingMapOutput) ToOutput ¶
func (o RestorePlanIamBindingMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*RestorePlanIamBinding]
func (RestorePlanIamBindingMapOutput) ToRestorePlanIamBindingMapOutput ¶
func (o RestorePlanIamBindingMapOutput) ToRestorePlanIamBindingMapOutput() RestorePlanIamBindingMapOutput
func (RestorePlanIamBindingMapOutput) ToRestorePlanIamBindingMapOutputWithContext ¶
func (o RestorePlanIamBindingMapOutput) ToRestorePlanIamBindingMapOutputWithContext(ctx context.Context) RestorePlanIamBindingMapOutput
type RestorePlanIamBindingOutput ¶
type RestorePlanIamBindingOutput struct{ *pulumi.OutputState }
func (RestorePlanIamBindingOutput) Condition ¶
func (o RestorePlanIamBindingOutput) Condition() RestorePlanIamBindingConditionPtrOutput
func (RestorePlanIamBindingOutput) ElementType ¶
func (RestorePlanIamBindingOutput) ElementType() reflect.Type
func (RestorePlanIamBindingOutput) Etag ¶
func (o RestorePlanIamBindingOutput) Etag() pulumi.StringOutput
func (RestorePlanIamBindingOutput) Location ¶
func (o RestorePlanIamBindingOutput) Location() pulumi.StringOutput
The region of the Restore Plan.
func (RestorePlanIamBindingOutput) Members ¶
func (o RestorePlanIamBindingOutput) Members() pulumi.StringArrayOutput
func (RestorePlanIamBindingOutput) Name ¶
func (o RestorePlanIamBindingOutput) Name() pulumi.StringOutput
The full name of the BackupPlan Resource.
func (RestorePlanIamBindingOutput) Project ¶
func (o RestorePlanIamBindingOutput) Project() pulumi.StringOutput
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
func (RestorePlanIamBindingOutput) Role ¶
func (o RestorePlanIamBindingOutput) Role() pulumi.StringOutput
func (RestorePlanIamBindingOutput) ToOutput ¶
func (o RestorePlanIamBindingOutput) ToOutput(ctx context.Context) pulumix.Output[*RestorePlanIamBinding]
func (RestorePlanIamBindingOutput) ToRestorePlanIamBindingOutput ¶
func (o RestorePlanIamBindingOutput) ToRestorePlanIamBindingOutput() RestorePlanIamBindingOutput
func (RestorePlanIamBindingOutput) ToRestorePlanIamBindingOutputWithContext ¶
func (o RestorePlanIamBindingOutput) ToRestorePlanIamBindingOutputWithContext(ctx context.Context) RestorePlanIamBindingOutput
type RestorePlanIamBindingState ¶
type RestorePlanIamBindingState struct { Condition RestorePlanIamBindingConditionPtrInput Etag pulumi.StringPtrInput // The region of the Restore Plan. Location pulumi.StringPtrInput Members pulumi.StringArrayInput // The full name of the BackupPlan Resource. Name pulumi.StringPtrInput // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project pulumi.StringPtrInput Role pulumi.StringPtrInput }
func (RestorePlanIamBindingState) ElementType ¶
func (RestorePlanIamBindingState) ElementType() reflect.Type
type RestorePlanIamMember ¶
type RestorePlanIamMember struct { pulumi.CustomResourceState Condition RestorePlanIamMemberConditionPtrOutput `pulumi:"condition"` Etag pulumi.StringOutput `pulumi:"etag"` // The region of the Restore Plan. Location pulumi.StringOutput `pulumi:"location"` Member pulumi.StringOutput `pulumi:"member"` // The full name of the BackupPlan Resource. Name pulumi.StringOutput `pulumi:"name"` // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project pulumi.StringOutput `pulumi:"project"` Role pulumi.StringOutput `pulumi:"role"` }
Represents a Restore Plan instance.
To get more information about RestorePlan, see:
* [API documentation](https://cloud.google.com/kubernetes-engine/docs/add-on/backup-for-gke/reference/rest/v1/projects.locations.restorePlans) * How-to Guides
- [Official Documentation](https://cloud.google.com/kubernetes-engine/docs/add-on/backup-for-gke)
## Example Usage ### Gkebackup Restoreplan All Namespaces
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/container" "github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/gkebackup" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { primary, err := container.NewCluster(ctx, "primary", &container.ClusterArgs{ Location: pulumi.String("us-central1"), InitialNodeCount: pulumi.Int(1), WorkloadIdentityConfig: &container.ClusterWorkloadIdentityConfigArgs{ WorkloadPool: pulumi.String("my-project-name.svc.id.goog"), }, AddonsConfig: &container.ClusterAddonsConfigArgs{ GkeBackupAgentConfig: &container.ClusterAddonsConfigGkeBackupAgentConfigArgs{ Enabled: pulumi.Bool(true), }, }, DeletionProtection: pulumi.Bool(""), }) if err != nil { return err } basic, err := gkebackup.NewBackupPlan(ctx, "basic", &gkebackup.BackupPlanArgs{ Cluster: primary.ID(), Location: pulumi.String("us-central1"), BackupConfig: &gkebackup.BackupPlanBackupConfigArgs{ IncludeVolumeData: pulumi.Bool(true), IncludeSecrets: pulumi.Bool(true), AllNamespaces: pulumi.Bool(true), }, }) if err != nil { return err } _, err = gkebackup.NewRestorePlan(ctx, "allNs", &gkebackup.RestorePlanArgs{ Location: pulumi.String("us-central1"), BackupPlan: basic.ID(), Cluster: primary.ID(), RestoreConfig: &gkebackup.RestorePlanRestoreConfigArgs{ AllNamespaces: pulumi.Bool(true), NamespacedResourceRestoreMode: pulumi.String("FAIL_ON_CONFLICT"), VolumeDataRestorePolicy: pulumi.String("RESTORE_VOLUME_DATA_FROM_BACKUP"), ClusterResourceRestoreScope: &gkebackup.RestorePlanRestoreConfigClusterResourceRestoreScopeArgs{ AllGroupKinds: pulumi.Bool(true), }, ClusterResourceConflictPolicy: pulumi.String("USE_EXISTING_VERSION"), }, }) if err != nil { return err } return nil }) }
``` ### Gkebackup Restoreplan Rollback Namespace
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/container" "github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/gkebackup" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { primary, err := container.NewCluster(ctx, "primary", &container.ClusterArgs{ Location: pulumi.String("us-central1"), InitialNodeCount: pulumi.Int(1), WorkloadIdentityConfig: &container.ClusterWorkloadIdentityConfigArgs{ WorkloadPool: pulumi.String("my-project-name.svc.id.goog"), }, AddonsConfig: &container.ClusterAddonsConfigArgs{ GkeBackupAgentConfig: &container.ClusterAddonsConfigGkeBackupAgentConfigArgs{ Enabled: pulumi.Bool(true), }, }, DeletionProtection: pulumi.Bool(""), }) if err != nil { return err } basic, err := gkebackup.NewBackupPlan(ctx, "basic", &gkebackup.BackupPlanArgs{ Cluster: primary.ID(), Location: pulumi.String("us-central1"), BackupConfig: &gkebackup.BackupPlanBackupConfigArgs{ IncludeVolumeData: pulumi.Bool(true), IncludeSecrets: pulumi.Bool(true), AllNamespaces: pulumi.Bool(true), }, }) if err != nil { return err } _, err = gkebackup.NewRestorePlan(ctx, "rollbackNs", &gkebackup.RestorePlanArgs{ Location: pulumi.String("us-central1"), BackupPlan: basic.ID(), Cluster: primary.ID(), RestoreConfig: &gkebackup.RestorePlanRestoreConfigArgs{ SelectedNamespaces: &gkebackup.RestorePlanRestoreConfigSelectedNamespacesArgs{ Namespaces: pulumi.StringArray{ pulumi.String("my-ns"), }, }, NamespacedResourceRestoreMode: pulumi.String("DELETE_AND_RESTORE"), VolumeDataRestorePolicy: pulumi.String("RESTORE_VOLUME_DATA_FROM_BACKUP"), ClusterResourceRestoreScope: &gkebackup.RestorePlanRestoreConfigClusterResourceRestoreScopeArgs{ SelectedGroupKinds: gkebackup.RestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindArray{ &gkebackup.RestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindArgs{ ResourceGroup: pulumi.String("apiextension.k8s.io"), ResourceKind: pulumi.String("CustomResourceDefinition"), }, &gkebackup.RestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindArgs{ ResourceGroup: pulumi.String("storage.k8s.io"), ResourceKind: pulumi.String("StorageClass"), }, }, }, ClusterResourceConflictPolicy: pulumi.String("USE_EXISTING_VERSION"), }, }) if err != nil { return err } return nil }) }
``` ### Gkebackup Restoreplan Protected Application
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/container" "github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/gkebackup" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { primary, err := container.NewCluster(ctx, "primary", &container.ClusterArgs{ Location: pulumi.String("us-central1"), InitialNodeCount: pulumi.Int(1), WorkloadIdentityConfig: &container.ClusterWorkloadIdentityConfigArgs{ WorkloadPool: pulumi.String("my-project-name.svc.id.goog"), }, AddonsConfig: &container.ClusterAddonsConfigArgs{ GkeBackupAgentConfig: &container.ClusterAddonsConfigGkeBackupAgentConfigArgs{ Enabled: pulumi.Bool(true), }, }, DeletionProtection: pulumi.Bool(""), }) if err != nil { return err } basic, err := gkebackup.NewBackupPlan(ctx, "basic", &gkebackup.BackupPlanArgs{ Cluster: primary.ID(), Location: pulumi.String("us-central1"), BackupConfig: &gkebackup.BackupPlanBackupConfigArgs{ IncludeVolumeData: pulumi.Bool(true), IncludeSecrets: pulumi.Bool(true), AllNamespaces: pulumi.Bool(true), }, }) if err != nil { return err } _, err = gkebackup.NewRestorePlan(ctx, "rollbackApp", &gkebackup.RestorePlanArgs{ Location: pulumi.String("us-central1"), BackupPlan: basic.ID(), Cluster: primary.ID(), RestoreConfig: &gkebackup.RestorePlanRestoreConfigArgs{ SelectedApplications: &gkebackup.RestorePlanRestoreConfigSelectedApplicationsArgs{ NamespacedNames: gkebackup.RestorePlanRestoreConfigSelectedApplicationsNamespacedNameArray{ &gkebackup.RestorePlanRestoreConfigSelectedApplicationsNamespacedNameArgs{ Name: pulumi.String("my-app"), Namespace: pulumi.String("my-ns"), }, }, }, NamespacedResourceRestoreMode: pulumi.String("DELETE_AND_RESTORE"), VolumeDataRestorePolicy: pulumi.String("REUSE_VOLUME_HANDLE_FROM_BACKUP"), ClusterResourceRestoreScope: &gkebackup.RestorePlanRestoreConfigClusterResourceRestoreScopeArgs{ NoGroupKinds: pulumi.Bool(true), }, }, }) if err != nil { return err } return nil }) }
``` ### Gkebackup Restoreplan All Cluster Resources
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/container" "github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/gkebackup" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { primary, err := container.NewCluster(ctx, "primary", &container.ClusterArgs{ Location: pulumi.String("us-central1"), InitialNodeCount: pulumi.Int(1), WorkloadIdentityConfig: &container.ClusterWorkloadIdentityConfigArgs{ WorkloadPool: pulumi.String("my-project-name.svc.id.goog"), }, AddonsConfig: &container.ClusterAddonsConfigArgs{ GkeBackupAgentConfig: &container.ClusterAddonsConfigGkeBackupAgentConfigArgs{ Enabled: pulumi.Bool(true), }, }, DeletionProtection: pulumi.Bool(""), }) if err != nil { return err } basic, err := gkebackup.NewBackupPlan(ctx, "basic", &gkebackup.BackupPlanArgs{ Cluster: primary.ID(), Location: pulumi.String("us-central1"), BackupConfig: &gkebackup.BackupPlanBackupConfigArgs{ IncludeVolumeData: pulumi.Bool(true), IncludeSecrets: pulumi.Bool(true), AllNamespaces: pulumi.Bool(true), }, }) if err != nil { return err } _, err = gkebackup.NewRestorePlan(ctx, "allClusterResources", &gkebackup.RestorePlanArgs{ Location: pulumi.String("us-central1"), BackupPlan: basic.ID(), Cluster: primary.ID(), RestoreConfig: &gkebackup.RestorePlanRestoreConfigArgs{ NoNamespaces: pulumi.Bool(true), NamespacedResourceRestoreMode: pulumi.String("FAIL_ON_CONFLICT"), ClusterResourceRestoreScope: &gkebackup.RestorePlanRestoreConfigClusterResourceRestoreScopeArgs{ AllGroupKinds: pulumi.Bool(true), }, ClusterResourceConflictPolicy: pulumi.String("USE_EXISTING_VERSION"), }, }) if err != nil { return err } return nil }) }
``` ### Gkebackup Restoreplan Rename Namespace
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/container" "github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/gkebackup" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { primary, err := container.NewCluster(ctx, "primary", &container.ClusterArgs{ Location: pulumi.String("us-central1"), InitialNodeCount: pulumi.Int(1), WorkloadIdentityConfig: &container.ClusterWorkloadIdentityConfigArgs{ WorkloadPool: pulumi.String("my-project-name.svc.id.goog"), }, AddonsConfig: &container.ClusterAddonsConfigArgs{ GkeBackupAgentConfig: &container.ClusterAddonsConfigGkeBackupAgentConfigArgs{ Enabled: pulumi.Bool(true), }, }, DeletionProtection: pulumi.Bool(""), }) if err != nil { return err } basic, err := gkebackup.NewBackupPlan(ctx, "basic", &gkebackup.BackupPlanArgs{ Cluster: primary.ID(), Location: pulumi.String("us-central1"), BackupConfig: &gkebackup.BackupPlanBackupConfigArgs{ IncludeVolumeData: pulumi.Bool(true), IncludeSecrets: pulumi.Bool(true), AllNamespaces: pulumi.Bool(true), }, }) if err != nil { return err } _, err = gkebackup.NewRestorePlan(ctx, "renameNs", &gkebackup.RestorePlanArgs{ Location: pulumi.String("us-central1"), BackupPlan: basic.ID(), Cluster: primary.ID(), RestoreConfig: &gkebackup.RestorePlanRestoreConfigArgs{ SelectedNamespaces: &gkebackup.RestorePlanRestoreConfigSelectedNamespacesArgs{ Namespaces: pulumi.StringArray{ pulumi.String("ns1"), }, }, NamespacedResourceRestoreMode: pulumi.String("FAIL_ON_CONFLICT"), VolumeDataRestorePolicy: pulumi.String("REUSE_VOLUME_HANDLE_FROM_BACKUP"), ClusterResourceRestoreScope: &gkebackup.RestorePlanRestoreConfigClusterResourceRestoreScopeArgs{ NoGroupKinds: pulumi.Bool(true), }, TransformationRules: gkebackup.RestorePlanRestoreConfigTransformationRuleArray{ &gkebackup.RestorePlanRestoreConfigTransformationRuleArgs{ Description: pulumi.String("rename namespace from ns1 to ns2"), ResourceFilter: &gkebackup.RestorePlanRestoreConfigTransformationRuleResourceFilterArgs{ GroupKinds: gkebackup.RestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindArray{ &gkebackup.RestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindArgs{ ResourceKind: pulumi.String("Namespace"), }, }, JsonPath: pulumi.String(".metadata[?(@.name == 'ns1')]"), }, FieldActions: gkebackup.RestorePlanRestoreConfigTransformationRuleFieldActionArray{ &gkebackup.RestorePlanRestoreConfigTransformationRuleFieldActionArgs{ Op: pulumi.String("REPLACE"), Path: pulumi.String("/metadata/name"), Value: pulumi.String("ns2"), }, }, }, &gkebackup.RestorePlanRestoreConfigTransformationRuleArgs{ Description: pulumi.String("move all resources from ns1 to ns2"), ResourceFilter: &gkebackup.RestorePlanRestoreConfigTransformationRuleResourceFilterArgs{ Namespaces: pulumi.StringArray{ pulumi.String("ns1"), }, }, FieldActions: gkebackup.RestorePlanRestoreConfigTransformationRuleFieldActionArray{ &gkebackup.RestorePlanRestoreConfigTransformationRuleFieldActionArgs{ Op: pulumi.String("REPLACE"), Path: pulumi.String("/metadata/namespace"), Value: pulumi.String("ns2"), }, }, }, }, }, }) if err != nil { return err } return nil }) }
``` ### Gkebackup Restoreplan Second Transformation
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/container" "github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/gkebackup" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { primary, err := container.NewCluster(ctx, "primary", &container.ClusterArgs{ Location: pulumi.String("us-central1"), InitialNodeCount: pulumi.Int(1), WorkloadIdentityConfig: &container.ClusterWorkloadIdentityConfigArgs{ WorkloadPool: pulumi.String("my-project-name.svc.id.goog"), }, AddonsConfig: &container.ClusterAddonsConfigArgs{ GkeBackupAgentConfig: &container.ClusterAddonsConfigGkeBackupAgentConfigArgs{ Enabled: pulumi.Bool(true), }, }, DeletionProtection: pulumi.Bool(""), }) if err != nil { return err } basic, err := gkebackup.NewBackupPlan(ctx, "basic", &gkebackup.BackupPlanArgs{ Cluster: primary.ID(), Location: pulumi.String("us-central1"), BackupConfig: &gkebackup.BackupPlanBackupConfigArgs{ IncludeVolumeData: pulumi.Bool(true), IncludeSecrets: pulumi.Bool(true), AllNamespaces: pulumi.Bool(true), }, }) if err != nil { return err } _, err = gkebackup.NewRestorePlan(ctx, "transformRule", &gkebackup.RestorePlanArgs{ Description: pulumi.String("copy nginx env variables"), Labels: pulumi.StringMap{ "app": pulumi.String("nginx"), }, Location: pulumi.String("us-central1"), BackupPlan: basic.ID(), Cluster: primary.ID(), RestoreConfig: &gkebackup.RestorePlanRestoreConfigArgs{ ExcludedNamespaces: &gkebackup.RestorePlanRestoreConfigExcludedNamespacesArgs{ Namespaces: pulumi.StringArray{ pulumi.String("my-ns"), }, }, NamespacedResourceRestoreMode: pulumi.String("DELETE_AND_RESTORE"), VolumeDataRestorePolicy: pulumi.String("RESTORE_VOLUME_DATA_FROM_BACKUP"), ClusterResourceRestoreScope: &gkebackup.RestorePlanRestoreConfigClusterResourceRestoreScopeArgs{ ExcludedGroupKinds: gkebackup.RestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKindArray{ &gkebackup.RestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKindArgs{ ResourceGroup: pulumi.String("apiextension.k8s.io"), ResourceKind: pulumi.String("CustomResourceDefinition"), }, }, }, ClusterResourceConflictPolicy: pulumi.String("USE_EXISTING_VERSION"), TransformationRules: gkebackup.RestorePlanRestoreConfigTransformationRuleArray{ &gkebackup.RestorePlanRestoreConfigTransformationRuleArgs{ Description: pulumi.String("Copy environment variables from the nginx container to the install init container."), ResourceFilter: &gkebackup.RestorePlanRestoreConfigTransformationRuleResourceFilterArgs{ GroupKinds: gkebackup.RestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindArray{ &gkebackup.RestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindArgs{ ResourceKind: pulumi.String("Pod"), ResourceGroup: pulumi.String(""), }, }, JsonPath: pulumi.String(".metadata[?(@.name == 'nginx')]"), }, FieldActions: gkebackup.RestorePlanRestoreConfigTransformationRuleFieldActionArray{ &gkebackup.RestorePlanRestoreConfigTransformationRuleFieldActionArgs{ Op: pulumi.String("COPY"), Path: pulumi.String("/spec/initContainers/0/env"), FromPath: pulumi.String("/spec/containers/0/env"), }, }, }, }, }, }) if err != nil { return err } return nil }) }
```
## Import
RestorePlan can be imported using any of these accepted formats ¶
```sh
$ pulumi import gcp:gkebackup/restorePlanIamMember:RestorePlanIamMember default projects/{{project}}/locations/{{location}}/restorePlans/{{name}}
```
```sh
$ pulumi import gcp:gkebackup/restorePlanIamMember:RestorePlanIamMember default {{project}}/{{location}}/{{name}}
```
```sh
$ pulumi import gcp:gkebackup/restorePlanIamMember:RestorePlanIamMember default {{location}}/{{name}}
```
func GetRestorePlanIamMember ¶
func GetRestorePlanIamMember(ctx *pulumi.Context, name string, id pulumi.IDInput, state *RestorePlanIamMemberState, opts ...pulumi.ResourceOption) (*RestorePlanIamMember, error)
GetRestorePlanIamMember gets an existing RestorePlanIamMember 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 NewRestorePlanIamMember ¶
func NewRestorePlanIamMember(ctx *pulumi.Context, name string, args *RestorePlanIamMemberArgs, opts ...pulumi.ResourceOption) (*RestorePlanIamMember, error)
NewRestorePlanIamMember registers a new resource with the given unique name, arguments, and options.
func (*RestorePlanIamMember) ElementType ¶
func (*RestorePlanIamMember) ElementType() reflect.Type
func (*RestorePlanIamMember) ToOutput ¶
func (i *RestorePlanIamMember) ToOutput(ctx context.Context) pulumix.Output[*RestorePlanIamMember]
func (*RestorePlanIamMember) ToRestorePlanIamMemberOutput ¶
func (i *RestorePlanIamMember) ToRestorePlanIamMemberOutput() RestorePlanIamMemberOutput
func (*RestorePlanIamMember) ToRestorePlanIamMemberOutputWithContext ¶
func (i *RestorePlanIamMember) ToRestorePlanIamMemberOutputWithContext(ctx context.Context) RestorePlanIamMemberOutput
type RestorePlanIamMemberArgs ¶
type RestorePlanIamMemberArgs struct { Condition RestorePlanIamMemberConditionPtrInput // The region of the Restore Plan. Location pulumi.StringPtrInput Member pulumi.StringInput // The full name of the BackupPlan Resource. Name pulumi.StringPtrInput // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project pulumi.StringPtrInput Role pulumi.StringInput }
The set of arguments for constructing a RestorePlanIamMember resource.
func (RestorePlanIamMemberArgs) ElementType ¶
func (RestorePlanIamMemberArgs) ElementType() reflect.Type
type RestorePlanIamMemberArray ¶
type RestorePlanIamMemberArray []RestorePlanIamMemberInput
func (RestorePlanIamMemberArray) ElementType ¶
func (RestorePlanIamMemberArray) ElementType() reflect.Type
func (RestorePlanIamMemberArray) ToOutput ¶
func (i RestorePlanIamMemberArray) ToOutput(ctx context.Context) pulumix.Output[[]*RestorePlanIamMember]
func (RestorePlanIamMemberArray) ToRestorePlanIamMemberArrayOutput ¶
func (i RestorePlanIamMemberArray) ToRestorePlanIamMemberArrayOutput() RestorePlanIamMemberArrayOutput
func (RestorePlanIamMemberArray) ToRestorePlanIamMemberArrayOutputWithContext ¶
func (i RestorePlanIamMemberArray) ToRestorePlanIamMemberArrayOutputWithContext(ctx context.Context) RestorePlanIamMemberArrayOutput
type RestorePlanIamMemberArrayInput ¶
type RestorePlanIamMemberArrayInput interface { pulumi.Input ToRestorePlanIamMemberArrayOutput() RestorePlanIamMemberArrayOutput ToRestorePlanIamMemberArrayOutputWithContext(context.Context) RestorePlanIamMemberArrayOutput }
RestorePlanIamMemberArrayInput is an input type that accepts RestorePlanIamMemberArray and RestorePlanIamMemberArrayOutput values. You can construct a concrete instance of `RestorePlanIamMemberArrayInput` via:
RestorePlanIamMemberArray{ RestorePlanIamMemberArgs{...} }
type RestorePlanIamMemberArrayOutput ¶
type RestorePlanIamMemberArrayOutput struct{ *pulumi.OutputState }
func (RestorePlanIamMemberArrayOutput) ElementType ¶
func (RestorePlanIamMemberArrayOutput) ElementType() reflect.Type
func (RestorePlanIamMemberArrayOutput) Index ¶
func (o RestorePlanIamMemberArrayOutput) Index(i pulumi.IntInput) RestorePlanIamMemberOutput
func (RestorePlanIamMemberArrayOutput) ToOutput ¶
func (o RestorePlanIamMemberArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*RestorePlanIamMember]
func (RestorePlanIamMemberArrayOutput) ToRestorePlanIamMemberArrayOutput ¶
func (o RestorePlanIamMemberArrayOutput) ToRestorePlanIamMemberArrayOutput() RestorePlanIamMemberArrayOutput
func (RestorePlanIamMemberArrayOutput) ToRestorePlanIamMemberArrayOutputWithContext ¶
func (o RestorePlanIamMemberArrayOutput) ToRestorePlanIamMemberArrayOutputWithContext(ctx context.Context) RestorePlanIamMemberArrayOutput
type RestorePlanIamMemberConditionArgs ¶
type RestorePlanIamMemberConditionArgs struct { // User specified descriptive string for this RestorePlan. Description pulumi.StringPtrInput `pulumi:"description"` Expression pulumi.StringInput `pulumi:"expression"` Title pulumi.StringInput `pulumi:"title"` }
func (RestorePlanIamMemberConditionArgs) ElementType ¶
func (RestorePlanIamMemberConditionArgs) ElementType() reflect.Type
func (RestorePlanIamMemberConditionArgs) ToOutput ¶
func (i RestorePlanIamMemberConditionArgs) ToOutput(ctx context.Context) pulumix.Output[RestorePlanIamMemberCondition]
func (RestorePlanIamMemberConditionArgs) ToRestorePlanIamMemberConditionOutput ¶
func (i RestorePlanIamMemberConditionArgs) ToRestorePlanIamMemberConditionOutput() RestorePlanIamMemberConditionOutput
func (RestorePlanIamMemberConditionArgs) ToRestorePlanIamMemberConditionOutputWithContext ¶
func (i RestorePlanIamMemberConditionArgs) ToRestorePlanIamMemberConditionOutputWithContext(ctx context.Context) RestorePlanIamMemberConditionOutput
func (RestorePlanIamMemberConditionArgs) ToRestorePlanIamMemberConditionPtrOutput ¶
func (i RestorePlanIamMemberConditionArgs) ToRestorePlanIamMemberConditionPtrOutput() RestorePlanIamMemberConditionPtrOutput
func (RestorePlanIamMemberConditionArgs) ToRestorePlanIamMemberConditionPtrOutputWithContext ¶
func (i RestorePlanIamMemberConditionArgs) ToRestorePlanIamMemberConditionPtrOutputWithContext(ctx context.Context) RestorePlanIamMemberConditionPtrOutput
type RestorePlanIamMemberConditionInput ¶
type RestorePlanIamMemberConditionInput interface { pulumi.Input ToRestorePlanIamMemberConditionOutput() RestorePlanIamMemberConditionOutput ToRestorePlanIamMemberConditionOutputWithContext(context.Context) RestorePlanIamMemberConditionOutput }
RestorePlanIamMemberConditionInput is an input type that accepts RestorePlanIamMemberConditionArgs and RestorePlanIamMemberConditionOutput values. You can construct a concrete instance of `RestorePlanIamMemberConditionInput` via:
RestorePlanIamMemberConditionArgs{...}
type RestorePlanIamMemberConditionOutput ¶
type RestorePlanIamMemberConditionOutput struct{ *pulumi.OutputState }
func (RestorePlanIamMemberConditionOutput) Description ¶
func (o RestorePlanIamMemberConditionOutput) Description() pulumi.StringPtrOutput
User specified descriptive string for this RestorePlan.
func (RestorePlanIamMemberConditionOutput) ElementType ¶
func (RestorePlanIamMemberConditionOutput) ElementType() reflect.Type
func (RestorePlanIamMemberConditionOutput) Expression ¶
func (o RestorePlanIamMemberConditionOutput) Expression() pulumi.StringOutput
func (RestorePlanIamMemberConditionOutput) Title ¶
func (o RestorePlanIamMemberConditionOutput) Title() pulumi.StringOutput
func (RestorePlanIamMemberConditionOutput) ToOutput ¶
func (o RestorePlanIamMemberConditionOutput) ToOutput(ctx context.Context) pulumix.Output[RestorePlanIamMemberCondition]
func (RestorePlanIamMemberConditionOutput) ToRestorePlanIamMemberConditionOutput ¶
func (o RestorePlanIamMemberConditionOutput) ToRestorePlanIamMemberConditionOutput() RestorePlanIamMemberConditionOutput
func (RestorePlanIamMemberConditionOutput) ToRestorePlanIamMemberConditionOutputWithContext ¶
func (o RestorePlanIamMemberConditionOutput) ToRestorePlanIamMemberConditionOutputWithContext(ctx context.Context) RestorePlanIamMemberConditionOutput
func (RestorePlanIamMemberConditionOutput) ToRestorePlanIamMemberConditionPtrOutput ¶
func (o RestorePlanIamMemberConditionOutput) ToRestorePlanIamMemberConditionPtrOutput() RestorePlanIamMemberConditionPtrOutput
func (RestorePlanIamMemberConditionOutput) ToRestorePlanIamMemberConditionPtrOutputWithContext ¶
func (o RestorePlanIamMemberConditionOutput) ToRestorePlanIamMemberConditionPtrOutputWithContext(ctx context.Context) RestorePlanIamMemberConditionPtrOutput
type RestorePlanIamMemberConditionPtrInput ¶
type RestorePlanIamMemberConditionPtrInput interface { pulumi.Input ToRestorePlanIamMemberConditionPtrOutput() RestorePlanIamMemberConditionPtrOutput ToRestorePlanIamMemberConditionPtrOutputWithContext(context.Context) RestorePlanIamMemberConditionPtrOutput }
RestorePlanIamMemberConditionPtrInput is an input type that accepts RestorePlanIamMemberConditionArgs, RestorePlanIamMemberConditionPtr and RestorePlanIamMemberConditionPtrOutput values. You can construct a concrete instance of `RestorePlanIamMemberConditionPtrInput` via:
RestorePlanIamMemberConditionArgs{...} or: nil
func RestorePlanIamMemberConditionPtr ¶
func RestorePlanIamMemberConditionPtr(v *RestorePlanIamMemberConditionArgs) RestorePlanIamMemberConditionPtrInput
type RestorePlanIamMemberConditionPtrOutput ¶
type RestorePlanIamMemberConditionPtrOutput struct{ *pulumi.OutputState }
func (RestorePlanIamMemberConditionPtrOutput) Description ¶
func (o RestorePlanIamMemberConditionPtrOutput) Description() pulumi.StringPtrOutput
User specified descriptive string for this RestorePlan.
func (RestorePlanIamMemberConditionPtrOutput) ElementType ¶
func (RestorePlanIamMemberConditionPtrOutput) ElementType() reflect.Type
func (RestorePlanIamMemberConditionPtrOutput) Expression ¶
func (o RestorePlanIamMemberConditionPtrOutput) Expression() pulumi.StringPtrOutput
func (RestorePlanIamMemberConditionPtrOutput) Title ¶
func (o RestorePlanIamMemberConditionPtrOutput) Title() pulumi.StringPtrOutput
func (RestorePlanIamMemberConditionPtrOutput) ToOutput ¶
func (o RestorePlanIamMemberConditionPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RestorePlanIamMemberCondition]
func (RestorePlanIamMemberConditionPtrOutput) ToRestorePlanIamMemberConditionPtrOutput ¶
func (o RestorePlanIamMemberConditionPtrOutput) ToRestorePlanIamMemberConditionPtrOutput() RestorePlanIamMemberConditionPtrOutput
func (RestorePlanIamMemberConditionPtrOutput) ToRestorePlanIamMemberConditionPtrOutputWithContext ¶
func (o RestorePlanIamMemberConditionPtrOutput) ToRestorePlanIamMemberConditionPtrOutputWithContext(ctx context.Context) RestorePlanIamMemberConditionPtrOutput
type RestorePlanIamMemberInput ¶
type RestorePlanIamMemberInput interface { pulumi.Input ToRestorePlanIamMemberOutput() RestorePlanIamMemberOutput ToRestorePlanIamMemberOutputWithContext(ctx context.Context) RestorePlanIamMemberOutput }
type RestorePlanIamMemberMap ¶
type RestorePlanIamMemberMap map[string]RestorePlanIamMemberInput
func (RestorePlanIamMemberMap) ElementType ¶
func (RestorePlanIamMemberMap) ElementType() reflect.Type
func (RestorePlanIamMemberMap) ToOutput ¶
func (i RestorePlanIamMemberMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*RestorePlanIamMember]
func (RestorePlanIamMemberMap) ToRestorePlanIamMemberMapOutput ¶
func (i RestorePlanIamMemberMap) ToRestorePlanIamMemberMapOutput() RestorePlanIamMemberMapOutput
func (RestorePlanIamMemberMap) ToRestorePlanIamMemberMapOutputWithContext ¶
func (i RestorePlanIamMemberMap) ToRestorePlanIamMemberMapOutputWithContext(ctx context.Context) RestorePlanIamMemberMapOutput
type RestorePlanIamMemberMapInput ¶
type RestorePlanIamMemberMapInput interface { pulumi.Input ToRestorePlanIamMemberMapOutput() RestorePlanIamMemberMapOutput ToRestorePlanIamMemberMapOutputWithContext(context.Context) RestorePlanIamMemberMapOutput }
RestorePlanIamMemberMapInput is an input type that accepts RestorePlanIamMemberMap and RestorePlanIamMemberMapOutput values. You can construct a concrete instance of `RestorePlanIamMemberMapInput` via:
RestorePlanIamMemberMap{ "key": RestorePlanIamMemberArgs{...} }
type RestorePlanIamMemberMapOutput ¶
type RestorePlanIamMemberMapOutput struct{ *pulumi.OutputState }
func (RestorePlanIamMemberMapOutput) ElementType ¶
func (RestorePlanIamMemberMapOutput) ElementType() reflect.Type
func (RestorePlanIamMemberMapOutput) MapIndex ¶
func (o RestorePlanIamMemberMapOutput) MapIndex(k pulumi.StringInput) RestorePlanIamMemberOutput
func (RestorePlanIamMemberMapOutput) ToOutput ¶
func (o RestorePlanIamMemberMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*RestorePlanIamMember]
func (RestorePlanIamMemberMapOutput) ToRestorePlanIamMemberMapOutput ¶
func (o RestorePlanIamMemberMapOutput) ToRestorePlanIamMemberMapOutput() RestorePlanIamMemberMapOutput
func (RestorePlanIamMemberMapOutput) ToRestorePlanIamMemberMapOutputWithContext ¶
func (o RestorePlanIamMemberMapOutput) ToRestorePlanIamMemberMapOutputWithContext(ctx context.Context) RestorePlanIamMemberMapOutput
type RestorePlanIamMemberOutput ¶
type RestorePlanIamMemberOutput struct{ *pulumi.OutputState }
func (RestorePlanIamMemberOutput) Condition ¶
func (o RestorePlanIamMemberOutput) Condition() RestorePlanIamMemberConditionPtrOutput
func (RestorePlanIamMemberOutput) ElementType ¶
func (RestorePlanIamMemberOutput) ElementType() reflect.Type
func (RestorePlanIamMemberOutput) Etag ¶
func (o RestorePlanIamMemberOutput) Etag() pulumi.StringOutput
func (RestorePlanIamMemberOutput) Location ¶
func (o RestorePlanIamMemberOutput) Location() pulumi.StringOutput
The region of the Restore Plan.
func (RestorePlanIamMemberOutput) Member ¶
func (o RestorePlanIamMemberOutput) Member() pulumi.StringOutput
func (RestorePlanIamMemberOutput) Name ¶
func (o RestorePlanIamMemberOutput) Name() pulumi.StringOutput
The full name of the BackupPlan Resource.
func (RestorePlanIamMemberOutput) Project ¶
func (o RestorePlanIamMemberOutput) Project() pulumi.StringOutput
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
func (RestorePlanIamMemberOutput) Role ¶
func (o RestorePlanIamMemberOutput) Role() pulumi.StringOutput
func (RestorePlanIamMemberOutput) ToOutput ¶
func (o RestorePlanIamMemberOutput) ToOutput(ctx context.Context) pulumix.Output[*RestorePlanIamMember]
func (RestorePlanIamMemberOutput) ToRestorePlanIamMemberOutput ¶
func (o RestorePlanIamMemberOutput) ToRestorePlanIamMemberOutput() RestorePlanIamMemberOutput
func (RestorePlanIamMemberOutput) ToRestorePlanIamMemberOutputWithContext ¶
func (o RestorePlanIamMemberOutput) ToRestorePlanIamMemberOutputWithContext(ctx context.Context) RestorePlanIamMemberOutput
type RestorePlanIamMemberState ¶
type RestorePlanIamMemberState struct { Condition RestorePlanIamMemberConditionPtrInput Etag pulumi.StringPtrInput // The region of the Restore Plan. Location pulumi.StringPtrInput Member pulumi.StringPtrInput // The full name of the BackupPlan Resource. Name pulumi.StringPtrInput // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project pulumi.StringPtrInput Role pulumi.StringPtrInput }
func (RestorePlanIamMemberState) ElementType ¶
func (RestorePlanIamMemberState) ElementType() reflect.Type
type RestorePlanIamPolicy ¶
type RestorePlanIamPolicy struct { pulumi.CustomResourceState Etag pulumi.StringOutput `pulumi:"etag"` // The region of the Restore Plan. Location pulumi.StringOutput `pulumi:"location"` // The full name of the BackupPlan Resource. Name pulumi.StringOutput `pulumi:"name"` PolicyData pulumi.StringOutput `pulumi:"policyData"` // 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"` }
Represents a Restore Plan instance.
To get more information about RestorePlan, see:
* [API documentation](https://cloud.google.com/kubernetes-engine/docs/add-on/backup-for-gke/reference/rest/v1/projects.locations.restorePlans) * How-to Guides
- [Official Documentation](https://cloud.google.com/kubernetes-engine/docs/add-on/backup-for-gke)
## Example Usage ### Gkebackup Restoreplan All Namespaces
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/container" "github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/gkebackup" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { primary, err := container.NewCluster(ctx, "primary", &container.ClusterArgs{ Location: pulumi.String("us-central1"), InitialNodeCount: pulumi.Int(1), WorkloadIdentityConfig: &container.ClusterWorkloadIdentityConfigArgs{ WorkloadPool: pulumi.String("my-project-name.svc.id.goog"), }, AddonsConfig: &container.ClusterAddonsConfigArgs{ GkeBackupAgentConfig: &container.ClusterAddonsConfigGkeBackupAgentConfigArgs{ Enabled: pulumi.Bool(true), }, }, DeletionProtection: pulumi.Bool(""), }) if err != nil { return err } basic, err := gkebackup.NewBackupPlan(ctx, "basic", &gkebackup.BackupPlanArgs{ Cluster: primary.ID(), Location: pulumi.String("us-central1"), BackupConfig: &gkebackup.BackupPlanBackupConfigArgs{ IncludeVolumeData: pulumi.Bool(true), IncludeSecrets: pulumi.Bool(true), AllNamespaces: pulumi.Bool(true), }, }) if err != nil { return err } _, err = gkebackup.NewRestorePlan(ctx, "allNs", &gkebackup.RestorePlanArgs{ Location: pulumi.String("us-central1"), BackupPlan: basic.ID(), Cluster: primary.ID(), RestoreConfig: &gkebackup.RestorePlanRestoreConfigArgs{ AllNamespaces: pulumi.Bool(true), NamespacedResourceRestoreMode: pulumi.String("FAIL_ON_CONFLICT"), VolumeDataRestorePolicy: pulumi.String("RESTORE_VOLUME_DATA_FROM_BACKUP"), ClusterResourceRestoreScope: &gkebackup.RestorePlanRestoreConfigClusterResourceRestoreScopeArgs{ AllGroupKinds: pulumi.Bool(true), }, ClusterResourceConflictPolicy: pulumi.String("USE_EXISTING_VERSION"), }, }) if err != nil { return err } return nil }) }
``` ### Gkebackup Restoreplan Rollback Namespace
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/container" "github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/gkebackup" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { primary, err := container.NewCluster(ctx, "primary", &container.ClusterArgs{ Location: pulumi.String("us-central1"), InitialNodeCount: pulumi.Int(1), WorkloadIdentityConfig: &container.ClusterWorkloadIdentityConfigArgs{ WorkloadPool: pulumi.String("my-project-name.svc.id.goog"), }, AddonsConfig: &container.ClusterAddonsConfigArgs{ GkeBackupAgentConfig: &container.ClusterAddonsConfigGkeBackupAgentConfigArgs{ Enabled: pulumi.Bool(true), }, }, DeletionProtection: pulumi.Bool(""), }) if err != nil { return err } basic, err := gkebackup.NewBackupPlan(ctx, "basic", &gkebackup.BackupPlanArgs{ Cluster: primary.ID(), Location: pulumi.String("us-central1"), BackupConfig: &gkebackup.BackupPlanBackupConfigArgs{ IncludeVolumeData: pulumi.Bool(true), IncludeSecrets: pulumi.Bool(true), AllNamespaces: pulumi.Bool(true), }, }) if err != nil { return err } _, err = gkebackup.NewRestorePlan(ctx, "rollbackNs", &gkebackup.RestorePlanArgs{ Location: pulumi.String("us-central1"), BackupPlan: basic.ID(), Cluster: primary.ID(), RestoreConfig: &gkebackup.RestorePlanRestoreConfigArgs{ SelectedNamespaces: &gkebackup.RestorePlanRestoreConfigSelectedNamespacesArgs{ Namespaces: pulumi.StringArray{ pulumi.String("my-ns"), }, }, NamespacedResourceRestoreMode: pulumi.String("DELETE_AND_RESTORE"), VolumeDataRestorePolicy: pulumi.String("RESTORE_VOLUME_DATA_FROM_BACKUP"), ClusterResourceRestoreScope: &gkebackup.RestorePlanRestoreConfigClusterResourceRestoreScopeArgs{ SelectedGroupKinds: gkebackup.RestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindArray{ &gkebackup.RestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindArgs{ ResourceGroup: pulumi.String("apiextension.k8s.io"), ResourceKind: pulumi.String("CustomResourceDefinition"), }, &gkebackup.RestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindArgs{ ResourceGroup: pulumi.String("storage.k8s.io"), ResourceKind: pulumi.String("StorageClass"), }, }, }, ClusterResourceConflictPolicy: pulumi.String("USE_EXISTING_VERSION"), }, }) if err != nil { return err } return nil }) }
``` ### Gkebackup Restoreplan Protected Application
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/container" "github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/gkebackup" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { primary, err := container.NewCluster(ctx, "primary", &container.ClusterArgs{ Location: pulumi.String("us-central1"), InitialNodeCount: pulumi.Int(1), WorkloadIdentityConfig: &container.ClusterWorkloadIdentityConfigArgs{ WorkloadPool: pulumi.String("my-project-name.svc.id.goog"), }, AddonsConfig: &container.ClusterAddonsConfigArgs{ GkeBackupAgentConfig: &container.ClusterAddonsConfigGkeBackupAgentConfigArgs{ Enabled: pulumi.Bool(true), }, }, DeletionProtection: pulumi.Bool(""), }) if err != nil { return err } basic, err := gkebackup.NewBackupPlan(ctx, "basic", &gkebackup.BackupPlanArgs{ Cluster: primary.ID(), Location: pulumi.String("us-central1"), BackupConfig: &gkebackup.BackupPlanBackupConfigArgs{ IncludeVolumeData: pulumi.Bool(true), IncludeSecrets: pulumi.Bool(true), AllNamespaces: pulumi.Bool(true), }, }) if err != nil { return err } _, err = gkebackup.NewRestorePlan(ctx, "rollbackApp", &gkebackup.RestorePlanArgs{ Location: pulumi.String("us-central1"), BackupPlan: basic.ID(), Cluster: primary.ID(), RestoreConfig: &gkebackup.RestorePlanRestoreConfigArgs{ SelectedApplications: &gkebackup.RestorePlanRestoreConfigSelectedApplicationsArgs{ NamespacedNames: gkebackup.RestorePlanRestoreConfigSelectedApplicationsNamespacedNameArray{ &gkebackup.RestorePlanRestoreConfigSelectedApplicationsNamespacedNameArgs{ Name: pulumi.String("my-app"), Namespace: pulumi.String("my-ns"), }, }, }, NamespacedResourceRestoreMode: pulumi.String("DELETE_AND_RESTORE"), VolumeDataRestorePolicy: pulumi.String("REUSE_VOLUME_HANDLE_FROM_BACKUP"), ClusterResourceRestoreScope: &gkebackup.RestorePlanRestoreConfigClusterResourceRestoreScopeArgs{ NoGroupKinds: pulumi.Bool(true), }, }, }) if err != nil { return err } return nil }) }
``` ### Gkebackup Restoreplan All Cluster Resources
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/container" "github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/gkebackup" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { primary, err := container.NewCluster(ctx, "primary", &container.ClusterArgs{ Location: pulumi.String("us-central1"), InitialNodeCount: pulumi.Int(1), WorkloadIdentityConfig: &container.ClusterWorkloadIdentityConfigArgs{ WorkloadPool: pulumi.String("my-project-name.svc.id.goog"), }, AddonsConfig: &container.ClusterAddonsConfigArgs{ GkeBackupAgentConfig: &container.ClusterAddonsConfigGkeBackupAgentConfigArgs{ Enabled: pulumi.Bool(true), }, }, DeletionProtection: pulumi.Bool(""), }) if err != nil { return err } basic, err := gkebackup.NewBackupPlan(ctx, "basic", &gkebackup.BackupPlanArgs{ Cluster: primary.ID(), Location: pulumi.String("us-central1"), BackupConfig: &gkebackup.BackupPlanBackupConfigArgs{ IncludeVolumeData: pulumi.Bool(true), IncludeSecrets: pulumi.Bool(true), AllNamespaces: pulumi.Bool(true), }, }) if err != nil { return err } _, err = gkebackup.NewRestorePlan(ctx, "allClusterResources", &gkebackup.RestorePlanArgs{ Location: pulumi.String("us-central1"), BackupPlan: basic.ID(), Cluster: primary.ID(), RestoreConfig: &gkebackup.RestorePlanRestoreConfigArgs{ NoNamespaces: pulumi.Bool(true), NamespacedResourceRestoreMode: pulumi.String("FAIL_ON_CONFLICT"), ClusterResourceRestoreScope: &gkebackup.RestorePlanRestoreConfigClusterResourceRestoreScopeArgs{ AllGroupKinds: pulumi.Bool(true), }, ClusterResourceConflictPolicy: pulumi.String("USE_EXISTING_VERSION"), }, }) if err != nil { return err } return nil }) }
``` ### Gkebackup Restoreplan Rename Namespace
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/container" "github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/gkebackup" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { primary, err := container.NewCluster(ctx, "primary", &container.ClusterArgs{ Location: pulumi.String("us-central1"), InitialNodeCount: pulumi.Int(1), WorkloadIdentityConfig: &container.ClusterWorkloadIdentityConfigArgs{ WorkloadPool: pulumi.String("my-project-name.svc.id.goog"), }, AddonsConfig: &container.ClusterAddonsConfigArgs{ GkeBackupAgentConfig: &container.ClusterAddonsConfigGkeBackupAgentConfigArgs{ Enabled: pulumi.Bool(true), }, }, DeletionProtection: pulumi.Bool(""), }) if err != nil { return err } basic, err := gkebackup.NewBackupPlan(ctx, "basic", &gkebackup.BackupPlanArgs{ Cluster: primary.ID(), Location: pulumi.String("us-central1"), BackupConfig: &gkebackup.BackupPlanBackupConfigArgs{ IncludeVolumeData: pulumi.Bool(true), IncludeSecrets: pulumi.Bool(true), AllNamespaces: pulumi.Bool(true), }, }) if err != nil { return err } _, err = gkebackup.NewRestorePlan(ctx, "renameNs", &gkebackup.RestorePlanArgs{ Location: pulumi.String("us-central1"), BackupPlan: basic.ID(), Cluster: primary.ID(), RestoreConfig: &gkebackup.RestorePlanRestoreConfigArgs{ SelectedNamespaces: &gkebackup.RestorePlanRestoreConfigSelectedNamespacesArgs{ Namespaces: pulumi.StringArray{ pulumi.String("ns1"), }, }, NamespacedResourceRestoreMode: pulumi.String("FAIL_ON_CONFLICT"), VolumeDataRestorePolicy: pulumi.String("REUSE_VOLUME_HANDLE_FROM_BACKUP"), ClusterResourceRestoreScope: &gkebackup.RestorePlanRestoreConfigClusterResourceRestoreScopeArgs{ NoGroupKinds: pulumi.Bool(true), }, TransformationRules: gkebackup.RestorePlanRestoreConfigTransformationRuleArray{ &gkebackup.RestorePlanRestoreConfigTransformationRuleArgs{ Description: pulumi.String("rename namespace from ns1 to ns2"), ResourceFilter: &gkebackup.RestorePlanRestoreConfigTransformationRuleResourceFilterArgs{ GroupKinds: gkebackup.RestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindArray{ &gkebackup.RestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindArgs{ ResourceKind: pulumi.String("Namespace"), }, }, JsonPath: pulumi.String(".metadata[?(@.name == 'ns1')]"), }, FieldActions: gkebackup.RestorePlanRestoreConfigTransformationRuleFieldActionArray{ &gkebackup.RestorePlanRestoreConfigTransformationRuleFieldActionArgs{ Op: pulumi.String("REPLACE"), Path: pulumi.String("/metadata/name"), Value: pulumi.String("ns2"), }, }, }, &gkebackup.RestorePlanRestoreConfigTransformationRuleArgs{ Description: pulumi.String("move all resources from ns1 to ns2"), ResourceFilter: &gkebackup.RestorePlanRestoreConfigTransformationRuleResourceFilterArgs{ Namespaces: pulumi.StringArray{ pulumi.String("ns1"), }, }, FieldActions: gkebackup.RestorePlanRestoreConfigTransformationRuleFieldActionArray{ &gkebackup.RestorePlanRestoreConfigTransformationRuleFieldActionArgs{ Op: pulumi.String("REPLACE"), Path: pulumi.String("/metadata/namespace"), Value: pulumi.String("ns2"), }, }, }, }, }, }) if err != nil { return err } return nil }) }
``` ### Gkebackup Restoreplan Second Transformation
```go package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/container" "github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/gkebackup" "github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { primary, err := container.NewCluster(ctx, "primary", &container.ClusterArgs{ Location: pulumi.String("us-central1"), InitialNodeCount: pulumi.Int(1), WorkloadIdentityConfig: &container.ClusterWorkloadIdentityConfigArgs{ WorkloadPool: pulumi.String("my-project-name.svc.id.goog"), }, AddonsConfig: &container.ClusterAddonsConfigArgs{ GkeBackupAgentConfig: &container.ClusterAddonsConfigGkeBackupAgentConfigArgs{ Enabled: pulumi.Bool(true), }, }, DeletionProtection: pulumi.Bool(""), }) if err != nil { return err } basic, err := gkebackup.NewBackupPlan(ctx, "basic", &gkebackup.BackupPlanArgs{ Cluster: primary.ID(), Location: pulumi.String("us-central1"), BackupConfig: &gkebackup.BackupPlanBackupConfigArgs{ IncludeVolumeData: pulumi.Bool(true), IncludeSecrets: pulumi.Bool(true), AllNamespaces: pulumi.Bool(true), }, }) if err != nil { return err } _, err = gkebackup.NewRestorePlan(ctx, "transformRule", &gkebackup.RestorePlanArgs{ Description: pulumi.String("copy nginx env variables"), Labels: pulumi.StringMap{ "app": pulumi.String("nginx"), }, Location: pulumi.String("us-central1"), BackupPlan: basic.ID(), Cluster: primary.ID(), RestoreConfig: &gkebackup.RestorePlanRestoreConfigArgs{ ExcludedNamespaces: &gkebackup.RestorePlanRestoreConfigExcludedNamespacesArgs{ Namespaces: pulumi.StringArray{ pulumi.String("my-ns"), }, }, NamespacedResourceRestoreMode: pulumi.String("DELETE_AND_RESTORE"), VolumeDataRestorePolicy: pulumi.String("RESTORE_VOLUME_DATA_FROM_BACKUP"), ClusterResourceRestoreScope: &gkebackup.RestorePlanRestoreConfigClusterResourceRestoreScopeArgs{ ExcludedGroupKinds: gkebackup.RestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKindArray{ &gkebackup.RestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKindArgs{ ResourceGroup: pulumi.String("apiextension.k8s.io"), ResourceKind: pulumi.String("CustomResourceDefinition"), }, }, }, ClusterResourceConflictPolicy: pulumi.String("USE_EXISTING_VERSION"), TransformationRules: gkebackup.RestorePlanRestoreConfigTransformationRuleArray{ &gkebackup.RestorePlanRestoreConfigTransformationRuleArgs{ Description: pulumi.String("Copy environment variables from the nginx container to the install init container."), ResourceFilter: &gkebackup.RestorePlanRestoreConfigTransformationRuleResourceFilterArgs{ GroupKinds: gkebackup.RestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindArray{ &gkebackup.RestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindArgs{ ResourceKind: pulumi.String("Pod"), ResourceGroup: pulumi.String(""), }, }, JsonPath: pulumi.String(".metadata[?(@.name == 'nginx')]"), }, FieldActions: gkebackup.RestorePlanRestoreConfigTransformationRuleFieldActionArray{ &gkebackup.RestorePlanRestoreConfigTransformationRuleFieldActionArgs{ Op: pulumi.String("COPY"), Path: pulumi.String("/spec/initContainers/0/env"), FromPath: pulumi.String("/spec/containers/0/env"), }, }, }, }, }, }) if err != nil { return err } return nil }) }
```
## Import
RestorePlan can be imported using any of these accepted formats ¶
```sh
$ pulumi import gcp:gkebackup/restorePlanIamPolicy:RestorePlanIamPolicy default projects/{{project}}/locations/{{location}}/restorePlans/{{name}}
```
```sh
$ pulumi import gcp:gkebackup/restorePlanIamPolicy:RestorePlanIamPolicy default {{project}}/{{location}}/{{name}}
```
```sh
$ pulumi import gcp:gkebackup/restorePlanIamPolicy:RestorePlanIamPolicy default {{location}}/{{name}}
```
func GetRestorePlanIamPolicy ¶
func GetRestorePlanIamPolicy(ctx *pulumi.Context, name string, id pulumi.IDInput, state *RestorePlanIamPolicyState, opts ...pulumi.ResourceOption) (*RestorePlanIamPolicy, error)
GetRestorePlanIamPolicy gets an existing RestorePlanIamPolicy 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 NewRestorePlanIamPolicy ¶
func NewRestorePlanIamPolicy(ctx *pulumi.Context, name string, args *RestorePlanIamPolicyArgs, opts ...pulumi.ResourceOption) (*RestorePlanIamPolicy, error)
NewRestorePlanIamPolicy registers a new resource with the given unique name, arguments, and options.
func (*RestorePlanIamPolicy) ElementType ¶
func (*RestorePlanIamPolicy) ElementType() reflect.Type
func (*RestorePlanIamPolicy) ToOutput ¶
func (i *RestorePlanIamPolicy) ToOutput(ctx context.Context) pulumix.Output[*RestorePlanIamPolicy]
func (*RestorePlanIamPolicy) ToRestorePlanIamPolicyOutput ¶
func (i *RestorePlanIamPolicy) ToRestorePlanIamPolicyOutput() RestorePlanIamPolicyOutput
func (*RestorePlanIamPolicy) ToRestorePlanIamPolicyOutputWithContext ¶
func (i *RestorePlanIamPolicy) ToRestorePlanIamPolicyOutputWithContext(ctx context.Context) RestorePlanIamPolicyOutput
type RestorePlanIamPolicyArgs ¶
type RestorePlanIamPolicyArgs struct { // The region of the Restore Plan. Location pulumi.StringPtrInput // The full name of the BackupPlan Resource. Name pulumi.StringPtrInput PolicyData pulumi.StringInput // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project pulumi.StringPtrInput }
The set of arguments for constructing a RestorePlanIamPolicy resource.
func (RestorePlanIamPolicyArgs) ElementType ¶
func (RestorePlanIamPolicyArgs) ElementType() reflect.Type
type RestorePlanIamPolicyArray ¶
type RestorePlanIamPolicyArray []RestorePlanIamPolicyInput
func (RestorePlanIamPolicyArray) ElementType ¶
func (RestorePlanIamPolicyArray) ElementType() reflect.Type
func (RestorePlanIamPolicyArray) ToOutput ¶
func (i RestorePlanIamPolicyArray) ToOutput(ctx context.Context) pulumix.Output[[]*RestorePlanIamPolicy]
func (RestorePlanIamPolicyArray) ToRestorePlanIamPolicyArrayOutput ¶
func (i RestorePlanIamPolicyArray) ToRestorePlanIamPolicyArrayOutput() RestorePlanIamPolicyArrayOutput
func (RestorePlanIamPolicyArray) ToRestorePlanIamPolicyArrayOutputWithContext ¶
func (i RestorePlanIamPolicyArray) ToRestorePlanIamPolicyArrayOutputWithContext(ctx context.Context) RestorePlanIamPolicyArrayOutput
type RestorePlanIamPolicyArrayInput ¶
type RestorePlanIamPolicyArrayInput interface { pulumi.Input ToRestorePlanIamPolicyArrayOutput() RestorePlanIamPolicyArrayOutput ToRestorePlanIamPolicyArrayOutputWithContext(context.Context) RestorePlanIamPolicyArrayOutput }
RestorePlanIamPolicyArrayInput is an input type that accepts RestorePlanIamPolicyArray and RestorePlanIamPolicyArrayOutput values. You can construct a concrete instance of `RestorePlanIamPolicyArrayInput` via:
RestorePlanIamPolicyArray{ RestorePlanIamPolicyArgs{...} }
type RestorePlanIamPolicyArrayOutput ¶
type RestorePlanIamPolicyArrayOutput struct{ *pulumi.OutputState }
func (RestorePlanIamPolicyArrayOutput) ElementType ¶
func (RestorePlanIamPolicyArrayOutput) ElementType() reflect.Type
func (RestorePlanIamPolicyArrayOutput) Index ¶
func (o RestorePlanIamPolicyArrayOutput) Index(i pulumi.IntInput) RestorePlanIamPolicyOutput
func (RestorePlanIamPolicyArrayOutput) ToOutput ¶
func (o RestorePlanIamPolicyArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]*RestorePlanIamPolicy]
func (RestorePlanIamPolicyArrayOutput) ToRestorePlanIamPolicyArrayOutput ¶
func (o RestorePlanIamPolicyArrayOutput) ToRestorePlanIamPolicyArrayOutput() RestorePlanIamPolicyArrayOutput
func (RestorePlanIamPolicyArrayOutput) ToRestorePlanIamPolicyArrayOutputWithContext ¶
func (o RestorePlanIamPolicyArrayOutput) ToRestorePlanIamPolicyArrayOutputWithContext(ctx context.Context) RestorePlanIamPolicyArrayOutput
type RestorePlanIamPolicyInput ¶
type RestorePlanIamPolicyInput interface { pulumi.Input ToRestorePlanIamPolicyOutput() RestorePlanIamPolicyOutput ToRestorePlanIamPolicyOutputWithContext(ctx context.Context) RestorePlanIamPolicyOutput }
type RestorePlanIamPolicyMap ¶
type RestorePlanIamPolicyMap map[string]RestorePlanIamPolicyInput
func (RestorePlanIamPolicyMap) ElementType ¶
func (RestorePlanIamPolicyMap) ElementType() reflect.Type
func (RestorePlanIamPolicyMap) ToOutput ¶
func (i RestorePlanIamPolicyMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*RestorePlanIamPolicy]
func (RestorePlanIamPolicyMap) ToRestorePlanIamPolicyMapOutput ¶
func (i RestorePlanIamPolicyMap) ToRestorePlanIamPolicyMapOutput() RestorePlanIamPolicyMapOutput
func (RestorePlanIamPolicyMap) ToRestorePlanIamPolicyMapOutputWithContext ¶
func (i RestorePlanIamPolicyMap) ToRestorePlanIamPolicyMapOutputWithContext(ctx context.Context) RestorePlanIamPolicyMapOutput
type RestorePlanIamPolicyMapInput ¶
type RestorePlanIamPolicyMapInput interface { pulumi.Input ToRestorePlanIamPolicyMapOutput() RestorePlanIamPolicyMapOutput ToRestorePlanIamPolicyMapOutputWithContext(context.Context) RestorePlanIamPolicyMapOutput }
RestorePlanIamPolicyMapInput is an input type that accepts RestorePlanIamPolicyMap and RestorePlanIamPolicyMapOutput values. You can construct a concrete instance of `RestorePlanIamPolicyMapInput` via:
RestorePlanIamPolicyMap{ "key": RestorePlanIamPolicyArgs{...} }
type RestorePlanIamPolicyMapOutput ¶
type RestorePlanIamPolicyMapOutput struct{ *pulumi.OutputState }
func (RestorePlanIamPolicyMapOutput) ElementType ¶
func (RestorePlanIamPolicyMapOutput) ElementType() reflect.Type
func (RestorePlanIamPolicyMapOutput) MapIndex ¶
func (o RestorePlanIamPolicyMapOutput) MapIndex(k pulumi.StringInput) RestorePlanIamPolicyOutput
func (RestorePlanIamPolicyMapOutput) ToOutput ¶
func (o RestorePlanIamPolicyMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*RestorePlanIamPolicy]
func (RestorePlanIamPolicyMapOutput) ToRestorePlanIamPolicyMapOutput ¶
func (o RestorePlanIamPolicyMapOutput) ToRestorePlanIamPolicyMapOutput() RestorePlanIamPolicyMapOutput
func (RestorePlanIamPolicyMapOutput) ToRestorePlanIamPolicyMapOutputWithContext ¶
func (o RestorePlanIamPolicyMapOutput) ToRestorePlanIamPolicyMapOutputWithContext(ctx context.Context) RestorePlanIamPolicyMapOutput
type RestorePlanIamPolicyOutput ¶
type RestorePlanIamPolicyOutput struct{ *pulumi.OutputState }
func (RestorePlanIamPolicyOutput) ElementType ¶
func (RestorePlanIamPolicyOutput) ElementType() reflect.Type
func (RestorePlanIamPolicyOutput) Etag ¶
func (o RestorePlanIamPolicyOutput) Etag() pulumi.StringOutput
func (RestorePlanIamPolicyOutput) Location ¶
func (o RestorePlanIamPolicyOutput) Location() pulumi.StringOutput
The region of the Restore Plan.
func (RestorePlanIamPolicyOutput) Name ¶
func (o RestorePlanIamPolicyOutput) Name() pulumi.StringOutput
The full name of the BackupPlan Resource.
func (RestorePlanIamPolicyOutput) PolicyData ¶
func (o RestorePlanIamPolicyOutput) PolicyData() pulumi.StringOutput
func (RestorePlanIamPolicyOutput) Project ¶
func (o RestorePlanIamPolicyOutput) Project() pulumi.StringOutput
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
func (RestorePlanIamPolicyOutput) ToOutput ¶
func (o RestorePlanIamPolicyOutput) ToOutput(ctx context.Context) pulumix.Output[*RestorePlanIamPolicy]
func (RestorePlanIamPolicyOutput) ToRestorePlanIamPolicyOutput ¶
func (o RestorePlanIamPolicyOutput) ToRestorePlanIamPolicyOutput() RestorePlanIamPolicyOutput
func (RestorePlanIamPolicyOutput) ToRestorePlanIamPolicyOutputWithContext ¶
func (o RestorePlanIamPolicyOutput) ToRestorePlanIamPolicyOutputWithContext(ctx context.Context) RestorePlanIamPolicyOutput
type RestorePlanIamPolicyState ¶
type RestorePlanIamPolicyState struct { Etag pulumi.StringPtrInput // The region of the Restore Plan. Location pulumi.StringPtrInput // The full name of the BackupPlan Resource. Name pulumi.StringPtrInput PolicyData pulumi.StringPtrInput // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project pulumi.StringPtrInput }
func (RestorePlanIamPolicyState) ElementType ¶
func (RestorePlanIamPolicyState) ElementType() reflect.Type
type RestorePlanInput ¶
type RestorePlanInput interface { pulumi.Input ToRestorePlanOutput() RestorePlanOutput ToRestorePlanOutputWithContext(ctx context.Context) RestorePlanOutput }
type RestorePlanMap ¶
type RestorePlanMap map[string]RestorePlanInput
func (RestorePlanMap) ElementType ¶
func (RestorePlanMap) ElementType() reflect.Type
func (RestorePlanMap) ToOutput ¶
func (i RestorePlanMap) ToOutput(ctx context.Context) pulumix.Output[map[string]*RestorePlan]
func (RestorePlanMap) ToRestorePlanMapOutput ¶
func (i RestorePlanMap) ToRestorePlanMapOutput() RestorePlanMapOutput
func (RestorePlanMap) ToRestorePlanMapOutputWithContext ¶
func (i RestorePlanMap) ToRestorePlanMapOutputWithContext(ctx context.Context) RestorePlanMapOutput
type RestorePlanMapInput ¶
type RestorePlanMapInput interface { pulumi.Input ToRestorePlanMapOutput() RestorePlanMapOutput ToRestorePlanMapOutputWithContext(context.Context) RestorePlanMapOutput }
RestorePlanMapInput is an input type that accepts RestorePlanMap and RestorePlanMapOutput values. You can construct a concrete instance of `RestorePlanMapInput` via:
RestorePlanMap{ "key": RestorePlanArgs{...} }
type RestorePlanMapOutput ¶
type RestorePlanMapOutput struct{ *pulumi.OutputState }
func (RestorePlanMapOutput) ElementType ¶
func (RestorePlanMapOutput) ElementType() reflect.Type
func (RestorePlanMapOutput) MapIndex ¶
func (o RestorePlanMapOutput) MapIndex(k pulumi.StringInput) RestorePlanOutput
func (RestorePlanMapOutput) ToOutput ¶
func (o RestorePlanMapOutput) ToOutput(ctx context.Context) pulumix.Output[map[string]*RestorePlan]
func (RestorePlanMapOutput) ToRestorePlanMapOutput ¶
func (o RestorePlanMapOutput) ToRestorePlanMapOutput() RestorePlanMapOutput
func (RestorePlanMapOutput) ToRestorePlanMapOutputWithContext ¶
func (o RestorePlanMapOutput) ToRestorePlanMapOutputWithContext(ctx context.Context) RestorePlanMapOutput
type RestorePlanOutput ¶
type RestorePlanOutput struct{ *pulumi.OutputState }
func (RestorePlanOutput) BackupPlan ¶
func (o RestorePlanOutput) BackupPlan() pulumi.StringOutput
A reference to the BackupPlan from which Backups may be used as the source for Restores created via this RestorePlan.
func (RestorePlanOutput) Cluster ¶
func (o RestorePlanOutput) Cluster() pulumi.StringOutput
The source cluster from which Restores will be created via this RestorePlan.
func (RestorePlanOutput) Description ¶
func (o RestorePlanOutput) Description() pulumi.StringPtrOutput
User specified descriptive string for this RestorePlan.
func (RestorePlanOutput) EffectiveLabels ¶
func (o RestorePlanOutput) EffectiveLabels() pulumi.StringMapOutput
All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Terraform, other clients and services.
func (RestorePlanOutput) ElementType ¶
func (RestorePlanOutput) ElementType() reflect.Type
func (RestorePlanOutput) Labels ¶
func (o RestorePlanOutput) Labels() pulumi.StringMapOutput
Description: A set of custom labels supplied by the user. A list of key->value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
**Note**: This field is non-authoritative, and will only manage the labels present in your configuration. Please refer to the field `effectiveLabels` for all of the labels present on the resource.
func (RestorePlanOutput) Location ¶
func (o RestorePlanOutput) Location() pulumi.StringOutput
The region of the Restore Plan.
func (RestorePlanOutput) Name ¶
func (o RestorePlanOutput) Name() pulumi.StringOutput
The full name of the BackupPlan Resource.
func (RestorePlanOutput) Project ¶
func (o RestorePlanOutput) Project() pulumi.StringOutput
The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
func (RestorePlanOutput) RestoreConfig ¶
func (o RestorePlanOutput) RestoreConfig() RestorePlanRestoreConfigOutput
Defines the configuration of Restores created via this RestorePlan. Structure is documented below.
func (RestorePlanOutput) State ¶
func (o RestorePlanOutput) State() pulumi.StringOutput
The State of the RestorePlan.
func (RestorePlanOutput) StateReason ¶
func (o RestorePlanOutput) StateReason() pulumi.StringOutput
Detailed description of why RestorePlan is in its current state.
func (RestorePlanOutput) TerraformLabels ¶
func (o RestorePlanOutput) TerraformLabels() pulumi.StringMapOutput
The combination of labels configured directly on the resource and default labels configured on the provider.
func (RestorePlanOutput) ToOutput ¶
func (o RestorePlanOutput) ToOutput(ctx context.Context) pulumix.Output[*RestorePlan]
func (RestorePlanOutput) ToRestorePlanOutput ¶
func (o RestorePlanOutput) ToRestorePlanOutput() RestorePlanOutput
func (RestorePlanOutput) ToRestorePlanOutputWithContext ¶
func (o RestorePlanOutput) ToRestorePlanOutputWithContext(ctx context.Context) RestorePlanOutput
func (RestorePlanOutput) Uid ¶
func (o RestorePlanOutput) Uid() pulumi.StringOutput
Server generated, unique identifier of UUID format.
type RestorePlanRestoreConfig ¶
type RestorePlanRestoreConfig struct { // If True, restore all namespaced resources in the Backup. // Setting this field to False will result in an error. AllNamespaces *bool `pulumi:"allNamespaces"` // Defines the behavior for handling the situation where cluster-scoped resources // being restored already exist in the target cluster. // This MUST be set to a value other than `CLUSTER_RESOURCE_CONFLICT_POLICY_UNSPECIFIED` // if `clusterResourceRestoreScope` is anyting other than `noGroupKinds`. // See https://cloud.google.com/kubernetes-engine/docs/add-on/backup-for-gke/reference/rest/v1/RestoreConfig#clusterresourceconflictpolicy // for more information on each policy option. // Possible values are: `USE_EXISTING_VERSION`, `USE_BACKUP_VERSION`. ClusterResourceConflictPolicy *string `pulumi:"clusterResourceConflictPolicy"` // Identifies the cluster-scoped resources to restore from the Backup. // Structure is documented below. ClusterResourceRestoreScope *RestorePlanRestoreConfigClusterResourceRestoreScope `pulumi:"clusterResourceRestoreScope"` // A list of selected namespaces excluded from restoration. // All namespaces except those in this list will be restored. // Structure is documented below. ExcludedNamespaces *RestorePlanRestoreConfigExcludedNamespaces `pulumi:"excludedNamespaces"` // Defines the behavior for handling the situation where sets of namespaced resources // being restored already exist in the target cluster. // This MUST be set to a value other than `NAMESPACED_RESOURCE_RESTORE_MODE_UNSPECIFIED` // if the `namespacedResourceRestoreScope` is anything other than `noNamespaces`. // See https://cloud.google.com/kubernetes-engine/docs/add-on/backup-for-gke/reference/rest/v1/RestoreConfig#namespacedresourcerestoremode // for more information on each mode. // Possible values are: `DELETE_AND_RESTORE`, `FAIL_ON_CONFLICT`. NamespacedResourceRestoreMode *string `pulumi:"namespacedResourceRestoreMode"` // Do not restore any namespaced resources if set to "True". // Specifying this field to "False" is not allowed. NoNamespaces *bool `pulumi:"noNamespaces"` // A list of selected ProtectedApplications to restore. // The listed ProtectedApplications and all the resources // to which they refer will be restored. // Structure is documented below. SelectedApplications *RestorePlanRestoreConfigSelectedApplications `pulumi:"selectedApplications"` // A list of selected namespaces to restore from the Backup. // The listed Namespaces and all resources contained in them will be restored. // Structure is documented below. SelectedNamespaces *RestorePlanRestoreConfigSelectedNamespaces `pulumi:"selectedNamespaces"` // A list of transformation rules to be applied against Kubernetes // resources as they are selected for restoration from a Backup. // Rules are executed in order defined - this order matters, // as changes made by a rule may impact the filtering logic of subsequent // rules. An empty list means no transformation will occur. // Structure is documented below. TransformationRules []RestorePlanRestoreConfigTransformationRule `pulumi:"transformationRules"` // Specifies the mechanism to be used to restore volume data. // This should be set to a value other than `NAMESPACED_RESOURCE_RESTORE_MODE_UNSPECIFIED` // if the `namespacedResourceRestoreScope` is anything other than `noNamespaces`. // If not specified, it will be treated as `NO_VOLUME_DATA_RESTORATION`. // See https://cloud.google.com/kubernetes-engine/docs/add-on/backup-for-gke/reference/rest/v1/RestoreConfig#VolumeDataRestorePolicy // for more information on each policy option. // Possible values are: `RESTORE_VOLUME_DATA_FROM_BACKUP`, `REUSE_VOLUME_HANDLE_FROM_BACKUP`, `NO_VOLUME_DATA_RESTORATION`. VolumeDataRestorePolicy *string `pulumi:"volumeDataRestorePolicy"` }
type RestorePlanRestoreConfigArgs ¶
type RestorePlanRestoreConfigArgs struct { // If True, restore all namespaced resources in the Backup. // Setting this field to False will result in an error. AllNamespaces pulumi.BoolPtrInput `pulumi:"allNamespaces"` // Defines the behavior for handling the situation where cluster-scoped resources // being restored already exist in the target cluster. // This MUST be set to a value other than `CLUSTER_RESOURCE_CONFLICT_POLICY_UNSPECIFIED` // if `clusterResourceRestoreScope` is anyting other than `noGroupKinds`. // See https://cloud.google.com/kubernetes-engine/docs/add-on/backup-for-gke/reference/rest/v1/RestoreConfig#clusterresourceconflictpolicy // for more information on each policy option. // Possible values are: `USE_EXISTING_VERSION`, `USE_BACKUP_VERSION`. ClusterResourceConflictPolicy pulumi.StringPtrInput `pulumi:"clusterResourceConflictPolicy"` // Identifies the cluster-scoped resources to restore from the Backup. // Structure is documented below. ClusterResourceRestoreScope RestorePlanRestoreConfigClusterResourceRestoreScopePtrInput `pulumi:"clusterResourceRestoreScope"` // A list of selected namespaces excluded from restoration. // All namespaces except those in this list will be restored. // Structure is documented below. ExcludedNamespaces RestorePlanRestoreConfigExcludedNamespacesPtrInput `pulumi:"excludedNamespaces"` // Defines the behavior for handling the situation where sets of namespaced resources // being restored already exist in the target cluster. // This MUST be set to a value other than `NAMESPACED_RESOURCE_RESTORE_MODE_UNSPECIFIED` // if the `namespacedResourceRestoreScope` is anything other than `noNamespaces`. // See https://cloud.google.com/kubernetes-engine/docs/add-on/backup-for-gke/reference/rest/v1/RestoreConfig#namespacedresourcerestoremode // for more information on each mode. // Possible values are: `DELETE_AND_RESTORE`, `FAIL_ON_CONFLICT`. NamespacedResourceRestoreMode pulumi.StringPtrInput `pulumi:"namespacedResourceRestoreMode"` // Do not restore any namespaced resources if set to "True". // Specifying this field to "False" is not allowed. NoNamespaces pulumi.BoolPtrInput `pulumi:"noNamespaces"` // A list of selected ProtectedApplications to restore. // The listed ProtectedApplications and all the resources // to which they refer will be restored. // Structure is documented below. SelectedApplications RestorePlanRestoreConfigSelectedApplicationsPtrInput `pulumi:"selectedApplications"` // A list of selected namespaces to restore from the Backup. // The listed Namespaces and all resources contained in them will be restored. // Structure is documented below. SelectedNamespaces RestorePlanRestoreConfigSelectedNamespacesPtrInput `pulumi:"selectedNamespaces"` // A list of transformation rules to be applied against Kubernetes // resources as they are selected for restoration from a Backup. // Rules are executed in order defined - this order matters, // as changes made by a rule may impact the filtering logic of subsequent // rules. An empty list means no transformation will occur. // Structure is documented below. TransformationRules RestorePlanRestoreConfigTransformationRuleArrayInput `pulumi:"transformationRules"` // Specifies the mechanism to be used to restore volume data. // This should be set to a value other than `NAMESPACED_RESOURCE_RESTORE_MODE_UNSPECIFIED` // if the `namespacedResourceRestoreScope` is anything other than `noNamespaces`. // If not specified, it will be treated as `NO_VOLUME_DATA_RESTORATION`. // See https://cloud.google.com/kubernetes-engine/docs/add-on/backup-for-gke/reference/rest/v1/RestoreConfig#VolumeDataRestorePolicy // for more information on each policy option. // Possible values are: `RESTORE_VOLUME_DATA_FROM_BACKUP`, `REUSE_VOLUME_HANDLE_FROM_BACKUP`, `NO_VOLUME_DATA_RESTORATION`. VolumeDataRestorePolicy pulumi.StringPtrInput `pulumi:"volumeDataRestorePolicy"` }
func (RestorePlanRestoreConfigArgs) ElementType ¶
func (RestorePlanRestoreConfigArgs) ElementType() reflect.Type
func (RestorePlanRestoreConfigArgs) ToOutput ¶
func (i RestorePlanRestoreConfigArgs) ToOutput(ctx context.Context) pulumix.Output[RestorePlanRestoreConfig]
func (RestorePlanRestoreConfigArgs) ToRestorePlanRestoreConfigOutput ¶
func (i RestorePlanRestoreConfigArgs) ToRestorePlanRestoreConfigOutput() RestorePlanRestoreConfigOutput
func (RestorePlanRestoreConfigArgs) ToRestorePlanRestoreConfigOutputWithContext ¶
func (i RestorePlanRestoreConfigArgs) ToRestorePlanRestoreConfigOutputWithContext(ctx context.Context) RestorePlanRestoreConfigOutput
func (RestorePlanRestoreConfigArgs) ToRestorePlanRestoreConfigPtrOutput ¶
func (i RestorePlanRestoreConfigArgs) ToRestorePlanRestoreConfigPtrOutput() RestorePlanRestoreConfigPtrOutput
func (RestorePlanRestoreConfigArgs) ToRestorePlanRestoreConfigPtrOutputWithContext ¶
func (i RestorePlanRestoreConfigArgs) ToRestorePlanRestoreConfigPtrOutputWithContext(ctx context.Context) RestorePlanRestoreConfigPtrOutput
type RestorePlanRestoreConfigClusterResourceRestoreScope ¶
type RestorePlanRestoreConfigClusterResourceRestoreScope struct { // If True, all valid cluster-scoped resources will be restored. // Mutually exclusive to any other field in `clusterResourceRestoreScope`. AllGroupKinds *bool `pulumi:"allGroupKinds"` // A list of cluster-scoped resource group kinds to NOT restore from the backup. // If specified, all valid cluster-scoped resources will be restored except // for those specified in the list. // Mutually exclusive to any other field in `clusterResourceRestoreScope`. // Structure is documented below. ExcludedGroupKinds []RestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKind `pulumi:"excludedGroupKinds"` // If True, no cluster-scoped resources will be restored. // Mutually exclusive to any other field in `clusterResourceRestoreScope`. NoGroupKinds *bool `pulumi:"noGroupKinds"` // A list of cluster-scoped resource group kinds to restore from the backup. // If specified, only the selected resources will be restored. // Mutually exclusive to any other field in the `clusterResourceRestoreScope`. // Structure is documented below. SelectedGroupKinds []RestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKind `pulumi:"selectedGroupKinds"` }
type RestorePlanRestoreConfigClusterResourceRestoreScopeArgs ¶
type RestorePlanRestoreConfigClusterResourceRestoreScopeArgs struct { // If True, all valid cluster-scoped resources will be restored. // Mutually exclusive to any other field in `clusterResourceRestoreScope`. AllGroupKinds pulumi.BoolPtrInput `pulumi:"allGroupKinds"` // A list of cluster-scoped resource group kinds to NOT restore from the backup. // If specified, all valid cluster-scoped resources will be restored except // for those specified in the list. // Mutually exclusive to any other field in `clusterResourceRestoreScope`. // Structure is documented below. ExcludedGroupKinds RestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKindArrayInput `pulumi:"excludedGroupKinds"` // If True, no cluster-scoped resources will be restored. // Mutually exclusive to any other field in `clusterResourceRestoreScope`. NoGroupKinds pulumi.BoolPtrInput `pulumi:"noGroupKinds"` // A list of cluster-scoped resource group kinds to restore from the backup. // If specified, only the selected resources will be restored. // Mutually exclusive to any other field in the `clusterResourceRestoreScope`. // Structure is documented below. SelectedGroupKinds RestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindArrayInput `pulumi:"selectedGroupKinds"` }
func (RestorePlanRestoreConfigClusterResourceRestoreScopeArgs) ElementType ¶
func (RestorePlanRestoreConfigClusterResourceRestoreScopeArgs) ElementType() reflect.Type
func (RestorePlanRestoreConfigClusterResourceRestoreScopeArgs) ToRestorePlanRestoreConfigClusterResourceRestoreScopeOutput ¶
func (i RestorePlanRestoreConfigClusterResourceRestoreScopeArgs) ToRestorePlanRestoreConfigClusterResourceRestoreScopeOutput() RestorePlanRestoreConfigClusterResourceRestoreScopeOutput
func (RestorePlanRestoreConfigClusterResourceRestoreScopeArgs) ToRestorePlanRestoreConfigClusterResourceRestoreScopeOutputWithContext ¶
func (i RestorePlanRestoreConfigClusterResourceRestoreScopeArgs) ToRestorePlanRestoreConfigClusterResourceRestoreScopeOutputWithContext(ctx context.Context) RestorePlanRestoreConfigClusterResourceRestoreScopeOutput
func (RestorePlanRestoreConfigClusterResourceRestoreScopeArgs) ToRestorePlanRestoreConfigClusterResourceRestoreScopePtrOutput ¶
func (i RestorePlanRestoreConfigClusterResourceRestoreScopeArgs) ToRestorePlanRestoreConfigClusterResourceRestoreScopePtrOutput() RestorePlanRestoreConfigClusterResourceRestoreScopePtrOutput
func (RestorePlanRestoreConfigClusterResourceRestoreScopeArgs) ToRestorePlanRestoreConfigClusterResourceRestoreScopePtrOutputWithContext ¶
func (i RestorePlanRestoreConfigClusterResourceRestoreScopeArgs) ToRestorePlanRestoreConfigClusterResourceRestoreScopePtrOutputWithContext(ctx context.Context) RestorePlanRestoreConfigClusterResourceRestoreScopePtrOutput
type RestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKind ¶
type RestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKind struct { // API Group string of a Kubernetes resource, e.g. // "apiextensions.k8s.io", "storage.k8s.io", etc. // Use empty string for core group. ResourceGroup *string `pulumi:"resourceGroup"` // Kind of a Kubernetes resource, e.g. // "CustomResourceDefinition", "StorageClass", etc. ResourceKind *string `pulumi:"resourceKind"` }
type RestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKindArgs ¶
type RestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKindArgs struct { // API Group string of a Kubernetes resource, e.g. // "apiextensions.k8s.io", "storage.k8s.io", etc. // Use empty string for core group. ResourceGroup pulumi.StringPtrInput `pulumi:"resourceGroup"` // Kind of a Kubernetes resource, e.g. // "CustomResourceDefinition", "StorageClass", etc. ResourceKind pulumi.StringPtrInput `pulumi:"resourceKind"` }
func (RestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKindArgs) ElementType ¶
func (RestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKindArgs) ElementType() reflect.Type
func (RestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKindArgs) ToRestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKindOutput ¶
func (i RestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKindArgs) ToRestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKindOutput() RestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKindOutput
func (RestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKindArgs) ToRestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKindOutputWithContext ¶
func (i RestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKindArgs) ToRestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKindOutputWithContext(ctx context.Context) RestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKindOutput
type RestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKindArray ¶
type RestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKindArray []RestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKindInput
func (RestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKindArray) ElementType ¶
func (RestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKindArray) ElementType() reflect.Type
func (RestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKindArray) ToRestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKindArrayOutput ¶
func (i RestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKindArray) ToRestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKindArrayOutput() RestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKindArrayOutput
func (RestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKindArray) ToRestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKindArrayOutputWithContext ¶
func (i RestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKindArray) ToRestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKindArrayOutputWithContext(ctx context.Context) RestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKindArrayOutput
type RestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKindArrayInput ¶
type RestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKindArrayInput interface { pulumi.Input ToRestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKindArrayOutput() RestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKindArrayOutput ToRestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKindArrayOutputWithContext(context.Context) RestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKindArrayOutput }
RestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKindArrayInput is an input type that accepts RestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKindArray and RestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKindArrayOutput values. You can construct a concrete instance of `RestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKindArrayInput` via:
RestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKindArray{ RestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKindArgs{...} }
type RestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKindArrayOutput ¶
type RestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKindArrayOutput struct{ *pulumi.OutputState }
func (RestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKindArrayOutput) ElementType ¶
func (RestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKindArrayOutput) ElementType() reflect.Type
func (RestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKindArrayOutput) ToRestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKindArrayOutput ¶
func (o RestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKindArrayOutput) ToRestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKindArrayOutput() RestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKindArrayOutput
func (RestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKindArrayOutput) ToRestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKindArrayOutputWithContext ¶
func (o RestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKindArrayOutput) ToRestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKindArrayOutputWithContext(ctx context.Context) RestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKindArrayOutput
type RestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKindInput ¶
type RestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKindInput interface { pulumi.Input ToRestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKindOutput() RestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKindOutput ToRestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKindOutputWithContext(context.Context) RestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKindOutput }
RestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKindInput is an input type that accepts RestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKindArgs and RestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKindOutput values. You can construct a concrete instance of `RestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKindInput` via:
RestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKindArgs{...}
type RestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKindOutput ¶
type RestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKindOutput struct{ *pulumi.OutputState }
func (RestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKindOutput) ElementType ¶
func (RestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKindOutput) ElementType() reflect.Type
func (RestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKindOutput) ResourceGroup ¶
func (o RestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKindOutput) ResourceGroup() pulumi.StringPtrOutput
API Group string of a Kubernetes resource, e.g. "apiextensions.k8s.io", "storage.k8s.io", etc. Use empty string for core group.
func (RestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKindOutput) ResourceKind ¶
func (o RestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKindOutput) ResourceKind() pulumi.StringPtrOutput
Kind of a Kubernetes resource, e.g. "CustomResourceDefinition", "StorageClass", etc.
func (RestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKindOutput) ToRestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKindOutput ¶
func (o RestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKindOutput) ToRestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKindOutput() RestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKindOutput
func (RestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKindOutput) ToRestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKindOutputWithContext ¶
func (o RestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKindOutput) ToRestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKindOutputWithContext(ctx context.Context) RestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKindOutput
type RestorePlanRestoreConfigClusterResourceRestoreScopeInput ¶
type RestorePlanRestoreConfigClusterResourceRestoreScopeInput interface { pulumi.Input ToRestorePlanRestoreConfigClusterResourceRestoreScopeOutput() RestorePlanRestoreConfigClusterResourceRestoreScopeOutput ToRestorePlanRestoreConfigClusterResourceRestoreScopeOutputWithContext(context.Context) RestorePlanRestoreConfigClusterResourceRestoreScopeOutput }
RestorePlanRestoreConfigClusterResourceRestoreScopeInput is an input type that accepts RestorePlanRestoreConfigClusterResourceRestoreScopeArgs and RestorePlanRestoreConfigClusterResourceRestoreScopeOutput values. You can construct a concrete instance of `RestorePlanRestoreConfigClusterResourceRestoreScopeInput` via:
RestorePlanRestoreConfigClusterResourceRestoreScopeArgs{...}
type RestorePlanRestoreConfigClusterResourceRestoreScopeOutput ¶
type RestorePlanRestoreConfigClusterResourceRestoreScopeOutput struct{ *pulumi.OutputState }
func (RestorePlanRestoreConfigClusterResourceRestoreScopeOutput) AllGroupKinds ¶
func (o RestorePlanRestoreConfigClusterResourceRestoreScopeOutput) AllGroupKinds() pulumi.BoolPtrOutput
If True, all valid cluster-scoped resources will be restored. Mutually exclusive to any other field in `clusterResourceRestoreScope`.
func (RestorePlanRestoreConfigClusterResourceRestoreScopeOutput) ElementType ¶
func (RestorePlanRestoreConfigClusterResourceRestoreScopeOutput) ElementType() reflect.Type
func (RestorePlanRestoreConfigClusterResourceRestoreScopeOutput) ExcludedGroupKinds ¶
func (o RestorePlanRestoreConfigClusterResourceRestoreScopeOutput) ExcludedGroupKinds() RestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKindArrayOutput
A list of cluster-scoped resource group kinds to NOT restore from the backup. If specified, all valid cluster-scoped resources will be restored except for those specified in the list. Mutually exclusive to any other field in `clusterResourceRestoreScope`. Structure is documented below.
func (RestorePlanRestoreConfigClusterResourceRestoreScopeOutput) NoGroupKinds ¶
func (o RestorePlanRestoreConfigClusterResourceRestoreScopeOutput) NoGroupKinds() pulumi.BoolPtrOutput
If True, no cluster-scoped resources will be restored. Mutually exclusive to any other field in `clusterResourceRestoreScope`.
func (RestorePlanRestoreConfigClusterResourceRestoreScopeOutput) SelectedGroupKinds ¶
func (o RestorePlanRestoreConfigClusterResourceRestoreScopeOutput) SelectedGroupKinds() RestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindArrayOutput
A list of cluster-scoped resource group kinds to restore from the backup. If specified, only the selected resources will be restored. Mutually exclusive to any other field in the `clusterResourceRestoreScope`. Structure is documented below.
func (RestorePlanRestoreConfigClusterResourceRestoreScopeOutput) ToRestorePlanRestoreConfigClusterResourceRestoreScopeOutput ¶
func (o RestorePlanRestoreConfigClusterResourceRestoreScopeOutput) ToRestorePlanRestoreConfigClusterResourceRestoreScopeOutput() RestorePlanRestoreConfigClusterResourceRestoreScopeOutput
func (RestorePlanRestoreConfigClusterResourceRestoreScopeOutput) ToRestorePlanRestoreConfigClusterResourceRestoreScopeOutputWithContext ¶
func (o RestorePlanRestoreConfigClusterResourceRestoreScopeOutput) ToRestorePlanRestoreConfigClusterResourceRestoreScopeOutputWithContext(ctx context.Context) RestorePlanRestoreConfigClusterResourceRestoreScopeOutput
func (RestorePlanRestoreConfigClusterResourceRestoreScopeOutput) ToRestorePlanRestoreConfigClusterResourceRestoreScopePtrOutput ¶
func (o RestorePlanRestoreConfigClusterResourceRestoreScopeOutput) ToRestorePlanRestoreConfigClusterResourceRestoreScopePtrOutput() RestorePlanRestoreConfigClusterResourceRestoreScopePtrOutput
func (RestorePlanRestoreConfigClusterResourceRestoreScopeOutput) ToRestorePlanRestoreConfigClusterResourceRestoreScopePtrOutputWithContext ¶
func (o RestorePlanRestoreConfigClusterResourceRestoreScopeOutput) ToRestorePlanRestoreConfigClusterResourceRestoreScopePtrOutputWithContext(ctx context.Context) RestorePlanRestoreConfigClusterResourceRestoreScopePtrOutput
type RestorePlanRestoreConfigClusterResourceRestoreScopePtrInput ¶
type RestorePlanRestoreConfigClusterResourceRestoreScopePtrInput interface { pulumi.Input ToRestorePlanRestoreConfigClusterResourceRestoreScopePtrOutput() RestorePlanRestoreConfigClusterResourceRestoreScopePtrOutput ToRestorePlanRestoreConfigClusterResourceRestoreScopePtrOutputWithContext(context.Context) RestorePlanRestoreConfigClusterResourceRestoreScopePtrOutput }
RestorePlanRestoreConfigClusterResourceRestoreScopePtrInput is an input type that accepts RestorePlanRestoreConfigClusterResourceRestoreScopeArgs, RestorePlanRestoreConfigClusterResourceRestoreScopePtr and RestorePlanRestoreConfigClusterResourceRestoreScopePtrOutput values. You can construct a concrete instance of `RestorePlanRestoreConfigClusterResourceRestoreScopePtrInput` via:
RestorePlanRestoreConfigClusterResourceRestoreScopeArgs{...} or: nil
func RestorePlanRestoreConfigClusterResourceRestoreScopePtr ¶
func RestorePlanRestoreConfigClusterResourceRestoreScopePtr(v *RestorePlanRestoreConfigClusterResourceRestoreScopeArgs) RestorePlanRestoreConfigClusterResourceRestoreScopePtrInput
type RestorePlanRestoreConfigClusterResourceRestoreScopePtrOutput ¶
type RestorePlanRestoreConfigClusterResourceRestoreScopePtrOutput struct{ *pulumi.OutputState }
func (RestorePlanRestoreConfigClusterResourceRestoreScopePtrOutput) AllGroupKinds ¶
func (o RestorePlanRestoreConfigClusterResourceRestoreScopePtrOutput) AllGroupKinds() pulumi.BoolPtrOutput
If True, all valid cluster-scoped resources will be restored. Mutually exclusive to any other field in `clusterResourceRestoreScope`.
func (RestorePlanRestoreConfigClusterResourceRestoreScopePtrOutput) ElementType ¶
func (RestorePlanRestoreConfigClusterResourceRestoreScopePtrOutput) ElementType() reflect.Type
func (RestorePlanRestoreConfigClusterResourceRestoreScopePtrOutput) ExcludedGroupKinds ¶
func (o RestorePlanRestoreConfigClusterResourceRestoreScopePtrOutput) ExcludedGroupKinds() RestorePlanRestoreConfigClusterResourceRestoreScopeExcludedGroupKindArrayOutput
A list of cluster-scoped resource group kinds to NOT restore from the backup. If specified, all valid cluster-scoped resources will be restored except for those specified in the list. Mutually exclusive to any other field in `clusterResourceRestoreScope`. Structure is documented below.
func (RestorePlanRestoreConfigClusterResourceRestoreScopePtrOutput) NoGroupKinds ¶
func (o RestorePlanRestoreConfigClusterResourceRestoreScopePtrOutput) NoGroupKinds() pulumi.BoolPtrOutput
If True, no cluster-scoped resources will be restored. Mutually exclusive to any other field in `clusterResourceRestoreScope`.
func (RestorePlanRestoreConfigClusterResourceRestoreScopePtrOutput) SelectedGroupKinds ¶
func (o RestorePlanRestoreConfigClusterResourceRestoreScopePtrOutput) SelectedGroupKinds() RestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindArrayOutput
A list of cluster-scoped resource group kinds to restore from the backup. If specified, only the selected resources will be restored. Mutually exclusive to any other field in the `clusterResourceRestoreScope`. Structure is documented below.
func (RestorePlanRestoreConfigClusterResourceRestoreScopePtrOutput) ToRestorePlanRestoreConfigClusterResourceRestoreScopePtrOutput ¶
func (o RestorePlanRestoreConfigClusterResourceRestoreScopePtrOutput) ToRestorePlanRestoreConfigClusterResourceRestoreScopePtrOutput() RestorePlanRestoreConfigClusterResourceRestoreScopePtrOutput
func (RestorePlanRestoreConfigClusterResourceRestoreScopePtrOutput) ToRestorePlanRestoreConfigClusterResourceRestoreScopePtrOutputWithContext ¶
func (o RestorePlanRestoreConfigClusterResourceRestoreScopePtrOutput) ToRestorePlanRestoreConfigClusterResourceRestoreScopePtrOutputWithContext(ctx context.Context) RestorePlanRestoreConfigClusterResourceRestoreScopePtrOutput
type RestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKind ¶
type RestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKind struct { // API Group string of a Kubernetes resource, e.g. // "apiextensions.k8s.io", "storage.k8s.io", etc. // Use empty string for core group. ResourceGroup *string `pulumi:"resourceGroup"` // Kind of a Kubernetes resource, e.g. // "CustomResourceDefinition", "StorageClass", etc. ResourceKind *string `pulumi:"resourceKind"` }
type RestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindArgs ¶
type RestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindArgs struct { // API Group string of a Kubernetes resource, e.g. // "apiextensions.k8s.io", "storage.k8s.io", etc. // Use empty string for core group. ResourceGroup pulumi.StringPtrInput `pulumi:"resourceGroup"` // Kind of a Kubernetes resource, e.g. // "CustomResourceDefinition", "StorageClass", etc. ResourceKind pulumi.StringPtrInput `pulumi:"resourceKind"` }
func (RestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindArgs) ElementType ¶
func (RestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindArgs) ElementType() reflect.Type
func (RestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindArgs) ToRestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindOutput ¶
func (i RestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindArgs) ToRestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindOutput() RestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindOutput
func (RestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindArgs) ToRestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindOutputWithContext ¶
func (i RestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindArgs) ToRestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindOutputWithContext(ctx context.Context) RestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindOutput
type RestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindArray ¶
type RestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindArray []RestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindInput
func (RestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindArray) ElementType ¶
func (RestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindArray) ElementType() reflect.Type
func (RestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindArray) ToRestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindArrayOutput ¶
func (i RestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindArray) ToRestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindArrayOutput() RestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindArrayOutput
func (RestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindArray) ToRestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindArrayOutputWithContext ¶
func (i RestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindArray) ToRestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindArrayOutputWithContext(ctx context.Context) RestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindArrayOutput
type RestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindArrayInput ¶
type RestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindArrayInput interface { pulumi.Input ToRestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindArrayOutput() RestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindArrayOutput ToRestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindArrayOutputWithContext(context.Context) RestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindArrayOutput }
RestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindArrayInput is an input type that accepts RestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindArray and RestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindArrayOutput values. You can construct a concrete instance of `RestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindArrayInput` via:
RestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindArray{ RestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindArgs{...} }
type RestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindArrayOutput ¶
type RestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindArrayOutput struct{ *pulumi.OutputState }
func (RestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindArrayOutput) ElementType ¶
func (RestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindArrayOutput) ElementType() reflect.Type
func (RestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindArrayOutput) ToRestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindArrayOutput ¶
func (o RestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindArrayOutput) ToRestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindArrayOutput() RestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindArrayOutput
func (RestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindArrayOutput) ToRestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindArrayOutputWithContext ¶
func (o RestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindArrayOutput) ToRestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindArrayOutputWithContext(ctx context.Context) RestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindArrayOutput
type RestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindInput ¶
type RestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindInput interface { pulumi.Input ToRestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindOutput() RestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindOutput ToRestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindOutputWithContext(context.Context) RestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindOutput }
RestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindInput is an input type that accepts RestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindArgs and RestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindOutput values. You can construct a concrete instance of `RestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindInput` via:
RestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindArgs{...}
type RestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindOutput ¶
type RestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindOutput struct{ *pulumi.OutputState }
func (RestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindOutput) ElementType ¶
func (RestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindOutput) ElementType() reflect.Type
func (RestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindOutput) ResourceGroup ¶
func (o RestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindOutput) ResourceGroup() pulumi.StringPtrOutput
API Group string of a Kubernetes resource, e.g. "apiextensions.k8s.io", "storage.k8s.io", etc. Use empty string for core group.
func (RestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindOutput) ResourceKind ¶
func (o RestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindOutput) ResourceKind() pulumi.StringPtrOutput
Kind of a Kubernetes resource, e.g. "CustomResourceDefinition", "StorageClass", etc.
func (RestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindOutput) ToRestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindOutput ¶
func (o RestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindOutput) ToRestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindOutput() RestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindOutput
func (RestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindOutput) ToRestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindOutputWithContext ¶
func (o RestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindOutput) ToRestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindOutputWithContext(ctx context.Context) RestorePlanRestoreConfigClusterResourceRestoreScopeSelectedGroupKindOutput
type RestorePlanRestoreConfigExcludedNamespaces ¶
type RestorePlanRestoreConfigExcludedNamespaces struct { // A list of Kubernetes Namespaces. Namespaces []string `pulumi:"namespaces"` }
type RestorePlanRestoreConfigExcludedNamespacesArgs ¶
type RestorePlanRestoreConfigExcludedNamespacesArgs struct { // A list of Kubernetes Namespaces. Namespaces pulumi.StringArrayInput `pulumi:"namespaces"` }
func (RestorePlanRestoreConfigExcludedNamespacesArgs) ElementType ¶
func (RestorePlanRestoreConfigExcludedNamespacesArgs) ElementType() reflect.Type
func (RestorePlanRestoreConfigExcludedNamespacesArgs) ToOutput ¶
func (i RestorePlanRestoreConfigExcludedNamespacesArgs) ToOutput(ctx context.Context) pulumix.Output[RestorePlanRestoreConfigExcludedNamespaces]
func (RestorePlanRestoreConfigExcludedNamespacesArgs) ToRestorePlanRestoreConfigExcludedNamespacesOutput ¶
func (i RestorePlanRestoreConfigExcludedNamespacesArgs) ToRestorePlanRestoreConfigExcludedNamespacesOutput() RestorePlanRestoreConfigExcludedNamespacesOutput
func (RestorePlanRestoreConfigExcludedNamespacesArgs) ToRestorePlanRestoreConfigExcludedNamespacesOutputWithContext ¶
func (i RestorePlanRestoreConfigExcludedNamespacesArgs) ToRestorePlanRestoreConfigExcludedNamespacesOutputWithContext(ctx context.Context) RestorePlanRestoreConfigExcludedNamespacesOutput
func (RestorePlanRestoreConfigExcludedNamespacesArgs) ToRestorePlanRestoreConfigExcludedNamespacesPtrOutput ¶
func (i RestorePlanRestoreConfigExcludedNamespacesArgs) ToRestorePlanRestoreConfigExcludedNamespacesPtrOutput() RestorePlanRestoreConfigExcludedNamespacesPtrOutput
func (RestorePlanRestoreConfigExcludedNamespacesArgs) ToRestorePlanRestoreConfigExcludedNamespacesPtrOutputWithContext ¶
func (i RestorePlanRestoreConfigExcludedNamespacesArgs) ToRestorePlanRestoreConfigExcludedNamespacesPtrOutputWithContext(ctx context.Context) RestorePlanRestoreConfigExcludedNamespacesPtrOutput
type RestorePlanRestoreConfigExcludedNamespacesInput ¶
type RestorePlanRestoreConfigExcludedNamespacesInput interface { pulumi.Input ToRestorePlanRestoreConfigExcludedNamespacesOutput() RestorePlanRestoreConfigExcludedNamespacesOutput ToRestorePlanRestoreConfigExcludedNamespacesOutputWithContext(context.Context) RestorePlanRestoreConfigExcludedNamespacesOutput }
RestorePlanRestoreConfigExcludedNamespacesInput is an input type that accepts RestorePlanRestoreConfigExcludedNamespacesArgs and RestorePlanRestoreConfigExcludedNamespacesOutput values. You can construct a concrete instance of `RestorePlanRestoreConfigExcludedNamespacesInput` via:
RestorePlanRestoreConfigExcludedNamespacesArgs{...}
type RestorePlanRestoreConfigExcludedNamespacesOutput ¶
type RestorePlanRestoreConfigExcludedNamespacesOutput struct{ *pulumi.OutputState }
func (RestorePlanRestoreConfigExcludedNamespacesOutput) ElementType ¶
func (RestorePlanRestoreConfigExcludedNamespacesOutput) ElementType() reflect.Type
func (RestorePlanRestoreConfigExcludedNamespacesOutput) Namespaces ¶
func (o RestorePlanRestoreConfigExcludedNamespacesOutput) Namespaces() pulumi.StringArrayOutput
A list of Kubernetes Namespaces.
func (RestorePlanRestoreConfigExcludedNamespacesOutput) ToRestorePlanRestoreConfigExcludedNamespacesOutput ¶
func (o RestorePlanRestoreConfigExcludedNamespacesOutput) ToRestorePlanRestoreConfigExcludedNamespacesOutput() RestorePlanRestoreConfigExcludedNamespacesOutput
func (RestorePlanRestoreConfigExcludedNamespacesOutput) ToRestorePlanRestoreConfigExcludedNamespacesOutputWithContext ¶
func (o RestorePlanRestoreConfigExcludedNamespacesOutput) ToRestorePlanRestoreConfigExcludedNamespacesOutputWithContext(ctx context.Context) RestorePlanRestoreConfigExcludedNamespacesOutput
func (RestorePlanRestoreConfigExcludedNamespacesOutput) ToRestorePlanRestoreConfigExcludedNamespacesPtrOutput ¶
func (o RestorePlanRestoreConfigExcludedNamespacesOutput) ToRestorePlanRestoreConfigExcludedNamespacesPtrOutput() RestorePlanRestoreConfigExcludedNamespacesPtrOutput
func (RestorePlanRestoreConfigExcludedNamespacesOutput) ToRestorePlanRestoreConfigExcludedNamespacesPtrOutputWithContext ¶
func (o RestorePlanRestoreConfigExcludedNamespacesOutput) ToRestorePlanRestoreConfigExcludedNamespacesPtrOutputWithContext(ctx context.Context) RestorePlanRestoreConfigExcludedNamespacesPtrOutput
type RestorePlanRestoreConfigExcludedNamespacesPtrInput ¶
type RestorePlanRestoreConfigExcludedNamespacesPtrInput interface { pulumi.Input ToRestorePlanRestoreConfigExcludedNamespacesPtrOutput() RestorePlanRestoreConfigExcludedNamespacesPtrOutput ToRestorePlanRestoreConfigExcludedNamespacesPtrOutputWithContext(context.Context) RestorePlanRestoreConfigExcludedNamespacesPtrOutput }
RestorePlanRestoreConfigExcludedNamespacesPtrInput is an input type that accepts RestorePlanRestoreConfigExcludedNamespacesArgs, RestorePlanRestoreConfigExcludedNamespacesPtr and RestorePlanRestoreConfigExcludedNamespacesPtrOutput values. You can construct a concrete instance of `RestorePlanRestoreConfigExcludedNamespacesPtrInput` via:
RestorePlanRestoreConfigExcludedNamespacesArgs{...} or: nil
func RestorePlanRestoreConfigExcludedNamespacesPtr ¶
func RestorePlanRestoreConfigExcludedNamespacesPtr(v *RestorePlanRestoreConfigExcludedNamespacesArgs) RestorePlanRestoreConfigExcludedNamespacesPtrInput
type RestorePlanRestoreConfigExcludedNamespacesPtrOutput ¶
type RestorePlanRestoreConfigExcludedNamespacesPtrOutput struct{ *pulumi.OutputState }
func (RestorePlanRestoreConfigExcludedNamespacesPtrOutput) ElementType ¶
func (RestorePlanRestoreConfigExcludedNamespacesPtrOutput) ElementType() reflect.Type
func (RestorePlanRestoreConfigExcludedNamespacesPtrOutput) Namespaces ¶
func (o RestorePlanRestoreConfigExcludedNamespacesPtrOutput) Namespaces() pulumi.StringArrayOutput
A list of Kubernetes Namespaces.
func (RestorePlanRestoreConfigExcludedNamespacesPtrOutput) ToOutput ¶
func (o RestorePlanRestoreConfigExcludedNamespacesPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RestorePlanRestoreConfigExcludedNamespaces]
func (RestorePlanRestoreConfigExcludedNamespacesPtrOutput) ToRestorePlanRestoreConfigExcludedNamespacesPtrOutput ¶
func (o RestorePlanRestoreConfigExcludedNamespacesPtrOutput) ToRestorePlanRestoreConfigExcludedNamespacesPtrOutput() RestorePlanRestoreConfigExcludedNamespacesPtrOutput
func (RestorePlanRestoreConfigExcludedNamespacesPtrOutput) ToRestorePlanRestoreConfigExcludedNamespacesPtrOutputWithContext ¶
func (o RestorePlanRestoreConfigExcludedNamespacesPtrOutput) ToRestorePlanRestoreConfigExcludedNamespacesPtrOutputWithContext(ctx context.Context) RestorePlanRestoreConfigExcludedNamespacesPtrOutput
type RestorePlanRestoreConfigInput ¶
type RestorePlanRestoreConfigInput interface { pulumi.Input ToRestorePlanRestoreConfigOutput() RestorePlanRestoreConfigOutput ToRestorePlanRestoreConfigOutputWithContext(context.Context) RestorePlanRestoreConfigOutput }
RestorePlanRestoreConfigInput is an input type that accepts RestorePlanRestoreConfigArgs and RestorePlanRestoreConfigOutput values. You can construct a concrete instance of `RestorePlanRestoreConfigInput` via:
RestorePlanRestoreConfigArgs{...}
type RestorePlanRestoreConfigOutput ¶
type RestorePlanRestoreConfigOutput struct{ *pulumi.OutputState }
func (RestorePlanRestoreConfigOutput) AllNamespaces ¶
func (o RestorePlanRestoreConfigOutput) AllNamespaces() pulumi.BoolPtrOutput
If True, restore all namespaced resources in the Backup. Setting this field to False will result in an error.
func (RestorePlanRestoreConfigOutput) ClusterResourceConflictPolicy ¶
func (o RestorePlanRestoreConfigOutput) ClusterResourceConflictPolicy() pulumi.StringPtrOutput
Defines the behavior for handling the situation where cluster-scoped resources being restored already exist in the target cluster. This MUST be set to a value other than `CLUSTER_RESOURCE_CONFLICT_POLICY_UNSPECIFIED` if `clusterResourceRestoreScope` is anyting other than `noGroupKinds`. See https://cloud.google.com/kubernetes-engine/docs/add-on/backup-for-gke/reference/rest/v1/RestoreConfig#clusterresourceconflictpolicy for more information on each policy option. Possible values are: `USE_EXISTING_VERSION`, `USE_BACKUP_VERSION`.
func (RestorePlanRestoreConfigOutput) ClusterResourceRestoreScope ¶
func (o RestorePlanRestoreConfigOutput) ClusterResourceRestoreScope() RestorePlanRestoreConfigClusterResourceRestoreScopePtrOutput
Identifies the cluster-scoped resources to restore from the Backup. Structure is documented below.
func (RestorePlanRestoreConfigOutput) ElementType ¶
func (RestorePlanRestoreConfigOutput) ElementType() reflect.Type
func (RestorePlanRestoreConfigOutput) ExcludedNamespaces ¶
func (o RestorePlanRestoreConfigOutput) ExcludedNamespaces() RestorePlanRestoreConfigExcludedNamespacesPtrOutput
A list of selected namespaces excluded from restoration. All namespaces except those in this list will be restored. Structure is documented below.
func (RestorePlanRestoreConfigOutput) NamespacedResourceRestoreMode ¶
func (o RestorePlanRestoreConfigOutput) NamespacedResourceRestoreMode() pulumi.StringPtrOutput
Defines the behavior for handling the situation where sets of namespaced resources being restored already exist in the target cluster. This MUST be set to a value other than `NAMESPACED_RESOURCE_RESTORE_MODE_UNSPECIFIED` if the `namespacedResourceRestoreScope` is anything other than `noNamespaces`. See https://cloud.google.com/kubernetes-engine/docs/add-on/backup-for-gke/reference/rest/v1/RestoreConfig#namespacedresourcerestoremode for more information on each mode. Possible values are: `DELETE_AND_RESTORE`, `FAIL_ON_CONFLICT`.
func (RestorePlanRestoreConfigOutput) NoNamespaces ¶
func (o RestorePlanRestoreConfigOutput) NoNamespaces() pulumi.BoolPtrOutput
Do not restore any namespaced resources if set to "True". Specifying this field to "False" is not allowed.
func (RestorePlanRestoreConfigOutput) SelectedApplications ¶
func (o RestorePlanRestoreConfigOutput) SelectedApplications() RestorePlanRestoreConfigSelectedApplicationsPtrOutput
A list of selected ProtectedApplications to restore. The listed ProtectedApplications and all the resources to which they refer will be restored. Structure is documented below.
func (RestorePlanRestoreConfigOutput) SelectedNamespaces ¶
func (o RestorePlanRestoreConfigOutput) SelectedNamespaces() RestorePlanRestoreConfigSelectedNamespacesPtrOutput
A list of selected namespaces to restore from the Backup. The listed Namespaces and all resources contained in them will be restored. Structure is documented below.
func (RestorePlanRestoreConfigOutput) ToOutput ¶
func (o RestorePlanRestoreConfigOutput) ToOutput(ctx context.Context) pulumix.Output[RestorePlanRestoreConfig]
func (RestorePlanRestoreConfigOutput) ToRestorePlanRestoreConfigOutput ¶
func (o RestorePlanRestoreConfigOutput) ToRestorePlanRestoreConfigOutput() RestorePlanRestoreConfigOutput
func (RestorePlanRestoreConfigOutput) ToRestorePlanRestoreConfigOutputWithContext ¶
func (o RestorePlanRestoreConfigOutput) ToRestorePlanRestoreConfigOutputWithContext(ctx context.Context) RestorePlanRestoreConfigOutput
func (RestorePlanRestoreConfigOutput) ToRestorePlanRestoreConfigPtrOutput ¶
func (o RestorePlanRestoreConfigOutput) ToRestorePlanRestoreConfigPtrOutput() RestorePlanRestoreConfigPtrOutput
func (RestorePlanRestoreConfigOutput) ToRestorePlanRestoreConfigPtrOutputWithContext ¶
func (o RestorePlanRestoreConfigOutput) ToRestorePlanRestoreConfigPtrOutputWithContext(ctx context.Context) RestorePlanRestoreConfigPtrOutput
func (RestorePlanRestoreConfigOutput) TransformationRules ¶
func (o RestorePlanRestoreConfigOutput) TransformationRules() RestorePlanRestoreConfigTransformationRuleArrayOutput
A list of transformation rules to be applied against Kubernetes resources as they are selected for restoration from a Backup. Rules are executed in order defined - this order matters, as changes made by a rule may impact the filtering logic of subsequent rules. An empty list means no transformation will occur. Structure is documented below.
func (RestorePlanRestoreConfigOutput) VolumeDataRestorePolicy ¶
func (o RestorePlanRestoreConfigOutput) VolumeDataRestorePolicy() pulumi.StringPtrOutput
Specifies the mechanism to be used to restore volume data. This should be set to a value other than `NAMESPACED_RESOURCE_RESTORE_MODE_UNSPECIFIED` if the `namespacedResourceRestoreScope` is anything other than `noNamespaces`. If not specified, it will be treated as `NO_VOLUME_DATA_RESTORATION`. See https://cloud.google.com/kubernetes-engine/docs/add-on/backup-for-gke/reference/rest/v1/RestoreConfig#VolumeDataRestorePolicy for more information on each policy option. Possible values are: `RESTORE_VOLUME_DATA_FROM_BACKUP`, `REUSE_VOLUME_HANDLE_FROM_BACKUP`, `NO_VOLUME_DATA_RESTORATION`.
type RestorePlanRestoreConfigPtrInput ¶
type RestorePlanRestoreConfigPtrInput interface { pulumi.Input ToRestorePlanRestoreConfigPtrOutput() RestorePlanRestoreConfigPtrOutput ToRestorePlanRestoreConfigPtrOutputWithContext(context.Context) RestorePlanRestoreConfigPtrOutput }
RestorePlanRestoreConfigPtrInput is an input type that accepts RestorePlanRestoreConfigArgs, RestorePlanRestoreConfigPtr and RestorePlanRestoreConfigPtrOutput values. You can construct a concrete instance of `RestorePlanRestoreConfigPtrInput` via:
RestorePlanRestoreConfigArgs{...} or: nil
func RestorePlanRestoreConfigPtr ¶
func RestorePlanRestoreConfigPtr(v *RestorePlanRestoreConfigArgs) RestorePlanRestoreConfigPtrInput
type RestorePlanRestoreConfigPtrOutput ¶
type RestorePlanRestoreConfigPtrOutput struct{ *pulumi.OutputState }
func (RestorePlanRestoreConfigPtrOutput) AllNamespaces ¶
func (o RestorePlanRestoreConfigPtrOutput) AllNamespaces() pulumi.BoolPtrOutput
If True, restore all namespaced resources in the Backup. Setting this field to False will result in an error.
func (RestorePlanRestoreConfigPtrOutput) ClusterResourceConflictPolicy ¶
func (o RestorePlanRestoreConfigPtrOutput) ClusterResourceConflictPolicy() pulumi.StringPtrOutput
Defines the behavior for handling the situation where cluster-scoped resources being restored already exist in the target cluster. This MUST be set to a value other than `CLUSTER_RESOURCE_CONFLICT_POLICY_UNSPECIFIED` if `clusterResourceRestoreScope` is anyting other than `noGroupKinds`. See https://cloud.google.com/kubernetes-engine/docs/add-on/backup-for-gke/reference/rest/v1/RestoreConfig#clusterresourceconflictpolicy for more information on each policy option. Possible values are: `USE_EXISTING_VERSION`, `USE_BACKUP_VERSION`.
func (RestorePlanRestoreConfigPtrOutput) ClusterResourceRestoreScope ¶
func (o RestorePlanRestoreConfigPtrOutput) ClusterResourceRestoreScope() RestorePlanRestoreConfigClusterResourceRestoreScopePtrOutput
Identifies the cluster-scoped resources to restore from the Backup. Structure is documented below.
func (RestorePlanRestoreConfigPtrOutput) Elem ¶
func (o RestorePlanRestoreConfigPtrOutput) Elem() RestorePlanRestoreConfigOutput
func (RestorePlanRestoreConfigPtrOutput) ElementType ¶
func (RestorePlanRestoreConfigPtrOutput) ElementType() reflect.Type
func (RestorePlanRestoreConfigPtrOutput) ExcludedNamespaces ¶
func (o RestorePlanRestoreConfigPtrOutput) ExcludedNamespaces() RestorePlanRestoreConfigExcludedNamespacesPtrOutput
A list of selected namespaces excluded from restoration. All namespaces except those in this list will be restored. Structure is documented below.
func (RestorePlanRestoreConfigPtrOutput) NamespacedResourceRestoreMode ¶
func (o RestorePlanRestoreConfigPtrOutput) NamespacedResourceRestoreMode() pulumi.StringPtrOutput
Defines the behavior for handling the situation where sets of namespaced resources being restored already exist in the target cluster. This MUST be set to a value other than `NAMESPACED_RESOURCE_RESTORE_MODE_UNSPECIFIED` if the `namespacedResourceRestoreScope` is anything other than `noNamespaces`. See https://cloud.google.com/kubernetes-engine/docs/add-on/backup-for-gke/reference/rest/v1/RestoreConfig#namespacedresourcerestoremode for more information on each mode. Possible values are: `DELETE_AND_RESTORE`, `FAIL_ON_CONFLICT`.
func (RestorePlanRestoreConfigPtrOutput) NoNamespaces ¶
func (o RestorePlanRestoreConfigPtrOutput) NoNamespaces() pulumi.BoolPtrOutput
Do not restore any namespaced resources if set to "True". Specifying this field to "False" is not allowed.
func (RestorePlanRestoreConfigPtrOutput) SelectedApplications ¶
func (o RestorePlanRestoreConfigPtrOutput) SelectedApplications() RestorePlanRestoreConfigSelectedApplicationsPtrOutput
A list of selected ProtectedApplications to restore. The listed ProtectedApplications and all the resources to which they refer will be restored. Structure is documented below.
func (RestorePlanRestoreConfigPtrOutput) SelectedNamespaces ¶
func (o RestorePlanRestoreConfigPtrOutput) SelectedNamespaces() RestorePlanRestoreConfigSelectedNamespacesPtrOutput
A list of selected namespaces to restore from the Backup. The listed Namespaces and all resources contained in them will be restored. Structure is documented below.
func (RestorePlanRestoreConfigPtrOutput) ToOutput ¶
func (o RestorePlanRestoreConfigPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RestorePlanRestoreConfig]
func (RestorePlanRestoreConfigPtrOutput) ToRestorePlanRestoreConfigPtrOutput ¶
func (o RestorePlanRestoreConfigPtrOutput) ToRestorePlanRestoreConfigPtrOutput() RestorePlanRestoreConfigPtrOutput
func (RestorePlanRestoreConfigPtrOutput) ToRestorePlanRestoreConfigPtrOutputWithContext ¶
func (o RestorePlanRestoreConfigPtrOutput) ToRestorePlanRestoreConfigPtrOutputWithContext(ctx context.Context) RestorePlanRestoreConfigPtrOutput
func (RestorePlanRestoreConfigPtrOutput) TransformationRules ¶
func (o RestorePlanRestoreConfigPtrOutput) TransformationRules() RestorePlanRestoreConfigTransformationRuleArrayOutput
A list of transformation rules to be applied against Kubernetes resources as they are selected for restoration from a Backup. Rules are executed in order defined - this order matters, as changes made by a rule may impact the filtering logic of subsequent rules. An empty list means no transformation will occur. Structure is documented below.
func (RestorePlanRestoreConfigPtrOutput) VolumeDataRestorePolicy ¶
func (o RestorePlanRestoreConfigPtrOutput) VolumeDataRestorePolicy() pulumi.StringPtrOutput
Specifies the mechanism to be used to restore volume data. This should be set to a value other than `NAMESPACED_RESOURCE_RESTORE_MODE_UNSPECIFIED` if the `namespacedResourceRestoreScope` is anything other than `noNamespaces`. If not specified, it will be treated as `NO_VOLUME_DATA_RESTORATION`. See https://cloud.google.com/kubernetes-engine/docs/add-on/backup-for-gke/reference/rest/v1/RestoreConfig#VolumeDataRestorePolicy for more information on each policy option. Possible values are: `RESTORE_VOLUME_DATA_FROM_BACKUP`, `REUSE_VOLUME_HANDLE_FROM_BACKUP`, `NO_VOLUME_DATA_RESTORATION`.
type RestorePlanRestoreConfigSelectedApplications ¶
type RestorePlanRestoreConfigSelectedApplications struct { // A list of namespaced Kubernetes resources. // Structure is documented below. NamespacedNames []RestorePlanRestoreConfigSelectedApplicationsNamespacedName `pulumi:"namespacedNames"` }
type RestorePlanRestoreConfigSelectedApplicationsArgs ¶
type RestorePlanRestoreConfigSelectedApplicationsArgs struct { // A list of namespaced Kubernetes resources. // Structure is documented below. NamespacedNames RestorePlanRestoreConfigSelectedApplicationsNamespacedNameArrayInput `pulumi:"namespacedNames"` }
func (RestorePlanRestoreConfigSelectedApplicationsArgs) ElementType ¶
func (RestorePlanRestoreConfigSelectedApplicationsArgs) ElementType() reflect.Type
func (RestorePlanRestoreConfigSelectedApplicationsArgs) ToRestorePlanRestoreConfigSelectedApplicationsOutput ¶
func (i RestorePlanRestoreConfigSelectedApplicationsArgs) ToRestorePlanRestoreConfigSelectedApplicationsOutput() RestorePlanRestoreConfigSelectedApplicationsOutput
func (RestorePlanRestoreConfigSelectedApplicationsArgs) ToRestorePlanRestoreConfigSelectedApplicationsOutputWithContext ¶
func (i RestorePlanRestoreConfigSelectedApplicationsArgs) ToRestorePlanRestoreConfigSelectedApplicationsOutputWithContext(ctx context.Context) RestorePlanRestoreConfigSelectedApplicationsOutput
func (RestorePlanRestoreConfigSelectedApplicationsArgs) ToRestorePlanRestoreConfigSelectedApplicationsPtrOutput ¶
func (i RestorePlanRestoreConfigSelectedApplicationsArgs) ToRestorePlanRestoreConfigSelectedApplicationsPtrOutput() RestorePlanRestoreConfigSelectedApplicationsPtrOutput
func (RestorePlanRestoreConfigSelectedApplicationsArgs) ToRestorePlanRestoreConfigSelectedApplicationsPtrOutputWithContext ¶
func (i RestorePlanRestoreConfigSelectedApplicationsArgs) ToRestorePlanRestoreConfigSelectedApplicationsPtrOutputWithContext(ctx context.Context) RestorePlanRestoreConfigSelectedApplicationsPtrOutput
type RestorePlanRestoreConfigSelectedApplicationsInput ¶
type RestorePlanRestoreConfigSelectedApplicationsInput interface { pulumi.Input ToRestorePlanRestoreConfigSelectedApplicationsOutput() RestorePlanRestoreConfigSelectedApplicationsOutput ToRestorePlanRestoreConfigSelectedApplicationsOutputWithContext(context.Context) RestorePlanRestoreConfigSelectedApplicationsOutput }
RestorePlanRestoreConfigSelectedApplicationsInput is an input type that accepts RestorePlanRestoreConfigSelectedApplicationsArgs and RestorePlanRestoreConfigSelectedApplicationsOutput values. You can construct a concrete instance of `RestorePlanRestoreConfigSelectedApplicationsInput` via:
RestorePlanRestoreConfigSelectedApplicationsArgs{...}
type RestorePlanRestoreConfigSelectedApplicationsNamespacedNameArgs ¶
type RestorePlanRestoreConfigSelectedApplicationsNamespacedNameArgs struct { // The name of a Kubernetes Resource. Name pulumi.StringInput `pulumi:"name"` // The namespace of a Kubernetes Resource. Namespace pulumi.StringInput `pulumi:"namespace"` }
func (RestorePlanRestoreConfigSelectedApplicationsNamespacedNameArgs) ElementType ¶
func (RestorePlanRestoreConfigSelectedApplicationsNamespacedNameArgs) ElementType() reflect.Type
func (RestorePlanRestoreConfigSelectedApplicationsNamespacedNameArgs) ToRestorePlanRestoreConfigSelectedApplicationsNamespacedNameOutput ¶
func (i RestorePlanRestoreConfigSelectedApplicationsNamespacedNameArgs) ToRestorePlanRestoreConfigSelectedApplicationsNamespacedNameOutput() RestorePlanRestoreConfigSelectedApplicationsNamespacedNameOutput
func (RestorePlanRestoreConfigSelectedApplicationsNamespacedNameArgs) ToRestorePlanRestoreConfigSelectedApplicationsNamespacedNameOutputWithContext ¶
func (i RestorePlanRestoreConfigSelectedApplicationsNamespacedNameArgs) ToRestorePlanRestoreConfigSelectedApplicationsNamespacedNameOutputWithContext(ctx context.Context) RestorePlanRestoreConfigSelectedApplicationsNamespacedNameOutput
type RestorePlanRestoreConfigSelectedApplicationsNamespacedNameArray ¶
type RestorePlanRestoreConfigSelectedApplicationsNamespacedNameArray []RestorePlanRestoreConfigSelectedApplicationsNamespacedNameInput
func (RestorePlanRestoreConfigSelectedApplicationsNamespacedNameArray) ElementType ¶
func (RestorePlanRestoreConfigSelectedApplicationsNamespacedNameArray) ElementType() reflect.Type
func (RestorePlanRestoreConfigSelectedApplicationsNamespacedNameArray) ToRestorePlanRestoreConfigSelectedApplicationsNamespacedNameArrayOutput ¶
func (i RestorePlanRestoreConfigSelectedApplicationsNamespacedNameArray) ToRestorePlanRestoreConfigSelectedApplicationsNamespacedNameArrayOutput() RestorePlanRestoreConfigSelectedApplicationsNamespacedNameArrayOutput
func (RestorePlanRestoreConfigSelectedApplicationsNamespacedNameArray) ToRestorePlanRestoreConfigSelectedApplicationsNamespacedNameArrayOutputWithContext ¶
func (i RestorePlanRestoreConfigSelectedApplicationsNamespacedNameArray) ToRestorePlanRestoreConfigSelectedApplicationsNamespacedNameArrayOutputWithContext(ctx context.Context) RestorePlanRestoreConfigSelectedApplicationsNamespacedNameArrayOutput
type RestorePlanRestoreConfigSelectedApplicationsNamespacedNameArrayInput ¶
type RestorePlanRestoreConfigSelectedApplicationsNamespacedNameArrayInput interface { pulumi.Input ToRestorePlanRestoreConfigSelectedApplicationsNamespacedNameArrayOutput() RestorePlanRestoreConfigSelectedApplicationsNamespacedNameArrayOutput ToRestorePlanRestoreConfigSelectedApplicationsNamespacedNameArrayOutputWithContext(context.Context) RestorePlanRestoreConfigSelectedApplicationsNamespacedNameArrayOutput }
RestorePlanRestoreConfigSelectedApplicationsNamespacedNameArrayInput is an input type that accepts RestorePlanRestoreConfigSelectedApplicationsNamespacedNameArray and RestorePlanRestoreConfigSelectedApplicationsNamespacedNameArrayOutput values. You can construct a concrete instance of `RestorePlanRestoreConfigSelectedApplicationsNamespacedNameArrayInput` via:
RestorePlanRestoreConfigSelectedApplicationsNamespacedNameArray{ RestorePlanRestoreConfigSelectedApplicationsNamespacedNameArgs{...} }
type RestorePlanRestoreConfigSelectedApplicationsNamespacedNameArrayOutput ¶
type RestorePlanRestoreConfigSelectedApplicationsNamespacedNameArrayOutput struct{ *pulumi.OutputState }
func (RestorePlanRestoreConfigSelectedApplicationsNamespacedNameArrayOutput) ElementType ¶
func (RestorePlanRestoreConfigSelectedApplicationsNamespacedNameArrayOutput) ElementType() reflect.Type
func (RestorePlanRestoreConfigSelectedApplicationsNamespacedNameArrayOutput) ToRestorePlanRestoreConfigSelectedApplicationsNamespacedNameArrayOutput ¶
func (o RestorePlanRestoreConfigSelectedApplicationsNamespacedNameArrayOutput) ToRestorePlanRestoreConfigSelectedApplicationsNamespacedNameArrayOutput() RestorePlanRestoreConfigSelectedApplicationsNamespacedNameArrayOutput
func (RestorePlanRestoreConfigSelectedApplicationsNamespacedNameArrayOutput) ToRestorePlanRestoreConfigSelectedApplicationsNamespacedNameArrayOutputWithContext ¶
func (o RestorePlanRestoreConfigSelectedApplicationsNamespacedNameArrayOutput) ToRestorePlanRestoreConfigSelectedApplicationsNamespacedNameArrayOutputWithContext(ctx context.Context) RestorePlanRestoreConfigSelectedApplicationsNamespacedNameArrayOutput
type RestorePlanRestoreConfigSelectedApplicationsNamespacedNameInput ¶
type RestorePlanRestoreConfigSelectedApplicationsNamespacedNameInput interface { pulumi.Input ToRestorePlanRestoreConfigSelectedApplicationsNamespacedNameOutput() RestorePlanRestoreConfigSelectedApplicationsNamespacedNameOutput ToRestorePlanRestoreConfigSelectedApplicationsNamespacedNameOutputWithContext(context.Context) RestorePlanRestoreConfigSelectedApplicationsNamespacedNameOutput }
RestorePlanRestoreConfigSelectedApplicationsNamespacedNameInput is an input type that accepts RestorePlanRestoreConfigSelectedApplicationsNamespacedNameArgs and RestorePlanRestoreConfigSelectedApplicationsNamespacedNameOutput values. You can construct a concrete instance of `RestorePlanRestoreConfigSelectedApplicationsNamespacedNameInput` via:
RestorePlanRestoreConfigSelectedApplicationsNamespacedNameArgs{...}
type RestorePlanRestoreConfigSelectedApplicationsNamespacedNameOutput ¶
type RestorePlanRestoreConfigSelectedApplicationsNamespacedNameOutput struct{ *pulumi.OutputState }
func (RestorePlanRestoreConfigSelectedApplicationsNamespacedNameOutput) ElementType ¶
func (RestorePlanRestoreConfigSelectedApplicationsNamespacedNameOutput) ElementType() reflect.Type
func (RestorePlanRestoreConfigSelectedApplicationsNamespacedNameOutput) Name ¶
func (o RestorePlanRestoreConfigSelectedApplicationsNamespacedNameOutput) Name() pulumi.StringOutput
The name of a Kubernetes Resource.
func (RestorePlanRestoreConfigSelectedApplicationsNamespacedNameOutput) Namespace ¶
func (o RestorePlanRestoreConfigSelectedApplicationsNamespacedNameOutput) Namespace() pulumi.StringOutput
The namespace of a Kubernetes Resource.
func (RestorePlanRestoreConfigSelectedApplicationsNamespacedNameOutput) ToRestorePlanRestoreConfigSelectedApplicationsNamespacedNameOutput ¶
func (o RestorePlanRestoreConfigSelectedApplicationsNamespacedNameOutput) ToRestorePlanRestoreConfigSelectedApplicationsNamespacedNameOutput() RestorePlanRestoreConfigSelectedApplicationsNamespacedNameOutput
func (RestorePlanRestoreConfigSelectedApplicationsNamespacedNameOutput) ToRestorePlanRestoreConfigSelectedApplicationsNamespacedNameOutputWithContext ¶
func (o RestorePlanRestoreConfigSelectedApplicationsNamespacedNameOutput) ToRestorePlanRestoreConfigSelectedApplicationsNamespacedNameOutputWithContext(ctx context.Context) RestorePlanRestoreConfigSelectedApplicationsNamespacedNameOutput
type RestorePlanRestoreConfigSelectedApplicationsOutput ¶
type RestorePlanRestoreConfigSelectedApplicationsOutput struct{ *pulumi.OutputState }
func (RestorePlanRestoreConfigSelectedApplicationsOutput) ElementType ¶
func (RestorePlanRestoreConfigSelectedApplicationsOutput) ElementType() reflect.Type
func (RestorePlanRestoreConfigSelectedApplicationsOutput) NamespacedNames ¶
func (o RestorePlanRestoreConfigSelectedApplicationsOutput) NamespacedNames() RestorePlanRestoreConfigSelectedApplicationsNamespacedNameArrayOutput
A list of namespaced Kubernetes resources. Structure is documented below.
func (RestorePlanRestoreConfigSelectedApplicationsOutput) ToRestorePlanRestoreConfigSelectedApplicationsOutput ¶
func (o RestorePlanRestoreConfigSelectedApplicationsOutput) ToRestorePlanRestoreConfigSelectedApplicationsOutput() RestorePlanRestoreConfigSelectedApplicationsOutput
func (RestorePlanRestoreConfigSelectedApplicationsOutput) ToRestorePlanRestoreConfigSelectedApplicationsOutputWithContext ¶
func (o RestorePlanRestoreConfigSelectedApplicationsOutput) ToRestorePlanRestoreConfigSelectedApplicationsOutputWithContext(ctx context.Context) RestorePlanRestoreConfigSelectedApplicationsOutput
func (RestorePlanRestoreConfigSelectedApplicationsOutput) ToRestorePlanRestoreConfigSelectedApplicationsPtrOutput ¶
func (o RestorePlanRestoreConfigSelectedApplicationsOutput) ToRestorePlanRestoreConfigSelectedApplicationsPtrOutput() RestorePlanRestoreConfigSelectedApplicationsPtrOutput
func (RestorePlanRestoreConfigSelectedApplicationsOutput) ToRestorePlanRestoreConfigSelectedApplicationsPtrOutputWithContext ¶
func (o RestorePlanRestoreConfigSelectedApplicationsOutput) ToRestorePlanRestoreConfigSelectedApplicationsPtrOutputWithContext(ctx context.Context) RestorePlanRestoreConfigSelectedApplicationsPtrOutput
type RestorePlanRestoreConfigSelectedApplicationsPtrInput ¶
type RestorePlanRestoreConfigSelectedApplicationsPtrInput interface { pulumi.Input ToRestorePlanRestoreConfigSelectedApplicationsPtrOutput() RestorePlanRestoreConfigSelectedApplicationsPtrOutput ToRestorePlanRestoreConfigSelectedApplicationsPtrOutputWithContext(context.Context) RestorePlanRestoreConfigSelectedApplicationsPtrOutput }
RestorePlanRestoreConfigSelectedApplicationsPtrInput is an input type that accepts RestorePlanRestoreConfigSelectedApplicationsArgs, RestorePlanRestoreConfigSelectedApplicationsPtr and RestorePlanRestoreConfigSelectedApplicationsPtrOutput values. You can construct a concrete instance of `RestorePlanRestoreConfigSelectedApplicationsPtrInput` via:
RestorePlanRestoreConfigSelectedApplicationsArgs{...} or: nil
func RestorePlanRestoreConfigSelectedApplicationsPtr ¶
func RestorePlanRestoreConfigSelectedApplicationsPtr(v *RestorePlanRestoreConfigSelectedApplicationsArgs) RestorePlanRestoreConfigSelectedApplicationsPtrInput
type RestorePlanRestoreConfigSelectedApplicationsPtrOutput ¶
type RestorePlanRestoreConfigSelectedApplicationsPtrOutput struct{ *pulumi.OutputState }
func (RestorePlanRestoreConfigSelectedApplicationsPtrOutput) ElementType ¶
func (RestorePlanRestoreConfigSelectedApplicationsPtrOutput) ElementType() reflect.Type
func (RestorePlanRestoreConfigSelectedApplicationsPtrOutput) NamespacedNames ¶
func (o RestorePlanRestoreConfigSelectedApplicationsPtrOutput) NamespacedNames() RestorePlanRestoreConfigSelectedApplicationsNamespacedNameArrayOutput
A list of namespaced Kubernetes resources. Structure is documented below.
func (RestorePlanRestoreConfigSelectedApplicationsPtrOutput) ToRestorePlanRestoreConfigSelectedApplicationsPtrOutput ¶
func (o RestorePlanRestoreConfigSelectedApplicationsPtrOutput) ToRestorePlanRestoreConfigSelectedApplicationsPtrOutput() RestorePlanRestoreConfigSelectedApplicationsPtrOutput
func (RestorePlanRestoreConfigSelectedApplicationsPtrOutput) ToRestorePlanRestoreConfigSelectedApplicationsPtrOutputWithContext ¶
func (o RestorePlanRestoreConfigSelectedApplicationsPtrOutput) ToRestorePlanRestoreConfigSelectedApplicationsPtrOutputWithContext(ctx context.Context) RestorePlanRestoreConfigSelectedApplicationsPtrOutput
type RestorePlanRestoreConfigSelectedNamespaces ¶
type RestorePlanRestoreConfigSelectedNamespaces struct { // A list of Kubernetes Namespaces. Namespaces []string `pulumi:"namespaces"` }
type RestorePlanRestoreConfigSelectedNamespacesArgs ¶
type RestorePlanRestoreConfigSelectedNamespacesArgs struct { // A list of Kubernetes Namespaces. Namespaces pulumi.StringArrayInput `pulumi:"namespaces"` }
func (RestorePlanRestoreConfigSelectedNamespacesArgs) ElementType ¶
func (RestorePlanRestoreConfigSelectedNamespacesArgs) ElementType() reflect.Type
func (RestorePlanRestoreConfigSelectedNamespacesArgs) ToOutput ¶
func (i RestorePlanRestoreConfigSelectedNamespacesArgs) ToOutput(ctx context.Context) pulumix.Output[RestorePlanRestoreConfigSelectedNamespaces]
func (RestorePlanRestoreConfigSelectedNamespacesArgs) ToRestorePlanRestoreConfigSelectedNamespacesOutput ¶
func (i RestorePlanRestoreConfigSelectedNamespacesArgs) ToRestorePlanRestoreConfigSelectedNamespacesOutput() RestorePlanRestoreConfigSelectedNamespacesOutput
func (RestorePlanRestoreConfigSelectedNamespacesArgs) ToRestorePlanRestoreConfigSelectedNamespacesOutputWithContext ¶
func (i RestorePlanRestoreConfigSelectedNamespacesArgs) ToRestorePlanRestoreConfigSelectedNamespacesOutputWithContext(ctx context.Context) RestorePlanRestoreConfigSelectedNamespacesOutput
func (RestorePlanRestoreConfigSelectedNamespacesArgs) ToRestorePlanRestoreConfigSelectedNamespacesPtrOutput ¶
func (i RestorePlanRestoreConfigSelectedNamespacesArgs) ToRestorePlanRestoreConfigSelectedNamespacesPtrOutput() RestorePlanRestoreConfigSelectedNamespacesPtrOutput
func (RestorePlanRestoreConfigSelectedNamespacesArgs) ToRestorePlanRestoreConfigSelectedNamespacesPtrOutputWithContext ¶
func (i RestorePlanRestoreConfigSelectedNamespacesArgs) ToRestorePlanRestoreConfigSelectedNamespacesPtrOutputWithContext(ctx context.Context) RestorePlanRestoreConfigSelectedNamespacesPtrOutput
type RestorePlanRestoreConfigSelectedNamespacesInput ¶
type RestorePlanRestoreConfigSelectedNamespacesInput interface { pulumi.Input ToRestorePlanRestoreConfigSelectedNamespacesOutput() RestorePlanRestoreConfigSelectedNamespacesOutput ToRestorePlanRestoreConfigSelectedNamespacesOutputWithContext(context.Context) RestorePlanRestoreConfigSelectedNamespacesOutput }
RestorePlanRestoreConfigSelectedNamespacesInput is an input type that accepts RestorePlanRestoreConfigSelectedNamespacesArgs and RestorePlanRestoreConfigSelectedNamespacesOutput values. You can construct a concrete instance of `RestorePlanRestoreConfigSelectedNamespacesInput` via:
RestorePlanRestoreConfigSelectedNamespacesArgs{...}
type RestorePlanRestoreConfigSelectedNamespacesOutput ¶
type RestorePlanRestoreConfigSelectedNamespacesOutput struct{ *pulumi.OutputState }
func (RestorePlanRestoreConfigSelectedNamespacesOutput) ElementType ¶
func (RestorePlanRestoreConfigSelectedNamespacesOutput) ElementType() reflect.Type
func (RestorePlanRestoreConfigSelectedNamespacesOutput) Namespaces ¶
func (o RestorePlanRestoreConfigSelectedNamespacesOutput) Namespaces() pulumi.StringArrayOutput
A list of Kubernetes Namespaces.
func (RestorePlanRestoreConfigSelectedNamespacesOutput) ToRestorePlanRestoreConfigSelectedNamespacesOutput ¶
func (o RestorePlanRestoreConfigSelectedNamespacesOutput) ToRestorePlanRestoreConfigSelectedNamespacesOutput() RestorePlanRestoreConfigSelectedNamespacesOutput
func (RestorePlanRestoreConfigSelectedNamespacesOutput) ToRestorePlanRestoreConfigSelectedNamespacesOutputWithContext ¶
func (o RestorePlanRestoreConfigSelectedNamespacesOutput) ToRestorePlanRestoreConfigSelectedNamespacesOutputWithContext(ctx context.Context) RestorePlanRestoreConfigSelectedNamespacesOutput
func (RestorePlanRestoreConfigSelectedNamespacesOutput) ToRestorePlanRestoreConfigSelectedNamespacesPtrOutput ¶
func (o RestorePlanRestoreConfigSelectedNamespacesOutput) ToRestorePlanRestoreConfigSelectedNamespacesPtrOutput() RestorePlanRestoreConfigSelectedNamespacesPtrOutput
func (RestorePlanRestoreConfigSelectedNamespacesOutput) ToRestorePlanRestoreConfigSelectedNamespacesPtrOutputWithContext ¶
func (o RestorePlanRestoreConfigSelectedNamespacesOutput) ToRestorePlanRestoreConfigSelectedNamespacesPtrOutputWithContext(ctx context.Context) RestorePlanRestoreConfigSelectedNamespacesPtrOutput
type RestorePlanRestoreConfigSelectedNamespacesPtrInput ¶
type RestorePlanRestoreConfigSelectedNamespacesPtrInput interface { pulumi.Input ToRestorePlanRestoreConfigSelectedNamespacesPtrOutput() RestorePlanRestoreConfigSelectedNamespacesPtrOutput ToRestorePlanRestoreConfigSelectedNamespacesPtrOutputWithContext(context.Context) RestorePlanRestoreConfigSelectedNamespacesPtrOutput }
RestorePlanRestoreConfigSelectedNamespacesPtrInput is an input type that accepts RestorePlanRestoreConfigSelectedNamespacesArgs, RestorePlanRestoreConfigSelectedNamespacesPtr and RestorePlanRestoreConfigSelectedNamespacesPtrOutput values. You can construct a concrete instance of `RestorePlanRestoreConfigSelectedNamespacesPtrInput` via:
RestorePlanRestoreConfigSelectedNamespacesArgs{...} or: nil
func RestorePlanRestoreConfigSelectedNamespacesPtr ¶
func RestorePlanRestoreConfigSelectedNamespacesPtr(v *RestorePlanRestoreConfigSelectedNamespacesArgs) RestorePlanRestoreConfigSelectedNamespacesPtrInput
type RestorePlanRestoreConfigSelectedNamespacesPtrOutput ¶
type RestorePlanRestoreConfigSelectedNamespacesPtrOutput struct{ *pulumi.OutputState }
func (RestorePlanRestoreConfigSelectedNamespacesPtrOutput) ElementType ¶
func (RestorePlanRestoreConfigSelectedNamespacesPtrOutput) ElementType() reflect.Type
func (RestorePlanRestoreConfigSelectedNamespacesPtrOutput) Namespaces ¶
func (o RestorePlanRestoreConfigSelectedNamespacesPtrOutput) Namespaces() pulumi.StringArrayOutput
A list of Kubernetes Namespaces.
func (RestorePlanRestoreConfigSelectedNamespacesPtrOutput) ToOutput ¶
func (o RestorePlanRestoreConfigSelectedNamespacesPtrOutput) ToOutput(ctx context.Context) pulumix.Output[*RestorePlanRestoreConfigSelectedNamespaces]
func (RestorePlanRestoreConfigSelectedNamespacesPtrOutput) ToRestorePlanRestoreConfigSelectedNamespacesPtrOutput ¶
func (o RestorePlanRestoreConfigSelectedNamespacesPtrOutput) ToRestorePlanRestoreConfigSelectedNamespacesPtrOutput() RestorePlanRestoreConfigSelectedNamespacesPtrOutput
func (RestorePlanRestoreConfigSelectedNamespacesPtrOutput) ToRestorePlanRestoreConfigSelectedNamespacesPtrOutputWithContext ¶
func (o RestorePlanRestoreConfigSelectedNamespacesPtrOutput) ToRestorePlanRestoreConfigSelectedNamespacesPtrOutputWithContext(ctx context.Context) RestorePlanRestoreConfigSelectedNamespacesPtrOutput
type RestorePlanRestoreConfigTransformationRule ¶
type RestorePlanRestoreConfigTransformationRule struct { // The description is a user specified string description // of the transformation rule. Description *string `pulumi:"description"` // A list of transformation rule actions to take against candidate // resources. Actions are executed in order defined - this order // matters, as they could potentially interfere with each other and // the first operation could affect the outcome of the second operation. // Structure is documented below. FieldActions []RestorePlanRestoreConfigTransformationRuleFieldAction `pulumi:"fieldActions"` // This field is used to specify a set of fields that should be used to // determine which resources in backup should be acted upon by the // supplied transformation rule actions, and this will ensure that only // specific resources are affected by transformation rule actions. // Structure is documented below. ResourceFilter *RestorePlanRestoreConfigTransformationRuleResourceFilter `pulumi:"resourceFilter"` }
type RestorePlanRestoreConfigTransformationRuleArgs ¶
type RestorePlanRestoreConfigTransformationRuleArgs struct { // The description is a user specified string description // of the transformation rule. Description pulumi.StringPtrInput `pulumi:"description"` // A list of transformation rule actions to take against candidate // resources. Actions are executed in order defined - this order // matters, as they could potentially interfere with each other and // the first operation could affect the outcome of the second operation. // Structure is documented below. FieldActions RestorePlanRestoreConfigTransformationRuleFieldActionArrayInput `pulumi:"fieldActions"` // This field is used to specify a set of fields that should be used to // determine which resources in backup should be acted upon by the // supplied transformation rule actions, and this will ensure that only // specific resources are affected by transformation rule actions. // Structure is documented below. ResourceFilter RestorePlanRestoreConfigTransformationRuleResourceFilterPtrInput `pulumi:"resourceFilter"` }
func (RestorePlanRestoreConfigTransformationRuleArgs) ElementType ¶
func (RestorePlanRestoreConfigTransformationRuleArgs) ElementType() reflect.Type
func (RestorePlanRestoreConfigTransformationRuleArgs) ToOutput ¶
func (i RestorePlanRestoreConfigTransformationRuleArgs) ToOutput(ctx context.Context) pulumix.Output[RestorePlanRestoreConfigTransformationRule]
func (RestorePlanRestoreConfigTransformationRuleArgs) ToRestorePlanRestoreConfigTransformationRuleOutput ¶
func (i RestorePlanRestoreConfigTransformationRuleArgs) ToRestorePlanRestoreConfigTransformationRuleOutput() RestorePlanRestoreConfigTransformationRuleOutput
func (RestorePlanRestoreConfigTransformationRuleArgs) ToRestorePlanRestoreConfigTransformationRuleOutputWithContext ¶
func (i RestorePlanRestoreConfigTransformationRuleArgs) ToRestorePlanRestoreConfigTransformationRuleOutputWithContext(ctx context.Context) RestorePlanRestoreConfigTransformationRuleOutput
type RestorePlanRestoreConfigTransformationRuleArray ¶
type RestorePlanRestoreConfigTransformationRuleArray []RestorePlanRestoreConfigTransformationRuleInput
func (RestorePlanRestoreConfigTransformationRuleArray) ElementType ¶
func (RestorePlanRestoreConfigTransformationRuleArray) ElementType() reflect.Type
func (RestorePlanRestoreConfigTransformationRuleArray) ToOutput ¶
func (i RestorePlanRestoreConfigTransformationRuleArray) ToOutput(ctx context.Context) pulumix.Output[[]RestorePlanRestoreConfigTransformationRule]
func (RestorePlanRestoreConfigTransformationRuleArray) ToRestorePlanRestoreConfigTransformationRuleArrayOutput ¶
func (i RestorePlanRestoreConfigTransformationRuleArray) ToRestorePlanRestoreConfigTransformationRuleArrayOutput() RestorePlanRestoreConfigTransformationRuleArrayOutput
func (RestorePlanRestoreConfigTransformationRuleArray) ToRestorePlanRestoreConfigTransformationRuleArrayOutputWithContext ¶
func (i RestorePlanRestoreConfigTransformationRuleArray) ToRestorePlanRestoreConfigTransformationRuleArrayOutputWithContext(ctx context.Context) RestorePlanRestoreConfigTransformationRuleArrayOutput
type RestorePlanRestoreConfigTransformationRuleArrayInput ¶
type RestorePlanRestoreConfigTransformationRuleArrayInput interface { pulumi.Input ToRestorePlanRestoreConfigTransformationRuleArrayOutput() RestorePlanRestoreConfigTransformationRuleArrayOutput ToRestorePlanRestoreConfigTransformationRuleArrayOutputWithContext(context.Context) RestorePlanRestoreConfigTransformationRuleArrayOutput }
RestorePlanRestoreConfigTransformationRuleArrayInput is an input type that accepts RestorePlanRestoreConfigTransformationRuleArray and RestorePlanRestoreConfigTransformationRuleArrayOutput values. You can construct a concrete instance of `RestorePlanRestoreConfigTransformationRuleArrayInput` via:
RestorePlanRestoreConfigTransformationRuleArray{ RestorePlanRestoreConfigTransformationRuleArgs{...} }
type RestorePlanRestoreConfigTransformationRuleArrayOutput ¶
type RestorePlanRestoreConfigTransformationRuleArrayOutput struct{ *pulumi.OutputState }
func (RestorePlanRestoreConfigTransformationRuleArrayOutput) ElementType ¶
func (RestorePlanRestoreConfigTransformationRuleArrayOutput) ElementType() reflect.Type
func (RestorePlanRestoreConfigTransformationRuleArrayOutput) ToOutput ¶
func (o RestorePlanRestoreConfigTransformationRuleArrayOutput) ToOutput(ctx context.Context) pulumix.Output[[]RestorePlanRestoreConfigTransformationRule]
func (RestorePlanRestoreConfigTransformationRuleArrayOutput) ToRestorePlanRestoreConfigTransformationRuleArrayOutput ¶
func (o RestorePlanRestoreConfigTransformationRuleArrayOutput) ToRestorePlanRestoreConfigTransformationRuleArrayOutput() RestorePlanRestoreConfigTransformationRuleArrayOutput
func (RestorePlanRestoreConfigTransformationRuleArrayOutput) ToRestorePlanRestoreConfigTransformationRuleArrayOutputWithContext ¶
func (o RestorePlanRestoreConfigTransformationRuleArrayOutput) ToRestorePlanRestoreConfigTransformationRuleArrayOutputWithContext(ctx context.Context) RestorePlanRestoreConfigTransformationRuleArrayOutput
type RestorePlanRestoreConfigTransformationRuleFieldAction ¶
type RestorePlanRestoreConfigTransformationRuleFieldAction struct { // A string containing a JSON Pointer value that references the // location in the target document to move the value from. FromPath *string `pulumi:"fromPath"` // Specifies the operation to perform. // Possible values are: `REMOVE`, `MOVE`, `COPY`, `ADD`, `TEST`, `REPLACE`. Op string `pulumi:"op"` // A string containing a JSON-Pointer value that references a // location within the target document where the operation is performed. Path *string `pulumi:"path"` // A string that specifies the desired value in string format // to use for transformation. // // *** Value *string `pulumi:"value"` }
type RestorePlanRestoreConfigTransformationRuleFieldActionArgs ¶
type RestorePlanRestoreConfigTransformationRuleFieldActionArgs struct { // A string containing a JSON Pointer value that references the // location in the target document to move the value from. FromPath pulumi.StringPtrInput `pulumi:"fromPath"` // Specifies the operation to perform. // Possible values are: `REMOVE`, `MOVE`, `COPY`, `ADD`, `TEST`, `REPLACE`. Op pulumi.StringInput `pulumi:"op"` // A string containing a JSON-Pointer value that references a // location within the target document where the operation is performed. Path pulumi.StringPtrInput `pulumi:"path"` // A string that specifies the desired value in string format // to use for transformation. // // *** Value pulumi.StringPtrInput `pulumi:"value"` }
func (RestorePlanRestoreConfigTransformationRuleFieldActionArgs) ElementType ¶
func (RestorePlanRestoreConfigTransformationRuleFieldActionArgs) ElementType() reflect.Type
func (RestorePlanRestoreConfigTransformationRuleFieldActionArgs) ToRestorePlanRestoreConfigTransformationRuleFieldActionOutput ¶
func (i RestorePlanRestoreConfigTransformationRuleFieldActionArgs) ToRestorePlanRestoreConfigTransformationRuleFieldActionOutput() RestorePlanRestoreConfigTransformationRuleFieldActionOutput
func (RestorePlanRestoreConfigTransformationRuleFieldActionArgs) ToRestorePlanRestoreConfigTransformationRuleFieldActionOutputWithContext ¶
func (i RestorePlanRestoreConfigTransformationRuleFieldActionArgs) ToRestorePlanRestoreConfigTransformationRuleFieldActionOutputWithContext(ctx context.Context) RestorePlanRestoreConfigTransformationRuleFieldActionOutput
type RestorePlanRestoreConfigTransformationRuleFieldActionArray ¶
type RestorePlanRestoreConfigTransformationRuleFieldActionArray []RestorePlanRestoreConfigTransformationRuleFieldActionInput
func (RestorePlanRestoreConfigTransformationRuleFieldActionArray) ElementType ¶
func (RestorePlanRestoreConfigTransformationRuleFieldActionArray) ElementType() reflect.Type
func (RestorePlanRestoreConfigTransformationRuleFieldActionArray) ToRestorePlanRestoreConfigTransformationRuleFieldActionArrayOutput ¶
func (i RestorePlanRestoreConfigTransformationRuleFieldActionArray) ToRestorePlanRestoreConfigTransformationRuleFieldActionArrayOutput() RestorePlanRestoreConfigTransformationRuleFieldActionArrayOutput
func (RestorePlanRestoreConfigTransformationRuleFieldActionArray) ToRestorePlanRestoreConfigTransformationRuleFieldActionArrayOutputWithContext ¶
func (i RestorePlanRestoreConfigTransformationRuleFieldActionArray) ToRestorePlanRestoreConfigTransformationRuleFieldActionArrayOutputWithContext(ctx context.Context) RestorePlanRestoreConfigTransformationRuleFieldActionArrayOutput
type RestorePlanRestoreConfigTransformationRuleFieldActionArrayInput ¶
type RestorePlanRestoreConfigTransformationRuleFieldActionArrayInput interface { pulumi.Input ToRestorePlanRestoreConfigTransformationRuleFieldActionArrayOutput() RestorePlanRestoreConfigTransformationRuleFieldActionArrayOutput ToRestorePlanRestoreConfigTransformationRuleFieldActionArrayOutputWithContext(context.Context) RestorePlanRestoreConfigTransformationRuleFieldActionArrayOutput }
RestorePlanRestoreConfigTransformationRuleFieldActionArrayInput is an input type that accepts RestorePlanRestoreConfigTransformationRuleFieldActionArray and RestorePlanRestoreConfigTransformationRuleFieldActionArrayOutput values. You can construct a concrete instance of `RestorePlanRestoreConfigTransformationRuleFieldActionArrayInput` via:
RestorePlanRestoreConfigTransformationRuleFieldActionArray{ RestorePlanRestoreConfigTransformationRuleFieldActionArgs{...} }
type RestorePlanRestoreConfigTransformationRuleFieldActionArrayOutput ¶
type RestorePlanRestoreConfigTransformationRuleFieldActionArrayOutput struct{ *pulumi.OutputState }
func (RestorePlanRestoreConfigTransformationRuleFieldActionArrayOutput) ElementType ¶
func (RestorePlanRestoreConfigTransformationRuleFieldActionArrayOutput) ElementType() reflect.Type
func (RestorePlanRestoreConfigTransformationRuleFieldActionArrayOutput) ToRestorePlanRestoreConfigTransformationRuleFieldActionArrayOutput ¶
func (o RestorePlanRestoreConfigTransformationRuleFieldActionArrayOutput) ToRestorePlanRestoreConfigTransformationRuleFieldActionArrayOutput() RestorePlanRestoreConfigTransformationRuleFieldActionArrayOutput
func (RestorePlanRestoreConfigTransformationRuleFieldActionArrayOutput) ToRestorePlanRestoreConfigTransformationRuleFieldActionArrayOutputWithContext ¶
func (o RestorePlanRestoreConfigTransformationRuleFieldActionArrayOutput) ToRestorePlanRestoreConfigTransformationRuleFieldActionArrayOutputWithContext(ctx context.Context) RestorePlanRestoreConfigTransformationRuleFieldActionArrayOutput
type RestorePlanRestoreConfigTransformationRuleFieldActionInput ¶
type RestorePlanRestoreConfigTransformationRuleFieldActionInput interface { pulumi.Input ToRestorePlanRestoreConfigTransformationRuleFieldActionOutput() RestorePlanRestoreConfigTransformationRuleFieldActionOutput ToRestorePlanRestoreConfigTransformationRuleFieldActionOutputWithContext(context.Context) RestorePlanRestoreConfigTransformationRuleFieldActionOutput }
RestorePlanRestoreConfigTransformationRuleFieldActionInput is an input type that accepts RestorePlanRestoreConfigTransformationRuleFieldActionArgs and RestorePlanRestoreConfigTransformationRuleFieldActionOutput values. You can construct a concrete instance of `RestorePlanRestoreConfigTransformationRuleFieldActionInput` via:
RestorePlanRestoreConfigTransformationRuleFieldActionArgs{...}
type RestorePlanRestoreConfigTransformationRuleFieldActionOutput ¶
type RestorePlanRestoreConfigTransformationRuleFieldActionOutput struct{ *pulumi.OutputState }
func (RestorePlanRestoreConfigTransformationRuleFieldActionOutput) ElementType ¶
func (RestorePlanRestoreConfigTransformationRuleFieldActionOutput) ElementType() reflect.Type
func (RestorePlanRestoreConfigTransformationRuleFieldActionOutput) FromPath ¶
func (o RestorePlanRestoreConfigTransformationRuleFieldActionOutput) FromPath() pulumi.StringPtrOutput
A string containing a JSON Pointer value that references the location in the target document to move the value from.
func (RestorePlanRestoreConfigTransformationRuleFieldActionOutput) Op ¶
Specifies the operation to perform. Possible values are: `REMOVE`, `MOVE`, `COPY`, `ADD`, `TEST`, `REPLACE`.
func (RestorePlanRestoreConfigTransformationRuleFieldActionOutput) Path ¶
A string containing a JSON-Pointer value that references a location within the target document where the operation is performed.
func (RestorePlanRestoreConfigTransformationRuleFieldActionOutput) ToRestorePlanRestoreConfigTransformationRuleFieldActionOutput ¶
func (o RestorePlanRestoreConfigTransformationRuleFieldActionOutput) ToRestorePlanRestoreConfigTransformationRuleFieldActionOutput() RestorePlanRestoreConfigTransformationRuleFieldActionOutput
func (RestorePlanRestoreConfigTransformationRuleFieldActionOutput) ToRestorePlanRestoreConfigTransformationRuleFieldActionOutputWithContext ¶
func (o RestorePlanRestoreConfigTransformationRuleFieldActionOutput) ToRestorePlanRestoreConfigTransformationRuleFieldActionOutputWithContext(ctx context.Context) RestorePlanRestoreConfigTransformationRuleFieldActionOutput
type RestorePlanRestoreConfigTransformationRuleInput ¶
type RestorePlanRestoreConfigTransformationRuleInput interface { pulumi.Input ToRestorePlanRestoreConfigTransformationRuleOutput() RestorePlanRestoreConfigTransformationRuleOutput ToRestorePlanRestoreConfigTransformationRuleOutputWithContext(context.Context) RestorePlanRestoreConfigTransformationRuleOutput }
RestorePlanRestoreConfigTransformationRuleInput is an input type that accepts RestorePlanRestoreConfigTransformationRuleArgs and RestorePlanRestoreConfigTransformationRuleOutput values. You can construct a concrete instance of `RestorePlanRestoreConfigTransformationRuleInput` via:
RestorePlanRestoreConfigTransformationRuleArgs{...}
type RestorePlanRestoreConfigTransformationRuleOutput ¶
type RestorePlanRestoreConfigTransformationRuleOutput struct{ *pulumi.OutputState }
func (RestorePlanRestoreConfigTransformationRuleOutput) Description ¶
func (o RestorePlanRestoreConfigTransformationRuleOutput) Description() pulumi.StringPtrOutput
The description is a user specified string description of the transformation rule.
func (RestorePlanRestoreConfigTransformationRuleOutput) ElementType ¶
func (RestorePlanRestoreConfigTransformationRuleOutput) ElementType() reflect.Type
func (RestorePlanRestoreConfigTransformationRuleOutput) FieldActions ¶
func (o RestorePlanRestoreConfigTransformationRuleOutput) FieldActions() RestorePlanRestoreConfigTransformationRuleFieldActionArrayOutput
A list of transformation rule actions to take against candidate resources. Actions are executed in order defined - this order matters, as they could potentially interfere with each other and the first operation could affect the outcome of the second operation. Structure is documented below.
func (RestorePlanRestoreConfigTransformationRuleOutput) ResourceFilter ¶
func (o RestorePlanRestoreConfigTransformationRuleOutput) ResourceFilter() RestorePlanRestoreConfigTransformationRuleResourceFilterPtrOutput
This field is used to specify a set of fields that should be used to determine which resources in backup should be acted upon by the supplied transformation rule actions, and this will ensure that only specific resources are affected by transformation rule actions. Structure is documented below.
func (RestorePlanRestoreConfigTransformationRuleOutput) ToRestorePlanRestoreConfigTransformationRuleOutput ¶
func (o RestorePlanRestoreConfigTransformationRuleOutput) ToRestorePlanRestoreConfigTransformationRuleOutput() RestorePlanRestoreConfigTransformationRuleOutput
func (RestorePlanRestoreConfigTransformationRuleOutput) ToRestorePlanRestoreConfigTransformationRuleOutputWithContext ¶
func (o RestorePlanRestoreConfigTransformationRuleOutput) ToRestorePlanRestoreConfigTransformationRuleOutputWithContext(ctx context.Context) RestorePlanRestoreConfigTransformationRuleOutput
type RestorePlanRestoreConfigTransformationRuleResourceFilter ¶
type RestorePlanRestoreConfigTransformationRuleResourceFilter struct { // (Filtering parameter) Any resource subject to transformation must // belong to one of the listed "types". If this field is not provided, // no type filtering will be performed // (all resources of all types matching previous filtering parameters // will be candidates for transformation). // Structure is documented below. GroupKinds []RestorePlanRestoreConfigTransformationRuleResourceFilterGroupKind `pulumi:"groupKinds"` // This is a JSONPath expression that matches specific fields of // candidate resources and it operates as a filtering parameter // (resources that are not matched with this expression will not // be candidates for transformation). JsonPath *string `pulumi:"jsonPath"` // (Filtering parameter) Any resource subject to transformation must // be contained within one of the listed Kubernetes Namespace in the // Backup. If this field is not provided, no namespace filtering will // be performed (all resources in all Namespaces, including all // cluster-scoped resources, will be candidates for transformation). // To mix cluster-scoped and namespaced resources in the same rule, // use an empty string ("") as one of the target namespaces. Namespaces []string `pulumi:"namespaces"` }
type RestorePlanRestoreConfigTransformationRuleResourceFilterArgs ¶
type RestorePlanRestoreConfigTransformationRuleResourceFilterArgs struct { // (Filtering parameter) Any resource subject to transformation must // belong to one of the listed "types". If this field is not provided, // no type filtering will be performed // (all resources of all types matching previous filtering parameters // will be candidates for transformation). // Structure is documented below. GroupKinds RestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindArrayInput `pulumi:"groupKinds"` // This is a JSONPath expression that matches specific fields of // candidate resources and it operates as a filtering parameter // (resources that are not matched with this expression will not // be candidates for transformation). JsonPath pulumi.StringPtrInput `pulumi:"jsonPath"` // (Filtering parameter) Any resource subject to transformation must // be contained within one of the listed Kubernetes Namespace in the // Backup. If this field is not provided, no namespace filtering will // be performed (all resources in all Namespaces, including all // cluster-scoped resources, will be candidates for transformation). // To mix cluster-scoped and namespaced resources in the same rule, // use an empty string ("") as one of the target namespaces. Namespaces pulumi.StringArrayInput `pulumi:"namespaces"` }
func (RestorePlanRestoreConfigTransformationRuleResourceFilterArgs) ElementType ¶
func (RestorePlanRestoreConfigTransformationRuleResourceFilterArgs) ElementType() reflect.Type
func (RestorePlanRestoreConfigTransformationRuleResourceFilterArgs) ToRestorePlanRestoreConfigTransformationRuleResourceFilterOutput ¶
func (i RestorePlanRestoreConfigTransformationRuleResourceFilterArgs) ToRestorePlanRestoreConfigTransformationRuleResourceFilterOutput() RestorePlanRestoreConfigTransformationRuleResourceFilterOutput
func (RestorePlanRestoreConfigTransformationRuleResourceFilterArgs) ToRestorePlanRestoreConfigTransformationRuleResourceFilterOutputWithContext ¶
func (i RestorePlanRestoreConfigTransformationRuleResourceFilterArgs) ToRestorePlanRestoreConfigTransformationRuleResourceFilterOutputWithContext(ctx context.Context) RestorePlanRestoreConfigTransformationRuleResourceFilterOutput
func (RestorePlanRestoreConfigTransformationRuleResourceFilterArgs) ToRestorePlanRestoreConfigTransformationRuleResourceFilterPtrOutput ¶
func (i RestorePlanRestoreConfigTransformationRuleResourceFilterArgs) ToRestorePlanRestoreConfigTransformationRuleResourceFilterPtrOutput() RestorePlanRestoreConfigTransformationRuleResourceFilterPtrOutput
func (RestorePlanRestoreConfigTransformationRuleResourceFilterArgs) ToRestorePlanRestoreConfigTransformationRuleResourceFilterPtrOutputWithContext ¶
func (i RestorePlanRestoreConfigTransformationRuleResourceFilterArgs) ToRestorePlanRestoreConfigTransformationRuleResourceFilterPtrOutputWithContext(ctx context.Context) RestorePlanRestoreConfigTransformationRuleResourceFilterPtrOutput
type RestorePlanRestoreConfigTransformationRuleResourceFilterGroupKind ¶
type RestorePlanRestoreConfigTransformationRuleResourceFilterGroupKind struct { // API Group string of a Kubernetes resource, e.g. // "apiextensions.k8s.io", "storage.k8s.io", etc. // Use empty string for core group. ResourceGroup *string `pulumi:"resourceGroup"` // Kind of a Kubernetes resource, e.g. // "CustomResourceDefinition", "StorageClass", etc. ResourceKind *string `pulumi:"resourceKind"` }
type RestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindArgs ¶
type RestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindArgs struct { // API Group string of a Kubernetes resource, e.g. // "apiextensions.k8s.io", "storage.k8s.io", etc. // Use empty string for core group. ResourceGroup pulumi.StringPtrInput `pulumi:"resourceGroup"` // Kind of a Kubernetes resource, e.g. // "CustomResourceDefinition", "StorageClass", etc. ResourceKind pulumi.StringPtrInput `pulumi:"resourceKind"` }
func (RestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindArgs) ElementType ¶
func (RestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindArgs) ElementType() reflect.Type
func (RestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindArgs) ToRestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindOutput ¶
func (i RestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindArgs) ToRestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindOutput() RestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindOutput
func (RestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindArgs) ToRestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindOutputWithContext ¶
func (i RestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindArgs) ToRestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindOutputWithContext(ctx context.Context) RestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindOutput
type RestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindArray ¶
type RestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindArray []RestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindInput
func (RestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindArray) ElementType ¶
func (RestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindArray) ElementType() reflect.Type
func (RestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindArray) ToRestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindArrayOutput ¶
func (i RestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindArray) ToRestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindArrayOutput() RestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindArrayOutput
func (RestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindArray) ToRestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindArrayOutputWithContext ¶
func (i RestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindArray) ToRestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindArrayOutputWithContext(ctx context.Context) RestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindArrayOutput
type RestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindArrayInput ¶
type RestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindArrayInput interface { pulumi.Input ToRestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindArrayOutput() RestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindArrayOutput ToRestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindArrayOutputWithContext(context.Context) RestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindArrayOutput }
RestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindArrayInput is an input type that accepts RestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindArray and RestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindArrayOutput values. You can construct a concrete instance of `RestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindArrayInput` via:
RestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindArray{ RestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindArgs{...} }
type RestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindArrayOutput ¶
type RestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindArrayOutput struct{ *pulumi.OutputState }
func (RestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindArrayOutput) ElementType ¶
func (RestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindArrayOutput) ElementType() reflect.Type
func (RestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindArrayOutput) ToRestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindArrayOutput ¶
func (o RestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindArrayOutput) ToRestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindArrayOutput() RestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindArrayOutput
func (RestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindArrayOutput) ToRestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindArrayOutputWithContext ¶
func (o RestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindArrayOutput) ToRestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindArrayOutputWithContext(ctx context.Context) RestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindArrayOutput
type RestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindInput ¶
type RestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindInput interface { pulumi.Input ToRestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindOutput() RestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindOutput ToRestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindOutputWithContext(context.Context) RestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindOutput }
RestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindInput is an input type that accepts RestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindArgs and RestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindOutput values. You can construct a concrete instance of `RestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindInput` via:
RestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindArgs{...}
type RestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindOutput ¶
type RestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindOutput struct{ *pulumi.OutputState }
func (RestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindOutput) ElementType ¶
func (RestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindOutput) ElementType() reflect.Type
func (RestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindOutput) ResourceGroup ¶
func (o RestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindOutput) ResourceGroup() pulumi.StringPtrOutput
API Group string of a Kubernetes resource, e.g. "apiextensions.k8s.io", "storage.k8s.io", etc. Use empty string for core group.
func (RestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindOutput) ResourceKind ¶
func (o RestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindOutput) ResourceKind() pulumi.StringPtrOutput
Kind of a Kubernetes resource, e.g. "CustomResourceDefinition", "StorageClass", etc.
func (RestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindOutput) ToRestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindOutput ¶
func (o RestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindOutput) ToRestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindOutput() RestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindOutput
func (RestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindOutput) ToRestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindOutputWithContext ¶
func (o RestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindOutput) ToRestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindOutputWithContext(ctx context.Context) RestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindOutput
type RestorePlanRestoreConfigTransformationRuleResourceFilterInput ¶
type RestorePlanRestoreConfigTransformationRuleResourceFilterInput interface { pulumi.Input ToRestorePlanRestoreConfigTransformationRuleResourceFilterOutput() RestorePlanRestoreConfigTransformationRuleResourceFilterOutput ToRestorePlanRestoreConfigTransformationRuleResourceFilterOutputWithContext(context.Context) RestorePlanRestoreConfigTransformationRuleResourceFilterOutput }
RestorePlanRestoreConfigTransformationRuleResourceFilterInput is an input type that accepts RestorePlanRestoreConfigTransformationRuleResourceFilterArgs and RestorePlanRestoreConfigTransformationRuleResourceFilterOutput values. You can construct a concrete instance of `RestorePlanRestoreConfigTransformationRuleResourceFilterInput` via:
RestorePlanRestoreConfigTransformationRuleResourceFilterArgs{...}
type RestorePlanRestoreConfigTransformationRuleResourceFilterOutput ¶
type RestorePlanRestoreConfigTransformationRuleResourceFilterOutput struct{ *pulumi.OutputState }
func (RestorePlanRestoreConfigTransformationRuleResourceFilterOutput) ElementType ¶
func (RestorePlanRestoreConfigTransformationRuleResourceFilterOutput) ElementType() reflect.Type
func (RestorePlanRestoreConfigTransformationRuleResourceFilterOutput) GroupKinds ¶
func (o RestorePlanRestoreConfigTransformationRuleResourceFilterOutput) GroupKinds() RestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindArrayOutput
(Filtering parameter) Any resource subject to transformation must belong to one of the listed "types". If this field is not provided, no type filtering will be performed (all resources of all types matching previous filtering parameters will be candidates for transformation). Structure is documented below.
func (RestorePlanRestoreConfigTransformationRuleResourceFilterOutput) JsonPath ¶
func (o RestorePlanRestoreConfigTransformationRuleResourceFilterOutput) JsonPath() pulumi.StringPtrOutput
This is a JSONPath expression that matches specific fields of candidate resources and it operates as a filtering parameter (resources that are not matched with this expression will not be candidates for transformation).
func (RestorePlanRestoreConfigTransformationRuleResourceFilterOutput) Namespaces ¶
func (o RestorePlanRestoreConfigTransformationRuleResourceFilterOutput) Namespaces() pulumi.StringArrayOutput
(Filtering parameter) Any resource subject to transformation must be contained within one of the listed Kubernetes Namespace in the Backup. If this field is not provided, no namespace filtering will be performed (all resources in all Namespaces, including all cluster-scoped resources, will be candidates for transformation). To mix cluster-scoped and namespaced resources in the same rule, use an empty string ("") as one of the target namespaces.
func (RestorePlanRestoreConfigTransformationRuleResourceFilterOutput) ToRestorePlanRestoreConfigTransformationRuleResourceFilterOutput ¶
func (o RestorePlanRestoreConfigTransformationRuleResourceFilterOutput) ToRestorePlanRestoreConfigTransformationRuleResourceFilterOutput() RestorePlanRestoreConfigTransformationRuleResourceFilterOutput
func (RestorePlanRestoreConfigTransformationRuleResourceFilterOutput) ToRestorePlanRestoreConfigTransformationRuleResourceFilterOutputWithContext ¶
func (o RestorePlanRestoreConfigTransformationRuleResourceFilterOutput) ToRestorePlanRestoreConfigTransformationRuleResourceFilterOutputWithContext(ctx context.Context) RestorePlanRestoreConfigTransformationRuleResourceFilterOutput
func (RestorePlanRestoreConfigTransformationRuleResourceFilterOutput) ToRestorePlanRestoreConfigTransformationRuleResourceFilterPtrOutput ¶
func (o RestorePlanRestoreConfigTransformationRuleResourceFilterOutput) ToRestorePlanRestoreConfigTransformationRuleResourceFilterPtrOutput() RestorePlanRestoreConfigTransformationRuleResourceFilterPtrOutput
func (RestorePlanRestoreConfigTransformationRuleResourceFilterOutput) ToRestorePlanRestoreConfigTransformationRuleResourceFilterPtrOutputWithContext ¶
func (o RestorePlanRestoreConfigTransformationRuleResourceFilterOutput) ToRestorePlanRestoreConfigTransformationRuleResourceFilterPtrOutputWithContext(ctx context.Context) RestorePlanRestoreConfigTransformationRuleResourceFilterPtrOutput
type RestorePlanRestoreConfigTransformationRuleResourceFilterPtrInput ¶
type RestorePlanRestoreConfigTransformationRuleResourceFilterPtrInput interface { pulumi.Input ToRestorePlanRestoreConfigTransformationRuleResourceFilterPtrOutput() RestorePlanRestoreConfigTransformationRuleResourceFilterPtrOutput ToRestorePlanRestoreConfigTransformationRuleResourceFilterPtrOutputWithContext(context.Context) RestorePlanRestoreConfigTransformationRuleResourceFilterPtrOutput }
RestorePlanRestoreConfigTransformationRuleResourceFilterPtrInput is an input type that accepts RestorePlanRestoreConfigTransformationRuleResourceFilterArgs, RestorePlanRestoreConfigTransformationRuleResourceFilterPtr and RestorePlanRestoreConfigTransformationRuleResourceFilterPtrOutput values. You can construct a concrete instance of `RestorePlanRestoreConfigTransformationRuleResourceFilterPtrInput` via:
RestorePlanRestoreConfigTransformationRuleResourceFilterArgs{...} or: nil
func RestorePlanRestoreConfigTransformationRuleResourceFilterPtr ¶
func RestorePlanRestoreConfigTransformationRuleResourceFilterPtr(v *RestorePlanRestoreConfigTransformationRuleResourceFilterArgs) RestorePlanRestoreConfigTransformationRuleResourceFilterPtrInput
type RestorePlanRestoreConfigTransformationRuleResourceFilterPtrOutput ¶
type RestorePlanRestoreConfigTransformationRuleResourceFilterPtrOutput struct{ *pulumi.OutputState }
func (RestorePlanRestoreConfigTransformationRuleResourceFilterPtrOutput) ElementType ¶
func (RestorePlanRestoreConfigTransformationRuleResourceFilterPtrOutput) ElementType() reflect.Type
func (RestorePlanRestoreConfigTransformationRuleResourceFilterPtrOutput) GroupKinds ¶
func (o RestorePlanRestoreConfigTransformationRuleResourceFilterPtrOutput) GroupKinds() RestorePlanRestoreConfigTransformationRuleResourceFilterGroupKindArrayOutput
(Filtering parameter) Any resource subject to transformation must belong to one of the listed "types". If this field is not provided, no type filtering will be performed (all resources of all types matching previous filtering parameters will be candidates for transformation). Structure is documented below.
func (RestorePlanRestoreConfigTransformationRuleResourceFilterPtrOutput) JsonPath ¶
func (o RestorePlanRestoreConfigTransformationRuleResourceFilterPtrOutput) JsonPath() pulumi.StringPtrOutput
This is a JSONPath expression that matches specific fields of candidate resources and it operates as a filtering parameter (resources that are not matched with this expression will not be candidates for transformation).
func (RestorePlanRestoreConfigTransformationRuleResourceFilterPtrOutput) Namespaces ¶
func (o RestorePlanRestoreConfigTransformationRuleResourceFilterPtrOutput) Namespaces() pulumi.StringArrayOutput
(Filtering parameter) Any resource subject to transformation must be contained within one of the listed Kubernetes Namespace in the Backup. If this field is not provided, no namespace filtering will be performed (all resources in all Namespaces, including all cluster-scoped resources, will be candidates for transformation). To mix cluster-scoped and namespaced resources in the same rule, use an empty string ("") as one of the target namespaces.
func (RestorePlanRestoreConfigTransformationRuleResourceFilterPtrOutput) ToRestorePlanRestoreConfigTransformationRuleResourceFilterPtrOutput ¶
func (o RestorePlanRestoreConfigTransformationRuleResourceFilterPtrOutput) ToRestorePlanRestoreConfigTransformationRuleResourceFilterPtrOutput() RestorePlanRestoreConfigTransformationRuleResourceFilterPtrOutput
func (RestorePlanRestoreConfigTransformationRuleResourceFilterPtrOutput) ToRestorePlanRestoreConfigTransformationRuleResourceFilterPtrOutputWithContext ¶
func (o RestorePlanRestoreConfigTransformationRuleResourceFilterPtrOutput) ToRestorePlanRestoreConfigTransformationRuleResourceFilterPtrOutputWithContext(ctx context.Context) RestorePlanRestoreConfigTransformationRuleResourceFilterPtrOutput
type RestorePlanState ¶
type RestorePlanState struct { // A reference to the BackupPlan from which Backups may be used // as the source for Restores created via this RestorePlan. BackupPlan pulumi.StringPtrInput // The source cluster from which Restores will be created via this RestorePlan. Cluster pulumi.StringPtrInput // User specified descriptive string for this RestorePlan. Description pulumi.StringPtrInput // All of labels (key/value pairs) present on the resource in GCP, including the labels configured through Terraform, other // clients and services. EffectiveLabels pulumi.StringMapInput // Description: A set of custom labels supplied by the user. // A list of key->value pairs. // Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }. // // **Note**: This field is non-authoritative, and will only manage the labels present in your configuration. // Please refer to the field `effectiveLabels` for all of the labels present on the resource. Labels pulumi.StringMapInput // The region of the Restore Plan. Location pulumi.StringPtrInput // The full name of the BackupPlan Resource. Name pulumi.StringPtrInput // The ID of the project in which the resource belongs. // If it is not provided, the provider project is used. Project pulumi.StringPtrInput // Defines the configuration of Restores created via this RestorePlan. // Structure is documented below. RestoreConfig RestorePlanRestoreConfigPtrInput // The State of the RestorePlan. State pulumi.StringPtrInput // Detailed description of why RestorePlan is in its current state. StateReason pulumi.StringPtrInput // The combination of labels configured directly on the resource // and default labels configured on the provider. TerraformLabels pulumi.StringMapInput // Server generated, unique identifier of UUID format. Uid pulumi.StringPtrInput }
func (RestorePlanState) ElementType ¶
func (RestorePlanState) ElementType() reflect.Type