1. Packages
  2. Google Cloud Native
  3. API Docs
  4. managedidentities
  5. managedidentities/v1
  6. getBackup

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

google-native.managedidentities/v1.getBackup

Explore with Pulumi AI

google-native logo

Google Cloud Native is in preview. Google Cloud Classic is fully supported.

Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi

    Gets details of a single Backup.

    Using getBackup

    Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

    function getBackup(args: GetBackupArgs, opts?: InvokeOptions): Promise<GetBackupResult>
    function getBackupOutput(args: GetBackupOutputArgs, opts?: InvokeOptions): Output<GetBackupResult>
    def get_backup(backup_id: Optional[str] = None,
                   domain_id: Optional[str] = None,
                   project: Optional[str] = None,
                   opts: Optional[InvokeOptions] = None) -> GetBackupResult
    def get_backup_output(backup_id: Optional[pulumi.Input[str]] = None,
                   domain_id: Optional[pulumi.Input[str]] = None,
                   project: Optional[pulumi.Input[str]] = None,
                   opts: Optional[InvokeOptions] = None) -> Output[GetBackupResult]
    func LookupBackup(ctx *Context, args *LookupBackupArgs, opts ...InvokeOption) (*LookupBackupResult, error)
    func LookupBackupOutput(ctx *Context, args *LookupBackupOutputArgs, opts ...InvokeOption) LookupBackupResultOutput

    > Note: This function is named LookupBackup in the Go SDK.

    public static class GetBackup 
    {
        public static Task<GetBackupResult> InvokeAsync(GetBackupArgs args, InvokeOptions? opts = null)
        public static Output<GetBackupResult> Invoke(GetBackupInvokeArgs args, InvokeOptions? opts = null)
    }
    public static CompletableFuture<GetBackupResult> getBackup(GetBackupArgs args, InvokeOptions options)
    // Output-based functions aren't available in Java yet
    
    fn::invoke:
      function: google-native:managedidentities/v1:getBackup
      arguments:
        # arguments dictionary

    The following arguments are supported:

    BackupId string
    DomainId string
    Project string
    BackupId string
    DomainId string
    Project string
    backupId String
    domainId String
    project String
    backupId string
    domainId string
    project string
    backupId String
    domainId String
    project String

    getBackup Result

    The following output properties are available:

    CreateTime string
    The time the backups was created.
    Labels Dictionary<string, string>
    Optional. Resource labels to represent user provided metadata.
    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.
    Labels map[string]string
    Optional. Resource labels to represent user provided metadata.
    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.
    labels Map<String,String>
    Optional. Resource labels to represent user provided metadata.
    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.
    labels {[key: string]: string}
    Optional. Resource labels to represent user provided metadata.
    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.
    labels Mapping[str, str]
    Optional. Resource labels to represent user provided metadata.
    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.
    labels Map<String>
    Optional. Resource labels to represent user provided metadata.
    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-native logo

    Google Cloud Native is in preview. Google Cloud Classic is fully supported.

    Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi