1. Packages
  2. Packages
  3. Ibm Provider
  4. API Docs
  5. BackupRecoveryProtectionSourceRefresh
Viewing docs for ibm 2.1.0
published on Tuesday, May 5, 2026 by ibm-cloud
Viewing docs for ibm 2.1.0
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:

    BackupRecoveryProtectionSourceId double
    protection source Id.
    XIbmTenantId string
    Specifies the unique id of the tenant.
    BackupRecoveryProtectionSourceRefreshId string
    EndpointType string
    public or private.
    InstanceId string
    The instnace ID of the Backup Recovery instance.
    Region string
    The region of the Backup Recovery instance.
    ServiceName string
    The service name for the Backup Recovery instance. Defaults to 'backup-recovery' if not provided.
    BackupRecoveryProtectionSourceId float64
    protection source Id.
    XIbmTenantId string
    Specifies the unique id of the tenant.
    BackupRecoveryProtectionSourceRefreshId string
    EndpointType string
    public or private.
    InstanceId string
    The instnace ID of the Backup Recovery instance.
    Region string
    The region of the Backup Recovery instance.
    ServiceName string
    The service name for the Backup Recovery instance. Defaults to 'backup-recovery' if not provided.
    backup_recovery_protection_source_id number
    protection source Id.
    x_ibm_tenant_id string
    Specifies the unique id of the tenant.
    backup_recovery_protection_source_refresh_id string
    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.
    backupRecoveryProtectionSourceId Double
    protection source Id.
    xIbmTenantId String
    Specifies the unique id of the tenant.
    backupRecoveryProtectionSourceRefreshId String
    endpointType String
    public or private.
    instanceId String
    The instnace ID of the Backup Recovery instance.
    region String
    The region of the Backup Recovery instance.
    serviceName String
    The service name for the Backup Recovery instance. Defaults to 'backup-recovery' if not provided.
    backupRecoveryProtectionSourceId number
    protection source Id.
    xIbmTenantId string
    Specifies the unique id of the tenant.
    backupRecoveryProtectionSourceRefreshId string
    endpointType string
    public or private.
    instanceId string
    The instnace ID of the Backup Recovery instance.
    region string
    The region of the Backup Recovery instance.
    serviceName string
    The service name for the Backup Recovery instance. Defaults to 'backup-recovery' if not provided.
    backup_recovery_protection_source_id float
    protection source Id.
    x_ibm_tenant_id str
    Specifies the unique id of the tenant.
    backup_recovery_protection_source_refresh_id str
    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.
    backupRecoveryProtectionSourceId Number
    protection source Id.
    xIbmTenantId String
    Specifies the unique id of the tenant.
    backupRecoveryProtectionSourceRefreshId String
    endpointType String
    public or private.
    instanceId String
    The instnace ID of the Backup Recovery instance.
    region String
    The region of the Backup Recovery instance.
    serviceName 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) -> BackupRecoveryProtectionSourceRefresh
    func 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.
    The following state arguments are supported:
    BackupRecoveryProtectionSourceId double
    protection source Id.
    BackupRecoveryProtectionSourceRefreshId string
    EndpointType string
    public or private.
    InstanceId string
    The instnace ID of the Backup Recovery instance.
    Region string
    The region of the Backup Recovery instance.
    ServiceName string
    The service name for the Backup Recovery instance. Defaults to 'backup-recovery' if not provided.
    XIbmTenantId string
    Specifies the unique id of the tenant.
    BackupRecoveryProtectionSourceId float64
    protection source Id.
    BackupRecoveryProtectionSourceRefreshId string
    EndpointType string
    public or private.
    InstanceId string
    The instnace ID of the Backup Recovery instance.
    Region string
    The region of the Backup Recovery instance.
    ServiceName string
    The service name for the Backup Recovery instance. Defaults to 'backup-recovery' if not provided.
    XIbmTenantId string
    Specifies the unique id of the tenant.
    backup_recovery_protection_source_id number
    protection source Id.
    backup_recovery_protection_source_refresh_id string
    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_tenant_id string
    Specifies the unique id of the tenant.
    backupRecoveryProtectionSourceId Double
    protection source Id.
    backupRecoveryProtectionSourceRefreshId String
    endpointType String
    public or private.
    instanceId String
    The instnace ID of the Backup Recovery instance.
    region String
    The region of the Backup Recovery instance.
    serviceName String
    The service name for the Backup Recovery instance. Defaults to 'backup-recovery' if not provided.
    xIbmTenantId String
    Specifies the unique id of the tenant.
    backupRecoveryProtectionSourceId number
    protection source Id.
    backupRecoveryProtectionSourceRefreshId string
    endpointType string
    public or private.
    instanceId string
    The instnace ID of the Backup Recovery instance.
    region string
    The region of the Backup Recovery instance.
    serviceName string
    The service name for the Backup Recovery instance. Defaults to 'backup-recovery' if not provided.
    xIbmTenantId string
    Specifies the unique id of the tenant.
    backup_recovery_protection_source_id float
    protection source Id.
    backup_recovery_protection_source_refresh_id str
    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_tenant_id str
    Specifies the unique id of the tenant.
    backupRecoveryProtectionSourceId Number
    protection source Id.
    backupRecoveryProtectionSourceRefreshId String
    endpointType String
    public or private.
    instanceId String
    The instnace ID of the Backup Recovery instance.
    region String
    The region of the Backup Recovery instance.
    serviceName String
    The service name for the Backup Recovery instance. Defaults to 'backup-recovery' if not provided.
    xIbmTenantId String
    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 ibm Terraform Provider.
    Viewing docs for ibm 2.1.0
    published on Tuesday, May 5, 2026 by ibm-cloud
      Try Pulumi Cloud free. Your team will thank you.