azure-native.dataprotection.BackupPolicy
Explore with Pulumi AI
BaseBackupPolicy resource Azure REST API version: 2023-01-01. Prior API version in Azure Native 1.x: 2021-01-01.
Other available API versions: 2023-04-01-preview, 2023-05-01, 2023-06-01-preview, 2023-08-01-preview, 2023-11-01, 2023-12-01, 2024-02-01-preview, 2024-03-01, 2024-04-01.
Example Usage
CreateOrUpdate BackupPolicy
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using AzureNative = Pulumi.AzureNative;
return await Deployment.RunAsync(() =>
{
var backupPolicy = new AzureNative.DataProtection.BackupPolicy("backupPolicy", new()
{
BackupPolicyName = "OSSDBPolicy",
Properties = new AzureNative.DataProtection.Inputs.BackupPolicyArgs
{
DatasourceTypes = new[]
{
"OssDB",
},
ObjectType = "BackupPolicy",
PolicyRules =
{
new AzureNative.DataProtection.Inputs.AzureBackupRuleArgs
{
BackupParameters = new AzureNative.DataProtection.Inputs.AzureBackupParamsArgs
{
BackupType = "Full",
ObjectType = "AzureBackupParams",
},
DataStore = new AzureNative.DataProtection.Inputs.DataStoreInfoBaseArgs
{
DataStoreType = AzureNative.DataProtection.DataStoreTypes.VaultStore,
ObjectType = "DataStoreInfoBase",
},
Name = "BackupWeekly",
ObjectType = "AzureBackupRule",
Trigger = new AzureNative.DataProtection.Inputs.ScheduleBasedTriggerContextArgs
{
ObjectType = "ScheduleBasedTriggerContext",
Schedule = new AzureNative.DataProtection.Inputs.BackupScheduleArgs
{
RepeatingTimeIntervals = new[]
{
"R/2019-11-20T08:00:00-08:00/P1W",
},
},
TaggingCriteria = new[]
{
new AzureNative.DataProtection.Inputs.TaggingCriteriaArgs
{
IsDefault = true,
TagInfo = new AzureNative.DataProtection.Inputs.RetentionTagArgs
{
TagName = "Default",
},
TaggingPriority = 99,
},
new AzureNative.DataProtection.Inputs.TaggingCriteriaArgs
{
Criteria = new[]
{
new AzureNative.DataProtection.Inputs.ScheduleBasedBackupCriteriaArgs
{
DaysOfTheWeek = new[]
{
AzureNative.DataProtection.DayOfWeek.Sunday,
},
ObjectType = "ScheduleBasedBackupCriteria",
ScheduleTimes = new[]
{
"2019-03-01T13:00:00Z",
},
},
},
IsDefault = false,
TagInfo = new AzureNative.DataProtection.Inputs.RetentionTagArgs
{
TagName = "Weekly",
},
TaggingPriority = 20,
},
},
},
},
new AzureNative.DataProtection.Inputs.AzureRetentionRuleArgs
{
IsDefault = true,
Lifecycles = new[]
{
new AzureNative.DataProtection.Inputs.SourceLifeCycleArgs
{
DeleteAfter = new AzureNative.DataProtection.Inputs.AbsoluteDeleteOptionArgs
{
Duration = "P1W",
ObjectType = "AbsoluteDeleteOption",
},
SourceDataStore = new AzureNative.DataProtection.Inputs.DataStoreInfoBaseArgs
{
DataStoreType = AzureNative.DataProtection.DataStoreTypes.VaultStore,
ObjectType = "DataStoreInfoBase",
},
},
},
Name = "Default",
ObjectType = "AzureRetentionRule",
},
new AzureNative.DataProtection.Inputs.AzureRetentionRuleArgs
{
IsDefault = false,
Lifecycles = new[]
{
new AzureNative.DataProtection.Inputs.SourceLifeCycleArgs
{
DeleteAfter = new AzureNative.DataProtection.Inputs.AbsoluteDeleteOptionArgs
{
Duration = "P12W",
ObjectType = "AbsoluteDeleteOption",
},
SourceDataStore = new AzureNative.DataProtection.Inputs.DataStoreInfoBaseArgs
{
DataStoreType = AzureNative.DataProtection.DataStoreTypes.VaultStore,
ObjectType = "DataStoreInfoBase",
},
},
},
Name = "Weekly",
ObjectType = "AzureRetentionRule",
},
},
},
ResourceGroupName = "000pikumar",
VaultName = "PrivatePreviewVault",
});
});
package main
import (
dataprotection "github.com/pulumi/pulumi-azure-native-sdk/dataprotection/v2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := dataprotection.NewBackupPolicy(ctx, "backupPolicy", &dataprotection.BackupPolicyArgs{
BackupPolicyName: pulumi.String("OSSDBPolicy"),
Properties: &dataprotection.BackupPolicyTypeArgs{
DatasourceTypes: pulumi.StringArray{
pulumi.String("OssDB"),
},
ObjectType: pulumi.String("BackupPolicy"),
PolicyRules: pulumi.Array{
dataprotection.AzureBackupRule{
BackupParameters: dataprotection.AzureBackupParams{
BackupType: "Full",
ObjectType: "AzureBackupParams",
},
DataStore: dataprotection.DataStoreInfoBase{
DataStoreType: dataprotection.DataStoreTypesVaultStore,
ObjectType: "DataStoreInfoBase",
},
Name: "BackupWeekly",
ObjectType: "AzureBackupRule",
Trigger: dataprotection.ScheduleBasedTriggerContext{
ObjectType: "ScheduleBasedTriggerContext",
Schedule: dataprotection.BackupSchedule{
RepeatingTimeIntervals: []string{
"R/2019-11-20T08:00:00-08:00/P1W",
},
},
TaggingCriteria: []dataprotection.TaggingCriteria{
{
IsDefault: true,
TagInfo: {
TagName: "Default",
},
TaggingPriority: 99,
},
{
Criteria: []dataprotection.ScheduleBasedBackupCriteria{
{
DaysOfTheWeek: []dataprotection.DayOfWeek{
dataprotection.DayOfWeekSunday,
},
ObjectType: "ScheduleBasedBackupCriteria",
ScheduleTimes: []string{
"2019-03-01T13:00:00Z",
},
},
},
IsDefault: false,
TagInfo: {
TagName: "Weekly",
},
TaggingPriority: 20,
},
},
},
},
dataprotection.AzureRetentionRule{
IsDefault: true,
Lifecycles: []dataprotection.SourceLifeCycle{
{
DeleteAfter: {
Duration: "P1W",
ObjectType: "AbsoluteDeleteOption",
},
SourceDataStore: {
DataStoreType: dataprotection.DataStoreTypesVaultStore,
ObjectType: "DataStoreInfoBase",
},
},
},
Name: "Default",
ObjectType: "AzureRetentionRule",
},
dataprotection.AzureRetentionRule{
IsDefault: false,
Lifecycles: []dataprotection.SourceLifeCycle{
{
DeleteAfter: {
Duration: "P12W",
ObjectType: "AbsoluteDeleteOption",
},
SourceDataStore: {
DataStoreType: dataprotection.DataStoreTypesVaultStore,
ObjectType: "DataStoreInfoBase",
},
},
},
Name: "Weekly",
ObjectType: "AzureRetentionRule",
},
},
},
ResourceGroupName: pulumi.String("000pikumar"),
VaultName: pulumi.String("PrivatePreviewVault"),
})
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.dataprotection.BackupPolicy;
import com.pulumi.azurenative.dataprotection.BackupPolicyArgs;
import com.pulumi.azurenative.dataprotection.inputs.BackupPolicyArgs;
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 backupPolicy = new BackupPolicy("backupPolicy", BackupPolicyArgs.builder()
.backupPolicyName("OSSDBPolicy")
.properties(BackupPolicyArgs.builder()
.datasourceTypes("OssDB")
.objectType("BackupPolicy")
.policyRules(
AzureBackupRuleArgs.builder()
.backupParameters(AzureBackupParamsArgs.builder()
.backupType("Full")
.objectType("AzureBackupParams")
.build())
.dataStore(DataStoreInfoBaseArgs.builder()
.dataStoreType("VaultStore")
.objectType("DataStoreInfoBase")
.build())
.name("BackupWeekly")
.objectType("AzureBackupRule")
.trigger(ScheduleBasedTriggerContextArgs.builder()
.objectType("ScheduleBasedTriggerContext")
.schedule(BackupScheduleArgs.builder()
.repeatingTimeIntervals("R/2019-11-20T08:00:00-08:00/P1W")
.build())
.taggingCriteria(
TaggingCriteriaArgs.builder()
.isDefault(true)
.tagInfo(RetentionTagArgs.builder()
.tagName("Default")
.build())
.taggingPriority(99)
.build(),
TaggingCriteriaArgs.builder()
.criteria(ScheduleBasedBackupCriteriaArgs.builder()
.daysOfTheWeek("Sunday")
.objectType("ScheduleBasedBackupCriteria")
.scheduleTimes("2019-03-01T13:00:00Z")
.build())
.isDefault(false)
.tagInfo(RetentionTagArgs.builder()
.tagName("Weekly")
.build())
.taggingPriority(20)
.build())
.build())
.build(),
AzureRetentionRuleArgs.builder()
.isDefault(true)
.lifecycles(SourceLifeCycleArgs.builder()
.deleteAfter(AbsoluteDeleteOptionArgs.builder()
.duration("P1W")
.objectType("AbsoluteDeleteOption")
.build())
.sourceDataStore(DataStoreInfoBaseArgs.builder()
.dataStoreType("VaultStore")
.objectType("DataStoreInfoBase")
.build())
.build())
.name("Default")
.objectType("AzureRetentionRule")
.build(),
AzureRetentionRuleArgs.builder()
.isDefault(false)
.lifecycles(SourceLifeCycleArgs.builder()
.deleteAfter(AbsoluteDeleteOptionArgs.builder()
.duration("P12W")
.objectType("AbsoluteDeleteOption")
.build())
.sourceDataStore(DataStoreInfoBaseArgs.builder()
.dataStoreType("VaultStore")
.objectType("DataStoreInfoBase")
.build())
.build())
.name("Weekly")
.objectType("AzureRetentionRule")
.build())
.build())
.resourceGroupName("000pikumar")
.vaultName("PrivatePreviewVault")
.build());
}
}
import pulumi
import pulumi_azure_native as azure_native
backup_policy = azure_native.dataprotection.BackupPolicy("backupPolicy",
backup_policy_name="OSSDBPolicy",
properties={
"datasource_types": ["OssDB"],
"object_type": "BackupPolicy",
"policy_rules": [
{
"backup_parameters": {
"backup_type": "Full",
"object_type": "AzureBackupParams",
},
"data_store": {
"data_store_type": azure_native.dataprotection.DataStoreTypes.VAULT_STORE,
"object_type": "DataStoreInfoBase",
},
"name": "BackupWeekly",
"object_type": "AzureBackupRule",
"trigger": {
"object_type": "ScheduleBasedTriggerContext",
"schedule": {
"repeating_time_intervals": ["R/2019-11-20T08:00:00-08:00/P1W"],
},
"tagging_criteria": [
{
"is_default": True,
"tag_info": {
"tag_name": "Default",
},
"tagging_priority": 99,
},
{
"criteria": [{
"days_of_the_week": [azure_native.dataprotection.DayOfWeek.SUNDAY],
"object_type": "ScheduleBasedBackupCriteria",
"schedule_times": ["2019-03-01T13:00:00Z"],
}],
"is_default": False,
"tag_info": {
"tag_name": "Weekly",
},
"tagging_priority": 20,
},
],
},
},
{
"is_default": True,
"lifecycles": [{
"delete_after": {
"duration": "P1W",
"object_type": "AbsoluteDeleteOption",
},
"source_data_store": {
"data_store_type": azure_native.dataprotection.DataStoreTypes.VAULT_STORE,
"object_type": "DataStoreInfoBase",
},
}],
"name": "Default",
"object_type": "AzureRetentionRule",
},
{
"is_default": False,
"lifecycles": [{
"delete_after": {
"duration": "P12W",
"object_type": "AbsoluteDeleteOption",
},
"source_data_store": {
"data_store_type": azure_native.dataprotection.DataStoreTypes.VAULT_STORE,
"object_type": "DataStoreInfoBase",
},
}],
"name": "Weekly",
"object_type": "AzureRetentionRule",
},
],
},
resource_group_name="000pikumar",
vault_name="PrivatePreviewVault")
import * as pulumi from "@pulumi/pulumi";
import * as azure_native from "@pulumi/azure-native";
const backupPolicy = new azure_native.dataprotection.BackupPolicy("backupPolicy", {
backupPolicyName: "OSSDBPolicy",
properties: {
datasourceTypes: ["OssDB"],
objectType: "BackupPolicy",
policyRules: [
{
backupParameters: {
backupType: "Full",
objectType: "AzureBackupParams",
},
dataStore: {
dataStoreType: azure_native.dataprotection.DataStoreTypes.VaultStore,
objectType: "DataStoreInfoBase",
},
name: "BackupWeekly",
objectType: "AzureBackupRule",
trigger: {
objectType: "ScheduleBasedTriggerContext",
schedule: {
repeatingTimeIntervals: ["R/2019-11-20T08:00:00-08:00/P1W"],
},
taggingCriteria: [
{
isDefault: true,
tagInfo: {
tagName: "Default",
},
taggingPriority: 99,
},
{
criteria: [{
daysOfTheWeek: [azure_native.dataprotection.DayOfWeek.Sunday],
objectType: "ScheduleBasedBackupCriteria",
scheduleTimes: ["2019-03-01T13:00:00Z"],
}],
isDefault: false,
tagInfo: {
tagName: "Weekly",
},
taggingPriority: 20,
},
],
},
},
{
isDefault: true,
lifecycles: [{
deleteAfter: {
duration: "P1W",
objectType: "AbsoluteDeleteOption",
},
sourceDataStore: {
dataStoreType: azure_native.dataprotection.DataStoreTypes.VaultStore,
objectType: "DataStoreInfoBase",
},
}],
name: "Default",
objectType: "AzureRetentionRule",
},
{
isDefault: false,
lifecycles: [{
deleteAfter: {
duration: "P12W",
objectType: "AbsoluteDeleteOption",
},
sourceDataStore: {
dataStoreType: azure_native.dataprotection.DataStoreTypes.VaultStore,
objectType: "DataStoreInfoBase",
},
}],
name: "Weekly",
objectType: "AzureRetentionRule",
},
],
},
resourceGroupName: "000pikumar",
vaultName: "PrivatePreviewVault",
});
resources:
backupPolicy:
type: azure-native:dataprotection:BackupPolicy
properties:
backupPolicyName: OSSDBPolicy
properties:
datasourceTypes:
- OssDB
objectType: BackupPolicy
policyRules:
- backupParameters:
backupType: Full
objectType: AzureBackupParams
dataStore:
dataStoreType: VaultStore
objectType: DataStoreInfoBase
name: BackupWeekly
objectType: AzureBackupRule
trigger:
objectType: ScheduleBasedTriggerContext
schedule:
repeatingTimeIntervals:
- R/2019-11-20T08:00:00-08:00/P1W
taggingCriteria:
- isDefault: true
tagInfo:
tagName: Default
taggingPriority: 99
- criteria:
- daysOfTheWeek:
- Sunday
objectType: ScheduleBasedBackupCriteria
scheduleTimes:
- 2019-03-01T13:00:00Z
isDefault: false
tagInfo:
tagName: Weekly
taggingPriority: 20
- isDefault: true
lifecycles:
- deleteAfter:
duration: P1W
objectType: AbsoluteDeleteOption
sourceDataStore:
dataStoreType: VaultStore
objectType: DataStoreInfoBase
name: Default
objectType: AzureRetentionRule
- isDefault: false
lifecycles:
- deleteAfter:
duration: P12W
objectType: AbsoluteDeleteOption
sourceDataStore:
dataStoreType: VaultStore
objectType: DataStoreInfoBase
name: Weekly
objectType: AzureRetentionRule
resourceGroupName: 000pikumar
vaultName: PrivatePreviewVault
Create BackupPolicy Resource
Resources are created with functions called constructors. To learn more about declaring and configuring resources, see Resources.
Constructor syntax
new BackupPolicy(name: string, args: BackupPolicyArgs, opts?: CustomResourceOptions);
@overload
def BackupPolicy(resource_name: str,
args: BackupPolicyInitArgs,
opts: Optional[ResourceOptions] = None)
@overload
def BackupPolicy(resource_name: str,
opts: Optional[ResourceOptions] = None,
resource_group_name: Optional[str] = None,
vault_name: Optional[str] = None,
backup_policy_name: Optional[str] = None,
properties: Optional[BackupPolicyArgs] = None)
func NewBackupPolicy(ctx *Context, name string, args BackupPolicyArgs, opts ...ResourceOption) (*BackupPolicy, error)
public BackupPolicy(string name, BackupPolicyArgs args, CustomResourceOptions? opts = null)
public BackupPolicy(String name, BackupPolicyArgs args)
public BackupPolicy(String name, BackupPolicyArgs args, CustomResourceOptions options)
type: azure-native:dataprotection:BackupPolicy
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 BackupPolicyArgs
- 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 BackupPolicyInitArgs
- 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 BackupPolicyArgs
- The arguments to resource properties.
- opts ResourceOption
- Bag of options to control resource's behavior.
- name string
- The unique name of the resource.
- args BackupPolicyArgs
- The arguments to resource properties.
- opts CustomResourceOptions
- Bag of options to control resource's behavior.
- name String
- The unique name of the resource.
- args BackupPolicyArgs
- 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 backupPolicyResource = new AzureNative.DataProtection.BackupPolicy("backupPolicyResource", new()
{
ResourceGroupName = "string",
VaultName = "string",
BackupPolicyName = "string",
Properties = new AzureNative.DataProtection.Inputs.BackupPolicyArgs
{
DatasourceTypes = new[]
{
"string",
},
ObjectType = "BackupPolicy",
PolicyRules = new[]
{
new AzureNative.DataProtection.Inputs.AzureBackupRuleArgs
{
DataStore = new AzureNative.DataProtection.Inputs.DataStoreInfoBaseArgs
{
DataStoreType = "string",
ObjectType = "string",
},
Name = "string",
ObjectType = "AzureBackupRule",
Trigger = new AzureNative.DataProtection.Inputs.AdhocBasedTriggerContextArgs
{
ObjectType = "AdhocBasedTriggerContext",
TaggingCriteria = new AzureNative.DataProtection.Inputs.AdhocBasedTaggingCriteriaArgs
{
TagInfo = new AzureNative.DataProtection.Inputs.RetentionTagArgs
{
TagName = "string",
},
},
},
BackupParameters = new AzureNative.DataProtection.Inputs.AzureBackupParamsArgs
{
BackupType = "string",
ObjectType = "AzureBackupParams",
},
},
},
},
});
example, err := dataprotection.NewBackupPolicy(ctx, "backupPolicyResource", &dataprotection.BackupPolicyArgs{
ResourceGroupName: pulumi.String("string"),
VaultName: pulumi.String("string"),
BackupPolicyName: pulumi.String("string"),
Properties: &dataprotection.BackupPolicyTypeArgs{
DatasourceTypes: pulumi.StringArray{
pulumi.String("string"),
},
ObjectType: pulumi.String("BackupPolicy"),
PolicyRules: pulumi.Array{
dataprotection.AzureBackupRule{
DataStore: dataprotection.DataStoreInfoBase{
DataStoreType: "string",
ObjectType: "string",
},
Name: "string",
ObjectType: "AzureBackupRule",
Trigger: dataprotection.AdhocBasedTriggerContext{
ObjectType: "AdhocBasedTriggerContext",
TaggingCriteria: dataprotection.AdhocBasedTaggingCriteria{
TagInfo: dataprotection.RetentionTag{
TagName: "string",
},
},
},
BackupParameters: dataprotection.AzureBackupParams{
BackupType: "string",
ObjectType: "AzureBackupParams",
},
},
},
},
})
var backupPolicyResource = new BackupPolicy("backupPolicyResource", BackupPolicyArgs.builder()
.resourceGroupName("string")
.vaultName("string")
.backupPolicyName("string")
.properties(BackupPolicyArgs.builder()
.datasourceTypes("string")
.objectType("BackupPolicy")
.policyRules(AzureBackupRuleArgs.builder()
.dataStore(DataStoreInfoBaseArgs.builder()
.dataStoreType("string")
.objectType("string")
.build())
.name("string")
.objectType("AzureBackupRule")
.trigger(AdhocBasedTriggerContextArgs.builder()
.objectType("AdhocBasedTriggerContext")
.taggingCriteria(AdhocBasedTaggingCriteriaArgs.builder()
.tagInfo(RetentionTagArgs.builder()
.tagName("string")
.build())
.build())
.build())
.backupParameters(AzureBackupParamsArgs.builder()
.backupType("string")
.objectType("AzureBackupParams")
.build())
.build())
.build())
.build());
backup_policy_resource = azure_native.dataprotection.BackupPolicy("backupPolicyResource",
resource_group_name="string",
vault_name="string",
backup_policy_name="string",
properties={
"datasourceTypes": ["string"],
"objectType": "BackupPolicy",
"policyRules": [{
"dataStore": {
"dataStoreType": "string",
"objectType": "string",
},
"name": "string",
"objectType": "AzureBackupRule",
"trigger": {
"objectType": "AdhocBasedTriggerContext",
"taggingCriteria": {
"tagInfo": {
"tagName": "string",
},
},
},
"backupParameters": {
"backupType": "string",
"objectType": "AzureBackupParams",
},
}],
})
const backupPolicyResource = new azure_native.dataprotection.BackupPolicy("backupPolicyResource", {
resourceGroupName: "string",
vaultName: "string",
backupPolicyName: "string",
properties: {
datasourceTypes: ["string"],
objectType: "BackupPolicy",
policyRules: [{
dataStore: {
dataStoreType: "string",
objectType: "string",
},
name: "string",
objectType: "AzureBackupRule",
trigger: {
objectType: "AdhocBasedTriggerContext",
taggingCriteria: {
tagInfo: {
tagName: "string",
},
},
},
backupParameters: {
backupType: "string",
objectType: "AzureBackupParams",
},
}],
},
});
type: azure-native:dataprotection:BackupPolicy
properties:
backupPolicyName: string
properties:
datasourceTypes:
- string
objectType: BackupPolicy
policyRules:
- backupParameters:
backupType: string
objectType: AzureBackupParams
dataStore:
dataStoreType: string
objectType: string
name: string
objectType: AzureBackupRule
trigger:
objectType: AdhocBasedTriggerContext
taggingCriteria:
tagInfo:
tagName: string
resourceGroupName: string
vaultName: string
BackupPolicy Resource Properties
To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.
Inputs
The BackupPolicy resource accepts the following input properties:
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Vault
Name string - The name of the backup vault.
- Backup
Policy stringName - Name of the policy
- Properties
Pulumi.
Azure Native. Data Protection. Inputs. Backup Policy - BaseBackupPolicyResource properties
- Resource
Group stringName - The name of the resource group. The name is case insensitive.
- Vault
Name string - The name of the backup vault.
- Backup
Policy stringName - Name of the policy
- Properties
Backup
Policy Type Args - BaseBackupPolicyResource properties
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- vault
Name String - The name of the backup vault.
- backup
Policy StringName - Name of the policy
- properties
Backup
Policy - BaseBackupPolicyResource properties
- resource
Group stringName - The name of the resource group. The name is case insensitive.
- vault
Name string - The name of the backup vault.
- backup
Policy stringName - Name of the policy
- properties
Backup
Policy - BaseBackupPolicyResource properties
- resource_
group_ strname - The name of the resource group. The name is case insensitive.
- vault_
name str - The name of the backup vault.
- backup_
policy_ strname - Name of the policy
- properties
Backup
Policy Args - BaseBackupPolicyResource properties
- resource
Group StringName - The name of the resource group. The name is case insensitive.
- vault
Name String - The name of the backup vault.
- backup
Policy StringName - Name of the policy
- properties Property Map
- BaseBackupPolicyResource properties
Outputs
All input properties are implicitly available as output properties. Additionally, the BackupPolicy resource produces the following output properties:
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Resource name associated with the resource.
- System
Data Pulumi.Azure Native. Data Protection. Outputs. System Data Response - Metadata pertaining to creation and last modification of the resource.
- Type string
- Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...
- Id string
- The provider-assigned unique ID for this managed resource.
- Name string
- Resource name associated with the resource.
- System
Data SystemData Response - Metadata pertaining to creation and last modification of the resource.
- Type string
- Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Resource name associated with the resource.
- system
Data SystemData Response - Metadata pertaining to creation and last modification of the resource.
- type String
- Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...
- id string
- The provider-assigned unique ID for this managed resource.
- name string
- Resource name associated with the resource.
- system
Data SystemData Response - Metadata pertaining to creation and last modification of the resource.
- type string
- Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...
- id str
- The provider-assigned unique ID for this managed resource.
- name str
- Resource name associated with the resource.
- system_
data SystemData Response - Metadata pertaining to creation and last modification of the resource.
- type str
- Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...
- id String
- The provider-assigned unique ID for this managed resource.
- name String
- Resource name associated with the resource.
- system
Data Property Map - Metadata pertaining to creation and last modification of the resource.
- type String
- Resource type represents the complete path of the form Namespace/ResourceType/ResourceType/...
Supporting Types
AbsoluteDeleteOption, AbsoluteDeleteOptionArgs
- Duration string
- Duration of deletion after given timespan
- Duration string
- Duration of deletion after given timespan
- duration String
- Duration of deletion after given timespan
- duration string
- Duration of deletion after given timespan
- duration str
- Duration of deletion after given timespan
- duration String
- Duration of deletion after given timespan
AbsoluteDeleteOptionResponse, AbsoluteDeleteOptionResponseArgs
- Duration string
- Duration of deletion after given timespan
- Duration string
- Duration of deletion after given timespan
- duration String
- Duration of deletion after given timespan
- duration string
- Duration of deletion after given timespan
- duration str
- Duration of deletion after given timespan
- duration String
- Duration of deletion after given timespan
AbsoluteMarker, AbsoluteMarkerArgs
- All
Backup - AllBackup
- First
Of Day - FirstOfDay
- First
Of Month - FirstOfMonth
- First
Of Week - FirstOfWeek
- First
Of Year - FirstOfYear
- Absolute
Marker All Backup - AllBackup
- Absolute
Marker First Of Day - FirstOfDay
- Absolute
Marker First Of Month - FirstOfMonth
- Absolute
Marker First Of Week - FirstOfWeek
- Absolute
Marker First Of Year - FirstOfYear
- All
Backup - AllBackup
- First
Of Day - FirstOfDay
- First
Of Month - FirstOfMonth
- First
Of Week - FirstOfWeek
- First
Of Year - FirstOfYear
- All
Backup - AllBackup
- First
Of Day - FirstOfDay
- First
Of Month - FirstOfMonth
- First
Of Week - FirstOfWeek
- First
Of Year - FirstOfYear
- ALL_BACKUP
- AllBackup
- FIRST_OF_DAY
- FirstOfDay
- FIRST_OF_MONTH
- FirstOfMonth
- FIRST_OF_WEEK
- FirstOfWeek
- FIRST_OF_YEAR
- FirstOfYear
- "All
Backup" - AllBackup
- "First
Of Day" - FirstOfDay
- "First
Of Month" - FirstOfMonth
- "First
Of Week" - FirstOfWeek
- "First
Of Year" - FirstOfYear
AdhocBasedTaggingCriteria, AdhocBasedTaggingCriteriaArgs
- Tag
Info Pulumi.Azure Native. Data Protection. Inputs. Retention Tag - Retention tag information
- Tag
Info RetentionTag - Retention tag information
- tag
Info RetentionTag - Retention tag information
- tag
Info RetentionTag - Retention tag information
- tag_
info RetentionTag - Retention tag information
- tag
Info Property Map - Retention tag information
AdhocBasedTaggingCriteriaResponse, AdhocBasedTaggingCriteriaResponseArgs
- Tag
Info Pulumi.Azure Native. Data Protection. Inputs. Retention Tag Response - Retention tag information
- Tag
Info RetentionTag Response - Retention tag information
- tag
Info RetentionTag Response - Retention tag information
- tag
Info RetentionTag Response - Retention tag information
- tag_
info RetentionTag Response - Retention tag information
- tag
Info Property Map - Retention tag information
AdhocBasedTriggerContext, AdhocBasedTriggerContextArgs
- Tagging
Criteria Pulumi.Azure Native. Data Protection. Inputs. Adhoc Based Tagging Criteria - Tagging Criteria containing retention tag for adhoc backup.
- Tagging
Criteria AdhocBased Tagging Criteria - Tagging Criteria containing retention tag for adhoc backup.
- tagging
Criteria AdhocBased Tagging Criteria - Tagging Criteria containing retention tag for adhoc backup.
- tagging
Criteria AdhocBased Tagging Criteria - Tagging Criteria containing retention tag for adhoc backup.
- tagging_
criteria AdhocBased Tagging Criteria - Tagging Criteria containing retention tag for adhoc backup.
- tagging
Criteria Property Map - Tagging Criteria containing retention tag for adhoc backup.
AdhocBasedTriggerContextResponse, AdhocBasedTriggerContextResponseArgs
- Tagging
Criteria Pulumi.Azure Native. Data Protection. Inputs. Adhoc Based Tagging Criteria Response - Tagging Criteria containing retention tag for adhoc backup.
- Tagging
Criteria AdhocBased Tagging Criteria Response - Tagging Criteria containing retention tag for adhoc backup.
- tagging
Criteria AdhocBased Tagging Criteria Response - Tagging Criteria containing retention tag for adhoc backup.
- tagging
Criteria AdhocBased Tagging Criteria Response - Tagging Criteria containing retention tag for adhoc backup.
- tagging_
criteria AdhocBased Tagging Criteria Response - Tagging Criteria containing retention tag for adhoc backup.
- tagging
Criteria Property Map - Tagging Criteria containing retention tag for adhoc backup.
AzureBackupParams, AzureBackupParamsArgs
- Backup
Type string - BackupType ; Full/Incremental etc
- Backup
Type string - BackupType ; Full/Incremental etc
- backup
Type String - BackupType ; Full/Incremental etc
- backup
Type string - BackupType ; Full/Incremental etc
- backup_
type str - BackupType ; Full/Incremental etc
- backup
Type String - BackupType ; Full/Incremental etc
AzureBackupParamsResponse, AzureBackupParamsResponseArgs
- Backup
Type string - BackupType ; Full/Incremental etc
- Backup
Type string - BackupType ; Full/Incremental etc
- backup
Type String - BackupType ; Full/Incremental etc
- backup
Type string - BackupType ; Full/Incremental etc
- backup_
type str - BackupType ; Full/Incremental etc
- backup
Type String - BackupType ; Full/Incremental etc
AzureBackupRule, AzureBackupRuleArgs
- Data
Store Pulumi.Azure Native. Data Protection. Inputs. Data Store Info Base - DataStoreInfo base
- Name string
- Trigger
Pulumi.
Azure | Pulumi.Native. Data Protection. Inputs. Adhoc Based Trigger Context Azure Native. Data Protection. Inputs. Schedule Based Trigger Context - Trigger context
- Backup
Parameters Pulumi.Azure Native. Data Protection. Inputs. Azure Backup Params - BackupParameters base
- Data
Store DataStore Info Base - DataStoreInfo base
- Name string
- Trigger
Adhoc
Based | ScheduleTrigger Context Based Trigger Context - Trigger context
- Backup
Parameters AzureBackup Params - BackupParameters base
- data
Store DataStore Info Base - DataStoreInfo base
- name String
- trigger
Adhoc
Based | ScheduleTrigger Context Based Trigger Context - Trigger context
- backup
Parameters AzureBackup Params - BackupParameters base
- data
Store DataStore Info Base - DataStoreInfo base
- name string
- trigger
Adhoc
Based | ScheduleTrigger Context Based Trigger Context - Trigger context
- backup
Parameters AzureBackup Params - BackupParameters base
- data_
store DataStore Info Base - DataStoreInfo base
- name str
- trigger
Adhoc
Based | ScheduleTrigger Context Based Trigger Context - Trigger context
- backup_
parameters AzureBackup Params - BackupParameters base
- data
Store Property Map - DataStoreInfo base
- name String
- trigger Property Map | Property Map
- Trigger context
- backup
Parameters Property Map - BackupParameters base
AzureBackupRuleResponse, AzureBackupRuleResponseArgs
- Data
Store Pulumi.Azure Native. Data Protection. Inputs. Data Store Info Base Response - DataStoreInfo base
- Name string
- Trigger
Pulumi.
Azure | Pulumi.Native. Data Protection. Inputs. Adhoc Based Trigger Context Response Azure Native. Data Protection. Inputs. Schedule Based Trigger Context Response - Trigger context
- Backup
Parameters Pulumi.Azure Native. Data Protection. Inputs. Azure Backup Params Response - BackupParameters base
- Data
Store DataStore Info Base Response - DataStoreInfo base
- Name string
- Trigger
Adhoc
Based | ScheduleTrigger Context Response Based Trigger Context Response - Trigger context
- Backup
Parameters AzureBackup Params Response - BackupParameters base
- data
Store DataStore Info Base Response - DataStoreInfo base
- name String
- trigger
Adhoc
Based | ScheduleTrigger Context Response Based Trigger Context Response - Trigger context
- backup
Parameters AzureBackup Params Response - BackupParameters base
- data
Store DataStore Info Base Response - DataStoreInfo base
- name string
- trigger
Adhoc
Based | ScheduleTrigger Context Response Based Trigger Context Response - Trigger context
- backup
Parameters AzureBackup Params Response - BackupParameters base
- data_
store DataStore Info Base Response - DataStoreInfo base
- name str
- trigger
Adhoc
Based | ScheduleTrigger Context Response Based Trigger Context Response - Trigger context
- backup_
parameters AzureBackup Params Response - BackupParameters base
- data
Store Property Map - DataStoreInfo base
- name String
- trigger Property Map | Property Map
- Trigger context
- backup
Parameters Property Map - BackupParameters base
AzureRetentionRule, AzureRetentionRuleArgs
- Lifecycles
[]Source
Life Cycle - Name string
- Is
Default bool
- lifecycles
List<Source
Life Cycle> - name String
- is
Default Boolean
- lifecycles
Source
Life Cycle[] - name string
- is
Default boolean
- lifecycles List<Property Map>
- name String
- is
Default Boolean
AzureRetentionRuleResponse, AzureRetentionRuleResponseArgs
- Lifecycles
[]Source
Life Cycle Response - Name string
- Is
Default bool
- lifecycles
List<Source
Life Cycle Response> - name String
- is
Default Boolean
- lifecycles
Source
Life Cycle Response[] - name string
- is
Default boolean
- lifecycles List<Property Map>
- name String
- is
Default Boolean
BackupPolicy, BackupPolicyArgs
- Datasource
Types List<string> - Type of datasource for the backup management
- Policy
Rules List<Union<Pulumi.Azure Native. Data Protection. Inputs. Azure Backup Rule, Pulumi. Azure Native. Data Protection. Inputs. Azure Retention Rule>> - Policy rule dictionary that contains rules for each backuptype i.e Full/Incremental/Logs etc
- Datasource
Types []string - Type of datasource for the backup management
- Policy
Rules []interface{} - Policy rule dictionary that contains rules for each backuptype i.e Full/Incremental/Logs etc
- datasource
Types List<String> - Type of datasource for the backup management
- policy
Rules List<Either<AzureBackup Rule,Azure Retention Rule>> - Policy rule dictionary that contains rules for each backuptype i.e Full/Incremental/Logs etc
- datasource
Types string[] - Type of datasource for the backup management
- policy
Rules (AzureBackup Rule | Azure Retention Rule)[] - Policy rule dictionary that contains rules for each backuptype i.e Full/Incremental/Logs etc
- datasource_
types Sequence[str] - Type of datasource for the backup management
- policy_
rules Sequence[Union[AzureBackup Rule, Azure Retention Rule]] - Policy rule dictionary that contains rules for each backuptype i.e Full/Incremental/Logs etc
- datasource
Types List<String> - Type of datasource for the backup management
- policy
Rules List<Property Map | Property Map> - Policy rule dictionary that contains rules for each backuptype i.e Full/Incremental/Logs etc
BackupPolicyResponse, BackupPolicyResponseArgs
- Datasource
Types List<string> - Type of datasource for the backup management
- Policy
Rules List<Union<Pulumi.Azure Native. Data Protection. Inputs. Azure Backup Rule Response, Pulumi. Azure Native. Data Protection. Inputs. Azure Retention Rule Response>> - Policy rule dictionary that contains rules for each backuptype i.e Full/Incremental/Logs etc
- Datasource
Types []string - Type of datasource for the backup management
- Policy
Rules []interface{} - Policy rule dictionary that contains rules for each backuptype i.e Full/Incremental/Logs etc
- datasource
Types List<String> - Type of datasource for the backup management
- policy
Rules List<Either<AzureBackup Rule Response,Azure Retention Rule Response>> - Policy rule dictionary that contains rules for each backuptype i.e Full/Incremental/Logs etc
- datasource
Types string[] - Type of datasource for the backup management
- policy
Rules (AzureBackup Rule Response | Azure Retention Rule Response)[] - Policy rule dictionary that contains rules for each backuptype i.e Full/Incremental/Logs etc
- datasource_
types Sequence[str] - Type of datasource for the backup management
- policy_
rules Sequence[Union[AzureBackup Rule Response, Azure Retention Rule Response]] - Policy rule dictionary that contains rules for each backuptype i.e Full/Incremental/Logs etc
- datasource
Types List<String> - Type of datasource for the backup management
- policy
Rules List<Property Map | Property Map> - Policy rule dictionary that contains rules for each backuptype i.e Full/Incremental/Logs etc
BackupSchedule, BackupScheduleArgs
- Repeating
Time List<string>Intervals - ISO 8601 repeating time interval format
- Time
Zone string - Time zone for a schedule. Example: Pacific Standard Time
- Repeating
Time []stringIntervals - ISO 8601 repeating time interval format
- Time
Zone string - Time zone for a schedule. Example: Pacific Standard Time
- repeating
Time List<String>Intervals - ISO 8601 repeating time interval format
- time
Zone String - Time zone for a schedule. Example: Pacific Standard Time
- repeating
Time string[]Intervals - ISO 8601 repeating time interval format
- time
Zone string - Time zone for a schedule. Example: Pacific Standard Time
- repeating_
time_ Sequence[str]intervals - ISO 8601 repeating time interval format
- time_
zone str - Time zone for a schedule. Example: Pacific Standard Time
- repeating
Time List<String>Intervals - ISO 8601 repeating time interval format
- time
Zone String - Time zone for a schedule. Example: Pacific Standard Time
BackupScheduleResponse, BackupScheduleResponseArgs
- Repeating
Time List<string>Intervals - ISO 8601 repeating time interval format
- Time
Zone string - Time zone for a schedule. Example: Pacific Standard Time
- Repeating
Time []stringIntervals - ISO 8601 repeating time interval format
- Time
Zone string - Time zone for a schedule. Example: Pacific Standard Time
- repeating
Time List<String>Intervals - ISO 8601 repeating time interval format
- time
Zone String - Time zone for a schedule. Example: Pacific Standard Time
- repeating
Time string[]Intervals - ISO 8601 repeating time interval format
- time
Zone string - Time zone for a schedule. Example: Pacific Standard Time
- repeating_
time_ Sequence[str]intervals - ISO 8601 repeating time interval format
- time_
zone str - Time zone for a schedule. Example: Pacific Standard Time
- repeating
Time List<String>Intervals - ISO 8601 repeating time interval format
- time
Zone String - Time zone for a schedule. Example: Pacific Standard Time
CopyOnExpiryOption, CopyOnExpiryOptionArgs
CopyOnExpiryOptionResponse, CopyOnExpiryOptionResponseArgs
CustomCopyOption, CustomCopyOptionArgs
- Duration string
- Data copied after given timespan
- Duration string
- Data copied after given timespan
- duration String
- Data copied after given timespan
- duration string
- Data copied after given timespan
- duration str
- Data copied after given timespan
- duration String
- Data copied after given timespan
CustomCopyOptionResponse, CustomCopyOptionResponseArgs
- Duration string
- Data copied after given timespan
- Duration string
- Data copied after given timespan
- duration String
- Data copied after given timespan
- duration string
- Data copied after given timespan
- duration str
- Data copied after given timespan
- duration String
- Data copied after given timespan
DataStoreInfoBase, DataStoreInfoBaseArgs
- Data
Store string | Pulumi.Type Azure Native. Data Protection. Data Store Types - type of datastore; Operational/Vault/Archive
- Object
Type string - Type of Datasource object, used to initialize the right inherited type
- Data
Store string | DataType Store Types - type of datastore; Operational/Vault/Archive
- Object
Type string - Type of Datasource object, used to initialize the right inherited type
- data
Store String | DataType Store Types - type of datastore; Operational/Vault/Archive
- object
Type String - Type of Datasource object, used to initialize the right inherited type
- data
Store string | DataType Store Types - type of datastore; Operational/Vault/Archive
- object
Type string - Type of Datasource object, used to initialize the right inherited type
- data_
store_ str | Datatype Store Types - type of datastore; Operational/Vault/Archive
- object_
type str - Type of Datasource object, used to initialize the right inherited type
- data
Store String | "OperationalType Store" | "Vault Store" | "Archive Store" - type of datastore; Operational/Vault/Archive
- object
Type String - Type of Datasource object, used to initialize the right inherited type
DataStoreInfoBaseResponse, DataStoreInfoBaseResponseArgs
- Data
Store stringType - type of datastore; Operational/Vault/Archive
- Object
Type string - Type of Datasource object, used to initialize the right inherited type
- Data
Store stringType - type of datastore; Operational/Vault/Archive
- Object
Type string - Type of Datasource object, used to initialize the right inherited type
- data
Store StringType - type of datastore; Operational/Vault/Archive
- object
Type String - Type of Datasource object, used to initialize the right inherited type
- data
Store stringType - type of datastore; Operational/Vault/Archive
- object
Type string - Type of Datasource object, used to initialize the right inherited type
- data_
store_ strtype - type of datastore; Operational/Vault/Archive
- object_
type str - Type of Datasource object, used to initialize the right inherited type
- data
Store StringType - type of datastore; Operational/Vault/Archive
- object
Type String - Type of Datasource object, used to initialize the right inherited type
DataStoreTypes, DataStoreTypesArgs
- Operational
Store - OperationalStore
- Vault
Store - VaultStore
- Archive
Store - ArchiveStore
- Data
Store Types Operational Store - OperationalStore
- Data
Store Types Vault Store - VaultStore
- Data
Store Types Archive Store - ArchiveStore
- Operational
Store - OperationalStore
- Vault
Store - VaultStore
- Archive
Store - ArchiveStore
- Operational
Store - OperationalStore
- Vault
Store - VaultStore
- Archive
Store - ArchiveStore
- OPERATIONAL_STORE
- OperationalStore
- VAULT_STORE
- VaultStore
- ARCHIVE_STORE
- ArchiveStore
- "Operational
Store" - OperationalStore
- "Vault
Store" - VaultStore
- "Archive
Store" - ArchiveStore
Day, DayArgs
DayOfWeek, DayOfWeekArgs
- Friday
- Friday
- Monday
- Monday
- Saturday
- Saturday
- Sunday
- Sunday
- Thursday
- Thursday
- Tuesday
- Tuesday
- Wednesday
- Wednesday
- Day
Of Week Friday - Friday
- Day
Of Week Monday - Monday
- Day
Of Week Saturday - Saturday
- Day
Of Week Sunday - Sunday
- Day
Of Week Thursday - Thursday
- Day
Of Week Tuesday - Tuesday
- Day
Of Week Wednesday - Wednesday
- Friday
- Friday
- Monday
- Monday
- Saturday
- Saturday
- Sunday
- Sunday
- Thursday
- Thursday
- Tuesday
- Tuesday
- Wednesday
- Wednesday
- Friday
- Friday
- Monday
- Monday
- Saturday
- Saturday
- Sunday
- Sunday
- Thursday
- Thursday
- Tuesday
- Tuesday
- Wednesday
- Wednesday
- FRIDAY
- Friday
- MONDAY
- Monday
- SATURDAY
- Saturday
- SUNDAY
- Sunday
- THURSDAY
- Thursday
- TUESDAY
- Tuesday
- WEDNESDAY
- Wednesday
- "Friday"
- Friday
- "Monday"
- Monday
- "Saturday"
- Saturday
- "Sunday"
- Sunday
- "Thursday"
- Thursday
- "Tuesday"
- Tuesday
- "Wednesday"
- Wednesday
DayResponse, DayResponseArgs
ImmediateCopyOption, ImmediateCopyOptionArgs
ImmediateCopyOptionResponse, ImmediateCopyOptionResponseArgs
Month, MonthArgs
- April
- April
- August
- August
- December
- December
- February
- February
- January
- January
- July
- July
- June
- June
- March
- March
- May
- May
- November
- November
- October
- October
- September
- September
- Month
April - April
- Month
August - August
- Month
December - December
- Month
February - February
- Month
January - January
- Month
July - July
- Month
June - June
- Month
March - March
- Month
May - May
- Month
November - November
- Month
October - October
- Month
September - September
- April
- April
- August
- August
- December
- December
- February
- February
- January
- January
- July
- July
- June
- June
- March
- March
- May
- May
- November
- November
- October
- October
- September
- September
- April
- April
- August
- August
- December
- December
- February
- February
- January
- January
- July
- July
- June
- June
- March
- March
- May
- May
- November
- November
- October
- October
- September
- September
- APRIL
- April
- AUGUST
- August
- DECEMBER
- December
- FEBRUARY
- February
- JANUARY
- January
- JULY
- July
- JUNE
- June
- MARCH
- March
- MAY
- May
- NOVEMBER
- November
- OCTOBER
- October
- SEPTEMBER
- September
- "April"
- April
- "August"
- August
- "December"
- December
- "February"
- February
- "January"
- January
- "July"
- July
- "June"
- June
- "March"
- March
- "May"
- May
- "November"
- November
- "October"
- October
- "September"
- September
RetentionTag, RetentionTagArgs
- Tag
Name string - Retention Tag Name to relate it to retention rule.
- Tag
Name string - Retention Tag Name to relate it to retention rule.
- tag
Name String - Retention Tag Name to relate it to retention rule.
- tag
Name string - Retention Tag Name to relate it to retention rule.
- tag_
name str - Retention Tag Name to relate it to retention rule.
- tag
Name String - Retention Tag Name to relate it to retention rule.
RetentionTagResponse, RetentionTagResponseArgs
ScheduleBasedBackupCriteria, ScheduleBasedBackupCriteriaArgs
- Absolute
Criteria List<Union<string, Pulumi.Azure Native. Data Protection. Absolute Marker>> - it contains absolute values like "AllBackup" / "FirstOfDay" / "FirstOfWeek" / "FirstOfMonth" and should be part of AbsoluteMarker enum
- Days
Of List<Pulumi.Month Azure Native. Data Protection. Inputs. Day> - This is day of the month from 1 to 28 other wise last of month
- Days
Of List<Union<string, Pulumi.The Week Azure Native. Data Protection. Day Of Week>> - It should be Sunday/Monday/T..../Saturday
- Months
Of List<Union<string, Pulumi.Year Azure Native. Data Protection. Month>> - It should be January/February/....../December
- Schedule
Times List<string> - List of schedule times for backup
- Weeks
Of List<Union<string, Pulumi.The Month Azure Native. Data Protection. Week Number>> - It should be First/Second/Third/Fourth/Last
- Absolute
Criteria []string - it contains absolute values like "AllBackup" / "FirstOfDay" / "FirstOfWeek" / "FirstOfMonth" and should be part of AbsoluteMarker enum
- Days
Of []DayMonth - This is day of the month from 1 to 28 other wise last of month
- Days
Of []stringThe Week - It should be Sunday/Monday/T..../Saturday
- Months
Of []stringYear - It should be January/February/....../December
- Schedule
Times []string - List of schedule times for backup
- Weeks
Of []stringThe Month - It should be First/Second/Third/Fourth/Last
- absolute
Criteria List<Either<String,AbsoluteMarker>> - it contains absolute values like "AllBackup" / "FirstOfDay" / "FirstOfWeek" / "FirstOfMonth" and should be part of AbsoluteMarker enum
- days
Of List<Day>Month - This is day of the month from 1 to 28 other wise last of month
- days
Of List<Either<String,DayThe Week Of Week>> - It should be Sunday/Monday/T..../Saturday
- months
Of List<Either<String,Month>>Year - It should be January/February/....../December
- schedule
Times List<String> - List of schedule times for backup
- weeks
Of List<Either<String,WeekThe Month Number>> - It should be First/Second/Third/Fourth/Last
- absolute
Criteria (string | AbsoluteMarker)[] - it contains absolute values like "AllBackup" / "FirstOfDay" / "FirstOfWeek" / "FirstOfMonth" and should be part of AbsoluteMarker enum
- days
Of Day[]Month - This is day of the month from 1 to 28 other wise last of month
- days
Of (string | DayThe Week Of Week)[] - It should be Sunday/Monday/T..../Saturday
- months
Of (string | Month)[]Year - It should be January/February/....../December
- schedule
Times string[] - List of schedule times for backup
- weeks
Of (string | WeekThe Month Number)[] - It should be First/Second/Third/Fourth/Last
- absolute_
criteria Sequence[Union[str, AbsoluteMarker]] - it contains absolute values like "AllBackup" / "FirstOfDay" / "FirstOfWeek" / "FirstOfMonth" and should be part of AbsoluteMarker enum
- days_
of_ Sequence[Day]month - This is day of the month from 1 to 28 other wise last of month
- days_
of_ Sequence[Union[str, Daythe_ week Of Week]] - It should be Sunday/Monday/T..../Saturday
- months_
of_ Sequence[Union[str, Month]]year - It should be January/February/....../December
- schedule_
times Sequence[str] - List of schedule times for backup
- weeks_
of_ Sequence[Union[str, Weekthe_ month Number]] - It should be First/Second/Third/Fourth/Last
- absolute
Criteria List<String | "AllBackup" | "First Of Day" | "First Of Month" | "First Of Week" | "First Of Year"> - it contains absolute values like "AllBackup" / "FirstOfDay" / "FirstOfWeek" / "FirstOfMonth" and should be part of AbsoluteMarker enum
- days
Of List<Property Map>Month - This is day of the month from 1 to 28 other wise last of month
- days
Of List<String | "Friday" | "Monday" | "Saturday" | "Sunday" | "Thursday" | "Tuesday" | "Wednesday">The Week - It should be Sunday/Monday/T..../Saturday
- months
Of List<String | "April" | "August" | "December" | "February" | "January" | "July" | "June" | "March" | "May" | "November" | "October" | "September">Year - It should be January/February/....../December
- schedule
Times List<String> - List of schedule times for backup
- weeks
Of List<String | "First" | "Fourth" | "Last" | "Second" | "Third">The Month - It should be First/Second/Third/Fourth/Last
ScheduleBasedBackupCriteriaResponse, ScheduleBasedBackupCriteriaResponseArgs
- Absolute
Criteria List<string> - it contains absolute values like "AllBackup" / "FirstOfDay" / "FirstOfWeek" / "FirstOfMonth" and should be part of AbsoluteMarker enum
- Days
Of List<Pulumi.Month Azure Native. Data Protection. Inputs. Day Response> - This is day of the month from 1 to 28 other wise last of month
- Days
Of List<string>The Week - It should be Sunday/Monday/T..../Saturday
- Months
Of List<string>Year - It should be January/February/....../December
- Schedule
Times List<string> - List of schedule times for backup
- Weeks
Of List<string>The Month - It should be First/Second/Third/Fourth/Last
- Absolute
Criteria []string - it contains absolute values like "AllBackup" / "FirstOfDay" / "FirstOfWeek" / "FirstOfMonth" and should be part of AbsoluteMarker enum
- Days
Of []DayMonth Response - This is day of the month from 1 to 28 other wise last of month
- Days
Of []stringThe Week - It should be Sunday/Monday/T..../Saturday
- Months
Of []stringYear - It should be January/February/....../December
- Schedule
Times []string - List of schedule times for backup
- Weeks
Of []stringThe Month - It should be First/Second/Third/Fourth/Last
- absolute
Criteria List<String> - it contains absolute values like "AllBackup" / "FirstOfDay" / "FirstOfWeek" / "FirstOfMonth" and should be part of AbsoluteMarker enum
- days
Of List<DayMonth Response> - This is day of the month from 1 to 28 other wise last of month
- days
Of List<String>The Week - It should be Sunday/Monday/T..../Saturday
- months
Of List<String>Year - It should be January/February/....../December
- schedule
Times List<String> - List of schedule times for backup
- weeks
Of List<String>The Month - It should be First/Second/Third/Fourth/Last
- absolute
Criteria string[] - it contains absolute values like "AllBackup" / "FirstOfDay" / "FirstOfWeek" / "FirstOfMonth" and should be part of AbsoluteMarker enum
- days
Of DayMonth Response[] - This is day of the month from 1 to 28 other wise last of month
- days
Of string[]The Week - It should be Sunday/Monday/T..../Saturday
- months
Of string[]Year - It should be January/February/....../December
- schedule
Times string[] - List of schedule times for backup
- weeks
Of string[]The Month - It should be First/Second/Third/Fourth/Last
- absolute_
criteria Sequence[str] - it contains absolute values like "AllBackup" / "FirstOfDay" / "FirstOfWeek" / "FirstOfMonth" and should be part of AbsoluteMarker enum
- days_
of_ Sequence[Daymonth Response] - This is day of the month from 1 to 28 other wise last of month
- days_
of_ Sequence[str]the_ week - It should be Sunday/Monday/T..../Saturday
- months_
of_ Sequence[str]year - It should be January/February/....../December
- schedule_
times Sequence[str] - List of schedule times for backup
- weeks_
of_ Sequence[str]the_ month - It should be First/Second/Third/Fourth/Last
- absolute
Criteria List<String> - it contains absolute values like "AllBackup" / "FirstOfDay" / "FirstOfWeek" / "FirstOfMonth" and should be part of AbsoluteMarker enum
- days
Of List<Property Map>Month - This is day of the month from 1 to 28 other wise last of month
- days
Of List<String>The Week - It should be Sunday/Monday/T..../Saturday
- months
Of List<String>Year - It should be January/February/....../December
- schedule
Times List<String> - List of schedule times for backup
- weeks
Of List<String>The Month - It should be First/Second/Third/Fourth/Last
ScheduleBasedTriggerContext, ScheduleBasedTriggerContextArgs
- Schedule
Pulumi.
Azure Native. Data Protection. Inputs. Backup Schedule - Schedule for this backup
- Tagging
Criteria List<Pulumi.Azure Native. Data Protection. Inputs. Tagging Criteria> - List of tags that can be applicable for given schedule.
- Schedule
Backup
Schedule - Schedule for this backup
- Tagging
Criteria []TaggingCriteria - List of tags that can be applicable for given schedule.
- schedule
Backup
Schedule - Schedule for this backup
- tagging
Criteria List<TaggingCriteria> - List of tags that can be applicable for given schedule.
- schedule
Backup
Schedule - Schedule for this backup
- tagging
Criteria TaggingCriteria[] - List of tags that can be applicable for given schedule.
- schedule
Backup
Schedule - Schedule for this backup
- tagging_
criteria Sequence[TaggingCriteria] - List of tags that can be applicable for given schedule.
- schedule Property Map
- Schedule for this backup
- tagging
Criteria List<Property Map> - List of tags that can be applicable for given schedule.
ScheduleBasedTriggerContextResponse, ScheduleBasedTriggerContextResponseArgs
- Schedule
Pulumi.
Azure Native. Data Protection. Inputs. Backup Schedule Response - Schedule for this backup
- Tagging
Criteria List<Pulumi.Azure Native. Data Protection. Inputs. Tagging Criteria Response> - List of tags that can be applicable for given schedule.
- Schedule
Backup
Schedule Response - Schedule for this backup
- Tagging
Criteria []TaggingCriteria Response - List of tags that can be applicable for given schedule.
- schedule
Backup
Schedule Response - Schedule for this backup
- tagging
Criteria List<TaggingCriteria Response> - List of tags that can be applicable for given schedule.
- schedule
Backup
Schedule Response - Schedule for this backup
- tagging
Criteria TaggingCriteria Response[] - List of tags that can be applicable for given schedule.
- schedule
Backup
Schedule Response - Schedule for this backup
- tagging_
criteria Sequence[TaggingCriteria Response] - List of tags that can be applicable for given schedule.
- schedule Property Map
- Schedule for this backup
- tagging
Criteria List<Property Map> - List of tags that can be applicable for given schedule.
SourceLifeCycle, SourceLifeCycleArgs
- Delete
After AbsoluteDelete Option - Delete Option
- Source
Data DataStore Store Info Base - DataStoreInfo base
- Target
Data []TargetStore Copy Settings Copy Setting
- delete
After AbsoluteDelete Option - Delete Option
- source
Data DataStore Store Info Base - DataStoreInfo base
- target
Data List<TargetStore Copy Settings Copy Setting>
- delete
After AbsoluteDelete Option - Delete Option
- source
Data DataStore Store Info Base - DataStoreInfo base
- target
Data TargetStore Copy Settings Copy Setting[]
- delete_
after AbsoluteDelete Option - Delete Option
- source_
data_ Datastore Store Info Base - DataStoreInfo base
- target_
data_ Sequence[Targetstore_ copy_ settings Copy Setting]
- delete
After Property Map - Delete Option
- source
Data Property MapStore - DataStoreInfo base
- target
Data List<Property Map>Store Copy Settings
SourceLifeCycleResponse, SourceLifeCycleResponseArgs
- Delete
After AbsoluteDelete Option Response - Delete Option
- Source
Data DataStore Store Info Base Response - DataStoreInfo base
- Target
Data []TargetStore Copy Settings Copy Setting Response
- delete
After AbsoluteDelete Option Response - Delete Option
- source
Data DataStore Store Info Base Response - DataStoreInfo base
- target
Data TargetStore Copy Settings Copy Setting Response[]
- delete
After Property Map - Delete Option
- source
Data Property MapStore - DataStoreInfo base
- target
Data List<Property Map>Store Copy Settings
SystemDataResponse, SystemDataResponseArgs
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- Created
At string - The timestamp of resource creation (UTC).
- Created
By string - The identity that created the resource.
- Created
By stringType - The type of identity that created the resource.
- Last
Modified stringAt - The timestamp of resource last modification (UTC)
- Last
Modified stringBy - The identity that last modified the resource.
- Last
Modified stringBy Type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
- created
At string - The timestamp of resource creation (UTC).
- created
By string - The identity that created the resource.
- created
By stringType - The type of identity that created the resource.
- last
Modified stringAt - The timestamp of resource last modification (UTC)
- last
Modified stringBy - The identity that last modified the resource.
- last
Modified stringBy Type - The type of identity that last modified the resource.
- created_
at str - The timestamp of resource creation (UTC).
- created_
by str - The identity that created the resource.
- created_
by_ strtype - The type of identity that created the resource.
- last_
modified_ strat - The timestamp of resource last modification (UTC)
- last_
modified_ strby - The identity that last modified the resource.
- last_
modified_ strby_ type - The type of identity that last modified the resource.
- created
At String - The timestamp of resource creation (UTC).
- created
By String - The identity that created the resource.
- created
By StringType - The type of identity that created the resource.
- last
Modified StringAt - The timestamp of resource last modification (UTC)
- last
Modified StringBy - The identity that last modified the resource.
- last
Modified StringBy Type - The type of identity that last modified the resource.
TaggingCriteria, TaggingCriteriaArgs
- Is
Default bool - Specifies if tag is default.
- Tag
Info Pulumi.Azure Native. Data Protection. Inputs. Retention Tag - Retention tag information
- Tagging
Priority double - Retention Tag priority.
- Criteria
List<Pulumi.
Azure Native. Data Protection. Inputs. Schedule Based Backup Criteria> - Criteria which decides whether the tag can be applied to a triggered backup.
- Is
Default bool - Specifies if tag is default.
- Tag
Info RetentionTag - Retention tag information
- Tagging
Priority float64 - Retention Tag priority.
- Criteria
[]Schedule
Based Backup Criteria - Criteria which decides whether the tag can be applied to a triggered backup.
- is
Default Boolean - Specifies if tag is default.
- tag
Info RetentionTag - Retention tag information
- tagging
Priority Double - Retention Tag priority.
- criteria
List<Schedule
Based Backup Criteria> - Criteria which decides whether the tag can be applied to a triggered backup.
- is
Default boolean - Specifies if tag is default.
- tag
Info RetentionTag - Retention tag information
- tagging
Priority number - Retention Tag priority.
- criteria
Schedule
Based Backup Criteria[] - Criteria which decides whether the tag can be applied to a triggered backup.
- is_
default bool - Specifies if tag is default.
- tag_
info RetentionTag - Retention tag information
- tagging_
priority float - Retention Tag priority.
- criteria
Sequence[Schedule
Based Backup Criteria] - Criteria which decides whether the tag can be applied to a triggered backup.
- is
Default Boolean - Specifies if tag is default.
- tag
Info Property Map - Retention tag information
- tagging
Priority Number - Retention Tag priority.
- criteria List<Property Map>
- Criteria which decides whether the tag can be applied to a triggered backup.
TaggingCriteriaResponse, TaggingCriteriaResponseArgs
- Is
Default bool - Specifies if tag is default.
- Tag
Info Pulumi.Azure Native. Data Protection. Inputs. Retention Tag Response - Retention tag information
- Tagging
Priority double - Retention Tag priority.
- Criteria
List<Pulumi.
Azure Native. Data Protection. Inputs. Schedule Based Backup Criteria Response> - Criteria which decides whether the tag can be applied to a triggered backup.
- Is
Default bool - Specifies if tag is default.
- Tag
Info RetentionTag Response - Retention tag information
- Tagging
Priority float64 - Retention Tag priority.
- Criteria
[]Schedule
Based Backup Criteria Response - Criteria which decides whether the tag can be applied to a triggered backup.
- is
Default Boolean - Specifies if tag is default.
- tag
Info RetentionTag Response - Retention tag information
- tagging
Priority Double - Retention Tag priority.
- criteria
List<Schedule
Based Backup Criteria Response> - Criteria which decides whether the tag can be applied to a triggered backup.
- is
Default boolean - Specifies if tag is default.
- tag
Info RetentionTag Response - Retention tag information
- tagging
Priority number - Retention Tag priority.
- criteria
Schedule
Based Backup Criteria Response[] - Criteria which decides whether the tag can be applied to a triggered backup.
- is_
default bool - Specifies if tag is default.
- tag_
info RetentionTag Response - Retention tag information
- tagging_
priority float - Retention Tag priority.
- criteria
Sequence[Schedule
Based Backup Criteria Response] - Criteria which decides whether the tag can be applied to a triggered backup.
- is
Default Boolean - Specifies if tag is default.
- tag
Info Property Map - Retention tag information
- tagging
Priority Number - Retention Tag priority.
- criteria List<Property Map>
- Criteria which decides whether the tag can be applied to a triggered backup.
TargetCopySetting, TargetCopySettingArgs
- Copy
After Pulumi.Azure | Pulumi.Native. Data Protection. Inputs. Copy On Expiry Option Azure | Pulumi.Native. Data Protection. Inputs. Custom Copy Option Azure Native. Data Protection. Inputs. Immediate Copy Option - It can be CustomCopyOption or ImmediateCopyOption.
- Data
Store Pulumi.Azure Native. Data Protection. Inputs. Data Store Info Base - Info of target datastore
- Copy
After CopyOn | CustomExpiry Option Copy | ImmediateOption Copy Option - It can be CustomCopyOption or ImmediateCopyOption.
- Data
Store DataStore Info Base - Info of target datastore
- copy
After CopyOn | CustomExpiry Option Copy | ImmediateOption Copy Option - It can be CustomCopyOption or ImmediateCopyOption.
- data
Store DataStore Info Base - Info of target datastore
- copy
After CopyOn | CustomExpiry Option Copy | ImmediateOption Copy Option - It can be CustomCopyOption or ImmediateCopyOption.
- data
Store DataStore Info Base - Info of target datastore
- copy_
after CopyOn | CustomExpiry Option Copy | ImmediateOption Copy Option - It can be CustomCopyOption or ImmediateCopyOption.
- data_
store DataStore Info Base - Info of target datastore
- copy
After Property Map | Property Map | Property Map - It can be CustomCopyOption or ImmediateCopyOption.
- data
Store Property Map - Info of target datastore
TargetCopySettingResponse, TargetCopySettingResponseArgs
- Copy
After Pulumi.Azure | Pulumi.Native. Data Protection. Inputs. Copy On Expiry Option Response Azure | Pulumi.Native. Data Protection. Inputs. Custom Copy Option Response Azure Native. Data Protection. Inputs. Immediate Copy Option Response - It can be CustomCopyOption or ImmediateCopyOption.
- Data
Store Pulumi.Azure Native. Data Protection. Inputs. Data Store Info Base Response - Info of target datastore
- Copy
After CopyOn | CustomExpiry Option Response Copy | ImmediateOption Response Copy Option Response - It can be CustomCopyOption or ImmediateCopyOption.
- Data
Store DataStore Info Base Response - Info of target datastore
- copy
After CopyOn | CustomExpiry Option Response Copy | ImmediateOption Response Copy Option Response - It can be CustomCopyOption or ImmediateCopyOption.
- data
Store DataStore Info Base Response - Info of target datastore
- copy
After CopyOn | CustomExpiry Option Response Copy | ImmediateOption Response Copy Option Response - It can be CustomCopyOption or ImmediateCopyOption.
- data
Store DataStore Info Base Response - Info of target datastore
- copy_
after CopyOn | CustomExpiry Option Response Copy | ImmediateOption Response Copy Option Response - It can be CustomCopyOption or ImmediateCopyOption.
- data_
store DataStore Info Base Response - Info of target datastore
- copy
After Property Map | Property Map | Property Map - It can be CustomCopyOption or ImmediateCopyOption.
- data
Store Property Map - Info of target datastore
WeekNumber, WeekNumberArgs
- First
- First
- Fourth
- Fourth
- Last
- Last
- Second
- Second
- Third
- Third
- Week
Number First - First
- Week
Number Fourth - Fourth
- Week
Number Last - Last
- Week
Number Second - Second
- Week
Number Third - Third
- First
- First
- Fourth
- Fourth
- Last
- Last
- Second
- Second
- Third
- Third
- First
- First
- Fourth
- Fourth
- Last
- Last
- Second
- Second
- Third
- Third
- FIRST
- First
- FOURTH
- Fourth
- LAST
- Last
- SECOND
- Second
- THIRD
- Third
- "First"
- First
- "Fourth"
- Fourth
- "Last"
- Last
- "Second"
- Second
- "Third"
- Third
Import
An existing resource can be imported using its type token, name, and identifier, e.g.
$ pulumi import azure-native:dataprotection:BackupPolicy OSSDBPolicy /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.DataProtection/backupVaults/{vaultName}/backupPolicies/{backupPolicyName}
To learn more about importing existing cloud resources, see Importing resources.
Package Details
- Repository
- Azure Native pulumi/pulumi-azure-native
- License
- Apache-2.0