1. Packages
  2. pgEdge
  3. API Docs
  4. BackupStore
pgEdge v0.0.40 published on Friday, Jan 10, 2025 by pgEdge

pgedge.BackupStore

Explore with Pulumi AI

pgedge logo
pgEdge v0.0.40 published on Friday, Jan 10, 2025 by pgEdge

    Create BackupStore Resource

    Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.

    Constructor syntax

    new BackupStore(name: string, args: BackupStoreArgs, opts?: CustomResourceOptions);
    @overload
    def BackupStore(resource_name: str,
                    args: BackupStoreArgs,
                    opts: Optional[ResourceOptions] = None)
    
    @overload
    def BackupStore(resource_name: str,
                    opts: Optional[ResourceOptions] = None,
                    cloud_account_id: Optional[str] = None,
                    region: Optional[str] = None,
                    name: Optional[str] = None)
    func NewBackupStore(ctx *Context, name string, args BackupStoreArgs, opts ...ResourceOption) (*BackupStore, error)
    public BackupStore(string name, BackupStoreArgs args, CustomResourceOptions? opts = null)
    public BackupStore(String name, BackupStoreArgs args)
    public BackupStore(String name, BackupStoreArgs args, CustomResourceOptions options)
    
    type: pgedge:BackupStore
    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 BackupStoreArgs
    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 BackupStoreArgs
    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 BackupStoreArgs
    The arguments to resource properties.
    opts ResourceOption
    Bag of options to control resource's behavior.
    name string
    The unique name of the resource.
    args BackupStoreArgs
    The arguments to resource properties.
    opts CustomResourceOptions
    Bag of options to control resource's behavior.
    name String
    The unique name of the resource.
    args BackupStoreArgs
    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 backupStoreResource = new Pgedge.BackupStore("backupStoreResource", new()
    {
        CloudAccountId = "string",
        Region = "string",
        Name = "string",
    });
    
    example, err := pgedge.NewBackupStore(ctx, "backupStoreResource", &pgedge.BackupStoreArgs{
    	CloudAccountId: pulumi.String("string"),
    	Region:         pulumi.String("string"),
    	Name:           pulumi.String("string"),
    })
    
    var backupStoreResource = new BackupStore("backupStoreResource", BackupStoreArgs.builder()
        .cloudAccountId("string")
        .region("string")
        .name("string")
        .build());
    
    backup_store_resource = pgedge.BackupStore("backupStoreResource",
        cloud_account_id="string",
        region="string",
        name="string")
    
    const backupStoreResource = new pgedge.BackupStore("backupStoreResource", {
        cloudAccountId: "string",
        region: "string",
        name: "string",
    });
    
    type: pgedge:BackupStore
    properties:
        cloudAccountId: string
        name: string
        region: string
    

    BackupStore 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 BackupStore resource accepts the following input properties:

    CloudAccountId string
    Region string
    Name string
    CloudAccountId string
    Region string
    Name string
    cloudAccountId String
    region String
    name String
    cloudAccountId string
    region string
    name string
    cloudAccountId String
    region String
    name String

    Outputs

    All input properties are implicitly available as output properties. Additionally, the BackupStore resource produces the following output properties:

    CloudAccountType string
    ClusterIds List<string>
    CreatedAt string
    Id string
    The provider-assigned unique ID for this managed resource.
    Properties Dictionary<string, string>
    Status string
    CloudAccountType string
    ClusterIds []string
    CreatedAt string
    Id string
    The provider-assigned unique ID for this managed resource.
    Properties map[string]string
    Status string
    cloudAccountType String
    clusterIds List<String>
    createdAt String
    id String
    The provider-assigned unique ID for this managed resource.
    properties Map<String,String>
    status String
    cloudAccountType string
    clusterIds string[]
    createdAt string
    id string
    The provider-assigned unique ID for this managed resource.
    properties {[key: string]: string}
    status string
    cloud_account_type str
    cluster_ids Sequence[str]
    created_at str
    id str
    The provider-assigned unique ID for this managed resource.
    properties Mapping[str, str]
    status str
    cloudAccountType String
    clusterIds List<String>
    createdAt String
    id String
    The provider-assigned unique ID for this managed resource.
    properties Map<String>
    status String

    Look up Existing BackupStore Resource

    Get an existing BackupStore 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?: BackupStoreState, opts?: CustomResourceOptions): BackupStore
    @staticmethod
    def get(resource_name: str,
            id: str,
            opts: Optional[ResourceOptions] = None,
            cloud_account_id: Optional[str] = None,
            cloud_account_type: Optional[str] = None,
            cluster_ids: Optional[Sequence[str]] = None,
            created_at: Optional[str] = None,
            name: Optional[str] = None,
            properties: Optional[Mapping[str, str]] = None,
            region: Optional[str] = None,
            status: Optional[str] = None) -> BackupStore
    func GetBackupStore(ctx *Context, name string, id IDInput, state *BackupStoreState, opts ...ResourceOption) (*BackupStore, error)
    public static BackupStore Get(string name, Input<string> id, BackupStoreState? state, CustomResourceOptions? opts = null)
    public static BackupStore get(String name, Output<String> id, BackupStoreState state, CustomResourceOptions options)
    resources:  _:    type: pgedge:BackupStore    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.
    The following state arguments are supported:
    CloudAccountId string
    CloudAccountType string
    ClusterIds List<string>
    CreatedAt string
    Name string
    Properties Dictionary<string, string>
    Region string
    Status string
    CloudAccountId string
    CloudAccountType string
    ClusterIds []string
    CreatedAt string
    Name string
    Properties map[string]string
    Region string
    Status string
    cloudAccountId String
    cloudAccountType String
    clusterIds List<String>
    createdAt String
    name String
    properties Map<String,String>
    region String
    status String
    cloudAccountId string
    cloudAccountType string
    clusterIds string[]
    createdAt string
    name string
    properties {[key: string]: string}
    region string
    status string
    cloud_account_id str
    cloud_account_type str
    cluster_ids Sequence[str]
    created_at str
    name str
    properties Mapping[str, str]
    region str
    status str
    cloudAccountId String
    cloudAccountType String
    clusterIds List<String>
    createdAt String
    name String
    properties Map<String>
    region String
    status String

    Package Details

    Repository
    pgedge pgEdge/pulumi-pgedge
    License
    Apache-2.0
    Notes
    This Pulumi package is based on the pgedge Terraform Provider.
    pgedge logo
    pgEdge v0.0.40 published on Friday, Jan 10, 2025 by pgEdge