published on Thursday, Mar 12, 2026 by OVHcloud
published on Thursday, Mar 12, 2026 by OVHcloud
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as ovh from "@ovhcloud/pulumi-ovh";
const catchup = new ovh.CloudProjectStorageReplicationJob("catchup", {
serviceName: "xxxxxxxxxxxx",
regionName: "GRA",
containerName: "my-source-container",
});
import pulumi
import pulumi_ovh as ovh
catchup = ovh.CloudProjectStorageReplicationJob("catchup",
service_name="xxxxxxxxxxxx",
region_name="GRA",
container_name="my-source-container")
package main
import (
"github.com/ovh/pulumi-ovh/sdk/v2/go/ovh"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := ovh.NewCloudProjectStorageReplicationJob(ctx, "catchup", &ovh.CloudProjectStorageReplicationJobArgs{
ServiceName: pulumi.String("xxxxxxxxxxxx"),
RegionName: pulumi.String("GRA"),
ContainerName: pulumi.String("my-source-container"),
})
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Ovh = Pulumi.Ovh;
return await Deployment.RunAsync(() =>
{
var catchup = new Ovh.CloudProjectStorageReplicationJob("catchup", new()
{
ServiceName = "xxxxxxxxxxxx",
RegionName = "GRA",
ContainerName = "my-source-container",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.ovhcloud.pulumi.ovh.CloudProjectStorageReplicationJob;
import com.ovhcloud.pulumi.ovh.CloudProjectStorageReplicationJobArgs;
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 catchup = new CloudProjectStorageReplicationJob("catchup", CloudProjectStorageReplicationJobArgs.builder()
.serviceName("xxxxxxxxxxxx")
.regionName("GRA")
.containerName("my-source-container")
.build());
}
}
resources:
catchup:
type: ovh:CloudProjectStorageReplicationJob
properties:
serviceName: xxxxxxxxxxxx
regionName: GRA
containerName: my-source-container
Create CloudProjectStorageReplicationJob Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new CloudProjectStorageReplicationJob(name: string, args: CloudProjectStorageReplicationJobArgs, opts?: CustomResourceOptions);@overload
def CloudProjectStorageReplicationJob(resource_name: str,
args: CloudProjectStorageReplicationJobArgs,
opts: Optional[ResourceOptions] = None)
@overload
def CloudProjectStorageReplicationJob(resource_name: str,
opts: Optional[ResourceOptions] = None,
container_name: Optional[str] = None,
region_name: Optional[str] = None,
service_name: Optional[str] = None)func NewCloudProjectStorageReplicationJob(ctx *Context, name string, args CloudProjectStorageReplicationJobArgs, opts ...ResourceOption) (*CloudProjectStorageReplicationJob, error)public CloudProjectStorageReplicationJob(string name, CloudProjectStorageReplicationJobArgs args, CustomResourceOptions? opts = null)
public CloudProjectStorageReplicationJob(String name, CloudProjectStorageReplicationJobArgs args)
public CloudProjectStorageReplicationJob(String name, CloudProjectStorageReplicationJobArgs args, CustomResourceOptions options)
type: ovh:CloudProjectStorageReplicationJob
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args CloudProjectStorageReplicationJobArgs
- 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 CloudProjectStorageReplicationJobArgs
- 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 CloudProjectStorageReplicationJobArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args CloudProjectStorageReplicationJobArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args CloudProjectStorageReplicationJobArgs
- 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 cloudProjectStorageReplicationJobResource = new Ovh.CloudProjectStorageReplicationJob("cloudProjectStorageReplicationJobResource", new()
{
ContainerName = "string",
RegionName = "string",
ServiceName = "string",
});
example, err := ovh.NewCloudProjectStorageReplicationJob(ctx, "cloudProjectStorageReplicationJobResource", &ovh.CloudProjectStorageReplicationJobArgs{
ContainerName: pulumi.String("string"),
RegionName: pulumi.String("string"),
ServiceName: pulumi.String("string"),
})
var cloudProjectStorageReplicationJobResource = new CloudProjectStorageReplicationJob("cloudProjectStorageReplicationJobResource", CloudProjectStorageReplicationJobArgs.builder()
.containerName("string")
.regionName("string")
.serviceName("string")
.build());
cloud_project_storage_replication_job_resource = ovh.CloudProjectStorageReplicationJob("cloudProjectStorageReplicationJobResource",
container_name="string",
region_name="string",
service_name="string")
const cloudProjectStorageReplicationJobResource = new ovh.CloudProjectStorageReplicationJob("cloudProjectStorageReplicationJobResource", {
containerName: "string",
regionName: "string",
serviceName: "string",
});
type: ovh:CloudProjectStorageReplicationJob
properties:
containerName: string
regionName: string
serviceName: string
CloudProjectStorageReplicationJob 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 CloudProjectStorageReplicationJob resource accepts the following input properties:
- Container
Name string - Name of the storage container
- Region
Name string - Region name of the storage container
- Service
Name string - The ID of the public cloud project. If omitted, the
OVH_CLOUD_PROJECT_SERVICEenvironment variable is used.
- Container
Name string - Name of the storage container
- Region
Name string - Region name of the storage container
- Service
Name string - The ID of the public cloud project. If omitted, the
OVH_CLOUD_PROJECT_SERVICEenvironment variable is used.
- container
Name String - Name of the storage container
- region
Name String - Region name of the storage container
- service
Name String - The ID of the public cloud project. If omitted, the
OVH_CLOUD_PROJECT_SERVICEenvironment variable is used.
- container
Name string - Name of the storage container
- region
Name string - Region name of the storage container
- service
Name string - The ID of the public cloud project. If omitted, the
OVH_CLOUD_PROJECT_SERVICEenvironment variable is used.
- container_
name str - Name of the storage container
- region_
name str - Region name of the storage container
- service_
name str - The ID of the public cloud project. If omitted, the
OVH_CLOUD_PROJECT_SERVICEenvironment variable is used.
- container
Name String - Name of the storage container
- region
Name String - Region name of the storage container
- service
Name String - The ID of the public cloud project. If omitted, the
OVH_CLOUD_PROJECT_SERVICEenvironment variable is used.
Outputs
All input properties are implicitly available as output properties. Additionally, the CloudProjectStorageReplicationJob 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 str
- The provider-assigned unique ID for this managed resource.
- id String
- The provider-assigned unique ID for this managed resource.
Look up Existing CloudProjectStorageReplicationJob Resource
Get an existing CloudProjectStorageReplicationJob 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?: CloudProjectStorageReplicationJobState, opts?: CustomResourceOptions): CloudProjectStorageReplicationJob@staticmethod
def get(resource_name: str,
id: str,
opts: Optional[ResourceOptions] = None,
container_name: Optional[str] = None,
region_name: Optional[str] = None,
service_name: Optional[str] = None) -> CloudProjectStorageReplicationJobfunc GetCloudProjectStorageReplicationJob(ctx *Context, name string, id IDInput, state *CloudProjectStorageReplicationJobState, opts ...ResourceOption) (*CloudProjectStorageReplicationJob, error)public static CloudProjectStorageReplicationJob Get(string name, Input<string> id, CloudProjectStorageReplicationJobState? state, CustomResourceOptions? opts = null)public static CloudProjectStorageReplicationJob get(String name, Output<String> id, CloudProjectStorageReplicationJobState state, CustomResourceOptions options)resources: _: type: ovh:CloudProjectStorageReplicationJob get: 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.
- Container
Name string - Name of the storage container
- Region
Name string - Region name of the storage container
- Service
Name string - The ID of the public cloud project. If omitted, the
OVH_CLOUD_PROJECT_SERVICEenvironment variable is used.
- Container
Name string - Name of the storage container
- Region
Name string - Region name of the storage container
- Service
Name string - The ID of the public cloud project. If omitted, the
OVH_CLOUD_PROJECT_SERVICEenvironment variable is used.
- container
Name String - Name of the storage container
- region
Name String - Region name of the storage container
- service
Name String - The ID of the public cloud project. If omitted, the
OVH_CLOUD_PROJECT_SERVICEenvironment variable is used.
- container
Name string - Name of the storage container
- region
Name string - Region name of the storage container
- service
Name string - The ID of the public cloud project. If omitted, the
OVH_CLOUD_PROJECT_SERVICEenvironment variable is used.
- container_
name str - Name of the storage container
- region_
name str - Region name of the storage container
- service_
name str - The ID of the public cloud project. If omitted, the
OVH_CLOUD_PROJECT_SERVICEenvironment variable is used.
- container
Name String - Name of the storage container
- region
Name String - Region name of the storage container
- service
Name String - The ID of the public cloud project. If omitted, the
OVH_CLOUD_PROJECT_SERVICEenvironment variable is used.
Package Details
- Repository
- ovh ovh/pulumi-ovh
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
ovhTerraform Provider.
published on Thursday, Mar 12, 2026 by OVHcloud
