pgedge.BackupStore
Explore with Pulumi AI
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:
- Cloud
Account stringId - Region string
- Name string
- Cloud
Account stringId - Region string
- Name string
- cloud
Account StringId - region String
- name String
- cloud
Account stringId - region string
- name string
- cloud_
account_ strid - region str
- name str
- cloud
Account StringId - region String
- name String
Outputs
All input properties are implicitly available as output properties. Additionally, the BackupStore resource produces the following output properties:
- Cloud
Account stringType - Cluster
Ids List<string> - Created
At string - Id string
- The provider-assigned unique ID for this managed resource.
- Properties Dictionary<string, string>
- Status string
- Cloud
Account stringType - Cluster
Ids []string - Created
At string - Id string
- The provider-assigned unique ID for this managed resource.
- Properties map[string]string
- Status string
- cloud
Account StringType - cluster
Ids List<String> - created
At String - id String
- The provider-assigned unique ID for this managed resource.
- properties Map<String,String>
- status String
- cloud
Account stringType - cluster
Ids string[] - created
At string - id string
- The provider-assigned unique ID for this managed resource.
- properties {[key: string]: string}
- status string
- cloud_
account_ strtype - cluster_
ids Sequence[str] - created_
at str - id str
- The provider-assigned unique ID for this managed resource.
- properties Mapping[str, str]
- status str
- cloud
Account StringType - cluster
Ids List<String> - created
At 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.
- Cloud
Account stringId - Cloud
Account stringType - Cluster
Ids List<string> - Created
At string - Name string
- Properties Dictionary<string, string>
- Region string
- Status string
- Cloud
Account stringId - Cloud
Account stringType - Cluster
Ids []string - Created
At string - Name string
- Properties map[string]string
- Region string
- Status string
- cloud
Account StringId - cloud
Account StringType - cluster
Ids List<String> - created
At String - name String
- properties Map<String,String>
- region String
- status String
- cloud
Account stringId - cloud
Account stringType - cluster
Ids string[] - created
At string - name string
- properties {[key: string]: string}
- region string
- status string
- cloud_
account_ strid - cloud_
account_ strtype - cluster_
ids Sequence[str] - created_
at str - name str
- properties Mapping[str, str]
- region str
- status str
- cloud
Account StringId - cloud
Account StringType - cluster
Ids List<String> - created
At 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.