1. Packages
  2. Azure Native
  3. API Docs
  4. web
  5. listWebAppSiteBackupsSlot
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.0.1 published on Monday, Apr 7, 2025 by Pulumi

azure-native.web.listWebAppSiteBackupsSlot

Explore with Pulumi AI

This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.0.1 published on Monday, Apr 7, 2025 by Pulumi

Description for Gets existing backups of an app.

Uses Azure REST API version 2024-04-01.

Other available API versions: 2019-08-01, 2020-06-01, 2020-09-01, 2020-10-01, 2020-12-01, 2021-01-01, 2021-01-15, 2021-02-01, 2021-03-01, 2022-03-01, 2022-09-01, 2023-01-01, 2023-12-01. These can be accessed by generating a local SDK package using the CLI command pulumi package add azure-native web [ApiVersion]. See the version guide for details.

Using listWebAppSiteBackupsSlot

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 listWebAppSiteBackupsSlot(args: ListWebAppSiteBackupsSlotArgs, opts?: InvokeOptions): Promise<ListWebAppSiteBackupsSlotResult>
function listWebAppSiteBackupsSlotOutput(args: ListWebAppSiteBackupsSlotOutputArgs, opts?: InvokeOptions): Output<ListWebAppSiteBackupsSlotResult>
Copy
def list_web_app_site_backups_slot(name: Optional[str] = None,
                                   resource_group_name: Optional[str] = None,
                                   slot: Optional[str] = None,
                                   opts: Optional[InvokeOptions] = None) -> ListWebAppSiteBackupsSlotResult
def list_web_app_site_backups_slot_output(name: Optional[pulumi.Input[str]] = None,
                                   resource_group_name: Optional[pulumi.Input[str]] = None,
                                   slot: Optional[pulumi.Input[str]] = None,
                                   opts: Optional[InvokeOptions] = None) -> Output[ListWebAppSiteBackupsSlotResult]
Copy
func ListWebAppSiteBackupsSlot(ctx *Context, args *ListWebAppSiteBackupsSlotArgs, opts ...InvokeOption) (*ListWebAppSiteBackupsSlotResult, error)
func ListWebAppSiteBackupsSlotOutput(ctx *Context, args *ListWebAppSiteBackupsSlotOutputArgs, opts ...InvokeOption) ListWebAppSiteBackupsSlotResultOutput
Copy

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

public static class ListWebAppSiteBackupsSlot 
{
    public static Task<ListWebAppSiteBackupsSlotResult> InvokeAsync(ListWebAppSiteBackupsSlotArgs args, InvokeOptions? opts = null)
    public static Output<ListWebAppSiteBackupsSlotResult> Invoke(ListWebAppSiteBackupsSlotInvokeArgs args, InvokeOptions? opts = null)
}
Copy
public static CompletableFuture<ListWebAppSiteBackupsSlotResult> listWebAppSiteBackupsSlot(ListWebAppSiteBackupsSlotArgs args, InvokeOptions options)
public static Output<ListWebAppSiteBackupsSlotResult> listWebAppSiteBackupsSlot(ListWebAppSiteBackupsSlotArgs args, InvokeOptions options)
Copy
fn::invoke:
  function: azure-native:web:listWebAppSiteBackupsSlot
  arguments:
    # arguments dictionary
Copy

The following arguments are supported:

Name
This property is required.
Changes to this property will trigger replacement.
string
Name of the app.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
Name of the resource group to which the resource belongs.
Slot
This property is required.
Changes to this property will trigger replacement.
string
Name of the deployment slot. If a slot is not specified, the API will get backups of the production slot.
Name
This property is required.
Changes to this property will trigger replacement.
string
Name of the app.
ResourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
Name of the resource group to which the resource belongs.
Slot
This property is required.
Changes to this property will trigger replacement.
string
Name of the deployment slot. If a slot is not specified, the API will get backups of the production slot.
name
This property is required.
Changes to this property will trigger replacement.
String
Name of the app.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
Name of the resource group to which the resource belongs.
slot
This property is required.
Changes to this property will trigger replacement.
String
Name of the deployment slot. If a slot is not specified, the API will get backups of the production slot.
name
This property is required.
Changes to this property will trigger replacement.
string
Name of the app.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
string
Name of the resource group to which the resource belongs.
slot
This property is required.
Changes to this property will trigger replacement.
string
Name of the deployment slot. If a slot is not specified, the API will get backups of the production slot.
name
This property is required.
Changes to this property will trigger replacement.
str
Name of the app.
resource_group_name
This property is required.
Changes to this property will trigger replacement.
str
Name of the resource group to which the resource belongs.
slot
This property is required.
Changes to this property will trigger replacement.
str
Name of the deployment slot. If a slot is not specified, the API will get backups of the production slot.
name
This property is required.
Changes to this property will trigger replacement.
String
Name of the app.
resourceGroupName
This property is required.
Changes to this property will trigger replacement.
String
Name of the resource group to which the resource belongs.
slot
This property is required.
Changes to this property will trigger replacement.
String
Name of the deployment slot. If a slot is not specified, the API will get backups of the production slot.

listWebAppSiteBackupsSlot Result

The following output properties are available:

NextLink string
Link to next page of resources.
Value List<Pulumi.AzureNative.Web.Outputs.BackupItemResponse>
Collection of resources.
NextLink string
Link to next page of resources.
Value []BackupItemResponse
Collection of resources.
nextLink String
Link to next page of resources.
value List<BackupItemResponse>
Collection of resources.
nextLink string
Link to next page of resources.
value BackupItemResponse[]
Collection of resources.
next_link str
Link to next page of resources.
value Sequence[BackupItemResponse]
Collection of resources.
nextLink String
Link to next page of resources.
value List<Property Map>
Collection of resources.

Supporting Types

BackupItemResponse

BackupId This property is required. int
Id of the backup.
BlobName This property is required. string
Name of the blob which contains data for this backup.
CorrelationId This property is required. string
Unique correlation identifier. Please use this along with the timestamp while communicating with Azure support.
Created This property is required. string
Timestamp of the backup creation.
Databases This property is required. List<Pulumi.AzureNative.Web.Inputs.DatabaseBackupSettingResponse>
List of databases included in the backup.
FinishedTimeStamp This property is required. string
Timestamp when this backup finished.
Id This property is required. string
Resource Id.
LastRestoreTimeStamp This property is required. string
Timestamp of a last restore operation which used this backup.
Log This property is required. string
Details regarding this backup. Might contain an error message.
Name This property is required. string
Resource Name.
Scheduled This property is required. bool
True if this backup has been created due to a schedule being triggered.
SizeInBytes This property is required. double
Size of the backup in bytes.
Status This property is required. string
Backup status.
StorageAccountUrl This property is required. string
SAS URL for the storage account container which contains this backup.
Type This property is required. string
Resource type.
WebsiteSizeInBytes This property is required. double
Size of the original web app which has been backed up.
Kind string
Kind of resource.
BackupId This property is required. int
Id of the backup.
BlobName This property is required. string
Name of the blob which contains data for this backup.
CorrelationId This property is required. string
Unique correlation identifier. Please use this along with the timestamp while communicating with Azure support.
Created This property is required. string
Timestamp of the backup creation.
Databases This property is required. []DatabaseBackupSettingResponse
List of databases included in the backup.
FinishedTimeStamp This property is required. string
Timestamp when this backup finished.
Id This property is required. string
Resource Id.
LastRestoreTimeStamp This property is required. string
Timestamp of a last restore operation which used this backup.
Log This property is required. string
Details regarding this backup. Might contain an error message.
Name This property is required. string
Resource Name.
Scheduled This property is required. bool
True if this backup has been created due to a schedule being triggered.
SizeInBytes This property is required. float64
Size of the backup in bytes.
Status This property is required. string
Backup status.
StorageAccountUrl This property is required. string
SAS URL for the storage account container which contains this backup.
Type This property is required. string
Resource type.
WebsiteSizeInBytes This property is required. float64
Size of the original web app which has been backed up.
Kind string
Kind of resource.
backupId This property is required. Integer
Id of the backup.
blobName This property is required. String
Name of the blob which contains data for this backup.
correlationId This property is required. String
Unique correlation identifier. Please use this along with the timestamp while communicating with Azure support.
created This property is required. String
Timestamp of the backup creation.
databases This property is required. List<DatabaseBackupSettingResponse>
List of databases included in the backup.
finishedTimeStamp This property is required. String
Timestamp when this backup finished.
id This property is required. String
Resource Id.
lastRestoreTimeStamp This property is required. String
Timestamp of a last restore operation which used this backup.
log This property is required. String
Details regarding this backup. Might contain an error message.
name This property is required. String
Resource Name.
scheduled This property is required. Boolean
True if this backup has been created due to a schedule being triggered.
sizeInBytes This property is required. Double
Size of the backup in bytes.
status This property is required. String
Backup status.
storageAccountUrl This property is required. String
SAS URL for the storage account container which contains this backup.
type This property is required. String
Resource type.
websiteSizeInBytes This property is required. Double
Size of the original web app which has been backed up.
kind String
Kind of resource.
backupId This property is required. number
Id of the backup.
blobName This property is required. string
Name of the blob which contains data for this backup.
correlationId This property is required. string
Unique correlation identifier. Please use this along with the timestamp while communicating with Azure support.
created This property is required. string
Timestamp of the backup creation.
databases This property is required. DatabaseBackupSettingResponse[]
List of databases included in the backup.
finishedTimeStamp This property is required. string
Timestamp when this backup finished.
id This property is required. string
Resource Id.
lastRestoreTimeStamp This property is required. string
Timestamp of a last restore operation which used this backup.
log This property is required. string
Details regarding this backup. Might contain an error message.
name This property is required. string
Resource Name.
scheduled This property is required. boolean
True if this backup has been created due to a schedule being triggered.
sizeInBytes This property is required. number
Size of the backup in bytes.
status This property is required. string
Backup status.
storageAccountUrl This property is required. string
SAS URL for the storage account container which contains this backup.
type This property is required. string
Resource type.
websiteSizeInBytes This property is required. number
Size of the original web app which has been backed up.
kind string
Kind of resource.
backup_id This property is required. int
Id of the backup.
blob_name This property is required. str
Name of the blob which contains data for this backup.
correlation_id This property is required. str
Unique correlation identifier. Please use this along with the timestamp while communicating with Azure support.
created This property is required. str
Timestamp of the backup creation.
databases This property is required. Sequence[DatabaseBackupSettingResponse]
List of databases included in the backup.
finished_time_stamp This property is required. str
Timestamp when this backup finished.
id This property is required. str
Resource Id.
last_restore_time_stamp This property is required. str
Timestamp of a last restore operation which used this backup.
log This property is required. str
Details regarding this backup. Might contain an error message.
name This property is required. str
Resource Name.
scheduled This property is required. bool
True if this backup has been created due to a schedule being triggered.
size_in_bytes This property is required. float
Size of the backup in bytes.
status This property is required. str
Backup status.
storage_account_url This property is required. str
SAS URL for the storage account container which contains this backup.
type This property is required. str
Resource type.
website_size_in_bytes This property is required. float
Size of the original web app which has been backed up.
kind str
Kind of resource.
backupId This property is required. Number
Id of the backup.
blobName This property is required. String
Name of the blob which contains data for this backup.
correlationId This property is required. String
Unique correlation identifier. Please use this along with the timestamp while communicating with Azure support.
created This property is required. String
Timestamp of the backup creation.
databases This property is required. List<Property Map>
List of databases included in the backup.
finishedTimeStamp This property is required. String
Timestamp when this backup finished.
id This property is required. String
Resource Id.
lastRestoreTimeStamp This property is required. String
Timestamp of a last restore operation which used this backup.
log This property is required. String
Details regarding this backup. Might contain an error message.
name This property is required. String
Resource Name.
scheduled This property is required. Boolean
True if this backup has been created due to a schedule being triggered.
sizeInBytes This property is required. Number
Size of the backup in bytes.
status This property is required. String
Backup status.
storageAccountUrl This property is required. String
SAS URL for the storage account container which contains this backup.
type This property is required. String
Resource type.
websiteSizeInBytes This property is required. Number
Size of the original web app which has been backed up.
kind String
Kind of resource.

DatabaseBackupSettingResponse

DatabaseType This property is required. string
Database type (e.g. SqlAzure / MySql).
ConnectionString string
Contains a connection string to a database which is being backed up or restored. If the restore should happen to a new database, the database name inside is the new one.
ConnectionStringName string
Contains a connection string name that is linked to the SiteConfig.ConnectionStrings. This is used during restore with overwrite connection strings options.
Name string
DatabaseType This property is required. string
Database type (e.g. SqlAzure / MySql).
ConnectionString string
Contains a connection string to a database which is being backed up or restored. If the restore should happen to a new database, the database name inside is the new one.
ConnectionStringName string
Contains a connection string name that is linked to the SiteConfig.ConnectionStrings. This is used during restore with overwrite connection strings options.
Name string
databaseType This property is required. String
Database type (e.g. SqlAzure / MySql).
connectionString String
Contains a connection string to a database which is being backed up or restored. If the restore should happen to a new database, the database name inside is the new one.
connectionStringName String
Contains a connection string name that is linked to the SiteConfig.ConnectionStrings. This is used during restore with overwrite connection strings options.
name String
databaseType This property is required. string
Database type (e.g. SqlAzure / MySql).
connectionString string
Contains a connection string to a database which is being backed up or restored. If the restore should happen to a new database, the database name inside is the new one.
connectionStringName string
Contains a connection string name that is linked to the SiteConfig.ConnectionStrings. This is used during restore with overwrite connection strings options.
name string
database_type This property is required. str
Database type (e.g. SqlAzure / MySql).
connection_string str
Contains a connection string to a database which is being backed up or restored. If the restore should happen to a new database, the database name inside is the new one.
connection_string_name str
Contains a connection string name that is linked to the SiteConfig.ConnectionStrings. This is used during restore with overwrite connection strings options.
name str
databaseType This property is required. String
Database type (e.g. SqlAzure / MySql).
connectionString String
Contains a connection string to a database which is being backed up or restored. If the restore should happen to a new database, the database name inside is the new one.
connectionStringName String
Contains a connection string name that is linked to the SiteConfig.ConnectionStrings. This is used during restore with overwrite connection strings options.
name String

Package Details

Repository
Azure Native pulumi/pulumi-azure-native
License
Apache-2.0
This is the latest version of Azure Native. Use the Azure Native v2 docs if using the v2 version of this package.
Azure Native v3.0.1 published on Monday, Apr 7, 2025 by Pulumi