com.pulumi.azure.appservice.inputs.LinuxFunctionAppSlotBackupScheduleArgs 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 LinuxFunctionAppSlotBackupScheduleArgs extends com.pulumi.resources.ResourceArgs {
public static final LinuxFunctionAppSlotBackupScheduleArgs Empty = new LinuxFunctionAppSlotBackupScheduleArgs();
/**
* 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 Function 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 Function 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` and `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` and `Hour`.
*
*/
public Output frequencyUnit() {
return this.frequencyUnit;
}
/**
* Should the service keep at least one backup, regardless of age of backup. Defaults to `false`.
*
*/
@Import(name="keepAtLeastOneBackup")
private @Nullable Output keepAtLeastOneBackup;
/**
* @return Should the service keep at least one backup, regardless of age of backup. Defaults to `false`.
*
*/
public Optional