Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.managedidentities/v1beta1.Backup
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Creates a Backup for a domain. Auto-naming is currently not supported for this resource.
Create Backup Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new Backup(name: string, args: BackupArgs, opts?: CustomResourceOptions);
@overload
def Backup(resource_name: str,
args: BackupArgs,
opts: Optional[ResourceOptions] = None)
@overload
def Backup(resource_name: str,
opts: Optional[ResourceOptions] = None,
backup_id: Optional[str] = None,
domain_id: Optional[str] = None,
description: Optional[str] = None,
labels: Optional[Mapping[str, str]] = None,
project: Optional[str] = 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.
Parameters
- 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.
Constructor example
The following reference example uses placeholder values for all input properties.
var examplebackupResourceResourceFromManagedidentitiesv1beta1 = new GoogleNative.Managedidentities.V1Beta1.Backup("examplebackupResourceResourceFromManagedidentitiesv1beta1", new()
{
BackupId = "string",
DomainId = "string",
Description = "string",
Labels =
{
{ "string", "string" },
},
Project = "string",
});
example, err := managedidentitiesv1beta1.NewBackup(ctx, "examplebackupResourceResourceFromManagedidentitiesv1beta1", &managedidentitiesv1beta1.BackupArgs{
BackupId: pulumi.String("string"),
DomainId: pulumi.String("string"),
Description: pulumi.String("string"),
Labels: pulumi.StringMap{
"string": pulumi.String("string"),
},
Project: pulumi.String("string"),
})
var examplebackupResourceResourceFromManagedidentitiesv1beta1 = new Backup("examplebackupResourceResourceFromManagedidentitiesv1beta1", BackupArgs.builder()
.backupId("string")
.domainId("string")
.description("string")
.labels(Map.of("string", "string"))
.project("string")
.build());
examplebackup_resource_resource_from_managedidentitiesv1beta1 = google_native.managedidentities.v1beta1.Backup("examplebackupResourceResourceFromManagedidentitiesv1beta1",
backup_id="string",
domain_id="string",
description="string",
labels={
"string": "string",
},
project="string")
const examplebackupResourceResourceFromManagedidentitiesv1beta1 = new google_native.managedidentities.v1beta1.Backup("examplebackupResourceResourceFromManagedidentitiesv1beta1", {
backupId: "string",
domainId: "string",
description: "string",
labels: {
string: "string",
},
project: "string",
});
type: google-native:managedidentities/v1beta1:Backup
properties:
backupId: string
description: string
domainId: string
labels:
string: string
project: string
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
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The Backup resource accepts the following input properties:
- Backup
Id 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.
- Domain
Id string - Description string
- Optional. A short description of the backup.
- Labels Dictionary<string, string>
- Optional. Resource labels to represent user provided metadata.
- Project string
- Backup
Id 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.
- Domain
Id string - Description string
- Optional. A short description of the backup.
- Labels map[string]string
- Optional. Resource labels to represent user provided metadata.
- Project string
- backup
Id 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.
- domain
Id String - description String
- Optional. A short description of the backup.
- labels Map<String,String>
- Optional. Resource labels to represent user provided metadata.
- project String
- backup
Id 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.
- domain
Id 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
- backup
Id 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.
- domain
Id 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:
- Create
Time 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.
- Status
Message string - Additional information about the current status of this backup, if available.
- Type string
- Indicates whether it’s an on-demand backup or scheduled.
- Update
Time string - Last update time.
- Create
Time 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.
- Status
Message string - Additional information about the current status of this backup, if available.
- Type string
- Indicates whether it’s an on-demand backup or scheduled.
- Update
Time string - Last update time.
- create
Time 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.
- status
Message String - Additional information about the current status of this backup, if available.
- type String
- Indicates whether it’s an on-demand backup or scheduled.
- update
Time String - Last update time.
- create
Time 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.
- status
Message string - Additional information about the current status of this backup, if available.
- type string
- Indicates whether it’s an on-demand backup or scheduled.
- update
Time 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.
- create
Time 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.
- status
Message String - Additional information about the current status of this backup, if available.
- type String
- Indicates whether it’s an on-demand backup or scheduled.
- update
Time String - Last update time.
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0
Google Cloud Native is in preview. Google Cloud Classic is fully supported.