This repository has been archived by the owner on Mar 11, 2021. It is now read-only.
/
listWebAppBackupConfigurationSlot.go
48 lines (43 loc) · 1.8 KB
/
listWebAppBackupConfigurationSlot.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
// *** WARNING: this file was generated by the Pulumi SDK Generator. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package v20180201
import (
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func ListWebAppBackupConfigurationSlot(ctx *pulumi.Context, args *ListWebAppBackupConfigurationSlotArgs, opts ...pulumi.InvokeOption) (*ListWebAppBackupConfigurationSlotResult, error) {
var rv ListWebAppBackupConfigurationSlotResult
err := ctx.Invoke("azure-nextgen:web/v20180201:listWebAppBackupConfigurationSlot", args, &rv, opts...)
if err != nil {
return nil, err
}
return &rv, nil
}
type ListWebAppBackupConfigurationSlotArgs struct {
// Name of the app.
Name string `pulumi:"name"`
// Name of the resource group to which the resource belongs.
ResourceGroupName string `pulumi:"resourceGroupName"`
// Name of the deployment slot. If a slot is not specified, the API will get the backup configuration for the production slot.
Slot string `pulumi:"slot"`
}
// Description of a backup which will be performed.
type ListWebAppBackupConfigurationSlotResult struct {
// Name of the backup.
BackupName *string `pulumi:"backupName"`
// Schedule for the backup if it is executed periodically.
BackupSchedule *BackupScheduleResponse `pulumi:"backupSchedule"`
// Databases included in the backup.
Databases []DatabaseBackupSettingResponse `pulumi:"databases"`
// True if the backup schedule is enabled (must be included in that case), false if the backup schedule should be disabled.
Enabled *bool `pulumi:"enabled"`
// Resource Id.
Id string `pulumi:"id"`
// Kind of resource.
Kind *string `pulumi:"kind"`
// Resource Name.
Name string `pulumi:"name"`
// SAS URL to the container.
StorageAccountUrl string `pulumi:"storageAccountUrl"`
// Resource type.
Type string `pulumi:"type"`
}