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 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>
Copy
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]
Copy
func LookupBackup(ctx *Context, args *LookupBackupArgs, opts ...InvokeOption) (*LookupBackupResult, error)
func LookupBackupOutput(ctx *Context, args *LookupBackupOutputArgs, opts ...InvokeOption) LookupBackupResultOutput
Copy

> 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)
}
Copy
public static CompletableFuture<GetBackupResult> getBackup(GetBackupArgs args, InvokeOptions options)
public static Output<GetBackupResult> getBackup(GetBackupArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: google-native:managedidentities/v1:getBackup
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

BackupId This property is required. string
DomainId This property is required. string
Project string
BackupId This property is required. string
DomainId This property is required. string
Project string
backupId This property is required. String
domainId This property is required. String
project String
backupId This property is required. string
domainId This property is required. string
project string
backup_id This property is required. str
domain_id This property is required. str
project str
backupId This property is required. String
domainId This property is required. 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 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