azure-native.web.listWebAppSiteBackups
Explore with Pulumi AI
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 listWebAppSiteBackups
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 listWebAppSiteBackups(args: ListWebAppSiteBackupsArgs, opts?: InvokeOptions): Promise<ListWebAppSiteBackupsResult>
function listWebAppSiteBackupsOutput(args: ListWebAppSiteBackupsOutputArgs, opts?: InvokeOptions): Output<ListWebAppSiteBackupsResult>
def list_web_app_site_backups(name: Optional[str] = None,
resource_group_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> ListWebAppSiteBackupsResult
def list_web_app_site_backups_output(name: Optional[pulumi.Input[str]] = None,
resource_group_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[ListWebAppSiteBackupsResult]
func ListWebAppSiteBackups(ctx *Context, args *ListWebAppSiteBackupsArgs, opts ...InvokeOption) (*ListWebAppSiteBackupsResult, error)
func ListWebAppSiteBackupsOutput(ctx *Context, args *ListWebAppSiteBackupsOutputArgs, opts ...InvokeOption) ListWebAppSiteBackupsResultOutput
> Note: This function is named ListWebAppSiteBackups
in the Go SDK.
public static class ListWebAppSiteBackups
{
public static Task<ListWebAppSiteBackupsResult> InvokeAsync(ListWebAppSiteBackupsArgs args, InvokeOptions? opts = null)
public static Output<ListWebAppSiteBackupsResult> Invoke(ListWebAppSiteBackupsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<ListWebAppSiteBackupsResult> listWebAppSiteBackups(ListWebAppSiteBackupsArgs args, InvokeOptions options)
public static Output<ListWebAppSiteBackupsResult> listWebAppSiteBackups(ListWebAppSiteBackupsArgs args, InvokeOptions options)
fn::invoke:
function: azure-native:web:listWebAppSiteBackups
arguments:
# arguments dictionary
The following arguments are supported:
- Name string
- Name of the app.
- Resource
Group stringName - Name of the resource group to which the resource belongs.
- Name string
- Name of the app.
- Resource
Group stringName - Name of the resource group to which the resource belongs.
- name String
- Name of the app.
- resource
Group StringName - Name of the resource group to which the resource belongs.
- name string
- Name of the app.
- resource
Group stringName - Name of the resource group to which the resource belongs.
- name str
- Name of the app.
- resource_
group_ strname - Name of the resource group to which the resource belongs.
- name String
- Name of the app.
- resource
Group StringName - Name of the resource group to which the resource belongs.
listWebAppSiteBackups Result
The following output properties are available:
- Next
Link string - Link to next page of resources.
- Value
List<Pulumi.
Azure Native. Web. Outputs. Backup Item Response> - Collection of resources.
- Next
Link string - Link to next page of resources.
- Value
[]Backup
Item Response - Collection of resources.
- next
Link String - Link to next page of resources.
- value
List<Backup
Item Response> - Collection of resources.
- next
Link string - Link to next page of resources.
- value
Backup
Item Response[] - Collection of resources.
- next_
link str - Link to next page of resources.
- value
Sequence[Backup
Item Response] - Collection of resources.
- next
Link String - Link to next page of resources.
- value List<Property Map>
- Collection of resources.
Supporting Types
BackupItemResponse
- Backup
Id int - Id of the backup.
- Blob
Name string - Name of the blob which contains data for this backup.
- Correlation
Id string - Unique correlation identifier. Please use this along with the timestamp while communicating with Azure support.
- Created string
- Timestamp of the backup creation.
- Databases
List<Pulumi.
Azure Native. Web. Inputs. Database Backup Setting Response> - List of databases included in the backup.
- Finished
Time stringStamp - Timestamp when this backup finished.
- Id string
- Resource Id.
- Last
Restore stringTime Stamp - Timestamp of a last restore operation which used this backup.
- Log string
- Details regarding this backup. Might contain an error message.
- Name string
- Resource Name.
- Scheduled bool
- True if this backup has been created due to a schedule being triggered.
- Size
In doubleBytes - Size of the backup in bytes.
- Status string
- Backup status.
- Storage
Account stringUrl - SAS URL for the storage account container which contains this backup.
- Type string
- Resource type.
- Website
Size doubleIn Bytes - Size of the original web app which has been backed up.
- Kind string
- Kind of resource.
- Backup
Id int - Id of the backup.
- Blob
Name string - Name of the blob which contains data for this backup.
- Correlation
Id string - Unique correlation identifier. Please use this along with the timestamp while communicating with Azure support.
- Created string
- Timestamp of the backup creation.
- Databases
[]Database
Backup Setting Response - List of databases included in the backup.
- Finished
Time stringStamp - Timestamp when this backup finished.
- Id string
- Resource Id.
- Last
Restore stringTime Stamp - Timestamp of a last restore operation which used this backup.
- Log string
- Details regarding this backup. Might contain an error message.
- Name string
- Resource Name.
- Scheduled bool
- True if this backup has been created due to a schedule being triggered.
- Size
In float64Bytes - Size of the backup in bytes.
- Status string
- Backup status.
- Storage
Account stringUrl - SAS URL for the storage account container which contains this backup.
- Type string
- Resource type.
- Website
Size float64In Bytes - Size of the original web app which has been backed up.
- Kind string
- Kind of resource.
- backup
Id Integer - Id of the backup.
- blob
Name String - Name of the blob which contains data for this backup.
- correlation
Id String - Unique correlation identifier. Please use this along with the timestamp while communicating with Azure support.
- created String
- Timestamp of the backup creation.
- databases
List<Database
Backup Setting Response> - List of databases included in the backup.
- finished
Time StringStamp - Timestamp when this backup finished.
- id String
- Resource Id.
- last
Restore StringTime Stamp - Timestamp of a last restore operation which used this backup.
- log String
- Details regarding this backup. Might contain an error message.
- name String
- Resource Name.
- scheduled Boolean
- True if this backup has been created due to a schedule being triggered.
- size
In DoubleBytes - Size of the backup in bytes.
- status String
- Backup status.
- storage
Account StringUrl - SAS URL for the storage account container which contains this backup.
- type String
- Resource type.
- website
Size DoubleIn Bytes - Size of the original web app which has been backed up.
- kind String
- Kind of resource.
- backup
Id number - Id of the backup.
- blob
Name string - Name of the blob which contains data for this backup.
- correlation
Id string - Unique correlation identifier. Please use this along with the timestamp while communicating with Azure support.
- created string
- Timestamp of the backup creation.
- databases
Database
Backup Setting Response[] - List of databases included in the backup.
- finished
Time stringStamp - Timestamp when this backup finished.
- id string
- Resource Id.
- last
Restore stringTime Stamp - Timestamp of a last restore operation which used this backup.
- log string
- Details regarding this backup. Might contain an error message.
- name string
- Resource Name.
- scheduled boolean
- True if this backup has been created due to a schedule being triggered.
- size
In numberBytes - Size of the backup in bytes.
- status string
- Backup status.
- storage
Account stringUrl - SAS URL for the storage account container which contains this backup.
- type string
- Resource type.
- website
Size numberIn Bytes - Size of the original web app which has been backed up.
- kind string
- Kind of resource.
- backup_
id int - Id of the backup.
- blob_
name str - Name of the blob which contains data for this backup.
- correlation_
id str - Unique correlation identifier. Please use this along with the timestamp while communicating with Azure support.
- created str
- Timestamp of the backup creation.
- databases
Sequence[Database
Backup Setting Response] - List of databases included in the backup.
- finished_
time_ strstamp - Timestamp when this backup finished.
- id str
- Resource Id.
- last_
restore_ strtime_ stamp - Timestamp of a last restore operation which used this backup.
- log str
- Details regarding this backup. Might contain an error message.
- name str
- Resource Name.
- scheduled bool
- True if this backup has been created due to a schedule being triggered.
- size_
in_ floatbytes - Size of the backup in bytes.
- status str
- Backup status.
- storage_
account_ strurl - SAS URL for the storage account container which contains this backup.
- type str
- Resource type.
- website_
size_ floatin_ bytes - Size of the original web app which has been backed up.
- kind str
- Kind of resource.
- backup
Id Number - Id of the backup.
- blob
Name String - Name of the blob which contains data for this backup.
- correlation
Id String - Unique correlation identifier. Please use this along with the timestamp while communicating with Azure support.
- created String
- Timestamp of the backup creation.
- databases List<Property Map>
- List of databases included in the backup.
- finished
Time StringStamp - Timestamp when this backup finished.
- id String
- Resource Id.
- last
Restore StringTime Stamp - Timestamp of a last restore operation which used this backup.
- log String
- Details regarding this backup. Might contain an error message.
- name String
- Resource Name.
- scheduled Boolean
- True if this backup has been created due to a schedule being triggered.
- size
In NumberBytes - Size of the backup in bytes.
- status String
- Backup status.
- storage
Account StringUrl - SAS URL for the storage account container which contains this backup.
- type String
- Resource type.
- website
Size NumberIn Bytes - Size of the original web app which has been backed up.
- kind String
- Kind of resource.
DatabaseBackupSettingResponse
- Database
Type string - Database type (e.g. SqlAzure / MySql).
- Connection
String 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.
- Connection
String stringName - 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 string - Database type (e.g. SqlAzure / MySql).
- Connection
String 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.
- Connection
String stringName - 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 String - Database type (e.g. SqlAzure / MySql).
- connection
String 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.
- connection
String StringName - 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 string - Database type (e.g. SqlAzure / MySql).
- connection
String 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.
- connection
String stringName - 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 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_ strname - Contains a connection string name that is linked to the SiteConfig.ConnectionStrings. This is used during restore with overwrite connection strings options.
- name str
- database
Type String - Database type (e.g. SqlAzure / MySql).
- connection
String 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.
- connection
String StringName - 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