Google Cloud Native is in preview. Google Cloud Classic is fully supported.
google-native.managedidentities/v1alpha1.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/v1alpha1: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 examplebackupResourceResourceFromManagedidentitiesv1alpha1 = new GoogleNative.Managedidentities.V1Alpha1.Backup("examplebackupResourceResourceFromManagedidentitiesv1alpha1", new()
{
    BackupId = "string",
    DomainId = "string",
    Description = "string",
    Labels = 
    {
        { "string", "string" },
    },
    Project = "string",
});
example, err := managedidentitiesv1alpha1.NewBackup(ctx, "examplebackupResourceResourceFromManagedidentitiesv1alpha1", &managedidentitiesv1alpha1.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 examplebackupResourceResourceFromManagedidentitiesv1alpha1 = new Backup("examplebackupResourceResourceFromManagedidentitiesv1alpha1", BackupArgs.builder()
    .backupId("string")
    .domainId("string")
    .description("string")
    .labels(Map.of("string", "string"))
    .project("string")
    .build());
examplebackup_resource_resource_from_managedidentitiesv1alpha1 = google_native.managedidentities.v1alpha1.Backup("examplebackupResourceResourceFromManagedidentitiesv1alpha1",
    backup_id="string",
    domain_id="string",
    description="string",
    labels={
        "string": "string",
    },
    project="string")
const examplebackupResourceResourceFromManagedidentitiesv1alpha1 = new google_native.managedidentities.v1alpha1.Backup("examplebackupResourceResourceFromManagedidentitiesv1alpha1", {
    backupId: "string",
    domainId: "string",
    description: "string",
    labels: {
        string: "string",
    },
    project: "string",
});
type: google-native:managedidentities/v1alpha1: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:
- 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
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0
Google Cloud Native is in preview. Google Cloud Classic is fully supported.