azure-native.web.listWebAppSiteBackupsSlot
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 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)
public static Output<ListWebAppSiteBackupsSlotResult> listWebAppSiteBackupsSlot(ListWebAppSiteBackupsSlotArgs args, InvokeOptions options)
fn::invoke:
function: azure-native:web:listWebAppSiteBackupsSlot
arguments:
# arguments dictionary
The following arguments are supported:
- Name
This property is required. Changes to this property will trigger replacement.
- Name of the app.
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- Name of the resource group to which the resource belongs.
- Slot
This property is required. Changes to this property will trigger replacement.
- 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.
- Name of the app.
- Resource
Group Name This property is required. Changes to this property will trigger replacement.
- Name of the resource group to which the resource belongs.
- Slot
This property is required. Changes to this property will trigger replacement.
- 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.
- Name of the app.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- Name of the resource group to which the resource belongs.
- slot
This property is required. Changes to this property will trigger replacement.
- 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.
- Name of the app.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- Name of the resource group to which the resource belongs.
- slot
This property is required. Changes to this property will trigger replacement.
- 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.
- Name of the app.
- resource_
group_ name This property is required. Changes to this property will trigger replacement.
- Name of the resource group to which the resource belongs.
- slot
This property is required. Changes to this property will trigger replacement.
- 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.
- Name of the app.
- resource
Group Name This property is required. Changes to this property will trigger replacement.
- Name of the resource group to which the resource belongs.
- slot
This property is required. Changes to this property will trigger replacement.
- 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 This property is required. int - Id of the backup.
- Blob
Name This property is required. string - Name of the blob which contains data for this backup.
- Correlation
Id 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.Azure Native. Web. Inputs. Database Backup Setting Response> - List of databases included in the backup.
- Finished
Time Stamp This property is required. string - Timestamp when this backup finished.
- Id
This property is required. string - Resource Id.
- Last
Restore Time Stamp 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.
- Size
In Bytes This property is required. double - Size of the backup in bytes.
- Status
This property is required. string - Backup status.
- Storage
Account Url This property is required. string - SAS URL for the storage account container which contains this backup.
- Type
This property is required. string - Resource type.
- Website
Size In Bytes This property is required. double - 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. string - Name of the blob which contains data for this backup.
- Correlation
Id 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. []DatabaseBackup Setting Response - List of databases included in the backup.
- Finished
Time Stamp This property is required. string - Timestamp when this backup finished.
- Id
This property is required. string - Resource Id.
- Last
Restore Time Stamp 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.
- Size
In Bytes This property is required. float64 - Size of the backup in bytes.
- Status
This property is required. string - Backup status.
- Storage
Account Url This property is required. string - SAS URL for the storage account container which contains this backup.
- Type
This property is required. string - Resource type.
- Website
Size In Bytes This property is required. float64 - Size of the original web app which has been backed up.
- Kind string
- Kind of resource.
- backup
Id This property is required. Integer - Id of the backup.
- blob
Name This property is required. String - Name of the blob which contains data for this backup.
- correlation
Id 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<DatabaseBackup Setting Response> - List of databases included in the backup.
- finished
Time Stamp This property is required. String - Timestamp when this backup finished.
- id
This property is required. String - Resource Id.
- last
Restore Time Stamp 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.
- size
In Bytes This property is required. Double - Size of the backup in bytes.
- status
This property is required. String - Backup status.
- storage
Account Url This property is required. String - SAS URL for the storage account container which contains this backup.
- type
This property is required. String - Resource type.
- website
Size In Bytes This property is required. Double - Size of the original web app which has been backed up.
- kind String
- Kind of resource.
- backup
Id This property is required. number - Id of the backup.
- blob
Name This property is required. string - Name of the blob which contains data for this backup.
- correlation
Id 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. DatabaseBackup Setting Response[] - List of databases included in the backup.
- finished
Time Stamp This property is required. string - Timestamp when this backup finished.
- id
This property is required. string - Resource Id.
- last
Restore Time Stamp 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.
- size
In Bytes This property is required. number - Size of the backup in bytes.
- status
This property is required. string - Backup status.
- storage
Account Url This property is required. string - SAS URL for the storage account container which contains this backup.
- type
This property is required. string - Resource type.
- website
Size In Bytes 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[DatabaseBackup Setting Response] - 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.
- backup
Id This property is required. Number - Id of the backup.
- blob
Name This property is required. String - Name of the blob which contains data for this backup.
- correlation
Id 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.
- finished
Time Stamp This property is required. String - Timestamp when this backup finished.
- id
This property is required. String - Resource Id.
- last
Restore Time Stamp 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.
- size
In Bytes This property is required. Number - Size of the backup in bytes.
- status
This property is required. String - Backup status.
- storage
Account Url This property is required. String - SAS URL for the storage account container which contains this backup.
- type
This property is required. String - Resource type.
- website
Size In Bytes This property is required. Number - Size of the original web app which has been backed up.
- kind String
- Kind of resource.
DatabaseBackupSettingResponse
- Database
Type This property is required. 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 This property is required. 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 This property is required. 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 This property is required. 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 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_ 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 This property is required. 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