Google Native

v0.27.0 published on Friday, Oct 21, 2022 by Pulumi

Backup

Creates a Backup for a domain. Auto-naming is currently not supported for this resource.

Create Backup Resource

new Backup(name: string, args: BackupArgs, opts?: CustomResourceOptions);
@overload
def Backup(resource_name: str,
           opts: Optional[ResourceOptions] = None,
           backup_id: Optional[str] = None,
           description: Optional[str] = None,
           domain_id: Optional[str] = None,
           labels: Optional[Mapping[str, str]] = None,
           project: Optional[str] = None)
@overload
def Backup(resource_name: str,
           args: BackupArgs,
           opts: Optional[ResourceOptions] = None)
func NewBackup(ctx *Context, name string, args BackupArgs, opts ...ResourceOption) (*Backup, error)
public Backup(string name, BackupArgs args, CustomResourceOptions? opts = null)
public Backup(String name, BackupArgs args)
public Backup(String name, BackupArgs args, CustomResourceOptions options)
type: google-native:managedidentities/v1beta1:Backup
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args BackupArgs
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 BackupArgs
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 BackupArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args BackupArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args BackupArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Backup Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The Backup resource accepts the following input properties:

BackupId string

Required. Backup Id, unique name to identify the backups with the following restrictions: * Must be lowercase letters, numbers, and hyphens * Must start with a letter. * Must contain between 1-63 characters. * Must end with a number or a letter. * Must be unique within the domain.

DomainId string
Description string

Optional. A short description of the backup.

Labels Dictionary<string, string>

Optional. Resource labels to represent user provided metadata.

Project string
BackupId string

Required. Backup Id, unique name to identify the backups with the following restrictions: * Must be lowercase letters, numbers, and hyphens * Must start with a letter. * Must contain between 1-63 characters. * Must end with a number or a letter. * Must be unique within the domain.

DomainId string
Description string

Optional. A short description of the backup.

Labels map[string]string

Optional. Resource labels to represent user provided metadata.

Project string
backupId String

Required. Backup Id, unique name to identify the backups with the following restrictions: * Must be lowercase letters, numbers, and hyphens * Must start with a letter. * Must contain between 1-63 characters. * Must end with a number or a letter. * Must be unique within the domain.

domainId String
description String

Optional. A short description of the backup.

labels Map<String,String>

Optional. Resource labels to represent user provided metadata.

project String
backupId string

Required. Backup Id, unique name to identify the backups with the following restrictions: * Must be lowercase letters, numbers, and hyphens * Must start with a letter. * Must contain between 1-63 characters. * Must end with a number or a letter. * Must be unique within the domain.

domainId string
description string

Optional. A short description of the backup.

labels {[key: string]: string}

Optional. Resource labels to represent user provided metadata.

project string
backup_id str

Required. Backup Id, unique name to identify the backups with the following restrictions: * Must be lowercase letters, numbers, and hyphens * Must start with a letter. * Must contain between 1-63 characters. * Must end with a number or a letter. * Must be unique within the domain.

domain_id str
description str

Optional. A short description of the backup.

labels Mapping[str, str]

Optional. Resource labels to represent user provided metadata.

project str
backupId String

Required. Backup Id, unique name to identify the backups with the following restrictions: * Must be lowercase letters, numbers, and hyphens * Must start with a letter. * Must contain between 1-63 characters. * Must end with a number or a letter. * Must be unique within the domain.

domainId String
description String

Optional. A short description of the backup.

labels Map<String>

Optional. Resource labels to represent user provided metadata.

project String

Outputs

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

CreateTime string

The time the backups was created.

Id string

The provider-assigned unique ID for this managed resource.

Name string

The unique name of the Backup in the form of projects/{project_id}/locations/global/domains/{domain_name}/backups/{name}

State string

The current state of the backup.

StatusMessage string

Additional information about the current status of this backup, if available.

Type string

Indicates whether it’s an on-demand backup or scheduled.

UpdateTime string

Last update time.

CreateTime string

The time the backups was created.

Id string

The provider-assigned unique ID for this managed resource.

Name string

The unique name of the Backup in the form of projects/{project_id}/locations/global/domains/{domain_name}/backups/{name}

State string

The current state of the backup.

StatusMessage string

Additional information about the current status of this backup, if available.

Type string

Indicates whether it’s an on-demand backup or scheduled.

UpdateTime string

Last update time.

createTime String

The time the backups was created.

id String

The provider-assigned unique ID for this managed resource.

name String

The unique name of the Backup in the form of projects/{project_id}/locations/global/domains/{domain_name}/backups/{name}

state String

The current state of the backup.

statusMessage String

Additional information about the current status of this backup, if available.

type String

Indicates whether it’s an on-demand backup or scheduled.

updateTime String

Last update time.

createTime string

The time the backups was created.

id string

The provider-assigned unique ID for this managed resource.

name string

The unique name of the Backup in the form of projects/{project_id}/locations/global/domains/{domain_name}/backups/{name}

state string

The current state of the backup.

statusMessage string

Additional information about the current status of this backup, if available.

type string

Indicates whether it’s an on-demand backup or scheduled.

updateTime string

Last update time.

create_time str

The time the backups was created.

id str

The provider-assigned unique ID for this managed resource.

name str

The unique name of the Backup in the form of projects/{project_id}/locations/global/domains/{domain_name}/backups/{name}

state str

The current state of the backup.

status_message str

Additional information about the current status of this backup, if available.

type str

Indicates whether it’s an on-demand backup or scheduled.

update_time str

Last update time.

createTime String

The time the backups was created.

id String

The provider-assigned unique ID for this managed resource.

name String

The unique name of the Backup in the form of projects/{project_id}/locations/global/domains/{domain_name}/backups/{name}

state String

The current state of the backup.

statusMessage String

Additional information about the current status of this backup, if available.

type String

Indicates whether it’s an on-demand backup or scheduled.

updateTime String

Last update time.

Package Details

Repository
https://github.com/pulumi/pulumi-google-native
License
Apache-2.0