Package com.pulumi.azurenative.web
Class WebAppBackupConfiguration
- java.lang.Object
-
- com.pulumi.resources.Resource
-
- com.pulumi.resources.CustomResource
-
- com.pulumi.azurenative.web.WebAppBackupConfiguration
-
public class WebAppBackupConfiguration extends com.pulumi.resources.CustomResource
Description of a backup which will be performed. API Version: 2020-12-01. ## Import An existing resource can be imported using its type token, name, and identifier, e.g. ```sh $ pulumi import azure-native:web:WebAppBackupConfiguration myresource1 /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.Web/sites/{name}/config/backup ```
-
-
Constructor Summary
Constructors Constructor Description WebAppBackupConfiguration(java.lang.String name)
WebAppBackupConfiguration(java.lang.String name, WebAppBackupConfigurationArgs args)
WebAppBackupConfiguration(java.lang.String name, WebAppBackupConfigurationArgs args, com.pulumi.resources.CustomResourceOptions options)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description com.pulumi.core.Output<java.util.Optional<java.lang.String>>
backupName()
com.pulumi.core.Output<java.util.Optional<BackupScheduleResponse>>
backupSchedule()
com.pulumi.core.Output<java.util.Optional<java.util.List<DatabaseBackupSettingResponse>>>
databases()
com.pulumi.core.Output<java.util.Optional<java.lang.Boolean>>
enabled()
static WebAppBackupConfiguration
get(java.lang.String name, com.pulumi.core.Output<java.lang.String> id, com.pulumi.resources.CustomResourceOptions options)
Get an existing Host resource's state with the given name, ID, and optional extra properties used to qualify the lookup.com.pulumi.core.Output<java.util.Optional<java.lang.String>>
kind()
com.pulumi.core.Output<java.lang.String>
name()
com.pulumi.core.Output<java.lang.String>
storageAccountUrl()
com.pulumi.core.Output<java.lang.String>
type()
-
-
-
Constructor Detail
-
WebAppBackupConfiguration
public WebAppBackupConfiguration(java.lang.String name)
- Parameters:
name
- The _unique_ name of the resulting resource.
-
WebAppBackupConfiguration
public WebAppBackupConfiguration(java.lang.String name, WebAppBackupConfigurationArgs args)
- Parameters:
name
- The _unique_ name of the resulting resource.args
- The arguments to use to populate this resource's properties.
-
WebAppBackupConfiguration
public WebAppBackupConfiguration(java.lang.String name, WebAppBackupConfigurationArgs args, @Nullable com.pulumi.resources.CustomResourceOptions options)
- Parameters:
name
- The _unique_ name of the resulting resource.args
- The arguments to use to populate this resource's properties.options
- A bag of options that control this resource's behavior.
-
-
Method Detail
-
backupName
public com.pulumi.core.Output<java.util.Optional<java.lang.String>> backupName()
- Returns:
- Name of the backup.
-
backupSchedule
public com.pulumi.core.Output<java.util.Optional<BackupScheduleResponse>> backupSchedule()
- Returns:
- Schedule for the backup if it is executed periodically.
-
databases
public com.pulumi.core.Output<java.util.Optional<java.util.List<DatabaseBackupSettingResponse>>> databases()
- Returns:
- Databases included in the backup.
-
enabled
public com.pulumi.core.Output<java.util.Optional<java.lang.Boolean>> enabled()
- Returns:
- True if the backup schedule is enabled (must be included in that case), false if the backup schedule should be disabled.
-
kind
public com.pulumi.core.Output<java.util.Optional<java.lang.String>> kind()
- Returns:
- Kind of resource.
-
name
public com.pulumi.core.Output<java.lang.String> name()
- Returns:
- Resource Name.
-
storageAccountUrl
public com.pulumi.core.Output<java.lang.String> storageAccountUrl()
- Returns:
- SAS URL to the container.
-
type
public com.pulumi.core.Output<java.lang.String> type()
- Returns:
- Resource type.
-
get
public static WebAppBackupConfiguration get(java.lang.String name, com.pulumi.core.Output<java.lang.String> id, @Nullable com.pulumi.resources.CustomResourceOptions options)
Get an existing Host resource's state with the given name, ID, and optional extra properties used to qualify the lookup.- Parameters:
name
- The _unique_ name of the resulting resource.id
- The _unique_ provider ID of the resource to lookup.options
- Optional settings to control the behavior of the CustomResource.
-
-