azure-native.recoveryservices.getProtectionPolicy

Explore with Pulumi AI

Provides the details of the backup policies associated to Recovery Services Vault. This is an asynchronous operation. Status of the operation can be fetched using GetPolicyOperationResult API. API Version: 2021-02-01.

Using getProtectionPolicy

Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.

function getProtectionPolicy(args: GetProtectionPolicyArgs, opts?: InvokeOptions): Promise<GetProtectionPolicyResult>
function getProtectionPolicyOutput(args: GetProtectionPolicyOutputArgs, opts?: InvokeOptions): Output<GetProtectionPolicyResult>
def get_protection_policy(policy_name: Optional[str] = None,
                          resource_group_name: Optional[str] = None,
                          vault_name: Optional[str] = None,
                          opts: Optional[InvokeOptions] = None) -> GetProtectionPolicyResult
def get_protection_policy_output(policy_name: Optional[pulumi.Input[str]] = None,
                          resource_group_name: Optional[pulumi.Input[str]] = None,
                          vault_name: Optional[pulumi.Input[str]] = None,
                          opts: Optional[InvokeOptions] = None) -> Output[GetProtectionPolicyResult]
func LookupProtectionPolicy(ctx *Context, args *LookupProtectionPolicyArgs, opts ...InvokeOption) (*LookupProtectionPolicyResult, error)
func LookupProtectionPolicyOutput(ctx *Context, args *LookupProtectionPolicyOutputArgs, opts ...InvokeOption) LookupProtectionPolicyResultOutput

> Note: This function is named LookupProtectionPolicy in the Go SDK.

public static class GetProtectionPolicy 
{
    public static Task<GetProtectionPolicyResult> InvokeAsync(GetProtectionPolicyArgs args, InvokeOptions? opts = null)
    public static Output<GetProtectionPolicyResult> Invoke(GetProtectionPolicyInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetProtectionPolicyResult> getProtectionPolicy(GetProtectionPolicyArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
  function: azure-native:recoveryservices:getProtectionPolicy
  arguments:
    # arguments dictionary

The following arguments are supported:

PolicyName string

Backup policy information to be fetched.

ResourceGroupName string

The name of the resource group where the recovery services vault is present.

VaultName string

The name of the recovery services vault.

PolicyName string

Backup policy information to be fetched.

ResourceGroupName string

The name of the resource group where the recovery services vault is present.

VaultName string

The name of the recovery services vault.

policyName String

Backup policy information to be fetched.

resourceGroupName String

The name of the resource group where the recovery services vault is present.

vaultName String

The name of the recovery services vault.

policyName string

Backup policy information to be fetched.

resourceGroupName string

The name of the resource group where the recovery services vault is present.

vaultName string

The name of the recovery services vault.

policy_name str

Backup policy information to be fetched.

resource_group_name str

The name of the resource group where the recovery services vault is present.

vault_name str

The name of the recovery services vault.

policyName String

Backup policy information to be fetched.

resourceGroupName String

The name of the resource group where the recovery services vault is present.

vaultName String

The name of the recovery services vault.

getProtectionPolicy Result

The following output properties are available:

Id string

Resource Id represents the complete path to the resource.

Name string

Resource name associated with the resource.

Properties Pulumi.AzureNative.RecoveryServices.Outputs.AzureFileShareProtectionPolicyResponse | Pulumi.AzureNative.RecoveryServices.Outputs.AzureIaaSVMProtectionPolicyResponse | Pulumi.AzureNative.RecoveryServices.Outputs.AzureSqlProtectionPolicyResponse | Pulumi.AzureNative.RecoveryServices.Outputs.AzureVmWorkloadProtectionPolicyResponse | Pulumi.AzureNative.RecoveryServices.Outputs.GenericProtectionPolicyResponse | Pulumi.AzureNative.RecoveryServices.Outputs.MabProtectionPolicyResponse

ProtectionPolicyResource properties

Type string

Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...

ETag string

Optional ETag.

Location string

Resource location.

Tags Dictionary<string, string>

Resource tags.

Id string

Resource Id represents the complete path to the resource.

Name string

Resource name associated with the resource.

Properties AzureFileShareProtectionPolicyResponse | AzureIaaSVMProtectionPolicyResponse | AzureSqlProtectionPolicyResponse | AzureVmWorkloadProtectionPolicyResponse | GenericProtectionPolicyResponse | MabProtectionPolicyResponse

ProtectionPolicyResource properties

Type string

Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...

ETag string

Optional ETag.

Location string

Resource location.

Tags map[string]string

Resource tags.

id String

Resource Id represents the complete path to the resource.

name String

Resource name associated with the resource.

properties AzureFileShareProtectionPolicyResponse | AzureIaaSVMProtectionPolicyResponse | AzureSqlProtectionPolicyResponse | AzureVmWorkloadProtectionPolicyResponse | GenericProtectionPolicyResponse | MabProtectionPolicyResponse

ProtectionPolicyResource properties

type String

Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...

eTag String

Optional ETag.

location String

Resource location.

tags Map<String,String>

Resource tags.

id string

Resource Id represents the complete path to the resource.

name string

Resource name associated with the resource.

properties AzureFileShareProtectionPolicyResponse | AzureIaaSVMProtectionPolicyResponse | AzureSqlProtectionPolicyResponse | AzureVmWorkloadProtectionPolicyResponse | GenericProtectionPolicyResponse | MabProtectionPolicyResponse

ProtectionPolicyResource properties

type string

Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...

eTag string

Optional ETag.

location string

Resource location.

tags {[key: string]: string}

Resource tags.

id str

Resource Id represents the complete path to the resource.

name str

Resource name associated with the resource.

properties AzureFileShareProtectionPolicyResponse | AzureIaaSVMProtectionPolicyResponse | AzureSqlProtectionPolicyResponse | AzureVmWorkloadProtectionPolicyResponse | GenericProtectionPolicyResponse | MabProtectionPolicyResponse

ProtectionPolicyResource properties

type str

Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...

e_tag str

Optional ETag.

location str

Resource location.

tags Mapping[str, str]

Resource tags.

id String

Resource Id represents the complete path to the resource.

name String

Resource name associated with the resource.

properties Property Map | Property Map | Property Map | Property Map | Property Map | Property Map

ProtectionPolicyResource properties

type String

Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...

eTag String

Optional ETag.

location String

Resource location.

tags Map<String>

Resource tags.

Supporting Types

AzureFileShareProtectionPolicyResponse

ProtectedItemsCount int

Number of items associated with this policy.

RetentionPolicy Pulumi.AzureNative.RecoveryServices.Inputs.LongTermRetentionPolicyResponse | Pulumi.AzureNative.RecoveryServices.Inputs.SimpleRetentionPolicyResponse

Retention policy with the details on backup copy retention ranges.

SchedulePolicy Pulumi.AzureNative.RecoveryServices.Inputs.LogSchedulePolicyResponse | Pulumi.AzureNative.RecoveryServices.Inputs.LongTermSchedulePolicyResponse | Pulumi.AzureNative.RecoveryServices.Inputs.SimpleSchedulePolicyResponse

Backup schedule specified as part of backup policy.

TimeZone string

TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".

WorkLoadType string

Type of workload for the backup management

ProtectedItemsCount int

Number of items associated with this policy.

RetentionPolicy LongTermRetentionPolicyResponse | SimpleRetentionPolicyResponse

Retention policy with the details on backup copy retention ranges.

SchedulePolicy LogSchedulePolicyResponse | LongTermSchedulePolicyResponse | SimpleSchedulePolicyResponse

Backup schedule specified as part of backup policy.

TimeZone string

TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".

WorkLoadType string

Type of workload for the backup management

protectedItemsCount Integer

Number of items associated with this policy.

retentionPolicy LongTermRetentionPolicyResponse | SimpleRetentionPolicyResponse

Retention policy with the details on backup copy retention ranges.

schedulePolicy LogSchedulePolicyResponse | LongTermSchedulePolicyResponse | SimpleSchedulePolicyResponse

Backup schedule specified as part of backup policy.

timeZone String

TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".

workLoadType String

Type of workload for the backup management

protectedItemsCount number

Number of items associated with this policy.

retentionPolicy LongTermRetentionPolicyResponse | SimpleRetentionPolicyResponse

Retention policy with the details on backup copy retention ranges.

schedulePolicy LogSchedulePolicyResponse | LongTermSchedulePolicyResponse | SimpleSchedulePolicyResponse

Backup schedule specified as part of backup policy.

timeZone string

TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".

workLoadType string

Type of workload for the backup management

protected_items_count int

Number of items associated with this policy.

retention_policy LongTermRetentionPolicyResponse | SimpleRetentionPolicyResponse

Retention policy with the details on backup copy retention ranges.

schedule_policy LogSchedulePolicyResponse | LongTermSchedulePolicyResponse | SimpleSchedulePolicyResponse

Backup schedule specified as part of backup policy.

time_zone str

TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".

work_load_type str

Type of workload for the backup management

protectedItemsCount Number

Number of items associated with this policy.

retentionPolicy Property Map | Property Map

Retention policy with the details on backup copy retention ranges.

schedulePolicy Property Map | Property Map | Property Map

Backup schedule specified as part of backup policy.

timeZone String

TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".

workLoadType String

Type of workload for the backup management

AzureIaaSVMProtectionPolicyResponse

InstantRPDetails Pulumi.AzureNative.RecoveryServices.Inputs.InstantRPAdditionalDetailsResponse
InstantRpRetentionRangeInDays int

Instant RP retention policy range in days

ProtectedItemsCount int

Number of items associated with this policy.

RetentionPolicy Pulumi.AzureNative.RecoveryServices.Inputs.LongTermRetentionPolicyResponse | Pulumi.AzureNative.RecoveryServices.Inputs.SimpleRetentionPolicyResponse

Retention policy with the details on backup copy retention ranges.

SchedulePolicy Pulumi.AzureNative.RecoveryServices.Inputs.LogSchedulePolicyResponse | Pulumi.AzureNative.RecoveryServices.Inputs.LongTermSchedulePolicyResponse | Pulumi.AzureNative.RecoveryServices.Inputs.SimpleSchedulePolicyResponse

Backup schedule specified as part of backup policy.

TimeZone string

TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".

InstantRPDetails InstantRPAdditionalDetailsResponse
InstantRpRetentionRangeInDays int

Instant RP retention policy range in days

ProtectedItemsCount int

Number of items associated with this policy.

RetentionPolicy LongTermRetentionPolicyResponse | SimpleRetentionPolicyResponse

Retention policy with the details on backup copy retention ranges.

SchedulePolicy LogSchedulePolicyResponse | LongTermSchedulePolicyResponse | SimpleSchedulePolicyResponse

Backup schedule specified as part of backup policy.

TimeZone string

TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".

instantRPDetails InstantRPAdditionalDetailsResponse
instantRpRetentionRangeInDays Integer

Instant RP retention policy range in days

protectedItemsCount Integer

Number of items associated with this policy.

retentionPolicy LongTermRetentionPolicyResponse | SimpleRetentionPolicyResponse

Retention policy with the details on backup copy retention ranges.

schedulePolicy LogSchedulePolicyResponse | LongTermSchedulePolicyResponse | SimpleSchedulePolicyResponse

Backup schedule specified as part of backup policy.

timeZone String

TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".

instantRPDetails InstantRPAdditionalDetailsResponse
instantRpRetentionRangeInDays number

Instant RP retention policy range in days

protectedItemsCount number

Number of items associated with this policy.

retentionPolicy LongTermRetentionPolicyResponse | SimpleRetentionPolicyResponse

Retention policy with the details on backup copy retention ranges.

schedulePolicy LogSchedulePolicyResponse | LongTermSchedulePolicyResponse | SimpleSchedulePolicyResponse

Backup schedule specified as part of backup policy.

timeZone string

TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".

instant_rp_details InstantRPAdditionalDetailsResponse
instant_rp_retention_range_in_days int

Instant RP retention policy range in days

protected_items_count int

Number of items associated with this policy.

retention_policy LongTermRetentionPolicyResponse | SimpleRetentionPolicyResponse

Retention policy with the details on backup copy retention ranges.

schedule_policy LogSchedulePolicyResponse | LongTermSchedulePolicyResponse | SimpleSchedulePolicyResponse

Backup schedule specified as part of backup policy.

time_zone str

TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".

instantRPDetails Property Map
instantRpRetentionRangeInDays Number

Instant RP retention policy range in days

protectedItemsCount Number

Number of items associated with this policy.

retentionPolicy Property Map | Property Map

Retention policy with the details on backup copy retention ranges.

schedulePolicy Property Map | Property Map | Property Map

Backup schedule specified as part of backup policy.

timeZone String

TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".

AzureSqlProtectionPolicyResponse

ProtectedItemsCount int

Number of items associated with this policy.

RetentionPolicy LongTermRetentionPolicyResponse | SimpleRetentionPolicyResponse

Retention policy details.

protectedItemsCount Integer

Number of items associated with this policy.

retentionPolicy LongTermRetentionPolicyResponse | SimpleRetentionPolicyResponse

Retention policy details.

protectedItemsCount number

Number of items associated with this policy.

retentionPolicy LongTermRetentionPolicyResponse | SimpleRetentionPolicyResponse

Retention policy details.

protected_items_count int

Number of items associated with this policy.

retention_policy LongTermRetentionPolicyResponse | SimpleRetentionPolicyResponse

Retention policy details.

protectedItemsCount Number

Number of items associated with this policy.

retentionPolicy Property Map | Property Map

Retention policy details.

AzureVmWorkloadProtectionPolicyResponse

MakePolicyConsistent bool

Fix the policy inconsistency

ProtectedItemsCount int

Number of items associated with this policy.

Settings Pulumi.AzureNative.RecoveryServices.Inputs.SettingsResponse

Common settings for the backup management

SubProtectionPolicy List<Pulumi.AzureNative.RecoveryServices.Inputs.SubProtectionPolicyResponse>

List of sub-protection policies which includes schedule and retention

WorkLoadType string

Type of workload for the backup management

MakePolicyConsistent bool

Fix the policy inconsistency

ProtectedItemsCount int

Number of items associated with this policy.

Settings SettingsResponse

Common settings for the backup management

SubProtectionPolicy []SubProtectionPolicyResponse

List of sub-protection policies which includes schedule and retention

WorkLoadType string

Type of workload for the backup management

makePolicyConsistent Boolean

Fix the policy inconsistency

protectedItemsCount Integer

Number of items associated with this policy.

settings SettingsResponse

Common settings for the backup management

subProtectionPolicy List<SubProtectionPolicyResponse>

List of sub-protection policies which includes schedule and retention

workLoadType String

Type of workload for the backup management

makePolicyConsistent boolean

Fix the policy inconsistency

protectedItemsCount number

Number of items associated with this policy.

settings SettingsResponse

Common settings for the backup management

subProtectionPolicy SubProtectionPolicyResponse[]

List of sub-protection policies which includes schedule and retention

workLoadType string

Type of workload for the backup management

make_policy_consistent bool

Fix the policy inconsistency

protected_items_count int

Number of items associated with this policy.

settings SettingsResponse

Common settings for the backup management

sub_protection_policy Sequence[SubProtectionPolicyResponse]

List of sub-protection policies which includes schedule and retention

work_load_type str

Type of workload for the backup management

makePolicyConsistent Boolean

Fix the policy inconsistency

protectedItemsCount Number

Number of items associated with this policy.

settings Property Map

Common settings for the backup management

subProtectionPolicy List<Property Map>

List of sub-protection policies which includes schedule and retention

workLoadType String

Type of workload for the backup management

DailyRetentionFormatResponse

DaysOfTheMonth []DayResponse

List of days of the month.

daysOfTheMonth List<DayResponse>

List of days of the month.

daysOfTheMonth DayResponse[]

List of days of the month.

days_of_the_month Sequence[DayResponse]

List of days of the month.

daysOfTheMonth List<Property Map>

List of days of the month.

DailyRetentionScheduleResponse

RetentionDuration Pulumi.AzureNative.RecoveryServices.Inputs.RetentionDurationResponse

Retention duration of retention Policy.

RetentionTimes List<string>

Retention times of retention policy.

RetentionDuration RetentionDurationResponse

Retention duration of retention Policy.

RetentionTimes []string

Retention times of retention policy.

retentionDuration RetentionDurationResponse

Retention duration of retention Policy.

retentionTimes List<String>

Retention times of retention policy.

retentionDuration RetentionDurationResponse

Retention duration of retention Policy.

retentionTimes string[]

Retention times of retention policy.

retention_duration RetentionDurationResponse

Retention duration of retention Policy.

retention_times Sequence[str]

Retention times of retention policy.

retentionDuration Property Map

Retention duration of retention Policy.

retentionTimes List<String>

Retention times of retention policy.

DayResponse

Date int

Date of the month

IsLast bool

Whether Date is last date of month

Date int

Date of the month

IsLast bool

Whether Date is last date of month

date Integer

Date of the month

isLast Boolean

Whether Date is last date of month

date number

Date of the month

isLast boolean

Whether Date is last date of month

date int

Date of the month

is_last bool

Whether Date is last date of month

date Number

Date of the month

isLast Boolean

Whether Date is last date of month

GenericProtectionPolicyResponse

FabricName string

Name of this policy's fabric.

ProtectedItemsCount int

Number of items associated with this policy.

SubProtectionPolicy List<Pulumi.AzureNative.RecoveryServices.Inputs.SubProtectionPolicyResponse>

List of sub-protection policies which includes schedule and retention

TimeZone string

TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".

FabricName string

Name of this policy's fabric.

ProtectedItemsCount int

Number of items associated with this policy.

SubProtectionPolicy []SubProtectionPolicyResponse

List of sub-protection policies which includes schedule and retention

TimeZone string

TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".

fabricName String

Name of this policy's fabric.

protectedItemsCount Integer

Number of items associated with this policy.

subProtectionPolicy List<SubProtectionPolicyResponse>

List of sub-protection policies which includes schedule and retention

timeZone String

TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".

fabricName string

Name of this policy's fabric.

protectedItemsCount number

Number of items associated with this policy.

subProtectionPolicy SubProtectionPolicyResponse[]

List of sub-protection policies which includes schedule and retention

timeZone string

TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".

fabric_name str

Name of this policy's fabric.

protected_items_count int

Number of items associated with this policy.

sub_protection_policy Sequence[SubProtectionPolicyResponse]

List of sub-protection policies which includes schedule and retention

time_zone str

TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".

fabricName String

Name of this policy's fabric.

protectedItemsCount Number

Number of items associated with this policy.

subProtectionPolicy List<Property Map>

List of sub-protection policies which includes schedule and retention

timeZone String

TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".

InstantRPAdditionalDetailsResponse

LogSchedulePolicyResponse

ScheduleFrequencyInMins int

Frequency of the log schedule operation of this policy in minutes.

ScheduleFrequencyInMins int

Frequency of the log schedule operation of this policy in minutes.

scheduleFrequencyInMins Integer

Frequency of the log schedule operation of this policy in minutes.

scheduleFrequencyInMins number

Frequency of the log schedule operation of this policy in minutes.

schedule_frequency_in_mins int

Frequency of the log schedule operation of this policy in minutes.

scheduleFrequencyInMins Number

Frequency of the log schedule operation of this policy in minutes.

LongTermRetentionPolicyResponse

DailySchedule DailyRetentionScheduleResponse

Daily retention schedule of the protection policy.

MonthlySchedule MonthlyRetentionScheduleResponse

Monthly retention schedule of the protection policy.

WeeklySchedule WeeklyRetentionScheduleResponse

Weekly retention schedule of the protection policy.

YearlySchedule YearlyRetentionScheduleResponse

Yearly retention schedule of the protection policy.

dailySchedule DailyRetentionScheduleResponse

Daily retention schedule of the protection policy.

monthlySchedule MonthlyRetentionScheduleResponse

Monthly retention schedule of the protection policy.

weeklySchedule WeeklyRetentionScheduleResponse

Weekly retention schedule of the protection policy.

yearlySchedule YearlyRetentionScheduleResponse

Yearly retention schedule of the protection policy.

dailySchedule DailyRetentionScheduleResponse

Daily retention schedule of the protection policy.

monthlySchedule MonthlyRetentionScheduleResponse

Monthly retention schedule of the protection policy.

weeklySchedule WeeklyRetentionScheduleResponse

Weekly retention schedule of the protection policy.

yearlySchedule YearlyRetentionScheduleResponse

Yearly retention schedule of the protection policy.

daily_schedule DailyRetentionScheduleResponse

Daily retention schedule of the protection policy.

monthly_schedule MonthlyRetentionScheduleResponse

Monthly retention schedule of the protection policy.

weekly_schedule WeeklyRetentionScheduleResponse

Weekly retention schedule of the protection policy.

yearly_schedule YearlyRetentionScheduleResponse

Yearly retention schedule of the protection policy.

dailySchedule Property Map

Daily retention schedule of the protection policy.

monthlySchedule Property Map

Monthly retention schedule of the protection policy.

weeklySchedule Property Map

Weekly retention schedule of the protection policy.

yearlySchedule Property Map

Yearly retention schedule of the protection policy.

LongTermSchedulePolicyResponse

MabProtectionPolicyResponse

protectedItemsCount Number

Number of items associated with this policy.

retentionPolicy Property Map | Property Map

Retention policy details.

schedulePolicy Property Map | Property Map | Property Map

Backup schedule of backup policy.

MonthlyRetentionScheduleResponse

RetentionDuration Pulumi.AzureNative.RecoveryServices.Inputs.RetentionDurationResponse

Retention duration of retention Policy.

RetentionScheduleDaily Pulumi.AzureNative.RecoveryServices.Inputs.DailyRetentionFormatResponse

Daily retention format for monthly retention policy.

RetentionScheduleFormatType string

Retention schedule format type for monthly retention policy.

RetentionScheduleWeekly Pulumi.AzureNative.RecoveryServices.Inputs.WeeklyRetentionFormatResponse

Weekly retention format for monthly retention policy.

RetentionTimes List<string>

Retention times of retention policy.

RetentionDuration RetentionDurationResponse

Retention duration of retention Policy.

RetentionScheduleDaily DailyRetentionFormatResponse

Daily retention format for monthly retention policy.

RetentionScheduleFormatType string

Retention schedule format type for monthly retention policy.

RetentionScheduleWeekly WeeklyRetentionFormatResponse

Weekly retention format for monthly retention policy.

RetentionTimes []string

Retention times of retention policy.

retentionDuration RetentionDurationResponse

Retention duration of retention Policy.

retentionScheduleDaily DailyRetentionFormatResponse

Daily retention format for monthly retention policy.

retentionScheduleFormatType String

Retention schedule format type for monthly retention policy.

retentionScheduleWeekly WeeklyRetentionFormatResponse

Weekly retention format for monthly retention policy.

retentionTimes List<String>

Retention times of retention policy.

retentionDuration RetentionDurationResponse

Retention duration of retention Policy.

retentionScheduleDaily DailyRetentionFormatResponse

Daily retention format for monthly retention policy.

retentionScheduleFormatType string

Retention schedule format type for monthly retention policy.

retentionScheduleWeekly WeeklyRetentionFormatResponse

Weekly retention format for monthly retention policy.

retentionTimes string[]

Retention times of retention policy.

retention_duration RetentionDurationResponse

Retention duration of retention Policy.

retention_schedule_daily DailyRetentionFormatResponse

Daily retention format for monthly retention policy.

retention_schedule_format_type str

Retention schedule format type for monthly retention policy.

retention_schedule_weekly WeeklyRetentionFormatResponse

Weekly retention format for monthly retention policy.

retention_times Sequence[str]

Retention times of retention policy.

retentionDuration Property Map

Retention duration of retention Policy.

retentionScheduleDaily Property Map

Daily retention format for monthly retention policy.

retentionScheduleFormatType String

Retention schedule format type for monthly retention policy.

retentionScheduleWeekly Property Map

Weekly retention format for monthly retention policy.

retentionTimes List<String>

Retention times of retention policy.

RetentionDurationResponse

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.

DurationType 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.

DurationType 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.

durationType 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.

durationType 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.

durationType String

Retention duration type of retention policy.

SettingsResponse

IsCompression 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

TimeZone string

TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".

IsCompression 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

TimeZone string

TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".

isCompression 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

timeZone String

TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".

isCompression 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

timeZone 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".

isCompression 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

timeZone String

TimeZone optional input as string. For example: TimeZone = "Pacific Standard Time".

SimpleRetentionPolicyResponse

RetentionDuration RetentionDurationResponse

Retention duration of the protection policy.

retentionDuration RetentionDurationResponse

Retention duration of the protection policy.

retentionDuration RetentionDurationResponse

Retention duration of the protection policy.

retention_duration RetentionDurationResponse

Retention duration of the protection policy.

retentionDuration Property Map

Retention duration of the protection policy.

SimpleSchedulePolicyResponse

ScheduleRunDays List<string>

List of days of week this schedule has to be run.

ScheduleRunFrequency string

Frequency of the schedule operation of this policy.

ScheduleRunTimes List<string>

List of times of day this schedule has to be run.

ScheduleWeeklyFrequency int

At every number weeks this schedule has to be run.

ScheduleRunDays []string

List of days of week this schedule has to be run.

ScheduleRunFrequency string

Frequency of the schedule operation of this policy.

ScheduleRunTimes []string

List of times of day this schedule has to be run.

ScheduleWeeklyFrequency int

At every number weeks this schedule has to be run.

scheduleRunDays List<String>

List of days of week this schedule has to be run.

scheduleRunFrequency String

Frequency of the schedule operation of this policy.

scheduleRunTimes List<String>

List of times of day this schedule has to be run.

scheduleWeeklyFrequency Integer

At every number weeks this schedule has to be run.

scheduleRunDays string[]

List of days of week this schedule has to be run.

scheduleRunFrequency string

Frequency of the schedule operation of this policy.

scheduleRunTimes string[]

List of times of day this schedule has to be run.

scheduleWeeklyFrequency number

At every number weeks this schedule has to be run.

schedule_run_days Sequence[str]

List of days of week this schedule has to be run.

schedule_run_frequency str

Frequency of the schedule operation of this policy.

schedule_run_times Sequence[str]

List of times of day this schedule has to be run.

schedule_weekly_frequency int

At every number weeks this schedule has to be run.

scheduleRunDays List<String>

List of days of week this schedule has to be run.

scheduleRunFrequency String

Frequency of the schedule operation of this policy.

scheduleRunTimes List<String>

List of times of day this schedule has to be run.

scheduleWeeklyFrequency Number

At every number weeks this schedule has to be run.

SubProtectionPolicyResponse

PolicyType string

Type of backup policy type

RetentionPolicy LongTermRetentionPolicyResponse | SimpleRetentionPolicyResponse

Retention policy with the details on backup copy retention ranges.

SchedulePolicy LogSchedulePolicyResponse | LongTermSchedulePolicyResponse | SimpleSchedulePolicyResponse

Backup schedule specified as part of backup policy.

policyType String

Type of backup policy type

retentionPolicy LongTermRetentionPolicyResponse | SimpleRetentionPolicyResponse

Retention policy with the details on backup copy retention ranges.

schedulePolicy LogSchedulePolicyResponse | LongTermSchedulePolicyResponse | SimpleSchedulePolicyResponse

Backup schedule specified as part of backup policy.

policyType string

Type of backup policy type

retentionPolicy LongTermRetentionPolicyResponse | SimpleRetentionPolicyResponse

Retention policy with the details on backup copy retention ranges.

schedulePolicy LogSchedulePolicyResponse | LongTermSchedulePolicyResponse | SimpleSchedulePolicyResponse

Backup schedule specified as part of backup policy.

policy_type str

Type of backup policy type

retention_policy LongTermRetentionPolicyResponse | SimpleRetentionPolicyResponse

Retention policy with the details on backup copy retention ranges.

schedule_policy LogSchedulePolicyResponse | LongTermSchedulePolicyResponse | SimpleSchedulePolicyResponse

Backup schedule specified as part of backup policy.

policyType String

Type of backup policy type

retentionPolicy Property Map | Property Map

Retention policy with the details on backup copy retention ranges.

schedulePolicy Property Map | Property Map | Property Map

Backup schedule specified as part of backup policy.

WeeklyRetentionFormatResponse

DaysOfTheWeek List<string>

List of days of the week.

WeeksOfTheMonth List<string>

List of weeks of month.

DaysOfTheWeek []string

List of days of the week.

WeeksOfTheMonth []string

List of weeks of month.

daysOfTheWeek List<String>

List of days of the week.

weeksOfTheMonth List<String>

List of weeks of month.

daysOfTheWeek string[]

List of days of the week.

weeksOfTheMonth string[]

List of weeks of month.

days_of_the_week Sequence[str]

List of days of the week.

weeks_of_the_month Sequence[str]

List of weeks of month.

daysOfTheWeek List<String>

List of days of the week.

weeksOfTheMonth List<String>

List of weeks of month.

WeeklyRetentionScheduleResponse

DaysOfTheWeek List<string>

List of days of week for weekly retention policy.

RetentionDuration Pulumi.AzureNative.RecoveryServices.Inputs.RetentionDurationResponse

Retention duration of retention Policy.

RetentionTimes List<string>

Retention times of retention policy.

DaysOfTheWeek []string

List of days of week for weekly retention policy.

RetentionDuration RetentionDurationResponse

Retention duration of retention Policy.

RetentionTimes []string

Retention times of retention policy.

daysOfTheWeek List<String>

List of days of week for weekly retention policy.

retentionDuration RetentionDurationResponse

Retention duration of retention Policy.

retentionTimes List<String>

Retention times of retention policy.

daysOfTheWeek string[]

List of days of week for weekly retention policy.

retentionDuration RetentionDurationResponse

Retention duration of retention Policy.

retentionTimes string[]

Retention times of retention policy.

days_of_the_week Sequence[str]

List of days of week for weekly retention policy.

retention_duration RetentionDurationResponse

Retention duration of retention Policy.

retention_times Sequence[str]

Retention times of retention policy.

daysOfTheWeek List<String>

List of days of week for weekly retention policy.

retentionDuration Property Map

Retention duration of retention Policy.

retentionTimes List<String>

Retention times of retention policy.

YearlyRetentionScheduleResponse

MonthsOfYear List<string>

List of months of year of yearly retention policy.

RetentionDuration Pulumi.AzureNative.RecoveryServices.Inputs.RetentionDurationResponse

Retention duration of retention Policy.

RetentionScheduleDaily Pulumi.AzureNative.RecoveryServices.Inputs.DailyRetentionFormatResponse

Daily retention format for yearly retention policy.

RetentionScheduleFormatType string

Retention schedule format for yearly retention policy.

RetentionScheduleWeekly Pulumi.AzureNative.RecoveryServices.Inputs.WeeklyRetentionFormatResponse

Weekly retention format for yearly retention policy.

RetentionTimes List<string>

Retention times of retention policy.

MonthsOfYear []string

List of months of year of yearly retention policy.

RetentionDuration RetentionDurationResponse

Retention duration of retention Policy.

RetentionScheduleDaily DailyRetentionFormatResponse

Daily retention format for yearly retention policy.

RetentionScheduleFormatType string

Retention schedule format for yearly retention policy.

RetentionScheduleWeekly WeeklyRetentionFormatResponse

Weekly retention format for yearly retention policy.

RetentionTimes []string

Retention times of retention policy.

monthsOfYear List<String>

List of months of year of yearly retention policy.

retentionDuration RetentionDurationResponse

Retention duration of retention Policy.

retentionScheduleDaily DailyRetentionFormatResponse

Daily retention format for yearly retention policy.

retentionScheduleFormatType String

Retention schedule format for yearly retention policy.

retentionScheduleWeekly WeeklyRetentionFormatResponse

Weekly retention format for yearly retention policy.

retentionTimes List<String>

Retention times of retention policy.

monthsOfYear string[]

List of months of year of yearly retention policy.

retentionDuration RetentionDurationResponse

Retention duration of retention Policy.

retentionScheduleDaily DailyRetentionFormatResponse

Daily retention format for yearly retention policy.

retentionScheduleFormatType string

Retention schedule format for yearly retention policy.

retentionScheduleWeekly WeeklyRetentionFormatResponse

Weekly retention format for yearly retention policy.

retentionTimes string[]

Retention times of retention policy.

months_of_year Sequence[str]

List of months of year of yearly retention policy.

retention_duration RetentionDurationResponse

Retention duration of retention Policy.

retention_schedule_daily DailyRetentionFormatResponse

Daily retention format for yearly retention policy.

retention_schedule_format_type str

Retention schedule format for yearly retention policy.

retention_schedule_weekly WeeklyRetentionFormatResponse

Weekly retention format for yearly retention policy.

retention_times Sequence[str]

Retention times of retention policy.

monthsOfYear List<String>

List of months of year of yearly retention policy.

retentionDuration Property Map

Retention duration of retention Policy.

retentionScheduleDaily Property Map

Daily retention format for yearly retention policy.

retentionScheduleFormatType String

Retention schedule format for yearly retention policy.

retentionScheduleWeekly Property Map

Weekly retention format for yearly retention policy.

retentionTimes List<String>

Retention times of retention policy.

Package Details

Repository
Azure Native pulumi/pulumi-azure-native
License
Apache-2.0