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
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)
public static Output<GetBackupResult> getBackup(GetBackupArgs args, InvokeOptions options)
fn::invoke:
function: google-native:managedidentities/v1:getBackup
arguments:
# arguments dictionaryThe following arguments are supported:
getBackup Result
The following output properties are available:
- Create
Time 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- 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.
- create
Time 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.
- 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.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
