Module backup
This page documents the language specification for the azure package. If you're looking for help working with the inputs, outputs, or functions of azure resources in a Pulumi program, please see the resource documentation for examples and API reference.
Resources
Functions
Others
- ContainerStorageAccountArgs
- ContainerStorageAccountState
- GetPolicyVMArgs
- GetPolicyVMResult
- PolicyFileShareArgs
- PolicyFileShareState
- PolicyVMArgs
- PolicyVMState
- ProtectedFileShareArgs
- ProtectedFileShareState
- ProtectedVMArgs
- ProtectedVMState
Resources
Resource ContainerStorageAccount
class ContainerStorageAccount extends CustomResourceManages registration of a storage account with Azure Backup. Storage accounts must be registered with an Azure Recovery Vault in order to backup file shares within the storage account. Registering a storage account with a vault creates what is known as a protection container within Azure Recovery Services. Once the container is created, Azure file shares within the storage account can be backed up using the azure.backup.ProtectedFileShare resource.
NOTE: Azure Backup for Azure File Shares is currently in public preview. During the preview, the service is subject to additional limitations and unsupported backup scenarios. Read More
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
const rg = new azure.core.ResourceGroup("rg", {location: "West US"});
const vault = new azure.recoveryservices.Vault("vault", {
location: rg.location,
resourceGroupName: rg.name,
sku: "Standard",
});
const sa = new azure.storage.Account("sa", {
location: rg.location,
resourceGroupName: rg.name,
accountTier: "Standard",
accountReplicationType: "LRS",
});
const container = new azure.backup.ContainerStorageAccount("container", {
resourceGroupName: rg.name,
recoveryVaultName: vault.name,
storageAccountId: sa.id,
});constructor
new ContainerStorageAccount(name: string, args: ContainerStorageAccountArgs, opts?: pulumi.CustomResourceOptions)Create a ContainerStorageAccount resource with the given unique name, arguments, and options.
nameThe unique name of the resource.argsThe arguments to use to populate this resource's properties.optsA bag of options that control this resource's behavior.
method get
public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ContainerStorageAccountState, opts?: pulumi.CustomResourceOptions): ContainerStorageAccountGet an existing ContainerStorageAccount resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
method getProvider
getProvider(moduleMember: string): ProviderResource | undefinedmethod isInstance
public static isInstance(obj: any): obj is ContainerStorageAccountReturns true if the given object is an instance of ContainerStorageAccount. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.
property id
id: Output<ID>;id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.
property recoveryVaultName
public recoveryVaultName: pulumi.Output<string>;The name of the vault where the storage account will be registered.
property resourceGroupName
public resourceGroupName: pulumi.Output<string>;Name of the resource group where the vault is located.
property storageAccountId
public storageAccountId: pulumi.Output<string>;Azure Resource ID of the storage account to be registered
property urn
urn: Output<URN>;urn is the stable logical URN used to distinctly address a resource, both before and after deployments.
Resource PolicyFileShare
class PolicyFileShare extends CustomResourceManages an Azure File Share Backup Policy within a Recovery Services vault.
NOTE: Azure Backup for Azure File Shares is currently in public preview. During the preview, the service is subject to additional limitations and unsupported backup scenarios. Read More
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
const rg = new azure.core.ResourceGroup("rg", {location: "West US"});
const vault = new azure.recoveryservices.Vault("vault", {
location: rg.location,
resourceGroupName: rg.name,
sku: "Standard",
});
const policy = new azure.backup.PolicyFileShare("policy", {
resourceGroupName: rg.name,
recoveryVaultName: vault.name,
timezone: "UTC",
backup: {
frequency: "Daily",
time: "23:00",
},
retention_daily: {
count: 10,
},
});constructor
new PolicyFileShare(name: string, args: PolicyFileShareArgs, opts?: pulumi.CustomResourceOptions)Create a PolicyFileShare resource with the given unique name, arguments, and options.
nameThe unique name of the resource.argsThe arguments to use to populate this resource's properties.optsA bag of options that control this resource's behavior.
method get
public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: PolicyFileShareState, opts?: pulumi.CustomResourceOptions): PolicyFileShareGet an existing PolicyFileShare resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
method getProvider
getProvider(moduleMember: string): ProviderResource | undefinedmethod isInstance
public static isInstance(obj: any): obj is PolicyFileShareReturns true if the given object is an instance of PolicyFileShare. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.
property backup
public backup: pulumi.Output<PolicyFileShareBackup>;Configures the Policy backup frequency and times as documented in the backup block below.
property id
id: Output<ID>;id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.
property name
public name: pulumi.Output<string>;Specifies the name of the policy. Changing this forces a new resource to be created.
property recoveryVaultName
public recoveryVaultName: pulumi.Output<string>;Specifies the name of the Recovery Services Vault to use. Changing this forces a new resource to be created.
property resourceGroupName
public resourceGroupName: pulumi.Output<string>;The name of the resource group in which to create the policy. Changing this forces a new resource to be created.
property retentionDaily
public retentionDaily: pulumi.Output<PolicyFileShareRetentionDaily>;Configures the policy daily retention as documented in the retentionDaily block below.
property timezone
public timezone: pulumi.Output<string | undefined>;Specifies the timezone. Defaults to UTC
property urn
urn: Output<URN>;urn is the stable logical URN used to distinctly address a resource, both before and after deployments.
Resource PolicyVM
class PolicyVM extends CustomResourceManages an Azure Backup VM Backup Policy.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
const exampleResourceGroup = new azure.core.ResourceGroup("exampleResourceGroup", {location: "West US"});
const exampleVault = new azure.recoveryservices.Vault("exampleVault", {
location: exampleResourceGroup.location,
resourceGroupName: exampleResourceGroup.name,
sku: "Standard",
});
const examplePolicyVM = new azure.backup.PolicyVM("examplePolicyVM", {
resourceGroupName: exampleResourceGroup.name,
recoveryVaultName: exampleVault.name,
timezone: "UTC",
backup: {
frequency: "Daily",
time: "23:00",
},
retention_daily: {
count: 10,
},
retention_weekly: {
count: 42,
weekdays: [
"Sunday",
"Wednesday",
"Friday",
"Saturday",
],
},
retention_monthly: {
count: 7,
weekdays: [
"Sunday",
"Wednesday",
],
weeks: [
"First",
"Last",
],
},
retention_yearly: {
count: 77,
weekdays: ["Sunday"],
weeks: ["Last"],
months: ["January"],
},
});constructor
new PolicyVM(name: string, args: PolicyVMArgs, opts?: pulumi.CustomResourceOptions)Create a PolicyVM resource with the given unique name, arguments, and options.
nameThe unique name of the resource.argsThe arguments to use to populate this resource's properties.optsA bag of options that control this resource's behavior.
method get
public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: PolicyVMState, opts?: pulumi.CustomResourceOptions): PolicyVMGet an existing PolicyVM resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
method getProvider
getProvider(moduleMember: string): ProviderResource | undefinedmethod isInstance
public static isInstance(obj: any): obj is PolicyVMReturns true if the given object is an instance of PolicyVM. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.
property backup
public backup: pulumi.Output<PolicyVMBackup>;Configures the Policy backup frequency, times & days as documented in the backup block below.
property id
id: Output<ID>;id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.
property name
public name: pulumi.Output<string>;Specifies the name of the Backup Policy. Changing this forces a new resource to be created.
property recoveryVaultName
public recoveryVaultName: pulumi.Output<string>;Specifies the name of the Recovery Services Vault to use. Changing this forces a new resource to be created.
property resourceGroupName
public resourceGroupName: pulumi.Output<string>;The name of the resource group in which to create the policy. Changing this forces a new resource to be created.
property retentionDaily
public retentionDaily: pulumi.Output<PolicyVMRetentionDaily | undefined>;Configures the policy daily retention as documented in the retentionDaily block below. Required when backup frequency is Daily.
property retentionMonthly
public retentionMonthly: pulumi.Output<PolicyVMRetentionMonthly | undefined>;Configures the policy monthly retention as documented in the retentionMonthly block below.
property retentionWeekly
public retentionWeekly: pulumi.Output<PolicyVMRetentionWeekly | undefined>;Configures the policy weekly retention as documented in the retentionWeekly block below. Required when backup frequency is Weekly.
property retentionYearly
public retentionYearly: pulumi.Output<PolicyVMRetentionYearly | undefined>;Configures the policy yearly retention as documented in the retentionYearly block below.
property tags
public tags: pulumi.Output<{[key: string]: string} | undefined>;A mapping of tags to assign to the resource.
property timezone
public timezone: pulumi.Output<string | undefined>;Specifies the timezone. Defaults to UTC
property urn
urn: Output<URN>;urn is the stable logical URN used to distinctly address a resource, both before and after deployments.
Resource ProtectedFileShare
class ProtectedFileShare extends CustomResourceManages an Azure Backup Protected File Share to enable backups for file shares within an Azure Storage Account
NOTE: Azure Backup for Azure File Shares is currently in public preview. During the preview, the service is subject to additional limitations and unsupported backup scenarios. Read More
NOTE Azure Backup for Azure File Shares does not support Soft Delete at this time. Deleting this resource will also delete all associated backup data. Please exercise caution. Consider using
protectto guard against accidental deletion.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
const rg = new azure.core.ResourceGroup("rg", {location: "West US"});
const vault = new azure.recoveryservices.Vault("vault", {
location: rg.location,
resourceGroupName: rg.name,
sku: "Standard",
});
const sa = new azure.storage.Account("sa", {
location: rg.location,
resourceGroupName: rg.name,
accountTier: "Standard",
accountReplicationType: "LRS",
});
const exampleShare = new azure.storage.Share("exampleShare", {storageAccountName: sa.name});
const protection_container = new azure.backup.ContainerStorageAccount("protection-container", {
resourceGroupName: rg.name,
recoveryVaultName: vault.name,
storageAccountId: sa.id,
});
const examplePolicyFileShare = new azure.backup.PolicyFileShare("examplePolicyFileShare", {
resourceGroupName: rg.name,
recoveryVaultName: vault.name,
backup: {
frequency: "Daily",
time: "23:00",
},
retention_daily: {
count: 10,
},
});
const share1 = new azure.backup.ProtectedFileShare("share1", {
resourceGroupName: rg.name,
recoveryVaultName: vault.name,
sourceStorageAccountId: protection_container.storageAccountId,
sourceFileShareName: exampleShare.name,
backupPolicyId: examplePolicyFileShare.id,
});constructor
new ProtectedFileShare(name: string, args: ProtectedFileShareArgs, opts?: pulumi.CustomResourceOptions)Create a ProtectedFileShare resource with the given unique name, arguments, and options.
nameThe unique name of the resource.argsThe arguments to use to populate this resource's properties.optsA bag of options that control this resource's behavior.
method get
public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ProtectedFileShareState, opts?: pulumi.CustomResourceOptions): ProtectedFileShareGet an existing ProtectedFileShare resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
method getProvider
getProvider(moduleMember: string): ProviderResource | undefinedmethod isInstance
public static isInstance(obj: any): obj is ProtectedFileShareReturns true if the given object is an instance of ProtectedFileShare. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.
property backupPolicyId
public backupPolicyId: pulumi.Output<string>;Specifies the ID of the backup policy to use. The policy must be an Azure File Share backup policy. Other types are not supported.
property id
id: Output<ID>;id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.
property recoveryVaultName
public recoveryVaultName: pulumi.Output<string>;Specifies the name of the Recovery Services Vault to use. Changing this forces a new resource to be created.
property resourceGroupName
public resourceGroupName: pulumi.Output<string>;The name of the resource group in which to create the Azure Backup Protected File Share. Changing this forces a new resource to be created.
property sourceFileShareName
public sourceFileShareName: pulumi.Output<string>;Specifies the name of the file share to backup. Changing this forces a new resource to be created.
property sourceStorageAccountId
public sourceStorageAccountId: pulumi.Output<string>;Specifies the ID of the storage account of the file share to backup. Changing this forces a new resource to be created.
property urn
urn: Output<URN>;urn is the stable logical URN used to distinctly address a resource, both before and after deployments.
Resource ProtectedVM
class ProtectedVM extends CustomResourceManages Azure Backup for an Azure VM
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
const exampleResourceGroup = new azure.core.ResourceGroup("exampleResourceGroup", {location: "West US"});
const exampleVault = new azure.recoveryservices.Vault("exampleVault", {
location: exampleResourceGroup.location,
resourceGroupName: exampleResourceGroup.name,
sku: "Standard",
});
const examplePolicyVM = new azure.backup.PolicyVM("examplePolicyVM", {
resourceGroupName: exampleResourceGroup.name,
recoveryVaultName: exampleVault.name,
backup: {
frequency: "Daily",
time: "23:00",
},
});
const vm1 = new azure.backup.ProtectedVM("vm1", {
resourceGroupName: exampleResourceGroup.name,
recoveryVaultName: exampleVault.name,
sourceVmId: azurerm_virtual_machine.example.id,
backupPolicyId: examplePolicyVM.id,
});constructor
new ProtectedVM(name: string, args: ProtectedVMArgs, opts?: pulumi.CustomResourceOptions)Create a ProtectedVM resource with the given unique name, arguments, and options.
nameThe unique name of the resource.argsThe arguments to use to populate this resource's properties.optsA bag of options that control this resource's behavior.
method get
public static get(name: string, id: pulumi.Input<pulumi.ID>, state?: ProtectedVMState, opts?: pulumi.CustomResourceOptions): ProtectedVMGet an existing ProtectedVM resource’s state with the given name, ID, and optional extra properties used to qualify the lookup.
method getProvider
getProvider(moduleMember: string): ProviderResource | undefinedmethod isInstance
public static isInstance(obj: any): obj is ProtectedVMReturns true if the given object is an instance of ProtectedVM. This is designed to work even when multiple copies of the Pulumi SDK have been loaded into the same process.
property backupPolicyId
public backupPolicyId: pulumi.Output<string>;Specifies the id of the backup policy to use.
property id
id: Output<ID>;id is the provider-assigned unique ID for this managed resource. It is set during deployments and may be missing (undefined) during planning phases.
property recoveryVaultName
public recoveryVaultName: pulumi.Output<string>;Specifies the name of the Recovery Services Vault to use. Changing this forces a new resource to be created.
property resourceGroupName
public resourceGroupName: pulumi.Output<string>;The name of the resource group in which to create the Recovery Services Protected VM. Changing this forces a new resource to be created.
property sourceVmId
public sourceVmId: pulumi.Output<string>;Specifies the ID of the VM to backup. Changing this forces a new resource to be created.
property tags
public tags: pulumi.Output<{[key: string]: string} | undefined>;A mapping of tags to assign to the resource.
property urn
urn: Output<URN>;urn is the stable logical URN used to distinctly address a resource, both before and after deployments.
Functions
Function getPolicyVM
getPolicyVM(args: GetPolicyVMArgs, opts?: pulumi.InvokeOptions): Promise<GetPolicyVMResult>Use this data source to access information about an existing VM Backup Policy.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as azure from "@pulumi/azure";
const policy = pulumi.output(azure.backup.getPolicyVM({
name: "policy",
recoveryVaultName: "recovery_vault",
resourceGroupName: "resource_group",
}, { async: true }));Others
interface ContainerStorageAccountArgs
interface ContainerStorageAccountArgsThe set of arguments for constructing a ContainerStorageAccount resource.
property recoveryVaultName
recoveryVaultName: pulumi.Input<string>;The name of the vault where the storage account will be registered.
property resourceGroupName
resourceGroupName: pulumi.Input<string>;Name of the resource group where the vault is located.
property storageAccountId
storageAccountId: pulumi.Input<string>;Azure Resource ID of the storage account to be registered
interface ContainerStorageAccountState
interface ContainerStorageAccountStateInput properties used for looking up and filtering ContainerStorageAccount resources.
property recoveryVaultName
recoveryVaultName?: pulumi.Input<string>;The name of the vault where the storage account will be registered.
property resourceGroupName
resourceGroupName?: pulumi.Input<string>;Name of the resource group where the vault is located.
property storageAccountId
storageAccountId?: pulumi.Input<string>;Azure Resource ID of the storage account to be registered
interface GetPolicyVMArgs
interface GetPolicyVMArgsA collection of arguments for invoking getPolicyVM.
property name
name: string;Specifies the name of the VM Backup Policy.
property recoveryVaultName
recoveryVaultName: string;Specifies the name of the Recovery Services Vault.
property resourceGroupName
resourceGroupName: string;The name of the resource group in which the VM Backup Policy resides.
interface GetPolicyVMResult
interface GetPolicyVMResultA collection of values returned by getPolicyVM.
property id
id: string;The provider-assigned unique ID for this managed resource.
property name
name: string;property recoveryVaultName
recoveryVaultName: string;property resourceGroupName
resourceGroupName: string;property tags
tags: {[key: string]: string};A mapping of tags assigned to the resource.
interface PolicyFileShareArgs
interface PolicyFileShareArgsThe set of arguments for constructing a PolicyFileShare resource.
property backup
backup: pulumi.Input<PolicyFileShareBackup>;Configures the Policy backup frequency and times as documented in the backup block below.
property name
name?: pulumi.Input<string>;Specifies the name of the policy. Changing this forces a new resource to be created.
property recoveryVaultName
recoveryVaultName: pulumi.Input<string>;Specifies the name of the Recovery Services Vault to use. Changing this forces a new resource to be created.
property resourceGroupName
resourceGroupName: pulumi.Input<string>;The name of the resource group in which to create the policy. Changing this forces a new resource to be created.
property retentionDaily
retentionDaily: pulumi.Input<PolicyFileShareRetentionDaily>;Configures the policy daily retention as documented in the retentionDaily block below.
property timezone
timezone?: pulumi.Input<string>;Specifies the timezone. Defaults to UTC
interface PolicyFileShareState
interface PolicyFileShareStateInput properties used for looking up and filtering PolicyFileShare resources.
property backup
backup?: pulumi.Input<PolicyFileShareBackup>;Configures the Policy backup frequency and times as documented in the backup block below.
property name
name?: pulumi.Input<string>;Specifies the name of the policy. Changing this forces a new resource to be created.
property recoveryVaultName
recoveryVaultName?: pulumi.Input<string>;Specifies the name of the Recovery Services Vault to use. Changing this forces a new resource to be created.
property resourceGroupName
resourceGroupName?: pulumi.Input<string>;The name of the resource group in which to create the policy. Changing this forces a new resource to be created.
property retentionDaily
retentionDaily?: pulumi.Input<PolicyFileShareRetentionDaily>;Configures the policy daily retention as documented in the retentionDaily block below.
property timezone
timezone?: pulumi.Input<string>;Specifies the timezone. Defaults to UTC
interface PolicyVMArgs
interface PolicyVMArgsThe set of arguments for constructing a PolicyVM resource.
property backup
backup: pulumi.Input<PolicyVMBackup>;Configures the Policy backup frequency, times & days as documented in the backup block below.
property name
name?: pulumi.Input<string>;Specifies the name of the Backup Policy. Changing this forces a new resource to be created.
property recoveryVaultName
recoveryVaultName: pulumi.Input<string>;Specifies the name of the Recovery Services Vault to use. Changing this forces a new resource to be created.
property resourceGroupName
resourceGroupName: pulumi.Input<string>;The name of the resource group in which to create the policy. Changing this forces a new resource to be created.
property retentionDaily
retentionDaily?: pulumi.Input<PolicyVMRetentionDaily>;Configures the policy daily retention as documented in the retentionDaily block below. Required when backup frequency is Daily.
property retentionMonthly
retentionMonthly?: pulumi.Input<PolicyVMRetentionMonthly>;Configures the policy monthly retention as documented in the retentionMonthly block below.
property retentionWeekly
retentionWeekly?: pulumi.Input<PolicyVMRetentionWeekly>;Configures the policy weekly retention as documented in the retentionWeekly block below. Required when backup frequency is Weekly.
property retentionYearly
retentionYearly?: pulumi.Input<PolicyVMRetentionYearly>;Configures the policy yearly retention as documented in the retentionYearly block below.
property tags
tags?: pulumi.Input<{[key: string]: pulumi.Input<string>}>;A mapping of tags to assign to the resource.
property timezone
timezone?: pulumi.Input<string>;Specifies the timezone. Defaults to UTC
interface PolicyVMState
interface PolicyVMStateInput properties used for looking up and filtering PolicyVM resources.
property backup
backup?: pulumi.Input<PolicyVMBackup>;Configures the Policy backup frequency, times & days as documented in the backup block below.
property name
name?: pulumi.Input<string>;Specifies the name of the Backup Policy. Changing this forces a new resource to be created.
property recoveryVaultName
recoveryVaultName?: pulumi.Input<string>;Specifies the name of the Recovery Services Vault to use. Changing this forces a new resource to be created.
property resourceGroupName
resourceGroupName?: pulumi.Input<string>;The name of the resource group in which to create the policy. Changing this forces a new resource to be created.
property retentionDaily
retentionDaily?: pulumi.Input<PolicyVMRetentionDaily>;Configures the policy daily retention as documented in the retentionDaily block below. Required when backup frequency is Daily.
property retentionMonthly
retentionMonthly?: pulumi.Input<PolicyVMRetentionMonthly>;Configures the policy monthly retention as documented in the retentionMonthly block below.
property retentionWeekly
retentionWeekly?: pulumi.Input<PolicyVMRetentionWeekly>;Configures the policy weekly retention as documented in the retentionWeekly block below. Required when backup frequency is Weekly.
property retentionYearly
retentionYearly?: pulumi.Input<PolicyVMRetentionYearly>;Configures the policy yearly retention as documented in the retentionYearly block below.
property tags
tags?: pulumi.Input<{[key: string]: pulumi.Input<string>}>;A mapping of tags to assign to the resource.
property timezone
timezone?: pulumi.Input<string>;Specifies the timezone. Defaults to UTC
interface ProtectedFileShareArgs
interface ProtectedFileShareArgsThe set of arguments for constructing a ProtectedFileShare resource.
property backupPolicyId
backupPolicyId: pulumi.Input<string>;Specifies the ID of the backup policy to use. The policy must be an Azure File Share backup policy. Other types are not supported.
property recoveryVaultName
recoveryVaultName: pulumi.Input<string>;Specifies the name of the Recovery Services Vault to use. Changing this forces a new resource to be created.
property resourceGroupName
resourceGroupName: pulumi.Input<string>;The name of the resource group in which to create the Azure Backup Protected File Share. Changing this forces a new resource to be created.
property sourceFileShareName
sourceFileShareName: pulumi.Input<string>;Specifies the name of the file share to backup. Changing this forces a new resource to be created.
property sourceStorageAccountId
sourceStorageAccountId: pulumi.Input<string>;Specifies the ID of the storage account of the file share to backup. Changing this forces a new resource to be created.
interface ProtectedFileShareState
interface ProtectedFileShareStateInput properties used for looking up and filtering ProtectedFileShare resources.
property backupPolicyId
backupPolicyId?: pulumi.Input<string>;Specifies the ID of the backup policy to use. The policy must be an Azure File Share backup policy. Other types are not supported.
property recoveryVaultName
recoveryVaultName?: pulumi.Input<string>;Specifies the name of the Recovery Services Vault to use. Changing this forces a new resource to be created.
property resourceGroupName
resourceGroupName?: pulumi.Input<string>;The name of the resource group in which to create the Azure Backup Protected File Share. Changing this forces a new resource to be created.
property sourceFileShareName
sourceFileShareName?: pulumi.Input<string>;Specifies the name of the file share to backup. Changing this forces a new resource to be created.
property sourceStorageAccountId
sourceStorageAccountId?: pulumi.Input<string>;Specifies the ID of the storage account of the file share to backup. Changing this forces a new resource to be created.
interface ProtectedVMArgs
interface ProtectedVMArgsThe set of arguments for constructing a ProtectedVM resource.
property backupPolicyId
backupPolicyId: pulumi.Input<string>;Specifies the id of the backup policy to use.
property recoveryVaultName
recoveryVaultName: pulumi.Input<string>;Specifies the name of the Recovery Services Vault to use. Changing this forces a new resource to be created.
property resourceGroupName
resourceGroupName: pulumi.Input<string>;The name of the resource group in which to create the Recovery Services Protected VM. Changing this forces a new resource to be created.
property sourceVmId
sourceVmId: pulumi.Input<string>;Specifies the ID of the VM to backup. Changing this forces a new resource to be created.
property tags
tags?: pulumi.Input<{[key: string]: pulumi.Input<string>}>;A mapping of tags to assign to the resource.
interface ProtectedVMState
interface ProtectedVMStateInput properties used for looking up and filtering ProtectedVM resources.
property backupPolicyId
backupPolicyId?: pulumi.Input<string>;Specifies the id of the backup policy to use.
property recoveryVaultName
recoveryVaultName?: pulumi.Input<string>;Specifies the name of the Recovery Services Vault to use. Changing this forces a new resource to be created.
property resourceGroupName
resourceGroupName?: pulumi.Input<string>;The name of the resource group in which to create the Recovery Services Protected VM. Changing this forces a new resource to be created.
property sourceVmId
sourceVmId?: pulumi.Input<string>;Specifies the ID of the VM to backup. Changing this forces a new resource to be created.
property tags
tags?: pulumi.Input<{[key: string]: pulumi.Input<string>}>;A mapping of tags to assign to the resource.