published on Tuesday, May 5, 2026 by ibm-cloud
published on Tuesday, May 5, 2026 by ibm-cloud
Refresh protection source with this resource.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as ibm from "@pulumi/ibm";
const backupRecoveryProtectionSourceRefreshInstance = new ibm.BackupRecoveryProtectionSourceRefresh("backup_recovery_protection_source_refresh_instance", {
xIbmTenantId: "tenantId",
backupRecoveryProtectionSourceId: "id",
});
import pulumi
import pulumi_ibm as ibm
backup_recovery_protection_source_refresh_instance = ibm.BackupRecoveryProtectionSourceRefresh("backup_recovery_protection_source_refresh_instance",
x_ibm_tenant_id="tenantId",
backup_recovery_protection_source_id="id")
package main
import (
"github.com/pulumi/pulumi-terraform-provider/sdks/go/ibm/v2/ibm"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ibm.NewBackupRecoveryProtectionSourceRefresh(ctx, "backup_recovery_protection_source_refresh_instance", &ibm.BackupRecoveryProtectionSourceRefreshArgs{
XIbmTenantId: pulumi.String("tenantId"),
BackupRecoveryProtectionSourceId: pulumi.Float64("id"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ibm = Pulumi.Ibm;
return await Deployment.RunAsync(() =>
{
var backupRecoveryProtectionSourceRefreshInstance = new Ibm.BackupRecoveryProtectionSourceRefresh("backup_recovery_protection_source_refresh_instance", new()
{
XIbmTenantId = "tenantId",
BackupRecoveryProtectionSourceId = "id",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.ibm.BackupRecoveryProtectionSourceRefresh;
import com.pulumi.ibm.BackupRecoveryProtectionSourceRefreshArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var backupRecoveryProtectionSourceRefreshInstance = new BackupRecoveryProtectionSourceRefresh("backupRecoveryProtectionSourceRefreshInstance", BackupRecoveryProtectionSourceRefreshArgs.builder()
.xIbmTenantId("tenantId")
.backupRecoveryProtectionSourceId("id")
.build());
}
}
resources:
backupRecoveryProtectionSourceRefreshInstance:
type: ibm:BackupRecoveryProtectionSourceRefresh
name: backup_recovery_protection_source_refresh_instance
properties:
xIbmTenantId: tenantId
backupRecoveryProtectionSourceId: id
Example coming soon!
Create BackupRecoveryProtectionSourceRefresh Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new BackupRecoveryProtectionSourceRefresh(name: string, args: BackupRecoveryProtectionSourceRefreshArgs, opts?: CustomResourceOptions);@overload
def BackupRecoveryProtectionSourceRefresh(resource_name: str,
args: BackupRecoveryProtectionSourceRefreshArgs,
opts: Optional[ResourceOptions] = None)
@overload
def BackupRecoveryProtectionSourceRefresh(resource_name: str,
opts: Optional[ResourceOptions] = None,
backup_recovery_protection_source_id: Optional[float] = None,
x_ibm_tenant_id: Optional[str] = None,
backup_recovery_protection_source_refresh_id: Optional[str] = None,
endpoint_type: Optional[str] = None,
instance_id: Optional[str] = None,
region: Optional[str] = None,
service_name: Optional[str] = None)func NewBackupRecoveryProtectionSourceRefresh(ctx *Context, name string, args BackupRecoveryProtectionSourceRefreshArgs, opts ...ResourceOption) (*BackupRecoveryProtectionSourceRefresh, error)public BackupRecoveryProtectionSourceRefresh(string name, BackupRecoveryProtectionSourceRefreshArgs args, CustomResourceOptions? opts = null)
public BackupRecoveryProtectionSourceRefresh(String name, BackupRecoveryProtectionSourceRefreshArgs args)
public BackupRecoveryProtectionSourceRefresh(String name, BackupRecoveryProtectionSourceRefreshArgs args, CustomResourceOptions options)
type: ibm:BackupRecoveryProtectionSourceRefresh
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
resource "ibm_backuprecoveryprotectionsourcerefresh" "name" {
# resource properties
}Parameters
- name string
- The unique name of the resource.
- args BackupRecoveryProtectionSourceRefreshArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args BackupRecoveryProtectionSourceRefreshArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args BackupRecoveryProtectionSourceRefreshArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args BackupRecoveryProtectionSourceRefreshArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args BackupRecoveryProtectionSourceRefreshArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var backupRecoveryProtectionSourceRefreshResource = new Ibm.BackupRecoveryProtectionSourceRefresh("backupRecoveryProtectionSourceRefreshResource", new()
{
BackupRecoveryProtectionSourceId = 0,
XIbmTenantId = "string",
BackupRecoveryProtectionSourceRefreshId = "string",
EndpointType = "string",
InstanceId = "string",
Region = "string",
ServiceName = "string",
});
example, err := ibm.NewBackupRecoveryProtectionSourceRefresh(ctx, "backupRecoveryProtectionSourceRefreshResource", &ibm.BackupRecoveryProtectionSourceRefreshArgs{
BackupRecoveryProtectionSourceId: pulumi.Float64(0),
XIbmTenantId: pulumi.String("string"),
BackupRecoveryProtectionSourceRefreshId: pulumi.String("string"),
EndpointType: pulumi.String("string"),
InstanceId: pulumi.String("string"),
Region: pulumi.String("string"),
ServiceName: pulumi.String("string"),
})
resource "ibm_backuprecoveryprotectionsourcerefresh" "backupRecoveryProtectionSourceRefreshResource" {
backup_recovery_protection_source_id = 0
x_ibm_tenant_id = "string"
backup_recovery_protection_source_refresh_id = "string"
endpoint_type = "string"
instance_id = "string"
region = "string"
service_name = "string"
}
var backupRecoveryProtectionSourceRefreshResource = new BackupRecoveryProtectionSourceRefresh("backupRecoveryProtectionSourceRefreshResource", BackupRecoveryProtectionSourceRefreshArgs.builder()
.backupRecoveryProtectionSourceId(0.0)
.xIbmTenantId("string")
.backupRecoveryProtectionSourceRefreshId("string")
.endpointType("string")
.instanceId("string")
.region("string")
.serviceName("string")
.build());
backup_recovery_protection_source_refresh_resource = ibm.BackupRecoveryProtectionSourceRefresh("backupRecoveryProtectionSourceRefreshResource",
backup_recovery_protection_source_id=float(0),
x_ibm_tenant_id="string",
backup_recovery_protection_source_refresh_id="string",
endpoint_type="string",
instance_id="string",
region="string",
service_name="string")
const backupRecoveryProtectionSourceRefreshResource = new ibm.BackupRecoveryProtectionSourceRefresh("backupRecoveryProtectionSourceRefreshResource", {
backupRecoveryProtectionSourceId: 0,
xIbmTenantId: "string",
backupRecoveryProtectionSourceRefreshId: "string",
endpointType: "string",
instanceId: "string",
region: "string",
serviceName: "string",
});
type: ibm:BackupRecoveryProtectionSourceRefresh
properties:
backupRecoveryProtectionSourceId: 0
backupRecoveryProtectionSourceRefreshId: string
endpointType: string
instanceId: string
region: string
serviceName: string
xIbmTenantId: string
BackupRecoveryProtectionSourceRefresh Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The BackupRecoveryProtectionSourceRefresh resource accepts the following input properties:
- Backup
Recovery doubleProtection Source Id - protection source Id.
- XIbm
Tenant stringId - Specifies the unique id of the tenant.
- Backup
Recovery stringProtection Source Refresh Id - Endpoint
Type string - public or private.
- Instance
Id string - The instnace ID of the Backup Recovery instance.
- Region string
- The region of the Backup Recovery instance.
- Service
Name string - The service name for the Backup Recovery instance. Defaults to 'backup-recovery' if not provided.
- Backup
Recovery float64Protection Source Id - protection source Id.
- XIbm
Tenant stringId - Specifies the unique id of the tenant.
- Backup
Recovery stringProtection Source Refresh Id - Endpoint
Type string - public or private.
- Instance
Id string - The instnace ID of the Backup Recovery instance.
- Region string
- The region of the Backup Recovery instance.
- Service
Name string - The service name for the Backup Recovery instance. Defaults to 'backup-recovery' if not provided.
- backup_
recovery_ numberprotection_ source_ id - protection source Id.
- x_
ibm_ stringtenant_ id - Specifies the unique id of the tenant.
- backup_
recovery_ stringprotection_ source_ refresh_ id - endpoint_
type string - public or private.
- instance_
id string - The instnace ID of the Backup Recovery instance.
- region string
- The region of the Backup Recovery instance.
- service_
name string - The service name for the Backup Recovery instance. Defaults to 'backup-recovery' if not provided.
- backup
Recovery DoubleProtection Source Id - protection source Id.
- x
Ibm StringTenant Id - Specifies the unique id of the tenant.
- backup
Recovery StringProtection Source Refresh Id - endpoint
Type String - public or private.
- instance
Id String - The instnace ID of the Backup Recovery instance.
- region String
- The region of the Backup Recovery instance.
- service
Name String - The service name for the Backup Recovery instance. Defaults to 'backup-recovery' if not provided.
- backup
Recovery numberProtection Source Id - protection source Id.
- x
Ibm stringTenant Id - Specifies the unique id of the tenant.
- backup
Recovery stringProtection Source Refresh Id - endpoint
Type string - public or private.
- instance
Id string - The instnace ID of the Backup Recovery instance.
- region string
- The region of the Backup Recovery instance.
- service
Name string - The service name for the Backup Recovery instance. Defaults to 'backup-recovery' if not provided.
- backup_
recovery_ floatprotection_ source_ id - protection source Id.
- x_
ibm_ strtenant_ id - Specifies the unique id of the tenant.
- backup_
recovery_ strprotection_ source_ refresh_ id - endpoint_
type str - public or private.
- instance_
id str - The instnace ID of the Backup Recovery instance.
- region str
- The region of the Backup Recovery instance.
- service_
name str - The service name for the Backup Recovery instance. Defaults to 'backup-recovery' if not provided.
- backup
Recovery NumberProtection Source Id - protection source Id.
- x
Ibm StringTenant Id - Specifies the unique id of the tenant.
- backup
Recovery StringProtection Source Refresh Id - endpoint
Type String - public or private.
- instance
Id String - The instnace ID of the Backup Recovery instance.
- region String
- The region of the Backup Recovery instance.
- service
Name String - The service name for the Backup Recovery instance. Defaults to 'backup-recovery' if not provided.
Outputs
All input properties are implicitly available as output properties. Additionally, the BackupRecoveryProtectionSourceRefresh resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Id string
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
- id string
- The provider-assigned unique ID for this managed resource.
- id str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing BackupRecoveryProtectionSourceRefresh Resource
Get an existing BackupRecoveryProtectionSourceRefresh resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
public static get(name: string, id: Input<ID>, state?: BackupRecoveryProtectionSourceRefreshState, opts?: CustomResourceOptions): BackupRecoveryProtectionSourceRefresh@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
backup_recovery_protection_source_id: Optional[float] = None,
backup_recovery_protection_source_refresh_id: Optional[str] = None,
endpoint_type: Optional[str] = None,
instance_id: Optional[str] = None,
region: Optional[str] = None,
service_name: Optional[str] = None,
x_ibm_tenant_id: Optional[str] = None) -> BackupRecoveryProtectionSourceRefreshfunc GetBackupRecoveryProtectionSourceRefresh(ctx *Context, name string, id IDInput, state *BackupRecoveryProtectionSourceRefreshState, opts ...ResourceOption) (*BackupRecoveryProtectionSourceRefresh, error)public static BackupRecoveryProtectionSourceRefresh Get(string name, Input<string> id, BackupRecoveryProtectionSourceRefreshState? state, CustomResourceOptions? opts = null)public static BackupRecoveryProtectionSourceRefresh get(String name, Output<String> id, BackupRecoveryProtectionSourceRefreshState state, CustomResourceOptions options)resources: _: type: ibm:BackupRecoveryProtectionSourceRefresh get: id: ${id}import {
to = ibm_backuprecoveryprotectionsourcerefresh.example
id = "${id}"
}
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- resource_name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- name
- The unique name of the resulting resource.
- id
- The unique provider ID of the resource to lookup.
- state
- Any extra arguments used during the lookup.
- opts
- A bag of options that control this resource's behavior.
- Backup
Recovery doubleProtection Source Id - protection source Id.
- Backup
Recovery stringProtection Source Refresh Id - Endpoint
Type string - public or private.
- Instance
Id string - The instnace ID of the Backup Recovery instance.
- Region string
- The region of the Backup Recovery instance.
- Service
Name string - The service name for the Backup Recovery instance. Defaults to 'backup-recovery' if not provided.
- XIbm
Tenant stringId - Specifies the unique id of the tenant.
- Backup
Recovery float64Protection Source Id - protection source Id.
- Backup
Recovery stringProtection Source Refresh Id - Endpoint
Type string - public or private.
- Instance
Id string - The instnace ID of the Backup Recovery instance.
- Region string
- The region of the Backup Recovery instance.
- Service
Name string - The service name for the Backup Recovery instance. Defaults to 'backup-recovery' if not provided.
- XIbm
Tenant stringId - Specifies the unique id of the tenant.
- backup_
recovery_ numberprotection_ source_ id - protection source Id.
- backup_
recovery_ stringprotection_ source_ refresh_ id - endpoint_
type string - public or private.
- instance_
id string - The instnace ID of the Backup Recovery instance.
- region string
- The region of the Backup Recovery instance.
- service_
name string - The service name for the Backup Recovery instance. Defaults to 'backup-recovery' if not provided.
- x_
ibm_ stringtenant_ id - Specifies the unique id of the tenant.
- backup
Recovery DoubleProtection Source Id - protection source Id.
- backup
Recovery StringProtection Source Refresh Id - endpoint
Type String - public or private.
- instance
Id String - The instnace ID of the Backup Recovery instance.
- region String
- The region of the Backup Recovery instance.
- service
Name String - The service name for the Backup Recovery instance. Defaults to 'backup-recovery' if not provided.
- x
Ibm StringTenant Id - Specifies the unique id of the tenant.
- backup
Recovery numberProtection Source Id - protection source Id.
- backup
Recovery stringProtection Source Refresh Id - endpoint
Type string - public or private.
- instance
Id string - The instnace ID of the Backup Recovery instance.
- region string
- The region of the Backup Recovery instance.
- service
Name string - The service name for the Backup Recovery instance. Defaults to 'backup-recovery' if not provided.
- x
Ibm stringTenant Id - Specifies the unique id of the tenant.
- backup_
recovery_ floatprotection_ source_ id - protection source Id.
- backup_
recovery_ strprotection_ source_ refresh_ id - endpoint_
type str - public or private.
- instance_
id str - The instnace ID of the Backup Recovery instance.
- region str
- The region of the Backup Recovery instance.
- service_
name str - The service name for the Backup Recovery instance. Defaults to 'backup-recovery' if not provided.
- x_
ibm_ strtenant_ id - Specifies the unique id of the tenant.
- backup
Recovery NumberProtection Source Id - protection source Id.
- backup
Recovery StringProtection Source Refresh Id - endpoint
Type String - public or private.
- instance
Id String - The instnace ID of the Backup Recovery instance.
- region String
- The region of the Backup Recovery instance.
- service
Name String - The service name for the Backup Recovery instance. Defaults to 'backup-recovery' if not provided.
- x
Ibm StringTenant Id - Specifies the unique id of the tenant.
Import
Import is not supported
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- ibm ibm-cloud/terraform-provider-ibm
- License
- Notes
- This Pulumi package is based on the
ibmTerraform Provider.
published on Tuesday, May 5, 2026 by ibm-cloud
