avi 31.1.1 published on Monday, Apr 14, 2025 by vmware
avi.getBackup
Explore with Pulumi AI
<!–
Copyright 2021 VMware, Inc.
SPDX-License-Identifier: Mozilla Public License 2.0
–>
layout: “avi”
page_title: “AVI: avi.Backup” sidebar_current: “docs-avi-datasource-backup” description: |- Get information of Avi Backup.
avi.Backup
This data source is used to to get avi.Backup objects.
Example Usage
Coming soon!
Coming soon!
Coming soon!
Coming soon!
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.avi.AviFunctions;
import com.pulumi.avi.inputs.GetBackupArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var fooBackup = AviFunctions.getBackup(GetBackupArgs.builder()
.name("foo")
.uuid("backup-f9cf6b3e-a411-436f-95e2-2982ba2b217b")
.build());
}
}
variables:
fooBackup:
fn::invoke:
function: avi:getBackup
arguments:
name: foo
uuid: backup-f9cf6b3e-a411-436f-95e2-2982ba2b217b
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(id: Optional[str] = None,
tenant_ref: Optional[str] = None,
uuid: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetBackupResult
def get_backup_output(id: Optional[pulumi.Input[str]] = None,
tenant_ref: Optional[pulumi.Input[str]] = None,
uuid: 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: avi:index/getBackup:getBackup
arguments:
# arguments dictionary
The following arguments are supported:
- id str
- tenant_
ref str - It is a reference to an object of type tenant. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- uuid str
- Search Backup by uuid.
getBackup Result
The following output properties are available:
- Backup
Config stringRef - Backupconfiguration information. It is a reference to an object of type backupconfiguration. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- File
Name string - The file name of backup. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Id string
- Local
File stringUrl - Url to download the backup file. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Remote
File stringUrl - Url to download the backup file. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Scheduler
Ref string - Scheduler information. It is a reference to an object of type scheduler. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Tenant
Ref string - It is a reference to an object of type tenant. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Timestamp string
- Unix timestamp of when the backup file is created. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Uuid string
- Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Backup
Config stringRef - Backupconfiguration information. It is a reference to an object of type backupconfiguration. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- File
Name string - The file name of backup. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Id string
- Local
File stringUrl - Url to download the backup file. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Remote
File stringUrl - Url to download the backup file. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Scheduler
Ref string - Scheduler information. It is a reference to an object of type scheduler. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Tenant
Ref string - It is a reference to an object of type tenant. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Timestamp string
- Unix timestamp of when the backup file is created. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- Uuid string
- Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- backup
Config StringRef - Backupconfiguration information. It is a reference to an object of type backupconfiguration. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- file
Name String - The file name of backup. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- id String
- local
File StringUrl - Url to download the backup file. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- remote
File StringUrl - Url to download the backup file. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- scheduler
Ref String - Scheduler information. It is a reference to an object of type scheduler. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- tenant
Ref String - It is a reference to an object of type tenant. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- timestamp String
- Unix timestamp of when the backup file is created. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- uuid String
- Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- backup
Config stringRef - Backupconfiguration information. It is a reference to an object of type backupconfiguration. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- file
Name string - The file name of backup. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- id string
- local
File stringUrl - Url to download the backup file. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- remote
File stringUrl - Url to download the backup file. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- scheduler
Ref string - Scheduler information. It is a reference to an object of type scheduler. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- tenant
Ref string - It is a reference to an object of type tenant. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- timestamp string
- Unix timestamp of when the backup file is created. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- uuid string
- Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- backup_
config_ strref - Backupconfiguration information. It is a reference to an object of type backupconfiguration. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- file_
name str - The file name of backup. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- id str
- local_
file_ strurl - Url to download the backup file. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- remote_
file_ strurl - Url to download the backup file. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- scheduler_
ref str - Scheduler information. It is a reference to an object of type scheduler. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- tenant_
ref str - It is a reference to an object of type tenant. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- timestamp str
- Unix timestamp of when the backup file is created. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- uuid str
- Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- backup
Config StringRef - Backupconfiguration information. It is a reference to an object of type backupconfiguration. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- file
Name String - The file name of backup. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- id String
- local
File StringUrl - Url to download the backup file. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- remote
File StringUrl - Url to download the backup file. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- scheduler
Ref String - Scheduler information. It is a reference to an object of type scheduler. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- tenant
Ref String - It is a reference to an object of type tenant. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- timestamp String
- Unix timestamp of when the backup file is created. Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
- uuid String
- Allowed with any value in enterprise, essentials, basic, enterprise with cloud services edition.
Package Details
- Repository
- avi vmware/terraform-provider-avi
- License
- Notes
- This Pulumi package is based on the
avi
Terraform Provider.