azure-native.web.listWebAppBackupConfigurationSlot
Explore with Pulumi AI
Description for Gets the backup configuration of an app.
Uses Azure REST API version 2024-04-01.
Other available API versions: 2016-08-01, 2018-02-01, 2018-11-01, 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 listWebAppBackupConfigurationSlot
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 listWebAppBackupConfigurationSlot(args: ListWebAppBackupConfigurationSlotArgs, opts?: InvokeOptions): Promise<ListWebAppBackupConfigurationSlotResult>
function listWebAppBackupConfigurationSlotOutput(args: ListWebAppBackupConfigurationSlotOutputArgs, opts?: InvokeOptions): Output<ListWebAppBackupConfigurationSlotResult>def list_web_app_backup_configuration_slot(name: Optional[str] = None,
                                           resource_group_name: Optional[str] = None,
                                           slot: Optional[str] = None,
                                           opts: Optional[InvokeOptions] = None) -> ListWebAppBackupConfigurationSlotResult
def list_web_app_backup_configuration_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[ListWebAppBackupConfigurationSlotResult]func ListWebAppBackupConfigurationSlot(ctx *Context, args *ListWebAppBackupConfigurationSlotArgs, opts ...InvokeOption) (*ListWebAppBackupConfigurationSlotResult, error)
func ListWebAppBackupConfigurationSlotOutput(ctx *Context, args *ListWebAppBackupConfigurationSlotOutputArgs, opts ...InvokeOption) ListWebAppBackupConfigurationSlotResultOutput> Note: This function is named ListWebAppBackupConfigurationSlot in the Go SDK.
public static class ListWebAppBackupConfigurationSlot 
{
    public static Task<ListWebAppBackupConfigurationSlotResult> InvokeAsync(ListWebAppBackupConfigurationSlotArgs args, InvokeOptions? opts = null)
    public static Output<ListWebAppBackupConfigurationSlotResult> Invoke(ListWebAppBackupConfigurationSlotInvokeArgs args, InvokeOptions? opts = null)
}public static CompletableFuture<ListWebAppBackupConfigurationSlotResult> listWebAppBackupConfigurationSlot(ListWebAppBackupConfigurationSlotArgs args, InvokeOptions options)
public static Output<ListWebAppBackupConfigurationSlotResult> listWebAppBackupConfigurationSlot(ListWebAppBackupConfigurationSlotArgs args, InvokeOptions options)
fn::invoke:
  function: azure-native:web:listWebAppBackupConfigurationSlot
  arguments:
    # arguments dictionaryThe 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 the backup configuration for 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 the backup configuration for 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 the backup configuration for 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 the backup configuration for 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 the backup configuration for 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 the backup configuration for the production slot.
 
listWebAppBackupConfigurationSlot Result
The following output properties are available:
- Id string
 - Resource Id.
 - Name string
 - Resource Name.
 - Storage
Account stringUrl  - SAS URL to the container.
 - Type string
 - Resource type.
 - Backup
Name string - Name of the backup.
 - Backup
Schedule Pulumi.Azure Native. Web. Outputs. Backup Schedule Response  - Schedule for the backup if it is executed periodically.
 - Databases
List<Pulumi.
Azure Native. Web. Outputs. Database Backup Setting Response>  - Databases included in the backup.
 - Enabled bool
 - True if the backup schedule is enabled (must be included in that case), false if the backup schedule should be disabled.
 - Kind string
 - Kind of resource.
 
- Id string
 - Resource Id.
 - Name string
 - Resource Name.
 - Storage
Account stringUrl  - SAS URL to the container.
 - Type string
 - Resource type.
 - Backup
Name string - Name of the backup.
 - Backup
Schedule BackupSchedule Response  - Schedule for the backup if it is executed periodically.
 - Databases
[]Database
Backup Setting Response  - Databases included in the backup.
 - Enabled bool
 - True if the backup schedule is enabled (must be included in that case), false if the backup schedule should be disabled.
 - Kind string
 - Kind of resource.
 
- id String
 - Resource Id.
 - name String
 - Resource Name.
 - storage
Account StringUrl  - SAS URL to the container.
 - type String
 - Resource type.
 - backup
Name String - Name of the backup.
 - backup
Schedule BackupSchedule Response  - Schedule for the backup if it is executed periodically.
 - databases
List<Database
Backup Setting Response>  - Databases included in the backup.
 - enabled Boolean
 - True if the backup schedule is enabled (must be included in that case), false if the backup schedule should be disabled.
 - kind String
 - Kind of resource.
 
- id string
 - Resource Id.
 - name string
 - Resource Name.
 - storage
Account stringUrl  - SAS URL to the container.
 - type string
 - Resource type.
 - backup
Name string - Name of the backup.
 - backup
Schedule BackupSchedule Response  - Schedule for the backup if it is executed periodically.
 - databases
Database
Backup Setting Response[]  - Databases included in the backup.
 - enabled boolean
 - True if the backup schedule is enabled (must be included in that case), false if the backup schedule should be disabled.
 - kind string
 - Kind of resource.
 
- id str
 - Resource Id.
 - name str
 - Resource Name.
 - storage_
account_ strurl  - SAS URL to the container.
 - type str
 - Resource type.
 - backup_
name str - Name of the backup.
 - backup_
schedule BackupSchedule Response  - Schedule for the backup if it is executed periodically.
 - databases
Sequence[Database
Backup Setting Response]  - Databases included in the backup.
 - enabled bool
 - True if the backup schedule is enabled (must be included in that case), false if the backup schedule should be disabled.
 - kind str
 - Kind of resource.
 
- id String
 - Resource Id.
 - name String
 - Resource Name.
 - storage
Account StringUrl  - SAS URL to the container.
 - type String
 - Resource type.
 - backup
Name String - Name of the backup.
 - backup
Schedule Property Map - Schedule for the backup if it is executed periodically.
 - databases List<Property Map>
 - Databases included in the backup.
 - enabled Boolean
 - True if the backup schedule is enabled (must be included in that case), false if the backup schedule should be disabled.
 - kind String
 - Kind of resource.
 
Supporting Types
BackupScheduleResponse  
- Frequency
Interval int - How often the backup should be executed (e.g. for weekly backup, this should be set to 7 and FrequencyUnit should be set to Day)
 - Frequency
Unit string - The unit of time for how often the backup should be executed (e.g. for weekly backup, this should be set to Day and FrequencyInterval should be set to 7)
 - Keep
At boolLeast One Backup  - True if the retention policy should always keep at least one backup in the storage account, regardless how old it is; false otherwise.
 - Last
Execution stringTime  - Last time when this schedule was triggered.
 - Retention
Period intIn Days  - After how many days backups should be deleted.
 - Start
Time string - When the schedule should start working.
 
- Frequency
Interval int - How often the backup should be executed (e.g. for weekly backup, this should be set to 7 and FrequencyUnit should be set to Day)
 - Frequency
Unit string - The unit of time for how often the backup should be executed (e.g. for weekly backup, this should be set to Day and FrequencyInterval should be set to 7)
 - Keep
At boolLeast One Backup  - True if the retention policy should always keep at least one backup in the storage account, regardless how old it is; false otherwise.
 - Last
Execution stringTime  - Last time when this schedule was triggered.
 - Retention
Period intIn Days  - After how many days backups should be deleted.
 - Start
Time string - When the schedule should start working.
 
- frequency
Interval Integer - How often the backup should be executed (e.g. for weekly backup, this should be set to 7 and FrequencyUnit should be set to Day)
 - frequency
Unit String - The unit of time for how often the backup should be executed (e.g. for weekly backup, this should be set to Day and FrequencyInterval should be set to 7)
 - keep
At BooleanLeast One Backup  - True if the retention policy should always keep at least one backup in the storage account, regardless how old it is; false otherwise.
 - last
Execution StringTime  - Last time when this schedule was triggered.
 - retention
Period IntegerIn Days  - After how many days backups should be deleted.
 - start
Time String - When the schedule should start working.
 
- frequency
Interval number - How often the backup should be executed (e.g. for weekly backup, this should be set to 7 and FrequencyUnit should be set to Day)
 - frequency
Unit string - The unit of time for how often the backup should be executed (e.g. for weekly backup, this should be set to Day and FrequencyInterval should be set to 7)
 - keep
At booleanLeast One Backup  - True if the retention policy should always keep at least one backup in the storage account, regardless how old it is; false otherwise.
 - last
Execution stringTime  - Last time when this schedule was triggered.
 - retention
Period numberIn Days  - After how many days backups should be deleted.
 - start
Time string - When the schedule should start working.
 
- frequency_
interval int - How often the backup should be executed (e.g. for weekly backup, this should be set to 7 and FrequencyUnit should be set to Day)
 - frequency_
unit str - The unit of time for how often the backup should be executed (e.g. for weekly backup, this should be set to Day and FrequencyInterval should be set to 7)
 - keep_
at_ boolleast_ one_ backup  - True if the retention policy should always keep at least one backup in the storage account, regardless how old it is; false otherwise.
 - last_
execution_ strtime  - Last time when this schedule was triggered.
 - retention_
period_ intin_ days  - After how many days backups should be deleted.
 - start_
time str - When the schedule should start working.
 
- frequency
Interval Number - How often the backup should be executed (e.g. for weekly backup, this should be set to 7 and FrequencyUnit should be set to Day)
 - frequency
Unit String - The unit of time for how often the backup should be executed (e.g. for weekly backup, this should be set to Day and FrequencyInterval should be set to 7)
 - keep
At BooleanLeast One Backup  - True if the retention policy should always keep at least one backup in the storage account, regardless how old it is; false otherwise.
 - last
Execution StringTime  - Last time when this schedule was triggered.
 - retention
Period NumberIn Days  - After how many days backups should be deleted.
 - start
Time String - When the schedule should start working.
 
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