azure-native.recoveryservices.ProtectionPolicy
Explore with Pulumi AI
Base class for backup policy. Workload-specific backup policies are derived from this class. API Version: 2021-02-01.
Example Usage
Create or Update Full Azure Vm Protection Policy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var protectionPolicy = new AzureNative.RecoveryServices.ProtectionPolicy("protectionPolicy", new()
{
PolicyName = "testPolicy1",
Properties = new AzureNative.RecoveryServices.Inputs.AzureIaaSVMProtectionPolicyArgs
{
BackupManagementType = "AzureIaasVM",
RetentionPolicy = new AzureNative.RecoveryServices.Inputs.LongTermRetentionPolicyArgs
{
MonthlySchedule = new AzureNative.RecoveryServices.Inputs.MonthlyRetentionScheduleArgs
{
RetentionDuration = new AzureNative.RecoveryServices.Inputs.RetentionDurationArgs
{
Count = 2,
DurationType = "Months",
},
RetentionScheduleFormatType = "Weekly",
RetentionScheduleWeekly = new AzureNative.RecoveryServices.Inputs.WeeklyRetentionFormatArgs
{
DaysOfTheWeek = new[]
{
AzureNative.RecoveryServices.DayOfWeek.Wednesday,
AzureNative.RecoveryServices.DayOfWeek.Thursday,
},
WeeksOfTheMonth = new[]
{
AzureNative.RecoveryServices.WeekOfMonth.First,
AzureNative.RecoveryServices.WeekOfMonth.Third,
},
},
RetentionTimes = new[]
{
"2018-01-24T10:00:00Z",
},
},
RetentionPolicyType = "LongTermRetentionPolicy",
WeeklySchedule = new AzureNative.RecoveryServices.Inputs.WeeklyRetentionScheduleArgs
{
DaysOfTheWeek = new[]
{
AzureNative.RecoveryServices.DayOfWeek.Monday,
AzureNative.RecoveryServices.DayOfWeek.Wednesday,
AzureNative.RecoveryServices.DayOfWeek.Thursday,
},
RetentionDuration = new AzureNative.RecoveryServices.Inputs.RetentionDurationArgs
{
Count = 1,
DurationType = "Weeks",
},
RetentionTimes = new[]
{
"2018-01-24T10:00:00Z",
},
},
YearlySchedule = new AzureNative.RecoveryServices.Inputs.YearlyRetentionScheduleArgs
{
MonthsOfYear = new[]
{
AzureNative.RecoveryServices.MonthOfYear.February,
AzureNative.RecoveryServices.MonthOfYear.November,
},
RetentionDuration = new AzureNative.RecoveryServices.Inputs.RetentionDurationArgs
{
Count = 4,
DurationType = "Years",
},
RetentionScheduleFormatType = "Weekly",
RetentionScheduleWeekly = new AzureNative.RecoveryServices.Inputs.WeeklyRetentionFormatArgs
{
DaysOfTheWeek = new[]
{
AzureNative.RecoveryServices.DayOfWeek.Monday,
AzureNative.RecoveryServices.DayOfWeek.Thursday,
},
WeeksOfTheMonth = new[]
{
AzureNative.RecoveryServices.WeekOfMonth.Fourth,
},
},
RetentionTimes = new[]
{
"2018-01-24T10:00:00Z",
},
},
},
SchedulePolicy = new AzureNative.RecoveryServices.Inputs.SimpleSchedulePolicyArgs
{
SchedulePolicyType = "SimpleSchedulePolicy",
ScheduleRunDays = new[]
{
AzureNative.RecoveryServices.DayOfWeek.Monday,
AzureNative.RecoveryServices.DayOfWeek.Wednesday,
AzureNative.RecoveryServices.DayOfWeek.Thursday,
},
ScheduleRunFrequency = "Weekly",
ScheduleRunTimes = new[]
{
"2018-01-24T10:00:00Z",
},
},
TimeZone = "Pacific Standard Time",
},
ResourceGroupName = "SwaggerTestRg",
VaultName = "NetSDKTestRsVault",
});
});
package main
import (
recoveryservices "github.com/pulumi/pulumi-azure-native-sdk/recoveryservices"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := recoveryservices.NewProtectionPolicy(ctx, "protectionPolicy", &recoveryservices.ProtectionPolicyArgs{
PolicyName: pulumi.String("testPolicy1"),
Properties: recoveryservices.AzureIaaSVMProtectionPolicy{
BackupManagementType: "AzureIaasVM",
RetentionPolicy: recoveryservices.LongTermRetentionPolicy{
MonthlySchedule: recoveryservices.MonthlyRetentionSchedule{
RetentionDuration: recoveryservices.RetentionDuration{
Count: 2,
DurationType: "Months",
},
RetentionScheduleFormatType: "Weekly",
RetentionScheduleWeekly: recoveryservices.WeeklyRetentionFormat{
DaysOfTheWeek: []recoveryservices.DayOfWeek{
recoveryservices.DayOfWeekWednesday,
recoveryservices.DayOfWeekThursday,
},
WeeksOfTheMonth: []recoveryservices.WeekOfMonth{
recoveryservices.WeekOfMonthFirst,
recoveryservices.WeekOfMonthThird,
},
},
RetentionTimes: []string{
"2018-01-24T10:00:00Z",
},
},
RetentionPolicyType: "LongTermRetentionPolicy",
WeeklySchedule: recoveryservices.WeeklyRetentionSchedule{
DaysOfTheWeek: []recoveryservices.DayOfWeek{
recoveryservices.DayOfWeekMonday,
recoveryservices.DayOfWeekWednesday,
recoveryservices.DayOfWeekThursday,
},
RetentionDuration: recoveryservices.RetentionDuration{
Count: 1,
DurationType: "Weeks",
},
RetentionTimes: []string{
"2018-01-24T10:00:00Z",
},
},
YearlySchedule: recoveryservices.YearlyRetentionSchedule{
MonthsOfYear: []recoveryservices.MonthOfYear{
recoveryservices.MonthOfYearFebruary,
recoveryservices.MonthOfYearNovember,
},
RetentionDuration: recoveryservices.RetentionDuration{
Count: 4,
DurationType: "Years",
},
RetentionScheduleFormatType: "Weekly",
RetentionScheduleWeekly: recoveryservices.WeeklyRetentionFormat{
DaysOfTheWeek: []recoveryservices.DayOfWeek{
recoveryservices.DayOfWeekMonday,
recoveryservices.DayOfWeekThursday,
},
WeeksOfTheMonth: []recoveryservices.WeekOfMonth{
recoveryservices.WeekOfMonthFourth,
},
},
RetentionTimes: []string{
"2018-01-24T10:00:00Z",
},
},
},
SchedulePolicy: recoveryservices.SimpleSchedulePolicy{
SchedulePolicyType: "SimpleSchedulePolicy",
ScheduleRunDays: []recoveryservices.DayOfWeek{
recoveryservices.DayOfWeekMonday,
recoveryservices.DayOfWeekWednesday,
recoveryservices.DayOfWeekThursday,
},
ScheduleRunFrequency: "Weekly",
ScheduleRunTimes: []string{
"2018-01-24T10:00:00Z",
},
},
TimeZone: "Pacific Standard Time",
},
ResourceGroupName: pulumi.String("SwaggerTestRg"),
VaultName: pulumi.String("NetSDKTestRsVault"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.recoveryservices.ProtectionPolicy;
import com.pulumi.azurenative.recoveryservices.ProtectionPolicyArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var protectionPolicy = new ProtectionPolicy("protectionPolicy", ProtectionPolicyArgs.builder()
.policyName("testPolicy1")
.properties(Map.ofEntries(
Map.entry("backupManagementType", "AzureIaasVM"),
Map.entry("retentionPolicy", Map.ofEntries(
Map.entry("monthlySchedule", Map.ofEntries(
Map.entry("retentionDuration", Map.ofEntries(
Map.entry("count", 2),
Map.entry("durationType", "Months")
)),
Map.entry("retentionScheduleFormatType", "Weekly"),
Map.entry("retentionScheduleWeekly", Map.ofEntries(
Map.entry("daysOfTheWeek",
"Wednesday",
"Thursday"),
Map.entry("weeksOfTheMonth",
"First",
"Third")
)),
Map.entry("retentionTimes", "2018-01-24T10:00:00Z")
)),
Map.entry("retentionPolicyType", "LongTermRetentionPolicy"),
Map.entry("weeklySchedule", Map.ofEntries(
Map.entry("daysOfTheWeek",
"Monday",
"Wednesday",
"Thursday"),
Map.entry("retentionDuration", Map.ofEntries(
Map.entry("count", 1),
Map.entry("durationType", "Weeks")
)),
Map.entry("retentionTimes", "2018-01-24T10:00:00Z")
)),
Map.entry("yearlySchedule", Map.ofEntries(
Map.entry("monthsOfYear",
"February",
"November"),
Map.entry("retentionDuration", Map.ofEntries(
Map.entry("count", 4),
Map.entry("durationType", "Years")
)),
Map.entry("retentionScheduleFormatType", "Weekly"),
Map.entry("retentionScheduleWeekly", Map.ofEntries(
Map.entry("daysOfTheWeek",
"Monday",
"Thursday"),
Map.entry("weeksOfTheMonth", "Fourth")
)),
Map.entry("retentionTimes", "2018-01-24T10:00:00Z")
))
)),
Map.entry("schedulePolicy", Map.ofEntries(
Map.entry("schedulePolicyType", "SimpleSchedulePolicy"),
Map.entry("scheduleRunDays",
"Monday",
"Wednesday",
"Thursday"),
Map.entry("scheduleRunFrequency", "Weekly"),
Map.entry("scheduleRunTimes", "2018-01-24T10:00:00Z")
)),
Map.entry("timeZone", "Pacific Standard Time")
))
.resourceGroupName("SwaggerTestRg")
.vaultName("NetSDKTestRsVault")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
protection_policy = azure_native.recoveryservices.ProtectionPolicy("protectionPolicy",
policy_name="testPolicy1",
properties=azure_native.recoveryservices.AzureIaaSVMProtectionPolicyArgs(
backup_management_type="AzureIaasVM",
retention_policy=azure_native.recoveryservices.LongTermRetentionPolicyArgs(
monthly_schedule=azure_native.recoveryservices.MonthlyRetentionScheduleArgs(
retention_duration=azure_native.recoveryservices.RetentionDurationArgs(
count=2,
duration_type="Months",
),
retention_schedule_format_type="Weekly",
retention_schedule_weekly=azure_native.recoveryservices.WeeklyRetentionFormatArgs(
days_of_the_week=[
azure_native.recoveryservices.DayOfWeek.WEDNESDAY,
azure_native.recoveryservices.DayOfWeek.THURSDAY,
],
weeks_of_the_month=[
azure_native.recoveryservices.WeekOfMonth.FIRST,
azure_native.recoveryservices.WeekOfMonth.THIRD,
],
),
retention_times=["2018-01-24T10:00:00Z"],
),
retention_policy_type="LongTermRetentionPolicy",
weekly_schedule=azure_native.recoveryservices.WeeklyRetentionScheduleArgs(
days_of_the_week=[
azure_native.recoveryservices.DayOfWeek.MONDAY,
azure_native.recoveryservices.DayOfWeek.WEDNESDAY,
azure_native.recoveryservices.DayOfWeek.THURSDAY,
],
retention_duration=azure_native.recoveryservices.RetentionDurationArgs(
count=1,
duration_type="Weeks",
),
retention_times=["2018-01-24T10:00:00Z"],
),
yearly_schedule=azure_native.recoveryservices.YearlyRetentionScheduleArgs(
months_of_year=[
azure_native.recoveryservices.MonthOfYear.FEBRUARY,
azure_native.recoveryservices.MonthOfYear.NOVEMBER,
],
retention_duration=azure_native.recoveryservices.RetentionDurationArgs(
count=4,
duration_type="Years",
),
retention_schedule_format_type="Weekly",
retention_schedule_weekly=azure_native.recoveryservices.WeeklyRetentionFormatArgs(
days_of_the_week=[
azure_native.recoveryservices.DayOfWeek.MONDAY,
azure_native.recoveryservices.DayOfWeek.THURSDAY,
],
weeks_of_the_month=[azure_native.recoveryservices.WeekOfMonth.FOURTH],
),
retention_times=["2018-01-24T10:00:00Z"],
),
),
schedule_policy=azure_native.recoveryservices.SimpleSchedulePolicyArgs(
schedule_policy_type="SimpleSchedulePolicy",
schedule_run_days=[
azure_native.recoveryservices.DayOfWeek.MONDAY,
azure_native.recoveryservices.DayOfWeek.WEDNESDAY,
azure_native.recoveryservices.DayOfWeek.THURSDAY,
],
schedule_run_frequency="Weekly",
schedule_run_times=["2018-01-24T10:00:00Z"],
),
time_zone="Pacific Standard Time",
),
resource_group_name="SwaggerTestRg",
vault_name="NetSDKTestRsVault")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const protectionPolicy = new azure_native.recoveryservices.ProtectionPolicy("protectionPolicy", {
policyName: "testPolicy1",
properties: {
backupManagementType: "AzureIaasVM",
retentionPolicy: {
monthlySchedule: {
retentionDuration: {
count: 2,
durationType: "Months",
},
retentionScheduleFormatType: "Weekly",
retentionScheduleWeekly: {
daysOfTheWeek: [
azure_native.recoveryservices.DayOfWeek.Wednesday,
azure_native.recoveryservices.DayOfWeek.Thursday,
],
weeksOfTheMonth: [
azure_native.recoveryservices.WeekOfMonth.First,
azure_native.recoveryservices.WeekOfMonth.Third,
],
},
retentionTimes: ["2018-01-24T10:00:00Z"],
},
retentionPolicyType: "LongTermRetentionPolicy",
weeklySchedule: {
daysOfTheWeek: [
azure_native.recoveryservices.DayOfWeek.Monday,
azure_native.recoveryservices.DayOfWeek.Wednesday,
azure_native.recoveryservices.DayOfWeek.Thursday,
],
retentionDuration: {
count: 1,
durationType: "Weeks",
},
retentionTimes: ["2018-01-24T10:00:00Z"],
},
yearlySchedule: {
monthsOfYear: [
azure_native.recoveryservices.MonthOfYear.February,
azure_native.recoveryservices.MonthOfYear.November,
],
retentionDuration: {
count: 4,
durationType: "Years",
},
retentionScheduleFormatType: "Weekly",
retentionScheduleWeekly: {
daysOfTheWeek: [
azure_native.recoveryservices.DayOfWeek.Monday,
azure_native.recoveryservices.DayOfWeek.Thursday,
],
weeksOfTheMonth: [azure_native.recoveryservices.WeekOfMonth.Fourth],
},
retentionTimes: ["2018-01-24T10:00:00Z"],
},
},
schedulePolicy: {
schedulePolicyType: "SimpleSchedulePolicy",
scheduleRunDays: [
azure_native.recoveryservices.DayOfWeek.Monday,
azure_native.recoveryservices.DayOfWeek.Wednesday,
azure_native.recoveryservices.DayOfWeek.Thursday,
],
scheduleRunFrequency: "Weekly",
scheduleRunTimes: ["2018-01-24T10:00:00Z"],
},
timeZone: "Pacific Standard Time",
},
resourceGroupName: "SwaggerTestRg",
vaultName: "NetSDKTestRsVault",
});
resources:
protectionPolicy:
type: azure-native:recoveryservices:ProtectionPolicy
properties:
policyName: testPolicy1
properties:
backupManagementType: AzureIaasVM
retentionPolicy:
monthlySchedule:
retentionDuration:
count: 2
durationType: Months
retentionScheduleFormatType: Weekly
retentionScheduleWeekly:
daysOfTheWeek:
- Wednesday
- Thursday
weeksOfTheMonth:
- First
- Third
retentionTimes:
- 2018-01-24T10:00:00Z
retentionPolicyType: LongTermRetentionPolicy
weeklySchedule:
daysOfTheWeek:
- Monday
- Wednesday
- Thursday
retentionDuration:
count: 1
durationType: Weeks
retentionTimes:
- 2018-01-24T10:00:00Z
yearlySchedule:
monthsOfYear:
- February
- November
retentionDuration:
count: 4
durationType: Years
retentionScheduleFormatType: Weekly
retentionScheduleWeekly:
daysOfTheWeek:
- Monday
- Thursday
weeksOfTheMonth:
- Fourth
retentionTimes:
- 2018-01-24T10:00:00Z
schedulePolicy:
schedulePolicyType: SimpleSchedulePolicy
scheduleRunDays:
- Monday
- Wednesday
- Thursday
scheduleRunFrequency: Weekly
scheduleRunTimes:
- 2018-01-24T10:00:00Z
timeZone: Pacific Standard Time
resourceGroupName: SwaggerTestRg
vaultName: NetSDKTestRsVault
Create or Update Full Azure Workload Protection Policy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var protectionPolicy = new AzureNative.RecoveryServices.ProtectionPolicy("protectionPolicy", new()
{
PolicyName = "testPolicy1",
Properties = new AzureNative.RecoveryServices.Inputs.AzureVmWorkloadProtectionPolicyArgs
{
BackupManagementType = "AzureWorkload",
Settings = new AzureNative.RecoveryServices.Inputs.SettingsArgs
{
Issqlcompression = false,
TimeZone = "Pacific Standard Time",
},
SubProtectionPolicy = new[]
{
new AzureNative.RecoveryServices.Inputs.SubProtectionPolicyArgs
{
PolicyType = "Full",
RetentionPolicy = new AzureNative.RecoveryServices.Inputs.LongTermRetentionPolicyArgs
{
MonthlySchedule = new AzureNative.RecoveryServices.Inputs.MonthlyRetentionScheduleArgs
{
RetentionDuration = new AzureNative.RecoveryServices.Inputs.RetentionDurationArgs
{
Count = 1,
DurationType = "Months",
},
RetentionScheduleFormatType = "Weekly",
RetentionScheduleWeekly = new AzureNative.RecoveryServices.Inputs.WeeklyRetentionFormatArgs
{
DaysOfTheWeek = new[]
{
AzureNative.RecoveryServices.DayOfWeek.Sunday,
},
WeeksOfTheMonth = new[]
{
AzureNative.RecoveryServices.WeekOfMonth.Second,
},
},
RetentionTimes = new[]
{
"2018-01-24T10:00:00Z",
},
},
RetentionPolicyType = "LongTermRetentionPolicy",
WeeklySchedule = new AzureNative.RecoveryServices.Inputs.WeeklyRetentionScheduleArgs
{
DaysOfTheWeek = new[]
{
AzureNative.RecoveryServices.DayOfWeek.Sunday,
AzureNative.RecoveryServices.DayOfWeek.Tuesday,
},
RetentionDuration = new AzureNative.RecoveryServices.Inputs.RetentionDurationArgs
{
Count = 2,
DurationType = "Weeks",
},
RetentionTimes = new[]
{
"2018-01-24T10:00:00Z",
},
},
YearlySchedule = new AzureNative.RecoveryServices.Inputs.YearlyRetentionScheduleArgs
{
MonthsOfYear = new[]
{
AzureNative.RecoveryServices.MonthOfYear.January,
AzureNative.RecoveryServices.MonthOfYear.June,
AzureNative.RecoveryServices.MonthOfYear.December,
},
RetentionDuration = new AzureNative.RecoveryServices.Inputs.RetentionDurationArgs
{
Count = 1,
DurationType = "Years",
},
RetentionScheduleFormatType = "Weekly",
RetentionScheduleWeekly = new AzureNative.RecoveryServices.Inputs.WeeklyRetentionFormatArgs
{
DaysOfTheWeek = new[]
{
AzureNative.RecoveryServices.DayOfWeek.Sunday,
},
WeeksOfTheMonth = new[]
{
AzureNative.RecoveryServices.WeekOfMonth.Last,
},
},
RetentionTimes = new[]
{
"2018-01-24T10:00:00Z",
},
},
},
SchedulePolicy = new AzureNative.RecoveryServices.Inputs.SimpleSchedulePolicyArgs
{
SchedulePolicyType = "SimpleSchedulePolicy",
ScheduleRunDays = new[]
{
AzureNative.RecoveryServices.DayOfWeek.Sunday,
AzureNative.RecoveryServices.DayOfWeek.Tuesday,
},
ScheduleRunFrequency = "Weekly",
ScheduleRunTimes = new[]
{
"2018-01-24T10:00:00Z",
},
},
},
new AzureNative.RecoveryServices.Inputs.SubProtectionPolicyArgs
{
PolicyType = "Differential",
RetentionPolicy = new AzureNative.RecoveryServices.Inputs.SimpleRetentionPolicyArgs
{
RetentionDuration = new AzureNative.RecoveryServices.Inputs.RetentionDurationArgs
{
Count = 8,
DurationType = "Days",
},
RetentionPolicyType = "SimpleRetentionPolicy",
},
SchedulePolicy = new AzureNative.RecoveryServices.Inputs.SimpleSchedulePolicyArgs
{
SchedulePolicyType = "SimpleSchedulePolicy",
ScheduleRunDays = new[]
{
AzureNative.RecoveryServices.DayOfWeek.Friday,
},
ScheduleRunFrequency = "Weekly",
ScheduleRunTimes = new[]
{
"2018-01-24T10:00:00Z",
},
},
},
new AzureNative.RecoveryServices.Inputs.SubProtectionPolicyArgs
{
PolicyType = "Log",
RetentionPolicy = new AzureNative.RecoveryServices.Inputs.SimpleRetentionPolicyArgs
{
RetentionDuration = new AzureNative.RecoveryServices.Inputs.RetentionDurationArgs
{
Count = 7,
DurationType = "Days",
},
RetentionPolicyType = "SimpleRetentionPolicy",
},
SchedulePolicy = new AzureNative.RecoveryServices.Inputs.LogSchedulePolicyArgs
{
ScheduleFrequencyInMins = 60,
SchedulePolicyType = "LogSchedulePolicy",
},
},
},
WorkLoadType = "SQLDataBase",
},
ResourceGroupName = "SwaggerTestRg",
VaultName = "NetSDKTestRsVault",
});
});
package main
import (
recoveryservices "github.com/pulumi/pulumi-azure-native-sdk/recoveryservices"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := recoveryservices.NewProtectionPolicy(ctx, "protectionPolicy", &recoveryservices.ProtectionPolicyArgs{
PolicyName: pulumi.String("testPolicy1"),
Properties: recoveryservices.AzureVmWorkloadProtectionPolicy{
BackupManagementType: "AzureWorkload",
Settings: recoveryservices.Settings{
Issqlcompression: false,
TimeZone: "Pacific Standard Time",
},
SubProtectionPolicy: []recoveryservices.SubProtectionPolicy{
{
PolicyType: "Full",
RetentionPolicy: {
MonthlySchedule: {
RetentionDuration: {
Count: 1,
DurationType: "Months",
},
RetentionScheduleFormatType: "Weekly",
RetentionScheduleWeekly: {
DaysOfTheWeek: []recoveryservices.DayOfWeek{
recoveryservices.DayOfWeekSunday,
},
WeeksOfTheMonth: []recoveryservices.WeekOfMonth{
recoveryservices.WeekOfMonthSecond,
},
},
RetentionTimes: []string{
"2018-01-24T10:00:00Z",
},
},
RetentionPolicyType: "LongTermRetentionPolicy",
WeeklySchedule: {
DaysOfTheWeek: []recoveryservices.DayOfWeek{
recoveryservices.DayOfWeekSunday,
recoveryservices.DayOfWeekTuesday,
},
RetentionDuration: {
Count: 2,
DurationType: "Weeks",
},
RetentionTimes: []string{
"2018-01-24T10:00:00Z",
},
},
YearlySchedule: {
MonthsOfYear: []recoveryservices.MonthOfYear{
recoveryservices.MonthOfYearJanuary,
recoveryservices.MonthOfYearJune,
recoveryservices.MonthOfYearDecember,
},
RetentionDuration: {
Count: 1,
DurationType: "Years",
},
RetentionScheduleFormatType: "Weekly",
RetentionScheduleWeekly: {
DaysOfTheWeek: []recoveryservices.DayOfWeek{
recoveryservices.DayOfWeekSunday,
},
WeeksOfTheMonth: []recoveryservices.WeekOfMonth{
recoveryservices.WeekOfMonthLast,
},
},
RetentionTimes: []string{
"2018-01-24T10:00:00Z",
},
},
},
SchedulePolicy: {
SchedulePolicyType: "SimpleSchedulePolicy",
ScheduleRunDays: []recoveryservices.DayOfWeek{
recoveryservices.DayOfWeekSunday,
recoveryservices.DayOfWeekTuesday,
},
ScheduleRunFrequency: "Weekly",
ScheduleRunTimes: []string{
"2018-01-24T10:00:00Z",
},
},
},
{
PolicyType: "Differential",
RetentionPolicy: {
RetentionDuration: {
Count: 8,
DurationType: "Days",
},
RetentionPolicyType: "SimpleRetentionPolicy",
},
SchedulePolicy: {
SchedulePolicyType: "SimpleSchedulePolicy",
ScheduleRunDays: []recoveryservices.DayOfWeek{
recoveryservices.DayOfWeekFriday,
},
ScheduleRunFrequency: "Weekly",
ScheduleRunTimes: []string{
"2018-01-24T10:00:00Z",
},
},
},
{
PolicyType: "Log",
RetentionPolicy: {
RetentionDuration: {
Count: 7,
DurationType: "Days",
},
RetentionPolicyType: "SimpleRetentionPolicy",
},
SchedulePolicy: {
ScheduleFrequencyInMins: 60,
SchedulePolicyType: "LogSchedulePolicy",
},
},
},
WorkLoadType: "SQLDataBase",
},
ResourceGroupName: pulumi.String("SwaggerTestRg"),
VaultName: pulumi.String("NetSDKTestRsVault"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.recoveryservices.ProtectionPolicy;
import com.pulumi.azurenative.recoveryservices.ProtectionPolicyArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var protectionPolicy = new ProtectionPolicy("protectionPolicy", ProtectionPolicyArgs.builder()
.policyName("testPolicy1")
.properties(Map.ofEntries(
Map.entry("backupManagementType", "AzureWorkload"),
Map.entry("settings", Map.ofEntries(
Map.entry("issqlcompression", false),
Map.entry("timeZone", "Pacific Standard Time")
)),
Map.entry("subProtectionPolicy",
Map.ofEntries(
Map.entry("policyType", "Full"),
Map.entry("retentionPolicy", Map.ofEntries(
Map.entry("monthlySchedule", Map.ofEntries(
Map.entry("retentionDuration", Map.ofEntries(
Map.entry("count", 1),
Map.entry("durationType", "Months")
)),
Map.entry("retentionScheduleFormatType", "Weekly"),
Map.entry("retentionScheduleWeekly", Map.ofEntries(
Map.entry("daysOfTheWeek", "Sunday"),
Map.entry("weeksOfTheMonth", "Second")
)),
Map.entry("retentionTimes", "2018-01-24T10:00:00Z")
)),
Map.entry("retentionPolicyType", "LongTermRetentionPolicy"),
Map.entry("weeklySchedule", Map.ofEntries(
Map.entry("daysOfTheWeek",
"Sunday",
"Tuesday"),
Map.entry("retentionDuration", Map.ofEntries(
Map.entry("count", 2),
Map.entry("durationType", "Weeks")
)),
Map.entry("retentionTimes", "2018-01-24T10:00:00Z")
)),
Map.entry("yearlySchedule", Map.ofEntries(
Map.entry("monthsOfYear",
"January",
"June",
"December"),
Map.entry("retentionDuration", Map.ofEntries(
Map.entry("count", 1),
Map.entry("durationType", "Years")
)),
Map.entry("retentionScheduleFormatType", "Weekly"),
Map.entry("retentionScheduleWeekly", Map.ofEntries(
Map.entry("daysOfTheWeek", "Sunday"),
Map.entry("weeksOfTheMonth", "Last")
)),
Map.entry("retentionTimes", "2018-01-24T10:00:00Z")
))
)),
Map.entry("schedulePolicy", Map.ofEntries(
Map.entry("schedulePolicyType", "SimpleSchedulePolicy"),
Map.entry("scheduleRunDays",
"Sunday",
"Tuesday"),
Map.entry("scheduleRunFrequency", "Weekly"),
Map.entry("scheduleRunTimes", "2018-01-24T10:00:00Z")
))
),
Map.ofEntries(
Map.entry("policyType", "Differential"),
Map.entry("retentionPolicy", Map.ofEntries(
Map.entry("retentionDuration", Map.ofEntries(
Map.entry("count", 8),
Map.entry("durationType", "Days")
)),
Map.entry("retentionPolicyType", "SimpleRetentionPolicy")
)),
Map.entry("schedulePolicy", Map.ofEntries(
Map.entry("schedulePolicyType", "SimpleSchedulePolicy"),
Map.entry("scheduleRunDays", "Friday"),
Map.entry("scheduleRunFrequency", "Weekly"),
Map.entry("scheduleRunTimes", "2018-01-24T10:00:00Z")
))
),
Map.ofEntries(
Map.entry("policyType", "Log"),
Map.entry("retentionPolicy", Map.ofEntries(
Map.entry("retentionDuration", Map.ofEntries(
Map.entry("count", 7),
Map.entry("durationType", "Days")
)),
Map.entry("retentionPolicyType", "SimpleRetentionPolicy")
)),
Map.entry("schedulePolicy", Map.ofEntries(
Map.entry("scheduleFrequencyInMins", 60),
Map.entry("schedulePolicyType", "LogSchedulePolicy")
))
)),
Map.entry("workLoadType", "SQLDataBase")
))
.resourceGroupName("SwaggerTestRg")
.vaultName("NetSDKTestRsVault")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
protection_policy = azure_native.recoveryservices.ProtectionPolicy("protectionPolicy",
policy_name="testPolicy1",
properties=azure_native.recoveryservices.AzureVmWorkloadProtectionPolicyArgs(
backup_management_type="AzureWorkload",
settings=azure_native.recoveryservices.SettingsArgs(
issqlcompression=False,
time_zone="Pacific Standard Time",
),
sub_protection_policy=[
azure_native.recoveryservices.SubProtectionPolicyArgs(
policy_type="Full",
retention_policy=azure_native.recoveryservices.LongTermRetentionPolicyArgs(
monthly_schedule=azure_native.recoveryservices.MonthlyRetentionScheduleArgs(
retention_duration=azure_native.recoveryservices.RetentionDurationArgs(
count=1,
duration_type="Months",
),
retention_schedule_format_type="Weekly",
retention_schedule_weekly=azure_native.recoveryservices.WeeklyRetentionFormatArgs(
days_of_the_week=[azure_native.recoveryservices.DayOfWeek.SUNDAY],
weeks_of_the_month=[azure_native.recoveryservices.WeekOfMonth.SECOND],
),
retention_times=["2018-01-24T10:00:00Z"],
),
retention_policy_type="LongTermRetentionPolicy",
weekly_schedule=azure_native.recoveryservices.WeeklyRetentionScheduleArgs(
days_of_the_week=[
azure_native.recoveryservices.DayOfWeek.SUNDAY,
azure_native.recoveryservices.DayOfWeek.TUESDAY,
],
retention_duration=azure_native.recoveryservices.RetentionDurationArgs(
count=2,
duration_type="Weeks",
),
retention_times=["2018-01-24T10:00:00Z"],
),
yearly_schedule=azure_native.recoveryservices.YearlyRetentionScheduleArgs(
months_of_year=[
azure_native.recoveryservices.MonthOfYear.JANUARY,
azure_native.recoveryservices.MonthOfYear.JUNE,
azure_native.recoveryservices.MonthOfYear.DECEMBER,
],
retention_duration=azure_native.recoveryservices.RetentionDurationArgs(
count=1,
duration_type="Years",
),
retention_schedule_format_type="Weekly",
retention_schedule_weekly=azure_native.recoveryservices.WeeklyRetentionFormatArgs(
days_of_the_week=[azure_native.recoveryservices.DayOfWeek.SUNDAY],
weeks_of_the_month=[azure_native.recoveryservices.WeekOfMonth.LAST],
),
retention_times=["2018-01-24T10:00:00Z"],
),
),
schedule_policy=azure_native.recoveryservices.SimpleSchedulePolicyArgs(
schedule_policy_type="SimpleSchedulePolicy",
schedule_run_days=[
azure_native.recoveryservices.DayOfWeek.SUNDAY,
azure_native.recoveryservices.DayOfWeek.TUESDAY,
],
schedule_run_frequency="Weekly",
schedule_run_times=["2018-01-24T10:00:00Z"],
),
),
azure_native.recoveryservices.SubProtectionPolicyArgs(
policy_type="Differential",
retention_policy=azure_native.recoveryservices.SimpleRetentionPolicyArgs(
retention_duration=azure_native.recoveryservices.RetentionDurationArgs(
count=8,
duration_type="Days",
),
retention_policy_type="SimpleRetentionPolicy",
),
schedule_policy=azure_native.recoveryservices.SimpleSchedulePolicyArgs(
schedule_policy_type="SimpleSchedulePolicy",
schedule_run_days=[azure_native.recoveryservices.DayOfWeek.FRIDAY],
schedule_run_frequency="Weekly",
schedule_run_times=["2018-01-24T10:00:00Z"],
),
),
azure_native.recoveryservices.SubProtectionPolicyArgs(
policy_type="Log",
retention_policy=azure_native.recoveryservices.SimpleRetentionPolicyArgs(
retention_duration=azure_native.recoveryservices.RetentionDurationArgs(
count=7,
duration_type="Days",
),
retention_policy_type="SimpleRetentionPolicy",
),
schedule_policy=azure_native.recoveryservices.LogSchedulePolicyArgs(
schedule_frequency_in_mins=60,
schedule_policy_type="LogSchedulePolicy",
),
),
],
work_load_type="SQLDataBase",
),
resource_group_name="SwaggerTestRg",
vault_name="NetSDKTestRsVault")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const protectionPolicy = new azure_native.recoveryservices.ProtectionPolicy("protectionPolicy", {
policyName: "testPolicy1",
properties: {
backupManagementType: "AzureWorkload",
settings: {
issqlcompression: false,
timeZone: "Pacific Standard Time",
},
subProtectionPolicy: [
{
policyType: "Full",
retentionPolicy: {
monthlySchedule: {
retentionDuration: {
count: 1,
durationType: "Months",
},
retentionScheduleFormatType: "Weekly",
retentionScheduleWeekly: {
daysOfTheWeek: [azure_native.recoveryservices.DayOfWeek.Sunday],
weeksOfTheMonth: [azure_native.recoveryservices.WeekOfMonth.Second],
},
retentionTimes: ["2018-01-24T10:00:00Z"],
},
retentionPolicyType: "LongTermRetentionPolicy",
weeklySchedule: {
daysOfTheWeek: [
azure_native.recoveryservices.DayOfWeek.Sunday,
azure_native.recoveryservices.DayOfWeek.Tuesday,
],
retentionDuration: {
count: 2,
durationType: "Weeks",
},
retentionTimes: ["2018-01-24T10:00:00Z"],
},
yearlySchedule: {
monthsOfYear: [
azure_native.recoveryservices.MonthOfYear.January,
azure_native.recoveryservices.MonthOfYear.June,
azure_native.recoveryservices.MonthOfYear.December,
],
retentionDuration: {
count: 1,
durationType: "Years",
},
retentionScheduleFormatType: "Weekly",
retentionScheduleWeekly: {
daysOfTheWeek: [azure_native.recoveryservices.DayOfWeek.Sunday],
weeksOfTheMonth: [azure_native.recoveryservices.WeekOfMonth.Last],
},
retentionTimes: ["2018-01-24T10:00:00Z"],
},
},
schedulePolicy: {
schedulePolicyType: "SimpleSchedulePolicy",
scheduleRunDays: [
azure_native.recoveryservices.DayOfWeek.Sunday,
azure_native.recoveryservices.DayOfWeek.Tuesday,
],
scheduleRunFrequency: "Weekly",
scheduleRunTimes: ["2018-01-24T10:00:00Z"],
},
},
{
policyType: "Differential",
retentionPolicy: {
retentionDuration: {
count: 8,
durationType: "Days",
},
retentionPolicyType: "SimpleRetentionPolicy",
},
schedulePolicy: {
schedulePolicyType: "SimpleSchedulePolicy",
scheduleRunDays: [azure_native.recoveryservices.DayOfWeek.Friday],
scheduleRunFrequency: "Weekly",
scheduleRunTimes: ["2018-01-24T10:00:00Z"],
},
},
{
policyType: "Log",
retentionPolicy: {
retentionDuration: {
count: 7,
durationType: "Days",
},
retentionPolicyType: "SimpleRetentionPolicy",
},
schedulePolicy: {
scheduleFrequencyInMins: 60,
schedulePolicyType: "LogSchedulePolicy",
},
},
],
workLoadType: "SQLDataBase",
},
resourceGroupName: "SwaggerTestRg",
vaultName: "NetSDKTestRsVault",
});
resources:
protectionPolicy:
type: azure-native:recoveryservices:ProtectionPolicy
properties:
policyName: testPolicy1
properties:
backupManagementType: AzureWorkload
settings:
issqlcompression: false
timeZone: Pacific Standard Time
subProtectionPolicy:
- policyType: Full
retentionPolicy:
monthlySchedule:
retentionDuration:
count: 1
durationType: Months
retentionScheduleFormatType: Weekly
retentionScheduleWeekly:
daysOfTheWeek:
- Sunday
weeksOfTheMonth:
- Second
retentionTimes:
- 2018-01-24T10:00:00Z
retentionPolicyType: LongTermRetentionPolicy
weeklySchedule:
daysOfTheWeek:
- Sunday
- Tuesday
retentionDuration:
count: 2
durationType: Weeks
retentionTimes:
- 2018-01-24T10:00:00Z
yearlySchedule:
monthsOfYear:
- January
- June
- December
retentionDuration:
count: 1
durationType: Years
retentionScheduleFormatType: Weekly
retentionScheduleWeekly:
daysOfTheWeek:
- Sunday
weeksOfTheMonth:
- Last
retentionTimes:
- 2018-01-24T10:00:00Z
schedulePolicy:
schedulePolicyType: SimpleSchedulePolicy
scheduleRunDays:
- Sunday
- Tuesday
scheduleRunFrequency: Weekly
scheduleRunTimes:
- 2018-01-24T10:00:00Z
- policyType: Differential
retentionPolicy:
retentionDuration:
count: 8
durationType: Days
retentionPolicyType: SimpleRetentionPolicy
schedulePolicy:
schedulePolicyType: SimpleSchedulePolicy
scheduleRunDays:
- Friday
scheduleRunFrequency: Weekly
scheduleRunTimes:
- 2018-01-24T10:00:00Z
- policyType: Log
retentionPolicy:
retentionDuration:
count: 7
durationType: Days
retentionPolicyType: SimpleRetentionPolicy
schedulePolicy:
scheduleFrequencyInMins: 60
schedulePolicyType: LogSchedulePolicy
workLoadType: SQLDataBase
resourceGroupName: SwaggerTestRg
vaultName: NetSDKTestRsVault
Create or Update Simple Azure Vm Protection Policy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var protectionPolicy = new AzureNative.RecoveryServices.ProtectionPolicy("protectionPolicy", new()
{
PolicyName = "testPolicy1",
Properties = new AzureNative.RecoveryServices.Inputs.AzureIaaSVMProtectionPolicyArgs
{
BackupManagementType = "AzureIaasVM",
RetentionPolicy = new AzureNative.RecoveryServices.Inputs.LongTermRetentionPolicyArgs
{
DailySchedule = new AzureNative.RecoveryServices.Inputs.DailyRetentionScheduleArgs
{
RetentionDuration = new AzureNative.RecoveryServices.Inputs.RetentionDurationArgs
{
Count = 1,
DurationType = "Days",
},
RetentionTimes = new[]
{
"2018-01-24T02:00:00Z",
},
},
RetentionPolicyType = "LongTermRetentionPolicy",
},
SchedulePolicy = new AzureNative.RecoveryServices.Inputs.SimpleSchedulePolicyArgs
{
SchedulePolicyType = "SimpleSchedulePolicy",
ScheduleRunFrequency = "Daily",
ScheduleRunTimes = new[]
{
"2018-01-24T02:00:00Z",
},
},
TimeZone = "Pacific Standard Time",
},
ResourceGroupName = "SwaggerTestRg",
VaultName = "NetSDKTestRsVault",
});
});
package main
import (
recoveryservices "github.com/pulumi/pulumi-azure-native-sdk/recoveryservices"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := recoveryservices.NewProtectionPolicy(ctx, "protectionPolicy", &recoveryservices.ProtectionPolicyArgs{
PolicyName: pulumi.String("testPolicy1"),
Properties: recoveryservices.AzureIaaSVMProtectionPolicy{
BackupManagementType: "AzureIaasVM",
RetentionPolicy: recoveryservices.LongTermRetentionPolicy{
DailySchedule: recoveryservices.DailyRetentionSchedule{
RetentionDuration: recoveryservices.RetentionDuration{
Count: 1,
DurationType: "Days",
},
RetentionTimes: []string{
"2018-01-24T02:00:00Z",
},
},
RetentionPolicyType: "LongTermRetentionPolicy",
},
SchedulePolicy: recoveryservices.SimpleSchedulePolicy{
SchedulePolicyType: "SimpleSchedulePolicy",
ScheduleRunFrequency: "Daily",
ScheduleRunTimes: []string{
"2018-01-24T02:00:00Z",
},
},
TimeZone: "Pacific Standard Time",
},
ResourceGroupName: pulumi.String("SwaggerTestRg"),
VaultName: pulumi.String("NetSDKTestRsVault"),
})
if err != nil {
return err
}
return nil
})
}
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.azurenative.recoveryservices.ProtectionPolicy;
import com.pulumi.azurenative.recoveryservices.ProtectionPolicyArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
var protectionPolicy = new ProtectionPolicy("protectionPolicy", ProtectionPolicyArgs.builder()
.policyName("testPolicy1")
.properties(Map.ofEntries(
Map.entry("backupManagementType", "AzureIaasVM"),
Map.entry("retentionPolicy", Map.ofEntries(
Map.entry("dailySchedule", Map.ofEntries(
Map.entry("retentionDuration", Map.ofEntries(
Map.entry("count", 1),
Map.entry("durationType", "Days")
)),
Map.entry("retentionTimes", "2018-01-24T02:00:00Z")
)),
Map.entry("retentionPolicyType", "LongTermRetentionPolicy")
)),
Map.entry("schedulePolicy", Map.ofEntries(
Map.entry("schedulePolicyType", "SimpleSchedulePolicy"),
Map.entry("scheduleRunFrequency", "Daily"),
Map.entry("scheduleRunTimes", "2018-01-24T02:00:00Z")
)),
Map.entry("timeZone", "Pacific Standard Time")
))
.resourceGroupName("SwaggerTestRg")
.vaultName("NetSDKTestRsVault")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
protection_policy = azure_native.recoveryservices.ProtectionPolicy("protectionPolicy",
policy_name="testPolicy1",
properties=azure_native.recoveryservices.AzureIaaSVMProtectionPolicyArgs(
backup_management_type="AzureIaasVM",
retention_policy=azure_native.recoveryservices.LongTermRetentionPolicyArgs(
daily_schedule=azure_native.recoveryservices.DailyRetentionScheduleArgs(
retention_duration=azure_native.recoveryservices.RetentionDurationArgs(
count=1,
duration_type="Days",
),
retention_times=["2018-01-24T02:00:00Z"],
),
retention_policy_type="LongTermRetentionPolicy",
),
schedule_policy=azure_native.recoveryservices.SimpleSchedulePolicyArgs(
schedule_policy_type="SimpleSchedulePolicy",
schedule_run_frequency="Daily",
schedule_run_times=["2018-01-24T02:00:00Z"],
),
time_zone="Pacific Standard Time",
),
resource_group_name="SwaggerTestRg",
vault_name="NetSDKTestRsVault")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const protectionPolicy = new azure_native.recoveryservices.ProtectionPolicy("protectionPolicy", {
policyName: "testPolicy1",
properties: {
backupManagementType: "AzureIaasVM",
retentionPolicy: {
dailySchedule: {
retentionDuration: {
count: 1,
durationType: "Days",
},
retentionTimes: ["2018-01-24T02:00:00Z"],
},
retentionPolicyType: "LongTermRetentionPolicy",
},
schedulePolicy: {
schedulePolicyType: "SimpleSchedulePolicy",
scheduleRunFrequency: "Daily",
scheduleRunTimes: ["2018-01-24T02:00:00Z"],
},
timeZone: "Pacific Standard Time",
},
resourceGroupName: "SwaggerTestRg",
vaultName: "NetSDKTestRsVault",
});
resources:
protectionPolicy:
type: azure-native:recoveryservices:ProtectionPolicy
properties:
policyName: testPolicy1
properties:
backupManagementType: AzureIaasVM
retentionPolicy:
dailySchedule:
retentionDuration:
count: 1
durationType: Days
retentionTimes:
- 2018-01-24T02:00:00Z
retentionPolicyType: LongTermRetentionPolicy
schedulePolicy:
schedulePolicyType: SimpleSchedulePolicy
scheduleRunFrequency: Daily
scheduleRunTimes:
- 2018-01-24T02:00:00Z
timeZone: Pacific Standard Time
resourceGroupName: SwaggerTestRg
vaultName: NetSDKTestRsVault
Create ProtectionPolicy Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new ProtectionPolicy(name: string, args: ProtectionPolicyArgs, opts?: CustomResourceOptions);
@overload
def ProtectionPolicy(resource_name: str,
args: ProtectionPolicyArgs,
opts: Optional[ResourceOptions] = None)
@overload
def ProtectionPolicy(resource_name: str,
opts: Optional[ResourceOptions] = None,
resource_group_name: Optional[str] = None,
vault_name: Optional[str] = None,
e_tag: Optional[str] = None,
location: Optional[str] = None,
policy_name: Optional[str] = None,
properties: Optional[Union[AzureFileShareProtectionPolicyArgs, AzureIaaSVMProtectionPolicyArgs, AzureSqlProtectionPolicyArgs, AzureVmWorkloadProtectionPolicyArgs, GenericProtectionPolicyArgs, MabProtectionPolicyArgs]] = None,
tags: Optional[Mapping[str, str]] = None)
func NewProtectionPolicy(ctx *Context, name string, args ProtectionPolicyArgs, opts ...ResourceOption) (*ProtectionPolicy, error)
public ProtectionPolicy(string name, ProtectionPolicyArgs args, CustomResourceOptions? opts = null)
public ProtectionPolicy(String name, ProtectionPolicyArgs args)
public ProtectionPolicy(String name, ProtectionPolicyArgs args, CustomResourceOptions options)
type: azure-native:recoveryservices:ProtectionPolicy
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.
Parameters
- name string
- The unique name of the resource.
- args ProtectionPolicyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- resource_name str
- The unique name of the resource.
- args ProtectionPolicyArgs
- The arguments to resource properties.
- opts ResourceOptions
- Bag of options to control resource's behavior.
- ctx Context
- Context object for the current deployment.
- name string
- The unique name of the resource.
- args ProtectionPolicyArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args ProtectionPolicyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args ProtectionPolicyArgs
- The arguments to resource properties.
- options CustomResourceOptions
- Bag of options to control resource's behavior.
Constructor example
The following reference example uses placeholder values for all input properties.
var protectionPolicyResource = new AzureNative.Recoveryservices.ProtectionPolicy("protectionPolicyResource", new()
{
ResourceGroupName = "string",
VaultName = "string",
ETag = "string",
Location = "string",
PolicyName = "string",
Properties =
{
{ "backupManagementType", "AzureStorage" },
{ "protectedItemsCount", 0 },
{ "retentionPolicy",
{
{ "retentionPolicyType", "LongTermRetentionPolicy" },
{ "dailySchedule",
{
{ "retentionDuration",
{
{ "count", 0 },
{ "durationType", "string" },
} },
{ "retentionTimes", new[]
{
"string",
} },
} },
{ "monthlySchedule",
{
{ "retentionDuration",
{
{ "count", 0 },
{ "durationType", "string" },
} },
{ "retentionScheduleDaily",
{
{ "daysOfTheMonth", new[]
{
{
{ "date", 0 },
{ "isLast", false },
},
} },
} },
{ "retentionScheduleFormatType", "string" },
{ "retentionScheduleWeekly",
{
{ "daysOfTheWeek", new[]
{
"Sunday",
} },
{ "weeksOfTheMonth", new[]
{
"First",
} },
} },
{ "retentionTimes", new[]
{
"string",
} },
} },
{ "weeklySchedule",
{
{ "daysOfTheWeek", new[]
{
"Sunday",
} },
{ "retentionDuration",
{
{ "count", 0 },
{ "durationType", "string" },
} },
{ "retentionTimes", new[]
{
"string",
} },
} },
{ "yearlySchedule",
{
{ "monthsOfYear", new[]
{
"Invalid",
} },
{ "retentionDuration",
{
{ "count", 0 },
{ "durationType", "string" },
} },
{ "retentionScheduleDaily",
{
{ "daysOfTheMonth", new[]
{
{
{ "date", 0 },
{ "isLast", false },
},
} },
} },
{ "retentionScheduleFormatType", "string" },
{ "retentionScheduleWeekly",
{
{ "daysOfTheWeek", new[]
{
"Sunday",
} },
{ "weeksOfTheMonth", new[]
{
"First",
} },
} },
{ "retentionTimes", new[]
{
"string",
} },
} },
} },
{ "schedulePolicy",
{
{ "schedulePolicyType", "LogSchedulePolicy" },
{ "scheduleFrequencyInMins", 0 },
} },
{ "timeZone", "string" },
{ "workLoadType", "string" },
},
Tags =
{
{ "string", "string" },
},
});
example, err := recoveryservices.NewProtectionPolicy(ctx, "protectionPolicyResource", &recoveryservices.ProtectionPolicyArgs{
ResourceGroupName: "string",
VaultName: "string",
ETag: "string",
Location: "string",
PolicyName: "string",
Properties: map[string]interface{}{
"backupManagementType": "AzureStorage",
"protectedItemsCount": 0,
"retentionPolicy": map[string]interface{}{
"retentionPolicyType": "LongTermRetentionPolicy",
"dailySchedule": map[string]interface{}{
"retentionDuration": map[string]interface{}{
"count": 0,
"durationType": "string",
},
"retentionTimes": []string{
"string",
},
},
"monthlySchedule": map[string]interface{}{
"retentionDuration": map[string]interface{}{
"count": 0,
"durationType": "string",
},
"retentionScheduleDaily": map[string]interface{}{
"daysOfTheMonth": []map[string]interface{}{
map[string]interface{}{
"date": 0,
"isLast": false,
},
},
},
"retentionScheduleFormatType": "string",
"retentionScheduleWeekly": map[string]interface{}{
"daysOfTheWeek": []string{
"Sunday",
},
"weeksOfTheMonth": []string{
"First",
},
},
"retentionTimes": []string{
"string",
},
},
"weeklySchedule": map[string]interface{}{
"daysOfTheWeek": []string{
"Sunday",
},
"retentionDuration": map[string]interface{}{
"count": 0,
"durationType": "string",
},
"retentionTimes": []string{
"string",
},
},
"yearlySchedule": map[string]interface{}{
"monthsOfYear": []string{
"Invalid",
},
"retentionDuration": map[string]interface{}{
"count": 0,
"durationType": "string",
},
"retentionScheduleDaily": map[string]interface{}{
"daysOfTheMonth": []map[string]interface{}{
map[string]interface{}{
"date": 0,
"isLast": false,
},
},
},
"retentionScheduleFormatType": "string",
"retentionScheduleWeekly": map[string]interface{}{
"daysOfTheWeek": []string{
"Sunday",
},
"weeksOfTheMonth": []string{
"First",
},
},
"retentionTimes": []string{
"string",
},
},
},
"schedulePolicy": map[string]interface{}{
"schedulePolicyType": "LogSchedulePolicy",
"scheduleFrequencyInMins": 0,
},
"timeZone": "string",
"workLoadType": "string",
},
Tags: map[string]interface{}{
"string": "string",
},
})
var protectionPolicyResource = new ProtectionPolicy("protectionPolicyResource", ProtectionPolicyArgs.builder()
.resourceGroupName("string")
.vaultName("string")
.eTag("string")
.location("string")
.policyName("string")
.properties(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.tags(%!v(PANIC=Format method: runtime error: invalid memory address or nil pointer dereference))
.build());
protection_policy_resource = azure_native.recoveryservices.ProtectionPolicy("protectionPolicyResource",
resource_group_name=string,
vault_name=string,
e_tag=string,
location=string,
policy_name=string,
properties={
backupManagementType: AzureStorage,
protectedItemsCount: 0,
retentionPolicy: {
retentionPolicyType: LongTermRetentionPolicy,
dailySchedule: {
retentionDuration: {
count: 0,
durationType: string,
},
retentionTimes: [string],
},
monthlySchedule: {
retentionDuration: {
count: 0,
durationType: string,
},
retentionScheduleDaily: {
daysOfTheMonth: [{
date: 0,
isLast: False,
}],
},
retentionScheduleFormatType: string,
retentionScheduleWeekly: {
daysOfTheWeek: [Sunday],
weeksOfTheMonth: [First],
},
retentionTimes: [string],
},
weeklySchedule: {
daysOfTheWeek: [Sunday],
retentionDuration: {
count: 0,
durationType: string,
},
retentionTimes: [string],
},
yearlySchedule: {
monthsOfYear: [Invalid],
retentionDuration: {
count: 0,
durationType: string,
},
retentionScheduleDaily: {
daysOfTheMonth: [{
date: 0,
isLast: False,
}],
},
retentionScheduleFormatType: string,
retentionScheduleWeekly: {
daysOfTheWeek: [Sunday],
weeksOfTheMonth: [First],
},
retentionTimes: [string],
},
},
schedulePolicy: {
schedulePolicyType: LogSchedulePolicy,
scheduleFrequencyInMins: 0,
},
timeZone: string,
workLoadType: string,
},
tags={
string: string,
})
const protectionPolicyResource = new azure_native.recoveryservices.ProtectionPolicy("protectionPolicyResource", {
resourceGroupName: "string",
vaultName: "string",
eTag: "string",
location: "string",
policyName: "string",
properties: {
backupManagementType: "AzureStorage",
protectedItemsCount: 0,
retentionPolicy: {
retentionPolicyType: "LongTermRetentionPolicy",
dailySchedule: {
retentionDuration: {
count: 0,
durationType: "string",
},
retentionTimes: ["string"],
},
monthlySchedule: {
retentionDuration: {
count: 0,
durationType: "string",
},
retentionScheduleDaily: {
daysOfTheMonth: [{
date: 0,
isLast: false,
}],
},
retentionScheduleFormatType: "string",
retentionScheduleWeekly: {
daysOfTheWeek: ["Sunday"],
weeksOfTheMonth: ["First"],
},
retentionTimes: ["string"],
},
weeklySchedule: {
daysOfTheWeek: ["Sunday"],
retentionDuration: {
count: 0,
durationType: "string",
},
retentionTimes: ["string"],
},
yearlySchedule: {
monthsOfYear: ["Invalid"],
retentionDuration: {
count: 0,
durationType: "string",
},
retentionScheduleDaily: {
daysOfTheMonth: [{
date: 0,
isLast: false,
}],
},
retentionScheduleFormatType: "string",
retentionScheduleWeekly: {
daysOfTheWeek: ["Sunday"],
weeksOfTheMonth: ["First"],
},
retentionTimes: ["string"],
},
},
schedulePolicy: {
schedulePolicyType: "LogSchedulePolicy",
scheduleFrequencyInMins: 0,
},
timeZone: "string",
workLoadType: "string",
},
tags: {
string: "string",
},
});
type: azure-native:recoveryservices:ProtectionPolicy
properties:
eTag: string
location: string
policyName: string
properties:
backupManagementType: AzureStorage
protectedItemsCount: 0
retentionPolicy:
dailySchedule:
retentionDuration:
count: 0
durationType: string
retentionTimes:
- string
monthlySchedule:
retentionDuration:
count: 0
durationType: string
retentionScheduleDaily:
daysOfTheMonth:
- date: 0
isLast: false
retentionScheduleFormatType: string
retentionScheduleWeekly:
daysOfTheWeek:
- Sunday
weeksOfTheMonth:
- First
retentionTimes:
- string
retentionPolicyType: LongTermRetentionPolicy
weeklySchedule:
daysOfTheWeek:
- Sunday
retentionDuration:
count: 0
durationType: string
retentionTimes:
- string
yearlySchedule:
monthsOfYear:
- Invalid
retentionDuration:
count: 0
durationType: string
retentionScheduleDaily:
daysOfTheMonth:
- date: 0
isLast: false
retentionScheduleFormatType: string
retentionScheduleWeekly:
daysOfTheWeek:
- Sunday
weeksOfTheMonth:
- First
retentionTimes:
- string
schedulePolicy:
scheduleFrequencyInMins: 0
schedulePolicyType: LogSchedulePolicy
timeZone: string
workLoadType: string
resourceGroupName: string
tags:
string: string
vaultName: string
ProtectionPolicy Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
In Python, inputs that are objects can be passed either as argument classes or as dictionary literals.
The ProtectionPolicy resource accepts the following input properties:
- Resource
Group stringName - The name of the resource group where the recovery services vault is present.
- Vault
Name string - The name of the recovery services vault.
- ETag string
- Optional ETag.
- Location string
- Resource location.
- Policy
Name string - Backup policy to be created.
- Properties
Pulumi.
Azure | Pulumi.Native. Recovery Services. Inputs. Azure File Share Protection Policy Azure | Pulumi.Native. Recovery Services. Inputs. Azure Iaa SVMProtection Policy Azure | Pulumi.Native. Recovery Services. Inputs. Azure Sql Protection Policy Azure | Pulumi.Native. Recovery Services. Inputs. Azure Vm Workload Protection Policy Azure | Pulumi.Native. Recovery Services. Inputs. Generic Protection Policy Azure Native. Recovery Services. Inputs. Mab Protection Policy - ProtectionPolicyResource properties
- Dictionary<string, string>
- Resource tags.
- Resource
Group stringName - The name of the resource group where the recovery services vault is present.
- Vault
Name string - The name of the recovery services vault.
- ETag string
- Optional ETag.
- Location string
- Resource location.
- Policy
Name string - Backup policy to be created.
- Properties
Azure
File | AzureShare Protection Policy Args Iaa | AzureSVMProtection Policy Args Sql | AzureProtection Policy Args Vm | GenericWorkload Protection Policy Args Protection | MabPolicy Args Protection Policy Args - ProtectionPolicyResource properties
- map[string]string
- Resource tags.
- resource
Group StringName - The name of the resource group where the recovery services vault is present.
- vault
Name String - The name of the recovery services vault.
- e
Tag String - Optional ETag.
- location String
- Resource location.
- policy
Name String - Backup policy to be created.
- properties
Azure
File | AzureShare Protection Policy Iaa | AzureSVMProtection Policy Sql | AzureProtection Policy Vm | GenericWorkload Protection Policy Protection | MabPolicy Protection Policy - ProtectionPolicyResource properties
- Map<String,String>
- Resource tags.
- resource
Group stringName - The name of the resource group where the recovery services vault is present.
- vault
Name string - The name of the recovery services vault.
- e
Tag string - Optional ETag.
- location string
- Resource location.
- policy
Name string - Backup policy to be created.
- properties
Azure
File | AzureShare Protection Policy Iaa | AzureSVMProtection Policy Sql | AzureProtection Policy Vm | GenericWorkload Protection Policy Protection | MabPolicy Protection Policy - ProtectionPolicyResource properties
- {[key: string]: string}
- Resource tags.
- resource_
group_ strname - The name of the resource group where the recovery services vault is present.
- vault_
name str - The name of the recovery services vault.
- e_
tag str - Optional ETag.
- location str
- Resource location.
- policy_
name str - Backup policy to be created.
- properties
Azure
File | AzureShare Protection Policy Args Iaa | AzureSVMProtection Policy Args Sql | AzureProtection Policy Args Vm | GenericWorkload Protection Policy Args Protection | MabPolicy Args Protection Policy Args - ProtectionPolicyResource properties
- Mapping[str, str]
- Resource tags.
- resource
Group StringName - The name of the resource group where the recovery services vault is present.
- vault
Name String - The name of the recovery services vault.
- e
Tag String - Optional ETag.
- location String
- Resource location.
- policy
Name String - Backup policy to be created.
- properties Property Map | Property Map | Property Map | Property Map | Property Map | Property Map
- ProtectionPolicyResource properties
- Map<String>
- Resource tags.
Outputs
All input properties are implicitly available as output properties. Additionally, the ProtectionPolicy resource produces the following output properties:
Supporting Types
AzureFileShareProtectionPolicy, AzureFileShareProtectionPolicyArgs
- Protected
Items intCount - Number of items associated with this policy.
- Retention
Policy Pulumi.Azure | Pulumi.Native. Recovery Services. Inputs. Long Term Retention Policy Azure Native. Recovery Services. Inputs. Simple Retention Policy - Retention policy with the details on backup copy retention ranges.
- Schedule
Policy Pulumi.Azure | Pulumi.Native. Recovery Services. Inputs. Log Schedule Policy Azure | Pulumi.Native. Recovery Services. Inputs. Long Term Schedule Policy Azure Native. Recovery Services. Inputs. Simple Schedule Policy - Backup schedule specified as part of backup policy.
- Time
Zone string - TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".
- Work
Load string | Pulumi.Type Azure Native. Recovery Services. Workload Type - Type of workload for the backup management
- Protected
Items intCount - Number of items associated with this policy.
- Retention
Policy LongTerm | SimpleRetention Policy Retention Policy - Retention policy with the details on backup copy retention ranges.
- Schedule
Policy LogSchedule | LongPolicy Term | SimpleSchedule Policy Schedule Policy - Backup schedule specified as part of backup policy.
- Time
Zone string - TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".
- Work
Load string | WorkloadType Type - Type of workload for the backup management
- protected
Items IntegerCount - Number of items associated with this policy.
- retention
Policy LongTerm | SimpleRetention Policy Retention Policy - Retention policy with the details on backup copy retention ranges.
- schedule
Policy LogSchedule | LongPolicy Term | SimpleSchedule Policy Schedule Policy - Backup schedule specified as part of backup policy.
- time
Zone String - TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".
- work
Load String | WorkloadType Type - Type of workload for the backup management
- protected
Items numberCount - Number of items associated with this policy.
- retention
Policy LongTerm | SimpleRetention Policy Retention Policy - Retention policy with the details on backup copy retention ranges.
- schedule
Policy LogSchedule | LongPolicy Term | SimpleSchedule Policy Schedule Policy - Backup schedule specified as part of backup policy.
- time
Zone string - TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".
- work
Load string | WorkloadType Type - Type of workload for the backup management
- protected_
items_ intcount - Number of items associated with this policy.
- retention_
policy LongTerm | SimpleRetention Policy Retention Policy - Retention policy with the details on backup copy retention ranges.
- schedule_
policy LogSchedule | LongPolicy Term | SimpleSchedule Policy Schedule Policy - Backup schedule specified as part of backup policy.
- time_
zone str - TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".
- work_
load_ str | Workloadtype Type - Type of workload for the backup management
- protected
Items NumberCount - Number of items associated with this policy.
- retention
Policy Property Map | Property Map - Retention policy with the details on backup copy retention ranges.
- schedule
Policy Property Map | Property Map | Property Map - Backup schedule specified as part of backup policy.
- time
Zone String - TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".
- work
Load String | "Invalid" | "VM" | "FileType Folder" | "Azure Sql Db" | "SQLDB" | "Exchange" | "Sharepoint" | "VMware VM" | "System State" | "Client" | "Generic Data Source" | "SQLData Base" | "Azure File Share" | "SAPHana Database" | "SAPAse Database" - Type of workload for the backup management
AzureFileShareProtectionPolicyResponse, AzureFileShareProtectionPolicyResponseArgs
- Protected
Items intCount - Number of items associated with this policy.
- Retention
Policy Pulumi.Azure | Pulumi.Native. Recovery Services. Inputs. Long Term Retention Policy Response Azure Native. Recovery Services. Inputs. Simple Retention Policy Response - Retention policy with the details on backup copy retention ranges.
- Schedule
Policy Pulumi.Azure | Pulumi.Native. Recovery Services. Inputs. Log Schedule Policy Response Azure | Pulumi.Native. Recovery Services. Inputs. Long Term Schedule Policy Response Azure Native. Recovery Services. Inputs. Simple Schedule Policy Response - Backup schedule specified as part of backup policy.
- Time
Zone string - TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".
- Work
Load stringType - Type of workload for the backup management
- Protected
Items intCount - Number of items associated with this policy.
- Retention
Policy LongTerm | SimpleRetention Policy Response Retention Policy Response - Retention policy with the details on backup copy retention ranges.
- Schedule
Policy LogSchedule | LongPolicy Response Term | SimpleSchedule Policy Response Schedule Policy Response - Backup schedule specified as part of backup policy.
- Time
Zone string - TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".
- Work
Load stringType - Type of workload for the backup management
- protected
Items IntegerCount - Number of items associated with this policy.
- retention
Policy LongTerm | SimpleRetention Policy Response Retention Policy Response - Retention policy with the details on backup copy retention ranges.
- schedule
Policy LogSchedule | LongPolicy Response Term | SimpleSchedule Policy Response Schedule Policy Response - Backup schedule specified as part of backup policy.
- time
Zone String - TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".
- work
Load StringType - Type of workload for the backup management
- protected
Items numberCount - Number of items associated with this policy.
- retention
Policy LongTerm | SimpleRetention Policy Response Retention Policy Response - Retention policy with the details on backup copy retention ranges.
- schedule
Policy LogSchedule | LongPolicy Response Term | SimpleSchedule Policy Response Schedule Policy Response - Backup schedule specified as part of backup policy.
- time
Zone string - TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".
- work
Load stringType - Type of workload for the backup management
- protected_
items_ intcount - Number of items associated with this policy.
- retention_
policy LongTerm | SimpleRetention Policy Response Retention Policy Response - Retention policy with the details on backup copy retention ranges.
- schedule_
policy LogSchedule | LongPolicy Response Term | SimpleSchedule Policy Response Schedule Policy Response - Backup schedule specified as part of backup policy.
- time_
zone str - TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".
- work_
load_ strtype - Type of workload for the backup management
- protected
Items NumberCount - Number of items associated with this policy.
- retention
Policy Property Map | Property Map - Retention policy with the details on backup copy retention ranges.
- schedule
Policy Property Map | Property Map | Property Map - Backup schedule specified as part of backup policy.
- time
Zone String - TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".
- work
Load StringType - Type of workload for the backup management
AzureIaaSVMProtectionPolicy, AzureIaaSVMProtectionPolicyArgs
- Instant
RPDetails Pulumi.Azure Native. Recovery Services. Inputs. Instant RPAdditional Details - Instant
Rp intRetention Range In Days - Instant RP retention policy range in days
- Protected
Items intCount - Number of items associated with this policy.
- Retention
Policy Pulumi.Azure | Pulumi.Native. Recovery Services. Inputs. Long Term Retention Policy Azure Native. Recovery Services. Inputs. Simple Retention Policy - Retention policy with the details on backup copy retention ranges.
- Schedule
Policy Pulumi.Azure | Pulumi.Native. Recovery Services. Inputs. Log Schedule Policy Azure | Pulumi.Native. Recovery Services. Inputs. Long Term Schedule Policy Azure Native. Recovery Services. Inputs. Simple Schedule Policy - Backup schedule specified as part of backup policy.
- Time
Zone string - TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".
- Instant
RPDetails InstantRPAdditional Details - Instant
Rp intRetention Range In Days - Instant RP retention policy range in days
- Protected
Items intCount - Number of items associated with this policy.
- Retention
Policy LongTerm | SimpleRetention Policy Retention Policy - Retention policy with the details on backup copy retention ranges.
- Schedule
Policy LogSchedule | LongPolicy Term | SimpleSchedule Policy Schedule Policy - Backup schedule specified as part of backup policy.
- Time
Zone string - TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".
- instant
RPDetails InstantRPAdditional Details - instant
Rp IntegerRetention Range In Days - Instant RP retention policy range in days
- protected
Items IntegerCount - Number of items associated with this policy.
- retention
Policy LongTerm | SimpleRetention Policy Retention Policy - Retention policy with the details on backup copy retention ranges.
- schedule
Policy LogSchedule | LongPolicy Term | SimpleSchedule Policy Schedule Policy - Backup schedule specified as part of backup policy.
- time
Zone String - TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".
- instant
RPDetails InstantRPAdditional Details - instant
Rp numberRetention Range In Days - Instant RP retention policy range in days
- protected
Items numberCount - Number of items associated with this policy.
- retention
Policy LongTerm | SimpleRetention Policy Retention Policy - Retention policy with the details on backup copy retention ranges.
- schedule
Policy LogSchedule | LongPolicy Term | SimpleSchedule Policy Schedule Policy - Backup schedule specified as part of backup policy.
- time
Zone string - TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".
- instant_
rp_ Instantdetails RPAdditional Details - instant_
rp_ intretention_ range_ in_ days - Instant RP retention policy range in days
- protected_
items_ intcount - Number of items associated with this policy.
- retention_
policy LongTerm | SimpleRetention Policy Retention Policy - Retention policy with the details on backup copy retention ranges.
- schedule_
policy LogSchedule | LongPolicy Term | SimpleSchedule Policy Schedule Policy - Backup schedule specified as part of backup policy.
- time_
zone str - TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".
- instant
RPDetails Property Map - instant
Rp NumberRetention Range In Days - Instant RP retention policy range in days
- protected
Items NumberCount - Number of items associated with this policy.
- retention
Policy Property Map | Property Map - Retention policy with the details on backup copy retention ranges.
- schedule
Policy Property Map | Property Map | Property Map - Backup schedule specified as part of backup policy.
- time
Zone String - TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".
AzureIaaSVMProtectionPolicyResponse, AzureIaaSVMProtectionPolicyResponseArgs
- Instant
RPDetails Pulumi.Azure Native. Recovery Services. Inputs. Instant RPAdditional Details Response - Instant
Rp intRetention Range In Days - Instant RP retention policy range in days
- Protected
Items intCount - Number of items associated with this policy.
- Retention
Policy Pulumi.Azure | Pulumi.Native. Recovery Services. Inputs. Long Term Retention Policy Response Azure Native. Recovery Services. Inputs. Simple Retention Policy Response - Retention policy with the details on backup copy retention ranges.
- Schedule
Policy Pulumi.Azure | Pulumi.Native. Recovery Services. Inputs. Log Schedule Policy Response Azure | Pulumi.Native. Recovery Services. Inputs. Long Term Schedule Policy Response Azure Native. Recovery Services. Inputs. Simple Schedule Policy Response - Backup schedule specified as part of backup policy.
- Time
Zone string - TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".
- Instant
RPDetails InstantRPAdditional Details Response - Instant
Rp intRetention Range In Days - Instant RP retention policy range in days
- Protected
Items intCount - Number of items associated with this policy.
- Retention
Policy LongTerm | SimpleRetention Policy Response Retention Policy Response - Retention policy with the details on backup copy retention ranges.
- Schedule
Policy LogSchedule | LongPolicy Response Term | SimpleSchedule Policy Response Schedule Policy Response - Backup schedule specified as part of backup policy.
- Time
Zone string - TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".
- instant
RPDetails InstantRPAdditional Details Response - instant
Rp IntegerRetention Range In Days - Instant RP retention policy range in days
- protected
Items IntegerCount - Number of items associated with this policy.
- retention
Policy LongTerm | SimpleRetention Policy Response Retention Policy Response - Retention policy with the details on backup copy retention ranges.
- schedule
Policy LogSchedule | LongPolicy Response Term | SimpleSchedule Policy Response Schedule Policy Response - Backup schedule specified as part of backup policy.
- time
Zone String - TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".
- instant
RPDetails InstantRPAdditional Details Response - instant
Rp numberRetention Range In Days - Instant RP retention policy range in days
- protected
Items numberCount - Number of items associated with this policy.
- retention
Policy LongTerm | SimpleRetention Policy Response Retention Policy Response - Retention policy with the details on backup copy retention ranges.
- schedule
Policy LogSchedule | LongPolicy Response Term | SimpleSchedule Policy Response Schedule Policy Response - Backup schedule specified as part of backup policy.
- time
Zone string - TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".
- instant_
rp_ Instantdetails RPAdditional Details Response - instant_
rp_ intretention_ range_ in_ days - Instant RP retention policy range in days
- protected_
items_ intcount - Number of items associated with this policy.
- retention_
policy LongTerm | SimpleRetention Policy Response Retention Policy Response - Retention policy with the details on backup copy retention ranges.
- schedule_
policy LogSchedule | LongPolicy Response Term | SimpleSchedule Policy Response Schedule Policy Response - Backup schedule specified as part of backup policy.
- time_
zone str - TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".
- instant
RPDetails Property Map - instant
Rp NumberRetention Range In Days - Instant RP retention policy range in days
- protected
Items NumberCount - Number of items associated with this policy.
- retention
Policy Property Map | Property Map - Retention policy with the details on backup copy retention ranges.
- schedule
Policy Property Map | Property Map | Property Map - Backup schedule specified as part of backup policy.
- time
Zone String - TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".
AzureSqlProtectionPolicy, AzureSqlProtectionPolicyArgs
- Protected
Items intCount - Number of items associated with this policy.
- Retention
Policy Pulumi.Azure | Pulumi.Native. Recovery Services. Inputs. Long Term Retention Policy Azure Native. Recovery Services. Inputs. Simple Retention Policy - Retention policy details.
- Protected
Items intCount - Number of items associated with this policy.
- Retention
Policy LongTerm | SimpleRetention Policy Retention Policy - Retention policy details.
- protected
Items IntegerCount - Number of items associated with this policy.
- retention
Policy LongTerm | SimpleRetention Policy Retention Policy - Retention policy details.
- protected
Items numberCount - Number of items associated with this policy.
- retention
Policy LongTerm | SimpleRetention Policy Retention Policy - Retention policy details.
- protected_
items_ intcount - Number of items associated with this policy.
- retention_
policy LongTerm | SimpleRetention Policy Retention Policy - Retention policy details.
- protected
Items NumberCount - Number of items associated with this policy.
- retention
Policy Property Map | Property Map - Retention policy details.
AzureSqlProtectionPolicyResponse, AzureSqlProtectionPolicyResponseArgs
- Protected
Items intCount - Number of items associated with this policy.
- Retention
Policy Pulumi.Azure | Pulumi.Native. Recovery Services. Inputs. Long Term Retention Policy Response Azure Native. Recovery Services. Inputs. Simple Retention Policy Response - Retention policy details.
- Protected
Items intCount - Number of items associated with this policy.
- Retention
Policy LongTerm | SimpleRetention Policy Response Retention Policy Response - Retention policy details.
- protected
Items IntegerCount - Number of items associated with this policy.
- retention
Policy LongTerm | SimpleRetention Policy Response Retention Policy Response - Retention policy details.
- protected
Items numberCount - Number of items associated with this policy.
- retention
Policy LongTerm | SimpleRetention Policy Response Retention Policy Response - Retention policy details.
- protected_
items_ intcount - Number of items associated with this policy.
- retention_
policy LongTerm | SimpleRetention Policy Response Retention Policy Response - Retention policy details.
- protected
Items NumberCount - Number of items associated with this policy.
- retention
Policy Property Map | Property Map - Retention policy details.
AzureVmWorkloadProtectionPolicy, AzureVmWorkloadProtectionPolicyArgs
- Make
Policy boolConsistent - Fix the policy inconsistency
- Protected
Items intCount - Number of items associated with this policy.
- Settings
Pulumi.
Azure Native. Recovery Services. Inputs. Settings - Common settings for the backup management
- Sub
Protection List<Pulumi.Policy Azure Native. Recovery Services. Inputs. Sub Protection Policy> - List of sub-protection policies which includes schedule and retention
- Work
Load string | Pulumi.Type Azure Native. Recovery Services. Workload Type - Type of workload for the backup management
- Make
Policy boolConsistent - Fix the policy inconsistency
- Protected
Items intCount - Number of items associated with this policy.
- Settings Settings
- Common settings for the backup management
- Sub
Protection []SubPolicy Protection Policy - List of sub-protection policies which includes schedule and retention
- Work
Load string | WorkloadType Type - Type of workload for the backup management
- make
Policy BooleanConsistent - Fix the policy inconsistency
- protected
Items IntegerCount - Number of items associated with this policy.
- settings Settings
- Common settings for the backup management
- sub
Protection List<SubPolicy Protection Policy> - List of sub-protection policies which includes schedule and retention
- work
Load String | WorkloadType Type - Type of workload for the backup management
- make
Policy booleanConsistent - Fix the policy inconsistency
- protected
Items numberCount - Number of items associated with this policy.
- settings Settings
- Common settings for the backup management
- sub
Protection SubPolicy Protection Policy[] - List of sub-protection policies which includes schedule and retention
- work
Load string | WorkloadType Type - Type of workload for the backup management
- make_
policy_ boolconsistent - Fix the policy inconsistency
- protected_
items_ intcount - Number of items associated with this policy.
- settings Settings
- Common settings for the backup management
- sub_
protection_ Sequence[Subpolicy Protection Policy] - List of sub-protection policies which includes schedule and retention
- work_
load_ str | Workloadtype Type - Type of workload for the backup management
- make
Policy BooleanConsistent - Fix the policy inconsistency
- protected
Items NumberCount - Number of items associated with this policy.
- settings Property Map
- Common settings for the backup management
- sub
Protection List<Property Map>Policy - List of sub-protection policies which includes schedule and retention
- work
Load String | "Invalid" | "VM" | "FileType Folder" | "Azure Sql Db" | "SQLDB" | "Exchange" | "Sharepoint" | "VMware VM" | "System State" | "Client" | "Generic Data Source" | "SQLData Base" | "Azure File Share" | "SAPHana Database" | "SAPAse Database" - Type of workload for the backup management
AzureVmWorkloadProtectionPolicyResponse, AzureVmWorkloadProtectionPolicyResponseArgs
- Make
Policy boolConsistent - Fix the policy inconsistency
- Protected
Items intCount - Number of items associated with this policy.
- Settings
Pulumi.
Azure Native. Recovery Services. Inputs. Settings Response - Common settings for the backup management
- Sub
Protection List<Pulumi.Policy Azure Native. Recovery Services. Inputs. Sub Protection Policy Response> - List of sub-protection policies which includes schedule and retention
- Work
Load stringType - Type of workload for the backup management
- Make
Policy boolConsistent - Fix the policy inconsistency
- Protected
Items intCount - Number of items associated with this policy.
- Settings
Settings
Response - Common settings for the backup management
- Sub
Protection []SubPolicy Protection Policy Response - List of sub-protection policies which includes schedule and retention
- Work
Load stringType - Type of workload for the backup management
- make
Policy BooleanConsistent - Fix the policy inconsistency
- protected
Items IntegerCount - Number of items associated with this policy.
- settings
Settings
Response - Common settings for the backup management
- sub
Protection List<SubPolicy Protection Policy Response> - List of sub-protection policies which includes schedule and retention
- work
Load StringType - Type of workload for the backup management
- make
Policy booleanConsistent - Fix the policy inconsistency
- protected
Items numberCount - Number of items associated with this policy.
- settings
Settings
Response - Common settings for the backup management
- sub
Protection SubPolicy Protection Policy Response[] - List of sub-protection policies which includes schedule and retention
- work
Load stringType - Type of workload for the backup management
- make_
policy_ boolconsistent - Fix the policy inconsistency
- protected_
items_ intcount - Number of items associated with this policy.
- settings
Settings
Response - Common settings for the backup management
- sub_
protection_ Sequence[Subpolicy Protection Policy Response] - List of sub-protection policies which includes schedule and retention
- work_
load_ strtype - Type of workload for the backup management
- make
Policy BooleanConsistent - Fix the policy inconsistency
- protected
Items NumberCount - Number of items associated with this policy.
- settings Property Map
- Common settings for the backup management
- sub
Protection List<Property Map>Policy - List of sub-protection policies which includes schedule and retention
- work
Load StringType - Type of workload for the backup management
DailyRetentionFormat, DailyRetentionFormatArgs
- Days
Of List<Pulumi.The Month Azure Native. Recovery Services. Inputs. Day> - List of days of the month.
- Days
Of []DayThe Month - List of days of the month.
- days
Of List<Day>The Month - List of days of the month.
- days
Of Day[]The Month - List of days of the month.
- days_
of_ Sequence[Day]the_ month - List of days of the month.
- days
Of List<Property Map>The Month - List of days of the month.
DailyRetentionFormatResponse, DailyRetentionFormatResponseArgs
- Days
Of List<Pulumi.The Month Azure Native. Recovery Services. Inputs. Day Response> - List of days of the month.
- Days
Of []DayThe Month Response - List of days of the month.
- days
Of List<DayThe Month Response> - List of days of the month.
- days
Of DayThe Month Response[] - List of days of the month.
- days_
of_ Sequence[Daythe_ month Response] - List of days of the month.
- days
Of List<Property Map>The Month - List of days of the month.
DailyRetentionSchedule, DailyRetentionScheduleArgs
- Retention
Duration Pulumi.Azure Native. Recovery Services. Inputs. Retention Duration - Retention duration of retention Policy.
- Retention
Times List<string> - Retention times of retention policy.
- Retention
Duration RetentionDuration - Retention duration of retention Policy.
- Retention
Times []string - Retention times of retention policy.
- retention
Duration RetentionDuration - Retention duration of retention Policy.
- retention
Times List<String> - Retention times of retention policy.
- retention
Duration RetentionDuration - Retention duration of retention Policy.
- retention
Times string[] - Retention times of retention policy.
- retention_
duration RetentionDuration - Retention duration of retention Policy.
- retention_
times Sequence[str] - Retention times of retention policy.
- retention
Duration Property Map - Retention duration of retention Policy.
- retention
Times List<String> - Retention times of retention policy.
DailyRetentionScheduleResponse, DailyRetentionScheduleResponseArgs
- Retention
Duration Pulumi.Azure Native. Recovery Services. Inputs. Retention Duration Response - Retention duration of retention Policy.
- Retention
Times List<string> - Retention times of retention policy.
- Retention
Duration RetentionDuration Response - Retention duration of retention Policy.
- Retention
Times []string - Retention times of retention policy.
- retention
Duration RetentionDuration Response - Retention duration of retention Policy.
- retention
Times List<String> - Retention times of retention policy.
- retention
Duration RetentionDuration Response - Retention duration of retention Policy.
- retention
Times string[] - Retention times of retention policy.
- retention_
duration RetentionDuration Response - Retention duration of retention Policy.
- retention_
times Sequence[str] - Retention times of retention policy.
- retention
Duration Property Map - Retention duration of retention Policy.
- retention
Times List<String> - Retention times of retention policy.
Day, DayArgs
DayOfWeek, DayOfWeekArgs
- Sunday
- Sunday
- Monday
- Monday
- Tuesday
- Tuesday
- Wednesday
- Wednesday
- Thursday
- Thursday
- Friday
- Friday
- Saturday
- Saturday
- Day
Of Week Sunday - Sunday
- Day
Of Week Monday - Monday
- Day
Of Week Tuesday - Tuesday
- Day
Of Week Wednesday - Wednesday
- Day
Of Week Thursday - Thursday
- Day
Of Week Friday - Friday
- Day
Of Week Saturday - Saturday
- Sunday
- Sunday
- Monday
- Monday
- Tuesday
- Tuesday
- Wednesday
- Wednesday
- Thursday
- Thursday
- Friday
- Friday
- Saturday
- Saturday
- Sunday
- Sunday
- Monday
- Monday
- Tuesday
- Tuesday
- Wednesday
- Wednesday
- Thursday
- Thursday
- Friday
- Friday
- Saturday
- Saturday
- SUNDAY
- Sunday
- MONDAY
- Monday
- TUESDAY
- Tuesday
- WEDNESDAY
- Wednesday
- THURSDAY
- Thursday
- FRIDAY
- Friday
- SATURDAY
- Saturday
- "Sunday"
- Sunday
- "Monday"
- Monday
- "Tuesday"
- Tuesday
- "Wednesday"
- Wednesday
- "Thursday"
- Thursday
- "Friday"
- Friday
- "Saturday"
- Saturday
DayResponse, DayResponseArgs
GenericProtectionPolicy, GenericProtectionPolicyArgs
- Fabric
Name string - Name of this policy's fabric.
- Protected
Items intCount - Number of items associated with this policy.
- Sub
Protection List<Pulumi.Policy Azure Native. Recovery Services. Inputs. Sub Protection Policy> - List of sub-protection policies which includes schedule and retention
- Time
Zone string - TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".
- Fabric
Name string - Name of this policy's fabric.
- Protected
Items intCount - Number of items associated with this policy.
- Sub
Protection []SubPolicy Protection Policy - List of sub-protection policies which includes schedule and retention
- Time
Zone string - TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".
- fabric
Name String - Name of this policy's fabric.
- protected
Items IntegerCount - Number of items associated with this policy.
- sub
Protection List<SubPolicy Protection Policy> - List of sub-protection policies which includes schedule and retention
- time
Zone String - TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".
- fabric
Name string - Name of this policy's fabric.
- protected
Items numberCount - Number of items associated with this policy.
- sub
Protection SubPolicy Protection Policy[] - List of sub-protection policies which includes schedule and retention
- time
Zone string - TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".
- fabric_
name str - Name of this policy's fabric.
- protected_
items_ intcount - Number of items associated with this policy.
- sub_
protection_ Sequence[Subpolicy Protection Policy] - List of sub-protection policies which includes schedule and retention
- time_
zone str - TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".
- fabric
Name String - Name of this policy's fabric.
- protected
Items NumberCount - Number of items associated with this policy.
- sub
Protection List<Property Map>Policy - List of sub-protection policies which includes schedule and retention
- time
Zone String - TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".
GenericProtectionPolicyResponse, GenericProtectionPolicyResponseArgs
- Fabric
Name string - Name of this policy's fabric.
- Protected
Items intCount - Number of items associated with this policy.
- Sub
Protection List<Pulumi.Policy Azure Native. Recovery Services. Inputs. Sub Protection Policy Response> - List of sub-protection policies which includes schedule and retention
- Time
Zone string - TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".
- Fabric
Name string - Name of this policy's fabric.
- Protected
Items intCount - Number of items associated with this policy.
- Sub
Protection []SubPolicy Protection Policy Response - List of sub-protection policies which includes schedule and retention
- Time
Zone string - TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".
- fabric
Name String - Name of this policy's fabric.
- protected
Items IntegerCount - Number of items associated with this policy.
- sub
Protection List<SubPolicy Protection Policy Response> - List of sub-protection policies which includes schedule and retention
- time
Zone String - TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".
- fabric
Name string - Name of this policy's fabric.
- protected
Items numberCount - Number of items associated with this policy.
- sub
Protection SubPolicy Protection Policy Response[] - List of sub-protection policies which includes schedule and retention
- time
Zone string - TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".
- fabric_
name str - Name of this policy's fabric.
- protected_
items_ intcount - Number of items associated with this policy.
- sub_
protection_ Sequence[Subpolicy Protection Policy Response] - List of sub-protection policies which includes schedule and retention
- time_
zone str - TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".
- fabric
Name String - Name of this policy's fabric.
- protected
Items NumberCount - Number of items associated with this policy.
- sub
Protection List<Property Map>Policy - List of sub-protection policies which includes schedule and retention
- time
Zone String - TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".
InstantRPAdditionalDetails, InstantRPAdditionalDetailsArgs
- Azure
Backup stringRGName Prefix - Azure
Backup stringRGName Suffix
- Azure
Backup stringRGName Prefix - Azure
Backup stringRGName Suffix
- azure
Backup StringRGName Prefix - azure
Backup StringRGName Suffix
- azure
Backup stringRGName Prefix - azure
Backup stringRGName Suffix
- azure
Backup StringRGName Prefix - azure
Backup StringRGName Suffix
InstantRPAdditionalDetailsResponse, InstantRPAdditionalDetailsResponseArgs
- Azure
Backup stringRGName Prefix - Azure
Backup stringRGName Suffix
- Azure
Backup stringRGName Prefix - Azure
Backup stringRGName Suffix
- azure
Backup StringRGName Prefix - azure
Backup StringRGName Suffix
- azure
Backup stringRGName Prefix - azure
Backup stringRGName Suffix
- azure
Backup StringRGName Prefix - azure
Backup StringRGName Suffix
LogSchedulePolicy, LogSchedulePolicyArgs
- Schedule
Frequency intIn Mins - Frequency of the log schedule operation of this policy in minutes.
- Schedule
Frequency intIn Mins - Frequency of the log schedule operation of this policy in minutes.
- schedule
Frequency IntegerIn Mins - Frequency of the log schedule operation of this policy in minutes.
- schedule
Frequency numberIn Mins - Frequency of the log schedule operation of this policy in minutes.
- schedule_
frequency_ intin_ mins - Frequency of the log schedule operation of this policy in minutes.
- schedule
Frequency NumberIn Mins - Frequency of the log schedule operation of this policy in minutes.
LogSchedulePolicyResponse, LogSchedulePolicyResponseArgs
- Schedule
Frequency intIn Mins - Frequency of the log schedule operation of this policy in minutes.
- Schedule
Frequency intIn Mins - Frequency of the log schedule operation of this policy in minutes.
- schedule
Frequency IntegerIn Mins - Frequency of the log schedule operation of this policy in minutes.
- schedule
Frequency numberIn Mins - Frequency of the log schedule operation of this policy in minutes.
- schedule_
frequency_ intin_ mins - Frequency of the log schedule operation of this policy in minutes.
- schedule
Frequency NumberIn Mins - Frequency of the log schedule operation of this policy in minutes.
LongTermRetentionPolicy, LongTermRetentionPolicyArgs
- Daily
Schedule Pulumi.Azure Native. Recovery Services. Inputs. Daily Retention Schedule - Daily retention schedule of the protection policy.
- Monthly
Schedule Pulumi.Azure Native. Recovery Services. Inputs. Monthly Retention Schedule - Monthly retention schedule of the protection policy.
- Weekly
Schedule Pulumi.Azure Native. Recovery Services. Inputs. Weekly Retention Schedule - Weekly retention schedule of the protection policy.
- Yearly
Schedule Pulumi.Azure Native. Recovery Services. Inputs. Yearly Retention Schedule - Yearly retention schedule of the protection policy.
- Daily
Schedule DailyRetention Schedule - Daily retention schedule of the protection policy.
- Monthly
Schedule MonthlyRetention Schedule - Monthly retention schedule of the protection policy.
- Weekly
Schedule WeeklyRetention Schedule - Weekly retention schedule of the protection policy.
- Yearly
Schedule YearlyRetention Schedule - Yearly retention schedule of the protection policy.
- daily
Schedule DailyRetention Schedule - Daily retention schedule of the protection policy.
- monthly
Schedule MonthlyRetention Schedule - Monthly retention schedule of the protection policy.
- weekly
Schedule WeeklyRetention Schedule - Weekly retention schedule of the protection policy.
- yearly
Schedule YearlyRetention Schedule - Yearly retention schedule of the protection policy.
- daily
Schedule DailyRetention Schedule - Daily retention schedule of the protection policy.
- monthly
Schedule MonthlyRetention Schedule - Monthly retention schedule of the protection policy.
- weekly
Schedule WeeklyRetention Schedule - Weekly retention schedule of the protection policy.
- yearly
Schedule YearlyRetention Schedule - Yearly retention schedule of the protection policy.
- daily_
schedule DailyRetention Schedule - Daily retention schedule of the protection policy.
- monthly_
schedule MonthlyRetention Schedule - Monthly retention schedule of the protection policy.
- weekly_
schedule WeeklyRetention Schedule - Weekly retention schedule of the protection policy.
- yearly_
schedule YearlyRetention Schedule - Yearly retention schedule of the protection policy.
- daily
Schedule Property Map - Daily retention schedule of the protection policy.
- monthly
Schedule Property Map - Monthly retention schedule of the protection policy.
- weekly
Schedule Property Map - Weekly retention schedule of the protection policy.
- yearly
Schedule Property Map - Yearly retention schedule of the protection policy.
LongTermRetentionPolicyResponse, LongTermRetentionPolicyResponseArgs
- Daily
Schedule Pulumi.Azure Native. Recovery Services. Inputs. Daily Retention Schedule Response - Daily retention schedule of the protection policy.
- Monthly
Schedule Pulumi.Azure Native. Recovery Services. Inputs. Monthly Retention Schedule Response - Monthly retention schedule of the protection policy.
- Weekly
Schedule Pulumi.Azure Native. Recovery Services. Inputs. Weekly Retention Schedule Response - Weekly retention schedule of the protection policy.
- Yearly
Schedule Pulumi.Azure Native. Recovery Services. Inputs. Yearly Retention Schedule Response - Yearly retention schedule of the protection policy.
- Daily
Schedule DailyRetention Schedule Response - Daily retention schedule of the protection policy.
- Monthly
Schedule MonthlyRetention Schedule Response - Monthly retention schedule of the protection policy.
- Weekly
Schedule WeeklyRetention Schedule Response - Weekly retention schedule of the protection policy.
- Yearly
Schedule YearlyRetention Schedule Response - Yearly retention schedule of the protection policy.
- daily
Schedule DailyRetention Schedule Response - Daily retention schedule of the protection policy.
- monthly
Schedule MonthlyRetention Schedule Response - Monthly retention schedule of the protection policy.
- weekly
Schedule WeeklyRetention Schedule Response - Weekly retention schedule of the protection policy.
- yearly
Schedule YearlyRetention Schedule Response - Yearly retention schedule of the protection policy.
- daily
Schedule DailyRetention Schedule Response - Daily retention schedule of the protection policy.
- monthly
Schedule MonthlyRetention Schedule Response - Monthly retention schedule of the protection policy.
- weekly
Schedule WeeklyRetention Schedule Response - Weekly retention schedule of the protection policy.
- yearly
Schedule YearlyRetention Schedule Response - Yearly retention schedule of the protection policy.
- daily_
schedule DailyRetention Schedule Response - Daily retention schedule of the protection policy.
- monthly_
schedule MonthlyRetention Schedule Response - Monthly retention schedule of the protection policy.
- weekly_
schedule WeeklyRetention Schedule Response - Weekly retention schedule of the protection policy.
- yearly_
schedule YearlyRetention Schedule Response - Yearly retention schedule of the protection policy.
- daily
Schedule Property Map - Daily retention schedule of the protection policy.
- monthly
Schedule Property Map - Monthly retention schedule of the protection policy.
- weekly
Schedule Property Map - Weekly retention schedule of the protection policy.
- yearly
Schedule Property Map - Yearly retention schedule of the protection policy.
LongTermSchedulePolicy, LongTermSchedulePolicyArgs
LongTermSchedulePolicyResponse, LongTermSchedulePolicyResponseArgs
MabProtectionPolicy, MabProtectionPolicyArgs
- Protected
Items intCount - Number of items associated with this policy.
- Retention
Policy Pulumi.Azure | Pulumi.Native. Recovery Services. Inputs. Long Term Retention Policy Azure Native. Recovery Services. Inputs. Simple Retention Policy - Retention policy details.
- Schedule
Policy Pulumi.Azure | Pulumi.Native. Recovery Services. Inputs. Log Schedule Policy Azure | Pulumi.Native. Recovery Services. Inputs. Long Term Schedule Policy Azure Native. Recovery Services. Inputs. Simple Schedule Policy - Backup schedule of backup policy.
- Protected
Items intCount - Number of items associated with this policy.
- Retention
Policy LongTerm | SimpleRetention Policy Retention Policy - Retention policy details.
- Schedule
Policy LogSchedule | LongPolicy Term | SimpleSchedule Policy Schedule Policy - Backup schedule of backup policy.
- protected
Items IntegerCount - Number of items associated with this policy.
- retention
Policy LongTerm | SimpleRetention Policy Retention Policy - Retention policy details.
- schedule
Policy LogSchedule | LongPolicy Term | SimpleSchedule Policy Schedule Policy - Backup schedule of backup policy.
- protected
Items numberCount - Number of items associated with this policy.
- retention
Policy LongTerm | SimpleRetention Policy Retention Policy - Retention policy details.
- schedule
Policy LogSchedule | LongPolicy Term | SimpleSchedule Policy Schedule Policy - Backup schedule of backup policy.
- protected_
items_ intcount - Number of items associated with this policy.
- retention_
policy LongTerm | SimpleRetention Policy Retention Policy - Retention policy details.
- schedule_
policy LogSchedule | LongPolicy Term | SimpleSchedule Policy Schedule Policy - Backup schedule of backup policy.
- protected
Items NumberCount - Number of items associated with this policy.
- retention
Policy Property Map | Property Map - Retention policy details.
- schedule
Policy Property Map | Property Map | Property Map - Backup schedule of backup policy.
MabProtectionPolicyResponse, MabProtectionPolicyResponseArgs
- Protected
Items intCount - Number of items associated with this policy.
- Retention
Policy Pulumi.Azure | Pulumi.Native. Recovery Services. Inputs. Long Term Retention Policy Response Azure Native. Recovery Services. Inputs. Simple Retention Policy Response - Retention policy details.
- Schedule
Policy Pulumi.Azure | Pulumi.Native. Recovery Services. Inputs. Log Schedule Policy Response Azure | Pulumi.Native. Recovery Services. Inputs. Long Term Schedule Policy Response Azure Native. Recovery Services. Inputs. Simple Schedule Policy Response - Backup schedule of backup policy.
- Protected
Items intCount - Number of items associated with this policy.
- Retention
Policy LongTerm | SimpleRetention Policy Response Retention Policy Response - Retention policy details.
- Schedule
Policy LogSchedule | LongPolicy Response Term | SimpleSchedule Policy Response Schedule Policy Response - Backup schedule of backup policy.
- protected
Items IntegerCount - Number of items associated with this policy.
- retention
Policy LongTerm | SimpleRetention Policy Response Retention Policy Response - Retention policy details.
- schedule
Policy LogSchedule | LongPolicy Response Term | SimpleSchedule Policy Response Schedule Policy Response - Backup schedule of backup policy.
- protected
Items numberCount - Number of items associated with this policy.
- retention
Policy LongTerm | SimpleRetention Policy Response Retention Policy Response - Retention policy details.
- schedule
Policy LogSchedule | LongPolicy Response Term | SimpleSchedule Policy Response Schedule Policy Response - Backup schedule of backup policy.
- protected_
items_ intcount - Number of items associated with this policy.
- retention_
policy LongTerm | SimpleRetention Policy Response Retention Policy Response - Retention policy details.
- schedule_
policy LogSchedule | LongPolicy Response Term | SimpleSchedule Policy Response Schedule Policy Response - Backup schedule of backup policy.
- protected
Items NumberCount - Number of items associated with this policy.
- retention
Policy Property Map | Property Map - Retention policy details.
- schedule
Policy Property Map | Property Map | Property Map - Backup schedule of backup policy.
MonthOfYear, MonthOfYearArgs
- Invalid
- Invalid
- January
- January
- February
- February
- March
- March
- April
- April
- May
- May
- June
- June
- July
- July
- August
- August
- September
- September
- October
- October
- November
- November
- December
- December
- Month
Of Year Invalid - Invalid
- Month
Of Year January - January
- Month
Of Year February - February
- Month
Of Year March - March
- Month
Of Year April - April
- Month
Of Year May - May
- Month
Of Year June - June
- Month
Of Year July - July
- Month
Of Year August - August
- Month
Of Year September - September
- Month
Of Year October - October
- Month
Of Year November - November
- Month
Of Year December - December
- Invalid
- Invalid
- January
- January
- February
- February
- March
- March
- April
- April
- May
- May
- June
- June
- July
- July
- August
- August
- September
- September
- October
- October
- November
- November
- December
- December
- Invalid
- Invalid
- January
- January
- February
- February
- March
- March
- April
- April
- May
- May
- June
- June
- July
- July
- August
- August
- September
- September
- October
- October
- November
- November
- December
- December
- INVALID
- Invalid
- JANUARY
- January
- FEBRUARY
- February
- MARCH
- March
- APRIL
- April
- MAY
- May
- JUNE
- June
- JULY
- July
- AUGUST
- August
- SEPTEMBER
- September
- OCTOBER
- October
- NOVEMBER
- November
- DECEMBER
- December
- "Invalid"
- Invalid
- "January"
- January
- "February"
- February
- "March"
- March
- "April"
- April
- "May"
- May
- "June"
- June
- "July"
- July
- "August"
- August
- "September"
- September
- "October"
- October
- "November"
- November
- "December"
- December
MonthlyRetentionSchedule, MonthlyRetentionScheduleArgs
- Retention
Duration Pulumi.Azure Native. Recovery Services. Inputs. Retention Duration - Retention duration of retention Policy.
- Retention
Schedule Pulumi.Daily Azure Native. Recovery Services. Inputs. Daily Retention Format - Daily retention format for monthly retention policy.
- Retention
Schedule string | Pulumi.Format Type Azure Native. Recovery Services. Retention Schedule Format - Retention schedule format type for monthly retention policy.
- Retention
Schedule Pulumi.Weekly Azure Native. Recovery Services. Inputs. Weekly Retention Format - Weekly retention format for monthly retention policy.
- Retention
Times List<string> - Retention times of retention policy.
- Retention
Duration RetentionDuration - Retention duration of retention Policy.
- Retention
Schedule DailyDaily Retention Format - Daily retention format for monthly retention policy.
- Retention
Schedule string | RetentionFormat Type Schedule Format - Retention schedule format type for monthly retention policy.
- Retention
Schedule WeeklyWeekly Retention Format - Weekly retention format for monthly retention policy.
- Retention
Times []string - Retention times of retention policy.
- retention
Duration RetentionDuration - Retention duration of retention Policy.
- retention
Schedule DailyDaily Retention Format - Daily retention format for monthly retention policy.
- retention
Schedule String | RetentionFormat Type Schedule Format - Retention schedule format type for monthly retention policy.
- retention
Schedule WeeklyWeekly Retention Format - Weekly retention format for monthly retention policy.
- retention
Times List<String> - Retention times of retention policy.
- retention
Duration RetentionDuration - Retention duration of retention Policy.
- retention
Schedule DailyDaily Retention Format - Daily retention format for monthly retention policy.
- retention
Schedule string | RetentionFormat Type Schedule Format - Retention schedule format type for monthly retention policy.
- retention
Schedule WeeklyWeekly Retention Format - Weekly retention format for monthly retention policy.
- retention
Times string[] - Retention times of retention policy.
- retention_
duration RetentionDuration - Retention duration of retention Policy.
- retention_
schedule_ Dailydaily Retention Format - Daily retention format for monthly retention policy.
- retention_
schedule_ str | Retentionformat_ type Schedule Format - Retention schedule format type for monthly retention policy.
- retention_
schedule_ Weeklyweekly Retention Format - Weekly retention format for monthly retention policy.
- retention_
times Sequence[str] - Retention times of retention policy.
- retention
Duration Property Map - Retention duration of retention Policy.
- retention
Schedule Property MapDaily - Daily retention format for monthly retention policy.
- retention
Schedule String | "Invalid" | "Daily" | "Weekly"Format Type - Retention schedule format type for monthly retention policy.
- retention
Schedule Property MapWeekly - Weekly retention format for monthly retention policy.
- retention
Times List<String> - Retention times of retention policy.
MonthlyRetentionScheduleResponse, MonthlyRetentionScheduleResponseArgs
- Retention
Duration Pulumi.Azure Native. Recovery Services. Inputs. Retention Duration Response - Retention duration of retention Policy.
- Retention
Schedule Pulumi.Daily Azure Native. Recovery Services. Inputs. Daily Retention Format Response - Daily retention format for monthly retention policy.
- Retention
Schedule stringFormat Type - Retention schedule format type for monthly retention policy.
- Retention
Schedule Pulumi.Weekly Azure Native. Recovery Services. Inputs. Weekly Retention Format Response - Weekly retention format for monthly retention policy.
- Retention
Times List<string> - Retention times of retention policy.
- Retention
Duration RetentionDuration Response - Retention duration of retention Policy.
- Retention
Schedule DailyDaily Retention Format Response - Daily retention format for monthly retention policy.
- Retention
Schedule stringFormat Type - Retention schedule format type for monthly retention policy.
- Retention
Schedule WeeklyWeekly Retention Format Response - Weekly retention format for monthly retention policy.
- Retention
Times []string - Retention times of retention policy.
- retention
Duration RetentionDuration Response - Retention duration of retention Policy.
- retention
Schedule DailyDaily Retention Format Response - Daily retention format for monthly retention policy.
- retention
Schedule StringFormat Type - Retention schedule format type for monthly retention policy.
- retention
Schedule WeeklyWeekly Retention Format Response - Weekly retention format for monthly retention policy.
- retention
Times List<String> - Retention times of retention policy.
- retention
Duration RetentionDuration Response - Retention duration of retention Policy.
- retention
Schedule DailyDaily Retention Format Response - Daily retention format for monthly retention policy.
- retention
Schedule stringFormat Type - Retention schedule format type for monthly retention policy.
- retention
Schedule WeeklyWeekly Retention Format Response - Weekly retention format for monthly retention policy.
- retention
Times string[] - Retention times of retention policy.
- retention_
duration RetentionDuration Response - Retention duration of retention Policy.
- retention_
schedule_ Dailydaily Retention Format Response - Daily retention format for monthly retention policy.
- retention_
schedule_ strformat_ type - Retention schedule format type for monthly retention policy.
- retention_
schedule_ Weeklyweekly Retention Format Response - Weekly retention format for monthly retention policy.
- retention_
times Sequence[str] - Retention times of retention policy.
- retention
Duration Property Map - Retention duration of retention Policy.
- retention
Schedule Property MapDaily - Daily retention format for monthly retention policy.
- retention
Schedule StringFormat Type - Retention schedule format type for monthly retention policy.
- retention
Schedule Property MapWeekly - Weekly retention format for monthly retention policy.
- retention
Times List<String> - Retention times of retention policy.
PolicyType, PolicyTypeArgs
- Invalid
- Invalid
- Full
- Full
- Differential
- Differential
- Log
- Log
- Copy
Only Full - CopyOnlyFull
- Incremental
- Incremental
- Policy
Type Invalid - Invalid
- Policy
Type Full - Full
- Policy
Type Differential - Differential
- Policy
Type Log - Log
- Policy
Type Copy Only Full - CopyOnlyFull
- Policy
Type Incremental - Incremental
- Invalid
- Invalid
- Full
- Full
- Differential
- Differential
- Log
- Log
- Copy
Only Full - CopyOnlyFull
- Incremental
- Incremental
- Invalid
- Invalid
- Full
- Full
- Differential
- Differential
- Log
- Log
- Copy
Only Full - CopyOnlyFull
- Incremental
- Incremental
- INVALID
- Invalid
- FULL
- Full
- DIFFERENTIAL
- Differential
- LOG
- Log
- COPY_ONLY_FULL
- CopyOnlyFull
- INCREMENTAL
- Incremental
- "Invalid"
- Invalid
- "Full"
- Full
- "Differential"
- Differential
- "Log"
- Log
- "Copy
Only Full" - CopyOnlyFull
- "Incremental"
- Incremental
RetentionDuration, RetentionDurationArgs
- Count int
- Count of duration types. Retention duration is obtained by the counting the duration type Count times. For example, when Count = 3 and DurationType = Weeks, retention duration will be three weeks.
- Duration
Type string | Pulumi.Azure Native. Recovery Services. Retention Duration Type - Retention duration type of retention policy.
- Count int
- Count of duration types. Retention duration is obtained by the counting the duration type Count times. For example, when Count = 3 and DurationType = Weeks, retention duration will be three weeks.
- Duration
Type string | RetentionDuration Type - Retention duration type of retention policy.
- count Integer
- Count of duration types. Retention duration is obtained by the counting the duration type Count times. For example, when Count = 3 and DurationType = Weeks, retention duration will be three weeks.
- duration
Type String | RetentionDuration Type - Retention duration type of retention policy.
- count number
- Count of duration types. Retention duration is obtained by the counting the duration type Count times. For example, when Count = 3 and DurationType = Weeks, retention duration will be three weeks.
- duration
Type string | RetentionDuration Type - Retention duration type of retention policy.
- count int
- Count of duration types. Retention duration is obtained by the counting the duration type Count times. For example, when Count = 3 and DurationType = Weeks, retention duration will be three weeks.
- duration_
type str | RetentionDuration Type - Retention duration type of retention policy.
- count Number
- Count of duration types. Retention duration is obtained by the counting the duration type Count times. For example, when Count = 3 and DurationType = Weeks, retention duration will be three weeks.
- duration
Type String | "Invalid" | "Days" | "Weeks" | "Months" | "Years" - Retention duration type of retention policy.
RetentionDurationResponse, RetentionDurationResponseArgs
- Count int
- Count of duration types. Retention duration is obtained by the counting the duration type Count times. For example, when Count = 3 and DurationType = Weeks, retention duration will be three weeks.
- Duration
Type string - Retention duration type of retention policy.
- Count int
- Count of duration types. Retention duration is obtained by the counting the duration type Count times. For example, when Count = 3 and DurationType = Weeks, retention duration will be three weeks.
- Duration
Type string - Retention duration type of retention policy.
- count Integer
- Count of duration types. Retention duration is obtained by the counting the duration type Count times. For example, when Count = 3 and DurationType = Weeks, retention duration will be three weeks.
- duration
Type String - Retention duration type of retention policy.
- count number
- Count of duration types. Retention duration is obtained by the counting the duration type Count times. For example, when Count = 3 and DurationType = Weeks, retention duration will be three weeks.
- duration
Type string - Retention duration type of retention policy.
- count int
- Count of duration types. Retention duration is obtained by the counting the duration type Count times. For example, when Count = 3 and DurationType = Weeks, retention duration will be three weeks.
- duration_
type str - Retention duration type of retention policy.
- count Number
- Count of duration types. Retention duration is obtained by the counting the duration type Count times. For example, when Count = 3 and DurationType = Weeks, retention duration will be three weeks.
- duration
Type String - Retention duration type of retention policy.
RetentionDurationType, RetentionDurationTypeArgs
- Invalid
- Invalid
- Days
- Days
- Weeks
- Weeks
- Months
- Months
- Years
- Years
- Retention
Duration Type Invalid - Invalid
- Retention
Duration Type Days - Days
- Retention
Duration Type Weeks - Weeks
- Retention
Duration Type Months - Months
- Retention
Duration Type Years - Years
- Invalid
- Invalid
- Days
- Days
- Weeks
- Weeks
- Months
- Months
- Years
- Years
- Invalid
- Invalid
- Days
- Days
- Weeks
- Weeks
- Months
- Months
- Years
- Years
- INVALID
- Invalid
- DAYS
- Days
- WEEKS
- Weeks
- MONTHS
- Months
- YEARS
- Years
- "Invalid"
- Invalid
- "Days"
- Days
- "Weeks"
- Weeks
- "Months"
- Months
- "Years"
- Years
RetentionScheduleFormat, RetentionScheduleFormatArgs
- Invalid
- Invalid
- Daily
- Daily
- Weekly
- Weekly
- Retention
Schedule Format Invalid - Invalid
- Retention
Schedule Format Daily - Daily
- Retention
Schedule Format Weekly - Weekly
- Invalid
- Invalid
- Daily
- Daily
- Weekly
- Weekly
- Invalid
- Invalid
- Daily
- Daily
- Weekly
- Weekly
- INVALID
- Invalid
- DAILY
- Daily
- WEEKLY
- Weekly
- "Invalid"
- Invalid
- "Daily"
- Daily
- "Weekly"
- Weekly
ScheduleRunType, ScheduleRunTypeArgs
- Invalid
- Invalid
- Daily
- Daily
- Weekly
- Weekly
- Schedule
Run Type Invalid - Invalid
- Schedule
Run Type Daily - Daily
- Schedule
Run Type Weekly - Weekly
- Invalid
- Invalid
- Daily
- Daily
- Weekly
- Weekly
- Invalid
- Invalid
- Daily
- Daily
- Weekly
- Weekly
- INVALID
- Invalid
- DAILY
- Daily
- WEEKLY
- Weekly
- "Invalid"
- Invalid
- "Daily"
- Daily
- "Weekly"
- Weekly
Settings, SettingsArgs
- Is
Compression bool - Workload compression flag. This has been added so that 'isSqlCompression' will be deprecated once clients upgrade to consider this flag.
- Issqlcompression bool
- SQL compression flag
- Time
Zone string - TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".
- Is
Compression bool - Workload compression flag. This has been added so that 'isSqlCompression' will be deprecated once clients upgrade to consider this flag.
- Issqlcompression bool
- SQL compression flag
- Time
Zone string - TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".
- is
Compression Boolean - Workload compression flag. This has been added so that 'isSqlCompression' will be deprecated once clients upgrade to consider this flag.
- issqlcompression Boolean
- SQL compression flag
- time
Zone String - TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".
- is
Compression boolean - Workload compression flag. This has been added so that 'isSqlCompression' will be deprecated once clients upgrade to consider this flag.
- issqlcompression boolean
- SQL compression flag
- time
Zone string - TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".
- is_
compression bool - Workload compression flag. This has been added so that 'isSqlCompression' will be deprecated once clients upgrade to consider this flag.
- issqlcompression bool
- SQL compression flag
- time_
zone str - TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".
- is
Compression Boolean - Workload compression flag. This has been added so that 'isSqlCompression' will be deprecated once clients upgrade to consider this flag.
- issqlcompression Boolean
- SQL compression flag
- time
Zone String - TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".
SettingsResponse, SettingsResponseArgs
- Is
Compression bool - Workload compression flag. This has been added so that 'isSqlCompression' will be deprecated once clients upgrade to consider this flag.
- Issqlcompression bool
- SQL compression flag
- Time
Zone string - TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".
- Is
Compression bool - Workload compression flag. This has been added so that 'isSqlCompression' will be deprecated once clients upgrade to consider this flag.
- Issqlcompression bool
- SQL compression flag
- Time
Zone string - TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".
- is
Compression Boolean - Workload compression flag. This has been added so that 'isSqlCompression' will be deprecated once clients upgrade to consider this flag.
- issqlcompression Boolean
- SQL compression flag
- time
Zone String - TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".
- is
Compression boolean - Workload compression flag. This has been added so that 'isSqlCompression' will be deprecated once clients upgrade to consider this flag.
- issqlcompression boolean
- SQL compression flag
- time
Zone string - TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".
- is_
compression bool - Workload compression flag. This has been added so that 'isSqlCompression' will be deprecated once clients upgrade to consider this flag.
- issqlcompression bool
- SQL compression flag
- time_
zone str - TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".
- is
Compression Boolean - Workload compression flag. This has been added so that 'isSqlCompression' will be deprecated once clients upgrade to consider this flag.
- issqlcompression Boolean
- SQL compression flag
- time
Zone String - TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".
SimpleRetentionPolicy, SimpleRetentionPolicyArgs
- Retention
Duration Pulumi.Azure Native. Recovery Services. Inputs. Retention Duration - Retention duration of the protection policy.
- Retention
Duration RetentionDuration - Retention duration of the protection policy.
- retention
Duration RetentionDuration - Retention duration of the protection policy.
- retention
Duration RetentionDuration - Retention duration of the protection policy.
- retention_
duration RetentionDuration - Retention duration of the protection policy.
- retention
Duration Property Map - Retention duration of the protection policy.
SimpleRetentionPolicyResponse, SimpleRetentionPolicyResponseArgs
- Retention
Duration Pulumi.Azure Native. Recovery Services. Inputs. Retention Duration Response - Retention duration of the protection policy.
- Retention
Duration RetentionDuration Response - Retention duration of the protection policy.
- retention
Duration RetentionDuration Response - Retention duration of the protection policy.
- retention
Duration RetentionDuration Response - Retention duration of the protection policy.
- retention_
duration RetentionDuration Response - Retention duration of the protection policy.
- retention
Duration Property Map - Retention duration of the protection policy.
SimpleSchedulePolicy, SimpleSchedulePolicyArgs
- Schedule
Run List<Pulumi.Days Azure Native. Recovery Services. Day Of Week> - List of days of week this schedule has to be run.
- Schedule
Run string | Pulumi.Frequency Azure Native. Recovery Services. Schedule Run Type - Frequency of the schedule operation of this policy.
- Schedule
Run List<string>Times - List of times of day this schedule has to be run.
- Schedule
Weekly intFrequency - At every number weeks this schedule has to be run.
- Schedule
Run []DayDays Of Week - List of days of week this schedule has to be run.
- Schedule
Run string | ScheduleFrequency Run Type - Frequency of the schedule operation of this policy.
- Schedule
Run []stringTimes - List of times of day this schedule has to be run.
- Schedule
Weekly intFrequency - At every number weeks this schedule has to be run.
- schedule
Run List<DayDays Of Week> - List of days of week this schedule has to be run.
- schedule
Run String | ScheduleFrequency Run Type - Frequency of the schedule operation of this policy.
- schedule
Run List<String>Times - List of times of day this schedule has to be run.
- schedule
Weekly IntegerFrequency - At every number weeks this schedule has to be run.
- schedule
Run DayDays Of Week[] - List of days of week this schedule has to be run.
- schedule
Run string | ScheduleFrequency Run Type - Frequency of the schedule operation of this policy.
- schedule
Run string[]Times - List of times of day this schedule has to be run.
- schedule
Weekly numberFrequency - At every number weeks this schedule has to be run.
- schedule_
run_ Sequence[Daydays Of Week] - List of days of week this schedule has to be run.
- schedule_
run_ str | Schedulefrequency Run Type - Frequency of the schedule operation of this policy.
- schedule_
run_ Sequence[str]times - List of times of day this schedule has to be run.
- schedule_
weekly_ intfrequency - At every number weeks this schedule has to be run.
- schedule
Run List<"Sunday" | "Monday" | "Tuesday" | "Wednesday" | "Thursday" | "Friday" | "Saturday">Days - List of days of week this schedule has to be run.
- schedule
Run String | "Invalid" | "Daily" | "Weekly"Frequency - Frequency of the schedule operation of this policy.
- schedule
Run List<String>Times - List of times of day this schedule has to be run.
- schedule
Weekly NumberFrequency - At every number weeks this schedule has to be run.
SimpleSchedulePolicyResponse, SimpleSchedulePolicyResponseArgs
- Schedule
Run List<string>Days - List of days of week this schedule has to be run.
- Schedule
Run stringFrequency - Frequency of the schedule operation of this policy.
- Schedule
Run List<string>Times - List of times of day this schedule has to be run.
- Schedule
Weekly intFrequency - At every number weeks this schedule has to be run.
- Schedule
Run []stringDays - List of days of week this schedule has to be run.
- Schedule
Run stringFrequency - Frequency of the schedule operation of this policy.
- Schedule
Run []stringTimes - List of times of day this schedule has to be run.
- Schedule
Weekly intFrequency - At every number weeks this schedule has to be run.
- schedule
Run List<String>Days - List of days of week this schedule has to be run.
- schedule
Run StringFrequency - Frequency of the schedule operation of this policy.
- schedule
Run List<String>Times - List of times of day this schedule has to be run.
- schedule
Weekly IntegerFrequency - At every number weeks this schedule has to be run.
- schedule
Run string[]Days - List of days of week this schedule has to be run.
- schedule
Run stringFrequency - Frequency of the schedule operation of this policy.
- schedule
Run string[]Times - List of times of day this schedule has to be run.
- schedule
Weekly numberFrequency - At every number weeks this schedule has to be run.
- schedule_
run_ Sequence[str]days - List of days of week this schedule has to be run.
- schedule_
run_ strfrequency - Frequency of the schedule operation of this policy.
- schedule_
run_ Sequence[str]times - List of times of day this schedule has to be run.
- schedule_
weekly_ intfrequency - At every number weeks this schedule has to be run.
- schedule
Run List<String>Days - List of days of week this schedule has to be run.
- schedule
Run StringFrequency - Frequency of the schedule operation of this policy.
- schedule
Run List<String>Times - List of times of day this schedule has to be run.
- schedule
Weekly NumberFrequency - At every number weeks this schedule has to be run.
SubProtectionPolicy, SubProtectionPolicyArgs
- Policy
Type string | Pulumi.Azure Native. Recovery Services. Policy Type - Type of backup policy type
- Retention
Policy Pulumi.Azure | Pulumi.Native. Recovery Services. Inputs. Long Term Retention Policy Azure Native. Recovery Services. Inputs. Simple Retention Policy - Retention policy with the details on backup copy retention ranges.
- Schedule
Policy Pulumi.Azure | Pulumi.Native. Recovery Services. Inputs. Log Schedule Policy Azure | Pulumi.Native. Recovery Services. Inputs. Long Term Schedule Policy Azure Native. Recovery Services. Inputs. Simple Schedule Policy - Backup schedule specified as part of backup policy.
- Policy
Type string | PolicyType - Type of backup policy type
- Retention
Policy LongTerm | SimpleRetention Policy Retention Policy - Retention policy with the details on backup copy retention ranges.
- Schedule
Policy LogSchedule | LongPolicy Term | SimpleSchedule Policy Schedule Policy - Backup schedule specified as part of backup policy.
- policy
Type String | PolicyType - Type of backup policy type
- retention
Policy LongTerm | SimpleRetention Policy Retention Policy - Retention policy with the details on backup copy retention ranges.
- schedule
Policy LogSchedule | LongPolicy Term | SimpleSchedule Policy Schedule Policy - Backup schedule specified as part of backup policy.
- policy
Type string | PolicyType - Type of backup policy type
- retention
Policy LongTerm | SimpleRetention Policy Retention Policy - Retention policy with the details on backup copy retention ranges.
- schedule
Policy LogSchedule | LongPolicy Term | SimpleSchedule Policy Schedule Policy - Backup schedule specified as part of backup policy.
- policy_
type str | PolicyType - Type of backup policy type
- retention_
policy LongTerm | SimpleRetention Policy Retention Policy - Retention policy with the details on backup copy retention ranges.
- schedule_
policy LogSchedule | LongPolicy Term | SimpleSchedule Policy Schedule Policy - Backup schedule specified as part of backup policy.
- policy
Type String | "Invalid" | "Full" | "Differential" | "Log" | "CopyOnly Full" | "Incremental" - Type of backup policy type
- retention
Policy Property Map | Property Map - Retention policy with the details on backup copy retention ranges.
- schedule
Policy Property Map | Property Map | Property Map - Backup schedule specified as part of backup policy.
SubProtectionPolicyResponse, SubProtectionPolicyResponseArgs
- Policy
Type string - Type of backup policy type
- Retention
Policy Pulumi.Azure | Pulumi.Native. Recovery Services. Inputs. Long Term Retention Policy Response Azure Native. Recovery Services. Inputs. Simple Retention Policy Response - Retention policy with the details on backup copy retention ranges.
- Schedule
Policy Pulumi.Azure | Pulumi.Native. Recovery Services. Inputs. Log Schedule Policy Response Azure | Pulumi.Native. Recovery Services. Inputs. Long Term Schedule Policy Response Azure Native. Recovery Services. Inputs. Simple Schedule Policy Response - Backup schedule specified as part of backup policy.
- Policy
Type string - Type of backup policy type
- Retention
Policy LongTerm | SimpleRetention Policy Response Retention Policy Response - Retention policy with the details on backup copy retention ranges.
- Schedule
Policy LogSchedule | LongPolicy Response Term | SimpleSchedule Policy Response Schedule Policy Response - Backup schedule specified as part of backup policy.
- policy
Type String - Type of backup policy type
- retention
Policy LongTerm | SimpleRetention Policy Response Retention Policy Response - Retention policy with the details on backup copy retention ranges.
- schedule
Policy LogSchedule | LongPolicy Response Term | SimpleSchedule Policy Response Schedule Policy Response - Backup schedule specified as part of backup policy.
- policy
Type string - Type of backup policy type
- retention
Policy LongTerm | SimpleRetention Policy Response Retention Policy Response - Retention policy with the details on backup copy retention ranges.
- schedule
Policy LogSchedule | LongPolicy Response Term | SimpleSchedule Policy Response Schedule Policy Response - Backup schedule specified as part of backup policy.
- policy_
type str - Type of backup policy type
- retention_
policy LongTerm | SimpleRetention Policy Response Retention Policy Response - Retention policy with the details on backup copy retention ranges.
- schedule_
policy LogSchedule | LongPolicy Response Term | SimpleSchedule Policy Response Schedule Policy Response - Backup schedule specified as part of backup policy.
- policy
Type String - Type of backup policy type
- retention
Policy Property Map | Property Map - Retention policy with the details on backup copy retention ranges.
- schedule
Policy Property Map | Property Map | Property Map - Backup schedule specified as part of backup policy.
WeekOfMonth, WeekOfMonthArgs
- First
- First
- Second
- Second
- Third
- Third
- Fourth
- Fourth
- Last
- Last
- Invalid
- Invalid
- Week
Of Month First - First
- Week
Of Month Second - Second
- Week
Of Month Third - Third
- Week
Of Month Fourth - Fourth
- Week
Of Month Last - Last
- Week
Of Month Invalid - Invalid
- First
- First
- Second
- Second
- Third
- Third
- Fourth
- Fourth
- Last
- Last
- Invalid
- Invalid
- First
- First
- Second
- Second
- Third
- Third
- Fourth
- Fourth
- Last
- Last
- Invalid
- Invalid
- FIRST
- First
- SECOND
- Second
- THIRD
- Third
- FOURTH
- Fourth
- LAST
- Last
- INVALID
- Invalid
- "First"
- First
- "Second"
- Second
- "Third"
- Third
- "Fourth"
- Fourth
- "Last"
- Last
- "Invalid"
- Invalid
WeeklyRetentionFormat, WeeklyRetentionFormatArgs
- Days
Of List<Pulumi.The Week Azure Native. Recovery Services. Day Of Week> - List of days of the week.
- Weeks
Of List<Pulumi.The Month Azure Native. Recovery Services. Week Of Month> - List of weeks of month.
- Days
Of []DayThe Week Of Week - List of days of the week.
- Weeks
Of []WeekThe Month Of Month - List of weeks of month.
- days
Of List<DayThe Week Of Week> - List of days of the week.
- weeks
Of List<WeekThe Month Of Month> - List of weeks of month.
- days
Of DayThe Week Of Week[] - List of days of the week.
- weeks
Of WeekThe Month Of Month[] - List of weeks of month.
- days_
of_ Sequence[Daythe_ week Of Week] - List of days of the week.
- weeks_
of_ Sequence[Weekthe_ month Of Month] - List of weeks of month.
- days
Of List<"Sunday" | "Monday" | "Tuesday" | "Wednesday" | "Thursday" | "Friday" | "Saturday">The Week - List of days of the week.
- weeks
Of List<"First" | "Second" | "Third" | "Fourth" | "Last" | "Invalid">The Month - List of weeks of month.
WeeklyRetentionFormatResponse, WeeklyRetentionFormatResponseArgs
- Days
Of List<string>The Week - List of days of the week.
- Weeks
Of List<string>The Month - List of weeks of month.
- Days
Of []stringThe Week - List of days of the week.
- Weeks
Of []stringThe Month - List of weeks of month.
- days
Of List<String>The Week - List of days of the week.
- weeks
Of List<String>The Month - List of weeks of month.
- days
Of string[]The Week - List of days of the week.
- weeks
Of string[]The Month - List of weeks of month.
- days_
of_ Sequence[str]the_ week - List of days of the week.
- weeks_
of_ Sequence[str]the_ month - List of weeks of month.
- days
Of List<String>The Week - List of days of the week.
- weeks
Of List<String>The Month - List of weeks of month.
WeeklyRetentionSchedule, WeeklyRetentionScheduleArgs
- Days
Of List<Pulumi.The Week Azure Native. Recovery Services. Day Of Week> - List of days of week for weekly retention policy.
- Retention
Duration Pulumi.Azure Native. Recovery Services. Inputs. Retention Duration - Retention duration of retention Policy.
- Retention
Times List<string> - Retention times of retention policy.
- Days
Of []DayThe Week Of Week - List of days of week for weekly retention policy.
- Retention
Duration RetentionDuration - Retention duration of retention Policy.
- Retention
Times []string - Retention times of retention policy.
- days
Of List<DayThe Week Of Week> - List of days of week for weekly retention policy.
- retention
Duration RetentionDuration - Retention duration of retention Policy.
- retention
Times List<String> - Retention times of retention policy.
- days
Of DayThe Week Of Week[] - List of days of week for weekly retention policy.
- retention
Duration RetentionDuration - Retention duration of retention Policy.
- retention
Times string[] - Retention times of retention policy.
- days_
of_ Sequence[Daythe_ week Of Week] - List of days of week for weekly retention policy.
- retention_
duration RetentionDuration - Retention duration of retention Policy.
- retention_
times Sequence[str] - Retention times of retention policy.
- days
Of List<"Sunday" | "Monday" | "Tuesday" | "Wednesday" | "Thursday" | "Friday" | "Saturday">The Week - List of days of week for weekly retention policy.
- retention
Duration Property Map - Retention duration of retention Policy.
- retention
Times List<String> - Retention times of retention policy.
WeeklyRetentionScheduleResponse, WeeklyRetentionScheduleResponseArgs
- Days
Of List<string>The Week - List of days of week for weekly retention policy.
- Retention
Duration Pulumi.Azure Native. Recovery Services. Inputs. Retention Duration Response - Retention duration of retention Policy.
- Retention
Times List<string> - Retention times of retention policy.
- Days
Of []stringThe Week - List of days of week for weekly retention policy.
- Retention
Duration RetentionDuration Response - Retention duration of retention Policy.
- Retention
Times []string - Retention times of retention policy.
- days
Of List<String>The Week - List of days of week for weekly retention policy.
- retention
Duration RetentionDuration Response - Retention duration of retention Policy.
- retention
Times List<String> - Retention times of retention policy.
- days
Of string[]The Week - List of days of week for weekly retention policy.
- retention
Duration RetentionDuration Response - Retention duration of retention Policy.
- retention
Times string[] - Retention times of retention policy.
- days_
of_ Sequence[str]the_ week - List of days of week for weekly retention policy.
- retention_
duration RetentionDuration Response - Retention duration of retention Policy.
- retention_
times Sequence[str] - Retention times of retention policy.
- days
Of List<String>The Week - List of days of week for weekly retention policy.
- retention
Duration Property Map - Retention duration of retention Policy.
- retention
Times List<String> - Retention times of retention policy.
WorkloadType, WorkloadTypeArgs
- Invalid
- Invalid
- VM
- VM
- File
Folder - FileFolder
- Azure
Sql Db - AzureSqlDb
- SQLDB
- SQLDB
- Exchange
- Exchange
- Sharepoint
- Sharepoint
- VMware
VM - VMwareVM
- System
State - SystemState
- Client
- Client
- Generic
Data Source - GenericDataSource
- SQLData
Base - SQLDataBase
- Azure
File Share - AzureFileShare
- SAPHana
Database - SAPHanaDatabase
- SAPAse
Database - SAPAseDatabase
- Workload
Type Invalid - Invalid
- Workload
Type VM - VM
- Workload
Type File Folder - FileFolder
- Workload
Type Azure Sql Db - AzureSqlDb
- Workload
Type SQLDB - SQLDB
- Workload
Type Exchange - Exchange
- Workload
Type Sharepoint - Sharepoint
- Workload
Type VMware VM - VMwareVM
- Workload
Type System State - SystemState
- Workload
Type Client - Client
- Workload
Type Generic Data Source - GenericDataSource
- Workload
Type SQLData Base - SQLDataBase
- Workload
Type Azure File Share - AzureFileShare
- Workload
Type SAPHana Database - SAPHanaDatabase
- Workload
Type SAPAse Database - SAPAseDatabase
- Invalid
- Invalid
- VM
- VM
- File
Folder - FileFolder
- Azure
Sql Db - AzureSqlDb
- SQLDB
- SQLDB
- Exchange
- Exchange
- Sharepoint
- Sharepoint
- VMware
VM - VMwareVM
- System
State - SystemState
- Client
- Client
- Generic
Data Source - GenericDataSource
- SQLData
Base - SQLDataBase
- Azure
File Share - AzureFileShare
- SAPHana
Database - SAPHanaDatabase
- SAPAse
Database - SAPAseDatabase
- Invalid
- Invalid
- VM
- VM
- File
Folder - FileFolder
- Azure
Sql Db - AzureSqlDb
- SQLDB
- SQLDB
- Exchange
- Exchange
- Sharepoint
- Sharepoint
- VMware
VM - VMwareVM
- System
State - SystemState
- Client
- Client
- Generic
Data Source - GenericDataSource
- SQLData
Base - SQLDataBase
- Azure
File Share - AzureFileShare
- SAPHana
Database - SAPHanaDatabase
- SAPAse
Database - SAPAseDatabase
- INVALID
- Invalid
- VM
- VM
- FILE_FOLDER
- FileFolder
- AZURE_SQL_DB
- AzureSqlDb
- SQLDB
- SQLDB
- EXCHANGE
- Exchange
- SHAREPOINT
- Sharepoint
- V_MWARE_VM
- VMwareVM
- SYSTEM_STATE
- SystemState
- CLIENT
- Client
- GENERIC_DATA_SOURCE
- GenericDataSource
- SQL_DATA_BASE
- SQLDataBase
- AZURE_FILE_SHARE
- AzureFileShare
- SAP_HANA_DATABASE
- SAPHanaDatabase
- SAPASE_DATABASE
- SAPAseDatabase
- "Invalid"
- Invalid
- "VM"
- VM
- "File
Folder" - FileFolder
- "Azure
Sql Db" - AzureSqlDb
- "SQLDB"
- SQLDB
- "Exchange"
- Exchange
- "Sharepoint"
- Sharepoint
- "VMware
VM" - VMwareVM
- "System
State" - SystemState
- "Client"
- Client
- "Generic
Data Source" - GenericDataSource
- "SQLData
Base" - SQLDataBase
- "Azure
File Share" - AzureFileShare
- "SAPHana
Database" - SAPHanaDatabase
- "SAPAse
Database" - SAPAseDatabase
YearlyRetentionSchedule, YearlyRetentionScheduleArgs
- Months
Of List<Pulumi.Year Azure Native. Recovery Services. Month Of Year> - List of months of year of yearly retention policy.
- Retention
Duration Pulumi.Azure Native. Recovery Services. Inputs. Retention Duration - Retention duration of retention Policy.
- Retention
Schedule Pulumi.Daily Azure Native. Recovery Services. Inputs. Daily Retention Format - Daily retention format for yearly retention policy.
- Retention
Schedule string | Pulumi.Format Type Azure Native. Recovery Services. Retention Schedule Format - Retention schedule format for yearly retention policy.
- Retention
Schedule Pulumi.Weekly Azure Native. Recovery Services. Inputs. Weekly Retention Format - Weekly retention format for yearly retention policy.
- Retention
Times List<string> - Retention times of retention policy.
- Months
Of []MonthYear Of Year - List of months of year of yearly retention policy.
- Retention
Duration RetentionDuration - Retention duration of retention Policy.
- Retention
Schedule DailyDaily Retention Format - Daily retention format for yearly retention policy.
- Retention
Schedule string | RetentionFormat Type Schedule Format - Retention schedule format for yearly retention policy.
- Retention
Schedule WeeklyWeekly Retention Format - Weekly retention format for yearly retention policy.
- Retention
Times []string - Retention times of retention policy.
- months
Of List<MonthYear Of Year> - List of months of year of yearly retention policy.
- retention
Duration RetentionDuration - Retention duration of retention Policy.
- retention
Schedule DailyDaily Retention Format - Daily retention format for yearly retention policy.
- retention
Schedule String | RetentionFormat Type Schedule Format - Retention schedule format for yearly retention policy.
- retention
Schedule WeeklyWeekly Retention Format - Weekly retention format for yearly retention policy.
- retention
Times List<String> - Retention times of retention policy.
- months
Of MonthYear Of Year[] - List of months of year of yearly retention policy.
- retention
Duration RetentionDuration - Retention duration of retention Policy.
- retention
Schedule DailyDaily Retention Format - Daily retention format for yearly retention policy.
- retention
Schedule string | RetentionFormat Type Schedule Format - Retention schedule format for yearly retention policy.
- retention
Schedule WeeklyWeekly Retention Format - Weekly retention format for yearly retention policy.
- retention
Times string[] - Retention times of retention policy.
- months_
of_ Sequence[Monthyear Of Year] - List of months of year of yearly retention policy.
- retention_
duration RetentionDuration - Retention duration of retention Policy.
- retention_
schedule_ Dailydaily Retention Format - Daily retention format for yearly retention policy.
- retention_
schedule_ str | Retentionformat_ type Schedule Format - Retention schedule format for yearly retention policy.
- retention_
schedule_ Weeklyweekly Retention Format - Weekly retention format for yearly retention policy.
- retention_
times Sequence[str] - Retention times of retention policy.
- months
Of List<"Invalid" | "January" | "February" | "March" | "April" | "May" | "June" | "July" | "August" | "September" | "October" | "November" | "December">Year - List of months of year of yearly retention policy.
- retention
Duration Property Map - Retention duration of retention Policy.
- retention
Schedule Property MapDaily - Daily retention format for yearly retention policy.
- retention
Schedule String | "Invalid" | "Daily" | "Weekly"Format Type - Retention schedule format for yearly retention policy.
- retention
Schedule Property MapWeekly - Weekly retention format for yearly retention policy.
- retention
Times List<String> - Retention times of retention policy.
YearlyRetentionScheduleResponse, YearlyRetentionScheduleResponseArgs
- Months
Of List<string>Year - List of months of year of yearly retention policy.
- Retention
Duration Pulumi.Azure Native. Recovery Services. Inputs. Retention Duration Response - Retention duration of retention Policy.
- Retention
Schedule Pulumi.Daily Azure Native. Recovery Services. Inputs. Daily Retention Format Response - Daily retention format for yearly retention policy.
- Retention
Schedule stringFormat Type - Retention schedule format for yearly retention policy.
- Retention
Schedule Pulumi.Weekly Azure Native. Recovery Services. Inputs. Weekly Retention Format Response - Weekly retention format for yearly retention policy.
- Retention
Times List<string> - Retention times of retention policy.
- Months
Of []stringYear - List of months of year of yearly retention policy.
- Retention
Duration RetentionDuration Response - Retention duration of retention Policy.
- Retention
Schedule DailyDaily Retention Format Response - Daily retention format for yearly retention policy.
- Retention
Schedule stringFormat Type - Retention schedule format for yearly retention policy.
- Retention
Schedule WeeklyWeekly Retention Format Response - Weekly retention format for yearly retention policy.
- Retention
Times []string - Retention times of retention policy.
- months
Of List<String>Year - List of months of year of yearly retention policy.
- retention
Duration RetentionDuration Response - Retention duration of retention Policy.
- retention
Schedule DailyDaily Retention Format Response - Daily retention format for yearly retention policy.
- retention
Schedule StringFormat Type - Retention schedule format for yearly retention policy.
- retention
Schedule WeeklyWeekly Retention Format Response - Weekly retention format for yearly retention policy.
- retention
Times List<String> - Retention times of retention policy.
- months
Of string[]Year - List of months of year of yearly retention policy.
- retention
Duration RetentionDuration Response - Retention duration of retention Policy.
- retention
Schedule DailyDaily Retention Format Response - Daily retention format for yearly retention policy.
- retention
Schedule stringFormat Type - Retention schedule format for yearly retention policy.
- retention
Schedule WeeklyWeekly Retention Format Response - Weekly retention format for yearly retention policy.
- retention
Times string[] - Retention times of retention policy.
- months_
of_ Sequence[str]year - List of months of year of yearly retention policy.
- retention_
duration RetentionDuration Response - Retention duration of retention Policy.
- retention_
schedule_ Dailydaily Retention Format Response - Daily retention format for yearly retention policy.
- retention_
schedule_ strformat_ type - Retention schedule format for yearly retention policy.
- retention_
schedule_ Weeklyweekly Retention Format Response - Weekly retention format for yearly retention policy.
- retention_
times Sequence[str] - Retention times of retention policy.
- months
Of List<String>Year - List of months of year of yearly retention policy.
- retention
Duration Property Map - Retention duration of retention Policy.
- retention
Schedule Property MapDaily - Daily retention format for yearly retention policy.
- retention
Schedule StringFormat Type - Retention schedule format for yearly retention policy.
- retention
Schedule Property MapWeekly - Weekly retention format for yearly retention policy.
- retention
Times List<String> - Retention times of retention policy.
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:recoveryservices:ProtectionPolicy testPolicy1 /Subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/SwaggerTestRg/providers/Microsoft.RecoveryServices/vaults/NetSDKTestRsVault/backupPolicies/testPolicy1
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- azure-native-v1 pulumi/pulumi-azure-native
- License
- Apache-2.0