com.pulumi.azure.appservice.inputs.LinuxWebAppBackupScheduleArgs Maven / Gradle / Ivy
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***
package com.pulumi.azure.appservice.inputs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.lang.Integer;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
public final class LinuxWebAppBackupScheduleArgs extends com.pulumi.resources.ResourceArgs {
public static final LinuxWebAppBackupScheduleArgs Empty = new LinuxWebAppBackupScheduleArgs();
/**
* How often the backup should be executed (e.g. for weekly backup, this should be set to `7` and `frequency_unit` should be set to `Day`).
*
* > **NOTE:** Not all intervals are supported on all Linux Web App SKUs. Please refer to the official documentation for appropriate values.
*
*/
@Import(name="frequencyInterval", required=true)
private Output frequencyInterval;
/**
* @return How often the backup should be executed (e.g. for weekly backup, this should be set to `7` and `frequency_unit` should be set to `Day`).
*
* > **NOTE:** Not all intervals are supported on all Linux Web App SKUs. Please refer to the official documentation for appropriate values.
*
*/
public Output frequencyInterval() {
return this.frequencyInterval;
}
/**
* The unit of time for how often the backup should take place. Possible values include: `Day`, `Hour`
*
*/
@Import(name="frequencyUnit", required=true)
private Output frequencyUnit;
/**
* @return The unit of time for how often the backup should take place. Possible values include: `Day`, `Hour`
*
*/
public Output frequencyUnit() {
return this.frequencyUnit;
}
/**
* Should the service keep at least one backup, regardless of the age of backup? Defaults to `false`.
*
*/
@Import(name="keepAtLeastOneBackup")
private @Nullable Output keepAtLeastOneBackup;
/**
* @return Should the service keep at least one backup, regardless of the age of backup? Defaults to `false`.
*
*/
public Optional