Documentation
¶
Index ¶
- type GetVMProtectionPolicyArgs
- type GetVMProtectionPolicyResult
- type GetVaultArgs
- type GetVaultResult
- type ProtectedVM
- func (r *ProtectedVM) BackupPolicyId() *pulumi.StringOutput
- func (r *ProtectedVM) ID() *pulumi.IDOutput
- func (r *ProtectedVM) RecoveryVaultName() *pulumi.StringOutput
- func (r *ProtectedVM) ResourceGroupName() *pulumi.StringOutput
- func (r *ProtectedVM) SourceVmId() *pulumi.StringOutput
- func (r *ProtectedVM) Tags() *pulumi.MapOutput
- func (r *ProtectedVM) URN() *pulumi.URNOutput
- type ProtectedVMArgs
- type ProtectedVMState
- type ProtectionPolicyVM
- func (r *ProtectionPolicyVM) Backup() *pulumi.Output
- func (r *ProtectionPolicyVM) ID() *pulumi.IDOutput
- func (r *ProtectionPolicyVM) Name() *pulumi.StringOutput
- func (r *ProtectionPolicyVM) RecoveryVaultName() *pulumi.StringOutput
- func (r *ProtectionPolicyVM) ResourceGroupName() *pulumi.StringOutput
- func (r *ProtectionPolicyVM) RetentionDaily() *pulumi.Output
- func (r *ProtectionPolicyVM) RetentionMonthly() *pulumi.Output
- func (r *ProtectionPolicyVM) RetentionWeekly() *pulumi.Output
- func (r *ProtectionPolicyVM) RetentionYearly() *pulumi.Output
- func (r *ProtectionPolicyVM) Tags() *pulumi.MapOutput
- func (r *ProtectionPolicyVM) Timezone() *pulumi.StringOutput
- func (r *ProtectionPolicyVM) URN() *pulumi.URNOutput
- type ProtectionPolicyVMArgs
- type ProtectionPolicyVMState
- type Vault
- func (r *Vault) ID() *pulumi.IDOutput
- func (r *Vault) Location() *pulumi.StringOutput
- func (r *Vault) Name() *pulumi.StringOutput
- func (r *Vault) ResourceGroupName() *pulumi.StringOutput
- func (r *Vault) Sku() *pulumi.StringOutput
- func (r *Vault) Tags() *pulumi.MapOutput
- func (r *Vault) URN() *pulumi.URNOutput
- type VaultArgs
- type VaultState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GetVMProtectionPolicyArgs ¶ added in v0.17.2
type GetVMProtectionPolicyArgs struct { // Specifies the name of the Recovery Services VM Protection Policy. Name interface{} // Specifies the name of the Recovery Services Vault. RecoveryVaultName interface{} // The name of the resource group in which the Recovery Services VM Protection Policy resides. ResourceGroupName interface{} }
A collection of arguments for invoking getVMProtectionPolicy.
type GetVMProtectionPolicyResult ¶ added in v0.17.2
type GetVMProtectionPolicyResult struct { // A mapping of tags assigned to the resource. Tags interface{} // id is the provider-assigned unique ID for this managed resource. Id interface{} }
A collection of values returned by getVMProtectionPolicy.
func LookupVMProtectionPolicy ¶ added in v0.17.2
func LookupVMProtectionPolicy(ctx *pulumi.Context, args *GetVMProtectionPolicyArgs) (*GetVMProtectionPolicyResult, error)
Use this data source to access information about an existing Recovery Services VM Protection Policy.
type GetVaultArgs ¶
type GetVaultArgs struct { // Specifies the name of the Recovery Services Vault. Name interface{} // The name of the resource group in which the Recovery Services Vault resides. ResourceGroupName interface{} }
A collection of arguments for invoking getVault.
type GetVaultResult ¶
type GetVaultResult struct { // The Azure location where the resource resides. Location interface{} // The vault's current SKU. Sku interface{} // A mapping of tags assigned to the resource. Tags interface{} // id is the provider-assigned unique ID for this managed resource. Id interface{} }
A collection of values returned by getVault.
func LookupVault ¶
func LookupVault(ctx *pulumi.Context, args *GetVaultArgs) (*GetVaultResult, error)
Use this data source to access information about an existing Recovery Services Vault.
type ProtectedVM ¶ added in v0.16.2
type ProtectedVM struct {
// contains filtered or unexported fields
}
Manages an Recovery Protected VM.
func GetProtectedVM ¶ added in v0.16.2
func GetProtectedVM(ctx *pulumi.Context, name string, id pulumi.ID, state *ProtectedVMState, opts ...pulumi.ResourceOpt) (*ProtectedVM, error)
GetProtectedVM gets an existing ProtectedVM resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewProtectedVM ¶ added in v0.16.2
func NewProtectedVM(ctx *pulumi.Context, name string, args *ProtectedVMArgs, opts ...pulumi.ResourceOpt) (*ProtectedVM, error)
NewProtectedVM registers a new resource with the given unique name, arguments, and options.
func (*ProtectedVM) BackupPolicyId ¶ added in v0.16.2
func (r *ProtectedVM) BackupPolicyId() *pulumi.StringOutput
Specifies the id of the backup policy to use. Changing this forces a new resource to be created.
func (*ProtectedVM) ID ¶ added in v0.16.2
func (r *ProtectedVM) ID() *pulumi.IDOutput
ID is this resource's unique identifier assigned by its provider.
func (*ProtectedVM) RecoveryVaultName ¶ added in v0.16.2
func (r *ProtectedVM) RecoveryVaultName() *pulumi.StringOutput
Specifies the name of the Recovery Services Vault to use. Changing this forces a new resource to be created.
func (*ProtectedVM) ResourceGroupName ¶ added in v0.16.2
func (r *ProtectedVM) ResourceGroupName() *pulumi.StringOutput
The name of the resource group in which to create the Recovery Services Protected VM. Changing this forces a new resource to be created.
func (*ProtectedVM) SourceVmId ¶ added in v0.16.2
func (r *ProtectedVM) SourceVmId() *pulumi.StringOutput
Specifies the ID of the VM to backup. Changing this forces a new resource to be created.
func (*ProtectedVM) Tags ¶ added in v0.16.2
func (r *ProtectedVM) Tags() *pulumi.MapOutput
A mapping of tags to assign to the resource.
func (*ProtectedVM) URN ¶ added in v0.16.2
func (r *ProtectedVM) URN() *pulumi.URNOutput
URN is this resource's unique name assigned by Pulumi.
type ProtectedVMArgs ¶ added in v0.16.2
type ProtectedVMArgs struct { // Specifies the id of the backup policy to use. Changing this forces a new resource to be created. BackupPolicyId interface{} // Specifies the name of the Recovery Services Vault to use. Changing this forces a new resource to be created. RecoveryVaultName interface{} // The name of the resource group in which to create the Recovery Services Protected VM. Changing this forces a new resource to be created. ResourceGroupName interface{} // Specifies the ID of the VM to backup. Changing this forces a new resource to be created. SourceVmId interface{} // A mapping of tags to assign to the resource. Tags interface{} }
The set of arguments for constructing a ProtectedVM resource.
type ProtectedVMState ¶ added in v0.16.2
type ProtectedVMState struct { // Specifies the id of the backup policy to use. Changing this forces a new resource to be created. BackupPolicyId interface{} // Specifies the name of the Recovery Services Vault to use. Changing this forces a new resource to be created. RecoveryVaultName interface{} // The name of the resource group in which to create the Recovery Services Protected VM. Changing this forces a new resource to be created. ResourceGroupName interface{} // Specifies the ID of the VM to backup. Changing this forces a new resource to be created. SourceVmId interface{} // A mapping of tags to assign to the resource. Tags interface{} }
Input properties used for looking up and filtering ProtectedVM resources.
type ProtectionPolicyVM ¶ added in v0.16.2
type ProtectionPolicyVM struct {
// contains filtered or unexported fields
}
Manages an Recovery Services VM Protection Policy.
func GetProtectionPolicyVM ¶ added in v0.16.2
func GetProtectionPolicyVM(ctx *pulumi.Context, name string, id pulumi.ID, state *ProtectionPolicyVMState, opts ...pulumi.ResourceOpt) (*ProtectionPolicyVM, error)
GetProtectionPolicyVM gets an existing ProtectionPolicyVM resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewProtectionPolicyVM ¶ added in v0.16.2
func NewProtectionPolicyVM(ctx *pulumi.Context, name string, args *ProtectionPolicyVMArgs, opts ...pulumi.ResourceOpt) (*ProtectionPolicyVM, error)
NewProtectionPolicyVM registers a new resource with the given unique name, arguments, and options.
func (*ProtectionPolicyVM) Backup ¶ added in v0.16.2
func (r *ProtectionPolicyVM) Backup() *pulumi.Output
Configures the Policy backup frequecent, times & days as documented in the `backup` block below.
func (*ProtectionPolicyVM) ID ¶ added in v0.16.2
func (r *ProtectionPolicyVM) ID() *pulumi.IDOutput
ID is this resource's unique identifier assigned by its provider.
func (*ProtectionPolicyVM) Name ¶ added in v0.16.2
func (r *ProtectionPolicyVM) Name() *pulumi.StringOutput
Specifies the name of the Recovery Services Vault Policy. Changing this forces a new resource to be created.
func (*ProtectionPolicyVM) RecoveryVaultName ¶ added in v0.16.2
func (r *ProtectionPolicyVM) RecoveryVaultName() *pulumi.StringOutput
Specifies the name of the Recovery Services Vault to use. Changing this forces a new resource to be created.
func (*ProtectionPolicyVM) ResourceGroupName ¶ added in v0.16.2
func (r *ProtectionPolicyVM) ResourceGroupName() *pulumi.StringOutput
The name of the resource group in which to create the Recovery Services Protected VM. Changing this forces a new resource to be created.
func (*ProtectionPolicyVM) RetentionDaily ¶ added in v0.16.2
func (r *ProtectionPolicyVM) RetentionDaily() *pulumi.Output
Configures the policy daily retention as documented in the `retention_daily` block below. Required when backup frequency is `Daily`.
func (*ProtectionPolicyVM) RetentionMonthly ¶ added in v0.16.2
func (r *ProtectionPolicyVM) RetentionMonthly() *pulumi.Output
Configures the policy monthly retention as documented in the `retention_monthly` block below.
func (*ProtectionPolicyVM) RetentionWeekly ¶ added in v0.16.2
func (r *ProtectionPolicyVM) RetentionWeekly() *pulumi.Output
Configures the policy weekly retention as documented in the `retention_weekly` block below. Required when backup frequency is `Weekly`.
func (*ProtectionPolicyVM) RetentionYearly ¶ added in v0.16.2
func (r *ProtectionPolicyVM) RetentionYearly() *pulumi.Output
Configures the policy yearly retention as documented in the `retention_yearly` block below.
func (*ProtectionPolicyVM) Tags ¶ added in v0.16.2
func (r *ProtectionPolicyVM) Tags() *pulumi.MapOutput
A mapping of tags to assign to the resource.
func (*ProtectionPolicyVM) Timezone ¶ added in v0.16.6
func (r *ProtectionPolicyVM) Timezone() *pulumi.StringOutput
Specifies the timezone. Defaults to `UTC`
func (*ProtectionPolicyVM) URN ¶ added in v0.16.2
func (r *ProtectionPolicyVM) URN() *pulumi.URNOutput
URN is this resource's unique name assigned by Pulumi.
type ProtectionPolicyVMArgs ¶ added in v0.16.2
type ProtectionPolicyVMArgs struct { // Configures the Policy backup frequecent, times & days as documented in the `backup` block below. Backup interface{} // Specifies the name of the Recovery Services Vault Policy. Changing this forces a new resource to be created. Name interface{} // Specifies the name of the Recovery Services Vault to use. Changing this forces a new resource to be created. RecoveryVaultName interface{} // The name of the resource group in which to create the Recovery Services Protected VM. Changing this forces a new resource to be created. ResourceGroupName interface{} // Configures the policy daily retention as documented in the `retention_daily` block below. Required when backup frequency is `Daily`. RetentionDaily interface{} // Configures the policy monthly retention as documented in the `retention_monthly` block below. RetentionMonthly interface{} // Configures the policy weekly retention as documented in the `retention_weekly` block below. Required when backup frequency is `Weekly`. RetentionWeekly interface{} // Configures the policy yearly retention as documented in the `retention_yearly` block below. RetentionYearly interface{} // A mapping of tags to assign to the resource. Tags interface{} // Specifies the timezone. Defaults to `UTC` Timezone interface{} }
The set of arguments for constructing a ProtectionPolicyVM resource.
type ProtectionPolicyVMState ¶ added in v0.16.2
type ProtectionPolicyVMState struct { // Configures the Policy backup frequecent, times & days as documented in the `backup` block below. Backup interface{} // Specifies the name of the Recovery Services Vault Policy. Changing this forces a new resource to be created. Name interface{} // Specifies the name of the Recovery Services Vault to use. Changing this forces a new resource to be created. RecoveryVaultName interface{} // The name of the resource group in which to create the Recovery Services Protected VM. Changing this forces a new resource to be created. ResourceGroupName interface{} // Configures the policy daily retention as documented in the `retention_daily` block below. Required when backup frequency is `Daily`. RetentionDaily interface{} // Configures the policy monthly retention as documented in the `retention_monthly` block below. RetentionMonthly interface{} // Configures the policy weekly retention as documented in the `retention_weekly` block below. Required when backup frequency is `Weekly`. RetentionWeekly interface{} // Configures the policy yearly retention as documented in the `retention_yearly` block below. RetentionYearly interface{} // A mapping of tags to assign to the resource. Tags interface{} // Specifies the timezone. Defaults to `UTC` Timezone interface{} }
Input properties used for looking up and filtering ProtectionPolicyVM resources.
type Vault ¶
type Vault struct {
// contains filtered or unexported fields
}
Manage an Recovery Services Vault.
func GetVault ¶
func GetVault(ctx *pulumi.Context, name string, id pulumi.ID, state *VaultState, opts ...pulumi.ResourceOpt) (*Vault, error)
GetVault gets an existing Vault resource's state with the given name, ID, and optional state properties that are used to uniquely qualify the lookup (nil if not required).
func NewVault ¶
func NewVault(ctx *pulumi.Context, name string, args *VaultArgs, opts ...pulumi.ResourceOpt) (*Vault, error)
NewVault registers a new resource with the given unique name, arguments, and options.
func (*Vault) Location ¶
func (r *Vault) Location() *pulumi.StringOutput
Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
func (*Vault) Name ¶
func (r *Vault) Name() *pulumi.StringOutput
Specifies the name of the Recovery Services Vault. Changing this forces a new resource to be created.
func (*Vault) ResourceGroupName ¶
func (r *Vault) ResourceGroupName() *pulumi.StringOutput
The name of the resource group in which to create the Recovery Services Vault. Changing this forces a new resource to be created.
func (*Vault) Sku ¶
func (r *Vault) Sku() *pulumi.StringOutput
Sets the vault's SKU. Possible values include: `Standard`, `RS0`.
type VaultArgs ¶
type VaultArgs struct { // Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. Location interface{} // Specifies the name of the Recovery Services Vault. Changing this forces a new resource to be created. Name interface{} // The name of the resource group in which to create the Recovery Services Vault. Changing this forces a new resource to be created. ResourceGroupName interface{} // Sets the vault's SKU. Possible values include: `Standard`, `RS0`. Sku interface{} // A mapping of tags to assign to the resource. Tags interface{} }
The set of arguments for constructing a Vault resource.
type VaultState ¶
type VaultState struct { // Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. Location interface{} // Specifies the name of the Recovery Services Vault. Changing this forces a new resource to be created. Name interface{} // The name of the resource group in which to create the Recovery Services Vault. Changing this forces a new resource to be created. ResourceGroupName interface{} // Sets the vault's SKU. Possible values include: `Standard`, `RS0`. Sku interface{} // A mapping of tags to assign to the resource. Tags interface{} }
Input properties used for looking up and filtering Vault resources.