com.pulumi.azurenative.workloads.outputs.VMBackupPolicyPropertiesResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure resources.
// *** 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.azurenative.workloads.outputs;
import com.pulumi.azurenative.workloads.outputs.InstantRPAdditionalDetailsResponse;
import com.pulumi.azurenative.workloads.outputs.LogSchedulePolicyResponse;
import com.pulumi.azurenative.workloads.outputs.LongTermRetentionPolicyResponse;
import com.pulumi.azurenative.workloads.outputs.LongTermSchedulePolicyResponse;
import com.pulumi.azurenative.workloads.outputs.SimpleRetentionPolicyResponse;
import com.pulumi.azurenative.workloads.outputs.SimpleSchedulePolicyResponse;
import com.pulumi.azurenative.workloads.outputs.SimpleSchedulePolicyV2Response;
import com.pulumi.azurenative.workloads.outputs.TieringPolicyResponse;
import com.pulumi.core.Either;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Integer;
import java.lang.Object;
import java.lang.String;
import java.util.List;
import java.util.Map;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class VMBackupPolicyPropertiesResponse {
/**
* @return This property will be used as the discriminator for deciding the specific types in the polymorphic chain of types.
* Expected value is 'AzureIaasVM'.
*
*/
private String backupManagementType;
/**
* @return Instant recovery point additional details.
*
*/
private @Nullable InstantRPAdditionalDetailsResponse instantRPDetails;
/**
* @return Instant RP retention policy range in days
*
*/
private @Nullable Integer instantRpRetentionRangeInDays;
/**
* @return The name of the VM Backup policy.
*
*/
private String name;
/**
* @return The policy type.
*
*/
private @Nullable String policyType;
/**
* @return Number of items associated with this policy.
*
*/
private @Nullable Integer protectedItemsCount;
/**
* @return ResourceGuard Operation Requests
*
*/
private @Nullable List resourceGuardOperationRequests;
/**
* @return Retention policy with the details on backup copy retention ranges.
*
*/
private @Nullable Either retentionPolicy;
/**
* @return Backup schedule specified as part of backup policy.
*
*/
private @Nullable Object schedulePolicy;
/**
* @return Tiering policy to automatically move RPs to another tier
* Key is Target Tier, defined in RecoveryPointTierType enum.
* Tiering policy specifies the criteria to move RP to the target tier.
*
*/
private @Nullable Map tieringPolicy;
/**
* @return Time zone optional input as string. For example: "Pacific Standard Time".
*
*/
private @Nullable String timeZone;
private VMBackupPolicyPropertiesResponse() {}
/**
* @return This property will be used as the discriminator for deciding the specific types in the polymorphic chain of types.
* Expected value is 'AzureIaasVM'.
*
*/
public String backupManagementType() {
return this.backupManagementType;
}
/**
* @return Instant recovery point additional details.
*
*/
public Optional instantRPDetails() {
return Optional.ofNullable(this.instantRPDetails);
}
/**
* @return Instant RP retention policy range in days
*
*/
public Optional instantRpRetentionRangeInDays() {
return Optional.ofNullable(this.instantRpRetentionRangeInDays);
}
/**
* @return The name of the VM Backup policy.
*
*/
public String name() {
return this.name;
}
/**
* @return The policy type.
*
*/
public Optional policyType() {
return Optional.ofNullable(this.policyType);
}
/**
* @return Number of items associated with this policy.
*
*/
public Optional protectedItemsCount() {
return Optional.ofNullable(this.protectedItemsCount);
}
/**
* @return ResourceGuard Operation Requests
*
*/
public List resourceGuardOperationRequests() {
return this.resourceGuardOperationRequests == null ? List.of() : this.resourceGuardOperationRequests;
}
/**
* @return Retention policy with the details on backup copy retention ranges.
*
*/
public Optional> retentionPolicy() {
return Optional.ofNullable(this.retentionPolicy);
}
/**
* @return Backup schedule specified as part of backup policy.
*
*/
public Optional
© 2015 - 2024 Weber Informatics LLC | Privacy Policy