azure-native.web.listWebAppSiteBackupsSlot
Explore with Pulumi AI
Description for Gets existing backups of an app. Azure REST API version: 2022-09-01.
Other available API versions: 2020-10-01, 2023-01-01.
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>
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]
func ListWebAppSiteBackupsSlot(ctx *Context, args *ListWebAppSiteBackupsSlotArgs, opts ...InvokeOption) (*ListWebAppSiteBackupsSlotResult, error)
func ListWebAppSiteBackupsSlotOutput(ctx *Context, args *ListWebAppSiteBackupsSlotOutputArgs, opts ...InvokeOption) ListWebAppSiteBackupsSlotResultOutput
> 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)
}
public static CompletableFuture<ListWebAppSiteBackupsSlotResult> listWebAppSiteBackupsSlot(ListWebAppSiteBackupsSlotArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:web:listWebAppSiteBackupsSlot
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.
- Slot string
Name of the deployment slot. If a slot is not specified, the API will get backups of the production slot.
- Name string
Name of the app.
- Resource
Group stringName Name of the resource group to which the resource belongs.
- Slot string
Name of the deployment slot. If a slot is not specified, the API will get backups of the production slot.
- name String
Name of the app.
- resource
Group StringName Name of the resource group to which the resource belongs.
- slot String
Name of the deployment slot. If a slot is not specified, the API will get backups of the production slot.
- name string
Name of the app.
- resource
Group stringName Name of the resource group to which the resource belongs.
- slot string
Name of the deployment slot. If a slot is not specified, the API will get backups of the production slot.
- name str
Name of the app.
- resource_
group_ strname Name of the resource group to which the resource belongs.
- slot str
Name of the deployment slot. If a slot is not specified, the API will get backups of the production slot.
- name String
Name of the app.
- resource
Group StringName Name of the resource group to which the resource belongs.
- slot 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:
- 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