Documentation
¶
Index ¶
- func PkgVersion() (semver.Version, error)
- type EcsBackupClient
- type EcsBackupClientArgs
- type EcsBackupClientArray
- type EcsBackupClientArrayInput
- type EcsBackupClientArrayOutput
- func (EcsBackupClientArrayOutput) ElementType() reflect.Type
- func (o EcsBackupClientArrayOutput) Index(i pulumi.IntInput) EcsBackupClientOutput
- func (o EcsBackupClientArrayOutput) ToEcsBackupClientArrayOutput() EcsBackupClientArrayOutput
- func (o EcsBackupClientArrayOutput) ToEcsBackupClientArrayOutputWithContext(ctx context.Context) EcsBackupClientArrayOutput
- type EcsBackupClientInput
- type EcsBackupClientMap
- type EcsBackupClientMapInput
- type EcsBackupClientMapOutput
- func (EcsBackupClientMapOutput) ElementType() reflect.Type
- func (o EcsBackupClientMapOutput) MapIndex(k pulumi.StringInput) EcsBackupClientOutput
- func (o EcsBackupClientMapOutput) ToEcsBackupClientMapOutput() EcsBackupClientMapOutput
- func (o EcsBackupClientMapOutput) ToEcsBackupClientMapOutputWithContext(ctx context.Context) EcsBackupClientMapOutput
- type EcsBackupClientOutput
- func (o EcsBackupClientOutput) DataNetworkType() pulumi.StringOutput
- func (o EcsBackupClientOutput) DataProxySetting() pulumi.StringOutput
- func (EcsBackupClientOutput) ElementType() reflect.Type
- func (o EcsBackupClientOutput) InstanceId() pulumi.StringOutput
- func (o EcsBackupClientOutput) MaxCpuCore() pulumi.StringOutput
- func (o EcsBackupClientOutput) MaxWorker() pulumi.StringOutput
- func (o EcsBackupClientOutput) ProxyHost() pulumi.StringOutput
- func (o EcsBackupClientOutput) ProxyPassword() pulumi.StringOutput
- func (o EcsBackupClientOutput) ProxyPort() pulumi.StringOutput
- func (o EcsBackupClientOutput) ProxyUser() pulumi.StringOutput
- func (o EcsBackupClientOutput) Status() pulumi.StringOutput
- func (o EcsBackupClientOutput) ToEcsBackupClientOutput() EcsBackupClientOutput
- func (o EcsBackupClientOutput) ToEcsBackupClientOutputWithContext(ctx context.Context) EcsBackupClientOutput
- func (o EcsBackupClientOutput) UseHttps() pulumi.BoolOutput
- type EcsBackupClientState
- type EcsBackupPlan
- type EcsBackupPlanArgs
- type EcsBackupPlanArray
- type EcsBackupPlanArrayInput
- type EcsBackupPlanArrayOutput
- func (EcsBackupPlanArrayOutput) ElementType() reflect.Type
- func (o EcsBackupPlanArrayOutput) Index(i pulumi.IntInput) EcsBackupPlanOutput
- func (o EcsBackupPlanArrayOutput) ToEcsBackupPlanArrayOutput() EcsBackupPlanArrayOutput
- func (o EcsBackupPlanArrayOutput) ToEcsBackupPlanArrayOutputWithContext(ctx context.Context) EcsBackupPlanArrayOutput
- type EcsBackupPlanInput
- type EcsBackupPlanMap
- type EcsBackupPlanMapInput
- type EcsBackupPlanMapOutput
- func (EcsBackupPlanMapOutput) ElementType() reflect.Type
- func (o EcsBackupPlanMapOutput) MapIndex(k pulumi.StringInput) EcsBackupPlanOutput
- func (o EcsBackupPlanMapOutput) ToEcsBackupPlanMapOutput() EcsBackupPlanMapOutput
- func (o EcsBackupPlanMapOutput) ToEcsBackupPlanMapOutputWithContext(ctx context.Context) EcsBackupPlanMapOutput
- type EcsBackupPlanOutput
- func (o EcsBackupPlanOutput) BackupType() pulumi.StringOutput
- func (o EcsBackupPlanOutput) CrossAccountRoleName() pulumi.StringPtrOutput
- func (o EcsBackupPlanOutput) CrossAccountType() pulumi.StringOutput
- func (o EcsBackupPlanOutput) CrossAccountUserId() pulumi.IntPtrOutput
- func (o EcsBackupPlanOutput) Detail() pulumi.StringPtrOutput
- func (o EcsBackupPlanOutput) Disabled() pulumi.BoolOutput
- func (o EcsBackupPlanOutput) EcsBackupPlanName() pulumi.StringOutput
- func (EcsBackupPlanOutput) ElementType() reflect.Type
- func (o EcsBackupPlanOutput) Exclude() pulumi.StringPtrOutput
- func (o EcsBackupPlanOutput) Include() pulumi.StringPtrOutput
- func (o EcsBackupPlanOutput) InstanceId() pulumi.StringOutput
- func (o EcsBackupPlanOutput) Options() pulumi.StringPtrOutput
- func (o EcsBackupPlanOutput) Paths() pulumi.StringArrayOutput
- func (o EcsBackupPlanOutput) Retention() pulumi.StringOutput
- func (o EcsBackupPlanOutput) Schedule() pulumi.StringOutput
- func (o EcsBackupPlanOutput) SpeedLimit() pulumi.StringPtrOutput
- func (o EcsBackupPlanOutput) ToEcsBackupPlanOutput() EcsBackupPlanOutput
- func (o EcsBackupPlanOutput) ToEcsBackupPlanOutputWithContext(ctx context.Context) EcsBackupPlanOutput
- func (o EcsBackupPlanOutput) UpdatePaths() pulumi.BoolPtrOutputdeprecated
- func (o EcsBackupPlanOutput) VaultId() pulumi.StringOutput
- type EcsBackupPlanState
- type GetBackupJobsArgs
- type GetBackupJobsFilter
- type GetBackupJobsFilterArgs
- type GetBackupJobsFilterArray
- type GetBackupJobsFilterArrayInput
- type GetBackupJobsFilterArrayOutput
- func (GetBackupJobsFilterArrayOutput) ElementType() reflect.Type
- func (o GetBackupJobsFilterArrayOutput) Index(i pulumi.IntInput) GetBackupJobsFilterOutput
- func (o GetBackupJobsFilterArrayOutput) ToGetBackupJobsFilterArrayOutput() GetBackupJobsFilterArrayOutput
- func (o GetBackupJobsFilterArrayOutput) ToGetBackupJobsFilterArrayOutputWithContext(ctx context.Context) GetBackupJobsFilterArrayOutput
- type GetBackupJobsFilterInput
- type GetBackupJobsFilterOutput
- func (GetBackupJobsFilterOutput) ElementType() reflect.Type
- func (o GetBackupJobsFilterOutput) Key() pulumi.StringPtrOutput
- func (o GetBackupJobsFilterOutput) Operator() pulumi.StringPtrOutput
- func (o GetBackupJobsFilterOutput) ToGetBackupJobsFilterOutput() GetBackupJobsFilterOutput
- func (o GetBackupJobsFilterOutput) ToGetBackupJobsFilterOutputWithContext(ctx context.Context) GetBackupJobsFilterOutput
- func (o GetBackupJobsFilterOutput) Values() pulumi.StringArrayOutput
- type GetBackupJobsJob
- type GetBackupJobsJobArgs
- type GetBackupJobsJobArray
- type GetBackupJobsJobArrayInput
- type GetBackupJobsJobArrayOutput
- func (GetBackupJobsJobArrayOutput) ElementType() reflect.Type
- func (o GetBackupJobsJobArrayOutput) Index(i pulumi.IntInput) GetBackupJobsJobOutput
- func (o GetBackupJobsJobArrayOutput) ToGetBackupJobsJobArrayOutput() GetBackupJobsJobArrayOutput
- func (o GetBackupJobsJobArrayOutput) ToGetBackupJobsJobArrayOutputWithContext(ctx context.Context) GetBackupJobsJobArrayOutput
- type GetBackupJobsJobInput
- type GetBackupJobsJobOtsDetail
- type GetBackupJobsJobOtsDetailArgs
- func (GetBackupJobsJobOtsDetailArgs) ElementType() reflect.Type
- func (i GetBackupJobsJobOtsDetailArgs) ToGetBackupJobsJobOtsDetailOutput() GetBackupJobsJobOtsDetailOutput
- func (i GetBackupJobsJobOtsDetailArgs) ToGetBackupJobsJobOtsDetailOutputWithContext(ctx context.Context) GetBackupJobsJobOtsDetailOutput
- type GetBackupJobsJobOtsDetailArray
- func (GetBackupJobsJobOtsDetailArray) ElementType() reflect.Type
- func (i GetBackupJobsJobOtsDetailArray) ToGetBackupJobsJobOtsDetailArrayOutput() GetBackupJobsJobOtsDetailArrayOutput
- func (i GetBackupJobsJobOtsDetailArray) ToGetBackupJobsJobOtsDetailArrayOutputWithContext(ctx context.Context) GetBackupJobsJobOtsDetailArrayOutput
- type GetBackupJobsJobOtsDetailArrayInput
- type GetBackupJobsJobOtsDetailArrayOutput
- func (GetBackupJobsJobOtsDetailArrayOutput) ElementType() reflect.Type
- func (o GetBackupJobsJobOtsDetailArrayOutput) Index(i pulumi.IntInput) GetBackupJobsJobOtsDetailOutput
- func (o GetBackupJobsJobOtsDetailArrayOutput) ToGetBackupJobsJobOtsDetailArrayOutput() GetBackupJobsJobOtsDetailArrayOutput
- func (o GetBackupJobsJobOtsDetailArrayOutput) ToGetBackupJobsJobOtsDetailArrayOutputWithContext(ctx context.Context) GetBackupJobsJobOtsDetailArrayOutput
- type GetBackupJobsJobOtsDetailInput
- type GetBackupJobsJobOtsDetailOutput
- func (GetBackupJobsJobOtsDetailOutput) ElementType() reflect.Type
- func (o GetBackupJobsJobOtsDetailOutput) TableNames() pulumi.StringArrayOutput
- func (o GetBackupJobsJobOtsDetailOutput) ToGetBackupJobsJobOtsDetailOutput() GetBackupJobsJobOtsDetailOutput
- func (o GetBackupJobsJobOtsDetailOutput) ToGetBackupJobsJobOtsDetailOutputWithContext(ctx context.Context) GetBackupJobsJobOtsDetailOutput
- type GetBackupJobsJobOutput
- func (o GetBackupJobsJobOutput) ActualBytes() pulumi.StringOutput
- func (o GetBackupJobsJobOutput) ActualItems() pulumi.StringOutput
- func (o GetBackupJobsJobOutput) BackJobName() pulumi.StringOutput
- func (o GetBackupJobsJobOutput) BackupJobId() pulumi.StringOutput
- func (o GetBackupJobsJobOutput) BackupType() pulumi.StringOutput
- func (o GetBackupJobsJobOutput) Bucket() pulumi.StringOutput
- func (o GetBackupJobsJobOutput) BytesDone() pulumi.StringOutput
- func (o GetBackupJobsJobOutput) BytesTotal() pulumi.StringOutput
- func (o GetBackupJobsJobOutput) CompleteTime() pulumi.StringOutput
- func (o GetBackupJobsJobOutput) CreateTime() pulumi.StringOutput
- func (o GetBackupJobsJobOutput) CrossAccountRoleName() pulumi.StringOutput
- func (o GetBackupJobsJobOutput) CrossAccountType() pulumi.StringOutput
- func (o GetBackupJobsJobOutput) CrossAccountUserId() pulumi.IntOutput
- func (GetBackupJobsJobOutput) ElementType() reflect.Type
- func (o GetBackupJobsJobOutput) ErrorMessage() pulumi.StringOutput
- func (o GetBackupJobsJobOutput) Exclude() pulumi.StringOutput
- func (o GetBackupJobsJobOutput) FileSystemId() pulumi.StringOutput
- func (o GetBackupJobsJobOutput) Id() pulumi.StringOutput
- func (o GetBackupJobsJobOutput) Include() pulumi.StringOutput
- func (o GetBackupJobsJobOutput) InstanceId() pulumi.StringOutput
- func (o GetBackupJobsJobOutput) ItemsDone() pulumi.StringOutput
- func (o GetBackupJobsJobOutput) ItemsTotal() pulumi.StringOutput
- func (o GetBackupJobsJobOutput) NasCreateTime() pulumi.StringOutput
- func (o GetBackupJobsJobOutput) OtsDetails() GetBackupJobsJobOtsDetailArrayOutput
- func (o GetBackupJobsJobOutput) Paths() pulumi.StringArrayOutput
- func (o GetBackupJobsJobOutput) PlanId() pulumi.StringOutput
- func (o GetBackupJobsJobOutput) Prefix() pulumi.StringOutput
- func (o GetBackupJobsJobOutput) Progress() pulumi.StringOutput
- func (o GetBackupJobsJobOutput) SourceType() pulumi.StringOutput
- func (o GetBackupJobsJobOutput) StartTime() pulumi.StringOutput
- func (o GetBackupJobsJobOutput) Status() pulumi.StringOutput
- func (o GetBackupJobsJobOutput) ToGetBackupJobsJobOutput() GetBackupJobsJobOutput
- func (o GetBackupJobsJobOutput) ToGetBackupJobsJobOutputWithContext(ctx context.Context) GetBackupJobsJobOutput
- func (o GetBackupJobsJobOutput) UpdatedTime() pulumi.StringOutput
- func (o GetBackupJobsJobOutput) VaultId() pulumi.StringOutput
- type GetBackupJobsOutputArgs
- type GetBackupJobsResult
- type GetBackupJobsResultOutput
- func (GetBackupJobsResultOutput) ElementType() reflect.Type
- func (o GetBackupJobsResultOutput) Filters() GetBackupJobsFilterArrayOutput
- func (o GetBackupJobsResultOutput) Id() pulumi.StringOutput
- func (o GetBackupJobsResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetBackupJobsResultOutput) Jobs() GetBackupJobsJobArrayOutput
- func (o GetBackupJobsResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetBackupJobsResultOutput) SortDirection() pulumi.StringPtrOutput
- func (o GetBackupJobsResultOutput) SourceType() pulumi.StringOutput
- func (o GetBackupJobsResultOutput) Status() pulumi.StringPtrOutput
- func (o GetBackupJobsResultOutput) ToGetBackupJobsResultOutput() GetBackupJobsResultOutput
- func (o GetBackupJobsResultOutput) ToGetBackupJobsResultOutputWithContext(ctx context.Context) GetBackupJobsResultOutput
- type GetEcsBackupClientsArgs
- type GetEcsBackupClientsClient
- type GetEcsBackupClientsClientArgs
- func (GetEcsBackupClientsClientArgs) ElementType() reflect.Type
- func (i GetEcsBackupClientsClientArgs) ToGetEcsBackupClientsClientOutput() GetEcsBackupClientsClientOutput
- func (i GetEcsBackupClientsClientArgs) ToGetEcsBackupClientsClientOutputWithContext(ctx context.Context) GetEcsBackupClientsClientOutput
- type GetEcsBackupClientsClientArray
- func (GetEcsBackupClientsClientArray) ElementType() reflect.Type
- func (i GetEcsBackupClientsClientArray) ToGetEcsBackupClientsClientArrayOutput() GetEcsBackupClientsClientArrayOutput
- func (i GetEcsBackupClientsClientArray) ToGetEcsBackupClientsClientArrayOutputWithContext(ctx context.Context) GetEcsBackupClientsClientArrayOutput
- type GetEcsBackupClientsClientArrayInput
- type GetEcsBackupClientsClientArrayOutput
- func (GetEcsBackupClientsClientArrayOutput) ElementType() reflect.Type
- func (o GetEcsBackupClientsClientArrayOutput) Index(i pulumi.IntInput) GetEcsBackupClientsClientOutput
- func (o GetEcsBackupClientsClientArrayOutput) ToGetEcsBackupClientsClientArrayOutput() GetEcsBackupClientsClientArrayOutput
- func (o GetEcsBackupClientsClientArrayOutput) ToGetEcsBackupClientsClientArrayOutputWithContext(ctx context.Context) GetEcsBackupClientsClientArrayOutput
- type GetEcsBackupClientsClientInput
- type GetEcsBackupClientsClientOutput
- func (o GetEcsBackupClientsClientOutput) ArchType() pulumi.StringOutput
- func (o GetEcsBackupClientsClientOutput) BackupStatus() pulumi.StringOutput
- func (o GetEcsBackupClientsClientOutput) ClientType() pulumi.StringOutput
- func (o GetEcsBackupClientsClientOutput) ClientVersion() pulumi.StringOutput
- func (o GetEcsBackupClientsClientOutput) CreateTime() pulumi.StringOutput
- func (o GetEcsBackupClientsClientOutput) DataNetworkType() pulumi.StringOutput
- func (o GetEcsBackupClientsClientOutput) DataProxySetting() pulumi.StringOutput
- func (o GetEcsBackupClientsClientOutput) EcsBackupClientId() pulumi.StringOutput
- func (GetEcsBackupClientsClientOutput) ElementType() reflect.Type
- func (o GetEcsBackupClientsClientOutput) Hostname() pulumi.StringOutput
- func (o GetEcsBackupClientsClientOutput) Id() pulumi.StringOutput
- func (o GetEcsBackupClientsClientOutput) InstanceId() pulumi.StringOutput
- func (o GetEcsBackupClientsClientOutput) InstanceName() pulumi.StringOutput
- func (o GetEcsBackupClientsClientOutput) LastHeartBeatTime() pulumi.StringOutput
- func (o GetEcsBackupClientsClientOutput) MaxClientVersion() pulumi.StringOutput
- func (o GetEcsBackupClientsClientOutput) MaxCpuCore() pulumi.StringOutput
- func (o GetEcsBackupClientsClientOutput) MaxWorker() pulumi.StringOutput
- func (o GetEcsBackupClientsClientOutput) OsType() pulumi.StringOutput
- func (o GetEcsBackupClientsClientOutput) PrivateIpv4() pulumi.StringOutput
- func (o GetEcsBackupClientsClientOutput) ProxyHost() pulumi.StringOutput
- func (o GetEcsBackupClientsClientOutput) ProxyPassword() pulumi.StringOutput
- func (o GetEcsBackupClientsClientOutput) ProxyPort() pulumi.StringOutput
- func (o GetEcsBackupClientsClientOutput) ProxyUser() pulumi.StringOutput
- func (o GetEcsBackupClientsClientOutput) Status() pulumi.StringOutput
- func (o GetEcsBackupClientsClientOutput) ToGetEcsBackupClientsClientOutput() GetEcsBackupClientsClientOutput
- func (o GetEcsBackupClientsClientOutput) ToGetEcsBackupClientsClientOutputWithContext(ctx context.Context) GetEcsBackupClientsClientOutput
- func (o GetEcsBackupClientsClientOutput) UpdatedTime() pulumi.StringOutput
- func (o GetEcsBackupClientsClientOutput) UseHttps() pulumi.BoolOutput
- func (o GetEcsBackupClientsClientOutput) ZoneId() pulumi.StringOutput
- type GetEcsBackupClientsOutputArgs
- type GetEcsBackupClientsResult
- type GetEcsBackupClientsResultOutput
- func (o GetEcsBackupClientsResultOutput) Clients() GetEcsBackupClientsClientArrayOutput
- func (GetEcsBackupClientsResultOutput) ElementType() reflect.Type
- func (o GetEcsBackupClientsResultOutput) Id() pulumi.StringOutput
- func (o GetEcsBackupClientsResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetEcsBackupClientsResultOutput) InstanceIds() pulumi.StringArrayOutput
- func (o GetEcsBackupClientsResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetEcsBackupClientsResultOutput) Status() pulumi.StringPtrOutput
- func (o GetEcsBackupClientsResultOutput) ToGetEcsBackupClientsResultOutput() GetEcsBackupClientsResultOutput
- func (o GetEcsBackupClientsResultOutput) ToGetEcsBackupClientsResultOutputWithContext(ctx context.Context) GetEcsBackupClientsResultOutput
- type GetEcsBackupPlansArgs
- type GetEcsBackupPlansOutputArgs
- type GetEcsBackupPlansPlan
- type GetEcsBackupPlansPlanArgs
- type GetEcsBackupPlansPlanArray
- func (GetEcsBackupPlansPlanArray) ElementType() reflect.Type
- func (i GetEcsBackupPlansPlanArray) ToGetEcsBackupPlansPlanArrayOutput() GetEcsBackupPlansPlanArrayOutput
- func (i GetEcsBackupPlansPlanArray) ToGetEcsBackupPlansPlanArrayOutputWithContext(ctx context.Context) GetEcsBackupPlansPlanArrayOutput
- type GetEcsBackupPlansPlanArrayInput
- type GetEcsBackupPlansPlanArrayOutput
- func (GetEcsBackupPlansPlanArrayOutput) ElementType() reflect.Type
- func (o GetEcsBackupPlansPlanArrayOutput) Index(i pulumi.IntInput) GetEcsBackupPlansPlanOutput
- func (o GetEcsBackupPlansPlanArrayOutput) ToGetEcsBackupPlansPlanArrayOutput() GetEcsBackupPlansPlanArrayOutput
- func (o GetEcsBackupPlansPlanArrayOutput) ToGetEcsBackupPlansPlanArrayOutputWithContext(ctx context.Context) GetEcsBackupPlansPlanArrayOutput
- type GetEcsBackupPlansPlanInput
- type GetEcsBackupPlansPlanOutput
- func (o GetEcsBackupPlansPlanOutput) BackupType() pulumi.StringOutput
- func (o GetEcsBackupPlansPlanOutput) CreateTime() pulumi.StringOutput
- func (o GetEcsBackupPlansPlanOutput) CreatedTime() pulumi.StringOutput
- func (o GetEcsBackupPlansPlanOutput) Detail() pulumi.StringOutput
- func (o GetEcsBackupPlansPlanOutput) Disabled() pulumi.BoolOutput
- func (o GetEcsBackupPlansPlanOutput) EcsBackupPlanId() pulumi.StringOutput
- func (o GetEcsBackupPlansPlanOutput) EcsBackupPlanName() pulumi.StringOutput
- func (GetEcsBackupPlansPlanOutput) ElementType() reflect.Type
- func (o GetEcsBackupPlansPlanOutput) Exclude() pulumi.StringOutput
- func (o GetEcsBackupPlansPlanOutput) Id() pulumi.StringOutput
- func (o GetEcsBackupPlansPlanOutput) Include() pulumi.StringOutput
- func (o GetEcsBackupPlansPlanOutput) InstanceId() pulumi.StringOutput
- func (o GetEcsBackupPlansPlanOutput) Options() pulumi.StringOutput
- func (o GetEcsBackupPlansPlanOutput) Paths() pulumi.StringArrayOutput
- func (o GetEcsBackupPlansPlanOutput) Retention() pulumi.StringOutput
- func (o GetEcsBackupPlansPlanOutput) Schedule() pulumi.StringOutput
- func (o GetEcsBackupPlansPlanOutput) SourceType() pulumi.StringOutput
- func (o GetEcsBackupPlansPlanOutput) SpeedLimit() pulumi.StringOutput
- func (o GetEcsBackupPlansPlanOutput) ToGetEcsBackupPlansPlanOutput() GetEcsBackupPlansPlanOutput
- func (o GetEcsBackupPlansPlanOutput) ToGetEcsBackupPlansPlanOutputWithContext(ctx context.Context) GetEcsBackupPlansPlanOutput
- func (o GetEcsBackupPlansPlanOutput) UpdatedTime() pulumi.StringOutput
- func (o GetEcsBackupPlansPlanOutput) VaultId() pulumi.StringOutput
- type GetEcsBackupPlansResult
- type GetEcsBackupPlansResultOutput
- func (GetEcsBackupPlansResultOutput) ElementType() reflect.Type
- func (o GetEcsBackupPlansResultOutput) Id() pulumi.StringOutput
- func (o GetEcsBackupPlansResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetEcsBackupPlansResultOutput) InstanceId() pulumi.StringPtrOutput
- func (o GetEcsBackupPlansResultOutput) NameRegex() pulumi.StringPtrOutput
- func (o GetEcsBackupPlansResultOutput) Names() pulumi.StringArrayOutput
- func (o GetEcsBackupPlansResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetEcsBackupPlansResultOutput) Plans() GetEcsBackupPlansPlanArrayOutput
- func (o GetEcsBackupPlansResultOutput) ToGetEcsBackupPlansResultOutput() GetEcsBackupPlansResultOutput
- func (o GetEcsBackupPlansResultOutput) ToGetEcsBackupPlansResultOutputWithContext(ctx context.Context) GetEcsBackupPlansResultOutput
- func (o GetEcsBackupPlansResultOutput) VaultId() pulumi.StringPtrOutput
- type GetHanaBackupPlansArgs
- type GetHanaBackupPlansOutputArgs
- type GetHanaBackupPlansPlan
- type GetHanaBackupPlansPlanArgs
- type GetHanaBackupPlansPlanArray
- func (GetHanaBackupPlansPlanArray) ElementType() reflect.Type
- func (i GetHanaBackupPlansPlanArray) ToGetHanaBackupPlansPlanArrayOutput() GetHanaBackupPlansPlanArrayOutput
- func (i GetHanaBackupPlansPlanArray) ToGetHanaBackupPlansPlanArrayOutputWithContext(ctx context.Context) GetHanaBackupPlansPlanArrayOutput
- type GetHanaBackupPlansPlanArrayInput
- type GetHanaBackupPlansPlanArrayOutput
- func (GetHanaBackupPlansPlanArrayOutput) ElementType() reflect.Type
- func (o GetHanaBackupPlansPlanArrayOutput) Index(i pulumi.IntInput) GetHanaBackupPlansPlanOutput
- func (o GetHanaBackupPlansPlanArrayOutput) ToGetHanaBackupPlansPlanArrayOutput() GetHanaBackupPlansPlanArrayOutput
- func (o GetHanaBackupPlansPlanArrayOutput) ToGetHanaBackupPlansPlanArrayOutputWithContext(ctx context.Context) GetHanaBackupPlansPlanArrayOutput
- type GetHanaBackupPlansPlanInput
- type GetHanaBackupPlansPlanOutput
- func (o GetHanaBackupPlansPlanOutput) BackupPrefix() pulumi.StringOutput
- func (o GetHanaBackupPlansPlanOutput) BackupType() pulumi.StringOutput
- func (o GetHanaBackupPlansPlanOutput) ClusterId() pulumi.StringOutput
- func (o GetHanaBackupPlansPlanOutput) DatabaseName() pulumi.StringOutput
- func (GetHanaBackupPlansPlanOutput) ElementType() reflect.Type
- func (o GetHanaBackupPlansPlanOutput) Id() pulumi.StringOutput
- func (o GetHanaBackupPlansPlanOutput) PageTotal() pulumi.StringOutput
- func (o GetHanaBackupPlansPlanOutput) PlanId() pulumi.StringOutput
- func (o GetHanaBackupPlansPlanOutput) PlanName() pulumi.StringOutput
- func (o GetHanaBackupPlansPlanOutput) Schedule() pulumi.StringOutput
- func (o GetHanaBackupPlansPlanOutput) Status() pulumi.StringOutput
- func (o GetHanaBackupPlansPlanOutput) ToGetHanaBackupPlansPlanOutput() GetHanaBackupPlansPlanOutput
- func (o GetHanaBackupPlansPlanOutput) ToGetHanaBackupPlansPlanOutputWithContext(ctx context.Context) GetHanaBackupPlansPlanOutput
- func (o GetHanaBackupPlansPlanOutput) VaultId() pulumi.StringOutput
- type GetHanaBackupPlansResult
- type GetHanaBackupPlansResultOutput
- func (o GetHanaBackupPlansResultOutput) ClusterId() pulumi.StringOutput
- func (o GetHanaBackupPlansResultOutput) DatabaseName() pulumi.StringPtrOutput
- func (GetHanaBackupPlansResultOutput) ElementType() reflect.Type
- func (o GetHanaBackupPlansResultOutput) Id() pulumi.StringOutput
- func (o GetHanaBackupPlansResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetHanaBackupPlansResultOutput) NameRegex() pulumi.StringPtrOutput
- func (o GetHanaBackupPlansResultOutput) Names() pulumi.StringArrayOutput
- func (o GetHanaBackupPlansResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetHanaBackupPlansResultOutput) PageNumber() pulumi.IntPtrOutput
- func (o GetHanaBackupPlansResultOutput) PageSize() pulumi.IntPtrOutput
- func (o GetHanaBackupPlansResultOutput) Plans() GetHanaBackupPlansPlanArrayOutput
- func (o GetHanaBackupPlansResultOutput) ToGetHanaBackupPlansResultOutput() GetHanaBackupPlansResultOutput
- func (o GetHanaBackupPlansResultOutput) ToGetHanaBackupPlansResultOutputWithContext(ctx context.Context) GetHanaBackupPlansResultOutput
- func (o GetHanaBackupPlansResultOutput) VaultId() pulumi.StringPtrOutput
- type GetHanaInstancesArgs
- type GetHanaInstancesInstance
- type GetHanaInstancesInstanceArgs
- func (GetHanaInstancesInstanceArgs) ElementType() reflect.Type
- func (i GetHanaInstancesInstanceArgs) ToGetHanaInstancesInstanceOutput() GetHanaInstancesInstanceOutput
- func (i GetHanaInstancesInstanceArgs) ToGetHanaInstancesInstanceOutputWithContext(ctx context.Context) GetHanaInstancesInstanceOutput
- type GetHanaInstancesInstanceArray
- func (GetHanaInstancesInstanceArray) ElementType() reflect.Type
- func (i GetHanaInstancesInstanceArray) ToGetHanaInstancesInstanceArrayOutput() GetHanaInstancesInstanceArrayOutput
- func (i GetHanaInstancesInstanceArray) ToGetHanaInstancesInstanceArrayOutputWithContext(ctx context.Context) GetHanaInstancesInstanceArrayOutput
- type GetHanaInstancesInstanceArrayInput
- type GetHanaInstancesInstanceArrayOutput
- func (GetHanaInstancesInstanceArrayOutput) ElementType() reflect.Type
- func (o GetHanaInstancesInstanceArrayOutput) Index(i pulumi.IntInput) GetHanaInstancesInstanceOutput
- func (o GetHanaInstancesInstanceArrayOutput) ToGetHanaInstancesInstanceArrayOutput() GetHanaInstancesInstanceArrayOutput
- func (o GetHanaInstancesInstanceArrayOutput) ToGetHanaInstancesInstanceArrayOutputWithContext(ctx context.Context) GetHanaInstancesInstanceArrayOutput
- type GetHanaInstancesInstanceInput
- type GetHanaInstancesInstanceOutput
- func (o GetHanaInstancesInstanceOutput) AlertSetting() pulumi.StringOutput
- func (GetHanaInstancesInstanceOutput) ElementType() reflect.Type
- func (o GetHanaInstancesInstanceOutput) HanaInstanceId() pulumi.StringOutput
- func (o GetHanaInstancesInstanceOutput) HanaName() pulumi.StringOutput
- func (o GetHanaInstancesInstanceOutput) Host() pulumi.StringOutput
- func (o GetHanaInstancesInstanceOutput) Id() pulumi.StringOutput
- func (o GetHanaInstancesInstanceOutput) InstanceNumber() pulumi.IntOutput
- func (o GetHanaInstancesInstanceOutput) ResourceGroupId() pulumi.StringOutput
- func (o GetHanaInstancesInstanceOutput) Status() pulumi.StringOutput
- func (o GetHanaInstancesInstanceOutput) StatusMessage() pulumi.StringOutput
- func (o GetHanaInstancesInstanceOutput) ToGetHanaInstancesInstanceOutput() GetHanaInstancesInstanceOutput
- func (o GetHanaInstancesInstanceOutput) ToGetHanaInstancesInstanceOutputWithContext(ctx context.Context) GetHanaInstancesInstanceOutput
- func (o GetHanaInstancesInstanceOutput) UseSsl() pulumi.BoolOutput
- func (o GetHanaInstancesInstanceOutput) UserName() pulumi.StringOutput
- func (o GetHanaInstancesInstanceOutput) ValidateCertificate() pulumi.BoolOutput
- func (o GetHanaInstancesInstanceOutput) VaultId() pulumi.StringOutput
- type GetHanaInstancesOutputArgs
- type GetHanaInstancesResult
- type GetHanaInstancesResultOutput
- func (GetHanaInstancesResultOutput) ElementType() reflect.Type
- func (o GetHanaInstancesResultOutput) Id() pulumi.StringOutput
- func (o GetHanaInstancesResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetHanaInstancesResultOutput) Instances() GetHanaInstancesInstanceArrayOutput
- func (o GetHanaInstancesResultOutput) NameRegex() pulumi.StringPtrOutput
- func (o GetHanaInstancesResultOutput) Names() pulumi.StringArrayOutput
- func (o GetHanaInstancesResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetHanaInstancesResultOutput) PageNumber() pulumi.IntPtrOutput
- func (o GetHanaInstancesResultOutput) PageSize() pulumi.IntPtrOutput
- func (o GetHanaInstancesResultOutput) Status() pulumi.StringPtrOutput
- func (o GetHanaInstancesResultOutput) ToGetHanaInstancesResultOutput() GetHanaInstancesResultOutput
- func (o GetHanaInstancesResultOutput) ToGetHanaInstancesResultOutputWithContext(ctx context.Context) GetHanaInstancesResultOutput
- func (o GetHanaInstancesResultOutput) VaultId() pulumi.StringPtrOutput
- type GetNasBackupPlansArgs
- type GetNasBackupPlansOutputArgs
- type GetNasBackupPlansPlan
- type GetNasBackupPlansPlanArgs
- type GetNasBackupPlansPlanArray
- func (GetNasBackupPlansPlanArray) ElementType() reflect.Type
- func (i GetNasBackupPlansPlanArray) ToGetNasBackupPlansPlanArrayOutput() GetNasBackupPlansPlanArrayOutput
- func (i GetNasBackupPlansPlanArray) ToGetNasBackupPlansPlanArrayOutputWithContext(ctx context.Context) GetNasBackupPlansPlanArrayOutput
- type GetNasBackupPlansPlanArrayInput
- type GetNasBackupPlansPlanArrayOutput
- func (GetNasBackupPlansPlanArrayOutput) ElementType() reflect.Type
- func (o GetNasBackupPlansPlanArrayOutput) Index(i pulumi.IntInput) GetNasBackupPlansPlanOutput
- func (o GetNasBackupPlansPlanArrayOutput) ToGetNasBackupPlansPlanArrayOutput() GetNasBackupPlansPlanArrayOutput
- func (o GetNasBackupPlansPlanArrayOutput) ToGetNasBackupPlansPlanArrayOutputWithContext(ctx context.Context) GetNasBackupPlansPlanArrayOutput
- type GetNasBackupPlansPlanInput
- type GetNasBackupPlansPlanOutput
- func (o GetNasBackupPlansPlanOutput) BackupType() pulumi.StringOutput
- func (o GetNasBackupPlansPlanOutput) CreateTime() pulumi.StringOutput
- func (o GetNasBackupPlansPlanOutput) CreatedTime() pulumi.StringOutput
- func (o GetNasBackupPlansPlanOutput) Disabled() pulumi.BoolOutput
- func (GetNasBackupPlansPlanOutput) ElementType() reflect.Type
- func (o GetNasBackupPlansPlanOutput) FileSystemId() pulumi.StringOutput
- func (o GetNasBackupPlansPlanOutput) Id() pulumi.StringOutput
- func (o GetNasBackupPlansPlanOutput) NasBackupPlanId() pulumi.StringOutput
- func (o GetNasBackupPlansPlanOutput) NasBackupPlanName() pulumi.StringOutput
- func (o GetNasBackupPlansPlanOutput) Options() pulumi.StringOutput
- func (o GetNasBackupPlansPlanOutput) Paths() pulumi.StringArrayOutput
- func (o GetNasBackupPlansPlanOutput) Retention() pulumi.StringOutput
- func (o GetNasBackupPlansPlanOutput) Schedule() pulumi.StringOutput
- func (o GetNasBackupPlansPlanOutput) ToGetNasBackupPlansPlanOutput() GetNasBackupPlansPlanOutput
- func (o GetNasBackupPlansPlanOutput) ToGetNasBackupPlansPlanOutputWithContext(ctx context.Context) GetNasBackupPlansPlanOutput
- func (o GetNasBackupPlansPlanOutput) UpdatedTime() pulumi.StringOutput
- func (o GetNasBackupPlansPlanOutput) VaultId() pulumi.StringOutput
- type GetNasBackupPlansResult
- type GetNasBackupPlansResultOutput
- func (GetNasBackupPlansResultOutput) ElementType() reflect.Type
- func (o GetNasBackupPlansResultOutput) FileSystemId() pulumi.StringPtrOutput
- func (o GetNasBackupPlansResultOutput) Id() pulumi.StringOutput
- func (o GetNasBackupPlansResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetNasBackupPlansResultOutput) NameRegex() pulumi.StringPtrOutput
- func (o GetNasBackupPlansResultOutput) Names() pulumi.StringArrayOutput
- func (o GetNasBackupPlansResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetNasBackupPlansResultOutput) Plans() GetNasBackupPlansPlanArrayOutput
- func (o GetNasBackupPlansResultOutput) ToGetNasBackupPlansResultOutput() GetNasBackupPlansResultOutput
- func (o GetNasBackupPlansResultOutput) ToGetNasBackupPlansResultOutputWithContext(ctx context.Context) GetNasBackupPlansResultOutput
- func (o GetNasBackupPlansResultOutput) VaultId() pulumi.StringPtrOutput
- type GetOssBackupPlansArgs
- type GetOssBackupPlansOutputArgs
- type GetOssBackupPlansPlan
- type GetOssBackupPlansPlanArgs
- type GetOssBackupPlansPlanArray
- func (GetOssBackupPlansPlanArray) ElementType() reflect.Type
- func (i GetOssBackupPlansPlanArray) ToGetOssBackupPlansPlanArrayOutput() GetOssBackupPlansPlanArrayOutput
- func (i GetOssBackupPlansPlanArray) ToGetOssBackupPlansPlanArrayOutputWithContext(ctx context.Context) GetOssBackupPlansPlanArrayOutput
- type GetOssBackupPlansPlanArrayInput
- type GetOssBackupPlansPlanArrayOutput
- func (GetOssBackupPlansPlanArrayOutput) ElementType() reflect.Type
- func (o GetOssBackupPlansPlanArrayOutput) Index(i pulumi.IntInput) GetOssBackupPlansPlanOutput
- func (o GetOssBackupPlansPlanArrayOutput) ToGetOssBackupPlansPlanArrayOutput() GetOssBackupPlansPlanArrayOutput
- func (o GetOssBackupPlansPlanArrayOutput) ToGetOssBackupPlansPlanArrayOutputWithContext(ctx context.Context) GetOssBackupPlansPlanArrayOutput
- type GetOssBackupPlansPlanInput
- type GetOssBackupPlansPlanOutput
- func (o GetOssBackupPlansPlanOutput) BackupType() pulumi.StringOutput
- func (o GetOssBackupPlansPlanOutput) Bucket() pulumi.StringOutput
- func (o GetOssBackupPlansPlanOutput) CreatedTime() pulumi.StringOutput
- func (o GetOssBackupPlansPlanOutput) Disabled() pulumi.BoolOutput
- func (GetOssBackupPlansPlanOutput) ElementType() reflect.Type
- func (o GetOssBackupPlansPlanOutput) Id() pulumi.StringOutput
- func (o GetOssBackupPlansPlanOutput) OssBackupPlanId() pulumi.StringOutput
- func (o GetOssBackupPlansPlanOutput) OssBackupPlanName() pulumi.StringOutput
- func (o GetOssBackupPlansPlanOutput) Prefix() pulumi.StringOutput
- func (o GetOssBackupPlansPlanOutput) Retention() pulumi.StringOutput
- func (o GetOssBackupPlansPlanOutput) Schedule() pulumi.StringOutput
- func (o GetOssBackupPlansPlanOutput) ToGetOssBackupPlansPlanOutput() GetOssBackupPlansPlanOutput
- func (o GetOssBackupPlansPlanOutput) ToGetOssBackupPlansPlanOutputWithContext(ctx context.Context) GetOssBackupPlansPlanOutput
- func (o GetOssBackupPlansPlanOutput) UpdatedTime() pulumi.StringOutput
- func (o GetOssBackupPlansPlanOutput) VaultId() pulumi.StringOutput
- type GetOssBackupPlansResult
- type GetOssBackupPlansResultOutput
- func (o GetOssBackupPlansResultOutput) Bucket() pulumi.StringPtrOutput
- func (GetOssBackupPlansResultOutput) ElementType() reflect.Type
- func (o GetOssBackupPlansResultOutput) Id() pulumi.StringOutput
- func (o GetOssBackupPlansResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetOssBackupPlansResultOutput) NameRegex() pulumi.StringPtrOutput
- func (o GetOssBackupPlansResultOutput) Names() pulumi.StringArrayOutput
- func (o GetOssBackupPlansResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetOssBackupPlansResultOutput) Plans() GetOssBackupPlansPlanArrayOutput
- func (o GetOssBackupPlansResultOutput) ToGetOssBackupPlansResultOutput() GetOssBackupPlansResultOutput
- func (o GetOssBackupPlansResultOutput) ToGetOssBackupPlansResultOutputWithContext(ctx context.Context) GetOssBackupPlansResultOutput
- func (o GetOssBackupPlansResultOutput) VaultId() pulumi.StringPtrOutput
- type GetOtsBackupPlansArgs
- type GetOtsBackupPlansOutputArgs
- type GetOtsBackupPlansPlan
- type GetOtsBackupPlansPlanArgs
- type GetOtsBackupPlansPlanArray
- func (GetOtsBackupPlansPlanArray) ElementType() reflect.Type
- func (i GetOtsBackupPlansPlanArray) ToGetOtsBackupPlansPlanArrayOutput() GetOtsBackupPlansPlanArrayOutput
- func (i GetOtsBackupPlansPlanArray) ToGetOtsBackupPlansPlanArrayOutputWithContext(ctx context.Context) GetOtsBackupPlansPlanArrayOutput
- type GetOtsBackupPlansPlanArrayInput
- type GetOtsBackupPlansPlanArrayOutput
- func (GetOtsBackupPlansPlanArrayOutput) ElementType() reflect.Type
- func (o GetOtsBackupPlansPlanArrayOutput) Index(i pulumi.IntInput) GetOtsBackupPlansPlanOutput
- func (o GetOtsBackupPlansPlanArrayOutput) ToGetOtsBackupPlansPlanArrayOutput() GetOtsBackupPlansPlanArrayOutput
- func (o GetOtsBackupPlansPlanArrayOutput) ToGetOtsBackupPlansPlanArrayOutputWithContext(ctx context.Context) GetOtsBackupPlansPlanArrayOutput
- type GetOtsBackupPlansPlanInput
- type GetOtsBackupPlansPlanOtsDetail
- type GetOtsBackupPlansPlanOtsDetailArgs
- func (GetOtsBackupPlansPlanOtsDetailArgs) ElementType() reflect.Type
- func (i GetOtsBackupPlansPlanOtsDetailArgs) ToGetOtsBackupPlansPlanOtsDetailOutput() GetOtsBackupPlansPlanOtsDetailOutput
- func (i GetOtsBackupPlansPlanOtsDetailArgs) ToGetOtsBackupPlansPlanOtsDetailOutputWithContext(ctx context.Context) GetOtsBackupPlansPlanOtsDetailOutput
- type GetOtsBackupPlansPlanOtsDetailArray
- func (GetOtsBackupPlansPlanOtsDetailArray) ElementType() reflect.Type
- func (i GetOtsBackupPlansPlanOtsDetailArray) ToGetOtsBackupPlansPlanOtsDetailArrayOutput() GetOtsBackupPlansPlanOtsDetailArrayOutput
- func (i GetOtsBackupPlansPlanOtsDetailArray) ToGetOtsBackupPlansPlanOtsDetailArrayOutputWithContext(ctx context.Context) GetOtsBackupPlansPlanOtsDetailArrayOutput
- type GetOtsBackupPlansPlanOtsDetailArrayInput
- type GetOtsBackupPlansPlanOtsDetailArrayOutput
- func (GetOtsBackupPlansPlanOtsDetailArrayOutput) ElementType() reflect.Type
- func (o GetOtsBackupPlansPlanOtsDetailArrayOutput) Index(i pulumi.IntInput) GetOtsBackupPlansPlanOtsDetailOutput
- func (o GetOtsBackupPlansPlanOtsDetailArrayOutput) ToGetOtsBackupPlansPlanOtsDetailArrayOutput() GetOtsBackupPlansPlanOtsDetailArrayOutput
- func (o GetOtsBackupPlansPlanOtsDetailArrayOutput) ToGetOtsBackupPlansPlanOtsDetailArrayOutputWithContext(ctx context.Context) GetOtsBackupPlansPlanOtsDetailArrayOutput
- type GetOtsBackupPlansPlanOtsDetailInput
- type GetOtsBackupPlansPlanOtsDetailOutput
- func (GetOtsBackupPlansPlanOtsDetailOutput) ElementType() reflect.Type
- func (o GetOtsBackupPlansPlanOtsDetailOutput) TableNames() pulumi.StringArrayOutput
- func (o GetOtsBackupPlansPlanOtsDetailOutput) ToGetOtsBackupPlansPlanOtsDetailOutput() GetOtsBackupPlansPlanOtsDetailOutput
- func (o GetOtsBackupPlansPlanOtsDetailOutput) ToGetOtsBackupPlansPlanOtsDetailOutputWithContext(ctx context.Context) GetOtsBackupPlansPlanOtsDetailOutput
- type GetOtsBackupPlansPlanOutput
- func (o GetOtsBackupPlansPlanOutput) BackupType() pulumi.StringOutput
- func (o GetOtsBackupPlansPlanOutput) CreatedTime() pulumi.StringOutput
- func (o GetOtsBackupPlansPlanOutput) Disabled() pulumi.BoolOutput
- func (GetOtsBackupPlansPlanOutput) ElementType() reflect.Type
- func (o GetOtsBackupPlansPlanOutput) Id() pulumi.StringOutput
- func (o GetOtsBackupPlansPlanOutput) OtsBackupPlanId() pulumi.StringOutput
- func (o GetOtsBackupPlansPlanOutput) OtsBackupPlanName() pulumi.StringOutput
- func (o GetOtsBackupPlansPlanOutput) OtsDetails() GetOtsBackupPlansPlanOtsDetailArrayOutput
- func (o GetOtsBackupPlansPlanOutput) Retention() pulumi.StringOutput
- func (o GetOtsBackupPlansPlanOutput) Schedule() pulumi.StringOutput
- func (o GetOtsBackupPlansPlanOutput) SourceType() pulumi.StringOutput
- func (o GetOtsBackupPlansPlanOutput) ToGetOtsBackupPlansPlanOutput() GetOtsBackupPlansPlanOutput
- func (o GetOtsBackupPlansPlanOutput) ToGetOtsBackupPlansPlanOutputWithContext(ctx context.Context) GetOtsBackupPlansPlanOutput
- func (o GetOtsBackupPlansPlanOutput) UpdatedTime() pulumi.StringOutput
- func (o GetOtsBackupPlansPlanOutput) VaultId() pulumi.StringOutput
- type GetOtsBackupPlansResult
- type GetOtsBackupPlansResultOutput
- func (GetOtsBackupPlansResultOutput) ElementType() reflect.Type
- func (o GetOtsBackupPlansResultOutput) Id() pulumi.StringOutput
- func (o GetOtsBackupPlansResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetOtsBackupPlansResultOutput) NameRegex() pulumi.StringPtrOutput
- func (o GetOtsBackupPlansResultOutput) Names() pulumi.StringArrayOutput
- func (o GetOtsBackupPlansResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetOtsBackupPlansResultOutput) PlanId() pulumi.StringPtrOutput
- func (o GetOtsBackupPlansResultOutput) PlanName() pulumi.StringPtrOutput
- func (o GetOtsBackupPlansResultOutput) Plans() GetOtsBackupPlansPlanArrayOutput
- func (o GetOtsBackupPlansResultOutput) ToGetOtsBackupPlansResultOutput() GetOtsBackupPlansResultOutput
- func (o GetOtsBackupPlansResultOutput) ToGetOtsBackupPlansResultOutputWithContext(ctx context.Context) GetOtsBackupPlansResultOutput
- func (o GetOtsBackupPlansResultOutput) VaultId() pulumi.StringPtrOutput
- type GetOtsSnapshotsArgs
- type GetOtsSnapshotsOutputArgs
- type GetOtsSnapshotsResult
- type GetOtsSnapshotsResultOutput
- func (GetOtsSnapshotsResultOutput) ElementType() reflect.Type
- func (o GetOtsSnapshotsResultOutput) EndTime() pulumi.StringPtrOutput
- func (o GetOtsSnapshotsResultOutput) Id() pulumi.StringOutput
- func (o GetOtsSnapshotsResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetOtsSnapshotsResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetOtsSnapshotsResultOutput) Snapshots() GetOtsSnapshotsSnapshotArrayOutput
- func (o GetOtsSnapshotsResultOutput) StartTime() pulumi.StringPtrOutput
- func (o GetOtsSnapshotsResultOutput) ToGetOtsSnapshotsResultOutput() GetOtsSnapshotsResultOutput
- func (o GetOtsSnapshotsResultOutput) ToGetOtsSnapshotsResultOutputWithContext(ctx context.Context) GetOtsSnapshotsResultOutput
- type GetOtsSnapshotsSnapshot
- type GetOtsSnapshotsSnapshotArgs
- type GetOtsSnapshotsSnapshotArray
- func (GetOtsSnapshotsSnapshotArray) ElementType() reflect.Type
- func (i GetOtsSnapshotsSnapshotArray) ToGetOtsSnapshotsSnapshotArrayOutput() GetOtsSnapshotsSnapshotArrayOutput
- func (i GetOtsSnapshotsSnapshotArray) ToGetOtsSnapshotsSnapshotArrayOutputWithContext(ctx context.Context) GetOtsSnapshotsSnapshotArrayOutput
- type GetOtsSnapshotsSnapshotArrayInput
- type GetOtsSnapshotsSnapshotArrayOutput
- func (GetOtsSnapshotsSnapshotArrayOutput) ElementType() reflect.Type
- func (o GetOtsSnapshotsSnapshotArrayOutput) Index(i pulumi.IntInput) GetOtsSnapshotsSnapshotOutput
- func (o GetOtsSnapshotsSnapshotArrayOutput) ToGetOtsSnapshotsSnapshotArrayOutput() GetOtsSnapshotsSnapshotArrayOutput
- func (o GetOtsSnapshotsSnapshotArrayOutput) ToGetOtsSnapshotsSnapshotArrayOutputWithContext(ctx context.Context) GetOtsSnapshotsSnapshotArrayOutput
- type GetOtsSnapshotsSnapshotInput
- type GetOtsSnapshotsSnapshotOutput
- func (o GetOtsSnapshotsSnapshotOutput) ActualBytes() pulumi.StringOutput
- func (o GetOtsSnapshotsSnapshotOutput) BackupType() pulumi.StringOutput
- func (o GetOtsSnapshotsSnapshotOutput) BytesTotal() pulumi.StringOutput
- func (o GetOtsSnapshotsSnapshotOutput) CompleteTime() pulumi.StringOutput
- func (o GetOtsSnapshotsSnapshotOutput) CreateTime() pulumi.StringOutput
- func (o GetOtsSnapshotsSnapshotOutput) CreatedTime() pulumi.StringOutput
- func (GetOtsSnapshotsSnapshotOutput) ElementType() reflect.Type
- func (o GetOtsSnapshotsSnapshotOutput) Id() pulumi.StringOutput
- func (o GetOtsSnapshotsSnapshotOutput) InstanceName() pulumi.StringOutput
- func (o GetOtsSnapshotsSnapshotOutput) JobId() pulumi.StringOutput
- func (o GetOtsSnapshotsSnapshotOutput) ParentSnapshotHash() pulumi.StringOutput
- func (o GetOtsSnapshotsSnapshotOutput) RangeEnd() pulumi.StringOutput
- func (o GetOtsSnapshotsSnapshotOutput) RangeStart() pulumi.StringOutput
- func (o GetOtsSnapshotsSnapshotOutput) Retention() pulumi.StringOutput
- func (o GetOtsSnapshotsSnapshotOutput) SnapshotHash() pulumi.StringOutput
- func (o GetOtsSnapshotsSnapshotOutput) SnapshotId() pulumi.StringOutput
- func (o GetOtsSnapshotsSnapshotOutput) SourceType() pulumi.StringOutput
- func (o GetOtsSnapshotsSnapshotOutput) StartTime() pulumi.StringOutput
- func (o GetOtsSnapshotsSnapshotOutput) Status() pulumi.StringOutput
- func (o GetOtsSnapshotsSnapshotOutput) TableName() pulumi.StringOutput
- func (o GetOtsSnapshotsSnapshotOutput) ToGetOtsSnapshotsSnapshotOutput() GetOtsSnapshotsSnapshotOutput
- func (o GetOtsSnapshotsSnapshotOutput) ToGetOtsSnapshotsSnapshotOutputWithContext(ctx context.Context) GetOtsSnapshotsSnapshotOutput
- func (o GetOtsSnapshotsSnapshotOutput) UpdatedTime() pulumi.StringOutput
- func (o GetOtsSnapshotsSnapshotOutput) VaultId() pulumi.StringOutput
- type GetReplicationVaultRegionsArgs
- type GetReplicationVaultRegionsOutputArgs
- type GetReplicationVaultRegionsRegion
- type GetReplicationVaultRegionsRegionArgs
- func (GetReplicationVaultRegionsRegionArgs) ElementType() reflect.Type
- func (i GetReplicationVaultRegionsRegionArgs) ToGetReplicationVaultRegionsRegionOutput() GetReplicationVaultRegionsRegionOutput
- func (i GetReplicationVaultRegionsRegionArgs) ToGetReplicationVaultRegionsRegionOutputWithContext(ctx context.Context) GetReplicationVaultRegionsRegionOutput
- type GetReplicationVaultRegionsRegionArray
- func (GetReplicationVaultRegionsRegionArray) ElementType() reflect.Type
- func (i GetReplicationVaultRegionsRegionArray) ToGetReplicationVaultRegionsRegionArrayOutput() GetReplicationVaultRegionsRegionArrayOutput
- func (i GetReplicationVaultRegionsRegionArray) ToGetReplicationVaultRegionsRegionArrayOutputWithContext(ctx context.Context) GetReplicationVaultRegionsRegionArrayOutput
- type GetReplicationVaultRegionsRegionArrayInput
- type GetReplicationVaultRegionsRegionArrayOutput
- func (GetReplicationVaultRegionsRegionArrayOutput) ElementType() reflect.Type
- func (o GetReplicationVaultRegionsRegionArrayOutput) Index(i pulumi.IntInput) GetReplicationVaultRegionsRegionOutput
- func (o GetReplicationVaultRegionsRegionArrayOutput) ToGetReplicationVaultRegionsRegionArrayOutput() GetReplicationVaultRegionsRegionArrayOutput
- func (o GetReplicationVaultRegionsRegionArrayOutput) ToGetReplicationVaultRegionsRegionArrayOutputWithContext(ctx context.Context) GetReplicationVaultRegionsRegionArrayOutput
- type GetReplicationVaultRegionsRegionInput
- type GetReplicationVaultRegionsRegionOutput
- func (GetReplicationVaultRegionsRegionOutput) ElementType() reflect.Type
- func (o GetReplicationVaultRegionsRegionOutput) ReplicationRegionId() pulumi.StringOutput
- func (o GetReplicationVaultRegionsRegionOutput) ToGetReplicationVaultRegionsRegionOutput() GetReplicationVaultRegionsRegionOutput
- func (o GetReplicationVaultRegionsRegionOutput) ToGetReplicationVaultRegionsRegionOutputWithContext(ctx context.Context) GetReplicationVaultRegionsRegionOutput
- type GetReplicationVaultRegionsResult
- type GetReplicationVaultRegionsResultOutput
- func (GetReplicationVaultRegionsResultOutput) ElementType() reflect.Type
- func (o GetReplicationVaultRegionsResultOutput) Id() pulumi.StringOutput
- func (o GetReplicationVaultRegionsResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetReplicationVaultRegionsResultOutput) Regions() GetReplicationVaultRegionsRegionArrayOutput
- func (o GetReplicationVaultRegionsResultOutput) ToGetReplicationVaultRegionsResultOutput() GetReplicationVaultRegionsResultOutput
- func (o GetReplicationVaultRegionsResultOutput) ToGetReplicationVaultRegionsResultOutputWithContext(ctx context.Context) GetReplicationVaultRegionsResultOutput
- type GetRestoreJobsArgs
- type GetRestoreJobsJob
- type GetRestoreJobsJobArgs
- type GetRestoreJobsJobArray
- type GetRestoreJobsJobArrayInput
- type GetRestoreJobsJobArrayOutput
- func (GetRestoreJobsJobArrayOutput) ElementType() reflect.Type
- func (o GetRestoreJobsJobArrayOutput) Index(i pulumi.IntInput) GetRestoreJobsJobOutput
- func (o GetRestoreJobsJobArrayOutput) ToGetRestoreJobsJobArrayOutput() GetRestoreJobsJobArrayOutput
- func (o GetRestoreJobsJobArrayOutput) ToGetRestoreJobsJobArrayOutputWithContext(ctx context.Context) GetRestoreJobsJobArrayOutput
- type GetRestoreJobsJobInput
- type GetRestoreJobsJobOutput
- func (o GetRestoreJobsJobOutput) ActualBytes() pulumi.StringOutput
- func (o GetRestoreJobsJobOutput) ActualItems() pulumi.StringOutput
- func (o GetRestoreJobsJobOutput) BytesDone() pulumi.StringOutput
- func (o GetRestoreJobsJobOutput) BytesTotal() pulumi.StringOutput
- func (o GetRestoreJobsJobOutput) CompleteTime() pulumi.StringOutput
- func (o GetRestoreJobsJobOutput) CreateTime() pulumi.StringOutput
- func (GetRestoreJobsJobOutput) ElementType() reflect.Type
- func (o GetRestoreJobsJobOutput) ErrorFile() pulumi.StringOutput
- func (o GetRestoreJobsJobOutput) ErrorMessage() pulumi.StringOutput
- func (o GetRestoreJobsJobOutput) ExpireTime() pulumi.StringOutput
- func (o GetRestoreJobsJobOutput) Id() pulumi.StringOutput
- func (o GetRestoreJobsJobOutput) ItemsDone() pulumi.StringOutput
- func (o GetRestoreJobsJobOutput) ItemsTotal() pulumi.StringOutput
- func (o GetRestoreJobsJobOutput) Options() pulumi.StringOutput
- func (o GetRestoreJobsJobOutput) ParentId() pulumi.StringOutput
- func (o GetRestoreJobsJobOutput) Progress() pulumi.IntOutput
- func (o GetRestoreJobsJobOutput) RestoreJobId() pulumi.StringOutput
- func (o GetRestoreJobsJobOutput) RestoreType() pulumi.StringOutput
- func (o GetRestoreJobsJobOutput) SnapshotHash() pulumi.StringOutput
- func (o GetRestoreJobsJobOutput) SnapshotId() pulumi.StringOutput
- func (o GetRestoreJobsJobOutput) SourceType() pulumi.StringOutput
- func (o GetRestoreJobsJobOutput) StartTime() pulumi.StringOutput
- func (o GetRestoreJobsJobOutput) Status() pulumi.StringOutput
- func (o GetRestoreJobsJobOutput) TargetBucket() pulumi.StringOutput
- func (o GetRestoreJobsJobOutput) TargetClientId() pulumi.StringOutput
- func (o GetRestoreJobsJobOutput) TargetCreateTime() pulumi.StringOutput
- func (o GetRestoreJobsJobOutput) TargetDataSourceId() pulumi.StringOutput
- func (o GetRestoreJobsJobOutput) TargetFileSystemId() pulumi.StringOutput
- func (o GetRestoreJobsJobOutput) TargetInstanceId() pulumi.StringOutput
- func (o GetRestoreJobsJobOutput) TargetPath() pulumi.StringOutput
- func (o GetRestoreJobsJobOutput) TargetPrefix() pulumi.StringOutput
- func (o GetRestoreJobsJobOutput) ToGetRestoreJobsJobOutput() GetRestoreJobsJobOutput
- func (o GetRestoreJobsJobOutput) ToGetRestoreJobsJobOutputWithContext(ctx context.Context) GetRestoreJobsJobOutput
- func (o GetRestoreJobsJobOutput) UpdatedTime() pulumi.StringOutput
- func (o GetRestoreJobsJobOutput) VaultId() pulumi.StringOutput
- type GetRestoreJobsOutputArgs
- type GetRestoreJobsResult
- type GetRestoreJobsResultOutput
- func (GetRestoreJobsResultOutput) ElementType() reflect.Type
- func (o GetRestoreJobsResultOutput) Id() pulumi.StringOutput
- func (o GetRestoreJobsResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetRestoreJobsResultOutput) Jobs() GetRestoreJobsJobArrayOutput
- func (o GetRestoreJobsResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetRestoreJobsResultOutput) RestoreIds() pulumi.StringArrayOutput
- func (o GetRestoreJobsResultOutput) RestoreType() pulumi.StringOutput
- func (o GetRestoreJobsResultOutput) SourceTypes() pulumi.StringArrayOutput
- func (o GetRestoreJobsResultOutput) Status() pulumi.StringPtrOutput
- func (o GetRestoreJobsResultOutput) TargetBuckets() pulumi.StringArrayOutput
- func (o GetRestoreJobsResultOutput) TargetFileSystemIds() pulumi.StringArrayOutput
- func (o GetRestoreJobsResultOutput) TargetInstanceIds() pulumi.StringArrayOutput
- func (o GetRestoreJobsResultOutput) ToGetRestoreJobsResultOutput() GetRestoreJobsResultOutput
- func (o GetRestoreJobsResultOutput) ToGetRestoreJobsResultOutputWithContext(ctx context.Context) GetRestoreJobsResultOutput
- func (o GetRestoreJobsResultOutput) VaultIds() pulumi.StringArrayOutput
- type GetServerBackupPlansArgs
- type GetServerBackupPlansFilter
- type GetServerBackupPlansFilterArgs
- func (GetServerBackupPlansFilterArgs) ElementType() reflect.Type
- func (i GetServerBackupPlansFilterArgs) ToGetServerBackupPlansFilterOutput() GetServerBackupPlansFilterOutput
- func (i GetServerBackupPlansFilterArgs) ToGetServerBackupPlansFilterOutputWithContext(ctx context.Context) GetServerBackupPlansFilterOutput
- type GetServerBackupPlansFilterArray
- func (GetServerBackupPlansFilterArray) ElementType() reflect.Type
- func (i GetServerBackupPlansFilterArray) ToGetServerBackupPlansFilterArrayOutput() GetServerBackupPlansFilterArrayOutput
- func (i GetServerBackupPlansFilterArray) ToGetServerBackupPlansFilterArrayOutputWithContext(ctx context.Context) GetServerBackupPlansFilterArrayOutput
- type GetServerBackupPlansFilterArrayInput
- type GetServerBackupPlansFilterArrayOutput
- func (GetServerBackupPlansFilterArrayOutput) ElementType() reflect.Type
- func (o GetServerBackupPlansFilterArrayOutput) Index(i pulumi.IntInput) GetServerBackupPlansFilterOutput
- func (o GetServerBackupPlansFilterArrayOutput) ToGetServerBackupPlansFilterArrayOutput() GetServerBackupPlansFilterArrayOutput
- func (o GetServerBackupPlansFilterArrayOutput) ToGetServerBackupPlansFilterArrayOutputWithContext(ctx context.Context) GetServerBackupPlansFilterArrayOutput
- type GetServerBackupPlansFilterInput
- type GetServerBackupPlansFilterOutput
- func (GetServerBackupPlansFilterOutput) ElementType() reflect.Type
- func (o GetServerBackupPlansFilterOutput) Key() pulumi.StringPtrOutput
- func (o GetServerBackupPlansFilterOutput) ToGetServerBackupPlansFilterOutput() GetServerBackupPlansFilterOutput
- func (o GetServerBackupPlansFilterOutput) ToGetServerBackupPlansFilterOutputWithContext(ctx context.Context) GetServerBackupPlansFilterOutput
- func (o GetServerBackupPlansFilterOutput) Values() pulumi.StringArrayOutput
- type GetServerBackupPlansOutputArgs
- type GetServerBackupPlansPlan
- type GetServerBackupPlansPlanArgs
- func (GetServerBackupPlansPlanArgs) ElementType() reflect.Type
- func (i GetServerBackupPlansPlanArgs) ToGetServerBackupPlansPlanOutput() GetServerBackupPlansPlanOutput
- func (i GetServerBackupPlansPlanArgs) ToGetServerBackupPlansPlanOutputWithContext(ctx context.Context) GetServerBackupPlansPlanOutput
- type GetServerBackupPlansPlanArray
- func (GetServerBackupPlansPlanArray) ElementType() reflect.Type
- func (i GetServerBackupPlansPlanArray) ToGetServerBackupPlansPlanArrayOutput() GetServerBackupPlansPlanArrayOutput
- func (i GetServerBackupPlansPlanArray) ToGetServerBackupPlansPlanArrayOutputWithContext(ctx context.Context) GetServerBackupPlansPlanArrayOutput
- type GetServerBackupPlansPlanArrayInput
- type GetServerBackupPlansPlanArrayOutput
- func (GetServerBackupPlansPlanArrayOutput) ElementType() reflect.Type
- func (o GetServerBackupPlansPlanArrayOutput) Index(i pulumi.IntInput) GetServerBackupPlansPlanOutput
- func (o GetServerBackupPlansPlanArrayOutput) ToGetServerBackupPlansPlanArrayOutput() GetServerBackupPlansPlanArrayOutput
- func (o GetServerBackupPlansPlanArrayOutput) ToGetServerBackupPlansPlanArrayOutputWithContext(ctx context.Context) GetServerBackupPlansPlanArrayOutput
- type GetServerBackupPlansPlanDetail
- type GetServerBackupPlansPlanDetailArgs
- func (GetServerBackupPlansPlanDetailArgs) ElementType() reflect.Type
- func (i GetServerBackupPlansPlanDetailArgs) ToGetServerBackupPlansPlanDetailOutput() GetServerBackupPlansPlanDetailOutput
- func (i GetServerBackupPlansPlanDetailArgs) ToGetServerBackupPlansPlanDetailOutputWithContext(ctx context.Context) GetServerBackupPlansPlanDetailOutput
- type GetServerBackupPlansPlanDetailArray
- func (GetServerBackupPlansPlanDetailArray) ElementType() reflect.Type
- func (i GetServerBackupPlansPlanDetailArray) ToGetServerBackupPlansPlanDetailArrayOutput() GetServerBackupPlansPlanDetailArrayOutput
- func (i GetServerBackupPlansPlanDetailArray) ToGetServerBackupPlansPlanDetailArrayOutputWithContext(ctx context.Context) GetServerBackupPlansPlanDetailArrayOutput
- type GetServerBackupPlansPlanDetailArrayInput
- type GetServerBackupPlansPlanDetailArrayOutput
- func (GetServerBackupPlansPlanDetailArrayOutput) ElementType() reflect.Type
- func (o GetServerBackupPlansPlanDetailArrayOutput) Index(i pulumi.IntInput) GetServerBackupPlansPlanDetailOutput
- func (o GetServerBackupPlansPlanDetailArrayOutput) ToGetServerBackupPlansPlanDetailArrayOutput() GetServerBackupPlansPlanDetailArrayOutput
- func (o GetServerBackupPlansPlanDetailArrayOutput) ToGetServerBackupPlansPlanDetailArrayOutputWithContext(ctx context.Context) GetServerBackupPlansPlanDetailArrayOutput
- type GetServerBackupPlansPlanDetailInput
- type GetServerBackupPlansPlanDetailOutput
- func (o GetServerBackupPlansPlanDetailOutput) AppConsistent() pulumi.BoolOutput
- func (o GetServerBackupPlansPlanDetailOutput) DestinationRegionId() pulumi.StringOutput
- func (o GetServerBackupPlansPlanDetailOutput) DestinationRetention() pulumi.IntOutput
- func (o GetServerBackupPlansPlanDetailOutput) DiskIdLists() pulumi.StringArrayOutput
- func (o GetServerBackupPlansPlanDetailOutput) DoCopy() pulumi.BoolOutput
- func (GetServerBackupPlansPlanDetailOutput) ElementType() reflect.Type
- func (o GetServerBackupPlansPlanDetailOutput) EnableFsFreeze() pulumi.BoolOutput
- func (o GetServerBackupPlansPlanDetailOutput) PostScriptPath() pulumi.StringOutput
- func (o GetServerBackupPlansPlanDetailOutput) PreScriptPath() pulumi.StringOutput
- func (o GetServerBackupPlansPlanDetailOutput) SnapshotGroup() pulumi.BoolOutput
- func (o GetServerBackupPlansPlanDetailOutput) TimeoutInSeconds() pulumi.IntOutput
- func (o GetServerBackupPlansPlanDetailOutput) ToGetServerBackupPlansPlanDetailOutput() GetServerBackupPlansPlanDetailOutput
- func (o GetServerBackupPlansPlanDetailOutput) ToGetServerBackupPlansPlanDetailOutputWithContext(ctx context.Context) GetServerBackupPlansPlanDetailOutput
- type GetServerBackupPlansPlanInput
- type GetServerBackupPlansPlanOutput
- func (o GetServerBackupPlansPlanOutput) CreateTime() pulumi.StringOutput
- func (o GetServerBackupPlansPlanOutput) Details() GetServerBackupPlansPlanDetailArrayOutput
- func (o GetServerBackupPlansPlanOutput) Disabled() pulumi.BoolOutput
- func (o GetServerBackupPlansPlanOutput) EcsServerBackupPlanId() pulumi.StringOutput
- func (o GetServerBackupPlansPlanOutput) EcsServerBackupPlanName() pulumi.StringOutput
- func (GetServerBackupPlansPlanOutput) ElementType() reflect.Type
- func (o GetServerBackupPlansPlanOutput) Id() pulumi.StringOutput
- func (o GetServerBackupPlansPlanOutput) InstanceId() pulumi.StringOutput
- func (o GetServerBackupPlansPlanOutput) Retention() pulumi.StringOutput
- func (o GetServerBackupPlansPlanOutput) Schedule() pulumi.StringOutput
- func (o GetServerBackupPlansPlanOutput) ToGetServerBackupPlansPlanOutput() GetServerBackupPlansPlanOutput
- func (o GetServerBackupPlansPlanOutput) ToGetServerBackupPlansPlanOutputWithContext(ctx context.Context) GetServerBackupPlansPlanOutput
- type GetServerBackupPlansResult
- type GetServerBackupPlansResultOutput
- func (GetServerBackupPlansResultOutput) ElementType() reflect.Type
- func (o GetServerBackupPlansResultOutput) Filters() GetServerBackupPlansFilterArrayOutput
- func (o GetServerBackupPlansResultOutput) Id() pulumi.StringOutput
- func (o GetServerBackupPlansResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetServerBackupPlansResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetServerBackupPlansResultOutput) Plans() GetServerBackupPlansPlanArrayOutput
- func (o GetServerBackupPlansResultOutput) ToGetServerBackupPlansResultOutput() GetServerBackupPlansResultOutput
- func (o GetServerBackupPlansResultOutput) ToGetServerBackupPlansResultOutputWithContext(ctx context.Context) GetServerBackupPlansResultOutput
- type GetSnapshotsArgs
- type GetSnapshotsOutputArgs
- type GetSnapshotsResult
- type GetSnapshotsResultOutput
- func (o GetSnapshotsResultOutput) Bucket() pulumi.StringPtrOutput
- func (o GetSnapshotsResultOutput) CompleteTime() pulumi.StringPtrOutput
- func (o GetSnapshotsResultOutput) CompleteTimeChecker() pulumi.StringPtrOutput
- func (o GetSnapshotsResultOutput) CreateTime() pulumi.StringPtrOutput
- func (GetSnapshotsResultOutput) ElementType() reflect.Type
- func (o GetSnapshotsResultOutput) FileSystemId() pulumi.StringPtrOutput
- func (o GetSnapshotsResultOutput) Id() pulumi.StringOutput
- func (o GetSnapshotsResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetSnapshotsResultOutput) InstanceId() pulumi.StringPtrOutput
- func (o GetSnapshotsResultOutput) Limit() pulumi.IntPtrOutput
- func (o GetSnapshotsResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetSnapshotsResultOutput) Query() pulumi.StringPtrOutput
- func (o GetSnapshotsResultOutput) Snapshots() GetSnapshotsSnapshotArrayOutput
- func (o GetSnapshotsResultOutput) SourceType() pulumi.StringOutput
- func (o GetSnapshotsResultOutput) Status() pulumi.StringPtrOutput
- func (o GetSnapshotsResultOutput) ToGetSnapshotsResultOutput() GetSnapshotsResultOutput
- func (o GetSnapshotsResultOutput) ToGetSnapshotsResultOutputWithContext(ctx context.Context) GetSnapshotsResultOutput
- func (o GetSnapshotsResultOutput) VaultId() pulumi.StringOutput
- type GetSnapshotsSnapshot
- type GetSnapshotsSnapshotArgs
- type GetSnapshotsSnapshotArray
- type GetSnapshotsSnapshotArrayInput
- type GetSnapshotsSnapshotArrayOutput
- func (GetSnapshotsSnapshotArrayOutput) ElementType() reflect.Type
- func (o GetSnapshotsSnapshotArrayOutput) Index(i pulumi.IntInput) GetSnapshotsSnapshotOutput
- func (o GetSnapshotsSnapshotArrayOutput) ToGetSnapshotsSnapshotArrayOutput() GetSnapshotsSnapshotArrayOutput
- func (o GetSnapshotsSnapshotArrayOutput) ToGetSnapshotsSnapshotArrayOutputWithContext(ctx context.Context) GetSnapshotsSnapshotArrayOutput
- type GetSnapshotsSnapshotInput
- type GetSnapshotsSnapshotOutput
- func (o GetSnapshotsSnapshotOutput) ActualBytes() pulumi.StringOutput
- func (o GetSnapshotsSnapshotOutput) ActualItems() pulumi.StringOutput
- func (o GetSnapshotsSnapshotOutput) BackupType() pulumi.StringOutput
- func (o GetSnapshotsSnapshotOutput) Bucket() pulumi.StringOutput
- func (o GetSnapshotsSnapshotOutput) BytesDone() pulumi.StringOutput
- func (o GetSnapshotsSnapshotOutput) BytesTotal() pulumi.StringOutput
- func (o GetSnapshotsSnapshotOutput) ClientId() pulumi.StringOutput
- func (o GetSnapshotsSnapshotOutput) CompleteTime() pulumi.StringOutput
- func (o GetSnapshotsSnapshotOutput) CreateTime() pulumi.StringOutput
- func (o GetSnapshotsSnapshotOutput) CreatedTime() pulumi.StringOutput
- func (GetSnapshotsSnapshotOutput) ElementType() reflect.Type
- func (o GetSnapshotsSnapshotOutput) ErrorFile() pulumi.StringOutput
- func (o GetSnapshotsSnapshotOutput) FileSystemId() pulumi.StringOutput
- func (o GetSnapshotsSnapshotOutput) Id() pulumi.StringOutput
- func (o GetSnapshotsSnapshotOutput) InstanceId() pulumi.StringOutput
- func (o GetSnapshotsSnapshotOutput) ItemsDone() pulumi.StringOutput
- func (o GetSnapshotsSnapshotOutput) ItemsTotal() pulumi.StringOutput
- func (o GetSnapshotsSnapshotOutput) JobId() pulumi.StringOutput
- func (o GetSnapshotsSnapshotOutput) ParentSnapshotHash() pulumi.StringOutput
- func (o GetSnapshotsSnapshotOutput) Path() pulumi.StringOutput
- func (o GetSnapshotsSnapshotOutput) Prefix() pulumi.StringOutput
- func (o GetSnapshotsSnapshotOutput) Retention() pulumi.StringOutput
- func (o GetSnapshotsSnapshotOutput) SnapshotHash() pulumi.StringOutput
- func (o GetSnapshotsSnapshotOutput) SnapshotId() pulumi.StringOutput
- func (o GetSnapshotsSnapshotOutput) SourceType() pulumi.StringOutput
- func (o GetSnapshotsSnapshotOutput) StartTime() pulumi.StringOutput
- func (o GetSnapshotsSnapshotOutput) Status() pulumi.StringOutput
- func (o GetSnapshotsSnapshotOutput) ToGetSnapshotsSnapshotOutput() GetSnapshotsSnapshotOutput
- func (o GetSnapshotsSnapshotOutput) ToGetSnapshotsSnapshotOutputWithContext(ctx context.Context) GetSnapshotsSnapshotOutput
- func (o GetSnapshotsSnapshotOutput) UpdatedTime() pulumi.StringOutput
- type GetVaultsArgs
- type GetVaultsOutputArgs
- type GetVaultsResult
- type GetVaultsResultOutput
- func (GetVaultsResultOutput) ElementType() reflect.Type
- func (o GetVaultsResultOutput) Id() pulumi.StringOutput
- func (o GetVaultsResultOutput) Ids() pulumi.StringArrayOutput
- func (o GetVaultsResultOutput) NameRegex() pulumi.StringPtrOutput
- func (o GetVaultsResultOutput) Names() pulumi.StringArrayOutput
- func (o GetVaultsResultOutput) OutputFile() pulumi.StringPtrOutput
- func (o GetVaultsResultOutput) Status() pulumi.StringPtrOutput
- func (o GetVaultsResultOutput) ToGetVaultsResultOutput() GetVaultsResultOutput
- func (o GetVaultsResultOutput) ToGetVaultsResultOutputWithContext(ctx context.Context) GetVaultsResultOutput
- func (o GetVaultsResultOutput) VaultType() pulumi.StringPtrOutput
- func (o GetVaultsResultOutput) Vaults() GetVaultsVaultArrayOutput
- type GetVaultsVault
- type GetVaultsVaultArgs
- type GetVaultsVaultArray
- type GetVaultsVaultArrayInput
- type GetVaultsVaultArrayOutput
- func (GetVaultsVaultArrayOutput) ElementType() reflect.Type
- func (o GetVaultsVaultArrayOutput) Index(i pulumi.IntInput) GetVaultsVaultOutput
- func (o GetVaultsVaultArrayOutput) ToGetVaultsVaultArrayOutput() GetVaultsVaultArrayOutput
- func (o GetVaultsVaultArrayOutput) ToGetVaultsVaultArrayOutputWithContext(ctx context.Context) GetVaultsVaultArrayOutput
- type GetVaultsVaultInput
- type GetVaultsVaultOutput
- func (o GetVaultsVaultOutput) BucketName() pulumi.StringOutput
- func (o GetVaultsVaultOutput) BytesDone() pulumi.StringOutput
- func (o GetVaultsVaultOutput) CreatedTime() pulumi.StringOutput
- func (o GetVaultsVaultOutput) Dedup() pulumi.BoolOutput
- func (o GetVaultsVaultOutput) Description() pulumi.StringOutput
- func (GetVaultsVaultOutput) ElementType() reflect.Type
- func (o GetVaultsVaultOutput) Id() pulumi.StringOutput
- func (o GetVaultsVaultOutput) IndexAvailable() pulumi.BoolOutput
- func (o GetVaultsVaultOutput) IndexLevel() pulumi.StringOutput
- func (o GetVaultsVaultOutput) IndexUpdateTime() pulumi.StringOutput
- func (o GetVaultsVaultOutput) LatestReplicationTime() pulumi.StringOutput
- func (o GetVaultsVaultOutput) PaymentType() pulumi.StringOutput
- func (o GetVaultsVaultOutput) Replication() pulumi.BoolOutput
- func (o GetVaultsVaultOutput) ReplicationSourceRegionId() pulumi.StringOutput
- func (o GetVaultsVaultOutput) ReplicationSourceVaultId() pulumi.StringOutput
- func (o GetVaultsVaultOutput) Retention() pulumi.StringOutput
- func (o GetVaultsVaultOutput) SearchEnabled() pulumi.BoolOutput
- func (o GetVaultsVaultOutput) SourceTypes() pulumi.StringArrayOutput
- func (o GetVaultsVaultOutput) Status() pulumi.StringOutput
- func (o GetVaultsVaultOutput) StorageSize() pulumi.StringOutput
- func (o GetVaultsVaultOutput) ToGetVaultsVaultOutput() GetVaultsVaultOutput
- func (o GetVaultsVaultOutput) ToGetVaultsVaultOutputWithContext(ctx context.Context) GetVaultsVaultOutput
- func (o GetVaultsVaultOutput) UpdatedTime() pulumi.StringOutput
- func (o GetVaultsVaultOutput) VaultId() pulumi.StringOutput
- func (o GetVaultsVaultOutput) VaultName() pulumi.StringOutput
- func (o GetVaultsVaultOutput) VaultStatusMessage() pulumi.StringOutput
- func (o GetVaultsVaultOutput) VaultStorageClass() pulumi.StringOutput
- func (o GetVaultsVaultOutput) VaultType() pulumi.StringOutput
- type HanaBackupPlan
- type HanaBackupPlanArgs
- type HanaBackupPlanArray
- type HanaBackupPlanArrayInput
- type HanaBackupPlanArrayOutput
- func (HanaBackupPlanArrayOutput) ElementType() reflect.Type
- func (o HanaBackupPlanArrayOutput) Index(i pulumi.IntInput) HanaBackupPlanOutput
- func (o HanaBackupPlanArrayOutput) ToHanaBackupPlanArrayOutput() HanaBackupPlanArrayOutput
- func (o HanaBackupPlanArrayOutput) ToHanaBackupPlanArrayOutputWithContext(ctx context.Context) HanaBackupPlanArrayOutput
- type HanaBackupPlanInput
- type HanaBackupPlanMap
- type HanaBackupPlanMapInput
- type HanaBackupPlanMapOutput
- func (HanaBackupPlanMapOutput) ElementType() reflect.Type
- func (o HanaBackupPlanMapOutput) MapIndex(k pulumi.StringInput) HanaBackupPlanOutput
- func (o HanaBackupPlanMapOutput) ToHanaBackupPlanMapOutput() HanaBackupPlanMapOutput
- func (o HanaBackupPlanMapOutput) ToHanaBackupPlanMapOutputWithContext(ctx context.Context) HanaBackupPlanMapOutput
- type HanaBackupPlanOutput
- func (o HanaBackupPlanOutput) BackupPrefix() pulumi.StringPtrOutput
- func (o HanaBackupPlanOutput) BackupType() pulumi.StringOutput
- func (o HanaBackupPlanOutput) ClusterId() pulumi.StringOutput
- func (o HanaBackupPlanOutput) DatabaseName() pulumi.StringOutput
- func (HanaBackupPlanOutput) ElementType() reflect.Type
- func (o HanaBackupPlanOutput) PlanId() pulumi.StringOutput
- func (o HanaBackupPlanOutput) PlanName() pulumi.StringOutput
- func (o HanaBackupPlanOutput) ResourceGroupId() pulumi.StringPtrOutput
- func (o HanaBackupPlanOutput) Schedule() pulumi.StringOutput
- func (o HanaBackupPlanOutput) Status() pulumi.StringOutput
- func (o HanaBackupPlanOutput) ToHanaBackupPlanOutput() HanaBackupPlanOutput
- func (o HanaBackupPlanOutput) ToHanaBackupPlanOutputWithContext(ctx context.Context) HanaBackupPlanOutput
- func (o HanaBackupPlanOutput) VaultId() pulumi.StringOutput
- type HanaBackupPlanState
- type HanaInstance
- type HanaInstanceArgs
- type HanaInstanceArray
- type HanaInstanceArrayInput
- type HanaInstanceArrayOutput
- func (HanaInstanceArrayOutput) ElementType() reflect.Type
- func (o HanaInstanceArrayOutput) Index(i pulumi.IntInput) HanaInstanceOutput
- func (o HanaInstanceArrayOutput) ToHanaInstanceArrayOutput() HanaInstanceArrayOutput
- func (o HanaInstanceArrayOutput) ToHanaInstanceArrayOutputWithContext(ctx context.Context) HanaInstanceArrayOutput
- type HanaInstanceInput
- type HanaInstanceMap
- type HanaInstanceMapInput
- type HanaInstanceMapOutput
- func (HanaInstanceMapOutput) ElementType() reflect.Type
- func (o HanaInstanceMapOutput) MapIndex(k pulumi.StringInput) HanaInstanceOutput
- func (o HanaInstanceMapOutput) ToHanaInstanceMapOutput() HanaInstanceMapOutput
- func (o HanaInstanceMapOutput) ToHanaInstanceMapOutputWithContext(ctx context.Context) HanaInstanceMapOutput
- type HanaInstanceOutput
- func (o HanaInstanceOutput) AlertSetting() pulumi.StringOutput
- func (o HanaInstanceOutput) EcsInstanceIds() pulumi.StringArrayOutput
- func (HanaInstanceOutput) ElementType() reflect.Type
- func (o HanaInstanceOutput) HanaInstanceId() pulumi.StringOutput
- func (o HanaInstanceOutput) HanaName() pulumi.StringPtrOutput
- func (o HanaInstanceOutput) Host() pulumi.StringPtrOutput
- func (o HanaInstanceOutput) InstanceNumber() pulumi.IntPtrOutput
- func (o HanaInstanceOutput) Password() pulumi.StringPtrOutput
- func (o HanaInstanceOutput) ResourceGroupId() pulumi.StringOutput
- func (o HanaInstanceOutput) Sid() pulumi.StringPtrOutput
- func (o HanaInstanceOutput) Status() pulumi.StringOutput
- func (o HanaInstanceOutput) ToHanaInstanceOutput() HanaInstanceOutput
- func (o HanaInstanceOutput) ToHanaInstanceOutputWithContext(ctx context.Context) HanaInstanceOutput
- func (o HanaInstanceOutput) UseSsl() pulumi.BoolPtrOutput
- func (o HanaInstanceOutput) UserName() pulumi.StringPtrOutput
- func (o HanaInstanceOutput) ValidateCertificate() pulumi.BoolPtrOutput
- func (o HanaInstanceOutput) VaultId() pulumi.StringOutput
- type HanaInstanceState
- type NasBackupPlan
- type NasBackupPlanArgs
- type NasBackupPlanArray
- type NasBackupPlanArrayInput
- type NasBackupPlanArrayOutput
- func (NasBackupPlanArrayOutput) ElementType() reflect.Type
- func (o NasBackupPlanArrayOutput) Index(i pulumi.IntInput) NasBackupPlanOutput
- func (o NasBackupPlanArrayOutput) ToNasBackupPlanArrayOutput() NasBackupPlanArrayOutput
- func (o NasBackupPlanArrayOutput) ToNasBackupPlanArrayOutputWithContext(ctx context.Context) NasBackupPlanArrayOutput
- type NasBackupPlanInput
- type NasBackupPlanMap
- type NasBackupPlanMapInput
- type NasBackupPlanMapOutput
- func (NasBackupPlanMapOutput) ElementType() reflect.Type
- func (o NasBackupPlanMapOutput) MapIndex(k pulumi.StringInput) NasBackupPlanOutput
- func (o NasBackupPlanMapOutput) ToNasBackupPlanMapOutput() NasBackupPlanMapOutput
- func (o NasBackupPlanMapOutput) ToNasBackupPlanMapOutputWithContext(ctx context.Context) NasBackupPlanMapOutput
- type NasBackupPlanOutput
- func (o NasBackupPlanOutput) BackupType() pulumi.StringOutput
- func (o NasBackupPlanOutput) CreateTime() pulumi.StringOutputdeprecated
- func (o NasBackupPlanOutput) CrossAccountRoleName() pulumi.StringPtrOutput
- func (o NasBackupPlanOutput) CrossAccountType() pulumi.StringOutput
- func (o NasBackupPlanOutput) CrossAccountUserId() pulumi.IntPtrOutput
- func (o NasBackupPlanOutput) Disabled() pulumi.BoolOutput
- func (NasBackupPlanOutput) ElementType() reflect.Type
- func (o NasBackupPlanOutput) FileSystemId() pulumi.StringOutput
- func (o NasBackupPlanOutput) NasBackupPlanName() pulumi.StringOutput
- func (o NasBackupPlanOutput) Options() pulumi.StringPtrOutput
- func (o NasBackupPlanOutput) Paths() pulumi.StringArrayOutput
- func (o NasBackupPlanOutput) Retention() pulumi.StringOutput
- func (o NasBackupPlanOutput) Schedule() pulumi.StringOutput
- func (o NasBackupPlanOutput) ToNasBackupPlanOutput() NasBackupPlanOutput
- func (o NasBackupPlanOutput) ToNasBackupPlanOutputWithContext(ctx context.Context) NasBackupPlanOutput
- func (o NasBackupPlanOutput) VaultId() pulumi.StringOutput
- type NasBackupPlanState
- type OssBackupPlan
- type OssBackupPlanArgs
- type OssBackupPlanArray
- type OssBackupPlanArrayInput
- type OssBackupPlanArrayOutput
- func (OssBackupPlanArrayOutput) ElementType() reflect.Type
- func (o OssBackupPlanArrayOutput) Index(i pulumi.IntInput) OssBackupPlanOutput
- func (o OssBackupPlanArrayOutput) ToOssBackupPlanArrayOutput() OssBackupPlanArrayOutput
- func (o OssBackupPlanArrayOutput) ToOssBackupPlanArrayOutputWithContext(ctx context.Context) OssBackupPlanArrayOutput
- type OssBackupPlanInput
- type OssBackupPlanMap
- type OssBackupPlanMapInput
- type OssBackupPlanMapOutput
- func (OssBackupPlanMapOutput) ElementType() reflect.Type
- func (o OssBackupPlanMapOutput) MapIndex(k pulumi.StringInput) OssBackupPlanOutput
- func (o OssBackupPlanMapOutput) ToOssBackupPlanMapOutput() OssBackupPlanMapOutput
- func (o OssBackupPlanMapOutput) ToOssBackupPlanMapOutputWithContext(ctx context.Context) OssBackupPlanMapOutput
- type OssBackupPlanOutput
- func (o OssBackupPlanOutput) BackupType() pulumi.StringOutput
- func (o OssBackupPlanOutput) Bucket() pulumi.StringOutput
- func (o OssBackupPlanOutput) CrossAccountRoleName() pulumi.StringPtrOutput
- func (o OssBackupPlanOutput) CrossAccountType() pulumi.StringOutput
- func (o OssBackupPlanOutput) CrossAccountUserId() pulumi.IntPtrOutput
- func (o OssBackupPlanOutput) Disabled() pulumi.BoolOutput
- func (OssBackupPlanOutput) ElementType() reflect.Type
- func (o OssBackupPlanOutput) OssBackupPlanName() pulumi.StringOutput
- func (o OssBackupPlanOutput) Prefix() pulumi.StringPtrOutput
- func (o OssBackupPlanOutput) Retention() pulumi.StringOutput
- func (o OssBackupPlanOutput) Schedule() pulumi.StringOutput
- func (o OssBackupPlanOutput) ToOssBackupPlanOutput() OssBackupPlanOutput
- func (o OssBackupPlanOutput) ToOssBackupPlanOutputWithContext(ctx context.Context) OssBackupPlanOutput
- func (o OssBackupPlanOutput) VaultId() pulumi.StringOutput
- type OssBackupPlanState
- type OtsBackupPlan
- type OtsBackupPlanArgs
- type OtsBackupPlanArray
- type OtsBackupPlanArrayInput
- type OtsBackupPlanArrayOutput
- func (OtsBackupPlanArrayOutput) ElementType() reflect.Type
- func (o OtsBackupPlanArrayOutput) Index(i pulumi.IntInput) OtsBackupPlanOutput
- func (o OtsBackupPlanArrayOutput) ToOtsBackupPlanArrayOutput() OtsBackupPlanArrayOutput
- func (o OtsBackupPlanArrayOutput) ToOtsBackupPlanArrayOutputWithContext(ctx context.Context) OtsBackupPlanArrayOutput
- type OtsBackupPlanInput
- type OtsBackupPlanMap
- type OtsBackupPlanMapInput
- type OtsBackupPlanMapOutput
- func (OtsBackupPlanMapOutput) ElementType() reflect.Type
- func (o OtsBackupPlanMapOutput) MapIndex(k pulumi.StringInput) OtsBackupPlanOutput
- func (o OtsBackupPlanMapOutput) ToOtsBackupPlanMapOutput() OtsBackupPlanMapOutput
- func (o OtsBackupPlanMapOutput) ToOtsBackupPlanMapOutputWithContext(ctx context.Context) OtsBackupPlanMapOutput
- type OtsBackupPlanOtsDetail
- type OtsBackupPlanOtsDetailArgs
- type OtsBackupPlanOtsDetailArray
- func (OtsBackupPlanOtsDetailArray) ElementType() reflect.Type
- func (i OtsBackupPlanOtsDetailArray) ToOtsBackupPlanOtsDetailArrayOutput() OtsBackupPlanOtsDetailArrayOutput
- func (i OtsBackupPlanOtsDetailArray) ToOtsBackupPlanOtsDetailArrayOutputWithContext(ctx context.Context) OtsBackupPlanOtsDetailArrayOutput
- type OtsBackupPlanOtsDetailArrayInput
- type OtsBackupPlanOtsDetailArrayOutput
- func (OtsBackupPlanOtsDetailArrayOutput) ElementType() reflect.Type
- func (o OtsBackupPlanOtsDetailArrayOutput) Index(i pulumi.IntInput) OtsBackupPlanOtsDetailOutput
- func (o OtsBackupPlanOtsDetailArrayOutput) ToOtsBackupPlanOtsDetailArrayOutput() OtsBackupPlanOtsDetailArrayOutput
- func (o OtsBackupPlanOtsDetailArrayOutput) ToOtsBackupPlanOtsDetailArrayOutputWithContext(ctx context.Context) OtsBackupPlanOtsDetailArrayOutput
- type OtsBackupPlanOtsDetailInput
- type OtsBackupPlanOtsDetailOutput
- func (OtsBackupPlanOtsDetailOutput) ElementType() reflect.Type
- func (o OtsBackupPlanOtsDetailOutput) TableNames() pulumi.StringArrayOutput
- func (o OtsBackupPlanOtsDetailOutput) ToOtsBackupPlanOtsDetailOutput() OtsBackupPlanOtsDetailOutput
- func (o OtsBackupPlanOtsDetailOutput) ToOtsBackupPlanOtsDetailOutputWithContext(ctx context.Context) OtsBackupPlanOtsDetailOutput
- type OtsBackupPlanOutput
- func (o OtsBackupPlanOutput) BackupType() pulumi.StringOutput
- func (o OtsBackupPlanOutput) CrossAccountRoleName() pulumi.StringPtrOutput
- func (o OtsBackupPlanOutput) CrossAccountType() pulumi.StringOutput
- func (o OtsBackupPlanOutput) CrossAccountUserId() pulumi.IntPtrOutput
- func (o OtsBackupPlanOutput) Disabled() pulumi.BoolOutput
- func (OtsBackupPlanOutput) ElementType() reflect.Type
- func (o OtsBackupPlanOutput) InstanceName() pulumi.StringPtrOutput
- func (o OtsBackupPlanOutput) OtsBackupPlanName() pulumi.StringOutput
- func (o OtsBackupPlanOutput) OtsDetails() OtsBackupPlanOtsDetailArrayOutput
- func (o OtsBackupPlanOutput) Retention() pulumi.StringOutput
- func (o OtsBackupPlanOutput) Rules() OtsBackupPlanRuleArrayOutput
- func (o OtsBackupPlanOutput) Schedule() pulumi.StringPtrOutputdeprecated
- func (o OtsBackupPlanOutput) ToOtsBackupPlanOutput() OtsBackupPlanOutput
- func (o OtsBackupPlanOutput) ToOtsBackupPlanOutputWithContext(ctx context.Context) OtsBackupPlanOutput
- func (o OtsBackupPlanOutput) VaultId() pulumi.StringPtrOutput
- type OtsBackupPlanRule
- type OtsBackupPlanRuleArgs
- type OtsBackupPlanRuleArray
- type OtsBackupPlanRuleArrayInput
- type OtsBackupPlanRuleArrayOutput
- func (OtsBackupPlanRuleArrayOutput) ElementType() reflect.Type
- func (o OtsBackupPlanRuleArrayOutput) Index(i pulumi.IntInput) OtsBackupPlanRuleOutput
- func (o OtsBackupPlanRuleArrayOutput) ToOtsBackupPlanRuleArrayOutput() OtsBackupPlanRuleArrayOutput
- func (o OtsBackupPlanRuleArrayOutput) ToOtsBackupPlanRuleArrayOutputWithContext(ctx context.Context) OtsBackupPlanRuleArrayOutput
- type OtsBackupPlanRuleInput
- type OtsBackupPlanRuleOutput
- func (o OtsBackupPlanRuleOutput) BackupType() pulumi.StringPtrOutput
- func (o OtsBackupPlanRuleOutput) Disabled() pulumi.BoolPtrOutput
- func (OtsBackupPlanRuleOutput) ElementType() reflect.Type
- func (o OtsBackupPlanRuleOutput) Retention() pulumi.StringPtrOutput
- func (o OtsBackupPlanRuleOutput) RuleName() pulumi.StringPtrOutput
- func (o OtsBackupPlanRuleOutput) Schedule() pulumi.StringPtrOutput
- func (o OtsBackupPlanRuleOutput) ToOtsBackupPlanRuleOutput() OtsBackupPlanRuleOutput
- func (o OtsBackupPlanRuleOutput) ToOtsBackupPlanRuleOutputWithContext(ctx context.Context) OtsBackupPlanRuleOutput
- type OtsBackupPlanState
- type ReplicationVault
- type ReplicationVaultArgs
- type ReplicationVaultArray
- type ReplicationVaultArrayInput
- type ReplicationVaultArrayOutput
- func (ReplicationVaultArrayOutput) ElementType() reflect.Type
- func (o ReplicationVaultArrayOutput) Index(i pulumi.IntInput) ReplicationVaultOutput
- func (o ReplicationVaultArrayOutput) ToReplicationVaultArrayOutput() ReplicationVaultArrayOutput
- func (o ReplicationVaultArrayOutput) ToReplicationVaultArrayOutputWithContext(ctx context.Context) ReplicationVaultArrayOutput
- type ReplicationVaultInput
- type ReplicationVaultMap
- type ReplicationVaultMapInput
- type ReplicationVaultMapOutput
- func (ReplicationVaultMapOutput) ElementType() reflect.Type
- func (o ReplicationVaultMapOutput) MapIndex(k pulumi.StringInput) ReplicationVaultOutput
- func (o ReplicationVaultMapOutput) ToReplicationVaultMapOutput() ReplicationVaultMapOutput
- func (o ReplicationVaultMapOutput) ToReplicationVaultMapOutputWithContext(ctx context.Context) ReplicationVaultMapOutput
- type ReplicationVaultOutput
- func (o ReplicationVaultOutput) Description() pulumi.StringPtrOutput
- func (ReplicationVaultOutput) ElementType() reflect.Type
- func (o ReplicationVaultOutput) ReplicationSourceRegionId() pulumi.StringOutput
- func (o ReplicationVaultOutput) ReplicationSourceVaultId() pulumi.StringOutput
- func (o ReplicationVaultOutput) Status() pulumi.StringOutput
- func (o ReplicationVaultOutput) ToReplicationVaultOutput() ReplicationVaultOutput
- func (o ReplicationVaultOutput) ToReplicationVaultOutputWithContext(ctx context.Context) ReplicationVaultOutput
- func (o ReplicationVaultOutput) VaultName() pulumi.StringOutput
- func (o ReplicationVaultOutput) VaultStorageClass() pulumi.StringOutput
- type ReplicationVaultState
- type RestoreJob
- type RestoreJobArgs
- type RestoreJobArray
- type RestoreJobArrayInput
- type RestoreJobArrayOutput
- func (RestoreJobArrayOutput) ElementType() reflect.Type
- func (o RestoreJobArrayOutput) Index(i pulumi.IntInput) RestoreJobOutput
- func (o RestoreJobArrayOutput) ToRestoreJobArrayOutput() RestoreJobArrayOutput
- func (o RestoreJobArrayOutput) ToRestoreJobArrayOutputWithContext(ctx context.Context) RestoreJobArrayOutput
- type RestoreJobInput
- type RestoreJobMap
- type RestoreJobMapInput
- type RestoreJobMapOutput
- func (RestoreJobMapOutput) ElementType() reflect.Type
- func (o RestoreJobMapOutput) MapIndex(k pulumi.StringInput) RestoreJobOutput
- func (o RestoreJobMapOutput) ToRestoreJobMapOutput() RestoreJobMapOutput
- func (o RestoreJobMapOutput) ToRestoreJobMapOutputWithContext(ctx context.Context) RestoreJobMapOutput
- type RestoreJobOtsDetail
- type RestoreJobOtsDetailArgs
- func (RestoreJobOtsDetailArgs) ElementType() reflect.Type
- func (i RestoreJobOtsDetailArgs) ToRestoreJobOtsDetailOutput() RestoreJobOtsDetailOutput
- func (i RestoreJobOtsDetailArgs) ToRestoreJobOtsDetailOutputWithContext(ctx context.Context) RestoreJobOtsDetailOutput
- func (i RestoreJobOtsDetailArgs) ToRestoreJobOtsDetailPtrOutput() RestoreJobOtsDetailPtrOutput
- func (i RestoreJobOtsDetailArgs) ToRestoreJobOtsDetailPtrOutputWithContext(ctx context.Context) RestoreJobOtsDetailPtrOutput
- type RestoreJobOtsDetailInput
- type RestoreJobOtsDetailOutput
- func (RestoreJobOtsDetailOutput) ElementType() reflect.Type
- func (o RestoreJobOtsDetailOutput) OverwriteExisting() pulumi.BoolPtrOutput
- func (o RestoreJobOtsDetailOutput) ToRestoreJobOtsDetailOutput() RestoreJobOtsDetailOutput
- func (o RestoreJobOtsDetailOutput) ToRestoreJobOtsDetailOutputWithContext(ctx context.Context) RestoreJobOtsDetailOutput
- func (o RestoreJobOtsDetailOutput) ToRestoreJobOtsDetailPtrOutput() RestoreJobOtsDetailPtrOutput
- func (o RestoreJobOtsDetailOutput) ToRestoreJobOtsDetailPtrOutputWithContext(ctx context.Context) RestoreJobOtsDetailPtrOutput
- type RestoreJobOtsDetailPtrInput
- type RestoreJobOtsDetailPtrOutput
- func (o RestoreJobOtsDetailPtrOutput) Elem() RestoreJobOtsDetailOutput
- func (RestoreJobOtsDetailPtrOutput) ElementType() reflect.Type
- func (o RestoreJobOtsDetailPtrOutput) OverwriteExisting() pulumi.BoolPtrOutput
- func (o RestoreJobOtsDetailPtrOutput) ToRestoreJobOtsDetailPtrOutput() RestoreJobOtsDetailPtrOutput
- func (o RestoreJobOtsDetailPtrOutput) ToRestoreJobOtsDetailPtrOutputWithContext(ctx context.Context) RestoreJobOtsDetailPtrOutput
- type RestoreJobOutput
- func (o RestoreJobOutput) CrossAccountRoleName() pulumi.StringPtrOutput
- func (o RestoreJobOutput) CrossAccountType() pulumi.StringOutput
- func (o RestoreJobOutput) CrossAccountUserId() pulumi.IntPtrOutput
- func (RestoreJobOutput) ElementType() reflect.Type
- func (o RestoreJobOutput) Exclude() pulumi.StringPtrOutput
- func (o RestoreJobOutput) Include() pulumi.StringPtrOutput
- func (o RestoreJobOutput) Options() pulumi.StringPtrOutput
- func (o RestoreJobOutput) OtsDetail() RestoreJobOtsDetailOutput
- func (o RestoreJobOutput) RestoreJobId() pulumi.StringOutput
- func (o RestoreJobOutput) RestoreType() pulumi.StringOutput
- func (o RestoreJobOutput) SnapshotHash() pulumi.StringOutput
- func (o RestoreJobOutput) SnapshotId() pulumi.StringOutput
- func (o RestoreJobOutput) SourceType() pulumi.StringOutput
- func (o RestoreJobOutput) Status() pulumi.StringOutput
- func (o RestoreJobOutput) TargetBucket() pulumi.StringPtrOutput
- func (o RestoreJobOutput) TargetClientId() pulumi.StringPtrOutput
- func (o RestoreJobOutput) TargetCreateTime() pulumi.StringPtrOutput
- func (o RestoreJobOutput) TargetDataSourceId() pulumi.StringPtrOutput
- func (o RestoreJobOutput) TargetFileSystemId() pulumi.StringPtrOutput
- func (o RestoreJobOutput) TargetInstanceId() pulumi.StringPtrOutput
- func (o RestoreJobOutput) TargetInstanceName() pulumi.StringPtrOutput
- func (o RestoreJobOutput) TargetPath() pulumi.StringPtrOutput
- func (o RestoreJobOutput) TargetPrefix() pulumi.StringPtrOutput
- func (o RestoreJobOutput) TargetTableName() pulumi.StringPtrOutput
- func (o RestoreJobOutput) TargetTime() pulumi.StringPtrOutput
- func (o RestoreJobOutput) ToRestoreJobOutput() RestoreJobOutput
- func (o RestoreJobOutput) ToRestoreJobOutputWithContext(ctx context.Context) RestoreJobOutput
- func (o RestoreJobOutput) UdmDetail() pulumi.StringPtrOutput
- func (o RestoreJobOutput) VaultId() pulumi.StringOutput
- type RestoreJobState
- type ServerBackupPlan
- type ServerBackupPlanArgs
- type ServerBackupPlanArray
- type ServerBackupPlanArrayInput
- type ServerBackupPlanArrayOutput
- func (ServerBackupPlanArrayOutput) ElementType() reflect.Type
- func (o ServerBackupPlanArrayOutput) Index(i pulumi.IntInput) ServerBackupPlanOutput
- func (o ServerBackupPlanArrayOutput) ToServerBackupPlanArrayOutput() ServerBackupPlanArrayOutput
- func (o ServerBackupPlanArrayOutput) ToServerBackupPlanArrayOutputWithContext(ctx context.Context) ServerBackupPlanArrayOutput
- type ServerBackupPlanDetail
- type ServerBackupPlanDetailArgs
- type ServerBackupPlanDetailArray
- func (ServerBackupPlanDetailArray) ElementType() reflect.Type
- func (i ServerBackupPlanDetailArray) ToServerBackupPlanDetailArrayOutput() ServerBackupPlanDetailArrayOutput
- func (i ServerBackupPlanDetailArray) ToServerBackupPlanDetailArrayOutputWithContext(ctx context.Context) ServerBackupPlanDetailArrayOutput
- type ServerBackupPlanDetailArrayInput
- type ServerBackupPlanDetailArrayOutput
- func (ServerBackupPlanDetailArrayOutput) ElementType() reflect.Type
- func (o ServerBackupPlanDetailArrayOutput) Index(i pulumi.IntInput) ServerBackupPlanDetailOutput
- func (o ServerBackupPlanDetailArrayOutput) ToServerBackupPlanDetailArrayOutput() ServerBackupPlanDetailArrayOutput
- func (o ServerBackupPlanDetailArrayOutput) ToServerBackupPlanDetailArrayOutputWithContext(ctx context.Context) ServerBackupPlanDetailArrayOutput
- type ServerBackupPlanDetailInput
- type ServerBackupPlanDetailOutput
- func (o ServerBackupPlanDetailOutput) AppConsistent() pulumi.BoolOutput
- func (o ServerBackupPlanDetailOutput) DestinationRegionId() pulumi.StringPtrOutput
- func (o ServerBackupPlanDetailOutput) DestinationRetention() pulumi.IntPtrOutput
- func (o ServerBackupPlanDetailOutput) DiskIdLists() pulumi.StringArrayOutput
- func (o ServerBackupPlanDetailOutput) DoCopy() pulumi.BoolPtrOutput
- func (ServerBackupPlanDetailOutput) ElementType() reflect.Type
- func (o ServerBackupPlanDetailOutput) EnableFsFreeze() pulumi.BoolPtrOutput
- func (o ServerBackupPlanDetailOutput) PostScriptPath() pulumi.StringPtrOutput
- func (o ServerBackupPlanDetailOutput) PreScriptPath() pulumi.StringPtrOutput
- func (o ServerBackupPlanDetailOutput) SnapshotGroup() pulumi.BoolOutput
- func (o ServerBackupPlanDetailOutput) TimeoutInSeconds() pulumi.IntPtrOutput
- func (o ServerBackupPlanDetailOutput) ToServerBackupPlanDetailOutput() ServerBackupPlanDetailOutput
- func (o ServerBackupPlanDetailOutput) ToServerBackupPlanDetailOutputWithContext(ctx context.Context) ServerBackupPlanDetailOutput
- type ServerBackupPlanInput
- type ServerBackupPlanMap
- type ServerBackupPlanMapInput
- type ServerBackupPlanMapOutput
- func (ServerBackupPlanMapOutput) ElementType() reflect.Type
- func (o ServerBackupPlanMapOutput) MapIndex(k pulumi.StringInput) ServerBackupPlanOutput
- func (o ServerBackupPlanMapOutput) ToServerBackupPlanMapOutput() ServerBackupPlanMapOutput
- func (o ServerBackupPlanMapOutput) ToServerBackupPlanMapOutputWithContext(ctx context.Context) ServerBackupPlanMapOutput
- type ServerBackupPlanOutput
- func (o ServerBackupPlanOutput) Details() ServerBackupPlanDetailArrayOutput
- func (o ServerBackupPlanOutput) Disabled() pulumi.BoolOutput
- func (o ServerBackupPlanOutput) EcsServerBackupPlanName() pulumi.StringOutput
- func (ServerBackupPlanOutput) ElementType() reflect.Type
- func (o ServerBackupPlanOutput) InstanceId() pulumi.StringOutput
- func (o ServerBackupPlanOutput) Retention() pulumi.IntOutput
- func (o ServerBackupPlanOutput) Schedule() pulumi.StringOutput
- func (o ServerBackupPlanOutput) ToServerBackupPlanOutput() ServerBackupPlanOutput
- func (o ServerBackupPlanOutput) ToServerBackupPlanOutputWithContext(ctx context.Context) ServerBackupPlanOutput
- type ServerBackupPlanState
- type Vault
- type VaultArgs
- type VaultArray
- type VaultArrayInput
- type VaultArrayOutput
- type VaultInput
- type VaultMap
- type VaultMapInput
- type VaultMapOutput
- type VaultOutput
- func (o VaultOutput) Description() pulumi.StringPtrOutput
- func (VaultOutput) ElementType() reflect.Type
- func (o VaultOutput) EncryptType() pulumi.StringOutput
- func (o VaultOutput) KmsKeyId() pulumi.StringPtrOutput
- func (o VaultOutput) RedundancyType() pulumi.StringOutput
- func (o VaultOutput) Status() pulumi.StringOutput
- func (o VaultOutput) ToVaultOutput() VaultOutput
- func (o VaultOutput) ToVaultOutputWithContext(ctx context.Context) VaultOutput
- func (o VaultOutput) VaultName() pulumi.StringOutput
- func (o VaultOutput) VaultStorageClass() pulumi.StringOutput
- func (o VaultOutput) VaultType() pulumi.StringOutput
- type VaultState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PkgVersion ¶ added in v0.0.1
PkgVersion uses reflection to determine the version of the current package. If a version cannot be determined, v1 will be assumed. The second return value is always nil.
Types ¶
type EcsBackupClient ¶
type EcsBackupClient struct { pulumi.CustomResourceState // The data plane access point type. Valid values: `CLASSIC`, `PUBLIC`, `VPC`. **NOTE:** The value of `CLASSIC` has been deprecated in v1.161.0+. DataNetworkType pulumi.StringOutput `pulumi:"dataNetworkType"` // The data plane proxy settings. Valid values: `CUSTOM`, `DISABLE`, `USE_CONTROL_PROXY`. DataProxySetting pulumi.StringOutput `pulumi:"dataProxySetting"` // The ID of ECS instance. InstanceId pulumi.StringOutput `pulumi:"instanceId"` // The number of CPU cores used by a single backup task, 0 means no restrictions. MaxCpuCore pulumi.StringOutput `pulumi:"maxCpuCore"` // The number of concurrent jobs for a single backup task, 0 means no restrictions. MaxWorker pulumi.StringOutput `pulumi:"maxWorker"` // Custom data plane proxy server host address. ProxyHost pulumi.StringOutput `pulumi:"proxyHost"` // The password of custom data plane proxy server. ProxyPassword pulumi.StringOutput `pulumi:"proxyPassword"` // Custom data plane proxy server host port. ProxyPort pulumi.StringOutput `pulumi:"proxyPort"` // The username of custom data plane proxy server. ProxyUser pulumi.StringOutput `pulumi:"proxyUser"` // Status of client. Valid values: `ACTIVATED`, `STOPPED`. You can start or stop the client by specifying the status. Status pulumi.StringOutput `pulumi:"status"` // Indicates whether to use the HTTPS protocol. Valid values: `true`, `false`. UseHttps pulumi.BoolOutput `pulumi:"useHttps"` }
Provides a Hybrid Backup Recovery (HBR) Ecs Backup Client resource.
For information about Hybrid Backup Recovery (HBR) Ecs Backup Client and how to use it, see [What is Ecs Backup Client](https://www.alibabacloud.com/help/doc-detail/186570.htm).
> **NOTE:** Available in v1.132.0+.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/ecs" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/ecs" "github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/hbr"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _default, err := ecs.GetInstances(ctx, &ecs.GetInstancesArgs{ NameRegex: pulumi.StringRef("ecs_instance_name"), Status: pulumi.StringRef("Running"), }, nil) if err != nil { return err } _, err = hbr.NewEcsBackupClient(ctx, "example", &hbr.EcsBackupClientArgs{ InstanceId: pulumi.String(_default.Instances[0].Id), UseHttps: pulumi.Bool(false), DataNetworkType: pulumi.String("PUBLIC"), MaxCpuCore: pulumi.String("2"), MaxWorker: pulumi.String("4"), DataProxySetting: pulumi.String("USE_CONTROL_PROXY"), ProxyHost: pulumi.String("192.168.11.101"), ProxyPort: pulumi.String("80"), ProxyUser: pulumi.String("user"), ProxyPassword: pulumi.String("password"), }) if err != nil { return err } return nil }) }
``` ## Notice
> **Note:** Please read the following precautions carefully before deleting a client: 1. You cannot delete active clients that have received heartbeat packets within one hour. 2. You can make the client inactive by change the status of client to `STOPPED`. 3. The resources bound to the client will be deleted in cascade, including:
- Backup plan
- Backup task (Running in the background)
- Snapshot
## Import
Hybrid Backup Recovery (HBR) Ecs Backup Client can be imported using the id, e.g.
```sh
$ pulumi import alicloud:hbr/ecsBackupClient:EcsBackupClient example <id>
```
func GetEcsBackupClient ¶
func GetEcsBackupClient(ctx *pulumi.Context, name string, id pulumi.IDInput, state *EcsBackupClientState, opts ...pulumi.ResourceOption) (*EcsBackupClient, error)
GetEcsBackupClient gets an existing EcsBackupClient 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 NewEcsBackupClient ¶
func NewEcsBackupClient(ctx *pulumi.Context, name string, args *EcsBackupClientArgs, opts ...pulumi.ResourceOption) (*EcsBackupClient, error)
NewEcsBackupClient registers a new resource with the given unique name, arguments, and options.
func (*EcsBackupClient) ElementType ¶
func (*EcsBackupClient) ElementType() reflect.Type
func (*EcsBackupClient) ToEcsBackupClientOutput ¶
func (i *EcsBackupClient) ToEcsBackupClientOutput() EcsBackupClientOutput
func (*EcsBackupClient) ToEcsBackupClientOutputWithContext ¶
func (i *EcsBackupClient) ToEcsBackupClientOutputWithContext(ctx context.Context) EcsBackupClientOutput
type EcsBackupClientArgs ¶
type EcsBackupClientArgs struct { // The data plane access point type. Valid values: `CLASSIC`, `PUBLIC`, `VPC`. **NOTE:** The value of `CLASSIC` has been deprecated in v1.161.0+. DataNetworkType pulumi.StringPtrInput // The data plane proxy settings. Valid values: `CUSTOM`, `DISABLE`, `USE_CONTROL_PROXY`. DataProxySetting pulumi.StringPtrInput // The ID of ECS instance. InstanceId pulumi.StringInput // The number of CPU cores used by a single backup task, 0 means no restrictions. MaxCpuCore pulumi.StringPtrInput // The number of concurrent jobs for a single backup task, 0 means no restrictions. MaxWorker pulumi.StringPtrInput // Custom data plane proxy server host address. ProxyHost pulumi.StringPtrInput // The password of custom data plane proxy server. ProxyPassword pulumi.StringPtrInput // Custom data plane proxy server host port. ProxyPort pulumi.StringPtrInput // The username of custom data plane proxy server. ProxyUser pulumi.StringPtrInput // Status of client. Valid values: `ACTIVATED`, `STOPPED`. You can start or stop the client by specifying the status. Status pulumi.StringPtrInput // Indicates whether to use the HTTPS protocol. Valid values: `true`, `false`. UseHttps pulumi.BoolPtrInput }
The set of arguments for constructing a EcsBackupClient resource.
func (EcsBackupClientArgs) ElementType ¶
func (EcsBackupClientArgs) ElementType() reflect.Type
type EcsBackupClientArray ¶
type EcsBackupClientArray []EcsBackupClientInput
func (EcsBackupClientArray) ElementType ¶
func (EcsBackupClientArray) ElementType() reflect.Type
func (EcsBackupClientArray) ToEcsBackupClientArrayOutput ¶
func (i EcsBackupClientArray) ToEcsBackupClientArrayOutput() EcsBackupClientArrayOutput
func (EcsBackupClientArray) ToEcsBackupClientArrayOutputWithContext ¶
func (i EcsBackupClientArray) ToEcsBackupClientArrayOutputWithContext(ctx context.Context) EcsBackupClientArrayOutput
type EcsBackupClientArrayInput ¶
type EcsBackupClientArrayInput interface { pulumi.Input ToEcsBackupClientArrayOutput() EcsBackupClientArrayOutput ToEcsBackupClientArrayOutputWithContext(context.Context) EcsBackupClientArrayOutput }
EcsBackupClientArrayInput is an input type that accepts EcsBackupClientArray and EcsBackupClientArrayOutput values. You can construct a concrete instance of `EcsBackupClientArrayInput` via:
EcsBackupClientArray{ EcsBackupClientArgs{...} }
type EcsBackupClientArrayOutput ¶
type EcsBackupClientArrayOutput struct{ *pulumi.OutputState }
func (EcsBackupClientArrayOutput) ElementType ¶
func (EcsBackupClientArrayOutput) ElementType() reflect.Type
func (EcsBackupClientArrayOutput) Index ¶
func (o EcsBackupClientArrayOutput) Index(i pulumi.IntInput) EcsBackupClientOutput
func (EcsBackupClientArrayOutput) ToEcsBackupClientArrayOutput ¶
func (o EcsBackupClientArrayOutput) ToEcsBackupClientArrayOutput() EcsBackupClientArrayOutput
func (EcsBackupClientArrayOutput) ToEcsBackupClientArrayOutputWithContext ¶
func (o EcsBackupClientArrayOutput) ToEcsBackupClientArrayOutputWithContext(ctx context.Context) EcsBackupClientArrayOutput
type EcsBackupClientInput ¶
type EcsBackupClientInput interface { pulumi.Input ToEcsBackupClientOutput() EcsBackupClientOutput ToEcsBackupClientOutputWithContext(ctx context.Context) EcsBackupClientOutput }
type EcsBackupClientMap ¶
type EcsBackupClientMap map[string]EcsBackupClientInput
func (EcsBackupClientMap) ElementType ¶
func (EcsBackupClientMap) ElementType() reflect.Type
func (EcsBackupClientMap) ToEcsBackupClientMapOutput ¶
func (i EcsBackupClientMap) ToEcsBackupClientMapOutput() EcsBackupClientMapOutput
func (EcsBackupClientMap) ToEcsBackupClientMapOutputWithContext ¶
func (i EcsBackupClientMap) ToEcsBackupClientMapOutputWithContext(ctx context.Context) EcsBackupClientMapOutput
type EcsBackupClientMapInput ¶
type EcsBackupClientMapInput interface { pulumi.Input ToEcsBackupClientMapOutput() EcsBackupClientMapOutput ToEcsBackupClientMapOutputWithContext(context.Context) EcsBackupClientMapOutput }
EcsBackupClientMapInput is an input type that accepts EcsBackupClientMap and EcsBackupClientMapOutput values. You can construct a concrete instance of `EcsBackupClientMapInput` via:
EcsBackupClientMap{ "key": EcsBackupClientArgs{...} }
type EcsBackupClientMapOutput ¶
type EcsBackupClientMapOutput struct{ *pulumi.OutputState }
func (EcsBackupClientMapOutput) ElementType ¶
func (EcsBackupClientMapOutput) ElementType() reflect.Type
func (EcsBackupClientMapOutput) MapIndex ¶
func (o EcsBackupClientMapOutput) MapIndex(k pulumi.StringInput) EcsBackupClientOutput
func (EcsBackupClientMapOutput) ToEcsBackupClientMapOutput ¶
func (o EcsBackupClientMapOutput) ToEcsBackupClientMapOutput() EcsBackupClientMapOutput
func (EcsBackupClientMapOutput) ToEcsBackupClientMapOutputWithContext ¶
func (o EcsBackupClientMapOutput) ToEcsBackupClientMapOutputWithContext(ctx context.Context) EcsBackupClientMapOutput
type EcsBackupClientOutput ¶
type EcsBackupClientOutput struct{ *pulumi.OutputState }
func (EcsBackupClientOutput) DataNetworkType ¶
func (o EcsBackupClientOutput) DataNetworkType() pulumi.StringOutput
The data plane access point type. Valid values: `CLASSIC`, `PUBLIC`, `VPC`. **NOTE:** The value of `CLASSIC` has been deprecated in v1.161.0+.
func (EcsBackupClientOutput) DataProxySetting ¶
func (o EcsBackupClientOutput) DataProxySetting() pulumi.StringOutput
The data plane proxy settings. Valid values: `CUSTOM`, `DISABLE`, `USE_CONTROL_PROXY`.
func (EcsBackupClientOutput) ElementType ¶
func (EcsBackupClientOutput) ElementType() reflect.Type
func (EcsBackupClientOutput) InstanceId ¶
func (o EcsBackupClientOutput) InstanceId() pulumi.StringOutput
The ID of ECS instance.
func (EcsBackupClientOutput) MaxCpuCore ¶
func (o EcsBackupClientOutput) MaxCpuCore() pulumi.StringOutput
The number of CPU cores used by a single backup task, 0 means no restrictions.
func (EcsBackupClientOutput) MaxWorker ¶
func (o EcsBackupClientOutput) MaxWorker() pulumi.StringOutput
The number of concurrent jobs for a single backup task, 0 means no restrictions.
func (EcsBackupClientOutput) ProxyHost ¶
func (o EcsBackupClientOutput) ProxyHost() pulumi.StringOutput
Custom data plane proxy server host address.
func (EcsBackupClientOutput) ProxyPassword ¶
func (o EcsBackupClientOutput) ProxyPassword() pulumi.StringOutput
The password of custom data plane proxy server.
func (EcsBackupClientOutput) ProxyPort ¶
func (o EcsBackupClientOutput) ProxyPort() pulumi.StringOutput
Custom data plane proxy server host port.
func (EcsBackupClientOutput) ProxyUser ¶
func (o EcsBackupClientOutput) ProxyUser() pulumi.StringOutput
The username of custom data plane proxy server.
func (EcsBackupClientOutput) Status ¶
func (o EcsBackupClientOutput) Status() pulumi.StringOutput
Status of client. Valid values: `ACTIVATED`, `STOPPED`. You can start or stop the client by specifying the status.
func (EcsBackupClientOutput) ToEcsBackupClientOutput ¶
func (o EcsBackupClientOutput) ToEcsBackupClientOutput() EcsBackupClientOutput
func (EcsBackupClientOutput) ToEcsBackupClientOutputWithContext ¶
func (o EcsBackupClientOutput) ToEcsBackupClientOutputWithContext(ctx context.Context) EcsBackupClientOutput
func (EcsBackupClientOutput) UseHttps ¶
func (o EcsBackupClientOutput) UseHttps() pulumi.BoolOutput
Indicates whether to use the HTTPS protocol. Valid values: `true`, `false`.
type EcsBackupClientState ¶
type EcsBackupClientState struct { // The data plane access point type. Valid values: `CLASSIC`, `PUBLIC`, `VPC`. **NOTE:** The value of `CLASSIC` has been deprecated in v1.161.0+. DataNetworkType pulumi.StringPtrInput // The data plane proxy settings. Valid values: `CUSTOM`, `DISABLE`, `USE_CONTROL_PROXY`. DataProxySetting pulumi.StringPtrInput // The ID of ECS instance. InstanceId pulumi.StringPtrInput // The number of CPU cores used by a single backup task, 0 means no restrictions. MaxCpuCore pulumi.StringPtrInput // The number of concurrent jobs for a single backup task, 0 means no restrictions. MaxWorker pulumi.StringPtrInput // Custom data plane proxy server host address. ProxyHost pulumi.StringPtrInput // The password of custom data plane proxy server. ProxyPassword pulumi.StringPtrInput // Custom data plane proxy server host port. ProxyPort pulumi.StringPtrInput // The username of custom data plane proxy server. ProxyUser pulumi.StringPtrInput // Status of client. Valid values: `ACTIVATED`, `STOPPED`. You can start or stop the client by specifying the status. Status pulumi.StringPtrInput // Indicates whether to use the HTTPS protocol. Valid values: `true`, `false`. UseHttps pulumi.BoolPtrInput }
func (EcsBackupClientState) ElementType ¶
func (EcsBackupClientState) ElementType() reflect.Type
type EcsBackupPlan ¶
type EcsBackupPlan struct { pulumi.CustomResourceState // Backup type. Valid values: `COMPLETE`. BackupType pulumi.StringOutput `pulumi:"backupType"` // The role name created in the original account RAM backup by the cross account managed by the current account. CrossAccountRoleName pulumi.StringPtrOutput `pulumi:"crossAccountRoleName"` // The type of the cross account backup. Valid values: `SELF_ACCOUNT`, `CROSS_ACCOUNT`. CrossAccountType pulumi.StringOutput `pulumi:"crossAccountType"` // The original account ID of the cross account backup managed by the current account. CrossAccountUserId pulumi.IntPtrOutput `pulumi:"crossAccountUserId"` // The detail of the backup plan. Detail pulumi.StringPtrOutput `pulumi:"detail"` // Whether to disable the backup task. Valid values: `true`, `false`. Disabled pulumi.BoolOutput `pulumi:"disabled"` // The name of the backup plan. 1~64 characters, the backup plan name of each data source type in a single warehouse required to be unique. EcsBackupPlanName pulumi.StringOutput `pulumi:"ecsBackupPlanName"` // Exclude path. String of Json list, up to 255 characters. e.g. `"[\"/home/work\"]"` Exclude pulumi.StringPtrOutput `pulumi:"exclude"` // Include path. String of Json list, up to 255 characters. e.g. `"[\"/var\"]"` Include pulumi.StringPtrOutput `pulumi:"include"` // The ID of ECS instance. The ecs backup client must have been installed on the host. InstanceId pulumi.StringOutput `pulumi:"instanceId"` // Windows operating system with application consistency using VSS, e.g: `{\"UseVSS\":false}`. Options pulumi.StringPtrOutput `pulumi:"options"` // List of backup path. e.g. `["/home", "/var"]`. **Note** If `path` is empty, it means that all directories will be backed up. Paths pulumi.StringArrayOutput `pulumi:"paths"` // Backup retention days, the minimum is 1. Retention pulumi.StringOutput `pulumi:"retention"` // Backup strategy. Optional format: `I|{startTime}|{interval}`. It means to execute a backup task every `{interval}` starting from `{startTime}`. The backup task for the elapsed time will not be compensated. If the last backup task has not completed yet, the next backup task will not be triggered. Schedule pulumi.StringOutput `pulumi:"schedule"` // Flow control. The format is: `{start}|{end}|{bandwidth}`. Use `|` to separate multiple flow control configurations, multiple flow control configurations not allowed to have overlapping times. SpeedLimit pulumi.StringPtrOutput `pulumi:"speedLimit"` // Attribute updatePaths has been deprecated in v1.139.0+, and you do not need to set it anymore. // // Deprecated: Attribute update_paths has been deprecated in v1.139.0+ and you do not need to set it anymore. UpdatePaths pulumi.BoolPtrOutput `pulumi:"updatePaths"` // The ID of Backup vault. VaultId pulumi.StringOutput `pulumi:"vaultId"` }
Provides a HBR Ecs Backup Plan resource.
For information about HBR Ecs Backup Plan and how to use it, see [What is Ecs Backup Plan](https://www.alibabacloud.com/help/doc-detail/186574.htm).
> **NOTE:** Available in v1.132.0+.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/ecs" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/pulumi/pulumi/sdk/v3/go/pulumi/config" "github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/ecs" "github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/hbr"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { cfg := config.New(ctx, "") name := "valut-name" if param := cfg.Get("name"); param != "" { name = param } defaultVault, err := hbr.NewVault(ctx, "defaultVault", &hbr.VaultArgs{ VaultName: pulumi.String(name), }) if err != nil { return err } defaultInstances, err := ecs.GetInstances(ctx, &ecs.GetInstancesArgs{ NameRegex: pulumi.StringRef("no-deleteing-hbr-ecs-backup-plan"), Status: pulumi.StringRef("Running"), }, nil) if err != nil { return err } _, err = hbr.NewEcsBackupPlan(ctx, "example", &hbr.EcsBackupPlanArgs{ EcsBackupPlanName: pulumi.String("example_value"), InstanceId: pulumi.String(defaultInstances.Instances[0].Id), VaultId: defaultVault.ID(), Retention: pulumi.String("1"), Schedule: pulumi.String("I|1602673264|PT2H"), BackupType: pulumi.String("COMPLETE"), SpeedLimit: pulumi.String("0:24:5120"), Paths: pulumi.StringArray{ pulumi.String("/home"), pulumi.String("/var"), }, Exclude: pulumi.String(" [\"/home/exclude\"]\n"), Include: pulumi.String(" [\"/home/include\"]\n"), }) if err != nil { return err } return nil }) }
``` ## Notice
**About Backup path rules:** 1. If there is no wildcard `*`, you can enter 8 items of path. 2. When using wildcard `*`, only one item of path can be input, and wildcards like `/*/*` are supported. 3. Each item of path only supports absolute paths, for example starting with `/`, `\`, `C:\`, `D:\`.
**About Restrictions:** 1. When using `VSS`: multiple paths, UNC paths, wildcards, and excluded files not supported. 2. When using `UNC`: VSS not supported, wildcards not supported, and files to be excluded are not supported.
**About include/exclude path rules:** 1. Supports up to 8 paths, including paths using wildcards `*`. 2. If the path does not contain `/`, then `*` matches multiple path names or file names, for example `*abc*` will match `/abc/`, `/d/eabcd/`, `/a/abc`; `*.txt` will match all files with an extension `.txt`. 3. If the path contains `/`, each `*` only matches a single-level path or file name. For example, `/a/*/*/` share will match `/a/b/c/share`, but not `/a/d/share`. 4. If the path ends with `/`, it means the folder matches. For example, `*tmp/` will match `/a/b/aaatmp/`, `/tmp/` and so on. 5. The path separator takes Linux system `/` as an example, if it is Windows system, please replace it with `\`.
## Import
HBR Ecs Backup Plan can be imported using the id, e.g.
```sh
$ pulumi import alicloud:hbr/ecsBackupPlan:EcsBackupPlan example <id>
```
func GetEcsBackupPlan ¶
func GetEcsBackupPlan(ctx *pulumi.Context, name string, id pulumi.IDInput, state *EcsBackupPlanState, opts ...pulumi.ResourceOption) (*EcsBackupPlan, error)
GetEcsBackupPlan gets an existing EcsBackupPlan 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 NewEcsBackupPlan ¶
func NewEcsBackupPlan(ctx *pulumi.Context, name string, args *EcsBackupPlanArgs, opts ...pulumi.ResourceOption) (*EcsBackupPlan, error)
NewEcsBackupPlan registers a new resource with the given unique name, arguments, and options.
func (*EcsBackupPlan) ElementType ¶
func (*EcsBackupPlan) ElementType() reflect.Type
func (*EcsBackupPlan) ToEcsBackupPlanOutput ¶
func (i *EcsBackupPlan) ToEcsBackupPlanOutput() EcsBackupPlanOutput
func (*EcsBackupPlan) ToEcsBackupPlanOutputWithContext ¶
func (i *EcsBackupPlan) ToEcsBackupPlanOutputWithContext(ctx context.Context) EcsBackupPlanOutput
type EcsBackupPlanArgs ¶
type EcsBackupPlanArgs struct { // Backup type. Valid values: `COMPLETE`. BackupType pulumi.StringInput // The role name created in the original account RAM backup by the cross account managed by the current account. CrossAccountRoleName pulumi.StringPtrInput // The type of the cross account backup. Valid values: `SELF_ACCOUNT`, `CROSS_ACCOUNT`. CrossAccountType pulumi.StringPtrInput // The original account ID of the cross account backup managed by the current account. CrossAccountUserId pulumi.IntPtrInput // The detail of the backup plan. Detail pulumi.StringPtrInput // Whether to disable the backup task. Valid values: `true`, `false`. Disabled pulumi.BoolPtrInput // The name of the backup plan. 1~64 characters, the backup plan name of each data source type in a single warehouse required to be unique. EcsBackupPlanName pulumi.StringInput // Exclude path. String of Json list, up to 255 characters. e.g. `"[\"/home/work\"]"` Exclude pulumi.StringPtrInput // Include path. String of Json list, up to 255 characters. e.g. `"[\"/var\"]"` Include pulumi.StringPtrInput // The ID of ECS instance. The ecs backup client must have been installed on the host. InstanceId pulumi.StringInput // Windows operating system with application consistency using VSS, e.g: `{\"UseVSS\":false}`. Options pulumi.StringPtrInput // List of backup path. e.g. `["/home", "/var"]`. **Note** If `path` is empty, it means that all directories will be backed up. Paths pulumi.StringArrayInput // Backup retention days, the minimum is 1. Retention pulumi.StringInput // Backup strategy. Optional format: `I|{startTime}|{interval}`. It means to execute a backup task every `{interval}` starting from `{startTime}`. The backup task for the elapsed time will not be compensated. If the last backup task has not completed yet, the next backup task will not be triggered. Schedule pulumi.StringInput // Flow control. The format is: `{start}|{end}|{bandwidth}`. Use `|` to separate multiple flow control configurations, multiple flow control configurations not allowed to have overlapping times. SpeedLimit pulumi.StringPtrInput // Attribute updatePaths has been deprecated in v1.139.0+, and you do not need to set it anymore. // // Deprecated: Attribute update_paths has been deprecated in v1.139.0+ and you do not need to set it anymore. UpdatePaths pulumi.BoolPtrInput // The ID of Backup vault. VaultId pulumi.StringInput }
The set of arguments for constructing a EcsBackupPlan resource.
func (EcsBackupPlanArgs) ElementType ¶
func (EcsBackupPlanArgs) ElementType() reflect.Type
type EcsBackupPlanArray ¶
type EcsBackupPlanArray []EcsBackupPlanInput
func (EcsBackupPlanArray) ElementType ¶
func (EcsBackupPlanArray) ElementType() reflect.Type
func (EcsBackupPlanArray) ToEcsBackupPlanArrayOutput ¶
func (i EcsBackupPlanArray) ToEcsBackupPlanArrayOutput() EcsBackupPlanArrayOutput
func (EcsBackupPlanArray) ToEcsBackupPlanArrayOutputWithContext ¶
func (i EcsBackupPlanArray) ToEcsBackupPlanArrayOutputWithContext(ctx context.Context) EcsBackupPlanArrayOutput
type EcsBackupPlanArrayInput ¶
type EcsBackupPlanArrayInput interface { pulumi.Input ToEcsBackupPlanArrayOutput() EcsBackupPlanArrayOutput ToEcsBackupPlanArrayOutputWithContext(context.Context) EcsBackupPlanArrayOutput }
EcsBackupPlanArrayInput is an input type that accepts EcsBackupPlanArray and EcsBackupPlanArrayOutput values. You can construct a concrete instance of `EcsBackupPlanArrayInput` via:
EcsBackupPlanArray{ EcsBackupPlanArgs{...} }
type EcsBackupPlanArrayOutput ¶
type EcsBackupPlanArrayOutput struct{ *pulumi.OutputState }
func (EcsBackupPlanArrayOutput) ElementType ¶
func (EcsBackupPlanArrayOutput) ElementType() reflect.Type
func (EcsBackupPlanArrayOutput) Index ¶
func (o EcsBackupPlanArrayOutput) Index(i pulumi.IntInput) EcsBackupPlanOutput
func (EcsBackupPlanArrayOutput) ToEcsBackupPlanArrayOutput ¶
func (o EcsBackupPlanArrayOutput) ToEcsBackupPlanArrayOutput() EcsBackupPlanArrayOutput
func (EcsBackupPlanArrayOutput) ToEcsBackupPlanArrayOutputWithContext ¶
func (o EcsBackupPlanArrayOutput) ToEcsBackupPlanArrayOutputWithContext(ctx context.Context) EcsBackupPlanArrayOutput
type EcsBackupPlanInput ¶
type EcsBackupPlanInput interface { pulumi.Input ToEcsBackupPlanOutput() EcsBackupPlanOutput ToEcsBackupPlanOutputWithContext(ctx context.Context) EcsBackupPlanOutput }
type EcsBackupPlanMap ¶
type EcsBackupPlanMap map[string]EcsBackupPlanInput
func (EcsBackupPlanMap) ElementType ¶
func (EcsBackupPlanMap) ElementType() reflect.Type
func (EcsBackupPlanMap) ToEcsBackupPlanMapOutput ¶
func (i EcsBackupPlanMap) ToEcsBackupPlanMapOutput() EcsBackupPlanMapOutput
func (EcsBackupPlanMap) ToEcsBackupPlanMapOutputWithContext ¶
func (i EcsBackupPlanMap) ToEcsBackupPlanMapOutputWithContext(ctx context.Context) EcsBackupPlanMapOutput
type EcsBackupPlanMapInput ¶
type EcsBackupPlanMapInput interface { pulumi.Input ToEcsBackupPlanMapOutput() EcsBackupPlanMapOutput ToEcsBackupPlanMapOutputWithContext(context.Context) EcsBackupPlanMapOutput }
EcsBackupPlanMapInput is an input type that accepts EcsBackupPlanMap and EcsBackupPlanMapOutput values. You can construct a concrete instance of `EcsBackupPlanMapInput` via:
EcsBackupPlanMap{ "key": EcsBackupPlanArgs{...} }
type EcsBackupPlanMapOutput ¶
type EcsBackupPlanMapOutput struct{ *pulumi.OutputState }
func (EcsBackupPlanMapOutput) ElementType ¶
func (EcsBackupPlanMapOutput) ElementType() reflect.Type
func (EcsBackupPlanMapOutput) MapIndex ¶
func (o EcsBackupPlanMapOutput) MapIndex(k pulumi.StringInput) EcsBackupPlanOutput
func (EcsBackupPlanMapOutput) ToEcsBackupPlanMapOutput ¶
func (o EcsBackupPlanMapOutput) ToEcsBackupPlanMapOutput() EcsBackupPlanMapOutput
func (EcsBackupPlanMapOutput) ToEcsBackupPlanMapOutputWithContext ¶
func (o EcsBackupPlanMapOutput) ToEcsBackupPlanMapOutputWithContext(ctx context.Context) EcsBackupPlanMapOutput
type EcsBackupPlanOutput ¶
type EcsBackupPlanOutput struct{ *pulumi.OutputState }
func (EcsBackupPlanOutput) BackupType ¶
func (o EcsBackupPlanOutput) BackupType() pulumi.StringOutput
Backup type. Valid values: `COMPLETE`.
func (EcsBackupPlanOutput) CrossAccountRoleName ¶
func (o EcsBackupPlanOutput) CrossAccountRoleName() pulumi.StringPtrOutput
The role name created in the original account RAM backup by the cross account managed by the current account.
func (EcsBackupPlanOutput) CrossAccountType ¶
func (o EcsBackupPlanOutput) CrossAccountType() pulumi.StringOutput
The type of the cross account backup. Valid values: `SELF_ACCOUNT`, `CROSS_ACCOUNT`.
func (EcsBackupPlanOutput) CrossAccountUserId ¶
func (o EcsBackupPlanOutput) CrossAccountUserId() pulumi.IntPtrOutput
The original account ID of the cross account backup managed by the current account.
func (EcsBackupPlanOutput) Detail ¶
func (o EcsBackupPlanOutput) Detail() pulumi.StringPtrOutput
The detail of the backup plan.
func (EcsBackupPlanOutput) Disabled ¶
func (o EcsBackupPlanOutput) Disabled() pulumi.BoolOutput
Whether to disable the backup task. Valid values: `true`, `false`.
func (EcsBackupPlanOutput) EcsBackupPlanName ¶
func (o EcsBackupPlanOutput) EcsBackupPlanName() pulumi.StringOutput
The name of the backup plan. 1~64 characters, the backup plan name of each data source type in a single warehouse required to be unique.
func (EcsBackupPlanOutput) ElementType ¶
func (EcsBackupPlanOutput) ElementType() reflect.Type
func (EcsBackupPlanOutput) Exclude ¶
func (o EcsBackupPlanOutput) Exclude() pulumi.StringPtrOutput
Exclude path. String of Json list, up to 255 characters. e.g. `"[\"/home/work\"]"`
func (EcsBackupPlanOutput) Include ¶
func (o EcsBackupPlanOutput) Include() pulumi.StringPtrOutput
Include path. String of Json list, up to 255 characters. e.g. `"[\"/var\"]"`
func (EcsBackupPlanOutput) InstanceId ¶
func (o EcsBackupPlanOutput) InstanceId() pulumi.StringOutput
The ID of ECS instance. The ecs backup client must have been installed on the host.
func (EcsBackupPlanOutput) Options ¶
func (o EcsBackupPlanOutput) Options() pulumi.StringPtrOutput
Windows operating system with application consistency using VSS, e.g: `{\"UseVSS\":false}`.
func (EcsBackupPlanOutput) Paths ¶
func (o EcsBackupPlanOutput) Paths() pulumi.StringArrayOutput
List of backup path. e.g. `["/home", "/var"]`. **Note** If `path` is empty, it means that all directories will be backed up.
func (EcsBackupPlanOutput) Retention ¶
func (o EcsBackupPlanOutput) Retention() pulumi.StringOutput
Backup retention days, the minimum is 1.
func (EcsBackupPlanOutput) Schedule ¶
func (o EcsBackupPlanOutput) Schedule() pulumi.StringOutput
Backup strategy. Optional format: `I|{startTime}|{interval}`. It means to execute a backup task every `{interval}` starting from `{startTime}`. The backup task for the elapsed time will not be compensated. If the last backup task has not completed yet, the next backup task will not be triggered.
func (EcsBackupPlanOutput) SpeedLimit ¶
func (o EcsBackupPlanOutput) SpeedLimit() pulumi.StringPtrOutput
Flow control. The format is: `{start}|{end}|{bandwidth}`. Use `|` to separate multiple flow control configurations, multiple flow control configurations not allowed to have overlapping times.
func (EcsBackupPlanOutput) ToEcsBackupPlanOutput ¶
func (o EcsBackupPlanOutput) ToEcsBackupPlanOutput() EcsBackupPlanOutput
func (EcsBackupPlanOutput) ToEcsBackupPlanOutputWithContext ¶
func (o EcsBackupPlanOutput) ToEcsBackupPlanOutputWithContext(ctx context.Context) EcsBackupPlanOutput
func (EcsBackupPlanOutput) UpdatePaths
deprecated
func (o EcsBackupPlanOutput) UpdatePaths() pulumi.BoolPtrOutput
Attribute updatePaths has been deprecated in v1.139.0+, and you do not need to set it anymore.
Deprecated: Attribute update_paths has been deprecated in v1.139.0+ and you do not need to set it anymore.
func (EcsBackupPlanOutput) VaultId ¶
func (o EcsBackupPlanOutput) VaultId() pulumi.StringOutput
The ID of Backup vault.
type EcsBackupPlanState ¶
type EcsBackupPlanState struct { // Backup type. Valid values: `COMPLETE`. BackupType pulumi.StringPtrInput // The role name created in the original account RAM backup by the cross account managed by the current account. CrossAccountRoleName pulumi.StringPtrInput // The type of the cross account backup. Valid values: `SELF_ACCOUNT`, `CROSS_ACCOUNT`. CrossAccountType pulumi.StringPtrInput // The original account ID of the cross account backup managed by the current account. CrossAccountUserId pulumi.IntPtrInput // The detail of the backup plan. Detail pulumi.StringPtrInput // Whether to disable the backup task. Valid values: `true`, `false`. Disabled pulumi.BoolPtrInput // The name of the backup plan. 1~64 characters, the backup plan name of each data source type in a single warehouse required to be unique. EcsBackupPlanName pulumi.StringPtrInput // Exclude path. String of Json list, up to 255 characters. e.g. `"[\"/home/work\"]"` Exclude pulumi.StringPtrInput // Include path. String of Json list, up to 255 characters. e.g. `"[\"/var\"]"` Include pulumi.StringPtrInput // The ID of ECS instance. The ecs backup client must have been installed on the host. InstanceId pulumi.StringPtrInput // Windows operating system with application consistency using VSS, e.g: `{\"UseVSS\":false}`. Options pulumi.StringPtrInput // List of backup path. e.g. `["/home", "/var"]`. **Note** If `path` is empty, it means that all directories will be backed up. Paths pulumi.StringArrayInput // Backup retention days, the minimum is 1. Retention pulumi.StringPtrInput // Backup strategy. Optional format: `I|{startTime}|{interval}`. It means to execute a backup task every `{interval}` starting from `{startTime}`. The backup task for the elapsed time will not be compensated. If the last backup task has not completed yet, the next backup task will not be triggered. Schedule pulumi.StringPtrInput // Flow control. The format is: `{start}|{end}|{bandwidth}`. Use `|` to separate multiple flow control configurations, multiple flow control configurations not allowed to have overlapping times. SpeedLimit pulumi.StringPtrInput // Attribute updatePaths has been deprecated in v1.139.0+, and you do not need to set it anymore. // // Deprecated: Attribute update_paths has been deprecated in v1.139.0+ and you do not need to set it anymore. UpdatePaths pulumi.BoolPtrInput // The ID of Backup vault. VaultId pulumi.StringPtrInput }
func (EcsBackupPlanState) ElementType ¶
func (EcsBackupPlanState) ElementType() reflect.Type
type GetBackupJobsArgs ¶
type GetBackupJobsArgs struct { Filters []GetBackupJobsFilter `pulumi:"filters"` // A list of Backup Job IDs. Ids []string `pulumi:"ids"` OutputFile *string `pulumi:"outputFile"` // The sort direction, sort results by ascending or descending order based on the value jobs id. Valid values: `ASCEND`, `DESCEND`. SortDirection *string `pulumi:"sortDirection"` // The type of data source. Valid Values: `ECS_FILE`, `OSS`, `NAS`, `UDM_DISK`. SourceType string `pulumi:"sourceType"` // The status of restore job. Valid values: `COMPLETE` , `PARTIAL_COMPLETE`, `FAILED`. Status *string `pulumi:"status"` }
A collection of arguments for invoking getBackupJobs.
type GetBackupJobsFilter ¶
type GetBackupJobsFilter struct { // The key of the field to filter. Valid values: `PlanId`, `VaultId`, `InstanceId`, `Bucket`, `FileSystemId`, `CompleteTime`. Key *string `pulumi:"key"` // The operator of the field to filter. Valid values: `EQUAL`, `NOT_EQUAL`, `GREATER_THAN`, `GREATER_THAN_OR_EQUAL`, `LESS_THAN`, `LESS_THAN_OR_EQUAL`, `BETWEEN`, `IN`. Operator *string `pulumi:"operator"` // Set of values that are accepted for the given field. Values []string `pulumi:"values"` }
type GetBackupJobsFilterArgs ¶
type GetBackupJobsFilterArgs struct { // The key of the field to filter. Valid values: `PlanId`, `VaultId`, `InstanceId`, `Bucket`, `FileSystemId`, `CompleteTime`. Key pulumi.StringPtrInput `pulumi:"key"` // The operator of the field to filter. Valid values: `EQUAL`, `NOT_EQUAL`, `GREATER_THAN`, `GREATER_THAN_OR_EQUAL`, `LESS_THAN`, `LESS_THAN_OR_EQUAL`, `BETWEEN`, `IN`. Operator pulumi.StringPtrInput `pulumi:"operator"` // Set of values that are accepted for the given field. Values pulumi.StringArrayInput `pulumi:"values"` }
func (GetBackupJobsFilterArgs) ElementType ¶
func (GetBackupJobsFilterArgs) ElementType() reflect.Type
func (GetBackupJobsFilterArgs) ToGetBackupJobsFilterOutput ¶
func (i GetBackupJobsFilterArgs) ToGetBackupJobsFilterOutput() GetBackupJobsFilterOutput
func (GetBackupJobsFilterArgs) ToGetBackupJobsFilterOutputWithContext ¶
func (i GetBackupJobsFilterArgs) ToGetBackupJobsFilterOutputWithContext(ctx context.Context) GetBackupJobsFilterOutput
type GetBackupJobsFilterArray ¶
type GetBackupJobsFilterArray []GetBackupJobsFilterInput
func (GetBackupJobsFilterArray) ElementType ¶
func (GetBackupJobsFilterArray) ElementType() reflect.Type
func (GetBackupJobsFilterArray) ToGetBackupJobsFilterArrayOutput ¶
func (i GetBackupJobsFilterArray) ToGetBackupJobsFilterArrayOutput() GetBackupJobsFilterArrayOutput
func (GetBackupJobsFilterArray) ToGetBackupJobsFilterArrayOutputWithContext ¶
func (i GetBackupJobsFilterArray) ToGetBackupJobsFilterArrayOutputWithContext(ctx context.Context) GetBackupJobsFilterArrayOutput
type GetBackupJobsFilterArrayInput ¶
type GetBackupJobsFilterArrayInput interface { pulumi.Input ToGetBackupJobsFilterArrayOutput() GetBackupJobsFilterArrayOutput ToGetBackupJobsFilterArrayOutputWithContext(context.Context) GetBackupJobsFilterArrayOutput }
GetBackupJobsFilterArrayInput is an input type that accepts GetBackupJobsFilterArray and GetBackupJobsFilterArrayOutput values. You can construct a concrete instance of `GetBackupJobsFilterArrayInput` via:
GetBackupJobsFilterArray{ GetBackupJobsFilterArgs{...} }
type GetBackupJobsFilterArrayOutput ¶
type GetBackupJobsFilterArrayOutput struct{ *pulumi.OutputState }
func (GetBackupJobsFilterArrayOutput) ElementType ¶
func (GetBackupJobsFilterArrayOutput) ElementType() reflect.Type
func (GetBackupJobsFilterArrayOutput) Index ¶
func (o GetBackupJobsFilterArrayOutput) Index(i pulumi.IntInput) GetBackupJobsFilterOutput
func (GetBackupJobsFilterArrayOutput) ToGetBackupJobsFilterArrayOutput ¶
func (o GetBackupJobsFilterArrayOutput) ToGetBackupJobsFilterArrayOutput() GetBackupJobsFilterArrayOutput
func (GetBackupJobsFilterArrayOutput) ToGetBackupJobsFilterArrayOutputWithContext ¶
func (o GetBackupJobsFilterArrayOutput) ToGetBackupJobsFilterArrayOutputWithContext(ctx context.Context) GetBackupJobsFilterArrayOutput
type GetBackupJobsFilterInput ¶
type GetBackupJobsFilterInput interface { pulumi.Input ToGetBackupJobsFilterOutput() GetBackupJobsFilterOutput ToGetBackupJobsFilterOutputWithContext(context.Context) GetBackupJobsFilterOutput }
GetBackupJobsFilterInput is an input type that accepts GetBackupJobsFilterArgs and GetBackupJobsFilterOutput values. You can construct a concrete instance of `GetBackupJobsFilterInput` via:
GetBackupJobsFilterArgs{...}
type GetBackupJobsFilterOutput ¶
type GetBackupJobsFilterOutput struct{ *pulumi.OutputState }
func (GetBackupJobsFilterOutput) ElementType ¶
func (GetBackupJobsFilterOutput) ElementType() reflect.Type
func (GetBackupJobsFilterOutput) Key ¶
func (o GetBackupJobsFilterOutput) Key() pulumi.StringPtrOutput
The key of the field to filter. Valid values: `PlanId`, `VaultId`, `InstanceId`, `Bucket`, `FileSystemId`, `CompleteTime`.
func (GetBackupJobsFilterOutput) Operator ¶
func (o GetBackupJobsFilterOutput) Operator() pulumi.StringPtrOutput
The operator of the field to filter. Valid values: `EQUAL`, `NOT_EQUAL`, `GREATER_THAN`, `GREATER_THAN_OR_EQUAL`, `LESS_THAN`, `LESS_THAN_OR_EQUAL`, `BETWEEN`, `IN`.
func (GetBackupJobsFilterOutput) ToGetBackupJobsFilterOutput ¶
func (o GetBackupJobsFilterOutput) ToGetBackupJobsFilterOutput() GetBackupJobsFilterOutput
func (GetBackupJobsFilterOutput) ToGetBackupJobsFilterOutputWithContext ¶
func (o GetBackupJobsFilterOutput) ToGetBackupJobsFilterOutputWithContext(ctx context.Context) GetBackupJobsFilterOutput
func (GetBackupJobsFilterOutput) Values ¶
func (o GetBackupJobsFilterOutput) Values() pulumi.StringArrayOutput
Set of values that are accepted for the given field.
type GetBackupJobsJob ¶
type GetBackupJobsJob struct { // The actual data volume of the backup task (After deduplication) . Unit byte. ActualBytes string `pulumi:"actualBytes"` // The actual number of items in the backup task. (Currently only file backup is available). ActualItems string `pulumi:"actualItems"` // The name of backup job. BackJobName string `pulumi:"backJobName"` // The ID of the backup job. BackupJobId string `pulumi:"backupJobId"` // Backup type. Valid values: `COMPLETE`(full backup). BackupType string `pulumi:"backupType"` // The name of target OSS bucket. Bucket string `pulumi:"bucket"` // The amount of backup data (Incremental). Unit byte. BytesDone string `pulumi:"bytesDone"` // The total amount of data sources. Unit byte. BytesTotal string `pulumi:"bytesTotal"` // The completion time of backup job. UNIX time seconds. CompleteTime string `pulumi:"completeTime"` // The creation time of backup job. UNIX time seconds. CreateTime string `pulumi:"createTime"` // The role name created in the original account RAM backup by the cross account managed by the current account. It is valid only when `sourceType` is `ECS_FILE`, `NAS`, `OSS` or `OTS`. CrossAccountRoleName string `pulumi:"crossAccountRoleName"` // The type of the cross account backup. It is valid only when `sourceType` is `ECS_FILE`, `NAS`, `OSS` or `OTS`. CrossAccountType string `pulumi:"crossAccountType"` // The original account ID of the cross account backup managed by the current account. It is valid only when `sourceType` is `ECS_FILE`, `NAS`, `OSS` or `OTS`. CrossAccountUserId int `pulumi:"crossAccountUserId"` // Error message. ErrorMessage string `pulumi:"errorMessage"` // Exclude path. String of Json list. Up to 255 characters. e.g. `"[\"/home/work\"]"` Exclude string `pulumi:"exclude"` // The ID of destination file system. FileSystemId string `pulumi:"fileSystemId"` // The ID of the backup job. Id string `pulumi:"id"` // Include path. String of Json list. Up to 255 characters. e.g. `"[\"/var\"]"` Include string `pulumi:"include"` // The ID of target ECS instance. InstanceId string `pulumi:"instanceId"` // The number of items restore job recovered. ItemsDone string `pulumi:"itemsDone"` // The total number of items restore job recovered. ItemsTotal string `pulumi:"itemsTotal"` // File system creation time. UNIX time in seconds. NasCreateTime string `pulumi:"nasCreateTime"` OtsDetails []GetBackupJobsJobOtsDetail `pulumi:"otsDetails"` // List of backup path. e.g. `["/home", "/var"]`. Paths []string `pulumi:"paths"` // The ID of a backup plan. PlanId string `pulumi:"planId"` // The prefix of Oss bucket files. Prefix string `pulumi:"prefix"` // Backup progress. The value is 100%*100. Progress string `pulumi:"progress"` // The type of data source. Valid Values: `ECS_FILE`, `OSS`, `NAS`, `UDM_DISK`. SourceType string `pulumi:"sourceType"` // The scheduled backup start time. UNIX time seconds. StartTime string `pulumi:"startTime"` // The status of restore job. Valid values: `COMPLETE` , `PARTIAL_COMPLETE`, `FAILED`. Status string `pulumi:"status"` // The update time of backup job. UNIX time seconds. UpdatedTime string `pulumi:"updatedTime"` // The ID of backup vault. VaultId string `pulumi:"vaultId"` }
type GetBackupJobsJobArgs ¶
type GetBackupJobsJobArgs struct { // The actual data volume of the backup task (After deduplication) . Unit byte. ActualBytes pulumi.StringInput `pulumi:"actualBytes"` // The actual number of items in the backup task. (Currently only file backup is available). ActualItems pulumi.StringInput `pulumi:"actualItems"` // The name of backup job. BackJobName pulumi.StringInput `pulumi:"backJobName"` // The ID of the backup job. BackupJobId pulumi.StringInput `pulumi:"backupJobId"` // Backup type. Valid values: `COMPLETE`(full backup). BackupType pulumi.StringInput `pulumi:"backupType"` // The name of target OSS bucket. Bucket pulumi.StringInput `pulumi:"bucket"` // The amount of backup data (Incremental). Unit byte. BytesDone pulumi.StringInput `pulumi:"bytesDone"` // The total amount of data sources. Unit byte. BytesTotal pulumi.StringInput `pulumi:"bytesTotal"` // The completion time of backup job. UNIX time seconds. CompleteTime pulumi.StringInput `pulumi:"completeTime"` // The creation time of backup job. UNIX time seconds. CreateTime pulumi.StringInput `pulumi:"createTime"` // The role name created in the original account RAM backup by the cross account managed by the current account. It is valid only when `sourceType` is `ECS_FILE`, `NAS`, `OSS` or `OTS`. CrossAccountRoleName pulumi.StringInput `pulumi:"crossAccountRoleName"` // The type of the cross account backup. It is valid only when `sourceType` is `ECS_FILE`, `NAS`, `OSS` or `OTS`. CrossAccountType pulumi.StringInput `pulumi:"crossAccountType"` // The original account ID of the cross account backup managed by the current account. It is valid only when `sourceType` is `ECS_FILE`, `NAS`, `OSS` or `OTS`. CrossAccountUserId pulumi.IntInput `pulumi:"crossAccountUserId"` // Error message. ErrorMessage pulumi.StringInput `pulumi:"errorMessage"` // Exclude path. String of Json list. Up to 255 characters. e.g. `"[\"/home/work\"]"` Exclude pulumi.StringInput `pulumi:"exclude"` // The ID of destination file system. FileSystemId pulumi.StringInput `pulumi:"fileSystemId"` // The ID of the backup job. Id pulumi.StringInput `pulumi:"id"` // Include path. String of Json list. Up to 255 characters. e.g. `"[\"/var\"]"` Include pulumi.StringInput `pulumi:"include"` // The ID of target ECS instance. InstanceId pulumi.StringInput `pulumi:"instanceId"` // The number of items restore job recovered. ItemsDone pulumi.StringInput `pulumi:"itemsDone"` // The total number of items restore job recovered. ItemsTotal pulumi.StringInput `pulumi:"itemsTotal"` // File system creation time. UNIX time in seconds. NasCreateTime pulumi.StringInput `pulumi:"nasCreateTime"` OtsDetails GetBackupJobsJobOtsDetailArrayInput `pulumi:"otsDetails"` // List of backup path. e.g. `["/home", "/var"]`. Paths pulumi.StringArrayInput `pulumi:"paths"` // The ID of a backup plan. PlanId pulumi.StringInput `pulumi:"planId"` // The prefix of Oss bucket files. Prefix pulumi.StringInput `pulumi:"prefix"` // Backup progress. The value is 100%*100. Progress pulumi.StringInput `pulumi:"progress"` // The type of data source. Valid Values: `ECS_FILE`, `OSS`, `NAS`, `UDM_DISK`. SourceType pulumi.StringInput `pulumi:"sourceType"` // The scheduled backup start time. UNIX time seconds. StartTime pulumi.StringInput `pulumi:"startTime"` // The status of restore job. Valid values: `COMPLETE` , `PARTIAL_COMPLETE`, `FAILED`. Status pulumi.StringInput `pulumi:"status"` // The update time of backup job. UNIX time seconds. UpdatedTime pulumi.StringInput `pulumi:"updatedTime"` // The ID of backup vault. VaultId pulumi.StringInput `pulumi:"vaultId"` }
func (GetBackupJobsJobArgs) ElementType ¶
func (GetBackupJobsJobArgs) ElementType() reflect.Type
func (GetBackupJobsJobArgs) ToGetBackupJobsJobOutput ¶
func (i GetBackupJobsJobArgs) ToGetBackupJobsJobOutput() GetBackupJobsJobOutput
func (GetBackupJobsJobArgs) ToGetBackupJobsJobOutputWithContext ¶
func (i GetBackupJobsJobArgs) ToGetBackupJobsJobOutputWithContext(ctx context.Context) GetBackupJobsJobOutput
type GetBackupJobsJobArray ¶
type GetBackupJobsJobArray []GetBackupJobsJobInput
func (GetBackupJobsJobArray) ElementType ¶
func (GetBackupJobsJobArray) ElementType() reflect.Type
func (GetBackupJobsJobArray) ToGetBackupJobsJobArrayOutput ¶
func (i GetBackupJobsJobArray) ToGetBackupJobsJobArrayOutput() GetBackupJobsJobArrayOutput
func (GetBackupJobsJobArray) ToGetBackupJobsJobArrayOutputWithContext ¶
func (i GetBackupJobsJobArray) ToGetBackupJobsJobArrayOutputWithContext(ctx context.Context) GetBackupJobsJobArrayOutput
type GetBackupJobsJobArrayInput ¶
type GetBackupJobsJobArrayInput interface { pulumi.Input ToGetBackupJobsJobArrayOutput() GetBackupJobsJobArrayOutput ToGetBackupJobsJobArrayOutputWithContext(context.Context) GetBackupJobsJobArrayOutput }
GetBackupJobsJobArrayInput is an input type that accepts GetBackupJobsJobArray and GetBackupJobsJobArrayOutput values. You can construct a concrete instance of `GetBackupJobsJobArrayInput` via:
GetBackupJobsJobArray{ GetBackupJobsJobArgs{...} }
type GetBackupJobsJobArrayOutput ¶
type GetBackupJobsJobArrayOutput struct{ *pulumi.OutputState }
func (GetBackupJobsJobArrayOutput) ElementType ¶
func (GetBackupJobsJobArrayOutput) ElementType() reflect.Type
func (GetBackupJobsJobArrayOutput) Index ¶
func (o GetBackupJobsJobArrayOutput) Index(i pulumi.IntInput) GetBackupJobsJobOutput
func (GetBackupJobsJobArrayOutput) ToGetBackupJobsJobArrayOutput ¶
func (o GetBackupJobsJobArrayOutput) ToGetBackupJobsJobArrayOutput() GetBackupJobsJobArrayOutput
func (GetBackupJobsJobArrayOutput) ToGetBackupJobsJobArrayOutputWithContext ¶
func (o GetBackupJobsJobArrayOutput) ToGetBackupJobsJobArrayOutputWithContext(ctx context.Context) GetBackupJobsJobArrayOutput
type GetBackupJobsJobInput ¶
type GetBackupJobsJobInput interface { pulumi.Input ToGetBackupJobsJobOutput() GetBackupJobsJobOutput ToGetBackupJobsJobOutputWithContext(context.Context) GetBackupJobsJobOutput }
GetBackupJobsJobInput is an input type that accepts GetBackupJobsJobArgs and GetBackupJobsJobOutput values. You can construct a concrete instance of `GetBackupJobsJobInput` via:
GetBackupJobsJobArgs{...}
type GetBackupJobsJobOtsDetail ¶
type GetBackupJobsJobOtsDetail struct {
TableNames []string `pulumi:"tableNames"`
}
type GetBackupJobsJobOtsDetailArgs ¶
type GetBackupJobsJobOtsDetailArgs struct {
TableNames pulumi.StringArrayInput `pulumi:"tableNames"`
}
func (GetBackupJobsJobOtsDetailArgs) ElementType ¶
func (GetBackupJobsJobOtsDetailArgs) ElementType() reflect.Type
func (GetBackupJobsJobOtsDetailArgs) ToGetBackupJobsJobOtsDetailOutput ¶
func (i GetBackupJobsJobOtsDetailArgs) ToGetBackupJobsJobOtsDetailOutput() GetBackupJobsJobOtsDetailOutput
func (GetBackupJobsJobOtsDetailArgs) ToGetBackupJobsJobOtsDetailOutputWithContext ¶
func (i GetBackupJobsJobOtsDetailArgs) ToGetBackupJobsJobOtsDetailOutputWithContext(ctx context.Context) GetBackupJobsJobOtsDetailOutput
type GetBackupJobsJobOtsDetailArray ¶
type GetBackupJobsJobOtsDetailArray []GetBackupJobsJobOtsDetailInput
func (GetBackupJobsJobOtsDetailArray) ElementType ¶
func (GetBackupJobsJobOtsDetailArray) ElementType() reflect.Type
func (GetBackupJobsJobOtsDetailArray) ToGetBackupJobsJobOtsDetailArrayOutput ¶
func (i GetBackupJobsJobOtsDetailArray) ToGetBackupJobsJobOtsDetailArrayOutput() GetBackupJobsJobOtsDetailArrayOutput
func (GetBackupJobsJobOtsDetailArray) ToGetBackupJobsJobOtsDetailArrayOutputWithContext ¶
func (i GetBackupJobsJobOtsDetailArray) ToGetBackupJobsJobOtsDetailArrayOutputWithContext(ctx context.Context) GetBackupJobsJobOtsDetailArrayOutput
type GetBackupJobsJobOtsDetailArrayInput ¶
type GetBackupJobsJobOtsDetailArrayInput interface { pulumi.Input ToGetBackupJobsJobOtsDetailArrayOutput() GetBackupJobsJobOtsDetailArrayOutput ToGetBackupJobsJobOtsDetailArrayOutputWithContext(context.Context) GetBackupJobsJobOtsDetailArrayOutput }
GetBackupJobsJobOtsDetailArrayInput is an input type that accepts GetBackupJobsJobOtsDetailArray and GetBackupJobsJobOtsDetailArrayOutput values. You can construct a concrete instance of `GetBackupJobsJobOtsDetailArrayInput` via:
GetBackupJobsJobOtsDetailArray{ GetBackupJobsJobOtsDetailArgs{...} }
type GetBackupJobsJobOtsDetailArrayOutput ¶
type GetBackupJobsJobOtsDetailArrayOutput struct{ *pulumi.OutputState }
func (GetBackupJobsJobOtsDetailArrayOutput) ElementType ¶
func (GetBackupJobsJobOtsDetailArrayOutput) ElementType() reflect.Type
func (GetBackupJobsJobOtsDetailArrayOutput) Index ¶
func (o GetBackupJobsJobOtsDetailArrayOutput) Index(i pulumi.IntInput) GetBackupJobsJobOtsDetailOutput
func (GetBackupJobsJobOtsDetailArrayOutput) ToGetBackupJobsJobOtsDetailArrayOutput ¶
func (o GetBackupJobsJobOtsDetailArrayOutput) ToGetBackupJobsJobOtsDetailArrayOutput() GetBackupJobsJobOtsDetailArrayOutput
func (GetBackupJobsJobOtsDetailArrayOutput) ToGetBackupJobsJobOtsDetailArrayOutputWithContext ¶
func (o GetBackupJobsJobOtsDetailArrayOutput) ToGetBackupJobsJobOtsDetailArrayOutputWithContext(ctx context.Context) GetBackupJobsJobOtsDetailArrayOutput
type GetBackupJobsJobOtsDetailInput ¶
type GetBackupJobsJobOtsDetailInput interface { pulumi.Input ToGetBackupJobsJobOtsDetailOutput() GetBackupJobsJobOtsDetailOutput ToGetBackupJobsJobOtsDetailOutputWithContext(context.Context) GetBackupJobsJobOtsDetailOutput }
GetBackupJobsJobOtsDetailInput is an input type that accepts GetBackupJobsJobOtsDetailArgs and GetBackupJobsJobOtsDetailOutput values. You can construct a concrete instance of `GetBackupJobsJobOtsDetailInput` via:
GetBackupJobsJobOtsDetailArgs{...}
type GetBackupJobsJobOtsDetailOutput ¶
type GetBackupJobsJobOtsDetailOutput struct{ *pulumi.OutputState }
func (GetBackupJobsJobOtsDetailOutput) ElementType ¶
func (GetBackupJobsJobOtsDetailOutput) ElementType() reflect.Type
func (GetBackupJobsJobOtsDetailOutput) TableNames ¶
func (o GetBackupJobsJobOtsDetailOutput) TableNames() pulumi.StringArrayOutput
func (GetBackupJobsJobOtsDetailOutput) ToGetBackupJobsJobOtsDetailOutput ¶
func (o GetBackupJobsJobOtsDetailOutput) ToGetBackupJobsJobOtsDetailOutput() GetBackupJobsJobOtsDetailOutput
func (GetBackupJobsJobOtsDetailOutput) ToGetBackupJobsJobOtsDetailOutputWithContext ¶
func (o GetBackupJobsJobOtsDetailOutput) ToGetBackupJobsJobOtsDetailOutputWithContext(ctx context.Context) GetBackupJobsJobOtsDetailOutput
type GetBackupJobsJobOutput ¶
type GetBackupJobsJobOutput struct{ *pulumi.OutputState }
func (GetBackupJobsJobOutput) ActualBytes ¶
func (o GetBackupJobsJobOutput) ActualBytes() pulumi.StringOutput
The actual data volume of the backup task (After deduplication) . Unit byte.
func (GetBackupJobsJobOutput) ActualItems ¶
func (o GetBackupJobsJobOutput) ActualItems() pulumi.StringOutput
The actual number of items in the backup task. (Currently only file backup is available).
func (GetBackupJobsJobOutput) BackJobName ¶
func (o GetBackupJobsJobOutput) BackJobName() pulumi.StringOutput
The name of backup job.
func (GetBackupJobsJobOutput) BackupJobId ¶
func (o GetBackupJobsJobOutput) BackupJobId() pulumi.StringOutput
The ID of the backup job.
func (GetBackupJobsJobOutput) BackupType ¶
func (o GetBackupJobsJobOutput) BackupType() pulumi.StringOutput
Backup type. Valid values: `COMPLETE`(full backup).
func (GetBackupJobsJobOutput) Bucket ¶
func (o GetBackupJobsJobOutput) Bucket() pulumi.StringOutput
The name of target OSS bucket.
func (GetBackupJobsJobOutput) BytesDone ¶
func (o GetBackupJobsJobOutput) BytesDone() pulumi.StringOutput
The amount of backup data (Incremental). Unit byte.
func (GetBackupJobsJobOutput) BytesTotal ¶
func (o GetBackupJobsJobOutput) BytesTotal() pulumi.StringOutput
The total amount of data sources. Unit byte.
func (GetBackupJobsJobOutput) CompleteTime ¶
func (o GetBackupJobsJobOutput) CompleteTime() pulumi.StringOutput
The completion time of backup job. UNIX time seconds.
func (GetBackupJobsJobOutput) CreateTime ¶
func (o GetBackupJobsJobOutput) CreateTime() pulumi.StringOutput
The creation time of backup job. UNIX time seconds.
func (GetBackupJobsJobOutput) CrossAccountRoleName ¶
func (o GetBackupJobsJobOutput) CrossAccountRoleName() pulumi.StringOutput
The role name created in the original account RAM backup by the cross account managed by the current account. It is valid only when `sourceType` is `ECS_FILE`, `NAS`, `OSS` or `OTS`.
func (GetBackupJobsJobOutput) CrossAccountType ¶
func (o GetBackupJobsJobOutput) CrossAccountType() pulumi.StringOutput
The type of the cross account backup. It is valid only when `sourceType` is `ECS_FILE`, `NAS`, `OSS` or `OTS`.
func (GetBackupJobsJobOutput) CrossAccountUserId ¶
func (o GetBackupJobsJobOutput) CrossAccountUserId() pulumi.IntOutput
The original account ID of the cross account backup managed by the current account. It is valid only when `sourceType` is `ECS_FILE`, `NAS`, `OSS` or `OTS`.
func (GetBackupJobsJobOutput) ElementType ¶
func (GetBackupJobsJobOutput) ElementType() reflect.Type
func (GetBackupJobsJobOutput) ErrorMessage ¶
func (o GetBackupJobsJobOutput) ErrorMessage() pulumi.StringOutput
Error message.
func (GetBackupJobsJobOutput) Exclude ¶
func (o GetBackupJobsJobOutput) Exclude() pulumi.StringOutput
Exclude path. String of Json list. Up to 255 characters. e.g. `"[\"/home/work\"]"`
func (GetBackupJobsJobOutput) FileSystemId ¶
func (o GetBackupJobsJobOutput) FileSystemId() pulumi.StringOutput
The ID of destination file system.
func (GetBackupJobsJobOutput) Id ¶
func (o GetBackupJobsJobOutput) Id() pulumi.StringOutput
The ID of the backup job.
func (GetBackupJobsJobOutput) Include ¶
func (o GetBackupJobsJobOutput) Include() pulumi.StringOutput
Include path. String of Json list. Up to 255 characters. e.g. `"[\"/var\"]"`
func (GetBackupJobsJobOutput) InstanceId ¶
func (o GetBackupJobsJobOutput) InstanceId() pulumi.StringOutput
The ID of target ECS instance.
func (GetBackupJobsJobOutput) ItemsDone ¶
func (o GetBackupJobsJobOutput) ItemsDone() pulumi.StringOutput
The number of items restore job recovered.
func (GetBackupJobsJobOutput) ItemsTotal ¶
func (o GetBackupJobsJobOutput) ItemsTotal() pulumi.StringOutput
The total number of items restore job recovered.
func (GetBackupJobsJobOutput) NasCreateTime ¶
func (o GetBackupJobsJobOutput) NasCreateTime() pulumi.StringOutput
File system creation time. UNIX time in seconds.
func (GetBackupJobsJobOutput) OtsDetails ¶
func (o GetBackupJobsJobOutput) OtsDetails() GetBackupJobsJobOtsDetailArrayOutput
func (GetBackupJobsJobOutput) Paths ¶
func (o GetBackupJobsJobOutput) Paths() pulumi.StringArrayOutput
List of backup path. e.g. `["/home", "/var"]`.
func (GetBackupJobsJobOutput) PlanId ¶
func (o GetBackupJobsJobOutput) PlanId() pulumi.StringOutput
The ID of a backup plan.
func (GetBackupJobsJobOutput) Prefix ¶
func (o GetBackupJobsJobOutput) Prefix() pulumi.StringOutput
The prefix of Oss bucket files.
func (GetBackupJobsJobOutput) Progress ¶
func (o GetBackupJobsJobOutput) Progress() pulumi.StringOutput
Backup progress. The value is 100%*100.
func (GetBackupJobsJobOutput) SourceType ¶
func (o GetBackupJobsJobOutput) SourceType() pulumi.StringOutput
The type of data source. Valid Values: `ECS_FILE`, `OSS`, `NAS`, `UDM_DISK`.
func (GetBackupJobsJobOutput) StartTime ¶
func (o GetBackupJobsJobOutput) StartTime() pulumi.StringOutput
The scheduled backup start time. UNIX time seconds.
func (GetBackupJobsJobOutput) Status ¶
func (o GetBackupJobsJobOutput) Status() pulumi.StringOutput
The status of restore job. Valid values: `COMPLETE` , `PARTIAL_COMPLETE`, `FAILED`.
func (GetBackupJobsJobOutput) ToGetBackupJobsJobOutput ¶
func (o GetBackupJobsJobOutput) ToGetBackupJobsJobOutput() GetBackupJobsJobOutput
func (GetBackupJobsJobOutput) ToGetBackupJobsJobOutputWithContext ¶
func (o GetBackupJobsJobOutput) ToGetBackupJobsJobOutputWithContext(ctx context.Context) GetBackupJobsJobOutput
func (GetBackupJobsJobOutput) UpdatedTime ¶
func (o GetBackupJobsJobOutput) UpdatedTime() pulumi.StringOutput
The update time of backup job. UNIX time seconds.
func (GetBackupJobsJobOutput) VaultId ¶
func (o GetBackupJobsJobOutput) VaultId() pulumi.StringOutput
The ID of backup vault.
type GetBackupJobsOutputArgs ¶
type GetBackupJobsOutputArgs struct { Filters GetBackupJobsFilterArrayInput `pulumi:"filters"` // A list of Backup Job IDs. Ids pulumi.StringArrayInput `pulumi:"ids"` OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` // The sort direction, sort results by ascending or descending order based on the value jobs id. Valid values: `ASCEND`, `DESCEND`. SortDirection pulumi.StringPtrInput `pulumi:"sortDirection"` // The type of data source. Valid Values: `ECS_FILE`, `OSS`, `NAS`, `UDM_DISK`. SourceType pulumi.StringInput `pulumi:"sourceType"` // The status of restore job. Valid values: `COMPLETE` , `PARTIAL_COMPLETE`, `FAILED`. Status pulumi.StringPtrInput `pulumi:"status"` }
A collection of arguments for invoking getBackupJobs.
func (GetBackupJobsOutputArgs) ElementType ¶
func (GetBackupJobsOutputArgs) ElementType() reflect.Type
type GetBackupJobsResult ¶
type GetBackupJobsResult struct { Filters []GetBackupJobsFilter `pulumi:"filters"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Ids []string `pulumi:"ids"` Jobs []GetBackupJobsJob `pulumi:"jobs"` OutputFile *string `pulumi:"outputFile"` SortDirection *string `pulumi:"sortDirection"` SourceType string `pulumi:"sourceType"` Status *string `pulumi:"status"` }
A collection of values returned by getBackupJobs.
func GetBackupJobs ¶
func GetBackupJobs(ctx *pulumi.Context, args *GetBackupJobsArgs, opts ...pulumi.InvokeOption) (*GetBackupJobsResult, error)
This data source provides the Hbr Backup Jobs of the current Alibaba Cloud user.
> **NOTE:** Available in v1.138.0+.
type GetBackupJobsResultOutput ¶
type GetBackupJobsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getBackupJobs.
func GetBackupJobsOutput ¶
func GetBackupJobsOutput(ctx *pulumi.Context, args GetBackupJobsOutputArgs, opts ...pulumi.InvokeOption) GetBackupJobsResultOutput
func (GetBackupJobsResultOutput) ElementType ¶
func (GetBackupJobsResultOutput) ElementType() reflect.Type
func (GetBackupJobsResultOutput) Filters ¶
func (o GetBackupJobsResultOutput) Filters() GetBackupJobsFilterArrayOutput
func (GetBackupJobsResultOutput) Id ¶
func (o GetBackupJobsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetBackupJobsResultOutput) Ids ¶
func (o GetBackupJobsResultOutput) Ids() pulumi.StringArrayOutput
func (GetBackupJobsResultOutput) Jobs ¶
func (o GetBackupJobsResultOutput) Jobs() GetBackupJobsJobArrayOutput
func (GetBackupJobsResultOutput) OutputFile ¶
func (o GetBackupJobsResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetBackupJobsResultOutput) SortDirection ¶
func (o GetBackupJobsResultOutput) SortDirection() pulumi.StringPtrOutput
func (GetBackupJobsResultOutput) SourceType ¶
func (o GetBackupJobsResultOutput) SourceType() pulumi.StringOutput
func (GetBackupJobsResultOutput) Status ¶
func (o GetBackupJobsResultOutput) Status() pulumi.StringPtrOutput
func (GetBackupJobsResultOutput) ToGetBackupJobsResultOutput ¶
func (o GetBackupJobsResultOutput) ToGetBackupJobsResultOutput() GetBackupJobsResultOutput
func (GetBackupJobsResultOutput) ToGetBackupJobsResultOutputWithContext ¶
func (o GetBackupJobsResultOutput) ToGetBackupJobsResultOutputWithContext(ctx context.Context) GetBackupJobsResultOutput
type GetEcsBackupClientsArgs ¶
type GetEcsBackupClientsArgs struct { // A list of Ecs Backup Client IDs. Ids []string `pulumi:"ids"` // A list of ECS Instance IDs. InstanceIds []string `pulumi:"instanceIds"` OutputFile *string `pulumi:"outputFile"` // The status of the resource. Status *string `pulumi:"status"` }
A collection of arguments for invoking getEcsBackupClients.
type GetEcsBackupClientsClient ¶
type GetEcsBackupClientsClient struct { // The system architecture of client, only the ECS File Backup Client is available. Valid values: `AMD64` , `386`. ArchType string `pulumi:"archType"` // Client protected status. Valid values: `UNPROTECTED`, `PROTECTED`. BackupStatus string `pulumi:"backupStatus"` // The type of client. Valid values: `ECS_CLIENT` (ECS File Backup Client). ClientType string `pulumi:"clientType"` // The version of client. ClientVersion string `pulumi:"clientVersion"` // The creation time of client. Unix time in seconds. CreateTime string `pulumi:"createTime"` // The data plane access point type. Valid Values: `PUBLIC`, `VPC`, `CLASSIC`. DataNetworkType string `pulumi:"dataNetworkType"` // The data plane proxy settings. Valid Values: `DISABLE`, `USE_CONTROL_PROXY`, `CUSTOM`. DataProxySetting string `pulumi:"dataProxySetting"` // The first ID of the resource. EcsBackupClientId string `pulumi:"ecsBackupClientId"` // The hostname of ECS instance. Hostname string `pulumi:"hostname"` // The ID of the Ecs Backup Client. Id string `pulumi:"id"` // The ID of ECS instance. When the client type is ECS file backup client, it indicates the ID of ECS instance. When the client type is a local file backup client, it is a hardware fingerprint generated based on system information. InstanceId string `pulumi:"instanceId"` // The name of ECS instance. InstanceName string `pulumi:"instanceName"` // The last heartbeat time of client. Unix Time Seconds. LastHeartBeatTime string `pulumi:"lastHeartBeatTime"` // The latest version of client. MaxClientVersion string `pulumi:"maxClientVersion"` // The number of CPU cores used by a single backup task, 0 means no restrictions. MaxCpuCore string `pulumi:"maxCpuCore"` // The number of concurrent jobs for a single backup task, 0 means no restrictions. MaxWorker string `pulumi:"maxWorker"` // The operating system type of client, only the ECS File Backup Client is available. Valid values: `windows`, `linux`. OsType string `pulumi:"osType"` // Intranet IP address of the instance, only available for ECS file backup client. PrivateIpv4 string `pulumi:"privateIpv4"` // Custom data plane proxy server host address. ProxyHost string `pulumi:"proxyHost"` // The password of custom data plane proxy server. ProxyPassword string `pulumi:"proxyPassword"` // Custom data plane proxy server host port. ProxyPort string `pulumi:"proxyPort"` // The username of custom data plane proxy server. ProxyUser string `pulumi:"proxyUser"` // The status of the resource. Status string `pulumi:"status"` // The update time of client. Unix Time Seconds. UpdatedTime string `pulumi:"updatedTime"` // Indicates whether to use the HTTPS protocol. Valid values: `true`, `false`. UseHttps bool `pulumi:"useHttps"` // The ID of Zone. ZoneId string `pulumi:"zoneId"` }
type GetEcsBackupClientsClientArgs ¶
type GetEcsBackupClientsClientArgs struct { // The system architecture of client, only the ECS File Backup Client is available. Valid values: `AMD64` , `386`. ArchType pulumi.StringInput `pulumi:"archType"` // Client protected status. Valid values: `UNPROTECTED`, `PROTECTED`. BackupStatus pulumi.StringInput `pulumi:"backupStatus"` // The type of client. Valid values: `ECS_CLIENT` (ECS File Backup Client). ClientType pulumi.StringInput `pulumi:"clientType"` // The version of client. ClientVersion pulumi.StringInput `pulumi:"clientVersion"` // The creation time of client. Unix time in seconds. CreateTime pulumi.StringInput `pulumi:"createTime"` // The data plane access point type. Valid Values: `PUBLIC`, `VPC`, `CLASSIC`. DataNetworkType pulumi.StringInput `pulumi:"dataNetworkType"` // The data plane proxy settings. Valid Values: `DISABLE`, `USE_CONTROL_PROXY`, `CUSTOM`. DataProxySetting pulumi.StringInput `pulumi:"dataProxySetting"` // The first ID of the resource. EcsBackupClientId pulumi.StringInput `pulumi:"ecsBackupClientId"` // The hostname of ECS instance. Hostname pulumi.StringInput `pulumi:"hostname"` // The ID of the Ecs Backup Client. Id pulumi.StringInput `pulumi:"id"` // The ID of ECS instance. When the client type is ECS file backup client, it indicates the ID of ECS instance. When the client type is a local file backup client, it is a hardware fingerprint generated based on system information. InstanceId pulumi.StringInput `pulumi:"instanceId"` // The name of ECS instance. InstanceName pulumi.StringInput `pulumi:"instanceName"` // The last heartbeat time of client. Unix Time Seconds. LastHeartBeatTime pulumi.StringInput `pulumi:"lastHeartBeatTime"` // The latest version of client. MaxClientVersion pulumi.StringInput `pulumi:"maxClientVersion"` // The number of CPU cores used by a single backup task, 0 means no restrictions. MaxCpuCore pulumi.StringInput `pulumi:"maxCpuCore"` // The number of concurrent jobs for a single backup task, 0 means no restrictions. MaxWorker pulumi.StringInput `pulumi:"maxWorker"` // The operating system type of client, only the ECS File Backup Client is available. Valid values: `windows`, `linux`. OsType pulumi.StringInput `pulumi:"osType"` // Intranet IP address of the instance, only available for ECS file backup client. PrivateIpv4 pulumi.StringInput `pulumi:"privateIpv4"` // Custom data plane proxy server host address. ProxyHost pulumi.StringInput `pulumi:"proxyHost"` // The password of custom data plane proxy server. ProxyPassword pulumi.StringInput `pulumi:"proxyPassword"` // Custom data plane proxy server host port. ProxyPort pulumi.StringInput `pulumi:"proxyPort"` // The username of custom data plane proxy server. ProxyUser pulumi.StringInput `pulumi:"proxyUser"` // The status of the resource. Status pulumi.StringInput `pulumi:"status"` // The update time of client. Unix Time Seconds. UpdatedTime pulumi.StringInput `pulumi:"updatedTime"` // Indicates whether to use the HTTPS protocol. Valid values: `true`, `false`. UseHttps pulumi.BoolInput `pulumi:"useHttps"` // The ID of Zone. ZoneId pulumi.StringInput `pulumi:"zoneId"` }
func (GetEcsBackupClientsClientArgs) ElementType ¶
func (GetEcsBackupClientsClientArgs) ElementType() reflect.Type
func (GetEcsBackupClientsClientArgs) ToGetEcsBackupClientsClientOutput ¶
func (i GetEcsBackupClientsClientArgs) ToGetEcsBackupClientsClientOutput() GetEcsBackupClientsClientOutput
func (GetEcsBackupClientsClientArgs) ToGetEcsBackupClientsClientOutputWithContext ¶
func (i GetEcsBackupClientsClientArgs) ToGetEcsBackupClientsClientOutputWithContext(ctx context.Context) GetEcsBackupClientsClientOutput
type GetEcsBackupClientsClientArray ¶
type GetEcsBackupClientsClientArray []GetEcsBackupClientsClientInput
func (GetEcsBackupClientsClientArray) ElementType ¶
func (GetEcsBackupClientsClientArray) ElementType() reflect.Type
func (GetEcsBackupClientsClientArray) ToGetEcsBackupClientsClientArrayOutput ¶
func (i GetEcsBackupClientsClientArray) ToGetEcsBackupClientsClientArrayOutput() GetEcsBackupClientsClientArrayOutput
func (GetEcsBackupClientsClientArray) ToGetEcsBackupClientsClientArrayOutputWithContext ¶
func (i GetEcsBackupClientsClientArray) ToGetEcsBackupClientsClientArrayOutputWithContext(ctx context.Context) GetEcsBackupClientsClientArrayOutput
type GetEcsBackupClientsClientArrayInput ¶
type GetEcsBackupClientsClientArrayInput interface { pulumi.Input ToGetEcsBackupClientsClientArrayOutput() GetEcsBackupClientsClientArrayOutput ToGetEcsBackupClientsClientArrayOutputWithContext(context.Context) GetEcsBackupClientsClientArrayOutput }
GetEcsBackupClientsClientArrayInput is an input type that accepts GetEcsBackupClientsClientArray and GetEcsBackupClientsClientArrayOutput values. You can construct a concrete instance of `GetEcsBackupClientsClientArrayInput` via:
GetEcsBackupClientsClientArray{ GetEcsBackupClientsClientArgs{...} }
type GetEcsBackupClientsClientArrayOutput ¶
type GetEcsBackupClientsClientArrayOutput struct{ *pulumi.OutputState }
func (GetEcsBackupClientsClientArrayOutput) ElementType ¶
func (GetEcsBackupClientsClientArrayOutput) ElementType() reflect.Type
func (GetEcsBackupClientsClientArrayOutput) Index ¶
func (o GetEcsBackupClientsClientArrayOutput) Index(i pulumi.IntInput) GetEcsBackupClientsClientOutput
func (GetEcsBackupClientsClientArrayOutput) ToGetEcsBackupClientsClientArrayOutput ¶
func (o GetEcsBackupClientsClientArrayOutput) ToGetEcsBackupClientsClientArrayOutput() GetEcsBackupClientsClientArrayOutput
func (GetEcsBackupClientsClientArrayOutput) ToGetEcsBackupClientsClientArrayOutputWithContext ¶
func (o GetEcsBackupClientsClientArrayOutput) ToGetEcsBackupClientsClientArrayOutputWithContext(ctx context.Context) GetEcsBackupClientsClientArrayOutput
type GetEcsBackupClientsClientInput ¶
type GetEcsBackupClientsClientInput interface { pulumi.Input ToGetEcsBackupClientsClientOutput() GetEcsBackupClientsClientOutput ToGetEcsBackupClientsClientOutputWithContext(context.Context) GetEcsBackupClientsClientOutput }
GetEcsBackupClientsClientInput is an input type that accepts GetEcsBackupClientsClientArgs and GetEcsBackupClientsClientOutput values. You can construct a concrete instance of `GetEcsBackupClientsClientInput` via:
GetEcsBackupClientsClientArgs{...}
type GetEcsBackupClientsClientOutput ¶
type GetEcsBackupClientsClientOutput struct{ *pulumi.OutputState }
func (GetEcsBackupClientsClientOutput) ArchType ¶
func (o GetEcsBackupClientsClientOutput) ArchType() pulumi.StringOutput
The system architecture of client, only the ECS File Backup Client is available. Valid values: `AMD64` , `386`.
func (GetEcsBackupClientsClientOutput) BackupStatus ¶
func (o GetEcsBackupClientsClientOutput) BackupStatus() pulumi.StringOutput
Client protected status. Valid values: `UNPROTECTED`, `PROTECTED`.
func (GetEcsBackupClientsClientOutput) ClientType ¶
func (o GetEcsBackupClientsClientOutput) ClientType() pulumi.StringOutput
The type of client. Valid values: `ECS_CLIENT` (ECS File Backup Client).
func (GetEcsBackupClientsClientOutput) ClientVersion ¶
func (o GetEcsBackupClientsClientOutput) ClientVersion() pulumi.StringOutput
The version of client.
func (GetEcsBackupClientsClientOutput) CreateTime ¶
func (o GetEcsBackupClientsClientOutput) CreateTime() pulumi.StringOutput
The creation time of client. Unix time in seconds.
func (GetEcsBackupClientsClientOutput) DataNetworkType ¶
func (o GetEcsBackupClientsClientOutput) DataNetworkType() pulumi.StringOutput
The data plane access point type. Valid Values: `PUBLIC`, `VPC`, `CLASSIC`.
func (GetEcsBackupClientsClientOutput) DataProxySetting ¶
func (o GetEcsBackupClientsClientOutput) DataProxySetting() pulumi.StringOutput
The data plane proxy settings. Valid Values: `DISABLE`, `USE_CONTROL_PROXY`, `CUSTOM`.
func (GetEcsBackupClientsClientOutput) EcsBackupClientId ¶
func (o GetEcsBackupClientsClientOutput) EcsBackupClientId() pulumi.StringOutput
The first ID of the resource.
func (GetEcsBackupClientsClientOutput) ElementType ¶
func (GetEcsBackupClientsClientOutput) ElementType() reflect.Type
func (GetEcsBackupClientsClientOutput) Hostname ¶
func (o GetEcsBackupClientsClientOutput) Hostname() pulumi.StringOutput
The hostname of ECS instance.
func (GetEcsBackupClientsClientOutput) Id ¶
func (o GetEcsBackupClientsClientOutput) Id() pulumi.StringOutput
The ID of the Ecs Backup Client.
func (GetEcsBackupClientsClientOutput) InstanceId ¶
func (o GetEcsBackupClientsClientOutput) InstanceId() pulumi.StringOutput
The ID of ECS instance. When the client type is ECS file backup client, it indicates the ID of ECS instance. When the client type is a local file backup client, it is a hardware fingerprint generated based on system information.
func (GetEcsBackupClientsClientOutput) InstanceName ¶
func (o GetEcsBackupClientsClientOutput) InstanceName() pulumi.StringOutput
The name of ECS instance.
func (GetEcsBackupClientsClientOutput) LastHeartBeatTime ¶
func (o GetEcsBackupClientsClientOutput) LastHeartBeatTime() pulumi.StringOutput
The last heartbeat time of client. Unix Time Seconds.
func (GetEcsBackupClientsClientOutput) MaxClientVersion ¶
func (o GetEcsBackupClientsClientOutput) MaxClientVersion() pulumi.StringOutput
The latest version of client.
func (GetEcsBackupClientsClientOutput) MaxCpuCore ¶
func (o GetEcsBackupClientsClientOutput) MaxCpuCore() pulumi.StringOutput
The number of CPU cores used by a single backup task, 0 means no restrictions.
func (GetEcsBackupClientsClientOutput) MaxWorker ¶
func (o GetEcsBackupClientsClientOutput) MaxWorker() pulumi.StringOutput
The number of concurrent jobs for a single backup task, 0 means no restrictions.
func (GetEcsBackupClientsClientOutput) OsType ¶
func (o GetEcsBackupClientsClientOutput) OsType() pulumi.StringOutput
The operating system type of client, only the ECS File Backup Client is available. Valid values: `windows`, `linux`.
func (GetEcsBackupClientsClientOutput) PrivateIpv4 ¶
func (o GetEcsBackupClientsClientOutput) PrivateIpv4() pulumi.StringOutput
Intranet IP address of the instance, only available for ECS file backup client.
func (GetEcsBackupClientsClientOutput) ProxyHost ¶
func (o GetEcsBackupClientsClientOutput) ProxyHost() pulumi.StringOutput
Custom data plane proxy server host address.
func (GetEcsBackupClientsClientOutput) ProxyPassword ¶
func (o GetEcsBackupClientsClientOutput) ProxyPassword() pulumi.StringOutput
The password of custom data plane proxy server.
func (GetEcsBackupClientsClientOutput) ProxyPort ¶
func (o GetEcsBackupClientsClientOutput) ProxyPort() pulumi.StringOutput
Custom data plane proxy server host port.
func (GetEcsBackupClientsClientOutput) ProxyUser ¶
func (o GetEcsBackupClientsClientOutput) ProxyUser() pulumi.StringOutput
The username of custom data plane proxy server.
func (GetEcsBackupClientsClientOutput) Status ¶
func (o GetEcsBackupClientsClientOutput) Status() pulumi.StringOutput
The status of the resource.
func (GetEcsBackupClientsClientOutput) ToGetEcsBackupClientsClientOutput ¶
func (o GetEcsBackupClientsClientOutput) ToGetEcsBackupClientsClientOutput() GetEcsBackupClientsClientOutput
func (GetEcsBackupClientsClientOutput) ToGetEcsBackupClientsClientOutputWithContext ¶
func (o GetEcsBackupClientsClientOutput) ToGetEcsBackupClientsClientOutputWithContext(ctx context.Context) GetEcsBackupClientsClientOutput
func (GetEcsBackupClientsClientOutput) UpdatedTime ¶
func (o GetEcsBackupClientsClientOutput) UpdatedTime() pulumi.StringOutput
The update time of client. Unix Time Seconds.
func (GetEcsBackupClientsClientOutput) UseHttps ¶
func (o GetEcsBackupClientsClientOutput) UseHttps() pulumi.BoolOutput
Indicates whether to use the HTTPS protocol. Valid values: `true`, `false`.
func (GetEcsBackupClientsClientOutput) ZoneId ¶
func (o GetEcsBackupClientsClientOutput) ZoneId() pulumi.StringOutput
The ID of Zone.
type GetEcsBackupClientsOutputArgs ¶
type GetEcsBackupClientsOutputArgs struct { // A list of Ecs Backup Client IDs. Ids pulumi.StringArrayInput `pulumi:"ids"` // A list of ECS Instance IDs. InstanceIds pulumi.StringArrayInput `pulumi:"instanceIds"` OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` // The status of the resource. Status pulumi.StringPtrInput `pulumi:"status"` }
A collection of arguments for invoking getEcsBackupClients.
func (GetEcsBackupClientsOutputArgs) ElementType ¶
func (GetEcsBackupClientsOutputArgs) ElementType() reflect.Type
type GetEcsBackupClientsResult ¶
type GetEcsBackupClientsResult struct { Clients []GetEcsBackupClientsClient `pulumi:"clients"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Ids []string `pulumi:"ids"` InstanceIds []string `pulumi:"instanceIds"` OutputFile *string `pulumi:"outputFile"` Status *string `pulumi:"status"` }
A collection of values returned by getEcsBackupClients.
func GetEcsBackupClients ¶
func GetEcsBackupClients(ctx *pulumi.Context, args *GetEcsBackupClientsArgs, opts ...pulumi.InvokeOption) (*GetEcsBackupClientsResult, error)
This data source provides the Hbr Ecs File Backup Clients of the current Alibaba Cloud user.
> **NOTE:** Available in v1.132.0+.
type GetEcsBackupClientsResultOutput ¶
type GetEcsBackupClientsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getEcsBackupClients.
func GetEcsBackupClientsOutput ¶
func GetEcsBackupClientsOutput(ctx *pulumi.Context, args GetEcsBackupClientsOutputArgs, opts ...pulumi.InvokeOption) GetEcsBackupClientsResultOutput
func (GetEcsBackupClientsResultOutput) Clients ¶
func (o GetEcsBackupClientsResultOutput) Clients() GetEcsBackupClientsClientArrayOutput
func (GetEcsBackupClientsResultOutput) ElementType ¶
func (GetEcsBackupClientsResultOutput) ElementType() reflect.Type
func (GetEcsBackupClientsResultOutput) Id ¶
func (o GetEcsBackupClientsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetEcsBackupClientsResultOutput) Ids ¶
func (o GetEcsBackupClientsResultOutput) Ids() pulumi.StringArrayOutput
func (GetEcsBackupClientsResultOutput) InstanceIds ¶
func (o GetEcsBackupClientsResultOutput) InstanceIds() pulumi.StringArrayOutput
func (GetEcsBackupClientsResultOutput) OutputFile ¶
func (o GetEcsBackupClientsResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetEcsBackupClientsResultOutput) Status ¶
func (o GetEcsBackupClientsResultOutput) Status() pulumi.StringPtrOutput
func (GetEcsBackupClientsResultOutput) ToGetEcsBackupClientsResultOutput ¶
func (o GetEcsBackupClientsResultOutput) ToGetEcsBackupClientsResultOutput() GetEcsBackupClientsResultOutput
func (GetEcsBackupClientsResultOutput) ToGetEcsBackupClientsResultOutputWithContext ¶
func (o GetEcsBackupClientsResultOutput) ToGetEcsBackupClientsResultOutputWithContext(ctx context.Context) GetEcsBackupClientsResultOutput
type GetEcsBackupPlansArgs ¶
type GetEcsBackupPlansArgs struct { // A list of EcsBackupPlan IDs. Ids []string `pulumi:"ids"` // The ID of ECS instance. InstanceId *string `pulumi:"instanceId"` // A regex string to filter results by EcsBackupPlan name. NameRegex *string `pulumi:"nameRegex"` OutputFile *string `pulumi:"outputFile"` // The ID of Backup vault. VaultId *string `pulumi:"vaultId"` }
A collection of arguments for invoking getEcsBackupPlans.
type GetEcsBackupPlansOutputArgs ¶
type GetEcsBackupPlansOutputArgs struct { // A list of EcsBackupPlan IDs. Ids pulumi.StringArrayInput `pulumi:"ids"` // The ID of ECS instance. InstanceId pulumi.StringPtrInput `pulumi:"instanceId"` // A regex string to filter results by EcsBackupPlan name. NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"` OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` // The ID of Backup vault. VaultId pulumi.StringPtrInput `pulumi:"vaultId"` }
A collection of arguments for invoking getEcsBackupPlans.
func (GetEcsBackupPlansOutputArgs) ElementType ¶
func (GetEcsBackupPlansOutputArgs) ElementType() reflect.Type
type GetEcsBackupPlansPlan ¶
type GetEcsBackupPlansPlan struct { // Backup type. Valid values: `COMPLETE`. BackupType string `pulumi:"backupType"` CreateTime string `pulumi:"createTime"` // The creation time of the backup plan. UNIX time in seconds. CreatedTime string `pulumi:"createdTime"` Detail string `pulumi:"detail"` // Whether to be suspended. Valid values: `true`, `false`. Disabled bool `pulumi:"disabled"` // The ID of ecs backup plan. EcsBackupPlanId string `pulumi:"ecsBackupPlanId"` // The name of the backup plan. EcsBackupPlanName string `pulumi:"ecsBackupPlanName"` // Exclude path. String of Json list. Up to 255 characters. e.g. `"[\"/home/work\"]"` Exclude string `pulumi:"exclude"` // The ID of ecs backup plan. Id string `pulumi:"id"` // Include path. String of Json list. Up to 255 characters. e.g. `"[\"/var\"]"` Include string `pulumi:"include"` // The ID of ECS instance. InstanceId string `pulumi:"instanceId"` // Windows operating system with application consistency using VSS. eg: {`UseVSS`:false}. Options string `pulumi:"options"` // Backup path. e.g. `["/home", "/var"]` Paths []string `pulumi:"paths"` // Backup retention days, the minimum is 1. Retention string `pulumi:"retention"` // Backup strategy. Optional format: `I|{startTime}|{interval}`. It means to execute a backup task every `{interval}` starting from `{startTime}`. The backup task for the elapsed time will not be compensated. If the last backup task has not completed yet, the next backup task will not be triggered. Schedule string `pulumi:"schedule"` // The type of backup source. SourceType string `pulumi:"sourceType"` // Flow control. The format is: {start}|{end}|{bandwidth}. Use `|` to separate multiple flow control configurations, multiple flow control configurations not allowed to have overlapping times. SpeedLimit string `pulumi:"speedLimit"` // The update time of the backup plan. UNIX time in seconds. UpdatedTime string `pulumi:"updatedTime"` // The ID of Backup vault. VaultId string `pulumi:"vaultId"` }
type GetEcsBackupPlansPlanArgs ¶
type GetEcsBackupPlansPlanArgs struct { // Backup type. Valid values: `COMPLETE`. BackupType pulumi.StringInput `pulumi:"backupType"` CreateTime pulumi.StringInput `pulumi:"createTime"` // The creation time of the backup plan. UNIX time in seconds. CreatedTime pulumi.StringInput `pulumi:"createdTime"` Detail pulumi.StringInput `pulumi:"detail"` // Whether to be suspended. Valid values: `true`, `false`. Disabled pulumi.BoolInput `pulumi:"disabled"` // The ID of ecs backup plan. EcsBackupPlanId pulumi.StringInput `pulumi:"ecsBackupPlanId"` // The name of the backup plan. EcsBackupPlanName pulumi.StringInput `pulumi:"ecsBackupPlanName"` // Exclude path. String of Json list. Up to 255 characters. e.g. `"[\"/home/work\"]"` Exclude pulumi.StringInput `pulumi:"exclude"` // The ID of ecs backup plan. Id pulumi.StringInput `pulumi:"id"` // Include path. String of Json list. Up to 255 characters. e.g. `"[\"/var\"]"` Include pulumi.StringInput `pulumi:"include"` // The ID of ECS instance. InstanceId pulumi.StringInput `pulumi:"instanceId"` // Windows operating system with application consistency using VSS. eg: {`UseVSS`:false}. Options pulumi.StringInput `pulumi:"options"` // Backup path. e.g. `["/home", "/var"]` Paths pulumi.StringArrayInput `pulumi:"paths"` // Backup retention days, the minimum is 1. Retention pulumi.StringInput `pulumi:"retention"` // Backup strategy. Optional format: `I|{startTime}|{interval}`. It means to execute a backup task every `{interval}` starting from `{startTime}`. The backup task for the elapsed time will not be compensated. If the last backup task has not completed yet, the next backup task will not be triggered. Schedule pulumi.StringInput `pulumi:"schedule"` // The type of backup source. SourceType pulumi.StringInput `pulumi:"sourceType"` // Flow control. The format is: {start}|{end}|{bandwidth}. Use `|` to separate multiple flow control configurations, multiple flow control configurations not allowed to have overlapping times. SpeedLimit pulumi.StringInput `pulumi:"speedLimit"` // The update time of the backup plan. UNIX time in seconds. UpdatedTime pulumi.StringInput `pulumi:"updatedTime"` // The ID of Backup vault. VaultId pulumi.StringInput `pulumi:"vaultId"` }
func (GetEcsBackupPlansPlanArgs) ElementType ¶
func (GetEcsBackupPlansPlanArgs) ElementType() reflect.Type
func (GetEcsBackupPlansPlanArgs) ToGetEcsBackupPlansPlanOutput ¶
func (i GetEcsBackupPlansPlanArgs) ToGetEcsBackupPlansPlanOutput() GetEcsBackupPlansPlanOutput
func (GetEcsBackupPlansPlanArgs) ToGetEcsBackupPlansPlanOutputWithContext ¶
func (i GetEcsBackupPlansPlanArgs) ToGetEcsBackupPlansPlanOutputWithContext(ctx context.Context) GetEcsBackupPlansPlanOutput
type GetEcsBackupPlansPlanArray ¶
type GetEcsBackupPlansPlanArray []GetEcsBackupPlansPlanInput
func (GetEcsBackupPlansPlanArray) ElementType ¶
func (GetEcsBackupPlansPlanArray) ElementType() reflect.Type
func (GetEcsBackupPlansPlanArray) ToGetEcsBackupPlansPlanArrayOutput ¶
func (i GetEcsBackupPlansPlanArray) ToGetEcsBackupPlansPlanArrayOutput() GetEcsBackupPlansPlanArrayOutput
func (GetEcsBackupPlansPlanArray) ToGetEcsBackupPlansPlanArrayOutputWithContext ¶
func (i GetEcsBackupPlansPlanArray) ToGetEcsBackupPlansPlanArrayOutputWithContext(ctx context.Context) GetEcsBackupPlansPlanArrayOutput
type GetEcsBackupPlansPlanArrayInput ¶
type GetEcsBackupPlansPlanArrayInput interface { pulumi.Input ToGetEcsBackupPlansPlanArrayOutput() GetEcsBackupPlansPlanArrayOutput ToGetEcsBackupPlansPlanArrayOutputWithContext(context.Context) GetEcsBackupPlansPlanArrayOutput }
GetEcsBackupPlansPlanArrayInput is an input type that accepts GetEcsBackupPlansPlanArray and GetEcsBackupPlansPlanArrayOutput values. You can construct a concrete instance of `GetEcsBackupPlansPlanArrayInput` via:
GetEcsBackupPlansPlanArray{ GetEcsBackupPlansPlanArgs{...} }
type GetEcsBackupPlansPlanArrayOutput ¶
type GetEcsBackupPlansPlanArrayOutput struct{ *pulumi.OutputState }
func (GetEcsBackupPlansPlanArrayOutput) ElementType ¶
func (GetEcsBackupPlansPlanArrayOutput) ElementType() reflect.Type
func (GetEcsBackupPlansPlanArrayOutput) Index ¶
func (o GetEcsBackupPlansPlanArrayOutput) Index(i pulumi.IntInput) GetEcsBackupPlansPlanOutput
func (GetEcsBackupPlansPlanArrayOutput) ToGetEcsBackupPlansPlanArrayOutput ¶
func (o GetEcsBackupPlansPlanArrayOutput) ToGetEcsBackupPlansPlanArrayOutput() GetEcsBackupPlansPlanArrayOutput
func (GetEcsBackupPlansPlanArrayOutput) ToGetEcsBackupPlansPlanArrayOutputWithContext ¶
func (o GetEcsBackupPlansPlanArrayOutput) ToGetEcsBackupPlansPlanArrayOutputWithContext(ctx context.Context) GetEcsBackupPlansPlanArrayOutput
type GetEcsBackupPlansPlanInput ¶
type GetEcsBackupPlansPlanInput interface { pulumi.Input ToGetEcsBackupPlansPlanOutput() GetEcsBackupPlansPlanOutput ToGetEcsBackupPlansPlanOutputWithContext(context.Context) GetEcsBackupPlansPlanOutput }
GetEcsBackupPlansPlanInput is an input type that accepts GetEcsBackupPlansPlanArgs and GetEcsBackupPlansPlanOutput values. You can construct a concrete instance of `GetEcsBackupPlansPlanInput` via:
GetEcsBackupPlansPlanArgs{...}
type GetEcsBackupPlansPlanOutput ¶
type GetEcsBackupPlansPlanOutput struct{ *pulumi.OutputState }
func (GetEcsBackupPlansPlanOutput) BackupType ¶
func (o GetEcsBackupPlansPlanOutput) BackupType() pulumi.StringOutput
Backup type. Valid values: `COMPLETE`.
func (GetEcsBackupPlansPlanOutput) CreateTime ¶
func (o GetEcsBackupPlansPlanOutput) CreateTime() pulumi.StringOutput
func (GetEcsBackupPlansPlanOutput) CreatedTime ¶
func (o GetEcsBackupPlansPlanOutput) CreatedTime() pulumi.StringOutput
The creation time of the backup plan. UNIX time in seconds.
func (GetEcsBackupPlansPlanOutput) Detail ¶
func (o GetEcsBackupPlansPlanOutput) Detail() pulumi.StringOutput
func (GetEcsBackupPlansPlanOutput) Disabled ¶
func (o GetEcsBackupPlansPlanOutput) Disabled() pulumi.BoolOutput
Whether to be suspended. Valid values: `true`, `false`.
func (GetEcsBackupPlansPlanOutput) EcsBackupPlanId ¶
func (o GetEcsBackupPlansPlanOutput) EcsBackupPlanId() pulumi.StringOutput
The ID of ecs backup plan.
func (GetEcsBackupPlansPlanOutput) EcsBackupPlanName ¶
func (o GetEcsBackupPlansPlanOutput) EcsBackupPlanName() pulumi.StringOutput
The name of the backup plan.
func (GetEcsBackupPlansPlanOutput) ElementType ¶
func (GetEcsBackupPlansPlanOutput) ElementType() reflect.Type
func (GetEcsBackupPlansPlanOutput) Exclude ¶
func (o GetEcsBackupPlansPlanOutput) Exclude() pulumi.StringOutput
Exclude path. String of Json list. Up to 255 characters. e.g. `"[\"/home/work\"]"`
func (GetEcsBackupPlansPlanOutput) Id ¶
func (o GetEcsBackupPlansPlanOutput) Id() pulumi.StringOutput
The ID of ecs backup plan.
func (GetEcsBackupPlansPlanOutput) Include ¶
func (o GetEcsBackupPlansPlanOutput) Include() pulumi.StringOutput
Include path. String of Json list. Up to 255 characters. e.g. `"[\"/var\"]"`
func (GetEcsBackupPlansPlanOutput) InstanceId ¶
func (o GetEcsBackupPlansPlanOutput) InstanceId() pulumi.StringOutput
The ID of ECS instance.
func (GetEcsBackupPlansPlanOutput) Options ¶
func (o GetEcsBackupPlansPlanOutput) Options() pulumi.StringOutput
Windows operating system with application consistency using VSS. eg: {`UseVSS`:false}.
func (GetEcsBackupPlansPlanOutput) Paths ¶
func (o GetEcsBackupPlansPlanOutput) Paths() pulumi.StringArrayOutput
Backup path. e.g. `["/home", "/var"]`
func (GetEcsBackupPlansPlanOutput) Retention ¶
func (o GetEcsBackupPlansPlanOutput) Retention() pulumi.StringOutput
Backup retention days, the minimum is 1.
func (GetEcsBackupPlansPlanOutput) Schedule ¶
func (o GetEcsBackupPlansPlanOutput) Schedule() pulumi.StringOutput
Backup strategy. Optional format: `I|{startTime}|{interval}`. It means to execute a backup task every `{interval}` starting from `{startTime}`. The backup task for the elapsed time will not be compensated. If the last backup task has not completed yet, the next backup task will not be triggered.
func (GetEcsBackupPlansPlanOutput) SourceType ¶
func (o GetEcsBackupPlansPlanOutput) SourceType() pulumi.StringOutput
The type of backup source.
func (GetEcsBackupPlansPlanOutput) SpeedLimit ¶
func (o GetEcsBackupPlansPlanOutput) SpeedLimit() pulumi.StringOutput
Flow control. The format is: {start}|{end}|{bandwidth}. Use `|` to separate multiple flow control configurations, multiple flow control configurations not allowed to have overlapping times.
func (GetEcsBackupPlansPlanOutput) ToGetEcsBackupPlansPlanOutput ¶
func (o GetEcsBackupPlansPlanOutput) ToGetEcsBackupPlansPlanOutput() GetEcsBackupPlansPlanOutput
func (GetEcsBackupPlansPlanOutput) ToGetEcsBackupPlansPlanOutputWithContext ¶
func (o GetEcsBackupPlansPlanOutput) ToGetEcsBackupPlansPlanOutputWithContext(ctx context.Context) GetEcsBackupPlansPlanOutput
func (GetEcsBackupPlansPlanOutput) UpdatedTime ¶
func (o GetEcsBackupPlansPlanOutput) UpdatedTime() pulumi.StringOutput
The update time of the backup plan. UNIX time in seconds.
func (GetEcsBackupPlansPlanOutput) VaultId ¶
func (o GetEcsBackupPlansPlanOutput) VaultId() pulumi.StringOutput
The ID of Backup vault.
type GetEcsBackupPlansResult ¶
type GetEcsBackupPlansResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Ids []string `pulumi:"ids"` InstanceId *string `pulumi:"instanceId"` NameRegex *string `pulumi:"nameRegex"` Names []string `pulumi:"names"` OutputFile *string `pulumi:"outputFile"` Plans []GetEcsBackupPlansPlan `pulumi:"plans"` VaultId *string `pulumi:"vaultId"` }
A collection of values returned by getEcsBackupPlans.
func GetEcsBackupPlans ¶
func GetEcsBackupPlans(ctx *pulumi.Context, args *GetEcsBackupPlansArgs, opts ...pulumi.InvokeOption) (*GetEcsBackupPlansResult, error)
This data source provides the Hbr EcsBackupPlans of the current Alibaba Cloud user.
> **NOTE:** Available in v1.132.0+.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/hbr" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/hbr"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { ids, err := hbr.GetEcsBackupPlans(ctx, &hbr.GetEcsBackupPlansArgs{ NameRegex: pulumi.StringRef("plan-name"), }, nil) if err != nil { return err } ctx.Export("hbrEcsBackupPlanId", ids.Plans[0].Id) return nil }) }
```
type GetEcsBackupPlansResultOutput ¶
type GetEcsBackupPlansResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getEcsBackupPlans.
func GetEcsBackupPlansOutput ¶
func GetEcsBackupPlansOutput(ctx *pulumi.Context, args GetEcsBackupPlansOutputArgs, opts ...pulumi.InvokeOption) GetEcsBackupPlansResultOutput
func (GetEcsBackupPlansResultOutput) ElementType ¶
func (GetEcsBackupPlansResultOutput) ElementType() reflect.Type
func (GetEcsBackupPlansResultOutput) Id ¶
func (o GetEcsBackupPlansResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetEcsBackupPlansResultOutput) Ids ¶
func (o GetEcsBackupPlansResultOutput) Ids() pulumi.StringArrayOutput
func (GetEcsBackupPlansResultOutput) InstanceId ¶
func (o GetEcsBackupPlansResultOutput) InstanceId() pulumi.StringPtrOutput
func (GetEcsBackupPlansResultOutput) NameRegex ¶
func (o GetEcsBackupPlansResultOutput) NameRegex() pulumi.StringPtrOutput
func (GetEcsBackupPlansResultOutput) Names ¶
func (o GetEcsBackupPlansResultOutput) Names() pulumi.StringArrayOutput
func (GetEcsBackupPlansResultOutput) OutputFile ¶
func (o GetEcsBackupPlansResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetEcsBackupPlansResultOutput) Plans ¶
func (o GetEcsBackupPlansResultOutput) Plans() GetEcsBackupPlansPlanArrayOutput
func (GetEcsBackupPlansResultOutput) ToGetEcsBackupPlansResultOutput ¶
func (o GetEcsBackupPlansResultOutput) ToGetEcsBackupPlansResultOutput() GetEcsBackupPlansResultOutput
func (GetEcsBackupPlansResultOutput) ToGetEcsBackupPlansResultOutputWithContext ¶
func (o GetEcsBackupPlansResultOutput) ToGetEcsBackupPlansResultOutputWithContext(ctx context.Context) GetEcsBackupPlansResultOutput
func (GetEcsBackupPlansResultOutput) VaultId ¶
func (o GetEcsBackupPlansResultOutput) VaultId() pulumi.StringPtrOutput
type GetHanaBackupPlansArgs ¶
type GetHanaBackupPlansArgs struct { // The ID of the SAP HANA instance. ClusterId string `pulumi:"clusterId"` // The name of the database. DatabaseName *string `pulumi:"databaseName"` // A list of Hana Backup Plan IDs. Ids []string `pulumi:"ids"` // A regex string to filter results by Hana Backup Plan name. NameRegex *string `pulumi:"nameRegex"` OutputFile *string `pulumi:"outputFile"` PageNumber *int `pulumi:"pageNumber"` PageSize *int `pulumi:"pageSize"` // The ID of the backup vault. VaultId *string `pulumi:"vaultId"` }
A collection of arguments for invoking getHanaBackupPlans.
type GetHanaBackupPlansOutputArgs ¶
type GetHanaBackupPlansOutputArgs struct { // The ID of the SAP HANA instance. ClusterId pulumi.StringInput `pulumi:"clusterId"` // The name of the database. DatabaseName pulumi.StringPtrInput `pulumi:"databaseName"` // A list of Hana Backup Plan IDs. Ids pulumi.StringArrayInput `pulumi:"ids"` // A regex string to filter results by Hana Backup Plan name. NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"` OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` PageNumber pulumi.IntPtrInput `pulumi:"pageNumber"` PageSize pulumi.IntPtrInput `pulumi:"pageSize"` // The ID of the backup vault. VaultId pulumi.StringPtrInput `pulumi:"vaultId"` }
A collection of arguments for invoking getHanaBackupPlans.
func (GetHanaBackupPlansOutputArgs) ElementType ¶
func (GetHanaBackupPlansOutputArgs) ElementType() reflect.Type
type GetHanaBackupPlansPlan ¶
type GetHanaBackupPlansPlan struct { // The backup prefix. BackupPrefix string `pulumi:"backupPrefix"` // The backup type. BackupType string `pulumi:"backupType"` // The ID of the SAP HANA instance. ClusterId string `pulumi:"clusterId"` // The name of the database. DatabaseName string `pulumi:"databaseName"` // The ID of the resource. Id string `pulumi:"id"` PageTotal string `pulumi:"pageTotal"` // The ID of the backup plan. PlanId string `pulumi:"planId"` // The name of the backup plan. PlanName string `pulumi:"planName"` // The backup policy. Schedule string `pulumi:"schedule"` // The status of the resource. Status string `pulumi:"status"` // The ID of the backup vault. VaultId string `pulumi:"vaultId"` }
type GetHanaBackupPlansPlanArgs ¶
type GetHanaBackupPlansPlanArgs struct { // The backup prefix. BackupPrefix pulumi.StringInput `pulumi:"backupPrefix"` // The backup type. BackupType pulumi.StringInput `pulumi:"backupType"` // The ID of the SAP HANA instance. ClusterId pulumi.StringInput `pulumi:"clusterId"` // The name of the database. DatabaseName pulumi.StringInput `pulumi:"databaseName"` // The ID of the resource. Id pulumi.StringInput `pulumi:"id"` PageTotal pulumi.StringInput `pulumi:"pageTotal"` // The ID of the backup plan. PlanId pulumi.StringInput `pulumi:"planId"` // The name of the backup plan. PlanName pulumi.StringInput `pulumi:"planName"` // The backup policy. Schedule pulumi.StringInput `pulumi:"schedule"` // The status of the resource. Status pulumi.StringInput `pulumi:"status"` // The ID of the backup vault. VaultId pulumi.StringInput `pulumi:"vaultId"` }
func (GetHanaBackupPlansPlanArgs) ElementType ¶
func (GetHanaBackupPlansPlanArgs) ElementType() reflect.Type
func (GetHanaBackupPlansPlanArgs) ToGetHanaBackupPlansPlanOutput ¶
func (i GetHanaBackupPlansPlanArgs) ToGetHanaBackupPlansPlanOutput() GetHanaBackupPlansPlanOutput
func (GetHanaBackupPlansPlanArgs) ToGetHanaBackupPlansPlanOutputWithContext ¶
func (i GetHanaBackupPlansPlanArgs) ToGetHanaBackupPlansPlanOutputWithContext(ctx context.Context) GetHanaBackupPlansPlanOutput
type GetHanaBackupPlansPlanArray ¶
type GetHanaBackupPlansPlanArray []GetHanaBackupPlansPlanInput
func (GetHanaBackupPlansPlanArray) ElementType ¶
func (GetHanaBackupPlansPlanArray) ElementType() reflect.Type
func (GetHanaBackupPlansPlanArray) ToGetHanaBackupPlansPlanArrayOutput ¶
func (i GetHanaBackupPlansPlanArray) ToGetHanaBackupPlansPlanArrayOutput() GetHanaBackupPlansPlanArrayOutput
func (GetHanaBackupPlansPlanArray) ToGetHanaBackupPlansPlanArrayOutputWithContext ¶
func (i GetHanaBackupPlansPlanArray) ToGetHanaBackupPlansPlanArrayOutputWithContext(ctx context.Context) GetHanaBackupPlansPlanArrayOutput
type GetHanaBackupPlansPlanArrayInput ¶
type GetHanaBackupPlansPlanArrayInput interface { pulumi.Input ToGetHanaBackupPlansPlanArrayOutput() GetHanaBackupPlansPlanArrayOutput ToGetHanaBackupPlansPlanArrayOutputWithContext(context.Context) GetHanaBackupPlansPlanArrayOutput }
GetHanaBackupPlansPlanArrayInput is an input type that accepts GetHanaBackupPlansPlanArray and GetHanaBackupPlansPlanArrayOutput values. You can construct a concrete instance of `GetHanaBackupPlansPlanArrayInput` via:
GetHanaBackupPlansPlanArray{ GetHanaBackupPlansPlanArgs{...} }
type GetHanaBackupPlansPlanArrayOutput ¶
type GetHanaBackupPlansPlanArrayOutput struct{ *pulumi.OutputState }
func (GetHanaBackupPlansPlanArrayOutput) ElementType ¶
func (GetHanaBackupPlansPlanArrayOutput) ElementType() reflect.Type
func (GetHanaBackupPlansPlanArrayOutput) Index ¶
func (o GetHanaBackupPlansPlanArrayOutput) Index(i pulumi.IntInput) GetHanaBackupPlansPlanOutput
func (GetHanaBackupPlansPlanArrayOutput) ToGetHanaBackupPlansPlanArrayOutput ¶
func (o GetHanaBackupPlansPlanArrayOutput) ToGetHanaBackupPlansPlanArrayOutput() GetHanaBackupPlansPlanArrayOutput
func (GetHanaBackupPlansPlanArrayOutput) ToGetHanaBackupPlansPlanArrayOutputWithContext ¶
func (o GetHanaBackupPlansPlanArrayOutput) ToGetHanaBackupPlansPlanArrayOutputWithContext(ctx context.Context) GetHanaBackupPlansPlanArrayOutput
type GetHanaBackupPlansPlanInput ¶
type GetHanaBackupPlansPlanInput interface { pulumi.Input ToGetHanaBackupPlansPlanOutput() GetHanaBackupPlansPlanOutput ToGetHanaBackupPlansPlanOutputWithContext(context.Context) GetHanaBackupPlansPlanOutput }
GetHanaBackupPlansPlanInput is an input type that accepts GetHanaBackupPlansPlanArgs and GetHanaBackupPlansPlanOutput values. You can construct a concrete instance of `GetHanaBackupPlansPlanInput` via:
GetHanaBackupPlansPlanArgs{...}
type GetHanaBackupPlansPlanOutput ¶
type GetHanaBackupPlansPlanOutput struct{ *pulumi.OutputState }
func (GetHanaBackupPlansPlanOutput) BackupPrefix ¶
func (o GetHanaBackupPlansPlanOutput) BackupPrefix() pulumi.StringOutput
The backup prefix.
func (GetHanaBackupPlansPlanOutput) BackupType ¶
func (o GetHanaBackupPlansPlanOutput) BackupType() pulumi.StringOutput
The backup type.
func (GetHanaBackupPlansPlanOutput) ClusterId ¶
func (o GetHanaBackupPlansPlanOutput) ClusterId() pulumi.StringOutput
The ID of the SAP HANA instance.
func (GetHanaBackupPlansPlanOutput) DatabaseName ¶
func (o GetHanaBackupPlansPlanOutput) DatabaseName() pulumi.StringOutput
The name of the database.
func (GetHanaBackupPlansPlanOutput) ElementType ¶
func (GetHanaBackupPlansPlanOutput) ElementType() reflect.Type
func (GetHanaBackupPlansPlanOutput) Id ¶
func (o GetHanaBackupPlansPlanOutput) Id() pulumi.StringOutput
The ID of the resource.
func (GetHanaBackupPlansPlanOutput) PageTotal ¶
func (o GetHanaBackupPlansPlanOutput) PageTotal() pulumi.StringOutput
func (GetHanaBackupPlansPlanOutput) PlanId ¶
func (o GetHanaBackupPlansPlanOutput) PlanId() pulumi.StringOutput
The ID of the backup plan.
func (GetHanaBackupPlansPlanOutput) PlanName ¶
func (o GetHanaBackupPlansPlanOutput) PlanName() pulumi.StringOutput
The name of the backup plan.
func (GetHanaBackupPlansPlanOutput) Schedule ¶
func (o GetHanaBackupPlansPlanOutput) Schedule() pulumi.StringOutput
The backup policy.
func (GetHanaBackupPlansPlanOutput) Status ¶
func (o GetHanaBackupPlansPlanOutput) Status() pulumi.StringOutput
The status of the resource.
func (GetHanaBackupPlansPlanOutput) ToGetHanaBackupPlansPlanOutput ¶
func (o GetHanaBackupPlansPlanOutput) ToGetHanaBackupPlansPlanOutput() GetHanaBackupPlansPlanOutput
func (GetHanaBackupPlansPlanOutput) ToGetHanaBackupPlansPlanOutputWithContext ¶
func (o GetHanaBackupPlansPlanOutput) ToGetHanaBackupPlansPlanOutputWithContext(ctx context.Context) GetHanaBackupPlansPlanOutput
func (GetHanaBackupPlansPlanOutput) VaultId ¶
func (o GetHanaBackupPlansPlanOutput) VaultId() pulumi.StringOutput
The ID of the backup vault.
type GetHanaBackupPlansResult ¶
type GetHanaBackupPlansResult struct { ClusterId string `pulumi:"clusterId"` DatabaseName *string `pulumi:"databaseName"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Ids []string `pulumi:"ids"` NameRegex *string `pulumi:"nameRegex"` Names []string `pulumi:"names"` OutputFile *string `pulumi:"outputFile"` PageNumber *int `pulumi:"pageNumber"` PageSize *int `pulumi:"pageSize"` Plans []GetHanaBackupPlansPlan `pulumi:"plans"` VaultId *string `pulumi:"vaultId"` }
A collection of values returned by getHanaBackupPlans.
func GetHanaBackupPlans ¶
func GetHanaBackupPlans(ctx *pulumi.Context, args *GetHanaBackupPlansArgs, opts ...pulumi.InvokeOption) (*GetHanaBackupPlansResult, error)
This data source provides the Hbr Hana Backup Plans of the current Alibaba Cloud user.
> **NOTE:** Available in v1.179.0+.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/hbr" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/hbr"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { ids, err := hbr.GetHanaBackupPlans(ctx, &hbr.GetHanaBackupPlansArgs{ ClusterId: "example_value", Ids: []string{ "example_value-1", "example_value-2", }, }, nil) if err != nil { return err } ctx.Export("hbrHanaBackupPlanId1", ids.Plans[0].Id) return nil }) }
```
type GetHanaBackupPlansResultOutput ¶
type GetHanaBackupPlansResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getHanaBackupPlans.
func GetHanaBackupPlansOutput ¶
func GetHanaBackupPlansOutput(ctx *pulumi.Context, args GetHanaBackupPlansOutputArgs, opts ...pulumi.InvokeOption) GetHanaBackupPlansResultOutput
func (GetHanaBackupPlansResultOutput) ClusterId ¶
func (o GetHanaBackupPlansResultOutput) ClusterId() pulumi.StringOutput
func (GetHanaBackupPlansResultOutput) DatabaseName ¶
func (o GetHanaBackupPlansResultOutput) DatabaseName() pulumi.StringPtrOutput
func (GetHanaBackupPlansResultOutput) ElementType ¶
func (GetHanaBackupPlansResultOutput) ElementType() reflect.Type
func (GetHanaBackupPlansResultOutput) Id ¶
func (o GetHanaBackupPlansResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetHanaBackupPlansResultOutput) Ids ¶
func (o GetHanaBackupPlansResultOutput) Ids() pulumi.StringArrayOutput
func (GetHanaBackupPlansResultOutput) NameRegex ¶
func (o GetHanaBackupPlansResultOutput) NameRegex() pulumi.StringPtrOutput
func (GetHanaBackupPlansResultOutput) Names ¶
func (o GetHanaBackupPlansResultOutput) Names() pulumi.StringArrayOutput
func (GetHanaBackupPlansResultOutput) OutputFile ¶
func (o GetHanaBackupPlansResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetHanaBackupPlansResultOutput) PageNumber ¶
func (o GetHanaBackupPlansResultOutput) PageNumber() pulumi.IntPtrOutput
func (GetHanaBackupPlansResultOutput) PageSize ¶
func (o GetHanaBackupPlansResultOutput) PageSize() pulumi.IntPtrOutput
func (GetHanaBackupPlansResultOutput) Plans ¶
func (o GetHanaBackupPlansResultOutput) Plans() GetHanaBackupPlansPlanArrayOutput
func (GetHanaBackupPlansResultOutput) ToGetHanaBackupPlansResultOutput ¶
func (o GetHanaBackupPlansResultOutput) ToGetHanaBackupPlansResultOutput() GetHanaBackupPlansResultOutput
func (GetHanaBackupPlansResultOutput) ToGetHanaBackupPlansResultOutputWithContext ¶
func (o GetHanaBackupPlansResultOutput) ToGetHanaBackupPlansResultOutputWithContext(ctx context.Context) GetHanaBackupPlansResultOutput
func (GetHanaBackupPlansResultOutput) VaultId ¶
func (o GetHanaBackupPlansResultOutput) VaultId() pulumi.StringPtrOutput
type GetHanaInstancesArgs ¶
type GetHanaInstancesArgs struct { // A list of Hana Instance IDs. Ids []string `pulumi:"ids"` // A regex string to filter results by Hana Instance name. NameRegex *string `pulumi:"nameRegex"` OutputFile *string `pulumi:"outputFile"` PageNumber *int `pulumi:"pageNumber"` PageSize *int `pulumi:"pageSize"` // The status of the SAP HANA instance. Status *string `pulumi:"status"` // The ID of the backup vault. VaultId *string `pulumi:"vaultId"` }
A collection of arguments for invoking getHanaInstances.
type GetHanaInstancesInstance ¶
type GetHanaInstancesInstance struct { // The alert settings. Valid value: `INHERITED`, which indicates that the backup client sends alert notifications in the same way as the backup vault. AlertSetting string `pulumi:"alertSetting"` // The ID of the SAP HANA instance. HanaInstanceId string `pulumi:"hanaInstanceId"` // The name of the SAP HANA instance. HanaName string `pulumi:"hanaName"` // The private or internal IP address of the host where the primary node of the SAP HANA instance resides. Host string `pulumi:"host"` // The ID of the Hana Instance. The value formats as `<vault_id>:<hana_instance_id>`. Id string `pulumi:"id"` // The instance number of the SAP HANA system. InstanceNumber int `pulumi:"instanceNumber"` // The ID of the resource group. ResourceGroupId string `pulumi:"resourceGroupId"` // The status of the SAP HANA instance. Status string `pulumi:"status"` // The status information. StatusMessage string `pulumi:"statusMessage"` // Indicates whether the SAP HANA instance is connected over Secure Sockets Layer (SSL). UseSsl bool `pulumi:"useSsl"` // The username of the SYSTEMDB database. UserName string `pulumi:"userName"` // Indicates whether the SSL certificate of the SAP HANA instance is verified. ValidateCertificate bool `pulumi:"validateCertificate"` // The ID of the backup vault. VaultId string `pulumi:"vaultId"` }
type GetHanaInstancesInstanceArgs ¶
type GetHanaInstancesInstanceArgs struct { // The alert settings. Valid value: `INHERITED`, which indicates that the backup client sends alert notifications in the same way as the backup vault. AlertSetting pulumi.StringInput `pulumi:"alertSetting"` // The ID of the SAP HANA instance. HanaInstanceId pulumi.StringInput `pulumi:"hanaInstanceId"` // The name of the SAP HANA instance. HanaName pulumi.StringInput `pulumi:"hanaName"` // The private or internal IP address of the host where the primary node of the SAP HANA instance resides. Host pulumi.StringInput `pulumi:"host"` // The ID of the Hana Instance. The value formats as `<vault_id>:<hana_instance_id>`. Id pulumi.StringInput `pulumi:"id"` // The instance number of the SAP HANA system. InstanceNumber pulumi.IntInput `pulumi:"instanceNumber"` // The ID of the resource group. ResourceGroupId pulumi.StringInput `pulumi:"resourceGroupId"` // The status of the SAP HANA instance. Status pulumi.StringInput `pulumi:"status"` // The status information. StatusMessage pulumi.StringInput `pulumi:"statusMessage"` // Indicates whether the SAP HANA instance is connected over Secure Sockets Layer (SSL). UseSsl pulumi.BoolInput `pulumi:"useSsl"` // The username of the SYSTEMDB database. UserName pulumi.StringInput `pulumi:"userName"` // Indicates whether the SSL certificate of the SAP HANA instance is verified. ValidateCertificate pulumi.BoolInput `pulumi:"validateCertificate"` // The ID of the backup vault. VaultId pulumi.StringInput `pulumi:"vaultId"` }
func (GetHanaInstancesInstanceArgs) ElementType ¶
func (GetHanaInstancesInstanceArgs) ElementType() reflect.Type
func (GetHanaInstancesInstanceArgs) ToGetHanaInstancesInstanceOutput ¶
func (i GetHanaInstancesInstanceArgs) ToGetHanaInstancesInstanceOutput() GetHanaInstancesInstanceOutput
func (GetHanaInstancesInstanceArgs) ToGetHanaInstancesInstanceOutputWithContext ¶
func (i GetHanaInstancesInstanceArgs) ToGetHanaInstancesInstanceOutputWithContext(ctx context.Context) GetHanaInstancesInstanceOutput
type GetHanaInstancesInstanceArray ¶
type GetHanaInstancesInstanceArray []GetHanaInstancesInstanceInput
func (GetHanaInstancesInstanceArray) ElementType ¶
func (GetHanaInstancesInstanceArray) ElementType() reflect.Type
func (GetHanaInstancesInstanceArray) ToGetHanaInstancesInstanceArrayOutput ¶
func (i GetHanaInstancesInstanceArray) ToGetHanaInstancesInstanceArrayOutput() GetHanaInstancesInstanceArrayOutput
func (GetHanaInstancesInstanceArray) ToGetHanaInstancesInstanceArrayOutputWithContext ¶
func (i GetHanaInstancesInstanceArray) ToGetHanaInstancesInstanceArrayOutputWithContext(ctx context.Context) GetHanaInstancesInstanceArrayOutput
type GetHanaInstancesInstanceArrayInput ¶
type GetHanaInstancesInstanceArrayInput interface { pulumi.Input ToGetHanaInstancesInstanceArrayOutput() GetHanaInstancesInstanceArrayOutput ToGetHanaInstancesInstanceArrayOutputWithContext(context.Context) GetHanaInstancesInstanceArrayOutput }
GetHanaInstancesInstanceArrayInput is an input type that accepts GetHanaInstancesInstanceArray and GetHanaInstancesInstanceArrayOutput values. You can construct a concrete instance of `GetHanaInstancesInstanceArrayInput` via:
GetHanaInstancesInstanceArray{ GetHanaInstancesInstanceArgs{...} }
type GetHanaInstancesInstanceArrayOutput ¶
type GetHanaInstancesInstanceArrayOutput struct{ *pulumi.OutputState }
func (GetHanaInstancesInstanceArrayOutput) ElementType ¶
func (GetHanaInstancesInstanceArrayOutput) ElementType() reflect.Type
func (GetHanaInstancesInstanceArrayOutput) Index ¶
func (o GetHanaInstancesInstanceArrayOutput) Index(i pulumi.IntInput) GetHanaInstancesInstanceOutput
func (GetHanaInstancesInstanceArrayOutput) ToGetHanaInstancesInstanceArrayOutput ¶
func (o GetHanaInstancesInstanceArrayOutput) ToGetHanaInstancesInstanceArrayOutput() GetHanaInstancesInstanceArrayOutput
func (GetHanaInstancesInstanceArrayOutput) ToGetHanaInstancesInstanceArrayOutputWithContext ¶
func (o GetHanaInstancesInstanceArrayOutput) ToGetHanaInstancesInstanceArrayOutputWithContext(ctx context.Context) GetHanaInstancesInstanceArrayOutput
type GetHanaInstancesInstanceInput ¶
type GetHanaInstancesInstanceInput interface { pulumi.Input ToGetHanaInstancesInstanceOutput() GetHanaInstancesInstanceOutput ToGetHanaInstancesInstanceOutputWithContext(context.Context) GetHanaInstancesInstanceOutput }
GetHanaInstancesInstanceInput is an input type that accepts GetHanaInstancesInstanceArgs and GetHanaInstancesInstanceOutput values. You can construct a concrete instance of `GetHanaInstancesInstanceInput` via:
GetHanaInstancesInstanceArgs{...}
type GetHanaInstancesInstanceOutput ¶
type GetHanaInstancesInstanceOutput struct{ *pulumi.OutputState }
func (GetHanaInstancesInstanceOutput) AlertSetting ¶
func (o GetHanaInstancesInstanceOutput) AlertSetting() pulumi.StringOutput
The alert settings. Valid value: `INHERITED`, which indicates that the backup client sends alert notifications in the same way as the backup vault.
func (GetHanaInstancesInstanceOutput) ElementType ¶
func (GetHanaInstancesInstanceOutput) ElementType() reflect.Type
func (GetHanaInstancesInstanceOutput) HanaInstanceId ¶
func (o GetHanaInstancesInstanceOutput) HanaInstanceId() pulumi.StringOutput
The ID of the SAP HANA instance.
func (GetHanaInstancesInstanceOutput) HanaName ¶
func (o GetHanaInstancesInstanceOutput) HanaName() pulumi.StringOutput
The name of the SAP HANA instance.
func (GetHanaInstancesInstanceOutput) Host ¶
func (o GetHanaInstancesInstanceOutput) Host() pulumi.StringOutput
The private or internal IP address of the host where the primary node of the SAP HANA instance resides.
func (GetHanaInstancesInstanceOutput) Id ¶
func (o GetHanaInstancesInstanceOutput) Id() pulumi.StringOutput
The ID of the Hana Instance. The value formats as `<vault_id>:<hana_instance_id>`.
func (GetHanaInstancesInstanceOutput) InstanceNumber ¶
func (o GetHanaInstancesInstanceOutput) InstanceNumber() pulumi.IntOutput
The instance number of the SAP HANA system.
func (GetHanaInstancesInstanceOutput) ResourceGroupId ¶
func (o GetHanaInstancesInstanceOutput) ResourceGroupId() pulumi.StringOutput
The ID of the resource group.
func (GetHanaInstancesInstanceOutput) Status ¶
func (o GetHanaInstancesInstanceOutput) Status() pulumi.StringOutput
The status of the SAP HANA instance.
func (GetHanaInstancesInstanceOutput) StatusMessage ¶
func (o GetHanaInstancesInstanceOutput) StatusMessage() pulumi.StringOutput
The status information.
func (GetHanaInstancesInstanceOutput) ToGetHanaInstancesInstanceOutput ¶
func (o GetHanaInstancesInstanceOutput) ToGetHanaInstancesInstanceOutput() GetHanaInstancesInstanceOutput
func (GetHanaInstancesInstanceOutput) ToGetHanaInstancesInstanceOutputWithContext ¶
func (o GetHanaInstancesInstanceOutput) ToGetHanaInstancesInstanceOutputWithContext(ctx context.Context) GetHanaInstancesInstanceOutput
func (GetHanaInstancesInstanceOutput) UseSsl ¶
func (o GetHanaInstancesInstanceOutput) UseSsl() pulumi.BoolOutput
Indicates whether the SAP HANA instance is connected over Secure Sockets Layer (SSL).
func (GetHanaInstancesInstanceOutput) UserName ¶
func (o GetHanaInstancesInstanceOutput) UserName() pulumi.StringOutput
The username of the SYSTEMDB database.
func (GetHanaInstancesInstanceOutput) ValidateCertificate ¶
func (o GetHanaInstancesInstanceOutput) ValidateCertificate() pulumi.BoolOutput
Indicates whether the SSL certificate of the SAP HANA instance is verified.
func (GetHanaInstancesInstanceOutput) VaultId ¶
func (o GetHanaInstancesInstanceOutput) VaultId() pulumi.StringOutput
The ID of the backup vault.
type GetHanaInstancesOutputArgs ¶
type GetHanaInstancesOutputArgs struct { // A list of Hana Instance IDs. Ids pulumi.StringArrayInput `pulumi:"ids"` // A regex string to filter results by Hana Instance name. NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"` OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` PageNumber pulumi.IntPtrInput `pulumi:"pageNumber"` PageSize pulumi.IntPtrInput `pulumi:"pageSize"` // The status of the SAP HANA instance. Status pulumi.StringPtrInput `pulumi:"status"` // The ID of the backup vault. VaultId pulumi.StringPtrInput `pulumi:"vaultId"` }
A collection of arguments for invoking getHanaInstances.
func (GetHanaInstancesOutputArgs) ElementType ¶
func (GetHanaInstancesOutputArgs) ElementType() reflect.Type
type GetHanaInstancesResult ¶
type GetHanaInstancesResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Ids []string `pulumi:"ids"` Instances []GetHanaInstancesInstance `pulumi:"instances"` NameRegex *string `pulumi:"nameRegex"` Names []string `pulumi:"names"` OutputFile *string `pulumi:"outputFile"` PageNumber *int `pulumi:"pageNumber"` PageSize *int `pulumi:"pageSize"` Status *string `pulumi:"status"` VaultId *string `pulumi:"vaultId"` }
A collection of values returned by getHanaInstances.
func GetHanaInstances ¶
func GetHanaInstances(ctx *pulumi.Context, args *GetHanaInstancesArgs, opts ...pulumi.InvokeOption) (*GetHanaInstancesResult, error)
This data source provides the Hbr Hana Instances of the current Alibaba Cloud user.
> **NOTE:** Available in v1.178.0+.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/hbr" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/hbr"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { ids, err := hbr.GetHanaInstances(ctx, &hbr.GetHanaInstancesArgs{ Ids: []string{ "example_id", }, }, nil) if err != nil { return err } ctx.Export("hbrHanaInstanceId1", ids.Instances[0].Id) return nil }) }
```
type GetHanaInstancesResultOutput ¶
type GetHanaInstancesResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getHanaInstances.
func GetHanaInstancesOutput ¶
func GetHanaInstancesOutput(ctx *pulumi.Context, args GetHanaInstancesOutputArgs, opts ...pulumi.InvokeOption) GetHanaInstancesResultOutput
func (GetHanaInstancesResultOutput) ElementType ¶
func (GetHanaInstancesResultOutput) ElementType() reflect.Type
func (GetHanaInstancesResultOutput) Id ¶
func (o GetHanaInstancesResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetHanaInstancesResultOutput) Ids ¶
func (o GetHanaInstancesResultOutput) Ids() pulumi.StringArrayOutput
func (GetHanaInstancesResultOutput) Instances ¶
func (o GetHanaInstancesResultOutput) Instances() GetHanaInstancesInstanceArrayOutput
func (GetHanaInstancesResultOutput) NameRegex ¶
func (o GetHanaInstancesResultOutput) NameRegex() pulumi.StringPtrOutput
func (GetHanaInstancesResultOutput) Names ¶
func (o GetHanaInstancesResultOutput) Names() pulumi.StringArrayOutput
func (GetHanaInstancesResultOutput) OutputFile ¶
func (o GetHanaInstancesResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetHanaInstancesResultOutput) PageNumber ¶
func (o GetHanaInstancesResultOutput) PageNumber() pulumi.IntPtrOutput
func (GetHanaInstancesResultOutput) PageSize ¶
func (o GetHanaInstancesResultOutput) PageSize() pulumi.IntPtrOutput
func (GetHanaInstancesResultOutput) Status ¶
func (o GetHanaInstancesResultOutput) Status() pulumi.StringPtrOutput
func (GetHanaInstancesResultOutput) ToGetHanaInstancesResultOutput ¶
func (o GetHanaInstancesResultOutput) ToGetHanaInstancesResultOutput() GetHanaInstancesResultOutput
func (GetHanaInstancesResultOutput) ToGetHanaInstancesResultOutputWithContext ¶
func (o GetHanaInstancesResultOutput) ToGetHanaInstancesResultOutputWithContext(ctx context.Context) GetHanaInstancesResultOutput
func (GetHanaInstancesResultOutput) VaultId ¶
func (o GetHanaInstancesResultOutput) VaultId() pulumi.StringPtrOutput
type GetNasBackupPlansArgs ¶
type GetNasBackupPlansArgs struct { // The File System ID of Nas. FileSystemId *string `pulumi:"fileSystemId"` // A list of NasBackupPlan IDs. Ids []string `pulumi:"ids"` // A regex string to filter results by NasBackupPlan name. NameRegex *string `pulumi:"nameRegex"` OutputFile *string `pulumi:"outputFile"` // The ID of backup vault. VaultId *string `pulumi:"vaultId"` }
A collection of arguments for invoking getNasBackupPlans.
type GetNasBackupPlansOutputArgs ¶
type GetNasBackupPlansOutputArgs struct { // The File System ID of Nas. FileSystemId pulumi.StringPtrInput `pulumi:"fileSystemId"` // A list of NasBackupPlan IDs. Ids pulumi.StringArrayInput `pulumi:"ids"` // A regex string to filter results by NasBackupPlan name. NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"` OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` // The ID of backup vault. VaultId pulumi.StringPtrInput `pulumi:"vaultId"` }
A collection of arguments for invoking getNasBackupPlans.
func (GetNasBackupPlansOutputArgs) ElementType ¶
func (GetNasBackupPlansOutputArgs) ElementType() reflect.Type
type GetNasBackupPlansPlan ¶
type GetNasBackupPlansPlan struct { // Backup type. Valid values: `COMPLETE`. BackupType string `pulumi:"backupType"` // File System Creation Time. **Note** The time format of the API adopts the ISO 8601 format, such as `2021-07-09T15:45:30CST`. CreateTime string `pulumi:"createTime"` // The creation time of the backup plan. UNIX time in seconds. CreatedTime string `pulumi:"createdTime"` // Whether to be suspended. Valid values: `true`, `false`. Disabled bool `pulumi:"disabled"` // The File System ID of Nas. FileSystemId string `pulumi:"fileSystemId"` // The ID of Nas backup plan. Id string `pulumi:"id"` // The ID of Nas backup plan. NasBackupPlanId string `pulumi:"nasBackupPlanId"` // The name of the resource. NasBackupPlanName string `pulumi:"nasBackupPlanName"` // Options field of Nas backup plan. Options string `pulumi:"options"` // List of backup path. Up to 65536 Characters. e.g.`["/home", "/var"]` Paths []string `pulumi:"paths"` // Backup retention days, the minimum is 1. Retention string `pulumi:"retention"` // Backup strategy. Optional format: `I|{startTime}|{interval}`. It means to execute a backup task every `{interval}` starting from `{startTime}`. The backup task for the elapsed time will not be compensated. If the last backup task has not completed yet, the next backup task will not be triggered. Schedule string `pulumi:"schedule"` // The update time of the backup plan. UNIX time in seconds. UpdatedTime string `pulumi:"updatedTime"` // The ID of backup vault. VaultId string `pulumi:"vaultId"` }
type GetNasBackupPlansPlanArgs ¶
type GetNasBackupPlansPlanArgs struct { // Backup type. Valid values: `COMPLETE`. BackupType pulumi.StringInput `pulumi:"backupType"` // File System Creation Time. **Note** The time format of the API adopts the ISO 8601 format, such as `2021-07-09T15:45:30CST`. CreateTime pulumi.StringInput `pulumi:"createTime"` // The creation time of the backup plan. UNIX time in seconds. CreatedTime pulumi.StringInput `pulumi:"createdTime"` // Whether to be suspended. Valid values: `true`, `false`. Disabled pulumi.BoolInput `pulumi:"disabled"` // The File System ID of Nas. FileSystemId pulumi.StringInput `pulumi:"fileSystemId"` // The ID of Nas backup plan. Id pulumi.StringInput `pulumi:"id"` // The ID of Nas backup plan. NasBackupPlanId pulumi.StringInput `pulumi:"nasBackupPlanId"` // The name of the resource. NasBackupPlanName pulumi.StringInput `pulumi:"nasBackupPlanName"` // Options field of Nas backup plan. Options pulumi.StringInput `pulumi:"options"` // List of backup path. Up to 65536 Characters. e.g.`["/home", "/var"]` Paths pulumi.StringArrayInput `pulumi:"paths"` // Backup retention days, the minimum is 1. Retention pulumi.StringInput `pulumi:"retention"` // Backup strategy. Optional format: `I|{startTime}|{interval}`. It means to execute a backup task every `{interval}` starting from `{startTime}`. The backup task for the elapsed time will not be compensated. If the last backup task has not completed yet, the next backup task will not be triggered. Schedule pulumi.StringInput `pulumi:"schedule"` // The update time of the backup plan. UNIX time in seconds. UpdatedTime pulumi.StringInput `pulumi:"updatedTime"` // The ID of backup vault. VaultId pulumi.StringInput `pulumi:"vaultId"` }
func (GetNasBackupPlansPlanArgs) ElementType ¶
func (GetNasBackupPlansPlanArgs) ElementType() reflect.Type
func (GetNasBackupPlansPlanArgs) ToGetNasBackupPlansPlanOutput ¶
func (i GetNasBackupPlansPlanArgs) ToGetNasBackupPlansPlanOutput() GetNasBackupPlansPlanOutput
func (GetNasBackupPlansPlanArgs) ToGetNasBackupPlansPlanOutputWithContext ¶
func (i GetNasBackupPlansPlanArgs) ToGetNasBackupPlansPlanOutputWithContext(ctx context.Context) GetNasBackupPlansPlanOutput
type GetNasBackupPlansPlanArray ¶
type GetNasBackupPlansPlanArray []GetNasBackupPlansPlanInput
func (GetNasBackupPlansPlanArray) ElementType ¶
func (GetNasBackupPlansPlanArray) ElementType() reflect.Type
func (GetNasBackupPlansPlanArray) ToGetNasBackupPlansPlanArrayOutput ¶
func (i GetNasBackupPlansPlanArray) ToGetNasBackupPlansPlanArrayOutput() GetNasBackupPlansPlanArrayOutput
func (GetNasBackupPlansPlanArray) ToGetNasBackupPlansPlanArrayOutputWithContext ¶
func (i GetNasBackupPlansPlanArray) ToGetNasBackupPlansPlanArrayOutputWithContext(ctx context.Context) GetNasBackupPlansPlanArrayOutput
type GetNasBackupPlansPlanArrayInput ¶
type GetNasBackupPlansPlanArrayInput interface { pulumi.Input ToGetNasBackupPlansPlanArrayOutput() GetNasBackupPlansPlanArrayOutput ToGetNasBackupPlansPlanArrayOutputWithContext(context.Context) GetNasBackupPlansPlanArrayOutput }
GetNasBackupPlansPlanArrayInput is an input type that accepts GetNasBackupPlansPlanArray and GetNasBackupPlansPlanArrayOutput values. You can construct a concrete instance of `GetNasBackupPlansPlanArrayInput` via:
GetNasBackupPlansPlanArray{ GetNasBackupPlansPlanArgs{...} }
type GetNasBackupPlansPlanArrayOutput ¶
type GetNasBackupPlansPlanArrayOutput struct{ *pulumi.OutputState }
func (GetNasBackupPlansPlanArrayOutput) ElementType ¶
func (GetNasBackupPlansPlanArrayOutput) ElementType() reflect.Type
func (GetNasBackupPlansPlanArrayOutput) Index ¶
func (o GetNasBackupPlansPlanArrayOutput) Index(i pulumi.IntInput) GetNasBackupPlansPlanOutput
func (GetNasBackupPlansPlanArrayOutput) ToGetNasBackupPlansPlanArrayOutput ¶
func (o GetNasBackupPlansPlanArrayOutput) ToGetNasBackupPlansPlanArrayOutput() GetNasBackupPlansPlanArrayOutput
func (GetNasBackupPlansPlanArrayOutput) ToGetNasBackupPlansPlanArrayOutputWithContext ¶
func (o GetNasBackupPlansPlanArrayOutput) ToGetNasBackupPlansPlanArrayOutputWithContext(ctx context.Context) GetNasBackupPlansPlanArrayOutput
type GetNasBackupPlansPlanInput ¶
type GetNasBackupPlansPlanInput interface { pulumi.Input ToGetNasBackupPlansPlanOutput() GetNasBackupPlansPlanOutput ToGetNasBackupPlansPlanOutputWithContext(context.Context) GetNasBackupPlansPlanOutput }
GetNasBackupPlansPlanInput is an input type that accepts GetNasBackupPlansPlanArgs and GetNasBackupPlansPlanOutput values. You can construct a concrete instance of `GetNasBackupPlansPlanInput` via:
GetNasBackupPlansPlanArgs{...}
type GetNasBackupPlansPlanOutput ¶
type GetNasBackupPlansPlanOutput struct{ *pulumi.OutputState }
func (GetNasBackupPlansPlanOutput) BackupType ¶
func (o GetNasBackupPlansPlanOutput) BackupType() pulumi.StringOutput
Backup type. Valid values: `COMPLETE`.
func (GetNasBackupPlansPlanOutput) CreateTime ¶
func (o GetNasBackupPlansPlanOutput) CreateTime() pulumi.StringOutput
File System Creation Time. **Note** The time format of the API adopts the ISO 8601 format, such as `2021-07-09T15:45:30CST`.
func (GetNasBackupPlansPlanOutput) CreatedTime ¶
func (o GetNasBackupPlansPlanOutput) CreatedTime() pulumi.StringOutput
The creation time of the backup plan. UNIX time in seconds.
func (GetNasBackupPlansPlanOutput) Disabled ¶
func (o GetNasBackupPlansPlanOutput) Disabled() pulumi.BoolOutput
Whether to be suspended. Valid values: `true`, `false`.
func (GetNasBackupPlansPlanOutput) ElementType ¶
func (GetNasBackupPlansPlanOutput) ElementType() reflect.Type
func (GetNasBackupPlansPlanOutput) FileSystemId ¶
func (o GetNasBackupPlansPlanOutput) FileSystemId() pulumi.StringOutput
The File System ID of Nas.
func (GetNasBackupPlansPlanOutput) Id ¶
func (o GetNasBackupPlansPlanOutput) Id() pulumi.StringOutput
The ID of Nas backup plan.
func (GetNasBackupPlansPlanOutput) NasBackupPlanId ¶
func (o GetNasBackupPlansPlanOutput) NasBackupPlanId() pulumi.StringOutput
The ID of Nas backup plan.
func (GetNasBackupPlansPlanOutput) NasBackupPlanName ¶
func (o GetNasBackupPlansPlanOutput) NasBackupPlanName() pulumi.StringOutput
The name of the resource.
func (GetNasBackupPlansPlanOutput) Options ¶
func (o GetNasBackupPlansPlanOutput) Options() pulumi.StringOutput
Options field of Nas backup plan.
func (GetNasBackupPlansPlanOutput) Paths ¶
func (o GetNasBackupPlansPlanOutput) Paths() pulumi.StringArrayOutput
List of backup path. Up to 65536 Characters. e.g.`["/home", "/var"]`
func (GetNasBackupPlansPlanOutput) Retention ¶
func (o GetNasBackupPlansPlanOutput) Retention() pulumi.StringOutput
Backup retention days, the minimum is 1.
func (GetNasBackupPlansPlanOutput) Schedule ¶
func (o GetNasBackupPlansPlanOutput) Schedule() pulumi.StringOutput
Backup strategy. Optional format: `I|{startTime}|{interval}`. It means to execute a backup task every `{interval}` starting from `{startTime}`. The backup task for the elapsed time will not be compensated. If the last backup task has not completed yet, the next backup task will not be triggered.
func (GetNasBackupPlansPlanOutput) ToGetNasBackupPlansPlanOutput ¶
func (o GetNasBackupPlansPlanOutput) ToGetNasBackupPlansPlanOutput() GetNasBackupPlansPlanOutput
func (GetNasBackupPlansPlanOutput) ToGetNasBackupPlansPlanOutputWithContext ¶
func (o GetNasBackupPlansPlanOutput) ToGetNasBackupPlansPlanOutputWithContext(ctx context.Context) GetNasBackupPlansPlanOutput
func (GetNasBackupPlansPlanOutput) UpdatedTime ¶
func (o GetNasBackupPlansPlanOutput) UpdatedTime() pulumi.StringOutput
The update time of the backup plan. UNIX time in seconds.
func (GetNasBackupPlansPlanOutput) VaultId ¶
func (o GetNasBackupPlansPlanOutput) VaultId() pulumi.StringOutput
The ID of backup vault.
type GetNasBackupPlansResult ¶
type GetNasBackupPlansResult struct { FileSystemId *string `pulumi:"fileSystemId"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Ids []string `pulumi:"ids"` NameRegex *string `pulumi:"nameRegex"` Names []string `pulumi:"names"` OutputFile *string `pulumi:"outputFile"` Plans []GetNasBackupPlansPlan `pulumi:"plans"` VaultId *string `pulumi:"vaultId"` }
A collection of values returned by getNasBackupPlans.
func GetNasBackupPlans ¶
func GetNasBackupPlans(ctx *pulumi.Context, args *GetNasBackupPlansArgs, opts ...pulumi.InvokeOption) (*GetNasBackupPlansResult, error)
This data source provides the Hbr NasBackupPlans of the current Alibaba Cloud user.
> **NOTE:** Available in v1.132.0+.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/hbr" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/hbr"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { ids, err := hbr.GetNasBackupPlans(ctx, &hbr.GetNasBackupPlansArgs{ NameRegex: pulumi.StringRef("^my-NasBackupPlan"), }, nil) if err != nil { return err } ctx.Export("hbrNasBackupPlanId", ids.Plans[0].Id) return nil }) }
```
type GetNasBackupPlansResultOutput ¶
type GetNasBackupPlansResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getNasBackupPlans.
func GetNasBackupPlansOutput ¶
func GetNasBackupPlansOutput(ctx *pulumi.Context, args GetNasBackupPlansOutputArgs, opts ...pulumi.InvokeOption) GetNasBackupPlansResultOutput
func (GetNasBackupPlansResultOutput) ElementType ¶
func (GetNasBackupPlansResultOutput) ElementType() reflect.Type
func (GetNasBackupPlansResultOutput) FileSystemId ¶
func (o GetNasBackupPlansResultOutput) FileSystemId() pulumi.StringPtrOutput
func (GetNasBackupPlansResultOutput) Id ¶
func (o GetNasBackupPlansResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetNasBackupPlansResultOutput) Ids ¶
func (o GetNasBackupPlansResultOutput) Ids() pulumi.StringArrayOutput
func (GetNasBackupPlansResultOutput) NameRegex ¶
func (o GetNasBackupPlansResultOutput) NameRegex() pulumi.StringPtrOutput
func (GetNasBackupPlansResultOutput) Names ¶
func (o GetNasBackupPlansResultOutput) Names() pulumi.StringArrayOutput
func (GetNasBackupPlansResultOutput) OutputFile ¶
func (o GetNasBackupPlansResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetNasBackupPlansResultOutput) Plans ¶
func (o GetNasBackupPlansResultOutput) Plans() GetNasBackupPlansPlanArrayOutput
func (GetNasBackupPlansResultOutput) ToGetNasBackupPlansResultOutput ¶
func (o GetNasBackupPlansResultOutput) ToGetNasBackupPlansResultOutput() GetNasBackupPlansResultOutput
func (GetNasBackupPlansResultOutput) ToGetNasBackupPlansResultOutputWithContext ¶
func (o GetNasBackupPlansResultOutput) ToGetNasBackupPlansResultOutputWithContext(ctx context.Context) GetNasBackupPlansResultOutput
func (GetNasBackupPlansResultOutput) VaultId ¶
func (o GetNasBackupPlansResultOutput) VaultId() pulumi.StringPtrOutput
type GetOssBackupPlansArgs ¶
type GetOssBackupPlansArgs struct { // The name of OSS bucket. Bucket *string `pulumi:"bucket"` // A list of OssBackupPlan IDs. Ids []string `pulumi:"ids"` // A regex string to filter results by OssBackupPlan name. NameRegex *string `pulumi:"nameRegex"` OutputFile *string `pulumi:"outputFile"` // The ID of backup vault. VaultId *string `pulumi:"vaultId"` }
A collection of arguments for invoking getOssBackupPlans.
type GetOssBackupPlansOutputArgs ¶
type GetOssBackupPlansOutputArgs struct { // The name of OSS bucket. Bucket pulumi.StringPtrInput `pulumi:"bucket"` // A list of OssBackupPlan IDs. Ids pulumi.StringArrayInput `pulumi:"ids"` // A regex string to filter results by OssBackupPlan name. NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"` OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` // The ID of backup vault. VaultId pulumi.StringPtrInput `pulumi:"vaultId"` }
A collection of arguments for invoking getOssBackupPlans.
func (GetOssBackupPlansOutputArgs) ElementType ¶
func (GetOssBackupPlansOutputArgs) ElementType() reflect.Type
type GetOssBackupPlansPlan ¶
type GetOssBackupPlansPlan struct { // Backup type. Valid values: `COMPLETE`. BackupType string `pulumi:"backupType"` // The name of OSS bucket. Bucket string `pulumi:"bucket"` // The creation time of the backup plan. UNIX time in seconds. CreatedTime string `pulumi:"createdTime"` // Whether to be suspended. Valid values: `true`, `false`. Disabled bool `pulumi:"disabled"` // The ID of Oss backup plan. Id string `pulumi:"id"` // The ID of Oss backup plan. OssBackupPlanId string `pulumi:"ossBackupPlanId"` // The name of the backup plan. 1~64 characters, the backup plan name of each data source type in a single warehouse required to be unique. OssBackupPlanName string `pulumi:"ossBackupPlanName"` // Backup prefix. Prefix string `pulumi:"prefix"` // Backup retention days, the minimum is 1. Retention string `pulumi:"retention"` // Backup strategy. Optional format: I|{startTime}|{interval}. It means to execute a backup task every {interval} starting from {startTime}. The backup task for the elapsed time will not be compensated. If the last backup task is not completed yet, the next backup task will not be triggered. Schedule string `pulumi:"schedule"` // The update time of the backup plan. UNIX time in seconds. UpdatedTime string `pulumi:"updatedTime"` // The ID of backup vault. VaultId string `pulumi:"vaultId"` }
type GetOssBackupPlansPlanArgs ¶
type GetOssBackupPlansPlanArgs struct { // Backup type. Valid values: `COMPLETE`. BackupType pulumi.StringInput `pulumi:"backupType"` // The name of OSS bucket. Bucket pulumi.StringInput `pulumi:"bucket"` // The creation time of the backup plan. UNIX time in seconds. CreatedTime pulumi.StringInput `pulumi:"createdTime"` // Whether to be suspended. Valid values: `true`, `false`. Disabled pulumi.BoolInput `pulumi:"disabled"` // The ID of Oss backup plan. Id pulumi.StringInput `pulumi:"id"` // The ID of Oss backup plan. OssBackupPlanId pulumi.StringInput `pulumi:"ossBackupPlanId"` // The name of the backup plan. 1~64 characters, the backup plan name of each data source type in a single warehouse required to be unique. OssBackupPlanName pulumi.StringInput `pulumi:"ossBackupPlanName"` // Backup prefix. Prefix pulumi.StringInput `pulumi:"prefix"` // Backup retention days, the minimum is 1. Retention pulumi.StringInput `pulumi:"retention"` // Backup strategy. Optional format: I|{startTime}|{interval}. It means to execute a backup task every {interval} starting from {startTime}. The backup task for the elapsed time will not be compensated. If the last backup task is not completed yet, the next backup task will not be triggered. Schedule pulumi.StringInput `pulumi:"schedule"` // The update time of the backup plan. UNIX time in seconds. UpdatedTime pulumi.StringInput `pulumi:"updatedTime"` // The ID of backup vault. VaultId pulumi.StringInput `pulumi:"vaultId"` }
func (GetOssBackupPlansPlanArgs) ElementType ¶
func (GetOssBackupPlansPlanArgs) ElementType() reflect.Type
func (GetOssBackupPlansPlanArgs) ToGetOssBackupPlansPlanOutput ¶
func (i GetOssBackupPlansPlanArgs) ToGetOssBackupPlansPlanOutput() GetOssBackupPlansPlanOutput
func (GetOssBackupPlansPlanArgs) ToGetOssBackupPlansPlanOutputWithContext ¶
func (i GetOssBackupPlansPlanArgs) ToGetOssBackupPlansPlanOutputWithContext(ctx context.Context) GetOssBackupPlansPlanOutput
type GetOssBackupPlansPlanArray ¶
type GetOssBackupPlansPlanArray []GetOssBackupPlansPlanInput
func (GetOssBackupPlansPlanArray) ElementType ¶
func (GetOssBackupPlansPlanArray) ElementType() reflect.Type
func (GetOssBackupPlansPlanArray) ToGetOssBackupPlansPlanArrayOutput ¶
func (i GetOssBackupPlansPlanArray) ToGetOssBackupPlansPlanArrayOutput() GetOssBackupPlansPlanArrayOutput
func (GetOssBackupPlansPlanArray) ToGetOssBackupPlansPlanArrayOutputWithContext ¶
func (i GetOssBackupPlansPlanArray) ToGetOssBackupPlansPlanArrayOutputWithContext(ctx context.Context) GetOssBackupPlansPlanArrayOutput
type GetOssBackupPlansPlanArrayInput ¶
type GetOssBackupPlansPlanArrayInput interface { pulumi.Input ToGetOssBackupPlansPlanArrayOutput() GetOssBackupPlansPlanArrayOutput ToGetOssBackupPlansPlanArrayOutputWithContext(context.Context) GetOssBackupPlansPlanArrayOutput }
GetOssBackupPlansPlanArrayInput is an input type that accepts GetOssBackupPlansPlanArray and GetOssBackupPlansPlanArrayOutput values. You can construct a concrete instance of `GetOssBackupPlansPlanArrayInput` via:
GetOssBackupPlansPlanArray{ GetOssBackupPlansPlanArgs{...} }
type GetOssBackupPlansPlanArrayOutput ¶
type GetOssBackupPlansPlanArrayOutput struct{ *pulumi.OutputState }
func (GetOssBackupPlansPlanArrayOutput) ElementType ¶
func (GetOssBackupPlansPlanArrayOutput) ElementType() reflect.Type
func (GetOssBackupPlansPlanArrayOutput) Index ¶
func (o GetOssBackupPlansPlanArrayOutput) Index(i pulumi.IntInput) GetOssBackupPlansPlanOutput
func (GetOssBackupPlansPlanArrayOutput) ToGetOssBackupPlansPlanArrayOutput ¶
func (o GetOssBackupPlansPlanArrayOutput) ToGetOssBackupPlansPlanArrayOutput() GetOssBackupPlansPlanArrayOutput
func (GetOssBackupPlansPlanArrayOutput) ToGetOssBackupPlansPlanArrayOutputWithContext ¶
func (o GetOssBackupPlansPlanArrayOutput) ToGetOssBackupPlansPlanArrayOutputWithContext(ctx context.Context) GetOssBackupPlansPlanArrayOutput
type GetOssBackupPlansPlanInput ¶
type GetOssBackupPlansPlanInput interface { pulumi.Input ToGetOssBackupPlansPlanOutput() GetOssBackupPlansPlanOutput ToGetOssBackupPlansPlanOutputWithContext(context.Context) GetOssBackupPlansPlanOutput }
GetOssBackupPlansPlanInput is an input type that accepts GetOssBackupPlansPlanArgs and GetOssBackupPlansPlanOutput values. You can construct a concrete instance of `GetOssBackupPlansPlanInput` via:
GetOssBackupPlansPlanArgs{...}
type GetOssBackupPlansPlanOutput ¶
type GetOssBackupPlansPlanOutput struct{ *pulumi.OutputState }
func (GetOssBackupPlansPlanOutput) BackupType ¶
func (o GetOssBackupPlansPlanOutput) BackupType() pulumi.StringOutput
Backup type. Valid values: `COMPLETE`.
func (GetOssBackupPlansPlanOutput) Bucket ¶
func (o GetOssBackupPlansPlanOutput) Bucket() pulumi.StringOutput
The name of OSS bucket.
func (GetOssBackupPlansPlanOutput) CreatedTime ¶
func (o GetOssBackupPlansPlanOutput) CreatedTime() pulumi.StringOutput
The creation time of the backup plan. UNIX time in seconds.
func (GetOssBackupPlansPlanOutput) Disabled ¶
func (o GetOssBackupPlansPlanOutput) Disabled() pulumi.BoolOutput
Whether to be suspended. Valid values: `true`, `false`.
func (GetOssBackupPlansPlanOutput) ElementType ¶
func (GetOssBackupPlansPlanOutput) ElementType() reflect.Type
func (GetOssBackupPlansPlanOutput) Id ¶
func (o GetOssBackupPlansPlanOutput) Id() pulumi.StringOutput
The ID of Oss backup plan.
func (GetOssBackupPlansPlanOutput) OssBackupPlanId ¶
func (o GetOssBackupPlansPlanOutput) OssBackupPlanId() pulumi.StringOutput
The ID of Oss backup plan.
func (GetOssBackupPlansPlanOutput) OssBackupPlanName ¶
func (o GetOssBackupPlansPlanOutput) OssBackupPlanName() pulumi.StringOutput
The name of the backup plan. 1~64 characters, the backup plan name of each data source type in a single warehouse required to be unique.
func (GetOssBackupPlansPlanOutput) Prefix ¶
func (o GetOssBackupPlansPlanOutput) Prefix() pulumi.StringOutput
Backup prefix.
func (GetOssBackupPlansPlanOutput) Retention ¶
func (o GetOssBackupPlansPlanOutput) Retention() pulumi.StringOutput
Backup retention days, the minimum is 1.
func (GetOssBackupPlansPlanOutput) Schedule ¶
func (o GetOssBackupPlansPlanOutput) Schedule() pulumi.StringOutput
Backup strategy. Optional format: I|{startTime}|{interval}. It means to execute a backup task every {interval} starting from {startTime}. The backup task for the elapsed time will not be compensated. If the last backup task is not completed yet, the next backup task will not be triggered.
func (GetOssBackupPlansPlanOutput) ToGetOssBackupPlansPlanOutput ¶
func (o GetOssBackupPlansPlanOutput) ToGetOssBackupPlansPlanOutput() GetOssBackupPlansPlanOutput
func (GetOssBackupPlansPlanOutput) ToGetOssBackupPlansPlanOutputWithContext ¶
func (o GetOssBackupPlansPlanOutput) ToGetOssBackupPlansPlanOutputWithContext(ctx context.Context) GetOssBackupPlansPlanOutput
func (GetOssBackupPlansPlanOutput) UpdatedTime ¶
func (o GetOssBackupPlansPlanOutput) UpdatedTime() pulumi.StringOutput
The update time of the backup plan. UNIX time in seconds.
func (GetOssBackupPlansPlanOutput) VaultId ¶
func (o GetOssBackupPlansPlanOutput) VaultId() pulumi.StringOutput
The ID of backup vault.
type GetOssBackupPlansResult ¶
type GetOssBackupPlansResult struct { Bucket *string `pulumi:"bucket"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Ids []string `pulumi:"ids"` NameRegex *string `pulumi:"nameRegex"` Names []string `pulumi:"names"` OutputFile *string `pulumi:"outputFile"` Plans []GetOssBackupPlansPlan `pulumi:"plans"` VaultId *string `pulumi:"vaultId"` }
A collection of values returned by getOssBackupPlans.
func GetOssBackupPlans ¶
func GetOssBackupPlans(ctx *pulumi.Context, args *GetOssBackupPlansArgs, opts ...pulumi.InvokeOption) (*GetOssBackupPlansResult, error)
This data source provides the Hbr OssBackupPlans of the current Alibaba Cloud user.
> **NOTE:** Available in v1.131.0+.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/hbr" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/hbr"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { ids, err := hbr.GetOssBackupPlans(ctx, &hbr.GetOssBackupPlansArgs{ NameRegex: pulumi.StringRef("^my-OssBackupPlan"), }, nil) if err != nil { return err } ctx.Export("hbrOssBackupPlanId", ids.Plans[0].Id) return nil }) }
```
type GetOssBackupPlansResultOutput ¶
type GetOssBackupPlansResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getOssBackupPlans.
func GetOssBackupPlansOutput ¶
func GetOssBackupPlansOutput(ctx *pulumi.Context, args GetOssBackupPlansOutputArgs, opts ...pulumi.InvokeOption) GetOssBackupPlansResultOutput
func (GetOssBackupPlansResultOutput) Bucket ¶
func (o GetOssBackupPlansResultOutput) Bucket() pulumi.StringPtrOutput
func (GetOssBackupPlansResultOutput) ElementType ¶
func (GetOssBackupPlansResultOutput) ElementType() reflect.Type
func (GetOssBackupPlansResultOutput) Id ¶
func (o GetOssBackupPlansResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetOssBackupPlansResultOutput) Ids ¶
func (o GetOssBackupPlansResultOutput) Ids() pulumi.StringArrayOutput
func (GetOssBackupPlansResultOutput) NameRegex ¶
func (o GetOssBackupPlansResultOutput) NameRegex() pulumi.StringPtrOutput
func (GetOssBackupPlansResultOutput) Names ¶
func (o GetOssBackupPlansResultOutput) Names() pulumi.StringArrayOutput
func (GetOssBackupPlansResultOutput) OutputFile ¶
func (o GetOssBackupPlansResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetOssBackupPlansResultOutput) Plans ¶
func (o GetOssBackupPlansResultOutput) Plans() GetOssBackupPlansPlanArrayOutput
func (GetOssBackupPlansResultOutput) ToGetOssBackupPlansResultOutput ¶
func (o GetOssBackupPlansResultOutput) ToGetOssBackupPlansResultOutput() GetOssBackupPlansResultOutput
func (GetOssBackupPlansResultOutput) ToGetOssBackupPlansResultOutputWithContext ¶
func (o GetOssBackupPlansResultOutput) ToGetOssBackupPlansResultOutputWithContext(ctx context.Context) GetOssBackupPlansResultOutput
func (GetOssBackupPlansResultOutput) VaultId ¶
func (o GetOssBackupPlansResultOutput) VaultId() pulumi.StringPtrOutput
type GetOtsBackupPlansArgs ¶
type GetOtsBackupPlansArgs struct { // A list of OtsBackupPlan IDs. Ids []string `pulumi:"ids"` // A regex string to filter results by OtsBackupPlan name. NameRegex *string `pulumi:"nameRegex"` OutputFile *string `pulumi:"outputFile"` // The ID of the backup plan. PlanId *string `pulumi:"planId"` // The ID of the backup plan. PlanName *string `pulumi:"planName"` // The ID of backup vault. VaultId *string `pulumi:"vaultId"` }
A collection of arguments for invoking getOtsBackupPlans.
type GetOtsBackupPlansOutputArgs ¶
type GetOtsBackupPlansOutputArgs struct { // A list of OtsBackupPlan IDs. Ids pulumi.StringArrayInput `pulumi:"ids"` // A regex string to filter results by OtsBackupPlan name. NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"` OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` // The ID of the backup plan. PlanId pulumi.StringPtrInput `pulumi:"planId"` // The ID of the backup plan. PlanName pulumi.StringPtrInput `pulumi:"planName"` // The ID of backup vault. VaultId pulumi.StringPtrInput `pulumi:"vaultId"` }
A collection of arguments for invoking getOtsBackupPlans.
func (GetOtsBackupPlansOutputArgs) ElementType ¶
func (GetOtsBackupPlansOutputArgs) ElementType() reflect.Type
type GetOtsBackupPlansPlan ¶
type GetOtsBackupPlansPlan struct { // The Backup type. Valid values: `COMPLETE`. BackupType string `pulumi:"backupType"` // The creation time of the backup plan. UNIX time in seconds. CreatedTime string `pulumi:"createdTime"` // Whether to be suspended. Valid values: `true`, `false`. Disabled bool `pulumi:"disabled"` // The ID of ots backup plan. Id string `pulumi:"id"` // The ID of ots backup plan. OtsBackupPlanId string `pulumi:"otsBackupPlanId"` // The name of the backup plan. 1~64 characters, the backup plan name of each data source type in a single warehouse required to be unique. OtsBackupPlanName string `pulumi:"otsBackupPlanName"` OtsDetails []GetOtsBackupPlansPlanOtsDetail `pulumi:"otsDetails"` // The Backup retention days, the minimum is 1. Retention string `pulumi:"retention"` // The Backup strategy. Optional format: I|{startTime}|{interval}. It means to execute a backup task every {interval} starting from {startTime}. The backup task for the elapsed time will not be compensated. If the last backup task is not completed yet, the next backup task will not be triggered. Schedule string `pulumi:"schedule"` // The type of the data source. SourceType string `pulumi:"sourceType"` // The update time of the backup plan. UNIX time in seconds. // *ots_detail - The details about the Tablestore instance. UpdatedTime string `pulumi:"updatedTime"` // The ID of backup vault. VaultId string `pulumi:"vaultId"` }
type GetOtsBackupPlansPlanArgs ¶
type GetOtsBackupPlansPlanArgs struct { // The Backup type. Valid values: `COMPLETE`. BackupType pulumi.StringInput `pulumi:"backupType"` // The creation time of the backup plan. UNIX time in seconds. CreatedTime pulumi.StringInput `pulumi:"createdTime"` // Whether to be suspended. Valid values: `true`, `false`. Disabled pulumi.BoolInput `pulumi:"disabled"` // The ID of ots backup plan. Id pulumi.StringInput `pulumi:"id"` // The ID of ots backup plan. OtsBackupPlanId pulumi.StringInput `pulumi:"otsBackupPlanId"` // The name of the backup plan. 1~64 characters, the backup plan name of each data source type in a single warehouse required to be unique. OtsBackupPlanName pulumi.StringInput `pulumi:"otsBackupPlanName"` OtsDetails GetOtsBackupPlansPlanOtsDetailArrayInput `pulumi:"otsDetails"` // The Backup retention days, the minimum is 1. Retention pulumi.StringInput `pulumi:"retention"` // The Backup strategy. Optional format: I|{startTime}|{interval}. It means to execute a backup task every {interval} starting from {startTime}. The backup task for the elapsed time will not be compensated. If the last backup task is not completed yet, the next backup task will not be triggered. Schedule pulumi.StringInput `pulumi:"schedule"` // The type of the data source. SourceType pulumi.StringInput `pulumi:"sourceType"` // The update time of the backup plan. UNIX time in seconds. // *ots_detail - The details about the Tablestore instance. UpdatedTime pulumi.StringInput `pulumi:"updatedTime"` // The ID of backup vault. VaultId pulumi.StringInput `pulumi:"vaultId"` }
func (GetOtsBackupPlansPlanArgs) ElementType ¶
func (GetOtsBackupPlansPlanArgs) ElementType() reflect.Type
func (GetOtsBackupPlansPlanArgs) ToGetOtsBackupPlansPlanOutput ¶
func (i GetOtsBackupPlansPlanArgs) ToGetOtsBackupPlansPlanOutput() GetOtsBackupPlansPlanOutput
func (GetOtsBackupPlansPlanArgs) ToGetOtsBackupPlansPlanOutputWithContext ¶
func (i GetOtsBackupPlansPlanArgs) ToGetOtsBackupPlansPlanOutputWithContext(ctx context.Context) GetOtsBackupPlansPlanOutput
type GetOtsBackupPlansPlanArray ¶
type GetOtsBackupPlansPlanArray []GetOtsBackupPlansPlanInput
func (GetOtsBackupPlansPlanArray) ElementType ¶
func (GetOtsBackupPlansPlanArray) ElementType() reflect.Type
func (GetOtsBackupPlansPlanArray) ToGetOtsBackupPlansPlanArrayOutput ¶
func (i GetOtsBackupPlansPlanArray) ToGetOtsBackupPlansPlanArrayOutput() GetOtsBackupPlansPlanArrayOutput
func (GetOtsBackupPlansPlanArray) ToGetOtsBackupPlansPlanArrayOutputWithContext ¶
func (i GetOtsBackupPlansPlanArray) ToGetOtsBackupPlansPlanArrayOutputWithContext(ctx context.Context) GetOtsBackupPlansPlanArrayOutput
type GetOtsBackupPlansPlanArrayInput ¶
type GetOtsBackupPlansPlanArrayInput interface { pulumi.Input ToGetOtsBackupPlansPlanArrayOutput() GetOtsBackupPlansPlanArrayOutput ToGetOtsBackupPlansPlanArrayOutputWithContext(context.Context) GetOtsBackupPlansPlanArrayOutput }
GetOtsBackupPlansPlanArrayInput is an input type that accepts GetOtsBackupPlansPlanArray and GetOtsBackupPlansPlanArrayOutput values. You can construct a concrete instance of `GetOtsBackupPlansPlanArrayInput` via:
GetOtsBackupPlansPlanArray{ GetOtsBackupPlansPlanArgs{...} }
type GetOtsBackupPlansPlanArrayOutput ¶
type GetOtsBackupPlansPlanArrayOutput struct{ *pulumi.OutputState }
func (GetOtsBackupPlansPlanArrayOutput) ElementType ¶
func (GetOtsBackupPlansPlanArrayOutput) ElementType() reflect.Type
func (GetOtsBackupPlansPlanArrayOutput) Index ¶
func (o GetOtsBackupPlansPlanArrayOutput) Index(i pulumi.IntInput) GetOtsBackupPlansPlanOutput
func (GetOtsBackupPlansPlanArrayOutput) ToGetOtsBackupPlansPlanArrayOutput ¶
func (o GetOtsBackupPlansPlanArrayOutput) ToGetOtsBackupPlansPlanArrayOutput() GetOtsBackupPlansPlanArrayOutput
func (GetOtsBackupPlansPlanArrayOutput) ToGetOtsBackupPlansPlanArrayOutputWithContext ¶
func (o GetOtsBackupPlansPlanArrayOutput) ToGetOtsBackupPlansPlanArrayOutputWithContext(ctx context.Context) GetOtsBackupPlansPlanArrayOutput
type GetOtsBackupPlansPlanInput ¶
type GetOtsBackupPlansPlanInput interface { pulumi.Input ToGetOtsBackupPlansPlanOutput() GetOtsBackupPlansPlanOutput ToGetOtsBackupPlansPlanOutputWithContext(context.Context) GetOtsBackupPlansPlanOutput }
GetOtsBackupPlansPlanInput is an input type that accepts GetOtsBackupPlansPlanArgs and GetOtsBackupPlansPlanOutput values. You can construct a concrete instance of `GetOtsBackupPlansPlanInput` via:
GetOtsBackupPlansPlanArgs{...}
type GetOtsBackupPlansPlanOtsDetail ¶
type GetOtsBackupPlansPlanOtsDetail struct {
TableNames []string `pulumi:"tableNames"`
}
type GetOtsBackupPlansPlanOtsDetailArgs ¶
type GetOtsBackupPlansPlanOtsDetailArgs struct {
TableNames pulumi.StringArrayInput `pulumi:"tableNames"`
}
func (GetOtsBackupPlansPlanOtsDetailArgs) ElementType ¶
func (GetOtsBackupPlansPlanOtsDetailArgs) ElementType() reflect.Type
func (GetOtsBackupPlansPlanOtsDetailArgs) ToGetOtsBackupPlansPlanOtsDetailOutput ¶
func (i GetOtsBackupPlansPlanOtsDetailArgs) ToGetOtsBackupPlansPlanOtsDetailOutput() GetOtsBackupPlansPlanOtsDetailOutput
func (GetOtsBackupPlansPlanOtsDetailArgs) ToGetOtsBackupPlansPlanOtsDetailOutputWithContext ¶
func (i GetOtsBackupPlansPlanOtsDetailArgs) ToGetOtsBackupPlansPlanOtsDetailOutputWithContext(ctx context.Context) GetOtsBackupPlansPlanOtsDetailOutput
type GetOtsBackupPlansPlanOtsDetailArray ¶
type GetOtsBackupPlansPlanOtsDetailArray []GetOtsBackupPlansPlanOtsDetailInput
func (GetOtsBackupPlansPlanOtsDetailArray) ElementType ¶
func (GetOtsBackupPlansPlanOtsDetailArray) ElementType() reflect.Type
func (GetOtsBackupPlansPlanOtsDetailArray) ToGetOtsBackupPlansPlanOtsDetailArrayOutput ¶
func (i GetOtsBackupPlansPlanOtsDetailArray) ToGetOtsBackupPlansPlanOtsDetailArrayOutput() GetOtsBackupPlansPlanOtsDetailArrayOutput
func (GetOtsBackupPlansPlanOtsDetailArray) ToGetOtsBackupPlansPlanOtsDetailArrayOutputWithContext ¶
func (i GetOtsBackupPlansPlanOtsDetailArray) ToGetOtsBackupPlansPlanOtsDetailArrayOutputWithContext(ctx context.Context) GetOtsBackupPlansPlanOtsDetailArrayOutput
type GetOtsBackupPlansPlanOtsDetailArrayInput ¶
type GetOtsBackupPlansPlanOtsDetailArrayInput interface { pulumi.Input ToGetOtsBackupPlansPlanOtsDetailArrayOutput() GetOtsBackupPlansPlanOtsDetailArrayOutput ToGetOtsBackupPlansPlanOtsDetailArrayOutputWithContext(context.Context) GetOtsBackupPlansPlanOtsDetailArrayOutput }
GetOtsBackupPlansPlanOtsDetailArrayInput is an input type that accepts GetOtsBackupPlansPlanOtsDetailArray and GetOtsBackupPlansPlanOtsDetailArrayOutput values. You can construct a concrete instance of `GetOtsBackupPlansPlanOtsDetailArrayInput` via:
GetOtsBackupPlansPlanOtsDetailArray{ GetOtsBackupPlansPlanOtsDetailArgs{...} }
type GetOtsBackupPlansPlanOtsDetailArrayOutput ¶
type GetOtsBackupPlansPlanOtsDetailArrayOutput struct{ *pulumi.OutputState }
func (GetOtsBackupPlansPlanOtsDetailArrayOutput) ElementType ¶
func (GetOtsBackupPlansPlanOtsDetailArrayOutput) ElementType() reflect.Type
func (GetOtsBackupPlansPlanOtsDetailArrayOutput) ToGetOtsBackupPlansPlanOtsDetailArrayOutput ¶
func (o GetOtsBackupPlansPlanOtsDetailArrayOutput) ToGetOtsBackupPlansPlanOtsDetailArrayOutput() GetOtsBackupPlansPlanOtsDetailArrayOutput
func (GetOtsBackupPlansPlanOtsDetailArrayOutput) ToGetOtsBackupPlansPlanOtsDetailArrayOutputWithContext ¶
func (o GetOtsBackupPlansPlanOtsDetailArrayOutput) ToGetOtsBackupPlansPlanOtsDetailArrayOutputWithContext(ctx context.Context) GetOtsBackupPlansPlanOtsDetailArrayOutput
type GetOtsBackupPlansPlanOtsDetailInput ¶
type GetOtsBackupPlansPlanOtsDetailInput interface { pulumi.Input ToGetOtsBackupPlansPlanOtsDetailOutput() GetOtsBackupPlansPlanOtsDetailOutput ToGetOtsBackupPlansPlanOtsDetailOutputWithContext(context.Context) GetOtsBackupPlansPlanOtsDetailOutput }
GetOtsBackupPlansPlanOtsDetailInput is an input type that accepts GetOtsBackupPlansPlanOtsDetailArgs and GetOtsBackupPlansPlanOtsDetailOutput values. You can construct a concrete instance of `GetOtsBackupPlansPlanOtsDetailInput` via:
GetOtsBackupPlansPlanOtsDetailArgs{...}
type GetOtsBackupPlansPlanOtsDetailOutput ¶
type GetOtsBackupPlansPlanOtsDetailOutput struct{ *pulumi.OutputState }
func (GetOtsBackupPlansPlanOtsDetailOutput) ElementType ¶
func (GetOtsBackupPlansPlanOtsDetailOutput) ElementType() reflect.Type
func (GetOtsBackupPlansPlanOtsDetailOutput) TableNames ¶
func (o GetOtsBackupPlansPlanOtsDetailOutput) TableNames() pulumi.StringArrayOutput
func (GetOtsBackupPlansPlanOtsDetailOutput) ToGetOtsBackupPlansPlanOtsDetailOutput ¶
func (o GetOtsBackupPlansPlanOtsDetailOutput) ToGetOtsBackupPlansPlanOtsDetailOutput() GetOtsBackupPlansPlanOtsDetailOutput
func (GetOtsBackupPlansPlanOtsDetailOutput) ToGetOtsBackupPlansPlanOtsDetailOutputWithContext ¶
func (o GetOtsBackupPlansPlanOtsDetailOutput) ToGetOtsBackupPlansPlanOtsDetailOutputWithContext(ctx context.Context) GetOtsBackupPlansPlanOtsDetailOutput
type GetOtsBackupPlansPlanOutput ¶
type GetOtsBackupPlansPlanOutput struct{ *pulumi.OutputState }
func (GetOtsBackupPlansPlanOutput) BackupType ¶
func (o GetOtsBackupPlansPlanOutput) BackupType() pulumi.StringOutput
The Backup type. Valid values: `COMPLETE`.
func (GetOtsBackupPlansPlanOutput) CreatedTime ¶
func (o GetOtsBackupPlansPlanOutput) CreatedTime() pulumi.StringOutput
The creation time of the backup plan. UNIX time in seconds.
func (GetOtsBackupPlansPlanOutput) Disabled ¶
func (o GetOtsBackupPlansPlanOutput) Disabled() pulumi.BoolOutput
Whether to be suspended. Valid values: `true`, `false`.
func (GetOtsBackupPlansPlanOutput) ElementType ¶
func (GetOtsBackupPlansPlanOutput) ElementType() reflect.Type
func (GetOtsBackupPlansPlanOutput) Id ¶
func (o GetOtsBackupPlansPlanOutput) Id() pulumi.StringOutput
The ID of ots backup plan.
func (GetOtsBackupPlansPlanOutput) OtsBackupPlanId ¶
func (o GetOtsBackupPlansPlanOutput) OtsBackupPlanId() pulumi.StringOutput
The ID of ots backup plan.
func (GetOtsBackupPlansPlanOutput) OtsBackupPlanName ¶
func (o GetOtsBackupPlansPlanOutput) OtsBackupPlanName() pulumi.StringOutput
The name of the backup plan. 1~64 characters, the backup plan name of each data source type in a single warehouse required to be unique.
func (GetOtsBackupPlansPlanOutput) OtsDetails ¶
func (o GetOtsBackupPlansPlanOutput) OtsDetails() GetOtsBackupPlansPlanOtsDetailArrayOutput
func (GetOtsBackupPlansPlanOutput) Retention ¶
func (o GetOtsBackupPlansPlanOutput) Retention() pulumi.StringOutput
The Backup retention days, the minimum is 1.
func (GetOtsBackupPlansPlanOutput) Schedule ¶
func (o GetOtsBackupPlansPlanOutput) Schedule() pulumi.StringOutput
The Backup strategy. Optional format: I|{startTime}|{interval}. It means to execute a backup task every {interval} starting from {startTime}. The backup task for the elapsed time will not be compensated. If the last backup task is not completed yet, the next backup task will not be triggered.
func (GetOtsBackupPlansPlanOutput) SourceType ¶
func (o GetOtsBackupPlansPlanOutput) SourceType() pulumi.StringOutput
The type of the data source.
func (GetOtsBackupPlansPlanOutput) ToGetOtsBackupPlansPlanOutput ¶
func (o GetOtsBackupPlansPlanOutput) ToGetOtsBackupPlansPlanOutput() GetOtsBackupPlansPlanOutput
func (GetOtsBackupPlansPlanOutput) ToGetOtsBackupPlansPlanOutputWithContext ¶
func (o GetOtsBackupPlansPlanOutput) ToGetOtsBackupPlansPlanOutputWithContext(ctx context.Context) GetOtsBackupPlansPlanOutput
func (GetOtsBackupPlansPlanOutput) UpdatedTime ¶
func (o GetOtsBackupPlansPlanOutput) UpdatedTime() pulumi.StringOutput
The update time of the backup plan. UNIX time in seconds. *ots_detail - The details about the Tablestore instance.
func (GetOtsBackupPlansPlanOutput) VaultId ¶
func (o GetOtsBackupPlansPlanOutput) VaultId() pulumi.StringOutput
The ID of backup vault.
type GetOtsBackupPlansResult ¶
type GetOtsBackupPlansResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Ids []string `pulumi:"ids"` NameRegex *string `pulumi:"nameRegex"` Names []string `pulumi:"names"` OutputFile *string `pulumi:"outputFile"` PlanId *string `pulumi:"planId"` PlanName *string `pulumi:"planName"` Plans []GetOtsBackupPlansPlan `pulumi:"plans"` VaultId *string `pulumi:"vaultId"` }
A collection of values returned by getOtsBackupPlans.
func GetOtsBackupPlans ¶
func GetOtsBackupPlans(ctx *pulumi.Context, args *GetOtsBackupPlansArgs, opts ...pulumi.InvokeOption) (*GetOtsBackupPlansResult, error)
This data source provides the Hbr OtsBackupPlans of the current Alibaba Cloud user.
> **NOTE:** Available in v1.163.0+.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/hbr" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/hbr"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := hbr.GetOtsBackupPlans(ctx, &hbr.GetOtsBackupPlansArgs{ NameRegex: pulumi.StringRef("^my-otsBackupPlan"), }, nil) if err != nil { return err } ctx.Export("hbrOtsBackupPlanId", data.Alicloud_hbr_ots_backup_plans.Plans[0].Id) return nil }) }
```
type GetOtsBackupPlansResultOutput ¶
type GetOtsBackupPlansResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getOtsBackupPlans.
func GetOtsBackupPlansOutput ¶
func GetOtsBackupPlansOutput(ctx *pulumi.Context, args GetOtsBackupPlansOutputArgs, opts ...pulumi.InvokeOption) GetOtsBackupPlansResultOutput
func (GetOtsBackupPlansResultOutput) ElementType ¶
func (GetOtsBackupPlansResultOutput) ElementType() reflect.Type
func (GetOtsBackupPlansResultOutput) Id ¶
func (o GetOtsBackupPlansResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetOtsBackupPlansResultOutput) Ids ¶
func (o GetOtsBackupPlansResultOutput) Ids() pulumi.StringArrayOutput
func (GetOtsBackupPlansResultOutput) NameRegex ¶
func (o GetOtsBackupPlansResultOutput) NameRegex() pulumi.StringPtrOutput
func (GetOtsBackupPlansResultOutput) Names ¶
func (o GetOtsBackupPlansResultOutput) Names() pulumi.StringArrayOutput
func (GetOtsBackupPlansResultOutput) OutputFile ¶
func (o GetOtsBackupPlansResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetOtsBackupPlansResultOutput) PlanId ¶
func (o GetOtsBackupPlansResultOutput) PlanId() pulumi.StringPtrOutput
func (GetOtsBackupPlansResultOutput) PlanName ¶
func (o GetOtsBackupPlansResultOutput) PlanName() pulumi.StringPtrOutput
func (GetOtsBackupPlansResultOutput) Plans ¶
func (o GetOtsBackupPlansResultOutput) Plans() GetOtsBackupPlansPlanArrayOutput
func (GetOtsBackupPlansResultOutput) ToGetOtsBackupPlansResultOutput ¶
func (o GetOtsBackupPlansResultOutput) ToGetOtsBackupPlansResultOutput() GetOtsBackupPlansResultOutput
func (GetOtsBackupPlansResultOutput) ToGetOtsBackupPlansResultOutputWithContext ¶
func (o GetOtsBackupPlansResultOutput) ToGetOtsBackupPlansResultOutputWithContext(ctx context.Context) GetOtsBackupPlansResultOutput
func (GetOtsBackupPlansResultOutput) VaultId ¶
func (o GetOtsBackupPlansResultOutput) VaultId() pulumi.StringPtrOutput
type GetOtsSnapshotsArgs ¶
type GetOtsSnapshotsArgs struct { // The end time of the backup. This value must be a UNIX timestamp. Unit: milliseconds EndTime *string `pulumi:"endTime"` Ids []string `pulumi:"ids"` OutputFile *string `pulumi:"outputFile"` // The start time of the backup snapshot. This value is a UNIX timestamp. Unit: seconds. StartTime *string `pulumi:"startTime"` }
A collection of arguments for invoking getOtsSnapshots.
type GetOtsSnapshotsOutputArgs ¶
type GetOtsSnapshotsOutputArgs struct { // The end time of the backup. This value must be a UNIX timestamp. Unit: milliseconds EndTime pulumi.StringPtrInput `pulumi:"endTime"` Ids pulumi.StringArrayInput `pulumi:"ids"` OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` // The start time of the backup snapshot. This value is a UNIX timestamp. Unit: seconds. StartTime pulumi.StringPtrInput `pulumi:"startTime"` }
A collection of arguments for invoking getOtsSnapshots.
func (GetOtsSnapshotsOutputArgs) ElementType ¶
func (GetOtsSnapshotsOutputArgs) ElementType() reflect.Type
type GetOtsSnapshotsResult ¶
type GetOtsSnapshotsResult struct { EndTime *string `pulumi:"endTime"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Ids []string `pulumi:"ids"` OutputFile *string `pulumi:"outputFile"` Snapshots []GetOtsSnapshotsSnapshot `pulumi:"snapshots"` StartTime *string `pulumi:"startTime"` }
A collection of values returned by getOtsSnapshots.
func GetOtsSnapshots ¶
func GetOtsSnapshots(ctx *pulumi.Context, args *GetOtsSnapshotsArgs, opts ...pulumi.InvokeOption) (*GetOtsSnapshotsResult, error)
This data source provides the Hbr Ots Snapshots of the current Alibaba Cloud user.
> **NOTE:** Available in v1.164.0+.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/hbr" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/hbr"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := hbr.GetOtsSnapshots(ctx, nil, nil) if err != nil { return err } return nil }) }
```
type GetOtsSnapshotsResultOutput ¶
type GetOtsSnapshotsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getOtsSnapshots.
func GetOtsSnapshotsOutput ¶
func GetOtsSnapshotsOutput(ctx *pulumi.Context, args GetOtsSnapshotsOutputArgs, opts ...pulumi.InvokeOption) GetOtsSnapshotsResultOutput
func (GetOtsSnapshotsResultOutput) ElementType ¶
func (GetOtsSnapshotsResultOutput) ElementType() reflect.Type
func (GetOtsSnapshotsResultOutput) EndTime ¶
func (o GetOtsSnapshotsResultOutput) EndTime() pulumi.StringPtrOutput
func (GetOtsSnapshotsResultOutput) Id ¶
func (o GetOtsSnapshotsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetOtsSnapshotsResultOutput) Ids ¶
func (o GetOtsSnapshotsResultOutput) Ids() pulumi.StringArrayOutput
func (GetOtsSnapshotsResultOutput) OutputFile ¶
func (o GetOtsSnapshotsResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetOtsSnapshotsResultOutput) Snapshots ¶
func (o GetOtsSnapshotsResultOutput) Snapshots() GetOtsSnapshotsSnapshotArrayOutput
func (GetOtsSnapshotsResultOutput) StartTime ¶
func (o GetOtsSnapshotsResultOutput) StartTime() pulumi.StringPtrOutput
func (GetOtsSnapshotsResultOutput) ToGetOtsSnapshotsResultOutput ¶
func (o GetOtsSnapshotsResultOutput) ToGetOtsSnapshotsResultOutput() GetOtsSnapshotsResultOutput
func (GetOtsSnapshotsResultOutput) ToGetOtsSnapshotsResultOutputWithContext ¶
func (o GetOtsSnapshotsResultOutput) ToGetOtsSnapshotsResultOutputWithContext(ctx context.Context) GetOtsSnapshotsResultOutput
type GetOtsSnapshotsSnapshot ¶
type GetOtsSnapshotsSnapshot struct { // The actual amount of backup snapshots after duplicates are removed. Unit: bytes. ActualBytes string `pulumi:"actualBytes"` // The backup type. Valid value: `COMPLETE`, which indicates full backup. BackupType string `pulumi:"backupType"` // The total amount of data. Unit: bytes. BytesTotal string `pulumi:"bytesTotal"` // The time when the backup snapshot was completed. This value is a UNIX timestamp. Unit: seconds. CompleteTime string `pulumi:"completeTime"` // The time when the Table store instance was created. This value is a UNIX timestamp. Unit: seconds. CreateTime string `pulumi:"createTime"` // The time when the backup snapshot was created. This value is a UNIX timestamp. Unit: seconds. CreatedTime string `pulumi:"createdTime"` // The ID of the backup snapshot. Id string `pulumi:"id"` // The name of the Table store instance. InstanceName string `pulumi:"instanceName"` // The ID of the backup job. JobId string `pulumi:"jobId"` // The hash value of the parent backup snapshot. ParentSnapshotHash string `pulumi:"parentSnapshotHash"` // The time when the backup job ended. This value is a UNIX timestamp. Unit: milliseconds. RangeEnd string `pulumi:"rangeEnd"` // The time when the backup job started. This value is a UNIX timestamp. Unit: milliseconds. RangeStart string `pulumi:"rangeStart"` // The retention period of the backup snapshot. Retention string `pulumi:"retention"` // The hash value of the backup snapshot. SnapshotHash string `pulumi:"snapshotHash"` // The ID of the backup snapshot. SnapshotId string `pulumi:"snapshotId"` // The type of the data source. Valid values: `ECS_FILE`,`PARTIAL_COMPLETE`,`FAILED` SourceType string `pulumi:"sourceType"` // The start time of the backup snapshot. This value is a UNIX timestamp. Unit: seconds. StartTime string `pulumi:"startTime"` // The status of the backup job. Valid values: `COMPLETE`,`PARTIAL_COMPLETE`,`FAILED`. Status string `pulumi:"status"` // The name of the table in the Table store instance. TableName string `pulumi:"tableName"` // The time when the backup snapshot was updated. This value is a UNIX timestamp. Unit: seconds. UpdatedTime string `pulumi:"updatedTime"` // The ID of the backup vault that stores the backup snapshot. VaultId string `pulumi:"vaultId"` }
type GetOtsSnapshotsSnapshotArgs ¶
type GetOtsSnapshotsSnapshotArgs struct { // The actual amount of backup snapshots after duplicates are removed. Unit: bytes. ActualBytes pulumi.StringInput `pulumi:"actualBytes"` // The backup type. Valid value: `COMPLETE`, which indicates full backup. BackupType pulumi.StringInput `pulumi:"backupType"` // The total amount of data. Unit: bytes. BytesTotal pulumi.StringInput `pulumi:"bytesTotal"` // The time when the backup snapshot was completed. This value is a UNIX timestamp. Unit: seconds. CompleteTime pulumi.StringInput `pulumi:"completeTime"` // The time when the Table store instance was created. This value is a UNIX timestamp. Unit: seconds. CreateTime pulumi.StringInput `pulumi:"createTime"` // The time when the backup snapshot was created. This value is a UNIX timestamp. Unit: seconds. CreatedTime pulumi.StringInput `pulumi:"createdTime"` // The ID of the backup snapshot. Id pulumi.StringInput `pulumi:"id"` // The name of the Table store instance. InstanceName pulumi.StringInput `pulumi:"instanceName"` // The ID of the backup job. JobId pulumi.StringInput `pulumi:"jobId"` // The hash value of the parent backup snapshot. ParentSnapshotHash pulumi.StringInput `pulumi:"parentSnapshotHash"` // The time when the backup job ended. This value is a UNIX timestamp. Unit: milliseconds. RangeEnd pulumi.StringInput `pulumi:"rangeEnd"` // The time when the backup job started. This value is a UNIX timestamp. Unit: milliseconds. RangeStart pulumi.StringInput `pulumi:"rangeStart"` // The retention period of the backup snapshot. Retention pulumi.StringInput `pulumi:"retention"` // The hash value of the backup snapshot. SnapshotHash pulumi.StringInput `pulumi:"snapshotHash"` // The ID of the backup snapshot. SnapshotId pulumi.StringInput `pulumi:"snapshotId"` // The type of the data source. Valid values: `ECS_FILE`,`PARTIAL_COMPLETE`,`FAILED` SourceType pulumi.StringInput `pulumi:"sourceType"` // The start time of the backup snapshot. This value is a UNIX timestamp. Unit: seconds. StartTime pulumi.StringInput `pulumi:"startTime"` // The status of the backup job. Valid values: `COMPLETE`,`PARTIAL_COMPLETE`,`FAILED`. Status pulumi.StringInput `pulumi:"status"` // The name of the table in the Table store instance. TableName pulumi.StringInput `pulumi:"tableName"` // The time when the backup snapshot was updated. This value is a UNIX timestamp. Unit: seconds. UpdatedTime pulumi.StringInput `pulumi:"updatedTime"` // The ID of the backup vault that stores the backup snapshot. VaultId pulumi.StringInput `pulumi:"vaultId"` }
func (GetOtsSnapshotsSnapshotArgs) ElementType ¶
func (GetOtsSnapshotsSnapshotArgs) ElementType() reflect.Type
func (GetOtsSnapshotsSnapshotArgs) ToGetOtsSnapshotsSnapshotOutput ¶
func (i GetOtsSnapshotsSnapshotArgs) ToGetOtsSnapshotsSnapshotOutput() GetOtsSnapshotsSnapshotOutput
func (GetOtsSnapshotsSnapshotArgs) ToGetOtsSnapshotsSnapshotOutputWithContext ¶
func (i GetOtsSnapshotsSnapshotArgs) ToGetOtsSnapshotsSnapshotOutputWithContext(ctx context.Context) GetOtsSnapshotsSnapshotOutput
type GetOtsSnapshotsSnapshotArray ¶
type GetOtsSnapshotsSnapshotArray []GetOtsSnapshotsSnapshotInput
func (GetOtsSnapshotsSnapshotArray) ElementType ¶
func (GetOtsSnapshotsSnapshotArray) ElementType() reflect.Type
func (GetOtsSnapshotsSnapshotArray) ToGetOtsSnapshotsSnapshotArrayOutput ¶
func (i GetOtsSnapshotsSnapshotArray) ToGetOtsSnapshotsSnapshotArrayOutput() GetOtsSnapshotsSnapshotArrayOutput
func (GetOtsSnapshotsSnapshotArray) ToGetOtsSnapshotsSnapshotArrayOutputWithContext ¶
func (i GetOtsSnapshotsSnapshotArray) ToGetOtsSnapshotsSnapshotArrayOutputWithContext(ctx context.Context) GetOtsSnapshotsSnapshotArrayOutput
type GetOtsSnapshotsSnapshotArrayInput ¶
type GetOtsSnapshotsSnapshotArrayInput interface { pulumi.Input ToGetOtsSnapshotsSnapshotArrayOutput() GetOtsSnapshotsSnapshotArrayOutput ToGetOtsSnapshotsSnapshotArrayOutputWithContext(context.Context) GetOtsSnapshotsSnapshotArrayOutput }
GetOtsSnapshotsSnapshotArrayInput is an input type that accepts GetOtsSnapshotsSnapshotArray and GetOtsSnapshotsSnapshotArrayOutput values. You can construct a concrete instance of `GetOtsSnapshotsSnapshotArrayInput` via:
GetOtsSnapshotsSnapshotArray{ GetOtsSnapshotsSnapshotArgs{...} }
type GetOtsSnapshotsSnapshotArrayOutput ¶
type GetOtsSnapshotsSnapshotArrayOutput struct{ *pulumi.OutputState }
func (GetOtsSnapshotsSnapshotArrayOutput) ElementType ¶
func (GetOtsSnapshotsSnapshotArrayOutput) ElementType() reflect.Type
func (GetOtsSnapshotsSnapshotArrayOutput) Index ¶
func (o GetOtsSnapshotsSnapshotArrayOutput) Index(i pulumi.IntInput) GetOtsSnapshotsSnapshotOutput
func (GetOtsSnapshotsSnapshotArrayOutput) ToGetOtsSnapshotsSnapshotArrayOutput ¶
func (o GetOtsSnapshotsSnapshotArrayOutput) ToGetOtsSnapshotsSnapshotArrayOutput() GetOtsSnapshotsSnapshotArrayOutput
func (GetOtsSnapshotsSnapshotArrayOutput) ToGetOtsSnapshotsSnapshotArrayOutputWithContext ¶
func (o GetOtsSnapshotsSnapshotArrayOutput) ToGetOtsSnapshotsSnapshotArrayOutputWithContext(ctx context.Context) GetOtsSnapshotsSnapshotArrayOutput
type GetOtsSnapshotsSnapshotInput ¶
type GetOtsSnapshotsSnapshotInput interface { pulumi.Input ToGetOtsSnapshotsSnapshotOutput() GetOtsSnapshotsSnapshotOutput ToGetOtsSnapshotsSnapshotOutputWithContext(context.Context) GetOtsSnapshotsSnapshotOutput }
GetOtsSnapshotsSnapshotInput is an input type that accepts GetOtsSnapshotsSnapshotArgs and GetOtsSnapshotsSnapshotOutput values. You can construct a concrete instance of `GetOtsSnapshotsSnapshotInput` via:
GetOtsSnapshotsSnapshotArgs{...}
type GetOtsSnapshotsSnapshotOutput ¶
type GetOtsSnapshotsSnapshotOutput struct{ *pulumi.OutputState }
func (GetOtsSnapshotsSnapshotOutput) ActualBytes ¶
func (o GetOtsSnapshotsSnapshotOutput) ActualBytes() pulumi.StringOutput
The actual amount of backup snapshots after duplicates are removed. Unit: bytes.
func (GetOtsSnapshotsSnapshotOutput) BackupType ¶
func (o GetOtsSnapshotsSnapshotOutput) BackupType() pulumi.StringOutput
The backup type. Valid value: `COMPLETE`, which indicates full backup.
func (GetOtsSnapshotsSnapshotOutput) BytesTotal ¶
func (o GetOtsSnapshotsSnapshotOutput) BytesTotal() pulumi.StringOutput
The total amount of data. Unit: bytes.
func (GetOtsSnapshotsSnapshotOutput) CompleteTime ¶
func (o GetOtsSnapshotsSnapshotOutput) CompleteTime() pulumi.StringOutput
The time when the backup snapshot was completed. This value is a UNIX timestamp. Unit: seconds.
func (GetOtsSnapshotsSnapshotOutput) CreateTime ¶
func (o GetOtsSnapshotsSnapshotOutput) CreateTime() pulumi.StringOutput
The time when the Table store instance was created. This value is a UNIX timestamp. Unit: seconds.
func (GetOtsSnapshotsSnapshotOutput) CreatedTime ¶
func (o GetOtsSnapshotsSnapshotOutput) CreatedTime() pulumi.StringOutput
The time when the backup snapshot was created. This value is a UNIX timestamp. Unit: seconds.
func (GetOtsSnapshotsSnapshotOutput) ElementType ¶
func (GetOtsSnapshotsSnapshotOutput) ElementType() reflect.Type
func (GetOtsSnapshotsSnapshotOutput) Id ¶
func (o GetOtsSnapshotsSnapshotOutput) Id() pulumi.StringOutput
The ID of the backup snapshot.
func (GetOtsSnapshotsSnapshotOutput) InstanceName ¶
func (o GetOtsSnapshotsSnapshotOutput) InstanceName() pulumi.StringOutput
The name of the Table store instance.
func (GetOtsSnapshotsSnapshotOutput) JobId ¶
func (o GetOtsSnapshotsSnapshotOutput) JobId() pulumi.StringOutput
The ID of the backup job.
func (GetOtsSnapshotsSnapshotOutput) ParentSnapshotHash ¶
func (o GetOtsSnapshotsSnapshotOutput) ParentSnapshotHash() pulumi.StringOutput
The hash value of the parent backup snapshot.
func (GetOtsSnapshotsSnapshotOutput) RangeEnd ¶
func (o GetOtsSnapshotsSnapshotOutput) RangeEnd() pulumi.StringOutput
The time when the backup job ended. This value is a UNIX timestamp. Unit: milliseconds.
func (GetOtsSnapshotsSnapshotOutput) RangeStart ¶
func (o GetOtsSnapshotsSnapshotOutput) RangeStart() pulumi.StringOutput
The time when the backup job started. This value is a UNIX timestamp. Unit: milliseconds.
func (GetOtsSnapshotsSnapshotOutput) Retention ¶
func (o GetOtsSnapshotsSnapshotOutput) Retention() pulumi.StringOutput
The retention period of the backup snapshot.
func (GetOtsSnapshotsSnapshotOutput) SnapshotHash ¶
func (o GetOtsSnapshotsSnapshotOutput) SnapshotHash() pulumi.StringOutput
The hash value of the backup snapshot.
func (GetOtsSnapshotsSnapshotOutput) SnapshotId ¶
func (o GetOtsSnapshotsSnapshotOutput) SnapshotId() pulumi.StringOutput
The ID of the backup snapshot.
func (GetOtsSnapshotsSnapshotOutput) SourceType ¶
func (o GetOtsSnapshotsSnapshotOutput) SourceType() pulumi.StringOutput
The type of the data source. Valid values: `ECS_FILE`,`PARTIAL_COMPLETE`,`FAILED`
func (GetOtsSnapshotsSnapshotOutput) StartTime ¶
func (o GetOtsSnapshotsSnapshotOutput) StartTime() pulumi.StringOutput
The start time of the backup snapshot. This value is a UNIX timestamp. Unit: seconds.
func (GetOtsSnapshotsSnapshotOutput) Status ¶
func (o GetOtsSnapshotsSnapshotOutput) Status() pulumi.StringOutput
The status of the backup job. Valid values: `COMPLETE`,`PARTIAL_COMPLETE`,`FAILED`.
func (GetOtsSnapshotsSnapshotOutput) TableName ¶
func (o GetOtsSnapshotsSnapshotOutput) TableName() pulumi.StringOutput
The name of the table in the Table store instance.
func (GetOtsSnapshotsSnapshotOutput) ToGetOtsSnapshotsSnapshotOutput ¶
func (o GetOtsSnapshotsSnapshotOutput) ToGetOtsSnapshotsSnapshotOutput() GetOtsSnapshotsSnapshotOutput
func (GetOtsSnapshotsSnapshotOutput) ToGetOtsSnapshotsSnapshotOutputWithContext ¶
func (o GetOtsSnapshotsSnapshotOutput) ToGetOtsSnapshotsSnapshotOutputWithContext(ctx context.Context) GetOtsSnapshotsSnapshotOutput
func (GetOtsSnapshotsSnapshotOutput) UpdatedTime ¶
func (o GetOtsSnapshotsSnapshotOutput) UpdatedTime() pulumi.StringOutput
The time when the backup snapshot was updated. This value is a UNIX timestamp. Unit: seconds.
func (GetOtsSnapshotsSnapshotOutput) VaultId ¶
func (o GetOtsSnapshotsSnapshotOutput) VaultId() pulumi.StringOutput
The ID of the backup vault that stores the backup snapshot.
type GetReplicationVaultRegionsArgs ¶
type GetReplicationVaultRegionsArgs struct {
OutputFile *string `pulumi:"outputFile"`
}
A collection of arguments for invoking getReplicationVaultRegions.
type GetReplicationVaultRegionsOutputArgs ¶
type GetReplicationVaultRegionsOutputArgs struct {
OutputFile pulumi.StringPtrInput `pulumi:"outputFile"`
}
A collection of arguments for invoking getReplicationVaultRegions.
func (GetReplicationVaultRegionsOutputArgs) ElementType ¶
func (GetReplicationVaultRegionsOutputArgs) ElementType() reflect.Type
type GetReplicationVaultRegionsRegion ¶
type GetReplicationVaultRegionsRegion struct { // The ID of the replication region. ReplicationRegionId string `pulumi:"replicationRegionId"` }
type GetReplicationVaultRegionsRegionArgs ¶
type GetReplicationVaultRegionsRegionArgs struct { // The ID of the replication region. ReplicationRegionId pulumi.StringInput `pulumi:"replicationRegionId"` }
func (GetReplicationVaultRegionsRegionArgs) ElementType ¶
func (GetReplicationVaultRegionsRegionArgs) ElementType() reflect.Type
func (GetReplicationVaultRegionsRegionArgs) ToGetReplicationVaultRegionsRegionOutput ¶
func (i GetReplicationVaultRegionsRegionArgs) ToGetReplicationVaultRegionsRegionOutput() GetReplicationVaultRegionsRegionOutput
func (GetReplicationVaultRegionsRegionArgs) ToGetReplicationVaultRegionsRegionOutputWithContext ¶
func (i GetReplicationVaultRegionsRegionArgs) ToGetReplicationVaultRegionsRegionOutputWithContext(ctx context.Context) GetReplicationVaultRegionsRegionOutput
type GetReplicationVaultRegionsRegionArray ¶
type GetReplicationVaultRegionsRegionArray []GetReplicationVaultRegionsRegionInput
func (GetReplicationVaultRegionsRegionArray) ElementType ¶
func (GetReplicationVaultRegionsRegionArray) ElementType() reflect.Type
func (GetReplicationVaultRegionsRegionArray) ToGetReplicationVaultRegionsRegionArrayOutput ¶
func (i GetReplicationVaultRegionsRegionArray) ToGetReplicationVaultRegionsRegionArrayOutput() GetReplicationVaultRegionsRegionArrayOutput
func (GetReplicationVaultRegionsRegionArray) ToGetReplicationVaultRegionsRegionArrayOutputWithContext ¶
func (i GetReplicationVaultRegionsRegionArray) ToGetReplicationVaultRegionsRegionArrayOutputWithContext(ctx context.Context) GetReplicationVaultRegionsRegionArrayOutput
type GetReplicationVaultRegionsRegionArrayInput ¶
type GetReplicationVaultRegionsRegionArrayInput interface { pulumi.Input ToGetReplicationVaultRegionsRegionArrayOutput() GetReplicationVaultRegionsRegionArrayOutput ToGetReplicationVaultRegionsRegionArrayOutputWithContext(context.Context) GetReplicationVaultRegionsRegionArrayOutput }
GetReplicationVaultRegionsRegionArrayInput is an input type that accepts GetReplicationVaultRegionsRegionArray and GetReplicationVaultRegionsRegionArrayOutput values. You can construct a concrete instance of `GetReplicationVaultRegionsRegionArrayInput` via:
GetReplicationVaultRegionsRegionArray{ GetReplicationVaultRegionsRegionArgs{...} }
type GetReplicationVaultRegionsRegionArrayOutput ¶
type GetReplicationVaultRegionsRegionArrayOutput struct{ *pulumi.OutputState }
func (GetReplicationVaultRegionsRegionArrayOutput) ElementType ¶
func (GetReplicationVaultRegionsRegionArrayOutput) ElementType() reflect.Type
func (GetReplicationVaultRegionsRegionArrayOutput) ToGetReplicationVaultRegionsRegionArrayOutput ¶
func (o GetReplicationVaultRegionsRegionArrayOutput) ToGetReplicationVaultRegionsRegionArrayOutput() GetReplicationVaultRegionsRegionArrayOutput
func (GetReplicationVaultRegionsRegionArrayOutput) ToGetReplicationVaultRegionsRegionArrayOutputWithContext ¶
func (o GetReplicationVaultRegionsRegionArrayOutput) ToGetReplicationVaultRegionsRegionArrayOutputWithContext(ctx context.Context) GetReplicationVaultRegionsRegionArrayOutput
type GetReplicationVaultRegionsRegionInput ¶
type GetReplicationVaultRegionsRegionInput interface { pulumi.Input ToGetReplicationVaultRegionsRegionOutput() GetReplicationVaultRegionsRegionOutput ToGetReplicationVaultRegionsRegionOutputWithContext(context.Context) GetReplicationVaultRegionsRegionOutput }
GetReplicationVaultRegionsRegionInput is an input type that accepts GetReplicationVaultRegionsRegionArgs and GetReplicationVaultRegionsRegionOutput values. You can construct a concrete instance of `GetReplicationVaultRegionsRegionInput` via:
GetReplicationVaultRegionsRegionArgs{...}
type GetReplicationVaultRegionsRegionOutput ¶
type GetReplicationVaultRegionsRegionOutput struct{ *pulumi.OutputState }
func (GetReplicationVaultRegionsRegionOutput) ElementType ¶
func (GetReplicationVaultRegionsRegionOutput) ElementType() reflect.Type
func (GetReplicationVaultRegionsRegionOutput) ReplicationRegionId ¶
func (o GetReplicationVaultRegionsRegionOutput) ReplicationRegionId() pulumi.StringOutput
The ID of the replication region.
func (GetReplicationVaultRegionsRegionOutput) ToGetReplicationVaultRegionsRegionOutput ¶
func (o GetReplicationVaultRegionsRegionOutput) ToGetReplicationVaultRegionsRegionOutput() GetReplicationVaultRegionsRegionOutput
func (GetReplicationVaultRegionsRegionOutput) ToGetReplicationVaultRegionsRegionOutputWithContext ¶
func (o GetReplicationVaultRegionsRegionOutput) ToGetReplicationVaultRegionsRegionOutputWithContext(ctx context.Context) GetReplicationVaultRegionsRegionOutput
type GetReplicationVaultRegionsResult ¶
type GetReplicationVaultRegionsResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` OutputFile *string `pulumi:"outputFile"` Regions []GetReplicationVaultRegionsRegion `pulumi:"regions"` }
A collection of values returned by getReplicationVaultRegions.
func GetReplicationVaultRegions ¶
func GetReplicationVaultRegions(ctx *pulumi.Context, args *GetReplicationVaultRegionsArgs, opts ...pulumi.InvokeOption) (*GetReplicationVaultRegionsResult, error)
This data source provides the HBR Replication Vault Regions of the current Alibaba Cloud user.
> **NOTE:** Available in v1.152.0+.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/hbr" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/hbr"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _default, err := hbr.GetReplicationVaultRegions(ctx, nil, nil) if err != nil { return err } ctx.Export("hbrReplicationVaultRegionRegionId1", _default.Regions[0].ReplicationRegionId) return nil }) }
```
type GetReplicationVaultRegionsResultOutput ¶
type GetReplicationVaultRegionsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getReplicationVaultRegions.
func GetReplicationVaultRegionsOutput ¶
func GetReplicationVaultRegionsOutput(ctx *pulumi.Context, args GetReplicationVaultRegionsOutputArgs, opts ...pulumi.InvokeOption) GetReplicationVaultRegionsResultOutput
func (GetReplicationVaultRegionsResultOutput) ElementType ¶
func (GetReplicationVaultRegionsResultOutput) ElementType() reflect.Type
func (GetReplicationVaultRegionsResultOutput) Id ¶
func (o GetReplicationVaultRegionsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetReplicationVaultRegionsResultOutput) OutputFile ¶
func (o GetReplicationVaultRegionsResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetReplicationVaultRegionsResultOutput) ToGetReplicationVaultRegionsResultOutput ¶
func (o GetReplicationVaultRegionsResultOutput) ToGetReplicationVaultRegionsResultOutput() GetReplicationVaultRegionsResultOutput
func (GetReplicationVaultRegionsResultOutput) ToGetReplicationVaultRegionsResultOutputWithContext ¶
func (o GetReplicationVaultRegionsResultOutput) ToGetReplicationVaultRegionsResultOutputWithContext(ctx context.Context) GetReplicationVaultRegionsResultOutput
type GetRestoreJobsArgs ¶
type GetRestoreJobsArgs struct { OutputFile *string `pulumi:"outputFile"` // The list of restore job IDs. RestoreIds []string `pulumi:"restoreIds"` // The type of recovery destination. Valid Values: `ECS_FILE`, `OSS`, `NAS`. RestoreType string `pulumi:"restoreType"` // The list of data source types. Valid values: `ECS_FILE`, `NAS`, `OSS`, `OTS_TABLE`,`UDM_ECS_ROLLBACK`. SourceTypes []string `pulumi:"sourceTypes"` // The status of restore job. Status *string `pulumi:"status"` // The name of target ofo OSS bucket. TargetBuckets []string `pulumi:"targetBuckets"` // The ID of destination file system. TargetFileSystemIds []string `pulumi:"targetFileSystemIds"` // The ID of target ECS instance. TargetInstanceIds []string `pulumi:"targetInstanceIds"` // The ID of backup vault. VaultIds []string `pulumi:"vaultIds"` }
A collection of arguments for invoking getRestoreJobs.
type GetRestoreJobsJob ¶
type GetRestoreJobsJob struct { // The actual size of Snapshot. ActualBytes string `pulumi:"actualBytes"` // The actual number of files. ActualItems string `pulumi:"actualItems"` // The size of restore job recovered. BytesDone string `pulumi:"bytesDone"` // The total size of restore job recovered. BytesTotal string `pulumi:"bytesTotal"` // The completion time of restore Job. CompleteTime string `pulumi:"completeTime"` // The creation time of restore job. CreateTime string `pulumi:"createTime"` ErrorFile string `pulumi:"errorFile"` // The error message of recovery task execution. ErrorMessage string `pulumi:"errorMessage"` // The expiration time of restore job. Unix Time in seconds. ExpireTime string `pulumi:"expireTime"` // The ID of the restore job. Id string `pulumi:"id"` // The number of items restore job recovered. ItemsDone string `pulumi:"itemsDone"` // The total number of items restore job recovered. ItemsTotal string `pulumi:"itemsTotal"` // Recovery Options. Options string `pulumi:"options"` ParentId string `pulumi:"parentId"` // The recovery progress. Progress int `pulumi:"progress"` // The ID of restore job. RestoreJobId string `pulumi:"restoreJobId"` // The type of recovery destination. Valid Values: `ECS_FILE`, `OSS`, `NAS`. RestoreType string `pulumi:"restoreType"` // The hashcode of Snapshot. SnapshotHash string `pulumi:"snapshotHash"` // The ID of Snapshot. SnapshotId string `pulumi:"snapshotId"` // The list of data source types. Valid values: `ECS_FILE`, `NAS`, `OSS`, `OTS_TABLE`,`UDM_ECS_ROLLBACK`. SourceType string `pulumi:"sourceType"` // The start time of restore job. Unix Time in Seconds. StartTime string `pulumi:"startTime"` // The status of restore job. Status string `pulumi:"status"` // The name of target ofo OSS bucket. TargetBucket string `pulumi:"targetBucket"` TargetClientId string `pulumi:"targetClientId"` // The creation time of destination file system. TargetCreateTime string `pulumi:"targetCreateTime"` TargetDataSourceId string `pulumi:"targetDataSourceId"` // The ID of destination file system. TargetFileSystemId string `pulumi:"targetFileSystemId"` // The ID of target ECS instance. TargetInstanceId string `pulumi:"targetInstanceId"` // The target file path of ECS instance. TargetPath string `pulumi:"targetPath"` // The file prefix of target OSS object. TargetPrefix string `pulumi:"targetPrefix"` // The update Time of restore job. Unix Time in Seconds. UpdatedTime string `pulumi:"updatedTime"` // The ID of backup vault. VaultId string `pulumi:"vaultId"` }
type GetRestoreJobsJobArgs ¶
type GetRestoreJobsJobArgs struct { // The actual size of Snapshot. ActualBytes pulumi.StringInput `pulumi:"actualBytes"` // The actual number of files. ActualItems pulumi.StringInput `pulumi:"actualItems"` // The size of restore job recovered. BytesDone pulumi.StringInput `pulumi:"bytesDone"` // The total size of restore job recovered. BytesTotal pulumi.StringInput `pulumi:"bytesTotal"` // The completion time of restore Job. CompleteTime pulumi.StringInput `pulumi:"completeTime"` // The creation time of restore job. CreateTime pulumi.StringInput `pulumi:"createTime"` ErrorFile pulumi.StringInput `pulumi:"errorFile"` // The error message of recovery task execution. ErrorMessage pulumi.StringInput `pulumi:"errorMessage"` // The expiration time of restore job. Unix Time in seconds. ExpireTime pulumi.StringInput `pulumi:"expireTime"` // The ID of the restore job. Id pulumi.StringInput `pulumi:"id"` // The number of items restore job recovered. ItemsDone pulumi.StringInput `pulumi:"itemsDone"` // The total number of items restore job recovered. ItemsTotal pulumi.StringInput `pulumi:"itemsTotal"` // Recovery Options. Options pulumi.StringInput `pulumi:"options"` ParentId pulumi.StringInput `pulumi:"parentId"` // The recovery progress. Progress pulumi.IntInput `pulumi:"progress"` // The ID of restore job. RestoreJobId pulumi.StringInput `pulumi:"restoreJobId"` // The type of recovery destination. Valid Values: `ECS_FILE`, `OSS`, `NAS`. RestoreType pulumi.StringInput `pulumi:"restoreType"` // The hashcode of Snapshot. SnapshotHash pulumi.StringInput `pulumi:"snapshotHash"` // The ID of Snapshot. SnapshotId pulumi.StringInput `pulumi:"snapshotId"` // The list of data source types. Valid values: `ECS_FILE`, `NAS`, `OSS`, `OTS_TABLE`,`UDM_ECS_ROLLBACK`. SourceType pulumi.StringInput `pulumi:"sourceType"` // The start time of restore job. Unix Time in Seconds. StartTime pulumi.StringInput `pulumi:"startTime"` // The status of restore job. Status pulumi.StringInput `pulumi:"status"` // The name of target ofo OSS bucket. TargetBucket pulumi.StringInput `pulumi:"targetBucket"` TargetClientId pulumi.StringInput `pulumi:"targetClientId"` // The creation time of destination file system. TargetCreateTime pulumi.StringInput `pulumi:"targetCreateTime"` TargetDataSourceId pulumi.StringInput `pulumi:"targetDataSourceId"` // The ID of destination file system. TargetFileSystemId pulumi.StringInput `pulumi:"targetFileSystemId"` // The ID of target ECS instance. TargetInstanceId pulumi.StringInput `pulumi:"targetInstanceId"` // The target file path of ECS instance. TargetPath pulumi.StringInput `pulumi:"targetPath"` // The file prefix of target OSS object. TargetPrefix pulumi.StringInput `pulumi:"targetPrefix"` // The update Time of restore job. Unix Time in Seconds. UpdatedTime pulumi.StringInput `pulumi:"updatedTime"` // The ID of backup vault. VaultId pulumi.StringInput `pulumi:"vaultId"` }
func (GetRestoreJobsJobArgs) ElementType ¶
func (GetRestoreJobsJobArgs) ElementType() reflect.Type
func (GetRestoreJobsJobArgs) ToGetRestoreJobsJobOutput ¶
func (i GetRestoreJobsJobArgs) ToGetRestoreJobsJobOutput() GetRestoreJobsJobOutput
func (GetRestoreJobsJobArgs) ToGetRestoreJobsJobOutputWithContext ¶
func (i GetRestoreJobsJobArgs) ToGetRestoreJobsJobOutputWithContext(ctx context.Context) GetRestoreJobsJobOutput
type GetRestoreJobsJobArray ¶
type GetRestoreJobsJobArray []GetRestoreJobsJobInput
func (GetRestoreJobsJobArray) ElementType ¶
func (GetRestoreJobsJobArray) ElementType() reflect.Type
func (GetRestoreJobsJobArray) ToGetRestoreJobsJobArrayOutput ¶
func (i GetRestoreJobsJobArray) ToGetRestoreJobsJobArrayOutput() GetRestoreJobsJobArrayOutput
func (GetRestoreJobsJobArray) ToGetRestoreJobsJobArrayOutputWithContext ¶
func (i GetRestoreJobsJobArray) ToGetRestoreJobsJobArrayOutputWithContext(ctx context.Context) GetRestoreJobsJobArrayOutput
type GetRestoreJobsJobArrayInput ¶
type GetRestoreJobsJobArrayInput interface { pulumi.Input ToGetRestoreJobsJobArrayOutput() GetRestoreJobsJobArrayOutput ToGetRestoreJobsJobArrayOutputWithContext(context.Context) GetRestoreJobsJobArrayOutput }
GetRestoreJobsJobArrayInput is an input type that accepts GetRestoreJobsJobArray and GetRestoreJobsJobArrayOutput values. You can construct a concrete instance of `GetRestoreJobsJobArrayInput` via:
GetRestoreJobsJobArray{ GetRestoreJobsJobArgs{...} }
type GetRestoreJobsJobArrayOutput ¶
type GetRestoreJobsJobArrayOutput struct{ *pulumi.OutputState }
func (GetRestoreJobsJobArrayOutput) ElementType ¶
func (GetRestoreJobsJobArrayOutput) ElementType() reflect.Type
func (GetRestoreJobsJobArrayOutput) Index ¶
func (o GetRestoreJobsJobArrayOutput) Index(i pulumi.IntInput) GetRestoreJobsJobOutput
func (GetRestoreJobsJobArrayOutput) ToGetRestoreJobsJobArrayOutput ¶
func (o GetRestoreJobsJobArrayOutput) ToGetRestoreJobsJobArrayOutput() GetRestoreJobsJobArrayOutput
func (GetRestoreJobsJobArrayOutput) ToGetRestoreJobsJobArrayOutputWithContext ¶
func (o GetRestoreJobsJobArrayOutput) ToGetRestoreJobsJobArrayOutputWithContext(ctx context.Context) GetRestoreJobsJobArrayOutput
type GetRestoreJobsJobInput ¶
type GetRestoreJobsJobInput interface { pulumi.Input ToGetRestoreJobsJobOutput() GetRestoreJobsJobOutput ToGetRestoreJobsJobOutputWithContext(context.Context) GetRestoreJobsJobOutput }
GetRestoreJobsJobInput is an input type that accepts GetRestoreJobsJobArgs and GetRestoreJobsJobOutput values. You can construct a concrete instance of `GetRestoreJobsJobInput` via:
GetRestoreJobsJobArgs{...}
type GetRestoreJobsJobOutput ¶
type GetRestoreJobsJobOutput struct{ *pulumi.OutputState }
func (GetRestoreJobsJobOutput) ActualBytes ¶
func (o GetRestoreJobsJobOutput) ActualBytes() pulumi.StringOutput
The actual size of Snapshot.
func (GetRestoreJobsJobOutput) ActualItems ¶
func (o GetRestoreJobsJobOutput) ActualItems() pulumi.StringOutput
The actual number of files.
func (GetRestoreJobsJobOutput) BytesDone ¶
func (o GetRestoreJobsJobOutput) BytesDone() pulumi.StringOutput
The size of restore job recovered.
func (GetRestoreJobsJobOutput) BytesTotal ¶
func (o GetRestoreJobsJobOutput) BytesTotal() pulumi.StringOutput
The total size of restore job recovered.
func (GetRestoreJobsJobOutput) CompleteTime ¶
func (o GetRestoreJobsJobOutput) CompleteTime() pulumi.StringOutput
The completion time of restore Job.
func (GetRestoreJobsJobOutput) CreateTime ¶
func (o GetRestoreJobsJobOutput) CreateTime() pulumi.StringOutput
The creation time of restore job.
func (GetRestoreJobsJobOutput) ElementType ¶
func (GetRestoreJobsJobOutput) ElementType() reflect.Type
func (GetRestoreJobsJobOutput) ErrorFile ¶
func (o GetRestoreJobsJobOutput) ErrorFile() pulumi.StringOutput
func (GetRestoreJobsJobOutput) ErrorMessage ¶
func (o GetRestoreJobsJobOutput) ErrorMessage() pulumi.StringOutput
The error message of recovery task execution.
func (GetRestoreJobsJobOutput) ExpireTime ¶
func (o GetRestoreJobsJobOutput) ExpireTime() pulumi.StringOutput
The expiration time of restore job. Unix Time in seconds.
func (GetRestoreJobsJobOutput) Id ¶
func (o GetRestoreJobsJobOutput) Id() pulumi.StringOutput
The ID of the restore job.
func (GetRestoreJobsJobOutput) ItemsDone ¶
func (o GetRestoreJobsJobOutput) ItemsDone() pulumi.StringOutput
The number of items restore job recovered.
func (GetRestoreJobsJobOutput) ItemsTotal ¶
func (o GetRestoreJobsJobOutput) ItemsTotal() pulumi.StringOutput
The total number of items restore job recovered.
func (GetRestoreJobsJobOutput) Options ¶
func (o GetRestoreJobsJobOutput) Options() pulumi.StringOutput
Recovery Options.
func (GetRestoreJobsJobOutput) ParentId ¶
func (o GetRestoreJobsJobOutput) ParentId() pulumi.StringOutput
func (GetRestoreJobsJobOutput) Progress ¶
func (o GetRestoreJobsJobOutput) Progress() pulumi.IntOutput
The recovery progress.
func (GetRestoreJobsJobOutput) RestoreJobId ¶
func (o GetRestoreJobsJobOutput) RestoreJobId() pulumi.StringOutput
The ID of restore job.
func (GetRestoreJobsJobOutput) RestoreType ¶
func (o GetRestoreJobsJobOutput) RestoreType() pulumi.StringOutput
The type of recovery destination. Valid Values: `ECS_FILE`, `OSS`, `NAS`.
func (GetRestoreJobsJobOutput) SnapshotHash ¶
func (o GetRestoreJobsJobOutput) SnapshotHash() pulumi.StringOutput
The hashcode of Snapshot.
func (GetRestoreJobsJobOutput) SnapshotId ¶
func (o GetRestoreJobsJobOutput) SnapshotId() pulumi.StringOutput
The ID of Snapshot.
func (GetRestoreJobsJobOutput) SourceType ¶
func (o GetRestoreJobsJobOutput) SourceType() pulumi.StringOutput
The list of data source types. Valid values: `ECS_FILE`, `NAS`, `OSS`, `OTS_TABLE`,`UDM_ECS_ROLLBACK`.
func (GetRestoreJobsJobOutput) StartTime ¶
func (o GetRestoreJobsJobOutput) StartTime() pulumi.StringOutput
The start time of restore job. Unix Time in Seconds.
func (GetRestoreJobsJobOutput) Status ¶
func (o GetRestoreJobsJobOutput) Status() pulumi.StringOutput
The status of restore job.
func (GetRestoreJobsJobOutput) TargetBucket ¶
func (o GetRestoreJobsJobOutput) TargetBucket() pulumi.StringOutput
The name of target ofo OSS bucket.
func (GetRestoreJobsJobOutput) TargetClientId ¶
func (o GetRestoreJobsJobOutput) TargetClientId() pulumi.StringOutput
func (GetRestoreJobsJobOutput) TargetCreateTime ¶
func (o GetRestoreJobsJobOutput) TargetCreateTime() pulumi.StringOutput
The creation time of destination file system.
func (GetRestoreJobsJobOutput) TargetDataSourceId ¶
func (o GetRestoreJobsJobOutput) TargetDataSourceId() pulumi.StringOutput
func (GetRestoreJobsJobOutput) TargetFileSystemId ¶
func (o GetRestoreJobsJobOutput) TargetFileSystemId() pulumi.StringOutput
The ID of destination file system.
func (GetRestoreJobsJobOutput) TargetInstanceId ¶
func (o GetRestoreJobsJobOutput) TargetInstanceId() pulumi.StringOutput
The ID of target ECS instance.
func (GetRestoreJobsJobOutput) TargetPath ¶
func (o GetRestoreJobsJobOutput) TargetPath() pulumi.StringOutput
The target file path of ECS instance.
func (GetRestoreJobsJobOutput) TargetPrefix ¶
func (o GetRestoreJobsJobOutput) TargetPrefix() pulumi.StringOutput
The file prefix of target OSS object.
func (GetRestoreJobsJobOutput) ToGetRestoreJobsJobOutput ¶
func (o GetRestoreJobsJobOutput) ToGetRestoreJobsJobOutput() GetRestoreJobsJobOutput
func (GetRestoreJobsJobOutput) ToGetRestoreJobsJobOutputWithContext ¶
func (o GetRestoreJobsJobOutput) ToGetRestoreJobsJobOutputWithContext(ctx context.Context) GetRestoreJobsJobOutput
func (GetRestoreJobsJobOutput) UpdatedTime ¶
func (o GetRestoreJobsJobOutput) UpdatedTime() pulumi.StringOutput
The update Time of restore job. Unix Time in Seconds.
func (GetRestoreJobsJobOutput) VaultId ¶
func (o GetRestoreJobsJobOutput) VaultId() pulumi.StringOutput
The ID of backup vault.
type GetRestoreJobsOutputArgs ¶
type GetRestoreJobsOutputArgs struct { OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` // The list of restore job IDs. RestoreIds pulumi.StringArrayInput `pulumi:"restoreIds"` // The type of recovery destination. Valid Values: `ECS_FILE`, `OSS`, `NAS`. RestoreType pulumi.StringInput `pulumi:"restoreType"` // The list of data source types. Valid values: `ECS_FILE`, `NAS`, `OSS`, `OTS_TABLE`,`UDM_ECS_ROLLBACK`. SourceTypes pulumi.StringArrayInput `pulumi:"sourceTypes"` // The status of restore job. Status pulumi.StringPtrInput `pulumi:"status"` // The name of target ofo OSS bucket. TargetBuckets pulumi.StringArrayInput `pulumi:"targetBuckets"` // The ID of destination file system. TargetFileSystemIds pulumi.StringArrayInput `pulumi:"targetFileSystemIds"` // The ID of target ECS instance. TargetInstanceIds pulumi.StringArrayInput `pulumi:"targetInstanceIds"` // The ID of backup vault. VaultIds pulumi.StringArrayInput `pulumi:"vaultIds"` }
A collection of arguments for invoking getRestoreJobs.
func (GetRestoreJobsOutputArgs) ElementType ¶
func (GetRestoreJobsOutputArgs) ElementType() reflect.Type
type GetRestoreJobsResult ¶
type GetRestoreJobsResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Ids []string `pulumi:"ids"` Jobs []GetRestoreJobsJob `pulumi:"jobs"` OutputFile *string `pulumi:"outputFile"` RestoreIds []string `pulumi:"restoreIds"` RestoreType string `pulumi:"restoreType"` SourceTypes []string `pulumi:"sourceTypes"` Status *string `pulumi:"status"` TargetBuckets []string `pulumi:"targetBuckets"` TargetFileSystemIds []string `pulumi:"targetFileSystemIds"` TargetInstanceIds []string `pulumi:"targetInstanceIds"` VaultIds []string `pulumi:"vaultIds"` }
A collection of values returned by getRestoreJobs.
func GetRestoreJobs ¶
func GetRestoreJobs(ctx *pulumi.Context, args *GetRestoreJobsArgs, opts ...pulumi.InvokeOption) (*GetRestoreJobsResult, error)
This data source provides the Hbr Restore Jobs of the current Alibaba Cloud user.
> **NOTE:** Available in v1.133.0+.
type GetRestoreJobsResultOutput ¶
type GetRestoreJobsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getRestoreJobs.
func GetRestoreJobsOutput ¶
func GetRestoreJobsOutput(ctx *pulumi.Context, args GetRestoreJobsOutputArgs, opts ...pulumi.InvokeOption) GetRestoreJobsResultOutput
func (GetRestoreJobsResultOutput) ElementType ¶
func (GetRestoreJobsResultOutput) ElementType() reflect.Type
func (GetRestoreJobsResultOutput) Id ¶
func (o GetRestoreJobsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetRestoreJobsResultOutput) Ids ¶
func (o GetRestoreJobsResultOutput) Ids() pulumi.StringArrayOutput
func (GetRestoreJobsResultOutput) Jobs ¶
func (o GetRestoreJobsResultOutput) Jobs() GetRestoreJobsJobArrayOutput
func (GetRestoreJobsResultOutput) OutputFile ¶
func (o GetRestoreJobsResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetRestoreJobsResultOutput) RestoreIds ¶
func (o GetRestoreJobsResultOutput) RestoreIds() pulumi.StringArrayOutput
func (GetRestoreJobsResultOutput) RestoreType ¶
func (o GetRestoreJobsResultOutput) RestoreType() pulumi.StringOutput
func (GetRestoreJobsResultOutput) SourceTypes ¶
func (o GetRestoreJobsResultOutput) SourceTypes() pulumi.StringArrayOutput
func (GetRestoreJobsResultOutput) Status ¶
func (o GetRestoreJobsResultOutput) Status() pulumi.StringPtrOutput
func (GetRestoreJobsResultOutput) TargetBuckets ¶
func (o GetRestoreJobsResultOutput) TargetBuckets() pulumi.StringArrayOutput
func (GetRestoreJobsResultOutput) TargetFileSystemIds ¶
func (o GetRestoreJobsResultOutput) TargetFileSystemIds() pulumi.StringArrayOutput
func (GetRestoreJobsResultOutput) TargetInstanceIds ¶
func (o GetRestoreJobsResultOutput) TargetInstanceIds() pulumi.StringArrayOutput
func (GetRestoreJobsResultOutput) ToGetRestoreJobsResultOutput ¶
func (o GetRestoreJobsResultOutput) ToGetRestoreJobsResultOutput() GetRestoreJobsResultOutput
func (GetRestoreJobsResultOutput) ToGetRestoreJobsResultOutputWithContext ¶
func (o GetRestoreJobsResultOutput) ToGetRestoreJobsResultOutputWithContext(ctx context.Context) GetRestoreJobsResultOutput
func (GetRestoreJobsResultOutput) VaultIds ¶
func (o GetRestoreJobsResultOutput) VaultIds() pulumi.StringArrayOutput
type GetServerBackupPlansArgs ¶
type GetServerBackupPlansArgs struct { // The filters. Filters []GetServerBackupPlansFilter `pulumi:"filters"` // A list of Server Backup Plan IDs. Ids []string `pulumi:"ids"` OutputFile *string `pulumi:"outputFile"` }
A collection of arguments for invoking getServerBackupPlans.
type GetServerBackupPlansFilterArgs ¶
type GetServerBackupPlansFilterArgs struct { // The key of the field to filter. Valid values: `planId`, `instanceId`, `planName`. Key pulumi.StringPtrInput `pulumi:"key"` // Set of values that are accepted for the given field. Values pulumi.StringArrayInput `pulumi:"values"` }
func (GetServerBackupPlansFilterArgs) ElementType ¶
func (GetServerBackupPlansFilterArgs) ElementType() reflect.Type
func (GetServerBackupPlansFilterArgs) ToGetServerBackupPlansFilterOutput ¶
func (i GetServerBackupPlansFilterArgs) ToGetServerBackupPlansFilterOutput() GetServerBackupPlansFilterOutput
func (GetServerBackupPlansFilterArgs) ToGetServerBackupPlansFilterOutputWithContext ¶
func (i GetServerBackupPlansFilterArgs) ToGetServerBackupPlansFilterOutputWithContext(ctx context.Context) GetServerBackupPlansFilterOutput
type GetServerBackupPlansFilterArray ¶
type GetServerBackupPlansFilterArray []GetServerBackupPlansFilterInput
func (GetServerBackupPlansFilterArray) ElementType ¶
func (GetServerBackupPlansFilterArray) ElementType() reflect.Type
func (GetServerBackupPlansFilterArray) ToGetServerBackupPlansFilterArrayOutput ¶
func (i GetServerBackupPlansFilterArray) ToGetServerBackupPlansFilterArrayOutput() GetServerBackupPlansFilterArrayOutput
func (GetServerBackupPlansFilterArray) ToGetServerBackupPlansFilterArrayOutputWithContext ¶
func (i GetServerBackupPlansFilterArray) ToGetServerBackupPlansFilterArrayOutputWithContext(ctx context.Context) GetServerBackupPlansFilterArrayOutput
type GetServerBackupPlansFilterArrayInput ¶
type GetServerBackupPlansFilterArrayInput interface { pulumi.Input ToGetServerBackupPlansFilterArrayOutput() GetServerBackupPlansFilterArrayOutput ToGetServerBackupPlansFilterArrayOutputWithContext(context.Context) GetServerBackupPlansFilterArrayOutput }
GetServerBackupPlansFilterArrayInput is an input type that accepts GetServerBackupPlansFilterArray and GetServerBackupPlansFilterArrayOutput values. You can construct a concrete instance of `GetServerBackupPlansFilterArrayInput` via:
GetServerBackupPlansFilterArray{ GetServerBackupPlansFilterArgs{...} }
type GetServerBackupPlansFilterArrayOutput ¶
type GetServerBackupPlansFilterArrayOutput struct{ *pulumi.OutputState }
func (GetServerBackupPlansFilterArrayOutput) ElementType ¶
func (GetServerBackupPlansFilterArrayOutput) ElementType() reflect.Type
func (GetServerBackupPlansFilterArrayOutput) Index ¶
func (o GetServerBackupPlansFilterArrayOutput) Index(i pulumi.IntInput) GetServerBackupPlansFilterOutput
func (GetServerBackupPlansFilterArrayOutput) ToGetServerBackupPlansFilterArrayOutput ¶
func (o GetServerBackupPlansFilterArrayOutput) ToGetServerBackupPlansFilterArrayOutput() GetServerBackupPlansFilterArrayOutput
func (GetServerBackupPlansFilterArrayOutput) ToGetServerBackupPlansFilterArrayOutputWithContext ¶
func (o GetServerBackupPlansFilterArrayOutput) ToGetServerBackupPlansFilterArrayOutputWithContext(ctx context.Context) GetServerBackupPlansFilterArrayOutput
type GetServerBackupPlansFilterInput ¶
type GetServerBackupPlansFilterInput interface { pulumi.Input ToGetServerBackupPlansFilterOutput() GetServerBackupPlansFilterOutput ToGetServerBackupPlansFilterOutputWithContext(context.Context) GetServerBackupPlansFilterOutput }
GetServerBackupPlansFilterInput is an input type that accepts GetServerBackupPlansFilterArgs and GetServerBackupPlansFilterOutput values. You can construct a concrete instance of `GetServerBackupPlansFilterInput` via:
GetServerBackupPlansFilterArgs{...}
type GetServerBackupPlansFilterOutput ¶
type GetServerBackupPlansFilterOutput struct{ *pulumi.OutputState }
func (GetServerBackupPlansFilterOutput) ElementType ¶
func (GetServerBackupPlansFilterOutput) ElementType() reflect.Type
func (GetServerBackupPlansFilterOutput) Key ¶
func (o GetServerBackupPlansFilterOutput) Key() pulumi.StringPtrOutput
The key of the field to filter. Valid values: `planId`, `instanceId`, `planName`.
func (GetServerBackupPlansFilterOutput) ToGetServerBackupPlansFilterOutput ¶
func (o GetServerBackupPlansFilterOutput) ToGetServerBackupPlansFilterOutput() GetServerBackupPlansFilterOutput
func (GetServerBackupPlansFilterOutput) ToGetServerBackupPlansFilterOutputWithContext ¶
func (o GetServerBackupPlansFilterOutput) ToGetServerBackupPlansFilterOutputWithContext(ctx context.Context) GetServerBackupPlansFilterOutput
func (GetServerBackupPlansFilterOutput) Values ¶
func (o GetServerBackupPlansFilterOutput) Values() pulumi.StringArrayOutput
Set of values that are accepted for the given field.
type GetServerBackupPlansOutputArgs ¶
type GetServerBackupPlansOutputArgs struct { // The filters. Filters GetServerBackupPlansFilterArrayInput `pulumi:"filters"` // A list of Server Backup Plan IDs. Ids pulumi.StringArrayInput `pulumi:"ids"` OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` }
A collection of arguments for invoking getServerBackupPlans.
func (GetServerBackupPlansOutputArgs) ElementType ¶
func (GetServerBackupPlansOutputArgs) ElementType() reflect.Type
type GetServerBackupPlansPlan ¶
type GetServerBackupPlansPlan struct { // The creation time of backup plan. CreateTime string `pulumi:"createTime"` // ECS server backup plan details. Details []GetServerBackupPlansPlanDetail `pulumi:"details"` // Whether to disable the backup task. Valid values: `true`, `false`. Disabled bool `pulumi:"disabled"` // The ID of the server backup plan. EcsServerBackupPlanId string `pulumi:"ecsServerBackupPlanId"` // The name of the backup plan. 1~64 characters, the backup plan name of each data source type in a single warehouse required to be unique. EcsServerBackupPlanName string `pulumi:"ecsServerBackupPlanName"` // The ID of the server backup plan. Id string `pulumi:"id"` // The ID of ECS Instance. InstanceId string `pulumi:"instanceId"` // Backup retention days, the minimum is 1. Retention string `pulumi:"retention"` // Backup strategy. Schedule string `pulumi:"schedule"` }
type GetServerBackupPlansPlanArgs ¶
type GetServerBackupPlansPlanArgs struct { // The creation time of backup plan. CreateTime pulumi.StringInput `pulumi:"createTime"` // ECS server backup plan details. Details GetServerBackupPlansPlanDetailArrayInput `pulumi:"details"` // Whether to disable the backup task. Valid values: `true`, `false`. Disabled pulumi.BoolInput `pulumi:"disabled"` // The ID of the server backup plan. EcsServerBackupPlanId pulumi.StringInput `pulumi:"ecsServerBackupPlanId"` // The name of the backup plan. 1~64 characters, the backup plan name of each data source type in a single warehouse required to be unique. EcsServerBackupPlanName pulumi.StringInput `pulumi:"ecsServerBackupPlanName"` // The ID of the server backup plan. Id pulumi.StringInput `pulumi:"id"` // The ID of ECS Instance. InstanceId pulumi.StringInput `pulumi:"instanceId"` // Backup retention days, the minimum is 1. Retention pulumi.StringInput `pulumi:"retention"` // Backup strategy. Schedule pulumi.StringInput `pulumi:"schedule"` }
func (GetServerBackupPlansPlanArgs) ElementType ¶
func (GetServerBackupPlansPlanArgs) ElementType() reflect.Type
func (GetServerBackupPlansPlanArgs) ToGetServerBackupPlansPlanOutput ¶
func (i GetServerBackupPlansPlanArgs) ToGetServerBackupPlansPlanOutput() GetServerBackupPlansPlanOutput
func (GetServerBackupPlansPlanArgs) ToGetServerBackupPlansPlanOutputWithContext ¶
func (i GetServerBackupPlansPlanArgs) ToGetServerBackupPlansPlanOutputWithContext(ctx context.Context) GetServerBackupPlansPlanOutput
type GetServerBackupPlansPlanArray ¶
type GetServerBackupPlansPlanArray []GetServerBackupPlansPlanInput
func (GetServerBackupPlansPlanArray) ElementType ¶
func (GetServerBackupPlansPlanArray) ElementType() reflect.Type
func (GetServerBackupPlansPlanArray) ToGetServerBackupPlansPlanArrayOutput ¶
func (i GetServerBackupPlansPlanArray) ToGetServerBackupPlansPlanArrayOutput() GetServerBackupPlansPlanArrayOutput
func (GetServerBackupPlansPlanArray) ToGetServerBackupPlansPlanArrayOutputWithContext ¶
func (i GetServerBackupPlansPlanArray) ToGetServerBackupPlansPlanArrayOutputWithContext(ctx context.Context) GetServerBackupPlansPlanArrayOutput
type GetServerBackupPlansPlanArrayInput ¶
type GetServerBackupPlansPlanArrayInput interface { pulumi.Input ToGetServerBackupPlansPlanArrayOutput() GetServerBackupPlansPlanArrayOutput ToGetServerBackupPlansPlanArrayOutputWithContext(context.Context) GetServerBackupPlansPlanArrayOutput }
GetServerBackupPlansPlanArrayInput is an input type that accepts GetServerBackupPlansPlanArray and GetServerBackupPlansPlanArrayOutput values. You can construct a concrete instance of `GetServerBackupPlansPlanArrayInput` via:
GetServerBackupPlansPlanArray{ GetServerBackupPlansPlanArgs{...} }
type GetServerBackupPlansPlanArrayOutput ¶
type GetServerBackupPlansPlanArrayOutput struct{ *pulumi.OutputState }
func (GetServerBackupPlansPlanArrayOutput) ElementType ¶
func (GetServerBackupPlansPlanArrayOutput) ElementType() reflect.Type
func (GetServerBackupPlansPlanArrayOutput) Index ¶
func (o GetServerBackupPlansPlanArrayOutput) Index(i pulumi.IntInput) GetServerBackupPlansPlanOutput
func (GetServerBackupPlansPlanArrayOutput) ToGetServerBackupPlansPlanArrayOutput ¶
func (o GetServerBackupPlansPlanArrayOutput) ToGetServerBackupPlansPlanArrayOutput() GetServerBackupPlansPlanArrayOutput
func (GetServerBackupPlansPlanArrayOutput) ToGetServerBackupPlansPlanArrayOutputWithContext ¶
func (o GetServerBackupPlansPlanArrayOutput) ToGetServerBackupPlansPlanArrayOutputWithContext(ctx context.Context) GetServerBackupPlansPlanArrayOutput
type GetServerBackupPlansPlanDetail ¶
type GetServerBackupPlansPlanDetail struct { // Whether to turn on application consistency. The application consistency snapshot backs up memory data and ongoing database transactions at the time of snapshot creation to ensure the consistency of application system data and database transactions. By applying consistent snapshots, there is no data damage or loss, so as to avoid log rollback during database startup and ensure that the application is in a consistent startup state. Valid values: `true`, `false`. AppConsistent bool `pulumi:"appConsistent"` // Only vaild when DoCopy is true. The destination region ID when replicating to another region. **Note:** Once you set a value of this property, you cannot set it to an empty string anymore. DestinationRegionId string `pulumi:"destinationRegionId"` // Only vaild when DoCopy is true. The retention days of the destination backup. When not specified, the destination backup will be saved permanently. **Note:** Once you set a value of this property, you cannot set it to an empty string anymore. DestinationRetention int `pulumi:"destinationRetention"` // The list of cloud disks to be backed up in the ECS instance. When not specified, a snapshot is executed for all the disks on the ECS instance. DiskIdLists []string `pulumi:"diskIdLists"` // Whether replicate to another region. Valid values: `true`, `false`. DoCopy bool `pulumi:"doCopy"` // Only the Linux system is valid. Whether to use the Linux FsFreeze mechanism to ensure that the file system is read-only consistent before creating a storage snapshot. The default is True. Valid values: `true`, `false`. EnableFsFreeze bool `pulumi:"enableFsFreeze"` // Only vaild for the linux system when AppConsistent is true. The application thaw script path (e.g. /tmp/postscript.sh). The postscript.sh script must meet the following conditions: in terms of permissions, only the root user as the owner has read, write, and execute permissions, that is, 700 permissions. In terms of content, the script content needs to be customized according to the application itself. This indicates that this parameter must be set when creating an application consistency snapshot for a Linux instance. If the script is set incorrectly (for example, permissions, save path, or file name are set incorrectly), the resulting snapshot is a file system consistency snapshot. PostScriptPath string `pulumi:"postScriptPath"` // Only vaild for the linux system when AppConsistent is true. Apply the freeze script path (e.g. /tmp/prescript.sh). prescript.sh scripts must meet the following conditions: in terms of permissions, only root, as the owner, has read, write, and execute permissions, that is, 700 permissions. In terms of content, the script content needs to be customized according to the application itself. This indicates that this parameter must be set when creating an application consistency snapshot for a Linux instance. If the script is set incorrectly (for example, permissions, save path, or file name are set incorrectly), the resulting snapshot is a file system consistency snapshot. PreScriptPath string `pulumi:"preScriptPath"` // Whether to turn on file system consistency. If SnapshotGroup is true, when AppConsistent is true but the relevant conditions are not met or AppConsistent is false, the resulting snapshot will be a file system consistency snapshot. The file system consistency ensures that the file system memory and disk information are synchronized at the time of snapshot creation, and the file system write operation is frozen to make the file system in a consistent state. The file system consistency snapshot can prevent the operating system from performing disk inspection and repair operations such as CHKDSK or fsck after restart. Valid values: `true`, `false`. SnapshotGroup bool `pulumi:"snapshotGroup"` // Only the Linux system is valid, and the IO freeze timeout period. The default is 30 seconds. TimeoutInSeconds int `pulumi:"timeoutInSeconds"` }
type GetServerBackupPlansPlanDetailArgs ¶
type GetServerBackupPlansPlanDetailArgs struct { // Whether to turn on application consistency. The application consistency snapshot backs up memory data and ongoing database transactions at the time of snapshot creation to ensure the consistency of application system data and database transactions. By applying consistent snapshots, there is no data damage or loss, so as to avoid log rollback during database startup and ensure that the application is in a consistent startup state. Valid values: `true`, `false`. AppConsistent pulumi.BoolInput `pulumi:"appConsistent"` // Only vaild when DoCopy is true. The destination region ID when replicating to another region. **Note:** Once you set a value of this property, you cannot set it to an empty string anymore. DestinationRegionId pulumi.StringInput `pulumi:"destinationRegionId"` // Only vaild when DoCopy is true. The retention days of the destination backup. When not specified, the destination backup will be saved permanently. **Note:** Once you set a value of this property, you cannot set it to an empty string anymore. DestinationRetention pulumi.IntInput `pulumi:"destinationRetention"` // The list of cloud disks to be backed up in the ECS instance. When not specified, a snapshot is executed for all the disks on the ECS instance. DiskIdLists pulumi.StringArrayInput `pulumi:"diskIdLists"` // Whether replicate to another region. Valid values: `true`, `false`. DoCopy pulumi.BoolInput `pulumi:"doCopy"` // Only the Linux system is valid. Whether to use the Linux FsFreeze mechanism to ensure that the file system is read-only consistent before creating a storage snapshot. The default is True. Valid values: `true`, `false`. EnableFsFreeze pulumi.BoolInput `pulumi:"enableFsFreeze"` // Only vaild for the linux system when AppConsistent is true. The application thaw script path (e.g. /tmp/postscript.sh). The postscript.sh script must meet the following conditions: in terms of permissions, only the root user as the owner has read, write, and execute permissions, that is, 700 permissions. In terms of content, the script content needs to be customized according to the application itself. This indicates that this parameter must be set when creating an application consistency snapshot for a Linux instance. If the script is set incorrectly (for example, permissions, save path, or file name are set incorrectly), the resulting snapshot is a file system consistency snapshot. PostScriptPath pulumi.StringInput `pulumi:"postScriptPath"` // Only vaild for the linux system when AppConsistent is true. Apply the freeze script path (e.g. /tmp/prescript.sh). prescript.sh scripts must meet the following conditions: in terms of permissions, only root, as the owner, has read, write, and execute permissions, that is, 700 permissions. In terms of content, the script content needs to be customized according to the application itself. This indicates that this parameter must be set when creating an application consistency snapshot for a Linux instance. If the script is set incorrectly (for example, permissions, save path, or file name are set incorrectly), the resulting snapshot is a file system consistency snapshot. PreScriptPath pulumi.StringInput `pulumi:"preScriptPath"` // Whether to turn on file system consistency. If SnapshotGroup is true, when AppConsistent is true but the relevant conditions are not met or AppConsistent is false, the resulting snapshot will be a file system consistency snapshot. The file system consistency ensures that the file system memory and disk information are synchronized at the time of snapshot creation, and the file system write operation is frozen to make the file system in a consistent state. The file system consistency snapshot can prevent the operating system from performing disk inspection and repair operations such as CHKDSK or fsck after restart. Valid values: `true`, `false`. SnapshotGroup pulumi.BoolInput `pulumi:"snapshotGroup"` // Only the Linux system is valid, and the IO freeze timeout period. The default is 30 seconds. TimeoutInSeconds pulumi.IntInput `pulumi:"timeoutInSeconds"` }
func (GetServerBackupPlansPlanDetailArgs) ElementType ¶
func (GetServerBackupPlansPlanDetailArgs) ElementType() reflect.Type
func (GetServerBackupPlansPlanDetailArgs) ToGetServerBackupPlansPlanDetailOutput ¶
func (i GetServerBackupPlansPlanDetailArgs) ToGetServerBackupPlansPlanDetailOutput() GetServerBackupPlansPlanDetailOutput
func (GetServerBackupPlansPlanDetailArgs) ToGetServerBackupPlansPlanDetailOutputWithContext ¶
func (i GetServerBackupPlansPlanDetailArgs) ToGetServerBackupPlansPlanDetailOutputWithContext(ctx context.Context) GetServerBackupPlansPlanDetailOutput
type GetServerBackupPlansPlanDetailArray ¶
type GetServerBackupPlansPlanDetailArray []GetServerBackupPlansPlanDetailInput
func (GetServerBackupPlansPlanDetailArray) ElementType ¶
func (GetServerBackupPlansPlanDetailArray) ElementType() reflect.Type
func (GetServerBackupPlansPlanDetailArray) ToGetServerBackupPlansPlanDetailArrayOutput ¶
func (i GetServerBackupPlansPlanDetailArray) ToGetServerBackupPlansPlanDetailArrayOutput() GetServerBackupPlansPlanDetailArrayOutput
func (GetServerBackupPlansPlanDetailArray) ToGetServerBackupPlansPlanDetailArrayOutputWithContext ¶
func (i GetServerBackupPlansPlanDetailArray) ToGetServerBackupPlansPlanDetailArrayOutputWithContext(ctx context.Context) GetServerBackupPlansPlanDetailArrayOutput
type GetServerBackupPlansPlanDetailArrayInput ¶
type GetServerBackupPlansPlanDetailArrayInput interface { pulumi.Input ToGetServerBackupPlansPlanDetailArrayOutput() GetServerBackupPlansPlanDetailArrayOutput ToGetServerBackupPlansPlanDetailArrayOutputWithContext(context.Context) GetServerBackupPlansPlanDetailArrayOutput }
GetServerBackupPlansPlanDetailArrayInput is an input type that accepts GetServerBackupPlansPlanDetailArray and GetServerBackupPlansPlanDetailArrayOutput values. You can construct a concrete instance of `GetServerBackupPlansPlanDetailArrayInput` via:
GetServerBackupPlansPlanDetailArray{ GetServerBackupPlansPlanDetailArgs{...} }
type GetServerBackupPlansPlanDetailArrayOutput ¶
type GetServerBackupPlansPlanDetailArrayOutput struct{ *pulumi.OutputState }
func (GetServerBackupPlansPlanDetailArrayOutput) ElementType ¶
func (GetServerBackupPlansPlanDetailArrayOutput) ElementType() reflect.Type
func (GetServerBackupPlansPlanDetailArrayOutput) ToGetServerBackupPlansPlanDetailArrayOutput ¶
func (o GetServerBackupPlansPlanDetailArrayOutput) ToGetServerBackupPlansPlanDetailArrayOutput() GetServerBackupPlansPlanDetailArrayOutput
func (GetServerBackupPlansPlanDetailArrayOutput) ToGetServerBackupPlansPlanDetailArrayOutputWithContext ¶
func (o GetServerBackupPlansPlanDetailArrayOutput) ToGetServerBackupPlansPlanDetailArrayOutputWithContext(ctx context.Context) GetServerBackupPlansPlanDetailArrayOutput
type GetServerBackupPlansPlanDetailInput ¶
type GetServerBackupPlansPlanDetailInput interface { pulumi.Input ToGetServerBackupPlansPlanDetailOutput() GetServerBackupPlansPlanDetailOutput ToGetServerBackupPlansPlanDetailOutputWithContext(context.Context) GetServerBackupPlansPlanDetailOutput }
GetServerBackupPlansPlanDetailInput is an input type that accepts GetServerBackupPlansPlanDetailArgs and GetServerBackupPlansPlanDetailOutput values. You can construct a concrete instance of `GetServerBackupPlansPlanDetailInput` via:
GetServerBackupPlansPlanDetailArgs{...}
type GetServerBackupPlansPlanDetailOutput ¶
type GetServerBackupPlansPlanDetailOutput struct{ *pulumi.OutputState }
func (GetServerBackupPlansPlanDetailOutput) AppConsistent ¶
func (o GetServerBackupPlansPlanDetailOutput) AppConsistent() pulumi.BoolOutput
Whether to turn on application consistency. The application consistency snapshot backs up memory data and ongoing database transactions at the time of snapshot creation to ensure the consistency of application system data and database transactions. By applying consistent snapshots, there is no data damage or loss, so as to avoid log rollback during database startup and ensure that the application is in a consistent startup state. Valid values: `true`, `false`.
func (GetServerBackupPlansPlanDetailOutput) DestinationRegionId ¶
func (o GetServerBackupPlansPlanDetailOutput) DestinationRegionId() pulumi.StringOutput
Only vaild when DoCopy is true. The destination region ID when replicating to another region. **Note:** Once you set a value of this property, you cannot set it to an empty string anymore.
func (GetServerBackupPlansPlanDetailOutput) DestinationRetention ¶
func (o GetServerBackupPlansPlanDetailOutput) DestinationRetention() pulumi.IntOutput
Only vaild when DoCopy is true. The retention days of the destination backup. When not specified, the destination backup will be saved permanently. **Note:** Once you set a value of this property, you cannot set it to an empty string anymore.
func (GetServerBackupPlansPlanDetailOutput) DiskIdLists ¶
func (o GetServerBackupPlansPlanDetailOutput) DiskIdLists() pulumi.StringArrayOutput
The list of cloud disks to be backed up in the ECS instance. When not specified, a snapshot is executed for all the disks on the ECS instance.
func (GetServerBackupPlansPlanDetailOutput) DoCopy ¶
func (o GetServerBackupPlansPlanDetailOutput) DoCopy() pulumi.BoolOutput
Whether replicate to another region. Valid values: `true`, `false`.
func (GetServerBackupPlansPlanDetailOutput) ElementType ¶
func (GetServerBackupPlansPlanDetailOutput) ElementType() reflect.Type
func (GetServerBackupPlansPlanDetailOutput) EnableFsFreeze ¶
func (o GetServerBackupPlansPlanDetailOutput) EnableFsFreeze() pulumi.BoolOutput
Only the Linux system is valid. Whether to use the Linux FsFreeze mechanism to ensure that the file system is read-only consistent before creating a storage snapshot. The default is True. Valid values: `true`, `false`.
func (GetServerBackupPlansPlanDetailOutput) PostScriptPath ¶
func (o GetServerBackupPlansPlanDetailOutput) PostScriptPath() pulumi.StringOutput
Only vaild for the linux system when AppConsistent is true. The application thaw script path (e.g. /tmp/postscript.sh). The postscript.sh script must meet the following conditions: in terms of permissions, only the root user as the owner has read, write, and execute permissions, that is, 700 permissions. In terms of content, the script content needs to be customized according to the application itself. This indicates that this parameter must be set when creating an application consistency snapshot for a Linux instance. If the script is set incorrectly (for example, permissions, save path, or file name are set incorrectly), the resulting snapshot is a file system consistency snapshot.
func (GetServerBackupPlansPlanDetailOutput) PreScriptPath ¶
func (o GetServerBackupPlansPlanDetailOutput) PreScriptPath() pulumi.StringOutput
Only vaild for the linux system when AppConsistent is true. Apply the freeze script path (e.g. /tmp/prescript.sh). prescript.sh scripts must meet the following conditions: in terms of permissions, only root, as the owner, has read, write, and execute permissions, that is, 700 permissions. In terms of content, the script content needs to be customized according to the application itself. This indicates that this parameter must be set when creating an application consistency snapshot for a Linux instance. If the script is set incorrectly (for example, permissions, save path, or file name are set incorrectly), the resulting snapshot is a file system consistency snapshot.
func (GetServerBackupPlansPlanDetailOutput) SnapshotGroup ¶
func (o GetServerBackupPlansPlanDetailOutput) SnapshotGroup() pulumi.BoolOutput
Whether to turn on file system consistency. If SnapshotGroup is true, when AppConsistent is true but the relevant conditions are not met or AppConsistent is false, the resulting snapshot will be a file system consistency snapshot. The file system consistency ensures that the file system memory and disk information are synchronized at the time of snapshot creation, and the file system write operation is frozen to make the file system in a consistent state. The file system consistency snapshot can prevent the operating system from performing disk inspection and repair operations such as CHKDSK or fsck after restart. Valid values: `true`, `false`.
func (GetServerBackupPlansPlanDetailOutput) TimeoutInSeconds ¶
func (o GetServerBackupPlansPlanDetailOutput) TimeoutInSeconds() pulumi.IntOutput
Only the Linux system is valid, and the IO freeze timeout period. The default is 30 seconds.
func (GetServerBackupPlansPlanDetailOutput) ToGetServerBackupPlansPlanDetailOutput ¶
func (o GetServerBackupPlansPlanDetailOutput) ToGetServerBackupPlansPlanDetailOutput() GetServerBackupPlansPlanDetailOutput
func (GetServerBackupPlansPlanDetailOutput) ToGetServerBackupPlansPlanDetailOutputWithContext ¶
func (o GetServerBackupPlansPlanDetailOutput) ToGetServerBackupPlansPlanDetailOutputWithContext(ctx context.Context) GetServerBackupPlansPlanDetailOutput
type GetServerBackupPlansPlanInput ¶
type GetServerBackupPlansPlanInput interface { pulumi.Input ToGetServerBackupPlansPlanOutput() GetServerBackupPlansPlanOutput ToGetServerBackupPlansPlanOutputWithContext(context.Context) GetServerBackupPlansPlanOutput }
GetServerBackupPlansPlanInput is an input type that accepts GetServerBackupPlansPlanArgs and GetServerBackupPlansPlanOutput values. You can construct a concrete instance of `GetServerBackupPlansPlanInput` via:
GetServerBackupPlansPlanArgs{...}
type GetServerBackupPlansPlanOutput ¶
type GetServerBackupPlansPlanOutput struct{ *pulumi.OutputState }
func (GetServerBackupPlansPlanOutput) CreateTime ¶
func (o GetServerBackupPlansPlanOutput) CreateTime() pulumi.StringOutput
The creation time of backup plan.
func (GetServerBackupPlansPlanOutput) Details ¶
func (o GetServerBackupPlansPlanOutput) Details() GetServerBackupPlansPlanDetailArrayOutput
ECS server backup plan details.
func (GetServerBackupPlansPlanOutput) Disabled ¶
func (o GetServerBackupPlansPlanOutput) Disabled() pulumi.BoolOutput
Whether to disable the backup task. Valid values: `true`, `false`.
func (GetServerBackupPlansPlanOutput) EcsServerBackupPlanId ¶
func (o GetServerBackupPlansPlanOutput) EcsServerBackupPlanId() pulumi.StringOutput
The ID of the server backup plan.
func (GetServerBackupPlansPlanOutput) EcsServerBackupPlanName ¶
func (o GetServerBackupPlansPlanOutput) EcsServerBackupPlanName() pulumi.StringOutput
The name of the backup plan. 1~64 characters, the backup plan name of each data source type in a single warehouse required to be unique.
func (GetServerBackupPlansPlanOutput) ElementType ¶
func (GetServerBackupPlansPlanOutput) ElementType() reflect.Type
func (GetServerBackupPlansPlanOutput) Id ¶
func (o GetServerBackupPlansPlanOutput) Id() pulumi.StringOutput
The ID of the server backup plan.
func (GetServerBackupPlansPlanOutput) InstanceId ¶
func (o GetServerBackupPlansPlanOutput) InstanceId() pulumi.StringOutput
The ID of ECS Instance.
func (GetServerBackupPlansPlanOutput) Retention ¶
func (o GetServerBackupPlansPlanOutput) Retention() pulumi.StringOutput
Backup retention days, the minimum is 1.
func (GetServerBackupPlansPlanOutput) Schedule ¶
func (o GetServerBackupPlansPlanOutput) Schedule() pulumi.StringOutput
Backup strategy.
func (GetServerBackupPlansPlanOutput) ToGetServerBackupPlansPlanOutput ¶
func (o GetServerBackupPlansPlanOutput) ToGetServerBackupPlansPlanOutput() GetServerBackupPlansPlanOutput
func (GetServerBackupPlansPlanOutput) ToGetServerBackupPlansPlanOutputWithContext ¶
func (o GetServerBackupPlansPlanOutput) ToGetServerBackupPlansPlanOutputWithContext(ctx context.Context) GetServerBackupPlansPlanOutput
type GetServerBackupPlansResult ¶
type GetServerBackupPlansResult struct { Filters []GetServerBackupPlansFilter `pulumi:"filters"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Ids []string `pulumi:"ids"` OutputFile *string `pulumi:"outputFile"` Plans []GetServerBackupPlansPlan `pulumi:"plans"` }
A collection of values returned by getServerBackupPlans.
func GetServerBackupPlans ¶
func GetServerBackupPlans(ctx *pulumi.Context, args *GetServerBackupPlansArgs, opts ...pulumi.InvokeOption) (*GetServerBackupPlansResult, error)
This data source provides the Hbr Server Backup Plans of the current Alibaba Cloud user.
> **NOTE:** Available in v1.142.0+.
type GetServerBackupPlansResultOutput ¶
type GetServerBackupPlansResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getServerBackupPlans.
func GetServerBackupPlansOutput ¶
func GetServerBackupPlansOutput(ctx *pulumi.Context, args GetServerBackupPlansOutputArgs, opts ...pulumi.InvokeOption) GetServerBackupPlansResultOutput
func (GetServerBackupPlansResultOutput) ElementType ¶
func (GetServerBackupPlansResultOutput) ElementType() reflect.Type
func (GetServerBackupPlansResultOutput) Filters ¶
func (o GetServerBackupPlansResultOutput) Filters() GetServerBackupPlansFilterArrayOutput
func (GetServerBackupPlansResultOutput) Id ¶
func (o GetServerBackupPlansResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetServerBackupPlansResultOutput) Ids ¶
func (o GetServerBackupPlansResultOutput) Ids() pulumi.StringArrayOutput
func (GetServerBackupPlansResultOutput) OutputFile ¶
func (o GetServerBackupPlansResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetServerBackupPlansResultOutput) Plans ¶
func (o GetServerBackupPlansResultOutput) Plans() GetServerBackupPlansPlanArrayOutput
func (GetServerBackupPlansResultOutput) ToGetServerBackupPlansResultOutput ¶
func (o GetServerBackupPlansResultOutput) ToGetServerBackupPlansResultOutput() GetServerBackupPlansResultOutput
func (GetServerBackupPlansResultOutput) ToGetServerBackupPlansResultOutputWithContext ¶
func (o GetServerBackupPlansResultOutput) ToGetServerBackupPlansResultOutputWithContext(ctx context.Context) GetServerBackupPlansResultOutput
type GetSnapshotsArgs ¶
type GetSnapshotsArgs struct { // The name of OSS bucket. Bucket *string `pulumi:"bucket"` // The time when the snapshot completed. UNIX time in seconds. CompleteTime *string `pulumi:"completeTime"` // Complete time filter operator. Optional values: `MATCH_TERM`, `GREATER_THAN`, `GREATER_THAN_OR_EQUAL`, `LESS_THAN`, `LESS_THAN_OR_EQUAL`, `BETWEEN`. CompleteTimeChecker *string `pulumi:"completeTimeChecker"` // File System Creation Time of Nas. Unix Time Seconds. CreateTime *string `pulumi:"createTime"` // The ID of NAS File system. FileSystemId *string `pulumi:"fileSystemId"` // A list of Snapshot IDs. Ids []string `pulumi:"ids"` // The ID of ECS instance. InstanceId *string `pulumi:"instanceId"` Limit *int `pulumi:"limit"` OutputFile *string `pulumi:"outputFile"` Query *string `pulumi:"query"` // Data source type, optional values: `ECS_FILE`, `OSS`, `NAS`. SourceType string `pulumi:"sourceType"` // The status of snapshot execution. Possible values: `COMPLETE`, `PARTIAL_COMPLETE`, `FAILED`. Status *string `pulumi:"status"` // The ID of Vault. VaultId string `pulumi:"vaultId"` }
A collection of arguments for invoking getSnapshots.
type GetSnapshotsOutputArgs ¶
type GetSnapshotsOutputArgs struct { // The name of OSS bucket. Bucket pulumi.StringPtrInput `pulumi:"bucket"` // The time when the snapshot completed. UNIX time in seconds. CompleteTime pulumi.StringPtrInput `pulumi:"completeTime"` // Complete time filter operator. Optional values: `MATCH_TERM`, `GREATER_THAN`, `GREATER_THAN_OR_EQUAL`, `LESS_THAN`, `LESS_THAN_OR_EQUAL`, `BETWEEN`. CompleteTimeChecker pulumi.StringPtrInput `pulumi:"completeTimeChecker"` // File System Creation Time of Nas. Unix Time Seconds. CreateTime pulumi.StringPtrInput `pulumi:"createTime"` // The ID of NAS File system. FileSystemId pulumi.StringPtrInput `pulumi:"fileSystemId"` // A list of Snapshot IDs. Ids pulumi.StringArrayInput `pulumi:"ids"` // The ID of ECS instance. InstanceId pulumi.StringPtrInput `pulumi:"instanceId"` Limit pulumi.IntPtrInput `pulumi:"limit"` OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` Query pulumi.StringPtrInput `pulumi:"query"` // Data source type, optional values: `ECS_FILE`, `OSS`, `NAS`. SourceType pulumi.StringInput `pulumi:"sourceType"` // The status of snapshot execution. Possible values: `COMPLETE`, `PARTIAL_COMPLETE`, `FAILED`. Status pulumi.StringPtrInput `pulumi:"status"` // The ID of Vault. VaultId pulumi.StringInput `pulumi:"vaultId"` }
A collection of arguments for invoking getSnapshots.
func (GetSnapshotsOutputArgs) ElementType ¶
func (GetSnapshotsOutputArgs) ElementType() reflect.Type
type GetSnapshotsResult ¶
type GetSnapshotsResult struct { Bucket *string `pulumi:"bucket"` CompleteTime *string `pulumi:"completeTime"` CompleteTimeChecker *string `pulumi:"completeTimeChecker"` CreateTime *string `pulumi:"createTime"` FileSystemId *string `pulumi:"fileSystemId"` // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Ids []string `pulumi:"ids"` InstanceId *string `pulumi:"instanceId"` Limit *int `pulumi:"limit"` OutputFile *string `pulumi:"outputFile"` Query *string `pulumi:"query"` Snapshots []GetSnapshotsSnapshot `pulumi:"snapshots"` SourceType string `pulumi:"sourceType"` Status *string `pulumi:"status"` VaultId string `pulumi:"vaultId"` }
A collection of values returned by getSnapshots.
func GetSnapshots ¶
func GetSnapshots(ctx *pulumi.Context, args *GetSnapshotsArgs, opts ...pulumi.InvokeOption) (*GetSnapshotsResult, error)
This data source provides the Hbr Snapshots of the current Alibaba Cloud user.
> **NOTE:** Available in v1.133.0+.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/hbr" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/hbr"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { defaultEcsBackupPlans, err := hbr.GetEcsBackupPlans(ctx, &hbr.GetEcsBackupPlansArgs{ NameRegex: pulumi.StringRef("plan-tf-used-dont-delete"), }, nil) if err != nil { return err } defaultOssBackupPlans, err := hbr.GetOssBackupPlans(ctx, &hbr.GetOssBackupPlansArgs{ NameRegex: pulumi.StringRef("plan-tf-used-dont-delete"), }, nil) if err != nil { return err } defaultNasBackupPlans, err := hbr.GetNasBackupPlans(ctx, &hbr.GetNasBackupPlansArgs{ NameRegex: pulumi.StringRef("plan-tf-used-dont-delete"), }, nil) if err != nil { return err } _, err = hbr.GetSnapshots(ctx, &hbr.GetSnapshotsArgs{ SourceType: "ECS_FILE", VaultId: defaultEcsBackupPlans.Plans[0].VaultId, InstanceId: pulumi.StringRef(defaultEcsBackupPlans.Plans[0].InstanceId), }, nil) if err != nil { return err } _, err = hbr.GetSnapshots(ctx, &hbr.GetSnapshotsArgs{ SourceType: "OSS", VaultId: defaultOssBackupPlans.Plans[0].VaultId, Bucket: pulumi.StringRef(defaultOssBackupPlans.Plans[0].Bucket), CompleteTime: pulumi.StringRef("2021-07-20T14:17:15CST,2021-07-24T14:17:15CST"), CompleteTimeChecker: pulumi.StringRef("BETWEEN"), }, nil) if err != nil { return err } nasSnapshots, err := hbr.GetSnapshots(ctx, &hbr.GetSnapshotsArgs{ SourceType: "NAS", VaultId: defaultNasBackupPlans.Plans[0].VaultId, FileSystemId: pulumi.StringRef(defaultNasBackupPlans.Plans[0].FileSystemId), CreateTime: pulumi.StringRef(defaultNasBackupPlans.Plans[0].CreateTime), CompleteTime: pulumi.StringRef("2021-08-23T14:17:15CST"), CompleteTimeChecker: pulumi.StringRef("GREATER_THAN_OR_EQUAL"), }, nil) if err != nil { return err } ctx.Export("hbrSnapshotId1", nasSnapshots.Snapshots[0].Id) return nil }) }
```
type GetSnapshotsResultOutput ¶
type GetSnapshotsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getSnapshots.
func GetSnapshotsOutput ¶
func GetSnapshotsOutput(ctx *pulumi.Context, args GetSnapshotsOutputArgs, opts ...pulumi.InvokeOption) GetSnapshotsResultOutput
func (GetSnapshotsResultOutput) Bucket ¶
func (o GetSnapshotsResultOutput) Bucket() pulumi.StringPtrOutput
func (GetSnapshotsResultOutput) CompleteTime ¶
func (o GetSnapshotsResultOutput) CompleteTime() pulumi.StringPtrOutput
func (GetSnapshotsResultOutput) CompleteTimeChecker ¶
func (o GetSnapshotsResultOutput) CompleteTimeChecker() pulumi.StringPtrOutput
func (GetSnapshotsResultOutput) CreateTime ¶
func (o GetSnapshotsResultOutput) CreateTime() pulumi.StringPtrOutput
func (GetSnapshotsResultOutput) ElementType ¶
func (GetSnapshotsResultOutput) ElementType() reflect.Type
func (GetSnapshotsResultOutput) FileSystemId ¶
func (o GetSnapshotsResultOutput) FileSystemId() pulumi.StringPtrOutput
func (GetSnapshotsResultOutput) Id ¶
func (o GetSnapshotsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetSnapshotsResultOutput) Ids ¶
func (o GetSnapshotsResultOutput) Ids() pulumi.StringArrayOutput
func (GetSnapshotsResultOutput) InstanceId ¶
func (o GetSnapshotsResultOutput) InstanceId() pulumi.StringPtrOutput
func (GetSnapshotsResultOutput) Limit ¶
func (o GetSnapshotsResultOutput) Limit() pulumi.IntPtrOutput
func (GetSnapshotsResultOutput) OutputFile ¶
func (o GetSnapshotsResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetSnapshotsResultOutput) Query ¶
func (o GetSnapshotsResultOutput) Query() pulumi.StringPtrOutput
func (GetSnapshotsResultOutput) Snapshots ¶
func (o GetSnapshotsResultOutput) Snapshots() GetSnapshotsSnapshotArrayOutput
func (GetSnapshotsResultOutput) SourceType ¶
func (o GetSnapshotsResultOutput) SourceType() pulumi.StringOutput
func (GetSnapshotsResultOutput) Status ¶
func (o GetSnapshotsResultOutput) Status() pulumi.StringPtrOutput
func (GetSnapshotsResultOutput) ToGetSnapshotsResultOutput ¶
func (o GetSnapshotsResultOutput) ToGetSnapshotsResultOutput() GetSnapshotsResultOutput
func (GetSnapshotsResultOutput) ToGetSnapshotsResultOutputWithContext ¶
func (o GetSnapshotsResultOutput) ToGetSnapshotsResultOutputWithContext(ctx context.Context) GetSnapshotsResultOutput
func (GetSnapshotsResultOutput) VaultId ¶
func (o GetSnapshotsResultOutput) VaultId() pulumi.StringOutput
type GetSnapshotsSnapshot ¶
type GetSnapshotsSnapshot struct { // The actual data volume of the snapshot. Unit byte. ActualBytes string `pulumi:"actualBytes"` // The actual number of items in the snapshot. (Currently only file backup is available). ActualItems string `pulumi:"actualItems"` // Backup type. Possible values: `COMPLETE` (full backup). BackupType string `pulumi:"backupType"` // The name of OSS bucket. Bucket string `pulumi:"bucket"` // The incremental amount of backup data. Unit byte. BytesDone string `pulumi:"bytesDone"` // The total amount of data sources. Unit byte. BytesTotal string `pulumi:"bytesTotal"` // The ID of ECS backup client. ClientId string `pulumi:"clientId"` // The time when the snapshot completed. UNIX time in seconds. CompleteTime string `pulumi:"completeTime"` // File System Creation Time of Nas. Unix Time Seconds. CreateTime string `pulumi:"createTime"` // Snapshot creation time. UNIX time in seconds. CreatedTime string `pulumi:"createdTime"` ErrorFile string `pulumi:"errorFile"` // The ID of NAS File system. FileSystemId string `pulumi:"fileSystemId"` // The ID of the Snapshot. Id string `pulumi:"id"` // The ID of ECS instance. InstanceId string `pulumi:"instanceId"` // The number of backup items. (Currently only file backup is available). ItemsDone string `pulumi:"itemsDone"` // The total number of data source items. (Currently only file backup is available). ItemsTotal string `pulumi:"itemsTotal"` // The job ID of backup task. JobId string `pulumi:"jobId"` // The hashcode of parent backup snapshot. ParentSnapshotHash string `pulumi:"parentSnapshotHash"` // Backup Path. Path string `pulumi:"path"` // Backup file prefix. Prefix string `pulumi:"prefix"` // The number of days to keep. Retention string `pulumi:"retention"` // The hashcode of Snapshot. SnapshotHash string `pulumi:"snapshotHash"` // The ID of the Snapshot. SnapshotId string `pulumi:"snapshotId"` // Data source type, optional values: `ECS_FILE`, `OSS`, `NAS`. SourceType string `pulumi:"sourceType"` // The start time of the snapshot. UNIX time in seconds. StartTime string `pulumi:"startTime"` // The status of snapshot execution. Possible values: `COMPLETE`, `PARTIAL_COMPLETE`, `FAILED`. Status string `pulumi:"status"` // The update time of snapshot. UNIX time in seconds. UpdatedTime string `pulumi:"updatedTime"` }
type GetSnapshotsSnapshotArgs ¶
type GetSnapshotsSnapshotArgs struct { // The actual data volume of the snapshot. Unit byte. ActualBytes pulumi.StringInput `pulumi:"actualBytes"` // The actual number of items in the snapshot. (Currently only file backup is available). ActualItems pulumi.StringInput `pulumi:"actualItems"` // Backup type. Possible values: `COMPLETE` (full backup). BackupType pulumi.StringInput `pulumi:"backupType"` // The name of OSS bucket. Bucket pulumi.StringInput `pulumi:"bucket"` // The incremental amount of backup data. Unit byte. BytesDone pulumi.StringInput `pulumi:"bytesDone"` // The total amount of data sources. Unit byte. BytesTotal pulumi.StringInput `pulumi:"bytesTotal"` // The ID of ECS backup client. ClientId pulumi.StringInput `pulumi:"clientId"` // The time when the snapshot completed. UNIX time in seconds. CompleteTime pulumi.StringInput `pulumi:"completeTime"` // File System Creation Time of Nas. Unix Time Seconds. CreateTime pulumi.StringInput `pulumi:"createTime"` // Snapshot creation time. UNIX time in seconds. CreatedTime pulumi.StringInput `pulumi:"createdTime"` ErrorFile pulumi.StringInput `pulumi:"errorFile"` // The ID of NAS File system. FileSystemId pulumi.StringInput `pulumi:"fileSystemId"` // The ID of the Snapshot. Id pulumi.StringInput `pulumi:"id"` // The ID of ECS instance. InstanceId pulumi.StringInput `pulumi:"instanceId"` // The number of backup items. (Currently only file backup is available). ItemsDone pulumi.StringInput `pulumi:"itemsDone"` // The total number of data source items. (Currently only file backup is available). ItemsTotal pulumi.StringInput `pulumi:"itemsTotal"` // The job ID of backup task. JobId pulumi.StringInput `pulumi:"jobId"` // The hashcode of parent backup snapshot. ParentSnapshotHash pulumi.StringInput `pulumi:"parentSnapshotHash"` // Backup Path. Path pulumi.StringInput `pulumi:"path"` // Backup file prefix. Prefix pulumi.StringInput `pulumi:"prefix"` // The number of days to keep. Retention pulumi.StringInput `pulumi:"retention"` // The hashcode of Snapshot. SnapshotHash pulumi.StringInput `pulumi:"snapshotHash"` // The ID of the Snapshot. SnapshotId pulumi.StringInput `pulumi:"snapshotId"` // Data source type, optional values: `ECS_FILE`, `OSS`, `NAS`. SourceType pulumi.StringInput `pulumi:"sourceType"` // The start time of the snapshot. UNIX time in seconds. StartTime pulumi.StringInput `pulumi:"startTime"` // The status of snapshot execution. Possible values: `COMPLETE`, `PARTIAL_COMPLETE`, `FAILED`. Status pulumi.StringInput `pulumi:"status"` // The update time of snapshot. UNIX time in seconds. UpdatedTime pulumi.StringInput `pulumi:"updatedTime"` }
func (GetSnapshotsSnapshotArgs) ElementType ¶
func (GetSnapshotsSnapshotArgs) ElementType() reflect.Type
func (GetSnapshotsSnapshotArgs) ToGetSnapshotsSnapshotOutput ¶
func (i GetSnapshotsSnapshotArgs) ToGetSnapshotsSnapshotOutput() GetSnapshotsSnapshotOutput
func (GetSnapshotsSnapshotArgs) ToGetSnapshotsSnapshotOutputWithContext ¶
func (i GetSnapshotsSnapshotArgs) ToGetSnapshotsSnapshotOutputWithContext(ctx context.Context) GetSnapshotsSnapshotOutput
type GetSnapshotsSnapshotArray ¶
type GetSnapshotsSnapshotArray []GetSnapshotsSnapshotInput
func (GetSnapshotsSnapshotArray) ElementType ¶
func (GetSnapshotsSnapshotArray) ElementType() reflect.Type
func (GetSnapshotsSnapshotArray) ToGetSnapshotsSnapshotArrayOutput ¶
func (i GetSnapshotsSnapshotArray) ToGetSnapshotsSnapshotArrayOutput() GetSnapshotsSnapshotArrayOutput
func (GetSnapshotsSnapshotArray) ToGetSnapshotsSnapshotArrayOutputWithContext ¶
func (i GetSnapshotsSnapshotArray) ToGetSnapshotsSnapshotArrayOutputWithContext(ctx context.Context) GetSnapshotsSnapshotArrayOutput
type GetSnapshotsSnapshotArrayInput ¶
type GetSnapshotsSnapshotArrayInput interface { pulumi.Input ToGetSnapshotsSnapshotArrayOutput() GetSnapshotsSnapshotArrayOutput ToGetSnapshotsSnapshotArrayOutputWithContext(context.Context) GetSnapshotsSnapshotArrayOutput }
GetSnapshotsSnapshotArrayInput is an input type that accepts GetSnapshotsSnapshotArray and GetSnapshotsSnapshotArrayOutput values. You can construct a concrete instance of `GetSnapshotsSnapshotArrayInput` via:
GetSnapshotsSnapshotArray{ GetSnapshotsSnapshotArgs{...} }
type GetSnapshotsSnapshotArrayOutput ¶
type GetSnapshotsSnapshotArrayOutput struct{ *pulumi.OutputState }
func (GetSnapshotsSnapshotArrayOutput) ElementType ¶
func (GetSnapshotsSnapshotArrayOutput) ElementType() reflect.Type
func (GetSnapshotsSnapshotArrayOutput) Index ¶
func (o GetSnapshotsSnapshotArrayOutput) Index(i pulumi.IntInput) GetSnapshotsSnapshotOutput
func (GetSnapshotsSnapshotArrayOutput) ToGetSnapshotsSnapshotArrayOutput ¶
func (o GetSnapshotsSnapshotArrayOutput) ToGetSnapshotsSnapshotArrayOutput() GetSnapshotsSnapshotArrayOutput
func (GetSnapshotsSnapshotArrayOutput) ToGetSnapshotsSnapshotArrayOutputWithContext ¶
func (o GetSnapshotsSnapshotArrayOutput) ToGetSnapshotsSnapshotArrayOutputWithContext(ctx context.Context) GetSnapshotsSnapshotArrayOutput
type GetSnapshotsSnapshotInput ¶
type GetSnapshotsSnapshotInput interface { pulumi.Input ToGetSnapshotsSnapshotOutput() GetSnapshotsSnapshotOutput ToGetSnapshotsSnapshotOutputWithContext(context.Context) GetSnapshotsSnapshotOutput }
GetSnapshotsSnapshotInput is an input type that accepts GetSnapshotsSnapshotArgs and GetSnapshotsSnapshotOutput values. You can construct a concrete instance of `GetSnapshotsSnapshotInput` via:
GetSnapshotsSnapshotArgs{...}
type GetSnapshotsSnapshotOutput ¶
type GetSnapshotsSnapshotOutput struct{ *pulumi.OutputState }
func (GetSnapshotsSnapshotOutput) ActualBytes ¶
func (o GetSnapshotsSnapshotOutput) ActualBytes() pulumi.StringOutput
The actual data volume of the snapshot. Unit byte.
func (GetSnapshotsSnapshotOutput) ActualItems ¶
func (o GetSnapshotsSnapshotOutput) ActualItems() pulumi.StringOutput
The actual number of items in the snapshot. (Currently only file backup is available).
func (GetSnapshotsSnapshotOutput) BackupType ¶
func (o GetSnapshotsSnapshotOutput) BackupType() pulumi.StringOutput
Backup type. Possible values: `COMPLETE` (full backup).
func (GetSnapshotsSnapshotOutput) Bucket ¶
func (o GetSnapshotsSnapshotOutput) Bucket() pulumi.StringOutput
The name of OSS bucket.
func (GetSnapshotsSnapshotOutput) BytesDone ¶
func (o GetSnapshotsSnapshotOutput) BytesDone() pulumi.StringOutput
The incremental amount of backup data. Unit byte.
func (GetSnapshotsSnapshotOutput) BytesTotal ¶
func (o GetSnapshotsSnapshotOutput) BytesTotal() pulumi.StringOutput
The total amount of data sources. Unit byte.
func (GetSnapshotsSnapshotOutput) ClientId ¶
func (o GetSnapshotsSnapshotOutput) ClientId() pulumi.StringOutput
The ID of ECS backup client.
func (GetSnapshotsSnapshotOutput) CompleteTime ¶
func (o GetSnapshotsSnapshotOutput) CompleteTime() pulumi.StringOutput
The time when the snapshot completed. UNIX time in seconds.
func (GetSnapshotsSnapshotOutput) CreateTime ¶
func (o GetSnapshotsSnapshotOutput) CreateTime() pulumi.StringOutput
File System Creation Time of Nas. Unix Time Seconds.
func (GetSnapshotsSnapshotOutput) CreatedTime ¶
func (o GetSnapshotsSnapshotOutput) CreatedTime() pulumi.StringOutput
Snapshot creation time. UNIX time in seconds.
func (GetSnapshotsSnapshotOutput) ElementType ¶
func (GetSnapshotsSnapshotOutput) ElementType() reflect.Type
func (GetSnapshotsSnapshotOutput) ErrorFile ¶
func (o GetSnapshotsSnapshotOutput) ErrorFile() pulumi.StringOutput
func (GetSnapshotsSnapshotOutput) FileSystemId ¶
func (o GetSnapshotsSnapshotOutput) FileSystemId() pulumi.StringOutput
The ID of NAS File system.
func (GetSnapshotsSnapshotOutput) Id ¶
func (o GetSnapshotsSnapshotOutput) Id() pulumi.StringOutput
The ID of the Snapshot.
func (GetSnapshotsSnapshotOutput) InstanceId ¶
func (o GetSnapshotsSnapshotOutput) InstanceId() pulumi.StringOutput
The ID of ECS instance.
func (GetSnapshotsSnapshotOutput) ItemsDone ¶
func (o GetSnapshotsSnapshotOutput) ItemsDone() pulumi.StringOutput
The number of backup items. (Currently only file backup is available).
func (GetSnapshotsSnapshotOutput) ItemsTotal ¶
func (o GetSnapshotsSnapshotOutput) ItemsTotal() pulumi.StringOutput
The total number of data source items. (Currently only file backup is available).
func (GetSnapshotsSnapshotOutput) JobId ¶
func (o GetSnapshotsSnapshotOutput) JobId() pulumi.StringOutput
The job ID of backup task.
func (GetSnapshotsSnapshotOutput) ParentSnapshotHash ¶
func (o GetSnapshotsSnapshotOutput) ParentSnapshotHash() pulumi.StringOutput
The hashcode of parent backup snapshot.
func (GetSnapshotsSnapshotOutput) Path ¶
func (o GetSnapshotsSnapshotOutput) Path() pulumi.StringOutput
Backup Path.
func (GetSnapshotsSnapshotOutput) Prefix ¶
func (o GetSnapshotsSnapshotOutput) Prefix() pulumi.StringOutput
Backup file prefix.
func (GetSnapshotsSnapshotOutput) Retention ¶
func (o GetSnapshotsSnapshotOutput) Retention() pulumi.StringOutput
The number of days to keep.
func (GetSnapshotsSnapshotOutput) SnapshotHash ¶
func (o GetSnapshotsSnapshotOutput) SnapshotHash() pulumi.StringOutput
The hashcode of Snapshot.
func (GetSnapshotsSnapshotOutput) SnapshotId ¶
func (o GetSnapshotsSnapshotOutput) SnapshotId() pulumi.StringOutput
The ID of the Snapshot.
func (GetSnapshotsSnapshotOutput) SourceType ¶
func (o GetSnapshotsSnapshotOutput) SourceType() pulumi.StringOutput
Data source type, optional values: `ECS_FILE`, `OSS`, `NAS`.
func (GetSnapshotsSnapshotOutput) StartTime ¶
func (o GetSnapshotsSnapshotOutput) StartTime() pulumi.StringOutput
The start time of the snapshot. UNIX time in seconds.
func (GetSnapshotsSnapshotOutput) Status ¶
func (o GetSnapshotsSnapshotOutput) Status() pulumi.StringOutput
The status of snapshot execution. Possible values: `COMPLETE`, `PARTIAL_COMPLETE`, `FAILED`.
func (GetSnapshotsSnapshotOutput) ToGetSnapshotsSnapshotOutput ¶
func (o GetSnapshotsSnapshotOutput) ToGetSnapshotsSnapshotOutput() GetSnapshotsSnapshotOutput
func (GetSnapshotsSnapshotOutput) ToGetSnapshotsSnapshotOutputWithContext ¶
func (o GetSnapshotsSnapshotOutput) ToGetSnapshotsSnapshotOutputWithContext(ctx context.Context) GetSnapshotsSnapshotOutput
func (GetSnapshotsSnapshotOutput) UpdatedTime ¶
func (o GetSnapshotsSnapshotOutput) UpdatedTime() pulumi.StringOutput
The update time of snapshot. UNIX time in seconds.
type GetVaultsArgs ¶
type GetVaultsArgs struct { // A list of Vault IDs. Ids []string `pulumi:"ids"` // A regex string to filter results by Vault name. NameRegex *string `pulumi:"nameRegex"` OutputFile *string `pulumi:"outputFile"` // The status of Vault. Valid values: `CREATED`, `ERROR`, `UNKNOWN`. Status *string `pulumi:"status"` // The type of Vault. Valid values: `STANDARD`,`OTS_BACKUP`. VaultType *string `pulumi:"vaultType"` }
A collection of arguments for invoking getVaults.
type GetVaultsOutputArgs ¶
type GetVaultsOutputArgs struct { // A list of Vault IDs. Ids pulumi.StringArrayInput `pulumi:"ids"` // A regex string to filter results by Vault name. NameRegex pulumi.StringPtrInput `pulumi:"nameRegex"` OutputFile pulumi.StringPtrInput `pulumi:"outputFile"` // The status of Vault. Valid values: `CREATED`, `ERROR`, `UNKNOWN`. Status pulumi.StringPtrInput `pulumi:"status"` // The type of Vault. Valid values: `STANDARD`,`OTS_BACKUP`. VaultType pulumi.StringPtrInput `pulumi:"vaultType"` }
A collection of arguments for invoking getVaults.
func (GetVaultsOutputArgs) ElementType ¶
func (GetVaultsOutputArgs) ElementType() reflect.Type
type GetVaultsResult ¶
type GetVaultsResult struct { // The provider-assigned unique ID for this managed resource. Id string `pulumi:"id"` Ids []string `pulumi:"ids"` NameRegex *string `pulumi:"nameRegex"` Names []string `pulumi:"names"` OutputFile *string `pulumi:"outputFile"` Status *string `pulumi:"status"` VaultType *string `pulumi:"vaultType"` Vaults []GetVaultsVault `pulumi:"vaults"` }
A collection of values returned by getVaults.
func GetVaults ¶
func GetVaults(ctx *pulumi.Context, args *GetVaultsArgs, opts ...pulumi.InvokeOption) (*GetVaultsResult, error)
This data source provides the Hbr Vaults of the current Alibaba Cloud user.
> **NOTE:** Available in v1.129.0+.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/hbr" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/hbr"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { ids, err := hbr.GetVaults(ctx, &hbr.GetVaultsArgs{ NameRegex: pulumi.StringRef("^my-Vault"), }, nil) if err != nil { return err } ctx.Export("hbrVaultId1", ids.Vaults[0].Id) return nil }) }
```
type GetVaultsResultOutput ¶
type GetVaultsResultOutput struct{ *pulumi.OutputState }
A collection of values returned by getVaults.
func GetVaultsOutput ¶
func GetVaultsOutput(ctx *pulumi.Context, args GetVaultsOutputArgs, opts ...pulumi.InvokeOption) GetVaultsResultOutput
func (GetVaultsResultOutput) ElementType ¶
func (GetVaultsResultOutput) ElementType() reflect.Type
func (GetVaultsResultOutput) Id ¶
func (o GetVaultsResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetVaultsResultOutput) Ids ¶
func (o GetVaultsResultOutput) Ids() pulumi.StringArrayOutput
func (GetVaultsResultOutput) NameRegex ¶
func (o GetVaultsResultOutput) NameRegex() pulumi.StringPtrOutput
func (GetVaultsResultOutput) Names ¶
func (o GetVaultsResultOutput) Names() pulumi.StringArrayOutput
func (GetVaultsResultOutput) OutputFile ¶
func (o GetVaultsResultOutput) OutputFile() pulumi.StringPtrOutput
func (GetVaultsResultOutput) Status ¶
func (o GetVaultsResultOutput) Status() pulumi.StringPtrOutput
func (GetVaultsResultOutput) ToGetVaultsResultOutput ¶
func (o GetVaultsResultOutput) ToGetVaultsResultOutput() GetVaultsResultOutput
func (GetVaultsResultOutput) ToGetVaultsResultOutputWithContext ¶
func (o GetVaultsResultOutput) ToGetVaultsResultOutputWithContext(ctx context.Context) GetVaultsResultOutput
func (GetVaultsResultOutput) VaultType ¶
func (o GetVaultsResultOutput) VaultType() pulumi.StringPtrOutput
func (GetVaultsResultOutput) Vaults ¶
func (o GetVaultsResultOutput) Vaults() GetVaultsVaultArrayOutput
type GetVaultsVault ¶
type GetVaultsVault struct { // The name of the OSS bucket of the Vault. BucketName string `pulumi:"bucketName"` // The amount of backup data. The unit is Byte. BytesDone string `pulumi:"bytesDone"` // The creation time of the Vault. UNIX time in seconds. CreatedTime string `pulumi:"createdTime"` // Whether to enable the deduplication function for the database backup Vault. Dedup bool `pulumi:"dedup"` // The description of the vault. Description string `pulumi:"description"` // The ID of vault. Id string `pulumi:"id"` // Index available. IndexAvailable bool `pulumi:"indexAvailable"` // Index level. IndexLevel string `pulumi:"indexLevel"` // Index update time. IndexUpdateTime string `pulumi:"indexUpdateTime"` // The time of the last remote backup synchronization. LatestReplicationTime string `pulumi:"latestReplicationTime"` // Billing model, possible values: PaymentType string `pulumi:"paymentType"` // Whether it is a remote backup warehouse. It's a boolean value. Replication bool `pulumi:"replication"` // The region ID to which the remote backup Vault belongs. ReplicationSourceRegionId string `pulumi:"replicationSourceRegionId"` // The source vault ID of the remote backup Vault. ReplicationSourceVaultId string `pulumi:"replicationSourceVaultId"` // Warehouse-level data retention days, only valid for archive libraries. Retention string `pulumi:"retention"` // Whether to enable the backup search function. SearchEnabled bool `pulumi:"searchEnabled"` SourceTypes []string `pulumi:"sourceTypes"` // The status of Vault. Valid values: `CREATED`, `ERROR`, `UNKNOWN`. Status string `pulumi:"status"` // Backup vault storage usage. The unit is Byte. StorageSize string `pulumi:"storageSize"` // The update time of the Vault. UNIX time in seconds. UpdatedTime string `pulumi:"updatedTime"` // The ID of vault, same as `id`. VaultId string `pulumi:"vaultId"` // The name of vault. VaultName string `pulumi:"vaultName"` // Error status information of Vault. Only valid for remote backup warehouses. Only the remote backup warehouse is valid. VaultStatusMessage string `pulumi:"vaultStatusMessage"` // The storage class of vault. Valid values: `STANDARD`. VaultStorageClass string `pulumi:"vaultStorageClass"` // The type of Vault. Valid values: `STANDARD`,`OTS_BACKUP`. VaultType string `pulumi:"vaultType"` }
type GetVaultsVaultArgs ¶
type GetVaultsVaultArgs struct { // The name of the OSS bucket of the Vault. BucketName pulumi.StringInput `pulumi:"bucketName"` // The amount of backup data. The unit is Byte. BytesDone pulumi.StringInput `pulumi:"bytesDone"` // The creation time of the Vault. UNIX time in seconds. CreatedTime pulumi.StringInput `pulumi:"createdTime"` // Whether to enable the deduplication function for the database backup Vault. Dedup pulumi.BoolInput `pulumi:"dedup"` // The description of the vault. Description pulumi.StringInput `pulumi:"description"` // The ID of vault. Id pulumi.StringInput `pulumi:"id"` // Index available. IndexAvailable pulumi.BoolInput `pulumi:"indexAvailable"` // Index level. IndexLevel pulumi.StringInput `pulumi:"indexLevel"` // Index update time. IndexUpdateTime pulumi.StringInput `pulumi:"indexUpdateTime"` // The time of the last remote backup synchronization. LatestReplicationTime pulumi.StringInput `pulumi:"latestReplicationTime"` // Billing model, possible values: PaymentType pulumi.StringInput `pulumi:"paymentType"` // Whether it is a remote backup warehouse. It's a boolean value. Replication pulumi.BoolInput `pulumi:"replication"` // The region ID to which the remote backup Vault belongs. ReplicationSourceRegionId pulumi.StringInput `pulumi:"replicationSourceRegionId"` // The source vault ID of the remote backup Vault. ReplicationSourceVaultId pulumi.StringInput `pulumi:"replicationSourceVaultId"` // Warehouse-level data retention days, only valid for archive libraries. Retention pulumi.StringInput `pulumi:"retention"` // Whether to enable the backup search function. SearchEnabled pulumi.BoolInput `pulumi:"searchEnabled"` SourceTypes pulumi.StringArrayInput `pulumi:"sourceTypes"` // The status of Vault. Valid values: `CREATED`, `ERROR`, `UNKNOWN`. Status pulumi.StringInput `pulumi:"status"` // Backup vault storage usage. The unit is Byte. StorageSize pulumi.StringInput `pulumi:"storageSize"` // The update time of the Vault. UNIX time in seconds. UpdatedTime pulumi.StringInput `pulumi:"updatedTime"` // The ID of vault, same as `id`. VaultId pulumi.StringInput `pulumi:"vaultId"` // The name of vault. VaultName pulumi.StringInput `pulumi:"vaultName"` // Error status information of Vault. Only valid for remote backup warehouses. Only the remote backup warehouse is valid. VaultStatusMessage pulumi.StringInput `pulumi:"vaultStatusMessage"` // The storage class of vault. Valid values: `STANDARD`. VaultStorageClass pulumi.StringInput `pulumi:"vaultStorageClass"` // The type of Vault. Valid values: `STANDARD`,`OTS_BACKUP`. VaultType pulumi.StringInput `pulumi:"vaultType"` }
func (GetVaultsVaultArgs) ElementType ¶
func (GetVaultsVaultArgs) ElementType() reflect.Type
func (GetVaultsVaultArgs) ToGetVaultsVaultOutput ¶
func (i GetVaultsVaultArgs) ToGetVaultsVaultOutput() GetVaultsVaultOutput
func (GetVaultsVaultArgs) ToGetVaultsVaultOutputWithContext ¶
func (i GetVaultsVaultArgs) ToGetVaultsVaultOutputWithContext(ctx context.Context) GetVaultsVaultOutput
type GetVaultsVaultArray ¶
type GetVaultsVaultArray []GetVaultsVaultInput
func (GetVaultsVaultArray) ElementType ¶
func (GetVaultsVaultArray) ElementType() reflect.Type
func (GetVaultsVaultArray) ToGetVaultsVaultArrayOutput ¶
func (i GetVaultsVaultArray) ToGetVaultsVaultArrayOutput() GetVaultsVaultArrayOutput
func (GetVaultsVaultArray) ToGetVaultsVaultArrayOutputWithContext ¶
func (i GetVaultsVaultArray) ToGetVaultsVaultArrayOutputWithContext(ctx context.Context) GetVaultsVaultArrayOutput
type GetVaultsVaultArrayInput ¶
type GetVaultsVaultArrayInput interface { pulumi.Input ToGetVaultsVaultArrayOutput() GetVaultsVaultArrayOutput ToGetVaultsVaultArrayOutputWithContext(context.Context) GetVaultsVaultArrayOutput }
GetVaultsVaultArrayInput is an input type that accepts GetVaultsVaultArray and GetVaultsVaultArrayOutput values. You can construct a concrete instance of `GetVaultsVaultArrayInput` via:
GetVaultsVaultArray{ GetVaultsVaultArgs{...} }
type GetVaultsVaultArrayOutput ¶
type GetVaultsVaultArrayOutput struct{ *pulumi.OutputState }
func (GetVaultsVaultArrayOutput) ElementType ¶
func (GetVaultsVaultArrayOutput) ElementType() reflect.Type
func (GetVaultsVaultArrayOutput) Index ¶
func (o GetVaultsVaultArrayOutput) Index(i pulumi.IntInput) GetVaultsVaultOutput
func (GetVaultsVaultArrayOutput) ToGetVaultsVaultArrayOutput ¶
func (o GetVaultsVaultArrayOutput) ToGetVaultsVaultArrayOutput() GetVaultsVaultArrayOutput
func (GetVaultsVaultArrayOutput) ToGetVaultsVaultArrayOutputWithContext ¶
func (o GetVaultsVaultArrayOutput) ToGetVaultsVaultArrayOutputWithContext(ctx context.Context) GetVaultsVaultArrayOutput
type GetVaultsVaultInput ¶
type GetVaultsVaultInput interface { pulumi.Input ToGetVaultsVaultOutput() GetVaultsVaultOutput ToGetVaultsVaultOutputWithContext(context.Context) GetVaultsVaultOutput }
GetVaultsVaultInput is an input type that accepts GetVaultsVaultArgs and GetVaultsVaultOutput values. You can construct a concrete instance of `GetVaultsVaultInput` via:
GetVaultsVaultArgs{...}
type GetVaultsVaultOutput ¶
type GetVaultsVaultOutput struct{ *pulumi.OutputState }
func (GetVaultsVaultOutput) BucketName ¶
func (o GetVaultsVaultOutput) BucketName() pulumi.StringOutput
The name of the OSS bucket of the Vault.
func (GetVaultsVaultOutput) BytesDone ¶
func (o GetVaultsVaultOutput) BytesDone() pulumi.StringOutput
The amount of backup data. The unit is Byte.
func (GetVaultsVaultOutput) CreatedTime ¶
func (o GetVaultsVaultOutput) CreatedTime() pulumi.StringOutput
The creation time of the Vault. UNIX time in seconds.
func (GetVaultsVaultOutput) Dedup ¶
func (o GetVaultsVaultOutput) Dedup() pulumi.BoolOutput
Whether to enable the deduplication function for the database backup Vault.
func (GetVaultsVaultOutput) Description ¶
func (o GetVaultsVaultOutput) Description() pulumi.StringOutput
The description of the vault.
func (GetVaultsVaultOutput) ElementType ¶
func (GetVaultsVaultOutput) ElementType() reflect.Type
func (GetVaultsVaultOutput) Id ¶
func (o GetVaultsVaultOutput) Id() pulumi.StringOutput
The ID of vault.
func (GetVaultsVaultOutput) IndexAvailable ¶
func (o GetVaultsVaultOutput) IndexAvailable() pulumi.BoolOutput
Index available.
func (GetVaultsVaultOutput) IndexLevel ¶
func (o GetVaultsVaultOutput) IndexLevel() pulumi.StringOutput
Index level.
func (GetVaultsVaultOutput) IndexUpdateTime ¶
func (o GetVaultsVaultOutput) IndexUpdateTime() pulumi.StringOutput
Index update time.
func (GetVaultsVaultOutput) LatestReplicationTime ¶
func (o GetVaultsVaultOutput) LatestReplicationTime() pulumi.StringOutput
The time of the last remote backup synchronization.
func (GetVaultsVaultOutput) PaymentType ¶
func (o GetVaultsVaultOutput) PaymentType() pulumi.StringOutput
Billing model, possible values:
func (GetVaultsVaultOutput) Replication ¶
func (o GetVaultsVaultOutput) Replication() pulumi.BoolOutput
Whether it is a remote backup warehouse. It's a boolean value.
func (GetVaultsVaultOutput) ReplicationSourceRegionId ¶
func (o GetVaultsVaultOutput) ReplicationSourceRegionId() pulumi.StringOutput
The region ID to which the remote backup Vault belongs.
func (GetVaultsVaultOutput) ReplicationSourceVaultId ¶
func (o GetVaultsVaultOutput) ReplicationSourceVaultId() pulumi.StringOutput
The source vault ID of the remote backup Vault.
func (GetVaultsVaultOutput) Retention ¶
func (o GetVaultsVaultOutput) Retention() pulumi.StringOutput
Warehouse-level data retention days, only valid for archive libraries.
func (GetVaultsVaultOutput) SearchEnabled ¶
func (o GetVaultsVaultOutput) SearchEnabled() pulumi.BoolOutput
Whether to enable the backup search function.
func (GetVaultsVaultOutput) SourceTypes ¶
func (o GetVaultsVaultOutput) SourceTypes() pulumi.StringArrayOutput
func (GetVaultsVaultOutput) Status ¶
func (o GetVaultsVaultOutput) Status() pulumi.StringOutput
The status of Vault. Valid values: `CREATED`, `ERROR`, `UNKNOWN`.
func (GetVaultsVaultOutput) StorageSize ¶
func (o GetVaultsVaultOutput) StorageSize() pulumi.StringOutput
Backup vault storage usage. The unit is Byte.
func (GetVaultsVaultOutput) ToGetVaultsVaultOutput ¶
func (o GetVaultsVaultOutput) ToGetVaultsVaultOutput() GetVaultsVaultOutput
func (GetVaultsVaultOutput) ToGetVaultsVaultOutputWithContext ¶
func (o GetVaultsVaultOutput) ToGetVaultsVaultOutputWithContext(ctx context.Context) GetVaultsVaultOutput
func (GetVaultsVaultOutput) UpdatedTime ¶
func (o GetVaultsVaultOutput) UpdatedTime() pulumi.StringOutput
The update time of the Vault. UNIX time in seconds.
func (GetVaultsVaultOutput) VaultId ¶
func (o GetVaultsVaultOutput) VaultId() pulumi.StringOutput
The ID of vault, same as `id`.
func (GetVaultsVaultOutput) VaultName ¶
func (o GetVaultsVaultOutput) VaultName() pulumi.StringOutput
The name of vault.
func (GetVaultsVaultOutput) VaultStatusMessage ¶
func (o GetVaultsVaultOutput) VaultStatusMessage() pulumi.StringOutput
Error status information of Vault. Only valid for remote backup warehouses. Only the remote backup warehouse is valid.
func (GetVaultsVaultOutput) VaultStorageClass ¶
func (o GetVaultsVaultOutput) VaultStorageClass() pulumi.StringOutput
The storage class of vault. Valid values: `STANDARD`.
func (GetVaultsVaultOutput) VaultType ¶
func (o GetVaultsVaultOutput) VaultType() pulumi.StringOutput
The type of Vault. Valid values: `STANDARD`,`OTS_BACKUP`.
type HanaBackupPlan ¶
type HanaBackupPlan struct { pulumi.CustomResourceState // The backup prefix. BackupPrefix pulumi.StringPtrOutput `pulumi:"backupPrefix"` // The backup type. Valid values: // - `COMPLETE`: full backup. // - `INCREMENTAL`: incremental backup. // - `DIFFERENTIAL`: differential backup. BackupType pulumi.StringOutput `pulumi:"backupType"` // The ID of the SAP HANA instance. ClusterId pulumi.StringOutput `pulumi:"clusterId"` // The name of the database. DatabaseName pulumi.StringOutput `pulumi:"databaseName"` // The id of the plan. PlanId pulumi.StringOutput `pulumi:"planId"` // The name of the backup plan. PlanName pulumi.StringOutput `pulumi:"planName"` // The resource attribute field that represents the resource group ID. ResourceGroupId pulumi.StringPtrOutput `pulumi:"resourceGroupId"` // The backup policy. Format: `I|{startTime}|{interval}`. The system runs the first backup job at a point in time that is specified in the {startTime} parameter and the subsequent backup jobs at an interval that is specified in the {interval} parameter. The system does not run a backup job before the specified point in time. Each backup job, except the first one, starts only after the previous backup job is completed. For example, I|1631685600|P1D specifies that the system runs the first backup job at 14:00:00 on September 15, 2021 and the subsequent backup jobs once a day. Schedule pulumi.StringOutput `pulumi:"schedule"` // The status of the resource. Valid values: `Enabled`, `Disabled`. Status pulumi.StringOutput `pulumi:"status"` // The ID of the backup vault. VaultId pulumi.StringOutput `pulumi:"vaultId"` }
Provides a Hybrid Backup Recovery (HBR) Hana Backup Plan resource.
For information about Hybrid Backup Recovery (HBR) Hana Backup Plan and how to use it, see [What is Hana Backup Plan](https://www.alibabacloud.com/help/en/hybrid-backup-recovery/latest/api-doc-hbr-2017-09-08-api-doc-createhanabackupplan).
> **NOTE:** Available in v1.179.0+.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/resourcemanager" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/hbr" "github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/resourcemanager"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { defaultVault, err := hbr.NewVault(ctx, "defaultVault", &hbr.VaultArgs{ VaultName: pulumi.Any(_var.Name), }) if err != nil { return err } defaultResourceGroups, err := resourcemanager.GetResourceGroups(ctx, &resourcemanager.GetResourceGroupsArgs{ Status: pulumi.StringRef("OK"), }, nil) if err != nil { return err } defaultHanaInstance, err := hbr.NewHanaInstance(ctx, "defaultHanaInstance", &hbr.HanaInstanceArgs{ AlertSetting: pulumi.String("INHERITED"), HanaName: pulumi.Any(_var.Name), Host: pulumi.String("1.1.1.1"), InstanceNumber: pulumi.Int(1), Password: pulumi.String("YouPassword123"), ResourceGroupId: pulumi.String(defaultResourceGroups.Groups[0].Id), Sid: pulumi.String("HXE"), UseSsl: pulumi.Bool(false), UserName: pulumi.String("admin"), ValidateCertificate: pulumi.Bool(false), VaultId: defaultVault.ID(), }) if err != nil { return err } _, err = hbr.NewHanaBackupPlan(ctx, "defaultHanaBackupPlan", &hbr.HanaBackupPlanArgs{ BackupPrefix: pulumi.String("DIFF_DATA_BACKUP"), BackupType: pulumi.String("COMPLETE"), ClusterId: defaultHanaInstance.HanaInstanceId, DatabaseName: pulumi.String("SYSTEMDB"), PlanName: pulumi.Any(_var.Name), ResourceGroupId: pulumi.String(defaultResourceGroups.Groups[0].Id), Schedule: pulumi.String("I|1602673264|P1D"), VaultId: defaultHanaInstance.VaultId, }) if err != nil { return err } return nil }) }
```
## Import
Hybrid Backup Recovery (HBR) Hana Backup Plan can be imported using the id, e.g.
```sh
$ pulumi import alicloud:hbr/hanaBackupPlan:HanaBackupPlan example <plan_id>:<vault_id>:<cluster_id>
```
func GetHanaBackupPlan ¶
func GetHanaBackupPlan(ctx *pulumi.Context, name string, id pulumi.IDInput, state *HanaBackupPlanState, opts ...pulumi.ResourceOption) (*HanaBackupPlan, error)
GetHanaBackupPlan gets an existing HanaBackupPlan 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 NewHanaBackupPlan ¶
func NewHanaBackupPlan(ctx *pulumi.Context, name string, args *HanaBackupPlanArgs, opts ...pulumi.ResourceOption) (*HanaBackupPlan, error)
NewHanaBackupPlan registers a new resource with the given unique name, arguments, and options.
func (*HanaBackupPlan) ElementType ¶
func (*HanaBackupPlan) ElementType() reflect.Type
func (*HanaBackupPlan) ToHanaBackupPlanOutput ¶
func (i *HanaBackupPlan) ToHanaBackupPlanOutput() HanaBackupPlanOutput
func (*HanaBackupPlan) ToHanaBackupPlanOutputWithContext ¶
func (i *HanaBackupPlan) ToHanaBackupPlanOutputWithContext(ctx context.Context) HanaBackupPlanOutput
type HanaBackupPlanArgs ¶
type HanaBackupPlanArgs struct { // The backup prefix. BackupPrefix pulumi.StringPtrInput // The backup type. Valid values: // - `COMPLETE`: full backup. // - `INCREMENTAL`: incremental backup. // - `DIFFERENTIAL`: differential backup. BackupType pulumi.StringInput // The ID of the SAP HANA instance. ClusterId pulumi.StringInput // The name of the database. DatabaseName pulumi.StringInput // The name of the backup plan. PlanName pulumi.StringInput // The resource attribute field that represents the resource group ID. ResourceGroupId pulumi.StringPtrInput // The backup policy. Format: `I|{startTime}|{interval}`. The system runs the first backup job at a point in time that is specified in the {startTime} parameter and the subsequent backup jobs at an interval that is specified in the {interval} parameter. The system does not run a backup job before the specified point in time. Each backup job, except the first one, starts only after the previous backup job is completed. For example, I|1631685600|P1D specifies that the system runs the first backup job at 14:00:00 on September 15, 2021 and the subsequent backup jobs once a day. Schedule pulumi.StringInput // The status of the resource. Valid values: `Enabled`, `Disabled`. Status pulumi.StringPtrInput // The ID of the backup vault. VaultId pulumi.StringInput }
The set of arguments for constructing a HanaBackupPlan resource.
func (HanaBackupPlanArgs) ElementType ¶
func (HanaBackupPlanArgs) ElementType() reflect.Type
type HanaBackupPlanArray ¶
type HanaBackupPlanArray []HanaBackupPlanInput
func (HanaBackupPlanArray) ElementType ¶
func (HanaBackupPlanArray) ElementType() reflect.Type
func (HanaBackupPlanArray) ToHanaBackupPlanArrayOutput ¶
func (i HanaBackupPlanArray) ToHanaBackupPlanArrayOutput() HanaBackupPlanArrayOutput
func (HanaBackupPlanArray) ToHanaBackupPlanArrayOutputWithContext ¶
func (i HanaBackupPlanArray) ToHanaBackupPlanArrayOutputWithContext(ctx context.Context) HanaBackupPlanArrayOutput
type HanaBackupPlanArrayInput ¶
type HanaBackupPlanArrayInput interface { pulumi.Input ToHanaBackupPlanArrayOutput() HanaBackupPlanArrayOutput ToHanaBackupPlanArrayOutputWithContext(context.Context) HanaBackupPlanArrayOutput }
HanaBackupPlanArrayInput is an input type that accepts HanaBackupPlanArray and HanaBackupPlanArrayOutput values. You can construct a concrete instance of `HanaBackupPlanArrayInput` via:
HanaBackupPlanArray{ HanaBackupPlanArgs{...} }
type HanaBackupPlanArrayOutput ¶
type HanaBackupPlanArrayOutput struct{ *pulumi.OutputState }
func (HanaBackupPlanArrayOutput) ElementType ¶
func (HanaBackupPlanArrayOutput) ElementType() reflect.Type
func (HanaBackupPlanArrayOutput) Index ¶
func (o HanaBackupPlanArrayOutput) Index(i pulumi.IntInput) HanaBackupPlanOutput
func (HanaBackupPlanArrayOutput) ToHanaBackupPlanArrayOutput ¶
func (o HanaBackupPlanArrayOutput) ToHanaBackupPlanArrayOutput() HanaBackupPlanArrayOutput
func (HanaBackupPlanArrayOutput) ToHanaBackupPlanArrayOutputWithContext ¶
func (o HanaBackupPlanArrayOutput) ToHanaBackupPlanArrayOutputWithContext(ctx context.Context) HanaBackupPlanArrayOutput
type HanaBackupPlanInput ¶
type HanaBackupPlanInput interface { pulumi.Input ToHanaBackupPlanOutput() HanaBackupPlanOutput ToHanaBackupPlanOutputWithContext(ctx context.Context) HanaBackupPlanOutput }
type HanaBackupPlanMap ¶
type HanaBackupPlanMap map[string]HanaBackupPlanInput
func (HanaBackupPlanMap) ElementType ¶
func (HanaBackupPlanMap) ElementType() reflect.Type
func (HanaBackupPlanMap) ToHanaBackupPlanMapOutput ¶
func (i HanaBackupPlanMap) ToHanaBackupPlanMapOutput() HanaBackupPlanMapOutput
func (HanaBackupPlanMap) ToHanaBackupPlanMapOutputWithContext ¶
func (i HanaBackupPlanMap) ToHanaBackupPlanMapOutputWithContext(ctx context.Context) HanaBackupPlanMapOutput
type HanaBackupPlanMapInput ¶
type HanaBackupPlanMapInput interface { pulumi.Input ToHanaBackupPlanMapOutput() HanaBackupPlanMapOutput ToHanaBackupPlanMapOutputWithContext(context.Context) HanaBackupPlanMapOutput }
HanaBackupPlanMapInput is an input type that accepts HanaBackupPlanMap and HanaBackupPlanMapOutput values. You can construct a concrete instance of `HanaBackupPlanMapInput` via:
HanaBackupPlanMap{ "key": HanaBackupPlanArgs{...} }
type HanaBackupPlanMapOutput ¶
type HanaBackupPlanMapOutput struct{ *pulumi.OutputState }
func (HanaBackupPlanMapOutput) ElementType ¶
func (HanaBackupPlanMapOutput) ElementType() reflect.Type
func (HanaBackupPlanMapOutput) MapIndex ¶
func (o HanaBackupPlanMapOutput) MapIndex(k pulumi.StringInput) HanaBackupPlanOutput
func (HanaBackupPlanMapOutput) ToHanaBackupPlanMapOutput ¶
func (o HanaBackupPlanMapOutput) ToHanaBackupPlanMapOutput() HanaBackupPlanMapOutput
func (HanaBackupPlanMapOutput) ToHanaBackupPlanMapOutputWithContext ¶
func (o HanaBackupPlanMapOutput) ToHanaBackupPlanMapOutputWithContext(ctx context.Context) HanaBackupPlanMapOutput
type HanaBackupPlanOutput ¶
type HanaBackupPlanOutput struct{ *pulumi.OutputState }
func (HanaBackupPlanOutput) BackupPrefix ¶
func (o HanaBackupPlanOutput) BackupPrefix() pulumi.StringPtrOutput
The backup prefix.
func (HanaBackupPlanOutput) BackupType ¶
func (o HanaBackupPlanOutput) BackupType() pulumi.StringOutput
The backup type. Valid values: - `COMPLETE`: full backup. - `INCREMENTAL`: incremental backup. - `DIFFERENTIAL`: differential backup.
func (HanaBackupPlanOutput) ClusterId ¶
func (o HanaBackupPlanOutput) ClusterId() pulumi.StringOutput
The ID of the SAP HANA instance.
func (HanaBackupPlanOutput) DatabaseName ¶
func (o HanaBackupPlanOutput) DatabaseName() pulumi.StringOutput
The name of the database.
func (HanaBackupPlanOutput) ElementType ¶
func (HanaBackupPlanOutput) ElementType() reflect.Type
func (HanaBackupPlanOutput) PlanId ¶
func (o HanaBackupPlanOutput) PlanId() pulumi.StringOutput
The id of the plan.
func (HanaBackupPlanOutput) PlanName ¶
func (o HanaBackupPlanOutput) PlanName() pulumi.StringOutput
The name of the backup plan.
func (HanaBackupPlanOutput) ResourceGroupId ¶
func (o HanaBackupPlanOutput) ResourceGroupId() pulumi.StringPtrOutput
The resource attribute field that represents the resource group ID.
func (HanaBackupPlanOutput) Schedule ¶
func (o HanaBackupPlanOutput) Schedule() pulumi.StringOutput
The backup policy. Format: `I|{startTime}|{interval}`. The system runs the first backup job at a point in time that is specified in the {startTime} parameter and the subsequent backup jobs at an interval that is specified in the {interval} parameter. The system does not run a backup job before the specified point in time. Each backup job, except the first one, starts only after the previous backup job is completed. For example, I|1631685600|P1D specifies that the system runs the first backup job at 14:00:00 on September 15, 2021 and the subsequent backup jobs once a day.
func (HanaBackupPlanOutput) Status ¶
func (o HanaBackupPlanOutput) Status() pulumi.StringOutput
The status of the resource. Valid values: `Enabled`, `Disabled`.
func (HanaBackupPlanOutput) ToHanaBackupPlanOutput ¶
func (o HanaBackupPlanOutput) ToHanaBackupPlanOutput() HanaBackupPlanOutput
func (HanaBackupPlanOutput) ToHanaBackupPlanOutputWithContext ¶
func (o HanaBackupPlanOutput) ToHanaBackupPlanOutputWithContext(ctx context.Context) HanaBackupPlanOutput
func (HanaBackupPlanOutput) VaultId ¶
func (o HanaBackupPlanOutput) VaultId() pulumi.StringOutput
The ID of the backup vault.
type HanaBackupPlanState ¶
type HanaBackupPlanState struct { // The backup prefix. BackupPrefix pulumi.StringPtrInput // The backup type. Valid values: // - `COMPLETE`: full backup. // - `INCREMENTAL`: incremental backup. // - `DIFFERENTIAL`: differential backup. BackupType pulumi.StringPtrInput // The ID of the SAP HANA instance. ClusterId pulumi.StringPtrInput // The name of the database. DatabaseName pulumi.StringPtrInput // The id of the plan. PlanId pulumi.StringPtrInput // The name of the backup plan. PlanName pulumi.StringPtrInput // The resource attribute field that represents the resource group ID. ResourceGroupId pulumi.StringPtrInput // The backup policy. Format: `I|{startTime}|{interval}`. The system runs the first backup job at a point in time that is specified in the {startTime} parameter and the subsequent backup jobs at an interval that is specified in the {interval} parameter. The system does not run a backup job before the specified point in time. Each backup job, except the first one, starts only after the previous backup job is completed. For example, I|1631685600|P1D specifies that the system runs the first backup job at 14:00:00 on September 15, 2021 and the subsequent backup jobs once a day. Schedule pulumi.StringPtrInput // The status of the resource. Valid values: `Enabled`, `Disabled`. Status pulumi.StringPtrInput // The ID of the backup vault. VaultId pulumi.StringPtrInput }
func (HanaBackupPlanState) ElementType ¶
func (HanaBackupPlanState) ElementType() reflect.Type
type HanaInstance ¶
type HanaInstance struct { pulumi.CustomResourceState // The alert settings. Valid value: `INHERITED`, which indicates that the backup client sends alert notifications in the same way as the backup vault. AlertSetting pulumi.StringOutput `pulumi:"alertSetting"` // The IDs of ECS instances that host the SAP HANA instance to be registered. HBR installs backup clients on the specified ECS instances. EcsInstanceIds pulumi.StringArrayOutput `pulumi:"ecsInstanceIds"` // The id of the Hana Instance. HanaInstanceId pulumi.StringOutput `pulumi:"hanaInstanceId"` // The name of the SAP HANA instance. HanaName pulumi.StringPtrOutput `pulumi:"hanaName"` // The private or internal IP address of the host where the primary node of the SAP HANA instance resides. Host pulumi.StringPtrOutput `pulumi:"host"` // The instance number of the SAP HANA system. InstanceNumber pulumi.IntPtrOutput `pulumi:"instanceNumber"` // The password that is used to connect with the SAP HANA database. Password pulumi.StringPtrOutput `pulumi:"password"` // The ID of the resource group. ResourceGroupId pulumi.StringOutput `pulumi:"resourceGroupId"` // The security identifier (SID) of the SAP HANA database. Sid pulumi.StringPtrOutput `pulumi:"sid"` // The status of the resource. Status pulumi.StringOutput `pulumi:"status"` // Specifies whether to connect with the SAP HANA database over Secure Sockets Layer (SSL). UseSsl pulumi.BoolPtrOutput `pulumi:"useSsl"` // The username of the SYSTEMDB database. UserName pulumi.StringPtrOutput `pulumi:"userName"` // Specifies whether to verify the SSL certificate of the SAP HANA database. ValidateCertificate pulumi.BoolPtrOutput `pulumi:"validateCertificate"` // The ID of the backup vault. VaultId pulumi.StringOutput `pulumi:"vaultId"` }
Provides a Hybrid Backup Recovery (HBR) Hana Instance resource.
For information about Hybrid Backup Recovery (HBR) Hana Instance and how to use it, see [What is Hana Instance](https://www.alibabacloud.com/help/en/hybrid-backup-recovery/latest/api-doc-hbr-2017-09-08-api-doc-createhanainstance).
> **NOTE:** Available in v1.178.0+.
> **NOTE:** The `sid` attribute is required when destroying resources.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/resourcemanager" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/hbr" "github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/resourcemanager"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { exampleVault, err := hbr.NewVault(ctx, "exampleVault", &hbr.VaultArgs{ VaultName: pulumi.Any(_var.Name), }) if err != nil { return err } exampleResourceGroups, err := resourcemanager.GetResourceGroups(ctx, &resourcemanager.GetResourceGroupsArgs{ Status: pulumi.StringRef("OK"), }, nil) if err != nil { return err } _, err = hbr.NewHanaInstance(ctx, "exampleHanaInstance", &hbr.HanaInstanceArgs{ AlertSetting: pulumi.String("INHERITED"), HanaName: pulumi.Any(_var.Name), Host: pulumi.String("1.1.1.1"), InstanceNumber: pulumi.Int(1), Password: pulumi.String("YouPassword123"), ResourceGroupId: pulumi.String(exampleResourceGroups.Groups[0].Id), Sid: pulumi.String("HXE"), UseSsl: pulumi.Bool(false), UserName: pulumi.String("admin"), ValidateCertificate: pulumi.Bool(false), VaultId: exampleVault.ID(), }) if err != nil { return err } return nil }) }
```
## Import
Hybrid Backup Recovery (HBR) Hana Instance can be imported using the id, e.g.
```sh
$ pulumi import alicloud:hbr/hanaInstance:HanaInstance example <vault_id>:<hana_instance_id>
```
func GetHanaInstance ¶
func GetHanaInstance(ctx *pulumi.Context, name string, id pulumi.IDInput, state *HanaInstanceState, opts ...pulumi.ResourceOption) (*HanaInstance, error)
GetHanaInstance gets an existing HanaInstance 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 NewHanaInstance ¶
func NewHanaInstance(ctx *pulumi.Context, name string, args *HanaInstanceArgs, opts ...pulumi.ResourceOption) (*HanaInstance, error)
NewHanaInstance registers a new resource with the given unique name, arguments, and options.
func (*HanaInstance) ElementType ¶
func (*HanaInstance) ElementType() reflect.Type
func (*HanaInstance) ToHanaInstanceOutput ¶
func (i *HanaInstance) ToHanaInstanceOutput() HanaInstanceOutput
func (*HanaInstance) ToHanaInstanceOutputWithContext ¶
func (i *HanaInstance) ToHanaInstanceOutputWithContext(ctx context.Context) HanaInstanceOutput
type HanaInstanceArgs ¶
type HanaInstanceArgs struct { // The alert settings. Valid value: `INHERITED`, which indicates that the backup client sends alert notifications in the same way as the backup vault. AlertSetting pulumi.StringPtrInput // The IDs of ECS instances that host the SAP HANA instance to be registered. HBR installs backup clients on the specified ECS instances. EcsInstanceIds pulumi.StringArrayInput // The name of the SAP HANA instance. HanaName pulumi.StringPtrInput // The private or internal IP address of the host where the primary node of the SAP HANA instance resides. Host pulumi.StringPtrInput // The instance number of the SAP HANA system. InstanceNumber pulumi.IntPtrInput // The password that is used to connect with the SAP HANA database. Password pulumi.StringPtrInput // The ID of the resource group. ResourceGroupId pulumi.StringPtrInput // The security identifier (SID) of the SAP HANA database. Sid pulumi.StringPtrInput // Specifies whether to connect with the SAP HANA database over Secure Sockets Layer (SSL). UseSsl pulumi.BoolPtrInput // The username of the SYSTEMDB database. UserName pulumi.StringPtrInput // Specifies whether to verify the SSL certificate of the SAP HANA database. ValidateCertificate pulumi.BoolPtrInput // The ID of the backup vault. VaultId pulumi.StringInput }
The set of arguments for constructing a HanaInstance resource.
func (HanaInstanceArgs) ElementType ¶
func (HanaInstanceArgs) ElementType() reflect.Type
type HanaInstanceArray ¶
type HanaInstanceArray []HanaInstanceInput
func (HanaInstanceArray) ElementType ¶
func (HanaInstanceArray) ElementType() reflect.Type
func (HanaInstanceArray) ToHanaInstanceArrayOutput ¶
func (i HanaInstanceArray) ToHanaInstanceArrayOutput() HanaInstanceArrayOutput
func (HanaInstanceArray) ToHanaInstanceArrayOutputWithContext ¶
func (i HanaInstanceArray) ToHanaInstanceArrayOutputWithContext(ctx context.Context) HanaInstanceArrayOutput
type HanaInstanceArrayInput ¶
type HanaInstanceArrayInput interface { pulumi.Input ToHanaInstanceArrayOutput() HanaInstanceArrayOutput ToHanaInstanceArrayOutputWithContext(context.Context) HanaInstanceArrayOutput }
HanaInstanceArrayInput is an input type that accepts HanaInstanceArray and HanaInstanceArrayOutput values. You can construct a concrete instance of `HanaInstanceArrayInput` via:
HanaInstanceArray{ HanaInstanceArgs{...} }
type HanaInstanceArrayOutput ¶
type HanaInstanceArrayOutput struct{ *pulumi.OutputState }
func (HanaInstanceArrayOutput) ElementType ¶
func (HanaInstanceArrayOutput) ElementType() reflect.Type
func (HanaInstanceArrayOutput) Index ¶
func (o HanaInstanceArrayOutput) Index(i pulumi.IntInput) HanaInstanceOutput
func (HanaInstanceArrayOutput) ToHanaInstanceArrayOutput ¶
func (o HanaInstanceArrayOutput) ToHanaInstanceArrayOutput() HanaInstanceArrayOutput
func (HanaInstanceArrayOutput) ToHanaInstanceArrayOutputWithContext ¶
func (o HanaInstanceArrayOutput) ToHanaInstanceArrayOutputWithContext(ctx context.Context) HanaInstanceArrayOutput
type HanaInstanceInput ¶
type HanaInstanceInput interface { pulumi.Input ToHanaInstanceOutput() HanaInstanceOutput ToHanaInstanceOutputWithContext(ctx context.Context) HanaInstanceOutput }
type HanaInstanceMap ¶
type HanaInstanceMap map[string]HanaInstanceInput
func (HanaInstanceMap) ElementType ¶
func (HanaInstanceMap) ElementType() reflect.Type
func (HanaInstanceMap) ToHanaInstanceMapOutput ¶
func (i HanaInstanceMap) ToHanaInstanceMapOutput() HanaInstanceMapOutput
func (HanaInstanceMap) ToHanaInstanceMapOutputWithContext ¶
func (i HanaInstanceMap) ToHanaInstanceMapOutputWithContext(ctx context.Context) HanaInstanceMapOutput
type HanaInstanceMapInput ¶
type HanaInstanceMapInput interface { pulumi.Input ToHanaInstanceMapOutput() HanaInstanceMapOutput ToHanaInstanceMapOutputWithContext(context.Context) HanaInstanceMapOutput }
HanaInstanceMapInput is an input type that accepts HanaInstanceMap and HanaInstanceMapOutput values. You can construct a concrete instance of `HanaInstanceMapInput` via:
HanaInstanceMap{ "key": HanaInstanceArgs{...} }
type HanaInstanceMapOutput ¶
type HanaInstanceMapOutput struct{ *pulumi.OutputState }
func (HanaInstanceMapOutput) ElementType ¶
func (HanaInstanceMapOutput) ElementType() reflect.Type
func (HanaInstanceMapOutput) MapIndex ¶
func (o HanaInstanceMapOutput) MapIndex(k pulumi.StringInput) HanaInstanceOutput
func (HanaInstanceMapOutput) ToHanaInstanceMapOutput ¶
func (o HanaInstanceMapOutput) ToHanaInstanceMapOutput() HanaInstanceMapOutput
func (HanaInstanceMapOutput) ToHanaInstanceMapOutputWithContext ¶
func (o HanaInstanceMapOutput) ToHanaInstanceMapOutputWithContext(ctx context.Context) HanaInstanceMapOutput
type HanaInstanceOutput ¶
type HanaInstanceOutput struct{ *pulumi.OutputState }
func (HanaInstanceOutput) AlertSetting ¶
func (o HanaInstanceOutput) AlertSetting() pulumi.StringOutput
The alert settings. Valid value: `INHERITED`, which indicates that the backup client sends alert notifications in the same way as the backup vault.
func (HanaInstanceOutput) EcsInstanceIds ¶
func (o HanaInstanceOutput) EcsInstanceIds() pulumi.StringArrayOutput
The IDs of ECS instances that host the SAP HANA instance to be registered. HBR installs backup clients on the specified ECS instances.
func (HanaInstanceOutput) ElementType ¶
func (HanaInstanceOutput) ElementType() reflect.Type
func (HanaInstanceOutput) HanaInstanceId ¶
func (o HanaInstanceOutput) HanaInstanceId() pulumi.StringOutput
The id of the Hana Instance.
func (HanaInstanceOutput) HanaName ¶
func (o HanaInstanceOutput) HanaName() pulumi.StringPtrOutput
The name of the SAP HANA instance.
func (HanaInstanceOutput) Host ¶
func (o HanaInstanceOutput) Host() pulumi.StringPtrOutput
The private or internal IP address of the host where the primary node of the SAP HANA instance resides.
func (HanaInstanceOutput) InstanceNumber ¶
func (o HanaInstanceOutput) InstanceNumber() pulumi.IntPtrOutput
The instance number of the SAP HANA system.
func (HanaInstanceOutput) Password ¶
func (o HanaInstanceOutput) Password() pulumi.StringPtrOutput
The password that is used to connect with the SAP HANA database.
func (HanaInstanceOutput) ResourceGroupId ¶
func (o HanaInstanceOutput) ResourceGroupId() pulumi.StringOutput
The ID of the resource group.
func (HanaInstanceOutput) Sid ¶
func (o HanaInstanceOutput) Sid() pulumi.StringPtrOutput
The security identifier (SID) of the SAP HANA database.
func (HanaInstanceOutput) Status ¶
func (o HanaInstanceOutput) Status() pulumi.StringOutput
The status of the resource.
func (HanaInstanceOutput) ToHanaInstanceOutput ¶
func (o HanaInstanceOutput) ToHanaInstanceOutput() HanaInstanceOutput
func (HanaInstanceOutput) ToHanaInstanceOutputWithContext ¶
func (o HanaInstanceOutput) ToHanaInstanceOutputWithContext(ctx context.Context) HanaInstanceOutput
func (HanaInstanceOutput) UseSsl ¶
func (o HanaInstanceOutput) UseSsl() pulumi.BoolPtrOutput
Specifies whether to connect with the SAP HANA database over Secure Sockets Layer (SSL).
func (HanaInstanceOutput) UserName ¶
func (o HanaInstanceOutput) UserName() pulumi.StringPtrOutput
The username of the SYSTEMDB database.
func (HanaInstanceOutput) ValidateCertificate ¶
func (o HanaInstanceOutput) ValidateCertificate() pulumi.BoolPtrOutput
Specifies whether to verify the SSL certificate of the SAP HANA database.
func (HanaInstanceOutput) VaultId ¶
func (o HanaInstanceOutput) VaultId() pulumi.StringOutput
The ID of the backup vault.
type HanaInstanceState ¶
type HanaInstanceState struct { // The alert settings. Valid value: `INHERITED`, which indicates that the backup client sends alert notifications in the same way as the backup vault. AlertSetting pulumi.StringPtrInput // The IDs of ECS instances that host the SAP HANA instance to be registered. HBR installs backup clients on the specified ECS instances. EcsInstanceIds pulumi.StringArrayInput // The id of the Hana Instance. HanaInstanceId pulumi.StringPtrInput // The name of the SAP HANA instance. HanaName pulumi.StringPtrInput // The private or internal IP address of the host where the primary node of the SAP HANA instance resides. Host pulumi.StringPtrInput // The instance number of the SAP HANA system. InstanceNumber pulumi.IntPtrInput // The password that is used to connect with the SAP HANA database. Password pulumi.StringPtrInput // The ID of the resource group. ResourceGroupId pulumi.StringPtrInput // The security identifier (SID) of the SAP HANA database. Sid pulumi.StringPtrInput // The status of the resource. Status pulumi.StringPtrInput // Specifies whether to connect with the SAP HANA database over Secure Sockets Layer (SSL). UseSsl pulumi.BoolPtrInput // The username of the SYSTEMDB database. UserName pulumi.StringPtrInput // Specifies whether to verify the SSL certificate of the SAP HANA database. ValidateCertificate pulumi.BoolPtrInput // The ID of the backup vault. VaultId pulumi.StringPtrInput }
func (HanaInstanceState) ElementType ¶
func (HanaInstanceState) ElementType() reflect.Type
type NasBackupPlan ¶
type NasBackupPlan struct { pulumi.CustomResourceState // Backup type. Valid values: `COMPLETE`. BackupType pulumi.StringOutput `pulumi:"backupType"` // This field has been deprecated from provider version 1.153.0+. The creation time of NAS file system. **Note** The time format of the API adopts the ISO 8601, such as `2021-07-09T15:45:30CST` or `2021-07-09T07:45:30Z`. // // Deprecated: Field 'create_time' has been deprecated from provider version 1.153.0. CreateTime pulumi.StringOutput `pulumi:"createTime"` // The role name created in the original account RAM backup by the cross account managed by the current account. CrossAccountRoleName pulumi.StringPtrOutput `pulumi:"crossAccountRoleName"` // The type of the cross account backup. Valid values: `SELF_ACCOUNT`, `CROSS_ACCOUNT`. CrossAccountType pulumi.StringOutput `pulumi:"crossAccountType"` // The original account ID of the cross account backup managed by the current account. CrossAccountUserId pulumi.IntPtrOutput `pulumi:"crossAccountUserId"` // Whether to disable the backup task. Valid values: `true`, `false`. Disabled pulumi.BoolOutput `pulumi:"disabled"` // The File System ID of Nas. FileSystemId pulumi.StringOutput `pulumi:"fileSystemId"` // The name of the backup plan. 1~64 characters, the backup plan name of each data source type in a single warehouse required to be unique. NasBackupPlanName pulumi.StringOutput `pulumi:"nasBackupPlanName"` // This parameter specifies whether to use Windows VSS to define a backup path. Options pulumi.StringPtrOutput `pulumi:"options"` // List of backup path. Up to 65536 characters. e.g.`["/home", "/var"]`. **Note** You should at least specify a backup path, empty array not allowed here. Paths pulumi.StringArrayOutput `pulumi:"paths"` // Backup retention days, the minimum is 1. Retention pulumi.StringOutput `pulumi:"retention"` // Backup strategy. Optional format: `I|{startTime}|{interval}`. It means to execute a backup task every `{interval}` starting from `{startTime}`. The backup task for the elapsed time will not be compensated. If the last backup task has not completed yet, the next backup task will not be triggered. Schedule pulumi.StringOutput `pulumi:"schedule"` // The ID of Backup vault. VaultId pulumi.StringOutput `pulumi:"vaultId"` }
Provides a HBR Nas Backup Plan resource.
For information about HBR Nas Backup Plan and how to use it, see [What is Nas Backup Plan](https://www.alibabacloud.com/help/doc-detail/132248.htm).
> **NOTE:** Available in v1.132.0+.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/nas" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/pulumi/pulumi/sdk/v3/go/pulumi/config" "github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/hbr" "github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/nas"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { cfg := config.New(ctx, "") name := "tf-testAccHBRNas" if param := cfg.Get("name"); param != "" { name = param } defaultVault, err := hbr.NewVault(ctx, "defaultVault", &hbr.VaultArgs{ VaultName: pulumi.String(name), }) if err != nil { return err } defaultFileSystem, err := nas.NewFileSystem(ctx, "defaultFileSystem", &nas.FileSystemArgs{ ProtocolType: pulumi.String("NFS"), StorageType: pulumi.String("Performance"), Description: pulumi.String(name), EncryptType: pulumi.Int(1), }) if err != nil { return err } _, err = hbr.NewNasBackupPlan(ctx, "defaultNasBackupPlan", &hbr.NasBackupPlanArgs{ NasBackupPlanName: pulumi.String(name), FileSystemId: defaultFileSystem.ID(), Schedule: pulumi.String("I|1602673264|PT2H"), BackupType: pulumi.String("COMPLETE"), VaultId: defaultVault.ID(), CreateTime: defaultFileSystems.ApplyT(func(defaultFileSystems nas.GetFileSystemsResult) (string, error) { return defaultFileSystems.Systems[0].CreateTime, nil }).(pulumi.StringOutput), Retention: pulumi.String("2"), Paths: pulumi.StringArray{ pulumi.String("/"), }, }, pulumi.DependsOn([]pulumi.Resource{ pulumi.Resource("alicloud_nas_file_system.default"), })) if err != nil { return err } return nil }) }
```
## Import
HBR Nas Backup Plan can be imported using the id, e.g.
```sh
$ pulumi import alicloud:hbr/nasBackupPlan:NasBackupPlan example <id>
```
func GetNasBackupPlan ¶
func GetNasBackupPlan(ctx *pulumi.Context, name string, id pulumi.IDInput, state *NasBackupPlanState, opts ...pulumi.ResourceOption) (*NasBackupPlan, error)
GetNasBackupPlan gets an existing NasBackupPlan 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 NewNasBackupPlan ¶
func NewNasBackupPlan(ctx *pulumi.Context, name string, args *NasBackupPlanArgs, opts ...pulumi.ResourceOption) (*NasBackupPlan, error)
NewNasBackupPlan registers a new resource with the given unique name, arguments, and options.
func (*NasBackupPlan) ElementType ¶
func (*NasBackupPlan) ElementType() reflect.Type
func (*NasBackupPlan) ToNasBackupPlanOutput ¶
func (i *NasBackupPlan) ToNasBackupPlanOutput() NasBackupPlanOutput
func (*NasBackupPlan) ToNasBackupPlanOutputWithContext ¶
func (i *NasBackupPlan) ToNasBackupPlanOutputWithContext(ctx context.Context) NasBackupPlanOutput
type NasBackupPlanArgs ¶
type NasBackupPlanArgs struct { // Backup type. Valid values: `COMPLETE`. BackupType pulumi.StringInput // This field has been deprecated from provider version 1.153.0+. The creation time of NAS file system. **Note** The time format of the API adopts the ISO 8601, such as `2021-07-09T15:45:30CST` or `2021-07-09T07:45:30Z`. // // Deprecated: Field 'create_time' has been deprecated from provider version 1.153.0. CreateTime pulumi.StringPtrInput // The role name created in the original account RAM backup by the cross account managed by the current account. CrossAccountRoleName pulumi.StringPtrInput // The type of the cross account backup. Valid values: `SELF_ACCOUNT`, `CROSS_ACCOUNT`. CrossAccountType pulumi.StringPtrInput // The original account ID of the cross account backup managed by the current account. CrossAccountUserId pulumi.IntPtrInput // Whether to disable the backup task. Valid values: `true`, `false`. Disabled pulumi.BoolPtrInput // The File System ID of Nas. FileSystemId pulumi.StringInput // The name of the backup plan. 1~64 characters, the backup plan name of each data source type in a single warehouse required to be unique. NasBackupPlanName pulumi.StringInput // This parameter specifies whether to use Windows VSS to define a backup path. Options pulumi.StringPtrInput // List of backup path. Up to 65536 characters. e.g.`["/home", "/var"]`. **Note** You should at least specify a backup path, empty array not allowed here. Paths pulumi.StringArrayInput // Backup retention days, the minimum is 1. Retention pulumi.StringInput // Backup strategy. Optional format: `I|{startTime}|{interval}`. It means to execute a backup task every `{interval}` starting from `{startTime}`. The backup task for the elapsed time will not be compensated. If the last backup task has not completed yet, the next backup task will not be triggered. Schedule pulumi.StringInput // The ID of Backup vault. VaultId pulumi.StringInput }
The set of arguments for constructing a NasBackupPlan resource.
func (NasBackupPlanArgs) ElementType ¶
func (NasBackupPlanArgs) ElementType() reflect.Type
type NasBackupPlanArray ¶
type NasBackupPlanArray []NasBackupPlanInput
func (NasBackupPlanArray) ElementType ¶
func (NasBackupPlanArray) ElementType() reflect.Type
func (NasBackupPlanArray) ToNasBackupPlanArrayOutput ¶
func (i NasBackupPlanArray) ToNasBackupPlanArrayOutput() NasBackupPlanArrayOutput
func (NasBackupPlanArray) ToNasBackupPlanArrayOutputWithContext ¶
func (i NasBackupPlanArray) ToNasBackupPlanArrayOutputWithContext(ctx context.Context) NasBackupPlanArrayOutput
type NasBackupPlanArrayInput ¶
type NasBackupPlanArrayInput interface { pulumi.Input ToNasBackupPlanArrayOutput() NasBackupPlanArrayOutput ToNasBackupPlanArrayOutputWithContext(context.Context) NasBackupPlanArrayOutput }
NasBackupPlanArrayInput is an input type that accepts NasBackupPlanArray and NasBackupPlanArrayOutput values. You can construct a concrete instance of `NasBackupPlanArrayInput` via:
NasBackupPlanArray{ NasBackupPlanArgs{...} }
type NasBackupPlanArrayOutput ¶
type NasBackupPlanArrayOutput struct{ *pulumi.OutputState }
func (NasBackupPlanArrayOutput) ElementType ¶
func (NasBackupPlanArrayOutput) ElementType() reflect.Type
func (NasBackupPlanArrayOutput) Index ¶
func (o NasBackupPlanArrayOutput) Index(i pulumi.IntInput) NasBackupPlanOutput
func (NasBackupPlanArrayOutput) ToNasBackupPlanArrayOutput ¶
func (o NasBackupPlanArrayOutput) ToNasBackupPlanArrayOutput() NasBackupPlanArrayOutput
func (NasBackupPlanArrayOutput) ToNasBackupPlanArrayOutputWithContext ¶
func (o NasBackupPlanArrayOutput) ToNasBackupPlanArrayOutputWithContext(ctx context.Context) NasBackupPlanArrayOutput
type NasBackupPlanInput ¶
type NasBackupPlanInput interface { pulumi.Input ToNasBackupPlanOutput() NasBackupPlanOutput ToNasBackupPlanOutputWithContext(ctx context.Context) NasBackupPlanOutput }
type NasBackupPlanMap ¶
type NasBackupPlanMap map[string]NasBackupPlanInput
func (NasBackupPlanMap) ElementType ¶
func (NasBackupPlanMap) ElementType() reflect.Type
func (NasBackupPlanMap) ToNasBackupPlanMapOutput ¶
func (i NasBackupPlanMap) ToNasBackupPlanMapOutput() NasBackupPlanMapOutput
func (NasBackupPlanMap) ToNasBackupPlanMapOutputWithContext ¶
func (i NasBackupPlanMap) ToNasBackupPlanMapOutputWithContext(ctx context.Context) NasBackupPlanMapOutput
type NasBackupPlanMapInput ¶
type NasBackupPlanMapInput interface { pulumi.Input ToNasBackupPlanMapOutput() NasBackupPlanMapOutput ToNasBackupPlanMapOutputWithContext(context.Context) NasBackupPlanMapOutput }
NasBackupPlanMapInput is an input type that accepts NasBackupPlanMap and NasBackupPlanMapOutput values. You can construct a concrete instance of `NasBackupPlanMapInput` via:
NasBackupPlanMap{ "key": NasBackupPlanArgs{...} }
type NasBackupPlanMapOutput ¶
type NasBackupPlanMapOutput struct{ *pulumi.OutputState }
func (NasBackupPlanMapOutput) ElementType ¶
func (NasBackupPlanMapOutput) ElementType() reflect.Type
func (NasBackupPlanMapOutput) MapIndex ¶
func (o NasBackupPlanMapOutput) MapIndex(k pulumi.StringInput) NasBackupPlanOutput
func (NasBackupPlanMapOutput) ToNasBackupPlanMapOutput ¶
func (o NasBackupPlanMapOutput) ToNasBackupPlanMapOutput() NasBackupPlanMapOutput
func (NasBackupPlanMapOutput) ToNasBackupPlanMapOutputWithContext ¶
func (o NasBackupPlanMapOutput) ToNasBackupPlanMapOutputWithContext(ctx context.Context) NasBackupPlanMapOutput
type NasBackupPlanOutput ¶
type NasBackupPlanOutput struct{ *pulumi.OutputState }
func (NasBackupPlanOutput) BackupType ¶
func (o NasBackupPlanOutput) BackupType() pulumi.StringOutput
Backup type. Valid values: `COMPLETE`.
func (NasBackupPlanOutput) CreateTime
deprecated
func (o NasBackupPlanOutput) CreateTime() pulumi.StringOutput
This field has been deprecated from provider version 1.153.0+. The creation time of NAS file system. **Note** The time format of the API adopts the ISO 8601, such as `2021-07-09T15:45:30CST` or `2021-07-09T07:45:30Z`.
Deprecated: Field 'create_time' has been deprecated from provider version 1.153.0.
func (NasBackupPlanOutput) CrossAccountRoleName ¶
func (o NasBackupPlanOutput) CrossAccountRoleName() pulumi.StringPtrOutput
The role name created in the original account RAM backup by the cross account managed by the current account.
func (NasBackupPlanOutput) CrossAccountType ¶
func (o NasBackupPlanOutput) CrossAccountType() pulumi.StringOutput
The type of the cross account backup. Valid values: `SELF_ACCOUNT`, `CROSS_ACCOUNT`.
func (NasBackupPlanOutput) CrossAccountUserId ¶
func (o NasBackupPlanOutput) CrossAccountUserId() pulumi.IntPtrOutput
The original account ID of the cross account backup managed by the current account.
func (NasBackupPlanOutput) Disabled ¶
func (o NasBackupPlanOutput) Disabled() pulumi.BoolOutput
Whether to disable the backup task. Valid values: `true`, `false`.
func (NasBackupPlanOutput) ElementType ¶
func (NasBackupPlanOutput) ElementType() reflect.Type
func (NasBackupPlanOutput) FileSystemId ¶
func (o NasBackupPlanOutput) FileSystemId() pulumi.StringOutput
The File System ID of Nas.
func (NasBackupPlanOutput) NasBackupPlanName ¶
func (o NasBackupPlanOutput) NasBackupPlanName() pulumi.StringOutput
The name of the backup plan. 1~64 characters, the backup plan name of each data source type in a single warehouse required to be unique.
func (NasBackupPlanOutput) Options ¶
func (o NasBackupPlanOutput) Options() pulumi.StringPtrOutput
This parameter specifies whether to use Windows VSS to define a backup path.
func (NasBackupPlanOutput) Paths ¶
func (o NasBackupPlanOutput) Paths() pulumi.StringArrayOutput
List of backup path. Up to 65536 characters. e.g.`["/home", "/var"]`. **Note** You should at least specify a backup path, empty array not allowed here.
func (NasBackupPlanOutput) Retention ¶
func (o NasBackupPlanOutput) Retention() pulumi.StringOutput
Backup retention days, the minimum is 1.
func (NasBackupPlanOutput) Schedule ¶
func (o NasBackupPlanOutput) Schedule() pulumi.StringOutput
Backup strategy. Optional format: `I|{startTime}|{interval}`. It means to execute a backup task every `{interval}` starting from `{startTime}`. The backup task for the elapsed time will not be compensated. If the last backup task has not completed yet, the next backup task will not be triggered.
func (NasBackupPlanOutput) ToNasBackupPlanOutput ¶
func (o NasBackupPlanOutput) ToNasBackupPlanOutput() NasBackupPlanOutput
func (NasBackupPlanOutput) ToNasBackupPlanOutputWithContext ¶
func (o NasBackupPlanOutput) ToNasBackupPlanOutputWithContext(ctx context.Context) NasBackupPlanOutput
func (NasBackupPlanOutput) VaultId ¶
func (o NasBackupPlanOutput) VaultId() pulumi.StringOutput
The ID of Backup vault.
type NasBackupPlanState ¶
type NasBackupPlanState struct { // Backup type. Valid values: `COMPLETE`. BackupType pulumi.StringPtrInput // This field has been deprecated from provider version 1.153.0+. The creation time of NAS file system. **Note** The time format of the API adopts the ISO 8601, such as `2021-07-09T15:45:30CST` or `2021-07-09T07:45:30Z`. // // Deprecated: Field 'create_time' has been deprecated from provider version 1.153.0. CreateTime pulumi.StringPtrInput // The role name created in the original account RAM backup by the cross account managed by the current account. CrossAccountRoleName pulumi.StringPtrInput // The type of the cross account backup. Valid values: `SELF_ACCOUNT`, `CROSS_ACCOUNT`. CrossAccountType pulumi.StringPtrInput // The original account ID of the cross account backup managed by the current account. CrossAccountUserId pulumi.IntPtrInput // Whether to disable the backup task. Valid values: `true`, `false`. Disabled pulumi.BoolPtrInput // The File System ID of Nas. FileSystemId pulumi.StringPtrInput // The name of the backup plan. 1~64 characters, the backup plan name of each data source type in a single warehouse required to be unique. NasBackupPlanName pulumi.StringPtrInput // This parameter specifies whether to use Windows VSS to define a backup path. Options pulumi.StringPtrInput // List of backup path. Up to 65536 characters. e.g.`["/home", "/var"]`. **Note** You should at least specify a backup path, empty array not allowed here. Paths pulumi.StringArrayInput // Backup retention days, the minimum is 1. Retention pulumi.StringPtrInput // Backup strategy. Optional format: `I|{startTime}|{interval}`. It means to execute a backup task every `{interval}` starting from `{startTime}`. The backup task for the elapsed time will not be compensated. If the last backup task has not completed yet, the next backup task will not be triggered. Schedule pulumi.StringPtrInput // The ID of Backup vault. VaultId pulumi.StringPtrInput }
func (NasBackupPlanState) ElementType ¶
func (NasBackupPlanState) ElementType() reflect.Type
type OssBackupPlan ¶
type OssBackupPlan struct { pulumi.CustomResourceState // Backup type. Valid values: `COMPLETE`. BackupType pulumi.StringOutput `pulumi:"backupType"` // The name of OSS bucket. Bucket pulumi.StringOutput `pulumi:"bucket"` // The role name created in the original account RAM backup by the cross account managed by the current account. CrossAccountRoleName pulumi.StringPtrOutput `pulumi:"crossAccountRoleName"` // The type of the cross account backup. Valid values: `SELF_ACCOUNT`, `CROSS_ACCOUNT`. CrossAccountType pulumi.StringOutput `pulumi:"crossAccountType"` // The original account ID of the cross account backup managed by the current account. CrossAccountUserId pulumi.IntPtrOutput `pulumi:"crossAccountUserId"` // Whether to disable the backup task. Valid values: `true`, `false`. Disabled pulumi.BoolOutput `pulumi:"disabled"` // The name of the backup plan. 1~64 characters, the backup plan name of each data source type in a single warehouse required to be unique. OssBackupPlanName pulumi.StringOutput `pulumi:"ossBackupPlanName"` // Backup prefix. Once specified, only objects with matching prefixes will be backed up. Prefix pulumi.StringPtrOutput `pulumi:"prefix"` // Backup retention days, the minimum is 1. Retention pulumi.StringOutput `pulumi:"retention"` // Backup strategy. Optional format: `I|{startTime}|{interval}`. It means to execute a backup task every `{interval}` starting from `{startTime}`. The backup task for the elapsed time will not be compensated. If the last backup task has not completed yet, the next backup task will not be triggered. Schedule pulumi.StringOutput `pulumi:"schedule"` // The ID of backup vault. VaultId pulumi.StringOutput `pulumi:"vaultId"` }
Provides a HBR Oss Backup Plan resource.
For information about HBR Oss Backup Plan and how to use it, see [What is Oss Backup Plan](https://www.alibabacloud.com/help/doc-detail/130040.htm).
> **NOTE:** Available in v1.131.0+.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/pulumi/pulumi/sdk/v3/go/pulumi/config" "github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/hbr" "github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/oss"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { cfg := config.New(ctx, "") name := "tf-test112358" if param := cfg.Get("name"); param != "" { name = param } defaultVault, err := hbr.NewVault(ctx, "defaultVault", &hbr.VaultArgs{ VaultName: pulumi.String(name), }) if err != nil { return err } defaultBucket, err := oss.NewBucket(ctx, "defaultBucket", &oss.BucketArgs{ Bucket: pulumi.String(name), }) if err != nil { return err } _, err = hbr.NewOssBackupPlan(ctx, "defaultOssBackupPlan", &hbr.OssBackupPlanArgs{ OssBackupPlanName: pulumi.String(name), Prefix: pulumi.String("/"), Bucket: defaultBucket.Bucket, VaultId: defaultVault.ID(), Schedule: pulumi.String("I|1602673264|PT2H"), BackupType: pulumi.String("COMPLETE"), Retention: pulumi.String("2"), }) if err != nil { return err } return nil }) }
```
## Import
HBR Oss Backup Plan can be imported using the id, e.g.
```sh
$ pulumi import alicloud:hbr/ossBackupPlan:OssBackupPlan example <id>
```
func GetOssBackupPlan ¶
func GetOssBackupPlan(ctx *pulumi.Context, name string, id pulumi.IDInput, state *OssBackupPlanState, opts ...pulumi.ResourceOption) (*OssBackupPlan, error)
GetOssBackupPlan gets an existing OssBackupPlan 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 NewOssBackupPlan ¶
func NewOssBackupPlan(ctx *pulumi.Context, name string, args *OssBackupPlanArgs, opts ...pulumi.ResourceOption) (*OssBackupPlan, error)
NewOssBackupPlan registers a new resource with the given unique name, arguments, and options.
func (*OssBackupPlan) ElementType ¶
func (*OssBackupPlan) ElementType() reflect.Type
func (*OssBackupPlan) ToOssBackupPlanOutput ¶
func (i *OssBackupPlan) ToOssBackupPlanOutput() OssBackupPlanOutput
func (*OssBackupPlan) ToOssBackupPlanOutputWithContext ¶
func (i *OssBackupPlan) ToOssBackupPlanOutputWithContext(ctx context.Context) OssBackupPlanOutput
type OssBackupPlanArgs ¶
type OssBackupPlanArgs struct { // Backup type. Valid values: `COMPLETE`. BackupType pulumi.StringInput // The name of OSS bucket. Bucket pulumi.StringInput // The role name created in the original account RAM backup by the cross account managed by the current account. CrossAccountRoleName pulumi.StringPtrInput // The type of the cross account backup. Valid values: `SELF_ACCOUNT`, `CROSS_ACCOUNT`. CrossAccountType pulumi.StringPtrInput // The original account ID of the cross account backup managed by the current account. CrossAccountUserId pulumi.IntPtrInput // Whether to disable the backup task. Valid values: `true`, `false`. Disabled pulumi.BoolPtrInput // The name of the backup plan. 1~64 characters, the backup plan name of each data source type in a single warehouse required to be unique. OssBackupPlanName pulumi.StringInput // Backup prefix. Once specified, only objects with matching prefixes will be backed up. Prefix pulumi.StringPtrInput // Backup retention days, the minimum is 1. Retention pulumi.StringInput // Backup strategy. Optional format: `I|{startTime}|{interval}`. It means to execute a backup task every `{interval}` starting from `{startTime}`. The backup task for the elapsed time will not be compensated. If the last backup task has not completed yet, the next backup task will not be triggered. Schedule pulumi.StringInput // The ID of backup vault. VaultId pulumi.StringInput }
The set of arguments for constructing a OssBackupPlan resource.
func (OssBackupPlanArgs) ElementType ¶
func (OssBackupPlanArgs) ElementType() reflect.Type
type OssBackupPlanArray ¶
type OssBackupPlanArray []OssBackupPlanInput
func (OssBackupPlanArray) ElementType ¶
func (OssBackupPlanArray) ElementType() reflect.Type
func (OssBackupPlanArray) ToOssBackupPlanArrayOutput ¶
func (i OssBackupPlanArray) ToOssBackupPlanArrayOutput() OssBackupPlanArrayOutput
func (OssBackupPlanArray) ToOssBackupPlanArrayOutputWithContext ¶
func (i OssBackupPlanArray) ToOssBackupPlanArrayOutputWithContext(ctx context.Context) OssBackupPlanArrayOutput
type OssBackupPlanArrayInput ¶
type OssBackupPlanArrayInput interface { pulumi.Input ToOssBackupPlanArrayOutput() OssBackupPlanArrayOutput ToOssBackupPlanArrayOutputWithContext(context.Context) OssBackupPlanArrayOutput }
OssBackupPlanArrayInput is an input type that accepts OssBackupPlanArray and OssBackupPlanArrayOutput values. You can construct a concrete instance of `OssBackupPlanArrayInput` via:
OssBackupPlanArray{ OssBackupPlanArgs{...} }
type OssBackupPlanArrayOutput ¶
type OssBackupPlanArrayOutput struct{ *pulumi.OutputState }
func (OssBackupPlanArrayOutput) ElementType ¶
func (OssBackupPlanArrayOutput) ElementType() reflect.Type
func (OssBackupPlanArrayOutput) Index ¶
func (o OssBackupPlanArrayOutput) Index(i pulumi.IntInput) OssBackupPlanOutput
func (OssBackupPlanArrayOutput) ToOssBackupPlanArrayOutput ¶
func (o OssBackupPlanArrayOutput) ToOssBackupPlanArrayOutput() OssBackupPlanArrayOutput
func (OssBackupPlanArrayOutput) ToOssBackupPlanArrayOutputWithContext ¶
func (o OssBackupPlanArrayOutput) ToOssBackupPlanArrayOutputWithContext(ctx context.Context) OssBackupPlanArrayOutput
type OssBackupPlanInput ¶
type OssBackupPlanInput interface { pulumi.Input ToOssBackupPlanOutput() OssBackupPlanOutput ToOssBackupPlanOutputWithContext(ctx context.Context) OssBackupPlanOutput }
type OssBackupPlanMap ¶
type OssBackupPlanMap map[string]OssBackupPlanInput
func (OssBackupPlanMap) ElementType ¶
func (OssBackupPlanMap) ElementType() reflect.Type
func (OssBackupPlanMap) ToOssBackupPlanMapOutput ¶
func (i OssBackupPlanMap) ToOssBackupPlanMapOutput() OssBackupPlanMapOutput
func (OssBackupPlanMap) ToOssBackupPlanMapOutputWithContext ¶
func (i OssBackupPlanMap) ToOssBackupPlanMapOutputWithContext(ctx context.Context) OssBackupPlanMapOutput
type OssBackupPlanMapInput ¶
type OssBackupPlanMapInput interface { pulumi.Input ToOssBackupPlanMapOutput() OssBackupPlanMapOutput ToOssBackupPlanMapOutputWithContext(context.Context) OssBackupPlanMapOutput }
OssBackupPlanMapInput is an input type that accepts OssBackupPlanMap and OssBackupPlanMapOutput values. You can construct a concrete instance of `OssBackupPlanMapInput` via:
OssBackupPlanMap{ "key": OssBackupPlanArgs{...} }
type OssBackupPlanMapOutput ¶
type OssBackupPlanMapOutput struct{ *pulumi.OutputState }
func (OssBackupPlanMapOutput) ElementType ¶
func (OssBackupPlanMapOutput) ElementType() reflect.Type
func (OssBackupPlanMapOutput) MapIndex ¶
func (o OssBackupPlanMapOutput) MapIndex(k pulumi.StringInput) OssBackupPlanOutput
func (OssBackupPlanMapOutput) ToOssBackupPlanMapOutput ¶
func (o OssBackupPlanMapOutput) ToOssBackupPlanMapOutput() OssBackupPlanMapOutput
func (OssBackupPlanMapOutput) ToOssBackupPlanMapOutputWithContext ¶
func (o OssBackupPlanMapOutput) ToOssBackupPlanMapOutputWithContext(ctx context.Context) OssBackupPlanMapOutput
type OssBackupPlanOutput ¶
type OssBackupPlanOutput struct{ *pulumi.OutputState }
func (OssBackupPlanOutput) BackupType ¶
func (o OssBackupPlanOutput) BackupType() pulumi.StringOutput
Backup type. Valid values: `COMPLETE`.
func (OssBackupPlanOutput) Bucket ¶
func (o OssBackupPlanOutput) Bucket() pulumi.StringOutput
The name of OSS bucket.
func (OssBackupPlanOutput) CrossAccountRoleName ¶
func (o OssBackupPlanOutput) CrossAccountRoleName() pulumi.StringPtrOutput
The role name created in the original account RAM backup by the cross account managed by the current account.
func (OssBackupPlanOutput) CrossAccountType ¶
func (o OssBackupPlanOutput) CrossAccountType() pulumi.StringOutput
The type of the cross account backup. Valid values: `SELF_ACCOUNT`, `CROSS_ACCOUNT`.
func (OssBackupPlanOutput) CrossAccountUserId ¶
func (o OssBackupPlanOutput) CrossAccountUserId() pulumi.IntPtrOutput
The original account ID of the cross account backup managed by the current account.
func (OssBackupPlanOutput) Disabled ¶
func (o OssBackupPlanOutput) Disabled() pulumi.BoolOutput
Whether to disable the backup task. Valid values: `true`, `false`.
func (OssBackupPlanOutput) ElementType ¶
func (OssBackupPlanOutput) ElementType() reflect.Type
func (OssBackupPlanOutput) OssBackupPlanName ¶
func (o OssBackupPlanOutput) OssBackupPlanName() pulumi.StringOutput
The name of the backup plan. 1~64 characters, the backup plan name of each data source type in a single warehouse required to be unique.
func (OssBackupPlanOutput) Prefix ¶
func (o OssBackupPlanOutput) Prefix() pulumi.StringPtrOutput
Backup prefix. Once specified, only objects with matching prefixes will be backed up.
func (OssBackupPlanOutput) Retention ¶
func (o OssBackupPlanOutput) Retention() pulumi.StringOutput
Backup retention days, the minimum is 1.
func (OssBackupPlanOutput) Schedule ¶
func (o OssBackupPlanOutput) Schedule() pulumi.StringOutput
Backup strategy. Optional format: `I|{startTime}|{interval}`. It means to execute a backup task every `{interval}` starting from `{startTime}`. The backup task for the elapsed time will not be compensated. If the last backup task has not completed yet, the next backup task will not be triggered.
func (OssBackupPlanOutput) ToOssBackupPlanOutput ¶
func (o OssBackupPlanOutput) ToOssBackupPlanOutput() OssBackupPlanOutput
func (OssBackupPlanOutput) ToOssBackupPlanOutputWithContext ¶
func (o OssBackupPlanOutput) ToOssBackupPlanOutputWithContext(ctx context.Context) OssBackupPlanOutput
func (OssBackupPlanOutput) VaultId ¶
func (o OssBackupPlanOutput) VaultId() pulumi.StringOutput
The ID of backup vault.
type OssBackupPlanState ¶
type OssBackupPlanState struct { // Backup type. Valid values: `COMPLETE`. BackupType pulumi.StringPtrInput // The name of OSS bucket. Bucket pulumi.StringPtrInput // The role name created in the original account RAM backup by the cross account managed by the current account. CrossAccountRoleName pulumi.StringPtrInput // The type of the cross account backup. Valid values: `SELF_ACCOUNT`, `CROSS_ACCOUNT`. CrossAccountType pulumi.StringPtrInput // The original account ID of the cross account backup managed by the current account. CrossAccountUserId pulumi.IntPtrInput // Whether to disable the backup task. Valid values: `true`, `false`. Disabled pulumi.BoolPtrInput // The name of the backup plan. 1~64 characters, the backup plan name of each data source type in a single warehouse required to be unique. OssBackupPlanName pulumi.StringPtrInput // Backup prefix. Once specified, only objects with matching prefixes will be backed up. Prefix pulumi.StringPtrInput // Backup retention days, the minimum is 1. Retention pulumi.StringPtrInput // Backup strategy. Optional format: `I|{startTime}|{interval}`. It means to execute a backup task every `{interval}` starting from `{startTime}`. The backup task for the elapsed time will not be compensated. If the last backup task has not completed yet, the next backup task will not be triggered. Schedule pulumi.StringPtrInput // The ID of backup vault. VaultId pulumi.StringPtrInput }
func (OssBackupPlanState) ElementType ¶
func (OssBackupPlanState) ElementType() reflect.Type
type OtsBackupPlan ¶
type OtsBackupPlan struct { pulumi.CustomResourceState // The name of the tableStore instance. Valid values: `COMPLETE`, `INCREMENTAL`. **Note:** Required while sourceType equals `OTS_TABLE`. BackupType pulumi.StringOutput `pulumi:"backupType"` // The role name created in the original account RAM backup by the cross account managed by the current account. CrossAccountRoleName pulumi.StringPtrOutput `pulumi:"crossAccountRoleName"` // The type of the cross account backup. Valid values: `SELF_ACCOUNT`, `CROSS_ACCOUNT`. CrossAccountType pulumi.StringOutput `pulumi:"crossAccountType"` // The original account ID of the cross account backup managed by the current account. CrossAccountUserId pulumi.IntPtrOutput `pulumi:"crossAccountUserId"` // Whether to disable the backup task. Valid values: true, false. Disabled pulumi.BoolOutput `pulumi:"disabled"` // The name of the Table store instance. **Note:** Required while sourceType equals `OTS_TABLE`. InstanceName pulumi.StringPtrOutput `pulumi:"instanceName"` // The name of the backup plan. 1~64 characters, the backup plan name of each data source type in a single warehouse required to be unique. OtsBackupPlanName pulumi.StringOutput `pulumi:"otsBackupPlanName"` // The details about the Table store instance. See the following `Block otsDetail`. **Note:** Required while sourceType equals `OTS_TABLE`. OtsDetails OtsBackupPlanOtsDetailArrayOutput `pulumi:"otsDetails"` // Backup retention days, the minimum is 1. **Note:** Required while sourceType equals `OTS_TABLE`. Retention pulumi.StringOutput `pulumi:"retention"` // The backup plan rule. See the following `Block rules`. **Note:** Required while sourceType equals `OTS_TABLE`. Rules OtsBackupPlanRuleArrayOutput `pulumi:"rules"` // Backup strategy. Optional format: `I|{startTime}|{interval}`. It means to execute a backup task every `{interval}` starting from `{startTime}`. The backup task for the elapsed time will not be compensated. If the last backup task has not completed yet, the next backup task will not be triggered. **Note:** Required while sourceType equals `OTS_TABLE`. // // Deprecated: Field 'schedule' has been deprecated from version 1.163.0. Use 'rules' instead. Schedule pulumi.StringPtrOutput `pulumi:"schedule"` // The ID of backup vault. VaultId pulumi.StringPtrOutput `pulumi:"vaultId"` }
Provides a HBR Ots Backup Plan resource.
For information about HBR Ots Backup Plan and how to use it, see [What is Ots Backup Plan](https://www.alibabacloud.com/help/en/hybrid-backup-recovery/latest/overview).
> **NOTE:** Available in v1.163.0+.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/hbr" "github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/ots" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/pulumi/pulumi/sdk/v3/go/pulumi/config" "github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/hbr" "github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/ots"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { cfg := config.New(ctx, "") name := "testAcc" if param := cfg.Get("name"); param != "" { name = param } _, err := hbr.NewVault(ctx, "default", &hbr.VaultArgs{ VaultName: pulumi.String(name), VaultType: pulumi.String("OTS_BACKUP"), }) if err != nil { return err } foo, err := ots.NewInstance(ctx, "foo", &ots.InstanceArgs{ Description: pulumi.String(name), AccessedBy: pulumi.String("Any"), Tags: pulumi.AnyMap{ "Created": pulumi.Any("TF"), "For": pulumi.Any("acceptance test"), }, }) if err != nil { return err } basic, err := ots.NewTable(ctx, "basic", &ots.TableArgs{ InstanceName: foo.Name, TableName: pulumi.String(name), PrimaryKeys: ots.TablePrimaryKeyArray{ &ots.TablePrimaryKeyArgs{ Name: pulumi.String("pk1"), Type: pulumi.String("Integer"), }, }, TimeToLive: -1, MaxVersion: pulumi.Int(1), DeviationCellVersionInSec: pulumi.String("1"), }) if err != nil { return err } _, err = hbr.NewOtsBackupPlan(ctx, "example", &hbr.OtsBackupPlanArgs{ OtsBackupPlanName: pulumi.String(name), VaultId: _default.ID(), BackupType: pulumi.String("COMPLETE"), Schedule: pulumi.String("I|1602673264|PT2H"), Retention: pulumi.String("2"), InstanceName: foo.Name, OtsDetails: hbr.OtsBackupPlanOtsDetailArray{ &hbr.OtsBackupPlanOtsDetailArgs{ TableNames: pulumi.StringArray{ basic.TableName, }, }, }, }) if err != nil { return err } return nil }) }
```
## Import
HBR Ots Backup Plan can be imported using the id, e.g.
```sh
$ pulumi import alicloud:hbr/otsBackupPlan:OtsBackupPlan example <id>
```
func GetOtsBackupPlan ¶
func GetOtsBackupPlan(ctx *pulumi.Context, name string, id pulumi.IDInput, state *OtsBackupPlanState, opts ...pulumi.ResourceOption) (*OtsBackupPlan, error)
GetOtsBackupPlan gets an existing OtsBackupPlan 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 NewOtsBackupPlan ¶
func NewOtsBackupPlan(ctx *pulumi.Context, name string, args *OtsBackupPlanArgs, opts ...pulumi.ResourceOption) (*OtsBackupPlan, error)
NewOtsBackupPlan registers a new resource with the given unique name, arguments, and options.
func (*OtsBackupPlan) ElementType ¶
func (*OtsBackupPlan) ElementType() reflect.Type
func (*OtsBackupPlan) ToOtsBackupPlanOutput ¶
func (i *OtsBackupPlan) ToOtsBackupPlanOutput() OtsBackupPlanOutput
func (*OtsBackupPlan) ToOtsBackupPlanOutputWithContext ¶
func (i *OtsBackupPlan) ToOtsBackupPlanOutputWithContext(ctx context.Context) OtsBackupPlanOutput
type OtsBackupPlanArgs ¶
type OtsBackupPlanArgs struct { // The name of the tableStore instance. Valid values: `COMPLETE`, `INCREMENTAL`. **Note:** Required while sourceType equals `OTS_TABLE`. BackupType pulumi.StringInput // The role name created in the original account RAM backup by the cross account managed by the current account. CrossAccountRoleName pulumi.StringPtrInput // The type of the cross account backup. Valid values: `SELF_ACCOUNT`, `CROSS_ACCOUNT`. CrossAccountType pulumi.StringPtrInput // The original account ID of the cross account backup managed by the current account. CrossAccountUserId pulumi.IntPtrInput // Whether to disable the backup task. Valid values: true, false. Disabled pulumi.BoolPtrInput // The name of the Table store instance. **Note:** Required while sourceType equals `OTS_TABLE`. InstanceName pulumi.StringPtrInput // The name of the backup plan. 1~64 characters, the backup plan name of each data source type in a single warehouse required to be unique. OtsBackupPlanName pulumi.StringInput // The details about the Table store instance. See the following `Block otsDetail`. **Note:** Required while sourceType equals `OTS_TABLE`. OtsDetails OtsBackupPlanOtsDetailArrayInput // Backup retention days, the minimum is 1. **Note:** Required while sourceType equals `OTS_TABLE`. Retention pulumi.StringInput // The backup plan rule. See the following `Block rules`. **Note:** Required while sourceType equals `OTS_TABLE`. Rules OtsBackupPlanRuleArrayInput // Backup strategy. Optional format: `I|{startTime}|{interval}`. It means to execute a backup task every `{interval}` starting from `{startTime}`. The backup task for the elapsed time will not be compensated. If the last backup task has not completed yet, the next backup task will not be triggered. **Note:** Required while sourceType equals `OTS_TABLE`. // // Deprecated: Field 'schedule' has been deprecated from version 1.163.0. Use 'rules' instead. Schedule pulumi.StringPtrInput // The ID of backup vault. VaultId pulumi.StringPtrInput }
The set of arguments for constructing a OtsBackupPlan resource.
func (OtsBackupPlanArgs) ElementType ¶
func (OtsBackupPlanArgs) ElementType() reflect.Type
type OtsBackupPlanArray ¶
type OtsBackupPlanArray []OtsBackupPlanInput
func (OtsBackupPlanArray) ElementType ¶
func (OtsBackupPlanArray) ElementType() reflect.Type
func (OtsBackupPlanArray) ToOtsBackupPlanArrayOutput ¶
func (i OtsBackupPlanArray) ToOtsBackupPlanArrayOutput() OtsBackupPlanArrayOutput
func (OtsBackupPlanArray) ToOtsBackupPlanArrayOutputWithContext ¶
func (i OtsBackupPlanArray) ToOtsBackupPlanArrayOutputWithContext(ctx context.Context) OtsBackupPlanArrayOutput
type OtsBackupPlanArrayInput ¶
type OtsBackupPlanArrayInput interface { pulumi.Input ToOtsBackupPlanArrayOutput() OtsBackupPlanArrayOutput ToOtsBackupPlanArrayOutputWithContext(context.Context) OtsBackupPlanArrayOutput }
OtsBackupPlanArrayInput is an input type that accepts OtsBackupPlanArray and OtsBackupPlanArrayOutput values. You can construct a concrete instance of `OtsBackupPlanArrayInput` via:
OtsBackupPlanArray{ OtsBackupPlanArgs{...} }
type OtsBackupPlanArrayOutput ¶
type OtsBackupPlanArrayOutput struct{ *pulumi.OutputState }
func (OtsBackupPlanArrayOutput) ElementType ¶
func (OtsBackupPlanArrayOutput) ElementType() reflect.Type
func (OtsBackupPlanArrayOutput) Index ¶
func (o OtsBackupPlanArrayOutput) Index(i pulumi.IntInput) OtsBackupPlanOutput
func (OtsBackupPlanArrayOutput) ToOtsBackupPlanArrayOutput ¶
func (o OtsBackupPlanArrayOutput) ToOtsBackupPlanArrayOutput() OtsBackupPlanArrayOutput
func (OtsBackupPlanArrayOutput) ToOtsBackupPlanArrayOutputWithContext ¶
func (o OtsBackupPlanArrayOutput) ToOtsBackupPlanArrayOutputWithContext(ctx context.Context) OtsBackupPlanArrayOutput
type OtsBackupPlanInput ¶
type OtsBackupPlanInput interface { pulumi.Input ToOtsBackupPlanOutput() OtsBackupPlanOutput ToOtsBackupPlanOutputWithContext(ctx context.Context) OtsBackupPlanOutput }
type OtsBackupPlanMap ¶
type OtsBackupPlanMap map[string]OtsBackupPlanInput
func (OtsBackupPlanMap) ElementType ¶
func (OtsBackupPlanMap) ElementType() reflect.Type
func (OtsBackupPlanMap) ToOtsBackupPlanMapOutput ¶
func (i OtsBackupPlanMap) ToOtsBackupPlanMapOutput() OtsBackupPlanMapOutput
func (OtsBackupPlanMap) ToOtsBackupPlanMapOutputWithContext ¶
func (i OtsBackupPlanMap) ToOtsBackupPlanMapOutputWithContext(ctx context.Context) OtsBackupPlanMapOutput
type OtsBackupPlanMapInput ¶
type OtsBackupPlanMapInput interface { pulumi.Input ToOtsBackupPlanMapOutput() OtsBackupPlanMapOutput ToOtsBackupPlanMapOutputWithContext(context.Context) OtsBackupPlanMapOutput }
OtsBackupPlanMapInput is an input type that accepts OtsBackupPlanMap and OtsBackupPlanMapOutput values. You can construct a concrete instance of `OtsBackupPlanMapInput` via:
OtsBackupPlanMap{ "key": OtsBackupPlanArgs{...} }
type OtsBackupPlanMapOutput ¶
type OtsBackupPlanMapOutput struct{ *pulumi.OutputState }
func (OtsBackupPlanMapOutput) ElementType ¶
func (OtsBackupPlanMapOutput) ElementType() reflect.Type
func (OtsBackupPlanMapOutput) MapIndex ¶
func (o OtsBackupPlanMapOutput) MapIndex(k pulumi.StringInput) OtsBackupPlanOutput
func (OtsBackupPlanMapOutput) ToOtsBackupPlanMapOutput ¶
func (o OtsBackupPlanMapOutput) ToOtsBackupPlanMapOutput() OtsBackupPlanMapOutput
func (OtsBackupPlanMapOutput) ToOtsBackupPlanMapOutputWithContext ¶
func (o OtsBackupPlanMapOutput) ToOtsBackupPlanMapOutputWithContext(ctx context.Context) OtsBackupPlanMapOutput
type OtsBackupPlanOtsDetail ¶
type OtsBackupPlanOtsDetail struct { // The names of the destination tables in the Tablestore instance. **Note:** Required while sourceType equals `OTS_TABLE`. TableNames []string `pulumi:"tableNames"` }
type OtsBackupPlanOtsDetailArgs ¶
type OtsBackupPlanOtsDetailArgs struct { // The names of the destination tables in the Tablestore instance. **Note:** Required while sourceType equals `OTS_TABLE`. TableNames pulumi.StringArrayInput `pulumi:"tableNames"` }
func (OtsBackupPlanOtsDetailArgs) ElementType ¶
func (OtsBackupPlanOtsDetailArgs) ElementType() reflect.Type
func (OtsBackupPlanOtsDetailArgs) ToOtsBackupPlanOtsDetailOutput ¶
func (i OtsBackupPlanOtsDetailArgs) ToOtsBackupPlanOtsDetailOutput() OtsBackupPlanOtsDetailOutput
func (OtsBackupPlanOtsDetailArgs) ToOtsBackupPlanOtsDetailOutputWithContext ¶
func (i OtsBackupPlanOtsDetailArgs) ToOtsBackupPlanOtsDetailOutputWithContext(ctx context.Context) OtsBackupPlanOtsDetailOutput
type OtsBackupPlanOtsDetailArray ¶
type OtsBackupPlanOtsDetailArray []OtsBackupPlanOtsDetailInput
func (OtsBackupPlanOtsDetailArray) ElementType ¶
func (OtsBackupPlanOtsDetailArray) ElementType() reflect.Type
func (OtsBackupPlanOtsDetailArray) ToOtsBackupPlanOtsDetailArrayOutput ¶
func (i OtsBackupPlanOtsDetailArray) ToOtsBackupPlanOtsDetailArrayOutput() OtsBackupPlanOtsDetailArrayOutput
func (OtsBackupPlanOtsDetailArray) ToOtsBackupPlanOtsDetailArrayOutputWithContext ¶
func (i OtsBackupPlanOtsDetailArray) ToOtsBackupPlanOtsDetailArrayOutputWithContext(ctx context.Context) OtsBackupPlanOtsDetailArrayOutput
type OtsBackupPlanOtsDetailArrayInput ¶
type OtsBackupPlanOtsDetailArrayInput interface { pulumi.Input ToOtsBackupPlanOtsDetailArrayOutput() OtsBackupPlanOtsDetailArrayOutput ToOtsBackupPlanOtsDetailArrayOutputWithContext(context.Context) OtsBackupPlanOtsDetailArrayOutput }
OtsBackupPlanOtsDetailArrayInput is an input type that accepts OtsBackupPlanOtsDetailArray and OtsBackupPlanOtsDetailArrayOutput values. You can construct a concrete instance of `OtsBackupPlanOtsDetailArrayInput` via:
OtsBackupPlanOtsDetailArray{ OtsBackupPlanOtsDetailArgs{...} }
type OtsBackupPlanOtsDetailArrayOutput ¶
type OtsBackupPlanOtsDetailArrayOutput struct{ *pulumi.OutputState }
func (OtsBackupPlanOtsDetailArrayOutput) ElementType ¶
func (OtsBackupPlanOtsDetailArrayOutput) ElementType() reflect.Type
func (OtsBackupPlanOtsDetailArrayOutput) Index ¶
func (o OtsBackupPlanOtsDetailArrayOutput) Index(i pulumi.IntInput) OtsBackupPlanOtsDetailOutput
func (OtsBackupPlanOtsDetailArrayOutput) ToOtsBackupPlanOtsDetailArrayOutput ¶
func (o OtsBackupPlanOtsDetailArrayOutput) ToOtsBackupPlanOtsDetailArrayOutput() OtsBackupPlanOtsDetailArrayOutput
func (OtsBackupPlanOtsDetailArrayOutput) ToOtsBackupPlanOtsDetailArrayOutputWithContext ¶
func (o OtsBackupPlanOtsDetailArrayOutput) ToOtsBackupPlanOtsDetailArrayOutputWithContext(ctx context.Context) OtsBackupPlanOtsDetailArrayOutput
type OtsBackupPlanOtsDetailInput ¶
type OtsBackupPlanOtsDetailInput interface { pulumi.Input ToOtsBackupPlanOtsDetailOutput() OtsBackupPlanOtsDetailOutput ToOtsBackupPlanOtsDetailOutputWithContext(context.Context) OtsBackupPlanOtsDetailOutput }
OtsBackupPlanOtsDetailInput is an input type that accepts OtsBackupPlanOtsDetailArgs and OtsBackupPlanOtsDetailOutput values. You can construct a concrete instance of `OtsBackupPlanOtsDetailInput` via:
OtsBackupPlanOtsDetailArgs{...}
type OtsBackupPlanOtsDetailOutput ¶
type OtsBackupPlanOtsDetailOutput struct{ *pulumi.OutputState }
func (OtsBackupPlanOtsDetailOutput) ElementType ¶
func (OtsBackupPlanOtsDetailOutput) ElementType() reflect.Type
func (OtsBackupPlanOtsDetailOutput) TableNames ¶
func (o OtsBackupPlanOtsDetailOutput) TableNames() pulumi.StringArrayOutput
The names of the destination tables in the Tablestore instance. **Note:** Required while sourceType equals `OTS_TABLE`.
func (OtsBackupPlanOtsDetailOutput) ToOtsBackupPlanOtsDetailOutput ¶
func (o OtsBackupPlanOtsDetailOutput) ToOtsBackupPlanOtsDetailOutput() OtsBackupPlanOtsDetailOutput
func (OtsBackupPlanOtsDetailOutput) ToOtsBackupPlanOtsDetailOutputWithContext ¶
func (o OtsBackupPlanOtsDetailOutput) ToOtsBackupPlanOtsDetailOutputWithContext(ctx context.Context) OtsBackupPlanOtsDetailOutput
type OtsBackupPlanOutput ¶
type OtsBackupPlanOutput struct{ *pulumi.OutputState }
func (OtsBackupPlanOutput) BackupType ¶
func (o OtsBackupPlanOutput) BackupType() pulumi.StringOutput
The name of the tableStore instance. Valid values: `COMPLETE`, `INCREMENTAL`. **Note:** Required while sourceType equals `OTS_TABLE`.
func (OtsBackupPlanOutput) CrossAccountRoleName ¶
func (o OtsBackupPlanOutput) CrossAccountRoleName() pulumi.StringPtrOutput
The role name created in the original account RAM backup by the cross account managed by the current account.
func (OtsBackupPlanOutput) CrossAccountType ¶
func (o OtsBackupPlanOutput) CrossAccountType() pulumi.StringOutput
The type of the cross account backup. Valid values: `SELF_ACCOUNT`, `CROSS_ACCOUNT`.
func (OtsBackupPlanOutput) CrossAccountUserId ¶
func (o OtsBackupPlanOutput) CrossAccountUserId() pulumi.IntPtrOutput
The original account ID of the cross account backup managed by the current account.
func (OtsBackupPlanOutput) Disabled ¶
func (o OtsBackupPlanOutput) Disabled() pulumi.BoolOutput
Whether to disable the backup task. Valid values: true, false.
func (OtsBackupPlanOutput) ElementType ¶
func (OtsBackupPlanOutput) ElementType() reflect.Type
func (OtsBackupPlanOutput) InstanceName ¶
func (o OtsBackupPlanOutput) InstanceName() pulumi.StringPtrOutput
The name of the Table store instance. **Note:** Required while sourceType equals `OTS_TABLE`.
func (OtsBackupPlanOutput) OtsBackupPlanName ¶
func (o OtsBackupPlanOutput) OtsBackupPlanName() pulumi.StringOutput
The name of the backup plan. 1~64 characters, the backup plan name of each data source type in a single warehouse required to be unique.
func (OtsBackupPlanOutput) OtsDetails ¶
func (o OtsBackupPlanOutput) OtsDetails() OtsBackupPlanOtsDetailArrayOutput
The details about the Table store instance. See the following `Block otsDetail`. **Note:** Required while sourceType equals `OTS_TABLE`.
func (OtsBackupPlanOutput) Retention ¶
func (o OtsBackupPlanOutput) Retention() pulumi.StringOutput
Backup retention days, the minimum is 1. **Note:** Required while sourceType equals `OTS_TABLE`.
func (OtsBackupPlanOutput) Rules ¶
func (o OtsBackupPlanOutput) Rules() OtsBackupPlanRuleArrayOutput
The backup plan rule. See the following `Block rules`. **Note:** Required while sourceType equals `OTS_TABLE`.
func (OtsBackupPlanOutput) Schedule
deprecated
func (o OtsBackupPlanOutput) Schedule() pulumi.StringPtrOutput
Backup strategy. Optional format: `I|{startTime}|{interval}`. It means to execute a backup task every `{interval}` starting from `{startTime}`. The backup task for the elapsed time will not be compensated. If the last backup task has not completed yet, the next backup task will not be triggered. **Note:** Required while sourceType equals `OTS_TABLE`.
Deprecated: Field 'schedule' has been deprecated from version 1.163.0. Use 'rules' instead.
func (OtsBackupPlanOutput) ToOtsBackupPlanOutput ¶
func (o OtsBackupPlanOutput) ToOtsBackupPlanOutput() OtsBackupPlanOutput
func (OtsBackupPlanOutput) ToOtsBackupPlanOutputWithContext ¶
func (o OtsBackupPlanOutput) ToOtsBackupPlanOutputWithContext(ctx context.Context) OtsBackupPlanOutput
func (OtsBackupPlanOutput) VaultId ¶
func (o OtsBackupPlanOutput) VaultId() pulumi.StringPtrOutput
The ID of backup vault.
type OtsBackupPlanRule ¶
type OtsBackupPlanRule struct { // The name of the tableStore instance. Valid values: `COMPLETE`, `INCREMENTAL`. **Note:** Required while sourceType equals `OTS_TABLE`. BackupType *string `pulumi:"backupType"` // Whether to disable the backup task. Valid values: true, false. Disabled *bool `pulumi:"disabled"` // Backup retention days, the minimum is 1. **Note:** Required while sourceType equals `OTS_TABLE`. Retention *string `pulumi:"retention"` // The name of the backup rule.**Note:** Required while sourceType equals `OTS_TABLE`. `ruleName` should be unique for the specific user. RuleName *string `pulumi:"ruleName"` // Backup strategy. Optional format: `I|{startTime}|{interval}`. It means to execute a backup task every `{interval}` starting from `{startTime}`. The backup task for the elapsed time will not be compensated. If the last backup task has not completed yet, the next backup task will not be triggered. **Note:** Required while sourceType equals `OTS_TABLE`. Schedule *string `pulumi:"schedule"` }
type OtsBackupPlanRuleArgs ¶
type OtsBackupPlanRuleArgs struct { // The name of the tableStore instance. Valid values: `COMPLETE`, `INCREMENTAL`. **Note:** Required while sourceType equals `OTS_TABLE`. BackupType pulumi.StringPtrInput `pulumi:"backupType"` // Whether to disable the backup task. Valid values: true, false. Disabled pulumi.BoolPtrInput `pulumi:"disabled"` // Backup retention days, the minimum is 1. **Note:** Required while sourceType equals `OTS_TABLE`. Retention pulumi.StringPtrInput `pulumi:"retention"` // The name of the backup rule.**Note:** Required while sourceType equals `OTS_TABLE`. `ruleName` should be unique for the specific user. RuleName pulumi.StringPtrInput `pulumi:"ruleName"` // Backup strategy. Optional format: `I|{startTime}|{interval}`. It means to execute a backup task every `{interval}` starting from `{startTime}`. The backup task for the elapsed time will not be compensated. If the last backup task has not completed yet, the next backup task will not be triggered. **Note:** Required while sourceType equals `OTS_TABLE`. Schedule pulumi.StringPtrInput `pulumi:"schedule"` }
func (OtsBackupPlanRuleArgs) ElementType ¶
func (OtsBackupPlanRuleArgs) ElementType() reflect.Type
func (OtsBackupPlanRuleArgs) ToOtsBackupPlanRuleOutput ¶
func (i OtsBackupPlanRuleArgs) ToOtsBackupPlanRuleOutput() OtsBackupPlanRuleOutput
func (OtsBackupPlanRuleArgs) ToOtsBackupPlanRuleOutputWithContext ¶
func (i OtsBackupPlanRuleArgs) ToOtsBackupPlanRuleOutputWithContext(ctx context.Context) OtsBackupPlanRuleOutput
type OtsBackupPlanRuleArray ¶
type OtsBackupPlanRuleArray []OtsBackupPlanRuleInput
func (OtsBackupPlanRuleArray) ElementType ¶
func (OtsBackupPlanRuleArray) ElementType() reflect.Type
func (OtsBackupPlanRuleArray) ToOtsBackupPlanRuleArrayOutput ¶
func (i OtsBackupPlanRuleArray) ToOtsBackupPlanRuleArrayOutput() OtsBackupPlanRuleArrayOutput
func (OtsBackupPlanRuleArray) ToOtsBackupPlanRuleArrayOutputWithContext ¶
func (i OtsBackupPlanRuleArray) ToOtsBackupPlanRuleArrayOutputWithContext(ctx context.Context) OtsBackupPlanRuleArrayOutput
type OtsBackupPlanRuleArrayInput ¶
type OtsBackupPlanRuleArrayInput interface { pulumi.Input ToOtsBackupPlanRuleArrayOutput() OtsBackupPlanRuleArrayOutput ToOtsBackupPlanRuleArrayOutputWithContext(context.Context) OtsBackupPlanRuleArrayOutput }
OtsBackupPlanRuleArrayInput is an input type that accepts OtsBackupPlanRuleArray and OtsBackupPlanRuleArrayOutput values. You can construct a concrete instance of `OtsBackupPlanRuleArrayInput` via:
OtsBackupPlanRuleArray{ OtsBackupPlanRuleArgs{...} }
type OtsBackupPlanRuleArrayOutput ¶
type OtsBackupPlanRuleArrayOutput struct{ *pulumi.OutputState }
func (OtsBackupPlanRuleArrayOutput) ElementType ¶
func (OtsBackupPlanRuleArrayOutput) ElementType() reflect.Type
func (OtsBackupPlanRuleArrayOutput) Index ¶
func (o OtsBackupPlanRuleArrayOutput) Index(i pulumi.IntInput) OtsBackupPlanRuleOutput
func (OtsBackupPlanRuleArrayOutput) ToOtsBackupPlanRuleArrayOutput ¶
func (o OtsBackupPlanRuleArrayOutput) ToOtsBackupPlanRuleArrayOutput() OtsBackupPlanRuleArrayOutput
func (OtsBackupPlanRuleArrayOutput) ToOtsBackupPlanRuleArrayOutputWithContext ¶
func (o OtsBackupPlanRuleArrayOutput) ToOtsBackupPlanRuleArrayOutputWithContext(ctx context.Context) OtsBackupPlanRuleArrayOutput
type OtsBackupPlanRuleInput ¶
type OtsBackupPlanRuleInput interface { pulumi.Input ToOtsBackupPlanRuleOutput() OtsBackupPlanRuleOutput ToOtsBackupPlanRuleOutputWithContext(context.Context) OtsBackupPlanRuleOutput }
OtsBackupPlanRuleInput is an input type that accepts OtsBackupPlanRuleArgs and OtsBackupPlanRuleOutput values. You can construct a concrete instance of `OtsBackupPlanRuleInput` via:
OtsBackupPlanRuleArgs{...}
type OtsBackupPlanRuleOutput ¶
type OtsBackupPlanRuleOutput struct{ *pulumi.OutputState }
func (OtsBackupPlanRuleOutput) BackupType ¶
func (o OtsBackupPlanRuleOutput) BackupType() pulumi.StringPtrOutput
The name of the tableStore instance. Valid values: `COMPLETE`, `INCREMENTAL`. **Note:** Required while sourceType equals `OTS_TABLE`.
func (OtsBackupPlanRuleOutput) Disabled ¶
func (o OtsBackupPlanRuleOutput) Disabled() pulumi.BoolPtrOutput
Whether to disable the backup task. Valid values: true, false.
func (OtsBackupPlanRuleOutput) ElementType ¶
func (OtsBackupPlanRuleOutput) ElementType() reflect.Type
func (OtsBackupPlanRuleOutput) Retention ¶
func (o OtsBackupPlanRuleOutput) Retention() pulumi.StringPtrOutput
Backup retention days, the minimum is 1. **Note:** Required while sourceType equals `OTS_TABLE`.
func (OtsBackupPlanRuleOutput) RuleName ¶
func (o OtsBackupPlanRuleOutput) RuleName() pulumi.StringPtrOutput
The name of the backup rule.**Note:** Required while sourceType equals `OTS_TABLE`. `ruleName` should be unique for the specific user.
func (OtsBackupPlanRuleOutput) Schedule ¶
func (o OtsBackupPlanRuleOutput) Schedule() pulumi.StringPtrOutput
Backup strategy. Optional format: `I|{startTime}|{interval}`. It means to execute a backup task every `{interval}` starting from `{startTime}`. The backup task for the elapsed time will not be compensated. If the last backup task has not completed yet, the next backup task will not be triggered. **Note:** Required while sourceType equals `OTS_TABLE`.
func (OtsBackupPlanRuleOutput) ToOtsBackupPlanRuleOutput ¶
func (o OtsBackupPlanRuleOutput) ToOtsBackupPlanRuleOutput() OtsBackupPlanRuleOutput
func (OtsBackupPlanRuleOutput) ToOtsBackupPlanRuleOutputWithContext ¶
func (o OtsBackupPlanRuleOutput) ToOtsBackupPlanRuleOutputWithContext(ctx context.Context) OtsBackupPlanRuleOutput
type OtsBackupPlanState ¶
type OtsBackupPlanState struct { // The name of the tableStore instance. Valid values: `COMPLETE`, `INCREMENTAL`. **Note:** Required while sourceType equals `OTS_TABLE`. BackupType pulumi.StringPtrInput // The role name created in the original account RAM backup by the cross account managed by the current account. CrossAccountRoleName pulumi.StringPtrInput // The type of the cross account backup. Valid values: `SELF_ACCOUNT`, `CROSS_ACCOUNT`. CrossAccountType pulumi.StringPtrInput // The original account ID of the cross account backup managed by the current account. CrossAccountUserId pulumi.IntPtrInput // Whether to disable the backup task. Valid values: true, false. Disabled pulumi.BoolPtrInput // The name of the Table store instance. **Note:** Required while sourceType equals `OTS_TABLE`. InstanceName pulumi.StringPtrInput // The name of the backup plan. 1~64 characters, the backup plan name of each data source type in a single warehouse required to be unique. OtsBackupPlanName pulumi.StringPtrInput // The details about the Table store instance. See the following `Block otsDetail`. **Note:** Required while sourceType equals `OTS_TABLE`. OtsDetails OtsBackupPlanOtsDetailArrayInput // Backup retention days, the minimum is 1. **Note:** Required while sourceType equals `OTS_TABLE`. Retention pulumi.StringPtrInput // The backup plan rule. See the following `Block rules`. **Note:** Required while sourceType equals `OTS_TABLE`. Rules OtsBackupPlanRuleArrayInput // Backup strategy. Optional format: `I|{startTime}|{interval}`. It means to execute a backup task every `{interval}` starting from `{startTime}`. The backup task for the elapsed time will not be compensated. If the last backup task has not completed yet, the next backup task will not be triggered. **Note:** Required while sourceType equals `OTS_TABLE`. // // Deprecated: Field 'schedule' has been deprecated from version 1.163.0. Use 'rules' instead. Schedule pulumi.StringPtrInput // The ID of backup vault. VaultId pulumi.StringPtrInput }
func (OtsBackupPlanState) ElementType ¶
func (OtsBackupPlanState) ElementType() reflect.Type
type ReplicationVault ¶
type ReplicationVault struct { pulumi.CustomResourceState // The description of the backup vault. The description must be 0 to 255 characters in length. Description pulumi.StringPtrOutput `pulumi:"description"` // The ID of the region where the source vault resides. ReplicationSourceRegionId pulumi.StringOutput `pulumi:"replicationSourceRegionId"` // The ID of the source vault. ReplicationSourceVaultId pulumi.StringOutput `pulumi:"replicationSourceVaultId"` // The status of the resource. Status pulumi.StringOutput `pulumi:"status"` // The name of the backup vault. The name must be 1 to 64 characters in length. VaultName pulumi.StringOutput `pulumi:"vaultName"` // The storage type of the backup vault. Valid values: `STANDARD`. VaultStorageClass pulumi.StringOutput `pulumi:"vaultStorageClass"` }
Provides a Hybrid Backup Recovery (HBR) Replication Vault resource.
For information about Hybrid Backup Recovery (HBR) Replication Vault and how to use it, see [What is Replication Vault](https://www.alibabacloud.com/help/en/doc-detail/345603.html).
> **NOTE:** Available in v1.152.0+.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/hbr" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/pulumi/pulumi/sdk/v3/go/pulumi/config" "github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud" "github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/hbr"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { cfg := config.New(ctx, "") name := "tf-testAccReplicationVault" if param := cfg.Get("name"); param != "" { name = param } regionSource := "you Replication value source region" if param := cfg.Get("regionSource"); param != "" { regionSource = param } _, err := alicloud.NewProvider(ctx, "source", &alicloud.ProviderArgs{ Region: pulumi.String(regionSource), }) if err != nil { return err } defaultVault, err := hbr.NewVault(ctx, "defaultVault", &hbr.VaultArgs{ VaultName: pulumi.String(name), }, pulumi.Provider(alicloud.Source)) if err != nil { return err } defaultReplicationVaultRegions, err := hbr.GetReplicationVaultRegions(ctx, nil, nil) if err != nil { return err } regionReplication := defaultReplicationVaultRegions.Regions[0].ReplicationRegionId _, err = alicloud.NewProvider(ctx, "replication", &alicloud.ProviderArgs{ Region: pulumi.String(regionReplication), }) if err != nil { return err } _, err = hbr.NewReplicationVault(ctx, "defaultReplicationVault", &hbr.ReplicationVaultArgs{ ReplicationSourceRegionId: pulumi.String(regionReplication), ReplicationSourceVaultId: defaultVault.ID(), VaultName: pulumi.String(name), VaultStorageClass: pulumi.String("STANDARD"), Description: pulumi.String(name), }, pulumi.Provider(alicloud.Replication)) if err != nil { return err } return nil }) }
```
## Import
Hybrid Backup Recovery (HBR) Replication Vault can be imported using the id, e.g.
```sh
$ pulumi import alicloud:hbr/replicationVault:ReplicationVault example <id>
```
func GetReplicationVault ¶
func GetReplicationVault(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ReplicationVaultState, opts ...pulumi.ResourceOption) (*ReplicationVault, error)
GetReplicationVault gets an existing ReplicationVault 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 NewReplicationVault ¶
func NewReplicationVault(ctx *pulumi.Context, name string, args *ReplicationVaultArgs, opts ...pulumi.ResourceOption) (*ReplicationVault, error)
NewReplicationVault registers a new resource with the given unique name, arguments, and options.
func (*ReplicationVault) ElementType ¶
func (*ReplicationVault) ElementType() reflect.Type
func (*ReplicationVault) ToReplicationVaultOutput ¶
func (i *ReplicationVault) ToReplicationVaultOutput() ReplicationVaultOutput
func (*ReplicationVault) ToReplicationVaultOutputWithContext ¶
func (i *ReplicationVault) ToReplicationVaultOutputWithContext(ctx context.Context) ReplicationVaultOutput
type ReplicationVaultArgs ¶
type ReplicationVaultArgs struct { // The description of the backup vault. The description must be 0 to 255 characters in length. Description pulumi.StringPtrInput // The ID of the region where the source vault resides. ReplicationSourceRegionId pulumi.StringInput // The ID of the source vault. ReplicationSourceVaultId pulumi.StringInput // The name of the backup vault. The name must be 1 to 64 characters in length. VaultName pulumi.StringInput // The storage type of the backup vault. Valid values: `STANDARD`. VaultStorageClass pulumi.StringPtrInput }
The set of arguments for constructing a ReplicationVault resource.
func (ReplicationVaultArgs) ElementType ¶
func (ReplicationVaultArgs) ElementType() reflect.Type
type ReplicationVaultArray ¶
type ReplicationVaultArray []ReplicationVaultInput
func (ReplicationVaultArray) ElementType ¶
func (ReplicationVaultArray) ElementType() reflect.Type
func (ReplicationVaultArray) ToReplicationVaultArrayOutput ¶
func (i ReplicationVaultArray) ToReplicationVaultArrayOutput() ReplicationVaultArrayOutput
func (ReplicationVaultArray) ToReplicationVaultArrayOutputWithContext ¶
func (i ReplicationVaultArray) ToReplicationVaultArrayOutputWithContext(ctx context.Context) ReplicationVaultArrayOutput
type ReplicationVaultArrayInput ¶
type ReplicationVaultArrayInput interface { pulumi.Input ToReplicationVaultArrayOutput() ReplicationVaultArrayOutput ToReplicationVaultArrayOutputWithContext(context.Context) ReplicationVaultArrayOutput }
ReplicationVaultArrayInput is an input type that accepts ReplicationVaultArray and ReplicationVaultArrayOutput values. You can construct a concrete instance of `ReplicationVaultArrayInput` via:
ReplicationVaultArray{ ReplicationVaultArgs{...} }
type ReplicationVaultArrayOutput ¶
type ReplicationVaultArrayOutput struct{ *pulumi.OutputState }
func (ReplicationVaultArrayOutput) ElementType ¶
func (ReplicationVaultArrayOutput) ElementType() reflect.Type
func (ReplicationVaultArrayOutput) Index ¶
func (o ReplicationVaultArrayOutput) Index(i pulumi.IntInput) ReplicationVaultOutput
func (ReplicationVaultArrayOutput) ToReplicationVaultArrayOutput ¶
func (o ReplicationVaultArrayOutput) ToReplicationVaultArrayOutput() ReplicationVaultArrayOutput
func (ReplicationVaultArrayOutput) ToReplicationVaultArrayOutputWithContext ¶
func (o ReplicationVaultArrayOutput) ToReplicationVaultArrayOutputWithContext(ctx context.Context) ReplicationVaultArrayOutput
type ReplicationVaultInput ¶
type ReplicationVaultInput interface { pulumi.Input ToReplicationVaultOutput() ReplicationVaultOutput ToReplicationVaultOutputWithContext(ctx context.Context) ReplicationVaultOutput }
type ReplicationVaultMap ¶
type ReplicationVaultMap map[string]ReplicationVaultInput
func (ReplicationVaultMap) ElementType ¶
func (ReplicationVaultMap) ElementType() reflect.Type
func (ReplicationVaultMap) ToReplicationVaultMapOutput ¶
func (i ReplicationVaultMap) ToReplicationVaultMapOutput() ReplicationVaultMapOutput
func (ReplicationVaultMap) ToReplicationVaultMapOutputWithContext ¶
func (i ReplicationVaultMap) ToReplicationVaultMapOutputWithContext(ctx context.Context) ReplicationVaultMapOutput
type ReplicationVaultMapInput ¶
type ReplicationVaultMapInput interface { pulumi.Input ToReplicationVaultMapOutput() ReplicationVaultMapOutput ToReplicationVaultMapOutputWithContext(context.Context) ReplicationVaultMapOutput }
ReplicationVaultMapInput is an input type that accepts ReplicationVaultMap and ReplicationVaultMapOutput values. You can construct a concrete instance of `ReplicationVaultMapInput` via:
ReplicationVaultMap{ "key": ReplicationVaultArgs{...} }
type ReplicationVaultMapOutput ¶
type ReplicationVaultMapOutput struct{ *pulumi.OutputState }
func (ReplicationVaultMapOutput) ElementType ¶
func (ReplicationVaultMapOutput) ElementType() reflect.Type
func (ReplicationVaultMapOutput) MapIndex ¶
func (o ReplicationVaultMapOutput) MapIndex(k pulumi.StringInput) ReplicationVaultOutput
func (ReplicationVaultMapOutput) ToReplicationVaultMapOutput ¶
func (o ReplicationVaultMapOutput) ToReplicationVaultMapOutput() ReplicationVaultMapOutput
func (ReplicationVaultMapOutput) ToReplicationVaultMapOutputWithContext ¶
func (o ReplicationVaultMapOutput) ToReplicationVaultMapOutputWithContext(ctx context.Context) ReplicationVaultMapOutput
type ReplicationVaultOutput ¶
type ReplicationVaultOutput struct{ *pulumi.OutputState }
func (ReplicationVaultOutput) Description ¶
func (o ReplicationVaultOutput) Description() pulumi.StringPtrOutput
The description of the backup vault. The description must be 0 to 255 characters in length.
func (ReplicationVaultOutput) ElementType ¶
func (ReplicationVaultOutput) ElementType() reflect.Type
func (ReplicationVaultOutput) ReplicationSourceRegionId ¶
func (o ReplicationVaultOutput) ReplicationSourceRegionId() pulumi.StringOutput
The ID of the region where the source vault resides.
func (ReplicationVaultOutput) ReplicationSourceVaultId ¶
func (o ReplicationVaultOutput) ReplicationSourceVaultId() pulumi.StringOutput
The ID of the source vault.
func (ReplicationVaultOutput) Status ¶
func (o ReplicationVaultOutput) Status() pulumi.StringOutput
The status of the resource.
func (ReplicationVaultOutput) ToReplicationVaultOutput ¶
func (o ReplicationVaultOutput) ToReplicationVaultOutput() ReplicationVaultOutput
func (ReplicationVaultOutput) ToReplicationVaultOutputWithContext ¶
func (o ReplicationVaultOutput) ToReplicationVaultOutputWithContext(ctx context.Context) ReplicationVaultOutput
func (ReplicationVaultOutput) VaultName ¶
func (o ReplicationVaultOutput) VaultName() pulumi.StringOutput
The name of the backup vault. The name must be 1 to 64 characters in length.
func (ReplicationVaultOutput) VaultStorageClass ¶
func (o ReplicationVaultOutput) VaultStorageClass() pulumi.StringOutput
The storage type of the backup vault. Valid values: `STANDARD`.
type ReplicationVaultState ¶
type ReplicationVaultState struct { // The description of the backup vault. The description must be 0 to 255 characters in length. Description pulumi.StringPtrInput // The ID of the region where the source vault resides. ReplicationSourceRegionId pulumi.StringPtrInput // The ID of the source vault. ReplicationSourceVaultId pulumi.StringPtrInput // The status of the resource. Status pulumi.StringPtrInput // The name of the backup vault. The name must be 1 to 64 characters in length. VaultName pulumi.StringPtrInput // The storage type of the backup vault. Valid values: `STANDARD`. VaultStorageClass pulumi.StringPtrInput }
func (ReplicationVaultState) ElementType ¶
func (ReplicationVaultState) ElementType() reflect.Type
type RestoreJob ¶
type RestoreJob struct { pulumi.CustomResourceState // The role name created in the original account RAM backup by the cross account managed by the current account. CrossAccountRoleName pulumi.StringPtrOutput `pulumi:"crossAccountRoleName"` // The type of the cross account backup. Valid values: `SELF_ACCOUNT`, `CROSS_ACCOUNT`. CrossAccountType pulumi.StringOutput `pulumi:"crossAccountType"` // The original account ID of the cross account backup managed by the current account. CrossAccountUserId pulumi.IntPtrOutput `pulumi:"crossAccountUserId"` // The exclude path. **NOTE:** Invalid while sourceType equals `OSS` or `NAS`. It's a json string with format:`["/excludePath]`, up to 255 characters. **WARNING:** If this value filled in incorrectly, the task may not start correctly, so please check the parameters before executing the plan. Exclude pulumi.StringPtrOutput `pulumi:"exclude"` // The include path. **NOTE:** Invalid while sourceType equals `OSS` or `NAS`. It's a json string with format:`["/includePath"]`, Up to 255 characters. **WARNING:** The field is required while sourceType equals `OTS_TABLE` which means source table name. If this value filled in incorrectly, the task may not start correctly, so please check the parameters before executing the plan. Include pulumi.StringPtrOutput `pulumi:"include"` // Recovery options. **NOTE:** Required while sourceType equals `OSS` or `NAS`, invalid while sourceType equals `ECS_FILE`. It's a json string with format:`"{"includes":[],"excludes":[]}",`. Recovery options. When restores OTS_TABLE and real target time is the rangEnd time of the snapshot, it should be a string with format: `{"UI_TargetTime":1650032529018}`. Options pulumi.StringPtrOutput `pulumi:"options"` // The details about the Tablestore instance. See the following `Block otsDetail`. OtsDetail RestoreJobOtsDetailOutput `pulumi:"otsDetail"` // Restore Job ID. It's the unique key of this resource, if you want to set this argument by yourself, you must specify a unique keyword that never appears. RestoreJobId pulumi.StringOutput `pulumi:"restoreJobId"` // The type of recovery destination. Valid values: `ECS_FILE`, `NAS`, `OSS`,`OTS_TABLE`,`UDM_ECS_ROLLBACK`. **Note**: Currently, there is a one-to-one correspondence between the data source type with the recovery destination type. RestoreType pulumi.StringOutput `pulumi:"restoreType"` // The hashcode of Snapshot. SnapshotHash pulumi.StringOutput `pulumi:"snapshotHash"` // The ID of Snapshot. SnapshotId pulumi.StringOutput `pulumi:"snapshotId"` // The type of data source. Valid values: `ECS_FILE`, `NAS`, `OSS`,`OTS_TABLE`,`UDM_ECS`. SourceType pulumi.StringOutput `pulumi:"sourceType"` // The Restore Job Status. Status pulumi.StringOutput `pulumi:"status"` // The target name of OSS bucket. **NOTE:** Required while sourceType equals `OSS`, TargetBucket pulumi.StringPtrOutput `pulumi:"targetBucket"` // The target client ID. TargetClientId pulumi.StringPtrOutput `pulumi:"targetClientId"` // The creation time of destination File System. **NOTE:** While sourceType equals `NAS`, this parameter must be set. **Note:** The time format of the API adopts the ISO 8601 format, such as `2021-07-09T15:45:30CST` or `2021-07-09T07:45:30Z`. TargetCreateTime pulumi.StringPtrOutput `pulumi:"targetCreateTime"` // The target data source ID. TargetDataSourceId pulumi.StringPtrOutput `pulumi:"targetDataSourceId"` // The ID of destination File System. **NOTE:** Required while sourceType equals `NAS` TargetFileSystemId pulumi.StringPtrOutput `pulumi:"targetFileSystemId"` // The target ID of ECS instance. **NOTE:** Required while sourceType equals `ECS_FILE` TargetInstanceId pulumi.StringPtrOutput `pulumi:"targetInstanceId"` // The name of the Table store instance to which you want to restore data.**WARNING:** Required while sourceType equals `OTS_TABLE`. TargetInstanceName pulumi.StringPtrOutput `pulumi:"targetInstanceName"` // The target file path of (ECS) instance. **WARNING:** Required while sourceType equals `NAS` or `ECS_FILE`, If this value filled in incorrectly, the task may not start correctly, so please check the parameters before executing the plan. TargetPath pulumi.StringPtrOutput `pulumi:"targetPath"` // The target prefix of the OSS object. **WARNING:** Required while sourceType equals `OSS`. If this value filled in incorrectly, the task may not start correctly, so please check the parameters before executing the plan. TargetPrefix pulumi.StringPtrOutput `pulumi:"targetPrefix"` // The name of the table that stores the restored data. **WARNING:** Required while sourceType equals `OTS_TABLE`. TargetTableName pulumi.StringPtrOutput `pulumi:"targetTableName"` // The time when data is restored to the Table store instance. This value is a UNIX timestamp. Unit: seconds. **WARNING:** Required while sourceType equals `OTS_TABLE`. **Note:** The time when data is restored to the Tablestore instance. It should be 0 if restores data at the End time of the snapshot. TargetTime pulumi.StringPtrOutput `pulumi:"targetTime"` // The full machine backup details. UdmDetail pulumi.StringPtrOutput `pulumi:"udmDetail"` // The ID of backup vault. VaultId pulumi.StringOutput `pulumi:"vaultId"` }
Provides a Hybrid Backup Recovery (HBR) Restore Job resource.
For information about Hybrid Backup Recovery (HBR) Restore Job and how to use it, see [What is Restore Job](https://www.alibabacloud.com/help/doc-detail/186575.htm).
> **NOTE:** Available in v1.133.0+.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/hbr" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/hbr"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { defaultEcsBackupPlans, err := hbr.GetEcsBackupPlans(ctx, &hbr.GetEcsBackupPlansArgs{ NameRegex: pulumi.StringRef("plan-tf-used-dont-delete"), }, nil) if err != nil { return err } defaultOssBackupPlans, err := hbr.GetOssBackupPlans(ctx, &hbr.GetOssBackupPlansArgs{ NameRegex: pulumi.StringRef("plan-tf-used-dont-delete"), }, nil) if err != nil { return err } defaultNasBackupPlans, err := hbr.GetNasBackupPlans(ctx, &hbr.GetNasBackupPlansArgs{ NameRegex: pulumi.StringRef("plan-tf-used-dont-delete"), }, nil) if err != nil { return err } ecsSnapshots, err := hbr.GetSnapshots(ctx, &hbr.GetSnapshotsArgs{ SourceType: "ECS_FILE", VaultId: defaultEcsBackupPlans.Plans[0].VaultId, InstanceId: pulumi.StringRef(defaultEcsBackupPlans.Plans[0].InstanceId), }, nil) if err != nil { return err } ossSnapshots, err := hbr.GetSnapshots(ctx, &hbr.GetSnapshotsArgs{ SourceType: "OSS", VaultId: defaultOssBackupPlans.Plans[0].VaultId, Bucket: pulumi.StringRef(defaultOssBackupPlans.Plans[0].Bucket), }, nil) if err != nil { return err } nasSnapshots, err := hbr.GetSnapshots(ctx, &hbr.GetSnapshotsArgs{ SourceType: "NAS", VaultId: defaultNasBackupPlans.Plans[0].VaultId, FileSystemId: pulumi.StringRef(defaultNasBackupPlans.Plans[0].FileSystemId), CreateTime: pulumi.StringRef(defaultNasBackupPlans.Plans[0].CreateTime), }, nil) if err != nil { return err } _, err = hbr.NewRestoreJob(ctx, "nasJob", &hbr.RestoreJobArgs{ SnapshotHash: pulumi.String(nasSnapshots.Snapshots[0].SnapshotHash), VaultId: pulumi.String(defaultNasBackupPlans.Plans[0].VaultId), SourceType: pulumi.String("NAS"), RestoreType: pulumi.String("NAS"), SnapshotId: pulumi.String(nasSnapshots.Snapshots[0].SnapshotId), TargetFileSystemId: pulumi.String(defaultNasBackupPlans.Plans[0].FileSystemId), TargetCreateTime: pulumi.String(defaultNasBackupPlans.Plans[0].CreateTime), TargetPath: pulumi.String("/"), Options: pulumi.String(" {\"includes\":[], \"excludes\":[]}\n"), }) if err != nil { return err } _, err = hbr.NewRestoreJob(ctx, "ossJob", &hbr.RestoreJobArgs{ SnapshotHash: pulumi.String(ossSnapshots.Snapshots[0].SnapshotHash), VaultId: pulumi.String(defaultOssBackupPlans.Plans[0].VaultId), SourceType: pulumi.String("OSS"), RestoreType: pulumi.String("OSS"), SnapshotId: pulumi.String(ossSnapshots.Snapshots[0].SnapshotId), TargetBucket: pulumi.String(defaultOssBackupPlans.Plans[0].Bucket), TargetPrefix: pulumi.String(""), Options: pulumi.String(" {\"includes\":[], \"excludes\":[]}\n"), }) if err != nil { return err } _, err = hbr.NewRestoreJob(ctx, "ecsJob", &hbr.RestoreJobArgs{ SnapshotHash: pulumi.String(ecsSnapshots.Snapshots[0].SnapshotHash), VaultId: pulumi.String(defaultEcsBackupPlans.Plans[0].VaultId), SourceType: pulumi.String("ECS_FILE"), RestoreType: pulumi.String("ECS_FILE"), SnapshotId: pulumi.String(ecsSnapshots.Snapshots[0].SnapshotId), TargetInstanceId: pulumi.String(defaultEcsBackupPlans.Plans[0].InstanceId), TargetPath: pulumi.String("/"), }) if err != nil { return err } return nil }) }
```
> **NOTE:** This resource can only be created, cannot be modified or deleted. Therefore, any modification of the resource attribute will not affect exist resource.
## Import
Hybrid Backup Recovery (HBR) Restore Job can be imported using the id. Format to `<restore_job_id>:<restore_type>`, e.g.
```sh
$ pulumi import alicloud:hbr/restoreJob:RestoreJob example your_restore_job_id:your_restore_type
```
func GetRestoreJob ¶
func GetRestoreJob(ctx *pulumi.Context, name string, id pulumi.IDInput, state *RestoreJobState, opts ...pulumi.ResourceOption) (*RestoreJob, error)
GetRestoreJob gets an existing RestoreJob 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 NewRestoreJob ¶
func NewRestoreJob(ctx *pulumi.Context, name string, args *RestoreJobArgs, opts ...pulumi.ResourceOption) (*RestoreJob, error)
NewRestoreJob registers a new resource with the given unique name, arguments, and options.
func (*RestoreJob) ElementType ¶
func (*RestoreJob) ElementType() reflect.Type
func (*RestoreJob) ToRestoreJobOutput ¶
func (i *RestoreJob) ToRestoreJobOutput() RestoreJobOutput
func (*RestoreJob) ToRestoreJobOutputWithContext ¶
func (i *RestoreJob) ToRestoreJobOutputWithContext(ctx context.Context) RestoreJobOutput
type RestoreJobArgs ¶
type RestoreJobArgs struct { // The role name created in the original account RAM backup by the cross account managed by the current account. CrossAccountRoleName pulumi.StringPtrInput // The type of the cross account backup. Valid values: `SELF_ACCOUNT`, `CROSS_ACCOUNT`. CrossAccountType pulumi.StringPtrInput // The original account ID of the cross account backup managed by the current account. CrossAccountUserId pulumi.IntPtrInput // The exclude path. **NOTE:** Invalid while sourceType equals `OSS` or `NAS`. It's a json string with format:`["/excludePath]`, up to 255 characters. **WARNING:** If this value filled in incorrectly, the task may not start correctly, so please check the parameters before executing the plan. Exclude pulumi.StringPtrInput // The include path. **NOTE:** Invalid while sourceType equals `OSS` or `NAS`. It's a json string with format:`["/includePath"]`, Up to 255 characters. **WARNING:** The field is required while sourceType equals `OTS_TABLE` which means source table name. If this value filled in incorrectly, the task may not start correctly, so please check the parameters before executing the plan. Include pulumi.StringPtrInput // Recovery options. **NOTE:** Required while sourceType equals `OSS` or `NAS`, invalid while sourceType equals `ECS_FILE`. It's a json string with format:`"{"includes":[],"excludes":[]}",`. Recovery options. When restores OTS_TABLE and real target time is the rangEnd time of the snapshot, it should be a string with format: `{"UI_TargetTime":1650032529018}`. Options pulumi.StringPtrInput // The details about the Tablestore instance. See the following `Block otsDetail`. OtsDetail RestoreJobOtsDetailPtrInput // Restore Job ID. It's the unique key of this resource, if you want to set this argument by yourself, you must specify a unique keyword that never appears. RestoreJobId pulumi.StringPtrInput // The type of recovery destination. Valid values: `ECS_FILE`, `NAS`, `OSS`,`OTS_TABLE`,`UDM_ECS_ROLLBACK`. **Note**: Currently, there is a one-to-one correspondence between the data source type with the recovery destination type. RestoreType pulumi.StringInput // The hashcode of Snapshot. SnapshotHash pulumi.StringInput // The ID of Snapshot. SnapshotId pulumi.StringInput // The type of data source. Valid values: `ECS_FILE`, `NAS`, `OSS`,`OTS_TABLE`,`UDM_ECS`. SourceType pulumi.StringInput // The target name of OSS bucket. **NOTE:** Required while sourceType equals `OSS`, TargetBucket pulumi.StringPtrInput // The target client ID. TargetClientId pulumi.StringPtrInput // The creation time of destination File System. **NOTE:** While sourceType equals `NAS`, this parameter must be set. **Note:** The time format of the API adopts the ISO 8601 format, such as `2021-07-09T15:45:30CST` or `2021-07-09T07:45:30Z`. TargetCreateTime pulumi.StringPtrInput // The target data source ID. TargetDataSourceId pulumi.StringPtrInput // The ID of destination File System. **NOTE:** Required while sourceType equals `NAS` TargetFileSystemId pulumi.StringPtrInput // The target ID of ECS instance. **NOTE:** Required while sourceType equals `ECS_FILE` TargetInstanceId pulumi.StringPtrInput // The name of the Table store instance to which you want to restore data.**WARNING:** Required while sourceType equals `OTS_TABLE`. TargetInstanceName pulumi.StringPtrInput // The target file path of (ECS) instance. **WARNING:** Required while sourceType equals `NAS` or `ECS_FILE`, If this value filled in incorrectly, the task may not start correctly, so please check the parameters before executing the plan. TargetPath pulumi.StringPtrInput // The target prefix of the OSS object. **WARNING:** Required while sourceType equals `OSS`. If this value filled in incorrectly, the task may not start correctly, so please check the parameters before executing the plan. TargetPrefix pulumi.StringPtrInput // The name of the table that stores the restored data. **WARNING:** Required while sourceType equals `OTS_TABLE`. TargetTableName pulumi.StringPtrInput // The time when data is restored to the Table store instance. This value is a UNIX timestamp. Unit: seconds. **WARNING:** Required while sourceType equals `OTS_TABLE`. **Note:** The time when data is restored to the Tablestore instance. It should be 0 if restores data at the End time of the snapshot. TargetTime pulumi.StringPtrInput // The full machine backup details. UdmDetail pulumi.StringPtrInput // The ID of backup vault. VaultId pulumi.StringInput }
The set of arguments for constructing a RestoreJob resource.
func (RestoreJobArgs) ElementType ¶
func (RestoreJobArgs) ElementType() reflect.Type
type RestoreJobArray ¶
type RestoreJobArray []RestoreJobInput
func (RestoreJobArray) ElementType ¶
func (RestoreJobArray) ElementType() reflect.Type
func (RestoreJobArray) ToRestoreJobArrayOutput ¶
func (i RestoreJobArray) ToRestoreJobArrayOutput() RestoreJobArrayOutput
func (RestoreJobArray) ToRestoreJobArrayOutputWithContext ¶
func (i RestoreJobArray) ToRestoreJobArrayOutputWithContext(ctx context.Context) RestoreJobArrayOutput
type RestoreJobArrayInput ¶
type RestoreJobArrayInput interface { pulumi.Input ToRestoreJobArrayOutput() RestoreJobArrayOutput ToRestoreJobArrayOutputWithContext(context.Context) RestoreJobArrayOutput }
RestoreJobArrayInput is an input type that accepts RestoreJobArray and RestoreJobArrayOutput values. You can construct a concrete instance of `RestoreJobArrayInput` via:
RestoreJobArray{ RestoreJobArgs{...} }
type RestoreJobArrayOutput ¶
type RestoreJobArrayOutput struct{ *pulumi.OutputState }
func (RestoreJobArrayOutput) ElementType ¶
func (RestoreJobArrayOutput) ElementType() reflect.Type
func (RestoreJobArrayOutput) Index ¶
func (o RestoreJobArrayOutput) Index(i pulumi.IntInput) RestoreJobOutput
func (RestoreJobArrayOutput) ToRestoreJobArrayOutput ¶
func (o RestoreJobArrayOutput) ToRestoreJobArrayOutput() RestoreJobArrayOutput
func (RestoreJobArrayOutput) ToRestoreJobArrayOutputWithContext ¶
func (o RestoreJobArrayOutput) ToRestoreJobArrayOutputWithContext(ctx context.Context) RestoreJobArrayOutput
type RestoreJobInput ¶
type RestoreJobInput interface { pulumi.Input ToRestoreJobOutput() RestoreJobOutput ToRestoreJobOutputWithContext(ctx context.Context) RestoreJobOutput }
type RestoreJobMap ¶
type RestoreJobMap map[string]RestoreJobInput
func (RestoreJobMap) ElementType ¶
func (RestoreJobMap) ElementType() reflect.Type
func (RestoreJobMap) ToRestoreJobMapOutput ¶
func (i RestoreJobMap) ToRestoreJobMapOutput() RestoreJobMapOutput
func (RestoreJobMap) ToRestoreJobMapOutputWithContext ¶
func (i RestoreJobMap) ToRestoreJobMapOutputWithContext(ctx context.Context) RestoreJobMapOutput
type RestoreJobMapInput ¶
type RestoreJobMapInput interface { pulumi.Input ToRestoreJobMapOutput() RestoreJobMapOutput ToRestoreJobMapOutputWithContext(context.Context) RestoreJobMapOutput }
RestoreJobMapInput is an input type that accepts RestoreJobMap and RestoreJobMapOutput values. You can construct a concrete instance of `RestoreJobMapInput` via:
RestoreJobMap{ "key": RestoreJobArgs{...} }
type RestoreJobMapOutput ¶
type RestoreJobMapOutput struct{ *pulumi.OutputState }
func (RestoreJobMapOutput) ElementType ¶
func (RestoreJobMapOutput) ElementType() reflect.Type
func (RestoreJobMapOutput) MapIndex ¶
func (o RestoreJobMapOutput) MapIndex(k pulumi.StringInput) RestoreJobOutput
func (RestoreJobMapOutput) ToRestoreJobMapOutput ¶
func (o RestoreJobMapOutput) ToRestoreJobMapOutput() RestoreJobMapOutput
func (RestoreJobMapOutput) ToRestoreJobMapOutputWithContext ¶
func (o RestoreJobMapOutput) ToRestoreJobMapOutputWithContext(ctx context.Context) RestoreJobMapOutput
type RestoreJobOtsDetail ¶
type RestoreJobOtsDetail struct { // Whether to overwrite the existing table storage recovery task. Valid values: `true`, `false`. OverwriteExisting *bool `pulumi:"overwriteExisting"` }
type RestoreJobOtsDetailArgs ¶
type RestoreJobOtsDetailArgs struct { // Whether to overwrite the existing table storage recovery task. Valid values: `true`, `false`. OverwriteExisting pulumi.BoolPtrInput `pulumi:"overwriteExisting"` }
func (RestoreJobOtsDetailArgs) ElementType ¶
func (RestoreJobOtsDetailArgs) ElementType() reflect.Type
func (RestoreJobOtsDetailArgs) ToRestoreJobOtsDetailOutput ¶
func (i RestoreJobOtsDetailArgs) ToRestoreJobOtsDetailOutput() RestoreJobOtsDetailOutput
func (RestoreJobOtsDetailArgs) ToRestoreJobOtsDetailOutputWithContext ¶
func (i RestoreJobOtsDetailArgs) ToRestoreJobOtsDetailOutputWithContext(ctx context.Context) RestoreJobOtsDetailOutput
func (RestoreJobOtsDetailArgs) ToRestoreJobOtsDetailPtrOutput ¶
func (i RestoreJobOtsDetailArgs) ToRestoreJobOtsDetailPtrOutput() RestoreJobOtsDetailPtrOutput
func (RestoreJobOtsDetailArgs) ToRestoreJobOtsDetailPtrOutputWithContext ¶
func (i RestoreJobOtsDetailArgs) ToRestoreJobOtsDetailPtrOutputWithContext(ctx context.Context) RestoreJobOtsDetailPtrOutput
type RestoreJobOtsDetailInput ¶
type RestoreJobOtsDetailInput interface { pulumi.Input ToRestoreJobOtsDetailOutput() RestoreJobOtsDetailOutput ToRestoreJobOtsDetailOutputWithContext(context.Context) RestoreJobOtsDetailOutput }
RestoreJobOtsDetailInput is an input type that accepts RestoreJobOtsDetailArgs and RestoreJobOtsDetailOutput values. You can construct a concrete instance of `RestoreJobOtsDetailInput` via:
RestoreJobOtsDetailArgs{...}
type RestoreJobOtsDetailOutput ¶
type RestoreJobOtsDetailOutput struct{ *pulumi.OutputState }
func (RestoreJobOtsDetailOutput) ElementType ¶
func (RestoreJobOtsDetailOutput) ElementType() reflect.Type
func (RestoreJobOtsDetailOutput) OverwriteExisting ¶
func (o RestoreJobOtsDetailOutput) OverwriteExisting() pulumi.BoolPtrOutput
Whether to overwrite the existing table storage recovery task. Valid values: `true`, `false`.
func (RestoreJobOtsDetailOutput) ToRestoreJobOtsDetailOutput ¶
func (o RestoreJobOtsDetailOutput) ToRestoreJobOtsDetailOutput() RestoreJobOtsDetailOutput
func (RestoreJobOtsDetailOutput) ToRestoreJobOtsDetailOutputWithContext ¶
func (o RestoreJobOtsDetailOutput) ToRestoreJobOtsDetailOutputWithContext(ctx context.Context) RestoreJobOtsDetailOutput
func (RestoreJobOtsDetailOutput) ToRestoreJobOtsDetailPtrOutput ¶
func (o RestoreJobOtsDetailOutput) ToRestoreJobOtsDetailPtrOutput() RestoreJobOtsDetailPtrOutput
func (RestoreJobOtsDetailOutput) ToRestoreJobOtsDetailPtrOutputWithContext ¶
func (o RestoreJobOtsDetailOutput) ToRestoreJobOtsDetailPtrOutputWithContext(ctx context.Context) RestoreJobOtsDetailPtrOutput
type RestoreJobOtsDetailPtrInput ¶
type RestoreJobOtsDetailPtrInput interface { pulumi.Input ToRestoreJobOtsDetailPtrOutput() RestoreJobOtsDetailPtrOutput ToRestoreJobOtsDetailPtrOutputWithContext(context.Context) RestoreJobOtsDetailPtrOutput }
RestoreJobOtsDetailPtrInput is an input type that accepts RestoreJobOtsDetailArgs, RestoreJobOtsDetailPtr and RestoreJobOtsDetailPtrOutput values. You can construct a concrete instance of `RestoreJobOtsDetailPtrInput` via:
RestoreJobOtsDetailArgs{...} or: nil
func RestoreJobOtsDetailPtr ¶
func RestoreJobOtsDetailPtr(v *RestoreJobOtsDetailArgs) RestoreJobOtsDetailPtrInput
type RestoreJobOtsDetailPtrOutput ¶
type RestoreJobOtsDetailPtrOutput struct{ *pulumi.OutputState }
func (RestoreJobOtsDetailPtrOutput) Elem ¶
func (o RestoreJobOtsDetailPtrOutput) Elem() RestoreJobOtsDetailOutput
func (RestoreJobOtsDetailPtrOutput) ElementType ¶
func (RestoreJobOtsDetailPtrOutput) ElementType() reflect.Type
func (RestoreJobOtsDetailPtrOutput) OverwriteExisting ¶
func (o RestoreJobOtsDetailPtrOutput) OverwriteExisting() pulumi.BoolPtrOutput
Whether to overwrite the existing table storage recovery task. Valid values: `true`, `false`.
func (RestoreJobOtsDetailPtrOutput) ToRestoreJobOtsDetailPtrOutput ¶
func (o RestoreJobOtsDetailPtrOutput) ToRestoreJobOtsDetailPtrOutput() RestoreJobOtsDetailPtrOutput
func (RestoreJobOtsDetailPtrOutput) ToRestoreJobOtsDetailPtrOutputWithContext ¶
func (o RestoreJobOtsDetailPtrOutput) ToRestoreJobOtsDetailPtrOutputWithContext(ctx context.Context) RestoreJobOtsDetailPtrOutput
type RestoreJobOutput ¶
type RestoreJobOutput struct{ *pulumi.OutputState }
func (RestoreJobOutput) CrossAccountRoleName ¶
func (o RestoreJobOutput) CrossAccountRoleName() pulumi.StringPtrOutput
The role name created in the original account RAM backup by the cross account managed by the current account.
func (RestoreJobOutput) CrossAccountType ¶
func (o RestoreJobOutput) CrossAccountType() pulumi.StringOutput
The type of the cross account backup. Valid values: `SELF_ACCOUNT`, `CROSS_ACCOUNT`.
func (RestoreJobOutput) CrossAccountUserId ¶
func (o RestoreJobOutput) CrossAccountUserId() pulumi.IntPtrOutput
The original account ID of the cross account backup managed by the current account.
func (RestoreJobOutput) ElementType ¶
func (RestoreJobOutput) ElementType() reflect.Type
func (RestoreJobOutput) Exclude ¶
func (o RestoreJobOutput) Exclude() pulumi.StringPtrOutput
The exclude path. **NOTE:** Invalid while sourceType equals `OSS` or `NAS`. It's a json string with format:`["/excludePath]`, up to 255 characters. **WARNING:** If this value filled in incorrectly, the task may not start correctly, so please check the parameters before executing the plan.
func (RestoreJobOutput) Include ¶
func (o RestoreJobOutput) Include() pulumi.StringPtrOutput
The include path. **NOTE:** Invalid while sourceType equals `OSS` or `NAS`. It's a json string with format:`["/includePath"]`, Up to 255 characters. **WARNING:** The field is required while sourceType equals `OTS_TABLE` which means source table name. If this value filled in incorrectly, the task may not start correctly, so please check the parameters before executing the plan.
func (RestoreJobOutput) Options ¶
func (o RestoreJobOutput) Options() pulumi.StringPtrOutput
Recovery options. **NOTE:** Required while sourceType equals `OSS` or `NAS`, invalid while sourceType equals `ECS_FILE`. It's a json string with format:`"{"includes":[],"excludes":[]}",`. Recovery options. When restores OTS_TABLE and real target time is the rangEnd time of the snapshot, it should be a string with format: `{"UI_TargetTime":1650032529018}`.
func (RestoreJobOutput) OtsDetail ¶
func (o RestoreJobOutput) OtsDetail() RestoreJobOtsDetailOutput
The details about the Tablestore instance. See the following `Block otsDetail`.
func (RestoreJobOutput) RestoreJobId ¶
func (o RestoreJobOutput) RestoreJobId() pulumi.StringOutput
Restore Job ID. It's the unique key of this resource, if you want to set this argument by yourself, you must specify a unique keyword that never appears.
func (RestoreJobOutput) RestoreType ¶
func (o RestoreJobOutput) RestoreType() pulumi.StringOutput
The type of recovery destination. Valid values: `ECS_FILE`, `NAS`, `OSS`,`OTS_TABLE`,`UDM_ECS_ROLLBACK`. **Note**: Currently, there is a one-to-one correspondence between the data source type with the recovery destination type.
func (RestoreJobOutput) SnapshotHash ¶
func (o RestoreJobOutput) SnapshotHash() pulumi.StringOutput
The hashcode of Snapshot.
func (RestoreJobOutput) SnapshotId ¶
func (o RestoreJobOutput) SnapshotId() pulumi.StringOutput
The ID of Snapshot.
func (RestoreJobOutput) SourceType ¶
func (o RestoreJobOutput) SourceType() pulumi.StringOutput
The type of data source. Valid values: `ECS_FILE`, `NAS`, `OSS`,`OTS_TABLE`,`UDM_ECS`.
func (RestoreJobOutput) Status ¶
func (o RestoreJobOutput) Status() pulumi.StringOutput
The Restore Job Status.
func (RestoreJobOutput) TargetBucket ¶
func (o RestoreJobOutput) TargetBucket() pulumi.StringPtrOutput
The target name of OSS bucket. **NOTE:** Required while sourceType equals `OSS`,
func (RestoreJobOutput) TargetClientId ¶
func (o RestoreJobOutput) TargetClientId() pulumi.StringPtrOutput
The target client ID.
func (RestoreJobOutput) TargetCreateTime ¶
func (o RestoreJobOutput) TargetCreateTime() pulumi.StringPtrOutput
The creation time of destination File System. **NOTE:** While sourceType equals `NAS`, this parameter must be set. **Note:** The time format of the API adopts the ISO 8601 format, such as `2021-07-09T15:45:30CST` or `2021-07-09T07:45:30Z`.
func (RestoreJobOutput) TargetDataSourceId ¶
func (o RestoreJobOutput) TargetDataSourceId() pulumi.StringPtrOutput
The target data source ID.
func (RestoreJobOutput) TargetFileSystemId ¶
func (o RestoreJobOutput) TargetFileSystemId() pulumi.StringPtrOutput
The ID of destination File System. **NOTE:** Required while sourceType equals `NAS`
func (RestoreJobOutput) TargetInstanceId ¶
func (o RestoreJobOutput) TargetInstanceId() pulumi.StringPtrOutput
The target ID of ECS instance. **NOTE:** Required while sourceType equals `ECS_FILE`
func (RestoreJobOutput) TargetInstanceName ¶
func (o RestoreJobOutput) TargetInstanceName() pulumi.StringPtrOutput
The name of the Table store instance to which you want to restore data.**WARNING:** Required while sourceType equals `OTS_TABLE`.
func (RestoreJobOutput) TargetPath ¶
func (o RestoreJobOutput) TargetPath() pulumi.StringPtrOutput
The target file path of (ECS) instance. **WARNING:** Required while sourceType equals `NAS` or `ECS_FILE`, If this value filled in incorrectly, the task may not start correctly, so please check the parameters before executing the plan.
func (RestoreJobOutput) TargetPrefix ¶
func (o RestoreJobOutput) TargetPrefix() pulumi.StringPtrOutput
The target prefix of the OSS object. **WARNING:** Required while sourceType equals `OSS`. If this value filled in incorrectly, the task may not start correctly, so please check the parameters before executing the plan.
func (RestoreJobOutput) TargetTableName ¶
func (o RestoreJobOutput) TargetTableName() pulumi.StringPtrOutput
The name of the table that stores the restored data. **WARNING:** Required while sourceType equals `OTS_TABLE`.
func (RestoreJobOutput) TargetTime ¶
func (o RestoreJobOutput) TargetTime() pulumi.StringPtrOutput
The time when data is restored to the Table store instance. This value is a UNIX timestamp. Unit: seconds. **WARNING:** Required while sourceType equals `OTS_TABLE`. **Note:** The time when data is restored to the Tablestore instance. It should be 0 if restores data at the End time of the snapshot.
func (RestoreJobOutput) ToRestoreJobOutput ¶
func (o RestoreJobOutput) ToRestoreJobOutput() RestoreJobOutput
func (RestoreJobOutput) ToRestoreJobOutputWithContext ¶
func (o RestoreJobOutput) ToRestoreJobOutputWithContext(ctx context.Context) RestoreJobOutput
func (RestoreJobOutput) UdmDetail ¶
func (o RestoreJobOutput) UdmDetail() pulumi.StringPtrOutput
The full machine backup details.
func (RestoreJobOutput) VaultId ¶
func (o RestoreJobOutput) VaultId() pulumi.StringOutput
The ID of backup vault.
type RestoreJobState ¶
type RestoreJobState struct { // The role name created in the original account RAM backup by the cross account managed by the current account. CrossAccountRoleName pulumi.StringPtrInput // The type of the cross account backup. Valid values: `SELF_ACCOUNT`, `CROSS_ACCOUNT`. CrossAccountType pulumi.StringPtrInput // The original account ID of the cross account backup managed by the current account. CrossAccountUserId pulumi.IntPtrInput // The exclude path. **NOTE:** Invalid while sourceType equals `OSS` or `NAS`. It's a json string with format:`["/excludePath]`, up to 255 characters. **WARNING:** If this value filled in incorrectly, the task may not start correctly, so please check the parameters before executing the plan. Exclude pulumi.StringPtrInput // The include path. **NOTE:** Invalid while sourceType equals `OSS` or `NAS`. It's a json string with format:`["/includePath"]`, Up to 255 characters. **WARNING:** The field is required while sourceType equals `OTS_TABLE` which means source table name. If this value filled in incorrectly, the task may not start correctly, so please check the parameters before executing the plan. Include pulumi.StringPtrInput // Recovery options. **NOTE:** Required while sourceType equals `OSS` or `NAS`, invalid while sourceType equals `ECS_FILE`. It's a json string with format:`"{"includes":[],"excludes":[]}",`. Recovery options. When restores OTS_TABLE and real target time is the rangEnd time of the snapshot, it should be a string with format: `{"UI_TargetTime":1650032529018}`. Options pulumi.StringPtrInput // The details about the Tablestore instance. See the following `Block otsDetail`. OtsDetail RestoreJobOtsDetailPtrInput // Restore Job ID. It's the unique key of this resource, if you want to set this argument by yourself, you must specify a unique keyword that never appears. RestoreJobId pulumi.StringPtrInput // The type of recovery destination. Valid values: `ECS_FILE`, `NAS`, `OSS`,`OTS_TABLE`,`UDM_ECS_ROLLBACK`. **Note**: Currently, there is a one-to-one correspondence between the data source type with the recovery destination type. RestoreType pulumi.StringPtrInput // The hashcode of Snapshot. SnapshotHash pulumi.StringPtrInput // The ID of Snapshot. SnapshotId pulumi.StringPtrInput // The type of data source. Valid values: `ECS_FILE`, `NAS`, `OSS`,`OTS_TABLE`,`UDM_ECS`. SourceType pulumi.StringPtrInput // The Restore Job Status. Status pulumi.StringPtrInput // The target name of OSS bucket. **NOTE:** Required while sourceType equals `OSS`, TargetBucket pulumi.StringPtrInput // The target client ID. TargetClientId pulumi.StringPtrInput // The creation time of destination File System. **NOTE:** While sourceType equals `NAS`, this parameter must be set. **Note:** The time format of the API adopts the ISO 8601 format, such as `2021-07-09T15:45:30CST` or `2021-07-09T07:45:30Z`. TargetCreateTime pulumi.StringPtrInput // The target data source ID. TargetDataSourceId pulumi.StringPtrInput // The ID of destination File System. **NOTE:** Required while sourceType equals `NAS` TargetFileSystemId pulumi.StringPtrInput // The target ID of ECS instance. **NOTE:** Required while sourceType equals `ECS_FILE` TargetInstanceId pulumi.StringPtrInput // The name of the Table store instance to which you want to restore data.**WARNING:** Required while sourceType equals `OTS_TABLE`. TargetInstanceName pulumi.StringPtrInput // The target file path of (ECS) instance. **WARNING:** Required while sourceType equals `NAS` or `ECS_FILE`, If this value filled in incorrectly, the task may not start correctly, so please check the parameters before executing the plan. TargetPath pulumi.StringPtrInput // The target prefix of the OSS object. **WARNING:** Required while sourceType equals `OSS`. If this value filled in incorrectly, the task may not start correctly, so please check the parameters before executing the plan. TargetPrefix pulumi.StringPtrInput // The name of the table that stores the restored data. **WARNING:** Required while sourceType equals `OTS_TABLE`. TargetTableName pulumi.StringPtrInput // The time when data is restored to the Table store instance. This value is a UNIX timestamp. Unit: seconds. **WARNING:** Required while sourceType equals `OTS_TABLE`. **Note:** The time when data is restored to the Tablestore instance. It should be 0 if restores data at the End time of the snapshot. TargetTime pulumi.StringPtrInput // The full machine backup details. UdmDetail pulumi.StringPtrInput // The ID of backup vault. VaultId pulumi.StringPtrInput }
func (RestoreJobState) ElementType ¶
func (RestoreJobState) ElementType() reflect.Type
type ServerBackupPlan ¶
type ServerBackupPlan struct { pulumi.CustomResourceState // ECS server backup plan details. Details ServerBackupPlanDetailArrayOutput `pulumi:"details"` // Whether to disable the backup task. Valid values: `true`, `false`. Disabled pulumi.BoolOutput `pulumi:"disabled"` // The name of the backup plan. 1~64 characters, the backup plan name of each data source type in a single warehouse required to be unique. EcsServerBackupPlanName pulumi.StringOutput `pulumi:"ecsServerBackupPlanName"` // The ID of ECS instance. InstanceId pulumi.StringOutput `pulumi:"instanceId"` // Backup retention days, the minimum is 1. Retention pulumi.IntOutput `pulumi:"retention"` // Backup strategy. Optional format: `I|{startTime}|{interval}` Schedule pulumi.StringOutput `pulumi:"schedule"` }
Provides a Hybrid Backup Recovery (HBR) Server Backup Plan resource.
For information about Hybrid Backup Recovery (HBR) Server Backup Plan and how to use it, see [What is Server Backup Plan](https://www.alibabacloud.com/help/doc-detail/211140.htm).
> **NOTE:** Available in v1.142.0+.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/ecs" "github.com/pulumi/pulumi-alicloud/sdk/go/alicloud/hbr" "github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/ecs" "github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/hbr"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _default, err := ecs.GetInstances(ctx, &ecs.GetInstancesArgs{ NameRegex: pulumi.StringRef("no-deleteing-hbr-ecs-server-backup-plan"), Status: pulumi.StringRef("Running"), }, nil) if err != nil { return err } _, err = hbr.NewServerBackupPlan(ctx, "example", &hbr.ServerBackupPlanArgs{ EcsServerBackupPlanName: pulumi.String("server_backup_plan"), InstanceId: pulumi.String(_default.Instances[0].Id), Schedule: pulumi.String("I|1602673264|PT2H"), Retention: pulumi.Int(1), Details: hbr.ServerBackupPlanDetailArray{ &hbr.ServerBackupPlanDetailArgs{ AppConsistent: pulumi.Bool(true), SnapshotGroup: pulumi.Bool(true), }, }, Disabled: pulumi.Bool(false), }) if err != nil { return err } return nil }) }
```
## Import
Hybrid Backup Recovery (HBR) Server Backup Plan can be imported using the id, e.g.
```sh
$ pulumi import alicloud:hbr/serverBackupPlan:ServerBackupPlan example <id>
```
func GetServerBackupPlan ¶
func GetServerBackupPlan(ctx *pulumi.Context, name string, id pulumi.IDInput, state *ServerBackupPlanState, opts ...pulumi.ResourceOption) (*ServerBackupPlan, error)
GetServerBackupPlan gets an existing ServerBackupPlan 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 NewServerBackupPlan ¶
func NewServerBackupPlan(ctx *pulumi.Context, name string, args *ServerBackupPlanArgs, opts ...pulumi.ResourceOption) (*ServerBackupPlan, error)
NewServerBackupPlan registers a new resource with the given unique name, arguments, and options.
func (*ServerBackupPlan) ElementType ¶
func (*ServerBackupPlan) ElementType() reflect.Type
func (*ServerBackupPlan) ToServerBackupPlanOutput ¶
func (i *ServerBackupPlan) ToServerBackupPlanOutput() ServerBackupPlanOutput
func (*ServerBackupPlan) ToServerBackupPlanOutputWithContext ¶
func (i *ServerBackupPlan) ToServerBackupPlanOutputWithContext(ctx context.Context) ServerBackupPlanOutput
type ServerBackupPlanArgs ¶
type ServerBackupPlanArgs struct { // ECS server backup plan details. Details ServerBackupPlanDetailArrayInput // Whether to disable the backup task. Valid values: `true`, `false`. Disabled pulumi.BoolPtrInput // The name of the backup plan. 1~64 characters, the backup plan name of each data source type in a single warehouse required to be unique. EcsServerBackupPlanName pulumi.StringInput // The ID of ECS instance. InstanceId pulumi.StringInput // Backup retention days, the minimum is 1. Retention pulumi.IntInput // Backup strategy. Optional format: `I|{startTime}|{interval}` Schedule pulumi.StringInput }
The set of arguments for constructing a ServerBackupPlan resource.
func (ServerBackupPlanArgs) ElementType ¶
func (ServerBackupPlanArgs) ElementType() reflect.Type
type ServerBackupPlanArray ¶
type ServerBackupPlanArray []ServerBackupPlanInput
func (ServerBackupPlanArray) ElementType ¶
func (ServerBackupPlanArray) ElementType() reflect.Type
func (ServerBackupPlanArray) ToServerBackupPlanArrayOutput ¶
func (i ServerBackupPlanArray) ToServerBackupPlanArrayOutput() ServerBackupPlanArrayOutput
func (ServerBackupPlanArray) ToServerBackupPlanArrayOutputWithContext ¶
func (i ServerBackupPlanArray) ToServerBackupPlanArrayOutputWithContext(ctx context.Context) ServerBackupPlanArrayOutput
type ServerBackupPlanArrayInput ¶
type ServerBackupPlanArrayInput interface { pulumi.Input ToServerBackupPlanArrayOutput() ServerBackupPlanArrayOutput ToServerBackupPlanArrayOutputWithContext(context.Context) ServerBackupPlanArrayOutput }
ServerBackupPlanArrayInput is an input type that accepts ServerBackupPlanArray and ServerBackupPlanArrayOutput values. You can construct a concrete instance of `ServerBackupPlanArrayInput` via:
ServerBackupPlanArray{ ServerBackupPlanArgs{...} }
type ServerBackupPlanArrayOutput ¶
type ServerBackupPlanArrayOutput struct{ *pulumi.OutputState }
func (ServerBackupPlanArrayOutput) ElementType ¶
func (ServerBackupPlanArrayOutput) ElementType() reflect.Type
func (ServerBackupPlanArrayOutput) Index ¶
func (o ServerBackupPlanArrayOutput) Index(i pulumi.IntInput) ServerBackupPlanOutput
func (ServerBackupPlanArrayOutput) ToServerBackupPlanArrayOutput ¶
func (o ServerBackupPlanArrayOutput) ToServerBackupPlanArrayOutput() ServerBackupPlanArrayOutput
func (ServerBackupPlanArrayOutput) ToServerBackupPlanArrayOutputWithContext ¶
func (o ServerBackupPlanArrayOutput) ToServerBackupPlanArrayOutputWithContext(ctx context.Context) ServerBackupPlanArrayOutput
type ServerBackupPlanDetail ¶
type ServerBackupPlanDetail struct { // Whether to turn on application consistency. The application consistency snapshot backs up memory data and ongoing database transactions at the time of snapshot creation to ensure the consistency of application system data and database transactions. By applying consistent snapshots, there is no data damage or loss, so as to avoid log rollback during database startup and ensure that the application is in a consistent startup state. Valid values: `true`, `false`. AppConsistent bool `pulumi:"appConsistent"` // Only vaild when DoCopy is true. The destination region ID when replicating to another region. **Note:** Once you set a value of this property, you cannot set it to an empty string anymore. DestinationRegionId *string `pulumi:"destinationRegionId"` // Only vaild when DoCopy is true. The retention days of the destination backup. When not specified, the destination backup will be saved permanently. **Note:** Once you set a value of this property, you cannot set it to an empty string anymore. DestinationRetention *int `pulumi:"destinationRetention"` // The list of cloud disks to be backed up in the ECS instance. When not specified, a snapshot is executed for all the disks on the ECS instance. DiskIdLists []string `pulumi:"diskIdLists"` // Whether replicate to another region. Valid values: `true`, `false`. DoCopy *bool `pulumi:"doCopy"` // Only the Linux system is valid. Whether to use the Linux FsFreeze mechanism to ensure that the file system is read-only consistent before creating a storage snapshot. The default is True. Valid values: `true`, `false`. EnableFsFreeze *bool `pulumi:"enableFsFreeze"` // Only vaild for the linux system when AppConsistent is true. The application thaw script path (e.g. /tmp/postscript.sh). The postscript.sh script must meet the following conditions: in terms of permissions, only the root user as the owner has read, write, and execute permissions, that is, 700 permissions. In terms of content, the script content needs to be customized according to the application itself. This indicates that this parameter must be set when creating an application consistency snapshot for a Linux instance. If the script is set incorrectly (for example, permissions, save path, or file name are set incorrectly), the resulting snapshot is a file system consistency snapshot. PostScriptPath *string `pulumi:"postScriptPath"` // Only vaild for the linux system when AppConsistent is true. Apply the freeze script path (e.g. /tmp/prescript.sh). prescript.sh scripts must meet the following conditions: in terms of permissions, only root, as the owner, has read, write, and execute permissions, that is, 700 permissions. In terms of content, the script content needs to be customized according to the application itself. This indicates that this parameter must be set when creating an application consistency snapshot for a Linux instance. If the script is set incorrectly (for example, permissions, save path, or file name are set incorrectly), the resulting snapshot is a file system consistency snapshot. PreScriptPath *string `pulumi:"preScriptPath"` // Whether to turn on file system consistency. If SnapshotGroup is true, when AppConsistent is true but the relevant conditions are not met or AppConsistent is false, the resulting snapshot will be a file system consistency snapshot. The file system consistency ensures that the file system memory and disk information are synchronized at the time of snapshot creation, and the file system write operation is frozen to make the file system in a consistent state. The file system consistency snapshot can prevent the operating system from performing disk inspection and repair operations such as CHKDSK or fsck after restart. Valid values: `true`, `false`. SnapshotGroup bool `pulumi:"snapshotGroup"` // Only the Linux system is valid, and the IO freeze timeout period. The default is 30 seconds. TimeoutInSeconds *int `pulumi:"timeoutInSeconds"` }
type ServerBackupPlanDetailArgs ¶
type ServerBackupPlanDetailArgs struct { // Whether to turn on application consistency. The application consistency snapshot backs up memory data and ongoing database transactions at the time of snapshot creation to ensure the consistency of application system data and database transactions. By applying consistent snapshots, there is no data damage or loss, so as to avoid log rollback during database startup and ensure that the application is in a consistent startup state. Valid values: `true`, `false`. AppConsistent pulumi.BoolInput `pulumi:"appConsistent"` // Only vaild when DoCopy is true. The destination region ID when replicating to another region. **Note:** Once you set a value of this property, you cannot set it to an empty string anymore. DestinationRegionId pulumi.StringPtrInput `pulumi:"destinationRegionId"` // Only vaild when DoCopy is true. The retention days of the destination backup. When not specified, the destination backup will be saved permanently. **Note:** Once you set a value of this property, you cannot set it to an empty string anymore. DestinationRetention pulumi.IntPtrInput `pulumi:"destinationRetention"` // The list of cloud disks to be backed up in the ECS instance. When not specified, a snapshot is executed for all the disks on the ECS instance. DiskIdLists pulumi.StringArrayInput `pulumi:"diskIdLists"` // Whether replicate to another region. Valid values: `true`, `false`. DoCopy pulumi.BoolPtrInput `pulumi:"doCopy"` // Only the Linux system is valid. Whether to use the Linux FsFreeze mechanism to ensure that the file system is read-only consistent before creating a storage snapshot. The default is True. Valid values: `true`, `false`. EnableFsFreeze pulumi.BoolPtrInput `pulumi:"enableFsFreeze"` // Only vaild for the linux system when AppConsistent is true. The application thaw script path (e.g. /tmp/postscript.sh). The postscript.sh script must meet the following conditions: in terms of permissions, only the root user as the owner has read, write, and execute permissions, that is, 700 permissions. In terms of content, the script content needs to be customized according to the application itself. This indicates that this parameter must be set when creating an application consistency snapshot for a Linux instance. If the script is set incorrectly (for example, permissions, save path, or file name are set incorrectly), the resulting snapshot is a file system consistency snapshot. PostScriptPath pulumi.StringPtrInput `pulumi:"postScriptPath"` // Only vaild for the linux system when AppConsistent is true. Apply the freeze script path (e.g. /tmp/prescript.sh). prescript.sh scripts must meet the following conditions: in terms of permissions, only root, as the owner, has read, write, and execute permissions, that is, 700 permissions. In terms of content, the script content needs to be customized according to the application itself. This indicates that this parameter must be set when creating an application consistency snapshot for a Linux instance. If the script is set incorrectly (for example, permissions, save path, or file name are set incorrectly), the resulting snapshot is a file system consistency snapshot. PreScriptPath pulumi.StringPtrInput `pulumi:"preScriptPath"` // Whether to turn on file system consistency. If SnapshotGroup is true, when AppConsistent is true but the relevant conditions are not met or AppConsistent is false, the resulting snapshot will be a file system consistency snapshot. The file system consistency ensures that the file system memory and disk information are synchronized at the time of snapshot creation, and the file system write operation is frozen to make the file system in a consistent state. The file system consistency snapshot can prevent the operating system from performing disk inspection and repair operations such as CHKDSK or fsck after restart. Valid values: `true`, `false`. SnapshotGroup pulumi.BoolInput `pulumi:"snapshotGroup"` // Only the Linux system is valid, and the IO freeze timeout period. The default is 30 seconds. TimeoutInSeconds pulumi.IntPtrInput `pulumi:"timeoutInSeconds"` }
func (ServerBackupPlanDetailArgs) ElementType ¶
func (ServerBackupPlanDetailArgs) ElementType() reflect.Type
func (ServerBackupPlanDetailArgs) ToServerBackupPlanDetailOutput ¶
func (i ServerBackupPlanDetailArgs) ToServerBackupPlanDetailOutput() ServerBackupPlanDetailOutput
func (ServerBackupPlanDetailArgs) ToServerBackupPlanDetailOutputWithContext ¶
func (i ServerBackupPlanDetailArgs) ToServerBackupPlanDetailOutputWithContext(ctx context.Context) ServerBackupPlanDetailOutput
type ServerBackupPlanDetailArray ¶
type ServerBackupPlanDetailArray []ServerBackupPlanDetailInput
func (ServerBackupPlanDetailArray) ElementType ¶
func (ServerBackupPlanDetailArray) ElementType() reflect.Type
func (ServerBackupPlanDetailArray) ToServerBackupPlanDetailArrayOutput ¶
func (i ServerBackupPlanDetailArray) ToServerBackupPlanDetailArrayOutput() ServerBackupPlanDetailArrayOutput
func (ServerBackupPlanDetailArray) ToServerBackupPlanDetailArrayOutputWithContext ¶
func (i ServerBackupPlanDetailArray) ToServerBackupPlanDetailArrayOutputWithContext(ctx context.Context) ServerBackupPlanDetailArrayOutput
type ServerBackupPlanDetailArrayInput ¶
type ServerBackupPlanDetailArrayInput interface { pulumi.Input ToServerBackupPlanDetailArrayOutput() ServerBackupPlanDetailArrayOutput ToServerBackupPlanDetailArrayOutputWithContext(context.Context) ServerBackupPlanDetailArrayOutput }
ServerBackupPlanDetailArrayInput is an input type that accepts ServerBackupPlanDetailArray and ServerBackupPlanDetailArrayOutput values. You can construct a concrete instance of `ServerBackupPlanDetailArrayInput` via:
ServerBackupPlanDetailArray{ ServerBackupPlanDetailArgs{...} }
type ServerBackupPlanDetailArrayOutput ¶
type ServerBackupPlanDetailArrayOutput struct{ *pulumi.OutputState }
func (ServerBackupPlanDetailArrayOutput) ElementType ¶
func (ServerBackupPlanDetailArrayOutput) ElementType() reflect.Type
func (ServerBackupPlanDetailArrayOutput) Index ¶
func (o ServerBackupPlanDetailArrayOutput) Index(i pulumi.IntInput) ServerBackupPlanDetailOutput
func (ServerBackupPlanDetailArrayOutput) ToServerBackupPlanDetailArrayOutput ¶
func (o ServerBackupPlanDetailArrayOutput) ToServerBackupPlanDetailArrayOutput() ServerBackupPlanDetailArrayOutput
func (ServerBackupPlanDetailArrayOutput) ToServerBackupPlanDetailArrayOutputWithContext ¶
func (o ServerBackupPlanDetailArrayOutput) ToServerBackupPlanDetailArrayOutputWithContext(ctx context.Context) ServerBackupPlanDetailArrayOutput
type ServerBackupPlanDetailInput ¶
type ServerBackupPlanDetailInput interface { pulumi.Input ToServerBackupPlanDetailOutput() ServerBackupPlanDetailOutput ToServerBackupPlanDetailOutputWithContext(context.Context) ServerBackupPlanDetailOutput }
ServerBackupPlanDetailInput is an input type that accepts ServerBackupPlanDetailArgs and ServerBackupPlanDetailOutput values. You can construct a concrete instance of `ServerBackupPlanDetailInput` via:
ServerBackupPlanDetailArgs{...}
type ServerBackupPlanDetailOutput ¶
type ServerBackupPlanDetailOutput struct{ *pulumi.OutputState }
func (ServerBackupPlanDetailOutput) AppConsistent ¶
func (o ServerBackupPlanDetailOutput) AppConsistent() pulumi.BoolOutput
Whether to turn on application consistency. The application consistency snapshot backs up memory data and ongoing database transactions at the time of snapshot creation to ensure the consistency of application system data and database transactions. By applying consistent snapshots, there is no data damage or loss, so as to avoid log rollback during database startup and ensure that the application is in a consistent startup state. Valid values: `true`, `false`.
func (ServerBackupPlanDetailOutput) DestinationRegionId ¶
func (o ServerBackupPlanDetailOutput) DestinationRegionId() pulumi.StringPtrOutput
Only vaild when DoCopy is true. The destination region ID when replicating to another region. **Note:** Once you set a value of this property, you cannot set it to an empty string anymore.
func (ServerBackupPlanDetailOutput) DestinationRetention ¶
func (o ServerBackupPlanDetailOutput) DestinationRetention() pulumi.IntPtrOutput
Only vaild when DoCopy is true. The retention days of the destination backup. When not specified, the destination backup will be saved permanently. **Note:** Once you set a value of this property, you cannot set it to an empty string anymore.
func (ServerBackupPlanDetailOutput) DiskIdLists ¶
func (o ServerBackupPlanDetailOutput) DiskIdLists() pulumi.StringArrayOutput
The list of cloud disks to be backed up in the ECS instance. When not specified, a snapshot is executed for all the disks on the ECS instance.
func (ServerBackupPlanDetailOutput) DoCopy ¶
func (o ServerBackupPlanDetailOutput) DoCopy() pulumi.BoolPtrOutput
Whether replicate to another region. Valid values: `true`, `false`.
func (ServerBackupPlanDetailOutput) ElementType ¶
func (ServerBackupPlanDetailOutput) ElementType() reflect.Type
func (ServerBackupPlanDetailOutput) EnableFsFreeze ¶
func (o ServerBackupPlanDetailOutput) EnableFsFreeze() pulumi.BoolPtrOutput
Only the Linux system is valid. Whether to use the Linux FsFreeze mechanism to ensure that the file system is read-only consistent before creating a storage snapshot. The default is True. Valid values: `true`, `false`.
func (ServerBackupPlanDetailOutput) PostScriptPath ¶
func (o ServerBackupPlanDetailOutput) PostScriptPath() pulumi.StringPtrOutput
Only vaild for the linux system when AppConsistent is true. The application thaw script path (e.g. /tmp/postscript.sh). The postscript.sh script must meet the following conditions: in terms of permissions, only the root user as the owner has read, write, and execute permissions, that is, 700 permissions. In terms of content, the script content needs to be customized according to the application itself. This indicates that this parameter must be set when creating an application consistency snapshot for a Linux instance. If the script is set incorrectly (for example, permissions, save path, or file name are set incorrectly), the resulting snapshot is a file system consistency snapshot.
func (ServerBackupPlanDetailOutput) PreScriptPath ¶
func (o ServerBackupPlanDetailOutput) PreScriptPath() pulumi.StringPtrOutput
Only vaild for the linux system when AppConsistent is true. Apply the freeze script path (e.g. /tmp/prescript.sh). prescript.sh scripts must meet the following conditions: in terms of permissions, only root, as the owner, has read, write, and execute permissions, that is, 700 permissions. In terms of content, the script content needs to be customized according to the application itself. This indicates that this parameter must be set when creating an application consistency snapshot for a Linux instance. If the script is set incorrectly (for example, permissions, save path, or file name are set incorrectly), the resulting snapshot is a file system consistency snapshot.
func (ServerBackupPlanDetailOutput) SnapshotGroup ¶
func (o ServerBackupPlanDetailOutput) SnapshotGroup() pulumi.BoolOutput
Whether to turn on file system consistency. If SnapshotGroup is true, when AppConsistent is true but the relevant conditions are not met or AppConsistent is false, the resulting snapshot will be a file system consistency snapshot. The file system consistency ensures that the file system memory and disk information are synchronized at the time of snapshot creation, and the file system write operation is frozen to make the file system in a consistent state. The file system consistency snapshot can prevent the operating system from performing disk inspection and repair operations such as CHKDSK or fsck after restart. Valid values: `true`, `false`.
func (ServerBackupPlanDetailOutput) TimeoutInSeconds ¶
func (o ServerBackupPlanDetailOutput) TimeoutInSeconds() pulumi.IntPtrOutput
Only the Linux system is valid, and the IO freeze timeout period. The default is 30 seconds.
func (ServerBackupPlanDetailOutput) ToServerBackupPlanDetailOutput ¶
func (o ServerBackupPlanDetailOutput) ToServerBackupPlanDetailOutput() ServerBackupPlanDetailOutput
func (ServerBackupPlanDetailOutput) ToServerBackupPlanDetailOutputWithContext ¶
func (o ServerBackupPlanDetailOutput) ToServerBackupPlanDetailOutputWithContext(ctx context.Context) ServerBackupPlanDetailOutput
type ServerBackupPlanInput ¶
type ServerBackupPlanInput interface { pulumi.Input ToServerBackupPlanOutput() ServerBackupPlanOutput ToServerBackupPlanOutputWithContext(ctx context.Context) ServerBackupPlanOutput }
type ServerBackupPlanMap ¶
type ServerBackupPlanMap map[string]ServerBackupPlanInput
func (ServerBackupPlanMap) ElementType ¶
func (ServerBackupPlanMap) ElementType() reflect.Type
func (ServerBackupPlanMap) ToServerBackupPlanMapOutput ¶
func (i ServerBackupPlanMap) ToServerBackupPlanMapOutput() ServerBackupPlanMapOutput
func (ServerBackupPlanMap) ToServerBackupPlanMapOutputWithContext ¶
func (i ServerBackupPlanMap) ToServerBackupPlanMapOutputWithContext(ctx context.Context) ServerBackupPlanMapOutput
type ServerBackupPlanMapInput ¶
type ServerBackupPlanMapInput interface { pulumi.Input ToServerBackupPlanMapOutput() ServerBackupPlanMapOutput ToServerBackupPlanMapOutputWithContext(context.Context) ServerBackupPlanMapOutput }
ServerBackupPlanMapInput is an input type that accepts ServerBackupPlanMap and ServerBackupPlanMapOutput values. You can construct a concrete instance of `ServerBackupPlanMapInput` via:
ServerBackupPlanMap{ "key": ServerBackupPlanArgs{...} }
type ServerBackupPlanMapOutput ¶
type ServerBackupPlanMapOutput struct{ *pulumi.OutputState }
func (ServerBackupPlanMapOutput) ElementType ¶
func (ServerBackupPlanMapOutput) ElementType() reflect.Type
func (ServerBackupPlanMapOutput) MapIndex ¶
func (o ServerBackupPlanMapOutput) MapIndex(k pulumi.StringInput) ServerBackupPlanOutput
func (ServerBackupPlanMapOutput) ToServerBackupPlanMapOutput ¶
func (o ServerBackupPlanMapOutput) ToServerBackupPlanMapOutput() ServerBackupPlanMapOutput
func (ServerBackupPlanMapOutput) ToServerBackupPlanMapOutputWithContext ¶
func (o ServerBackupPlanMapOutput) ToServerBackupPlanMapOutputWithContext(ctx context.Context) ServerBackupPlanMapOutput
type ServerBackupPlanOutput ¶
type ServerBackupPlanOutput struct{ *pulumi.OutputState }
func (ServerBackupPlanOutput) Details ¶
func (o ServerBackupPlanOutput) Details() ServerBackupPlanDetailArrayOutput
ECS server backup plan details.
func (ServerBackupPlanOutput) Disabled ¶
func (o ServerBackupPlanOutput) Disabled() pulumi.BoolOutput
Whether to disable the backup task. Valid values: `true`, `false`.
func (ServerBackupPlanOutput) EcsServerBackupPlanName ¶
func (o ServerBackupPlanOutput) EcsServerBackupPlanName() pulumi.StringOutput
The name of the backup plan. 1~64 characters, the backup plan name of each data source type in a single warehouse required to be unique.
func (ServerBackupPlanOutput) ElementType ¶
func (ServerBackupPlanOutput) ElementType() reflect.Type
func (ServerBackupPlanOutput) InstanceId ¶
func (o ServerBackupPlanOutput) InstanceId() pulumi.StringOutput
The ID of ECS instance.
func (ServerBackupPlanOutput) Retention ¶
func (o ServerBackupPlanOutput) Retention() pulumi.IntOutput
Backup retention days, the minimum is 1.
func (ServerBackupPlanOutput) Schedule ¶
func (o ServerBackupPlanOutput) Schedule() pulumi.StringOutput
Backup strategy. Optional format: `I|{startTime}|{interval}`
func (ServerBackupPlanOutput) ToServerBackupPlanOutput ¶
func (o ServerBackupPlanOutput) ToServerBackupPlanOutput() ServerBackupPlanOutput
func (ServerBackupPlanOutput) ToServerBackupPlanOutputWithContext ¶
func (o ServerBackupPlanOutput) ToServerBackupPlanOutputWithContext(ctx context.Context) ServerBackupPlanOutput
type ServerBackupPlanState ¶
type ServerBackupPlanState struct { // ECS server backup plan details. Details ServerBackupPlanDetailArrayInput // Whether to disable the backup task. Valid values: `true`, `false`. Disabled pulumi.BoolPtrInput // The name of the backup plan. 1~64 characters, the backup plan name of each data source type in a single warehouse required to be unique. EcsServerBackupPlanName pulumi.StringPtrInput // The ID of ECS instance. InstanceId pulumi.StringPtrInput // Backup retention days, the minimum is 1. Retention pulumi.IntPtrInput // Backup strategy. Optional format: `I|{startTime}|{interval}` Schedule pulumi.StringPtrInput }
func (ServerBackupPlanState) ElementType ¶
func (ServerBackupPlanState) ElementType() reflect.Type
type Vault ¶
type Vault struct { pulumi.CustomResourceState // The description of Vault. Defaults to an empty string. Description pulumi.StringPtrOutput `pulumi:"description"` // Source Encryption Type,It is valid only when vaultType is `STANDARD` or `OTS_BACKUP`. Valid values: `HBR_PRIVATE`,`KMS`. Defaults to `HBR_PRIVATE`. // - `HBR_PRIVATE`: HBR is fully hosted, uses the backup service's own encryption method. // - `KMS`: Use Alibaba Cloud Kms to encryption. EncryptType pulumi.StringOutput `pulumi:"encryptType"` // The key id or alias name of Alibaba Cloud Kms. It is required and valid only when encryptType is `KMS`. KmsKeyId pulumi.StringPtrOutput `pulumi:"kmsKeyId"` // The redundancy type of the vault. Valid values: `LRS`, and `ZRS`. Defaults to `LRS`. // - `LRS`: means locally redundant storage, data will be stored on different storage devices in the same zone. // - `ZRS`: means zone-redundant storage, the data will be replicated across three storage clusters in a single region. Each storage cluster is physically separated but within the same region. RedundancyType pulumi.StringOutput `pulumi:"redundancyType"` // The status of Vault. Valid values: `INITIALIZING`, `CREATED`, `ERROR`, `UNKNOWN`. Status pulumi.StringOutput `pulumi:"status"` // The name of Vault. VaultName pulumi.StringOutput `pulumi:"vaultName"` // The storage class of Vault. Valid values: `STANDARD`. VaultStorageClass pulumi.StringOutput `pulumi:"vaultStorageClass"` // The type of Vault. Valid values: `STANDARD`,`OTS_BACKUP`. VaultType pulumi.StringOutput `pulumi:"vaultType"` }
Provides a HBR Backup vault resource.
For information about HBR Backup vault and how to use it, see [What is Backup vault](https://www.alibabacloud.com/help/doc-detail/62362.htm).
> **NOTE:** Available in v1.129.0+.
## Example Usage
Basic Usage ¶
```go package main
import (
"github.com/pulumi/pulumi/sdk/v3/go/pulumi" "github.com/rhysmdnz/pulumi-alicloud/sdk/go/alicloud/hbr"
)
func main() { pulumi.Run(func(ctx *pulumi.Context) error { _, err := hbr.NewVault(ctx, "example", &hbr.VaultArgs{ VaultName: pulumi.String("example_value"), }) if err != nil { return err } return nil }) }
```
## Import
HBR Vault can be imported using the id, e.g.
```sh
$ pulumi import alicloud:hbr/vault:Vault example <id>
```
func GetVault ¶
func GetVault(ctx *pulumi.Context, name string, id pulumi.IDInput, state *VaultState, opts ...pulumi.ResourceOption) (*Vault, error)
GetVault gets an existing Vault 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 NewVault ¶
func NewVault(ctx *pulumi.Context, name string, args *VaultArgs, opts ...pulumi.ResourceOption) (*Vault, error)
NewVault registers a new resource with the given unique name, arguments, and options.
func (*Vault) ElementType ¶
func (*Vault) ToVaultOutput ¶
func (i *Vault) ToVaultOutput() VaultOutput
func (*Vault) ToVaultOutputWithContext ¶
func (i *Vault) ToVaultOutputWithContext(ctx context.Context) VaultOutput
type VaultArgs ¶
type VaultArgs struct { // The description of Vault. Defaults to an empty string. Description pulumi.StringPtrInput // Source Encryption Type,It is valid only when vaultType is `STANDARD` or `OTS_BACKUP`. Valid values: `HBR_PRIVATE`,`KMS`. Defaults to `HBR_PRIVATE`. // - `HBR_PRIVATE`: HBR is fully hosted, uses the backup service's own encryption method. // - `KMS`: Use Alibaba Cloud Kms to encryption. EncryptType pulumi.StringPtrInput // The key id or alias name of Alibaba Cloud Kms. It is required and valid only when encryptType is `KMS`. KmsKeyId pulumi.StringPtrInput // The redundancy type of the vault. Valid values: `LRS`, and `ZRS`. Defaults to `LRS`. // - `LRS`: means locally redundant storage, data will be stored on different storage devices in the same zone. // - `ZRS`: means zone-redundant storage, the data will be replicated across three storage clusters in a single region. Each storage cluster is physically separated but within the same region. RedundancyType pulumi.StringPtrInput // The name of Vault. VaultName pulumi.StringInput // The storage class of Vault. Valid values: `STANDARD`. VaultStorageClass pulumi.StringPtrInput // The type of Vault. Valid values: `STANDARD`,`OTS_BACKUP`. VaultType pulumi.StringPtrInput }
The set of arguments for constructing a Vault resource.
func (VaultArgs) ElementType ¶
type VaultArray ¶
type VaultArray []VaultInput
func (VaultArray) ElementType ¶
func (VaultArray) ElementType() reflect.Type
func (VaultArray) ToVaultArrayOutput ¶
func (i VaultArray) ToVaultArrayOutput() VaultArrayOutput
func (VaultArray) ToVaultArrayOutputWithContext ¶
func (i VaultArray) ToVaultArrayOutputWithContext(ctx context.Context) VaultArrayOutput
type VaultArrayInput ¶
type VaultArrayInput interface { pulumi.Input ToVaultArrayOutput() VaultArrayOutput ToVaultArrayOutputWithContext(context.Context) VaultArrayOutput }
VaultArrayInput is an input type that accepts VaultArray and VaultArrayOutput values. You can construct a concrete instance of `VaultArrayInput` via:
VaultArray{ VaultArgs{...} }
type VaultArrayOutput ¶
type VaultArrayOutput struct{ *pulumi.OutputState }
func (VaultArrayOutput) ElementType ¶
func (VaultArrayOutput) ElementType() reflect.Type
func (VaultArrayOutput) Index ¶
func (o VaultArrayOutput) Index(i pulumi.IntInput) VaultOutput
func (VaultArrayOutput) ToVaultArrayOutput ¶
func (o VaultArrayOutput) ToVaultArrayOutput() VaultArrayOutput
func (VaultArrayOutput) ToVaultArrayOutputWithContext ¶
func (o VaultArrayOutput) ToVaultArrayOutputWithContext(ctx context.Context) VaultArrayOutput
type VaultInput ¶
type VaultInput interface { pulumi.Input ToVaultOutput() VaultOutput ToVaultOutputWithContext(ctx context.Context) VaultOutput }
type VaultMap ¶
type VaultMap map[string]VaultInput
func (VaultMap) ElementType ¶
func (VaultMap) ToVaultMapOutput ¶
func (i VaultMap) ToVaultMapOutput() VaultMapOutput
func (VaultMap) ToVaultMapOutputWithContext ¶
func (i VaultMap) ToVaultMapOutputWithContext(ctx context.Context) VaultMapOutput
type VaultMapInput ¶
type VaultMapInput interface { pulumi.Input ToVaultMapOutput() VaultMapOutput ToVaultMapOutputWithContext(context.Context) VaultMapOutput }
VaultMapInput is an input type that accepts VaultMap and VaultMapOutput values. You can construct a concrete instance of `VaultMapInput` via:
VaultMap{ "key": VaultArgs{...} }
type VaultMapOutput ¶
type VaultMapOutput struct{ *pulumi.OutputState }
func (VaultMapOutput) ElementType ¶
func (VaultMapOutput) ElementType() reflect.Type
func (VaultMapOutput) MapIndex ¶
func (o VaultMapOutput) MapIndex(k pulumi.StringInput) VaultOutput
func (VaultMapOutput) ToVaultMapOutput ¶
func (o VaultMapOutput) ToVaultMapOutput() VaultMapOutput
func (VaultMapOutput) ToVaultMapOutputWithContext ¶
func (o VaultMapOutput) ToVaultMapOutputWithContext(ctx context.Context) VaultMapOutput
type VaultOutput ¶
type VaultOutput struct{ *pulumi.OutputState }
func (VaultOutput) Description ¶
func (o VaultOutput) Description() pulumi.StringPtrOutput
The description of Vault. Defaults to an empty string.
func (VaultOutput) ElementType ¶
func (VaultOutput) ElementType() reflect.Type
func (VaultOutput) EncryptType ¶
func (o VaultOutput) EncryptType() pulumi.StringOutput
Source Encryption Type,It is valid only when vaultType is `STANDARD` or `OTS_BACKUP`. Valid values: `HBR_PRIVATE`,`KMS`. Defaults to `HBR_PRIVATE`. - `HBR_PRIVATE`: HBR is fully hosted, uses the backup service's own encryption method. - `KMS`: Use Alibaba Cloud Kms to encryption.
func (VaultOutput) KmsKeyId ¶
func (o VaultOutput) KmsKeyId() pulumi.StringPtrOutput
The key id or alias name of Alibaba Cloud Kms. It is required and valid only when encryptType is `KMS`.
func (VaultOutput) RedundancyType ¶
func (o VaultOutput) RedundancyType() pulumi.StringOutput
The redundancy type of the vault. Valid values: `LRS`, and `ZRS`. Defaults to `LRS`. - `LRS`: means locally redundant storage, data will be stored on different storage devices in the same zone. - `ZRS`: means zone-redundant storage, the data will be replicated across three storage clusters in a single region. Each storage cluster is physically separated but within the same region.
func (VaultOutput) Status ¶
func (o VaultOutput) Status() pulumi.StringOutput
The status of Vault. Valid values: `INITIALIZING`, `CREATED`, `ERROR`, `UNKNOWN`.
func (VaultOutput) ToVaultOutput ¶
func (o VaultOutput) ToVaultOutput() VaultOutput
func (VaultOutput) ToVaultOutputWithContext ¶
func (o VaultOutput) ToVaultOutputWithContext(ctx context.Context) VaultOutput
func (VaultOutput) VaultName ¶
func (o VaultOutput) VaultName() pulumi.StringOutput
The name of Vault.
func (VaultOutput) VaultStorageClass ¶
func (o VaultOutput) VaultStorageClass() pulumi.StringOutput
The storage class of Vault. Valid values: `STANDARD`.
func (VaultOutput) VaultType ¶
func (o VaultOutput) VaultType() pulumi.StringOutput
The type of Vault. Valid values: `STANDARD`,`OTS_BACKUP`.
type VaultState ¶
type VaultState struct { // The description of Vault. Defaults to an empty string. Description pulumi.StringPtrInput // Source Encryption Type,It is valid only when vaultType is `STANDARD` or `OTS_BACKUP`. Valid values: `HBR_PRIVATE`,`KMS`. Defaults to `HBR_PRIVATE`. // - `HBR_PRIVATE`: HBR is fully hosted, uses the backup service's own encryption method. // - `KMS`: Use Alibaba Cloud Kms to encryption. EncryptType pulumi.StringPtrInput // The key id or alias name of Alibaba Cloud Kms. It is required and valid only when encryptType is `KMS`. KmsKeyId pulumi.StringPtrInput // The redundancy type of the vault. Valid values: `LRS`, and `ZRS`. Defaults to `LRS`. // - `LRS`: means locally redundant storage, data will be stored on different storage devices in the same zone. // - `ZRS`: means zone-redundant storage, the data will be replicated across three storage clusters in a single region. Each storage cluster is physically separated but within the same region. RedundancyType pulumi.StringPtrInput // The status of Vault. Valid values: `INITIALIZING`, `CREATED`, `ERROR`, `UNKNOWN`. Status pulumi.StringPtrInput // The name of Vault. VaultName pulumi.StringPtrInput // The storage class of Vault. Valid values: `STANDARD`. VaultStorageClass pulumi.StringPtrInput // The type of Vault. Valid values: `STANDARD`,`OTS_BACKUP`. VaultType pulumi.StringPtrInput }
func (VaultState) ElementType ¶
func (VaultState) ElementType() reflect.Type
Source Files
¶
- ecsBackupClient.go
- ecsBackupPlan.go
- getBackupJobs.go
- getEcsBackupClients.go
- getEcsBackupPlans.go
- getHanaBackupPlans.go
- getHanaInstances.go
- getNasBackupPlans.go
- getOssBackupPlans.go
- getOtsBackupPlans.go
- getOtsSnapshots.go
- getReplicationVaultRegions.go
- getRestoreJobs.go
- getServerBackupPlans.go
- getSnapshots.go
- getVaults.go
- hanaBackupPlan.go
- hanaInstance.go
- init.go
- nasBackupPlan.go
- ossBackupPlan.go
- otsBackupPlan.go
- pulumiTypes.go
- pulumiUtilities.go
- replicationVault.go
- restoreJob.go
- serverBackupPlan.go
- vault.go