google-native logo
Google Cloud Native v0.30.0, Apr 14 23

google-native.managedidentities/v1alpha1.getBackup

Explore with Pulumi AI

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/v1alpha1: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.

Description string

Optional. A short description of the backup.

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.

Description string

Optional. A short description of the backup.

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.

description String

Optional. A short description of the backup.

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.

description string

Optional. A short description of the backup.

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.

description str

Optional. A short description of the backup.

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.

description String

Optional. A short description of the backup.

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