azure-native.web.listWebAppBackupStatusSecrets
Explore with Pulumi AI
Description for Gets status of a web app backup that may be in progress, including secrets associated with the backup, such as the Azure Storage SAS URL. Also can be used to update the SAS URL for the backup if a new URL is passed in the request body. Azure REST API version: 2022-09-01.
Other available API versions: 2016-08-01, 2018-11-01, 2020-10-01, 2023-01-01, 2023-12-01.
Using listWebAppBackupStatusSecrets
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 listWebAppBackupStatusSecrets(args: ListWebAppBackupStatusSecretsArgs, opts?: InvokeOptions): Promise<ListWebAppBackupStatusSecretsResult>
function listWebAppBackupStatusSecretsOutput(args: ListWebAppBackupStatusSecretsOutputArgs, opts?: InvokeOptions): Output<ListWebAppBackupStatusSecretsResult>
def list_web_app_backup_status_secrets(backup_id: Optional[str] = None,
backup_name: Optional[str] = None,
backup_schedule: Optional[BackupSchedule] = None,
databases: Optional[Sequence[DatabaseBackupSetting]] = None,
enabled: Optional[bool] = None,
kind: Optional[str] = None,
name: Optional[str] = None,
resource_group_name: Optional[str] = None,
storage_account_url: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> ListWebAppBackupStatusSecretsResult
def list_web_app_backup_status_secrets_output(backup_id: Optional[pulumi.Input[str]] = None,
backup_name: Optional[pulumi.Input[str]] = None,
backup_schedule: Optional[pulumi.Input[BackupScheduleArgs]] = None,
databases: Optional[pulumi.Input[Sequence[pulumi.Input[DatabaseBackupSettingArgs]]]] = None,
enabled: Optional[pulumi.Input[bool]] = None,
kind: Optional[pulumi.Input[str]] = None,
name: Optional[pulumi.Input[str]] = None,
resource_group_name: Optional[pulumi.Input[str]] = None,
storage_account_url: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[ListWebAppBackupStatusSecretsResult]
func ListWebAppBackupStatusSecrets(ctx *Context, args *ListWebAppBackupStatusSecretsArgs, opts ...InvokeOption) (*ListWebAppBackupStatusSecretsResult, error)
func ListWebAppBackupStatusSecretsOutput(ctx *Context, args *ListWebAppBackupStatusSecretsOutputArgs, opts ...InvokeOption) ListWebAppBackupStatusSecretsResultOutput
> Note: This function is named ListWebAppBackupStatusSecrets
in the Go SDK.
public static class ListWebAppBackupStatusSecrets
{
public static Task<ListWebAppBackupStatusSecretsResult> InvokeAsync(ListWebAppBackupStatusSecretsArgs args, InvokeOptions? opts = null)
public static Output<ListWebAppBackupStatusSecretsResult> Invoke(ListWebAppBackupStatusSecretsInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<ListWebAppBackupStatusSecretsResult> listWebAppBackupStatusSecrets(ListWebAppBackupStatusSecretsArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: azure-native:web:listWebAppBackupStatusSecrets
arguments:
# arguments dictionary
The following arguments are supported:
- Backup
Id string - ID of backup.
- Name string
- Name of web app.
- Resource
Group stringName - Name of the resource group to which the resource belongs.
- Storage
Account stringUrl - SAS URL to the container.
- Backup
Name string - Name of the backup.
- Backup
Schedule Pulumi.Azure Native. Web. Inputs. Backup Schedule - Schedule for the backup if it is executed periodically.
- Databases
List<Pulumi.
Azure Native. Web. Inputs. Database Backup Setting> - 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.
- Backup
Id string - ID of backup.
- Name string
- Name of web app.
- Resource
Group stringName - Name of the resource group to which the resource belongs.
- Storage
Account stringUrl - SAS URL to the container.
- Backup
Name string - Name of the backup.
- Backup
Schedule BackupSchedule - Schedule for the backup if it is executed periodically.
- Databases
[]Database
Backup Setting - 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.
- backup
Id String - ID of backup.
- name String
- Name of web app.
- resource
Group StringName - Name of the resource group to which the resource belongs.
- storage
Account StringUrl - SAS URL to the container.
- backup
Name String - Name of the backup.
- backup
Schedule BackupSchedule - Schedule for the backup if it is executed periodically.
- databases
List<Database
Backup Setting> - 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.
- backup
Id string - ID of backup.
- name string
- Name of web app.
- resource
Group stringName - Name of the resource group to which the resource belongs.
- storage
Account stringUrl - SAS URL to the container.
- backup
Name string - Name of the backup.
- backup
Schedule BackupSchedule - Schedule for the backup if it is executed periodically.
- databases
Database
Backup Setting[] - 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.
- backup_
id str - ID of backup.
- name str
- Name of web app.
- resource_
group_ strname - Name of the resource group to which the resource belongs.
- storage_
account_ strurl - SAS URL to the container.
- backup_
name str - Name of the backup.
- backup_
schedule BackupSchedule - Schedule for the backup if it is executed periodically.
- databases
Sequence[Database
Backup Setting] - 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.
- backup
Id String - ID of backup.
- name String
- Name of web app.
- resource
Group StringName - Name of the resource group to which the resource belongs.
- storage
Account StringUrl - SAS URL to the container.
- 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.
listWebAppBackupStatusSecrets Result
The following output properties are available:
- 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. Outputs. 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.
Supporting Types
BackupSchedule
- 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 Pulumi.Azure Native. Web. Frequency Unit - 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.
- 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 FrequencyUnit - 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.
- 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 FrequencyUnit - 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.
- 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 FrequencyUnit - 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.
- 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 FrequencyUnit - 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.
- 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 "Day" | "Hour" - 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.
- retention
Period NumberIn Days - After how many days backups should be deleted.
- start
Time String - When the schedule should start working.
DatabaseBackupSetting
- Database
Type string | Pulumi.Azure Native. Web. Database Type - 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 | DatabaseType - 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 | DatabaseType - 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 | DatabaseType - 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 | DatabaseType - 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 | "SqlAzure" | "My Sql" | "Local My Sql" | "Postgre Sql" - 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
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
DatabaseType
FrequencyUnit
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0