recoveryservices

package
v6.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 27, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type GetVaultIdentity

type GetVaultIdentity struct {
	IdentityIds []string `pulumi:"identityIds"`
	// The Principal ID associated with this Managed Service Identity.
	PrincipalId string `pulumi:"principalId"`
	// The Tenant ID associated with this Managed Service Identity.
	TenantId string `pulumi:"tenantId"`
	// The identity type of this Managed Service Identity.
	Type string `pulumi:"type"`
}

type GetVaultIdentityArgs

type GetVaultIdentityArgs struct {
	IdentityIds pulumi.StringArrayInput `pulumi:"identityIds"`
	// The Principal ID associated with this Managed Service Identity.
	PrincipalId pulumi.StringInput `pulumi:"principalId"`
	// The Tenant ID associated with this Managed Service Identity.
	TenantId pulumi.StringInput `pulumi:"tenantId"`
	// The identity type of this Managed Service Identity.
	Type pulumi.StringInput `pulumi:"type"`
}

func (GetVaultIdentityArgs) ElementType

func (GetVaultIdentityArgs) ElementType() reflect.Type

func (GetVaultIdentityArgs) ToGetVaultIdentityOutput

func (i GetVaultIdentityArgs) ToGetVaultIdentityOutput() GetVaultIdentityOutput

func (GetVaultIdentityArgs) ToGetVaultIdentityOutputWithContext

func (i GetVaultIdentityArgs) ToGetVaultIdentityOutputWithContext(ctx context.Context) GetVaultIdentityOutput

type GetVaultIdentityArray

type GetVaultIdentityArray []GetVaultIdentityInput

func (GetVaultIdentityArray) ElementType

func (GetVaultIdentityArray) ElementType() reflect.Type

func (GetVaultIdentityArray) ToGetVaultIdentityArrayOutput

func (i GetVaultIdentityArray) ToGetVaultIdentityArrayOutput() GetVaultIdentityArrayOutput

func (GetVaultIdentityArray) ToGetVaultIdentityArrayOutputWithContext

func (i GetVaultIdentityArray) ToGetVaultIdentityArrayOutputWithContext(ctx context.Context) GetVaultIdentityArrayOutput

type GetVaultIdentityArrayInput

type GetVaultIdentityArrayInput interface {
	pulumi.Input

	ToGetVaultIdentityArrayOutput() GetVaultIdentityArrayOutput
	ToGetVaultIdentityArrayOutputWithContext(context.Context) GetVaultIdentityArrayOutput
}

GetVaultIdentityArrayInput is an input type that accepts GetVaultIdentityArray and GetVaultIdentityArrayOutput values. You can construct a concrete instance of `GetVaultIdentityArrayInput` via:

GetVaultIdentityArray{ GetVaultIdentityArgs{...} }

type GetVaultIdentityArrayOutput

type GetVaultIdentityArrayOutput struct{ *pulumi.OutputState }

func (GetVaultIdentityArrayOutput) ElementType

func (GetVaultIdentityArrayOutput) Index

func (GetVaultIdentityArrayOutput) ToGetVaultIdentityArrayOutput

func (o GetVaultIdentityArrayOutput) ToGetVaultIdentityArrayOutput() GetVaultIdentityArrayOutput

func (GetVaultIdentityArrayOutput) ToGetVaultIdentityArrayOutputWithContext

func (o GetVaultIdentityArrayOutput) ToGetVaultIdentityArrayOutputWithContext(ctx context.Context) GetVaultIdentityArrayOutput

type GetVaultIdentityInput

type GetVaultIdentityInput interface {
	pulumi.Input

	ToGetVaultIdentityOutput() GetVaultIdentityOutput
	ToGetVaultIdentityOutputWithContext(context.Context) GetVaultIdentityOutput
}

GetVaultIdentityInput is an input type that accepts GetVaultIdentityArgs and GetVaultIdentityOutput values. You can construct a concrete instance of `GetVaultIdentityInput` via:

GetVaultIdentityArgs{...}

type GetVaultIdentityOutput

type GetVaultIdentityOutput struct{ *pulumi.OutputState }

func (GetVaultIdentityOutput) ElementType

func (GetVaultIdentityOutput) ElementType() reflect.Type

func (GetVaultIdentityOutput) IdentityIds

func (GetVaultIdentityOutput) PrincipalId

func (o GetVaultIdentityOutput) PrincipalId() pulumi.StringOutput

The Principal ID associated with this Managed Service Identity.

func (GetVaultIdentityOutput) TenantId

The Tenant ID associated with this Managed Service Identity.

func (GetVaultIdentityOutput) ToGetVaultIdentityOutput

func (o GetVaultIdentityOutput) ToGetVaultIdentityOutput() GetVaultIdentityOutput

func (GetVaultIdentityOutput) ToGetVaultIdentityOutputWithContext

func (o GetVaultIdentityOutput) ToGetVaultIdentityOutputWithContext(ctx context.Context) GetVaultIdentityOutput

func (GetVaultIdentityOutput) Type

The identity type of this Managed Service Identity.

type LookupVaultArgs

type LookupVaultArgs struct {
	// Specifies the name of the Recovery Services Vault.
	Name string `pulumi:"name"`
	// The name of the resource group in which the Recovery Services Vault resides.
	ResourceGroupName string `pulumi:"resourceGroupName"`
}

A collection of arguments for invoking getVault.

type LookupVaultOutputArgs

type LookupVaultOutputArgs struct {
	// Specifies the name of the Recovery Services Vault.
	Name pulumi.StringInput `pulumi:"name"`
	// The name of the resource group in which the Recovery Services Vault resides.
	ResourceGroupName pulumi.StringInput `pulumi:"resourceGroupName"`
}

A collection of arguments for invoking getVault.

func (LookupVaultOutputArgs) ElementType

func (LookupVaultOutputArgs) ElementType() reflect.Type

type LookupVaultResult

type LookupVaultResult struct {
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// (Optional) An `identity` block as defined below.
	Identities []GetVaultIdentity `pulumi:"identities"`
	// The Azure location where the resource resides.
	Location          string `pulumi:"location"`
	Name              string `pulumi:"name"`
	ResourceGroupName string `pulumi:"resourceGroupName"`
	// The vault's current SKU.
	Sku string `pulumi:"sku"`
	// A mapping of tags assigned to the resource.
	Tags map[string]string `pulumi:"tags"`
}

A collection of values returned by getVault.

func LookupVault

func LookupVault(ctx *pulumi.Context, args *LookupVaultArgs, opts ...pulumi.InvokeOption) (*LookupVaultResult, error)

Use this data source to access information about an existing Recovery Services Vault.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/recoveryservices"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := recoveryservices.LookupVault(ctx, &recoveryservices.LookupVaultArgs{
			Name:              "tfex-recovery_vault",
			ResourceGroupName: "tfex-resource_group",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupVaultResultOutput

type LookupVaultResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getVault.

func (LookupVaultResultOutput) ElementType

func (LookupVaultResultOutput) ElementType() reflect.Type

func (LookupVaultResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupVaultResultOutput) Identities

(Optional) An `identity` block as defined below.

func (LookupVaultResultOutput) Location

The Azure location where the resource resides.

func (LookupVaultResultOutput) Name

func (LookupVaultResultOutput) ResourceGroupName

func (o LookupVaultResultOutput) ResourceGroupName() pulumi.StringOutput

func (LookupVaultResultOutput) Sku

The vault's current SKU.

func (LookupVaultResultOutput) Tags

A mapping of tags assigned to the resource.

func (LookupVaultResultOutput) ToLookupVaultResultOutput

func (o LookupVaultResultOutput) ToLookupVaultResultOutput() LookupVaultResultOutput

func (LookupVaultResultOutput) ToLookupVaultResultOutputWithContext

func (o LookupVaultResultOutput) ToLookupVaultResultOutputWithContext(ctx context.Context) LookupVaultResultOutput

type Vault

type Vault struct {
	pulumi.CustomResourceState

	// Whether to enable the Classic experience for VMware replication. If set to `false` VMware machines will be protected using the new stateless ASR replication appliance. Changing this forces a new resource to be created.
	ClassicVmwareReplicationEnabled pulumi.BoolPtrOutput `pulumi:"classicVmwareReplicationEnabled"`
	// Is cross region restore enabled for this Vault? Only can be `true`, when `storageModeType` is `GeoRedundant`. Defaults to `false`.
	//
	// > **Note:** Once `crossRegionRestoreEnabled` is set to `true`, changing it back to `false` forces a new Recovery Service Vault to be created.
	CrossRegionRestoreEnabled pulumi.BoolPtrOutput `pulumi:"crossRegionRestoreEnabled"`
	// An `encryption` block as defined below. Required with `identity`.
	//
	// !> **Note:** Once Encryption with your own key has been Enabled it's not possible to Disable it.
	Encryption VaultEncryptionPtrOutput `pulumi:"encryption"`
	// An `identity` block as defined below.
	Identity VaultIdentityPtrOutput `pulumi:"identity"`
	// Immutability Settings of vault, possible values include: `Locked`, `Unlocked` and `Disabled`.
	//
	// > **Note:** Once `immutability` is set to `Locked`, changing it to other values forces a new Recovery Services Vault to be created.
	Immutability pulumi.StringOutput `pulumi:"immutability"`
	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location pulumi.StringOutput `pulumi:"location"`
	// A `monitoring` block as defined below.
	Monitoring VaultMonitoringPtrOutput `pulumi:"monitoring"`
	// Specifies the name of the Recovery Services Vault. Recovery Service Vault name must be 2 - 50 characters long, start with a letter, contain only letters, numbers and hyphens. Changing this forces a new resource to be created.
	Name pulumi.StringOutput `pulumi:"name"`
	// Is it enabled to access the vault from public networks. Defaults to `true`.
	PublicNetworkAccessEnabled pulumi.BoolPtrOutput `pulumi:"publicNetworkAccessEnabled"`
	// The name of the resource group in which to create the Recovery Services Vault. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringOutput `pulumi:"resourceGroupName"`
	// Sets the vault's SKU. Possible values include: `Standard`, `RS0`.
	Sku pulumi.StringOutput `pulumi:"sku"`
	// Is soft delete enable for this Vault? Defaults to `true`.
	SoftDeleteEnabled pulumi.BoolPtrOutput `pulumi:"softDeleteEnabled"`
	// The storage type of the Recovery Services Vault. Possible values are `GeoRedundant`, `LocallyRedundant` and `ZoneRedundant`. Defaults to `GeoRedundant`.
	StorageModeType pulumi.StringPtrOutput `pulumi:"storageModeType"`
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapOutput `pulumi:"tags"`
}

Manages a Recovery Services Vault.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/recoveryservices"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("tfex-recovery_vault"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		_, err = recoveryservices.NewVault(ctx, "vault", &recoveryservices.VaultArgs{
			Name:              pulumi.String("example-recovery-vault"),
			Location:          example.Location,
			ResourceGroupName: example.Name,
			Sku:               pulumi.String("Standard"),
			SoftDeleteEnabled: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Recovery Services Vaults can be imported using the `resource id`, e.g.

```sh $ pulumi import azure:recoveryservices/vault:Vault vault1 /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.RecoveryServices/vaults/vault1 ```

func GetVault

func GetVault(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *VaultState, opts ...pulumi.ResourceOption) (*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.ResourceOption) (*Vault, error)

NewVault registers a new resource with the given unique name, arguments, and options.

func (*Vault) ElementType

func (*Vault) ElementType() reflect.Type

func (*Vault) ToVaultOutput

func (i *Vault) ToVaultOutput() VaultOutput

func (*Vault) ToVaultOutputWithContext

func (i *Vault) ToVaultOutputWithContext(ctx context.Context) VaultOutput

type VaultArgs

type VaultArgs struct {
	// Whether to enable the Classic experience for VMware replication. If set to `false` VMware machines will be protected using the new stateless ASR replication appliance. Changing this forces a new resource to be created.
	ClassicVmwareReplicationEnabled pulumi.BoolPtrInput
	// Is cross region restore enabled for this Vault? Only can be `true`, when `storageModeType` is `GeoRedundant`. Defaults to `false`.
	//
	// > **Note:** Once `crossRegionRestoreEnabled` is set to `true`, changing it back to `false` forces a new Recovery Service Vault to be created.
	CrossRegionRestoreEnabled pulumi.BoolPtrInput
	// An `encryption` block as defined below. Required with `identity`.
	//
	// !> **Note:** Once Encryption with your own key has been Enabled it's not possible to Disable it.
	Encryption VaultEncryptionPtrInput
	// An `identity` block as defined below.
	Identity VaultIdentityPtrInput
	// Immutability Settings of vault, possible values include: `Locked`, `Unlocked` and `Disabled`.
	//
	// > **Note:** Once `immutability` is set to `Locked`, changing it to other values forces a new Recovery Services Vault to be created.
	Immutability pulumi.StringPtrInput
	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// A `monitoring` block as defined below.
	Monitoring VaultMonitoringPtrInput
	// Specifies the name of the Recovery Services Vault. Recovery Service Vault name must be 2 - 50 characters long, start with a letter, contain only letters, numbers and hyphens. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// Is it enabled to access the vault from public networks. Defaults to `true`.
	PublicNetworkAccessEnabled pulumi.BoolPtrInput
	// The name of the resource group in which to create the Recovery Services Vault. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringInput
	// Sets the vault's SKU. Possible values include: `Standard`, `RS0`.
	Sku pulumi.StringInput
	// Is soft delete enable for this Vault? Defaults to `true`.
	SoftDeleteEnabled pulumi.BoolPtrInput
	// The storage type of the Recovery Services Vault. Possible values are `GeoRedundant`, `LocallyRedundant` and `ZoneRedundant`. Defaults to `GeoRedundant`.
	StorageModeType pulumi.StringPtrInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapInput
}

The set of arguments for constructing a Vault resource.

func (VaultArgs) ElementType

func (VaultArgs) ElementType() reflect.Type

type VaultArray

type VaultArray []VaultInput

func (VaultArray) ElementType

func (VaultArray) ElementType() reflect.Type

func (VaultArray) ToVaultArrayOutput

func (i VaultArray) ToVaultArrayOutput() VaultArrayOutput

func (VaultArray) ToVaultArrayOutputWithContext

func (i VaultArray) ToVaultArrayOutputWithContext(ctx context.Context) VaultArrayOutput

type VaultArrayInput

type VaultArrayInput interface {
	pulumi.Input

	ToVaultArrayOutput() VaultArrayOutput
	ToVaultArrayOutputWithContext(context.Context) VaultArrayOutput
}

VaultArrayInput is an input type that accepts VaultArray and VaultArrayOutput values. You can construct a concrete instance of `VaultArrayInput` via:

VaultArray{ VaultArgs{...} }

type VaultArrayOutput

type VaultArrayOutput struct{ *pulumi.OutputState }

func (VaultArrayOutput) ElementType

func (VaultArrayOutput) ElementType() reflect.Type

func (VaultArrayOutput) Index

func (VaultArrayOutput) ToVaultArrayOutput

func (o VaultArrayOutput) ToVaultArrayOutput() VaultArrayOutput

func (VaultArrayOutput) ToVaultArrayOutputWithContext

func (o VaultArrayOutput) ToVaultArrayOutputWithContext(ctx context.Context) VaultArrayOutput

type VaultEncryption

type VaultEncryption struct {
	// Enabling/Disabling the Double Encryption state.
	InfrastructureEncryptionEnabled bool `pulumi:"infrastructureEncryptionEnabled"`
	// The Key Vault key id used to encrypt this vault. Key managed by Vault Managed Hardware Security Module is also supported.
	KeyId string `pulumi:"keyId"`
	// Indicate that system assigned identity should be used or not. Defaults to `true`. Must be set to `false` when `userAssignedIdentityId` is set.
	//
	// !> **Note:** `useSystemAssignedIdentity` only be able to set to `false` for **new** vaults. Any vaults containing existing items registered or attempted to be registered to it are not supported. Details can be found in [the document](https://learn.microsoft.com/en-us/azure/backup/encryption-at-rest-with-cmk?tabs=portal#before-you-start)
	//
	// !> **Note:** Once `infrastructureEncryptionEnabled` has been set it's not possible to change it.
	UseSystemAssignedIdentity *bool `pulumi:"useSystemAssignedIdentity"`
	// Specifies the user assigned identity ID to be used.
	UserAssignedIdentityId *string `pulumi:"userAssignedIdentityId"`
}

type VaultEncryptionArgs

type VaultEncryptionArgs struct {
	// Enabling/Disabling the Double Encryption state.
	InfrastructureEncryptionEnabled pulumi.BoolInput `pulumi:"infrastructureEncryptionEnabled"`
	// The Key Vault key id used to encrypt this vault. Key managed by Vault Managed Hardware Security Module is also supported.
	KeyId pulumi.StringInput `pulumi:"keyId"`
	// Indicate that system assigned identity should be used or not. Defaults to `true`. Must be set to `false` when `userAssignedIdentityId` is set.
	//
	// !> **Note:** `useSystemAssignedIdentity` only be able to set to `false` for **new** vaults. Any vaults containing existing items registered or attempted to be registered to it are not supported. Details can be found in [the document](https://learn.microsoft.com/en-us/azure/backup/encryption-at-rest-with-cmk?tabs=portal#before-you-start)
	//
	// !> **Note:** Once `infrastructureEncryptionEnabled` has been set it's not possible to change it.
	UseSystemAssignedIdentity pulumi.BoolPtrInput `pulumi:"useSystemAssignedIdentity"`
	// Specifies the user assigned identity ID to be used.
	UserAssignedIdentityId pulumi.StringPtrInput `pulumi:"userAssignedIdentityId"`
}

func (VaultEncryptionArgs) ElementType

func (VaultEncryptionArgs) ElementType() reflect.Type

func (VaultEncryptionArgs) ToVaultEncryptionOutput

func (i VaultEncryptionArgs) ToVaultEncryptionOutput() VaultEncryptionOutput

func (VaultEncryptionArgs) ToVaultEncryptionOutputWithContext

func (i VaultEncryptionArgs) ToVaultEncryptionOutputWithContext(ctx context.Context) VaultEncryptionOutput

func (VaultEncryptionArgs) ToVaultEncryptionPtrOutput

func (i VaultEncryptionArgs) ToVaultEncryptionPtrOutput() VaultEncryptionPtrOutput

func (VaultEncryptionArgs) ToVaultEncryptionPtrOutputWithContext

func (i VaultEncryptionArgs) ToVaultEncryptionPtrOutputWithContext(ctx context.Context) VaultEncryptionPtrOutput

type VaultEncryptionInput

type VaultEncryptionInput interface {
	pulumi.Input

	ToVaultEncryptionOutput() VaultEncryptionOutput
	ToVaultEncryptionOutputWithContext(context.Context) VaultEncryptionOutput
}

VaultEncryptionInput is an input type that accepts VaultEncryptionArgs and VaultEncryptionOutput values. You can construct a concrete instance of `VaultEncryptionInput` via:

VaultEncryptionArgs{...}

type VaultEncryptionOutput

type VaultEncryptionOutput struct{ *pulumi.OutputState }

func (VaultEncryptionOutput) ElementType

func (VaultEncryptionOutput) ElementType() reflect.Type

func (VaultEncryptionOutput) InfrastructureEncryptionEnabled

func (o VaultEncryptionOutput) InfrastructureEncryptionEnabled() pulumi.BoolOutput

Enabling/Disabling the Double Encryption state.

func (VaultEncryptionOutput) KeyId

The Key Vault key id used to encrypt this vault. Key managed by Vault Managed Hardware Security Module is also supported.

func (VaultEncryptionOutput) ToVaultEncryptionOutput

func (o VaultEncryptionOutput) ToVaultEncryptionOutput() VaultEncryptionOutput

func (VaultEncryptionOutput) ToVaultEncryptionOutputWithContext

func (o VaultEncryptionOutput) ToVaultEncryptionOutputWithContext(ctx context.Context) VaultEncryptionOutput

func (VaultEncryptionOutput) ToVaultEncryptionPtrOutput

func (o VaultEncryptionOutput) ToVaultEncryptionPtrOutput() VaultEncryptionPtrOutput

func (VaultEncryptionOutput) ToVaultEncryptionPtrOutputWithContext

func (o VaultEncryptionOutput) ToVaultEncryptionPtrOutputWithContext(ctx context.Context) VaultEncryptionPtrOutput

func (VaultEncryptionOutput) UseSystemAssignedIdentity

func (o VaultEncryptionOutput) UseSystemAssignedIdentity() pulumi.BoolPtrOutput

Indicate that system assigned identity should be used or not. Defaults to `true`. Must be set to `false` when `userAssignedIdentityId` is set.

!> **Note:** `useSystemAssignedIdentity` only be able to set to `false` for **new** vaults. Any vaults containing existing items registered or attempted to be registered to it are not supported. Details can be found in [the document](https://learn.microsoft.com/en-us/azure/backup/encryption-at-rest-with-cmk?tabs=portal#before-you-start)

!> **Note:** Once `infrastructureEncryptionEnabled` has been set it's not possible to change it.

func (VaultEncryptionOutput) UserAssignedIdentityId

func (o VaultEncryptionOutput) UserAssignedIdentityId() pulumi.StringPtrOutput

Specifies the user assigned identity ID to be used.

type VaultEncryptionPtrInput

type VaultEncryptionPtrInput interface {
	pulumi.Input

	ToVaultEncryptionPtrOutput() VaultEncryptionPtrOutput
	ToVaultEncryptionPtrOutputWithContext(context.Context) VaultEncryptionPtrOutput
}

VaultEncryptionPtrInput is an input type that accepts VaultEncryptionArgs, VaultEncryptionPtr and VaultEncryptionPtrOutput values. You can construct a concrete instance of `VaultEncryptionPtrInput` via:

        VaultEncryptionArgs{...}

or:

        nil

type VaultEncryptionPtrOutput

type VaultEncryptionPtrOutput struct{ *pulumi.OutputState }

func (VaultEncryptionPtrOutput) Elem

func (VaultEncryptionPtrOutput) ElementType

func (VaultEncryptionPtrOutput) ElementType() reflect.Type

func (VaultEncryptionPtrOutput) InfrastructureEncryptionEnabled

func (o VaultEncryptionPtrOutput) InfrastructureEncryptionEnabled() pulumi.BoolPtrOutput

Enabling/Disabling the Double Encryption state.

func (VaultEncryptionPtrOutput) KeyId

The Key Vault key id used to encrypt this vault. Key managed by Vault Managed Hardware Security Module is also supported.

func (VaultEncryptionPtrOutput) ToVaultEncryptionPtrOutput

func (o VaultEncryptionPtrOutput) ToVaultEncryptionPtrOutput() VaultEncryptionPtrOutput

func (VaultEncryptionPtrOutput) ToVaultEncryptionPtrOutputWithContext

func (o VaultEncryptionPtrOutput) ToVaultEncryptionPtrOutputWithContext(ctx context.Context) VaultEncryptionPtrOutput

func (VaultEncryptionPtrOutput) UseSystemAssignedIdentity

func (o VaultEncryptionPtrOutput) UseSystemAssignedIdentity() pulumi.BoolPtrOutput

Indicate that system assigned identity should be used or not. Defaults to `true`. Must be set to `false` when `userAssignedIdentityId` is set.

!> **Note:** `useSystemAssignedIdentity` only be able to set to `false` for **new** vaults. Any vaults containing existing items registered or attempted to be registered to it are not supported. Details can be found in [the document](https://learn.microsoft.com/en-us/azure/backup/encryption-at-rest-with-cmk?tabs=portal#before-you-start)

!> **Note:** Once `infrastructureEncryptionEnabled` has been set it's not possible to change it.

func (VaultEncryptionPtrOutput) UserAssignedIdentityId

func (o VaultEncryptionPtrOutput) UserAssignedIdentityId() pulumi.StringPtrOutput

Specifies the user assigned identity ID to be used.

type VaultIdentity

type VaultIdentity struct {
	// A list of User Assigned Managed Identity IDs to be assigned to this App Configuration.
	//
	// > **NOTE:** `identityIds` is required when `type` is set to `UserAssigned` or `SystemAssigned, UserAssigned`.
	IdentityIds []string `pulumi:"identityIds"`
	// The Principal ID associated with this Managed Service Identity.
	PrincipalId *string `pulumi:"principalId"`
	// The Tenant ID associated with this Managed Service Identity.
	TenantId *string `pulumi:"tenantId"`
	// Specifies the type of Managed Service Identity that should be configured on this Recovery Services Vault. Possible values are `SystemAssigned`, `UserAssigned`, `SystemAssigned, UserAssigned` (to enable both).
	Type string `pulumi:"type"`
}

type VaultIdentityArgs

type VaultIdentityArgs struct {
	// A list of User Assigned Managed Identity IDs to be assigned to this App Configuration.
	//
	// > **NOTE:** `identityIds` is required when `type` is set to `UserAssigned` or `SystemAssigned, UserAssigned`.
	IdentityIds pulumi.StringArrayInput `pulumi:"identityIds"`
	// The Principal ID associated with this Managed Service Identity.
	PrincipalId pulumi.StringPtrInput `pulumi:"principalId"`
	// The Tenant ID associated with this Managed Service Identity.
	TenantId pulumi.StringPtrInput `pulumi:"tenantId"`
	// Specifies the type of Managed Service Identity that should be configured on this Recovery Services Vault. Possible values are `SystemAssigned`, `UserAssigned`, `SystemAssigned, UserAssigned` (to enable both).
	Type pulumi.StringInput `pulumi:"type"`
}

func (VaultIdentityArgs) ElementType

func (VaultIdentityArgs) ElementType() reflect.Type

func (VaultIdentityArgs) ToVaultIdentityOutput

func (i VaultIdentityArgs) ToVaultIdentityOutput() VaultIdentityOutput

func (VaultIdentityArgs) ToVaultIdentityOutputWithContext

func (i VaultIdentityArgs) ToVaultIdentityOutputWithContext(ctx context.Context) VaultIdentityOutput

func (VaultIdentityArgs) ToVaultIdentityPtrOutput

func (i VaultIdentityArgs) ToVaultIdentityPtrOutput() VaultIdentityPtrOutput

func (VaultIdentityArgs) ToVaultIdentityPtrOutputWithContext

func (i VaultIdentityArgs) ToVaultIdentityPtrOutputWithContext(ctx context.Context) VaultIdentityPtrOutput

type VaultIdentityInput

type VaultIdentityInput interface {
	pulumi.Input

	ToVaultIdentityOutput() VaultIdentityOutput
	ToVaultIdentityOutputWithContext(context.Context) VaultIdentityOutput
}

VaultIdentityInput is an input type that accepts VaultIdentityArgs and VaultIdentityOutput values. You can construct a concrete instance of `VaultIdentityInput` via:

VaultIdentityArgs{...}

type VaultIdentityOutput

type VaultIdentityOutput struct{ *pulumi.OutputState }

func (VaultIdentityOutput) ElementType

func (VaultIdentityOutput) ElementType() reflect.Type

func (VaultIdentityOutput) IdentityIds

A list of User Assigned Managed Identity IDs to be assigned to this App Configuration.

> **NOTE:** `identityIds` is required when `type` is set to `UserAssigned` or `SystemAssigned, UserAssigned`.

func (VaultIdentityOutput) PrincipalId

func (o VaultIdentityOutput) PrincipalId() pulumi.StringPtrOutput

The Principal ID associated with this Managed Service Identity.

func (VaultIdentityOutput) TenantId

The Tenant ID associated with this Managed Service Identity.

func (VaultIdentityOutput) ToVaultIdentityOutput

func (o VaultIdentityOutput) ToVaultIdentityOutput() VaultIdentityOutput

func (VaultIdentityOutput) ToVaultIdentityOutputWithContext

func (o VaultIdentityOutput) ToVaultIdentityOutputWithContext(ctx context.Context) VaultIdentityOutput

func (VaultIdentityOutput) ToVaultIdentityPtrOutput

func (o VaultIdentityOutput) ToVaultIdentityPtrOutput() VaultIdentityPtrOutput

func (VaultIdentityOutput) ToVaultIdentityPtrOutputWithContext

func (o VaultIdentityOutput) ToVaultIdentityPtrOutputWithContext(ctx context.Context) VaultIdentityPtrOutput

func (VaultIdentityOutput) Type

Specifies the type of Managed Service Identity that should be configured on this Recovery Services Vault. Possible values are `SystemAssigned`, `UserAssigned`, `SystemAssigned, UserAssigned` (to enable both).

type VaultIdentityPtrInput

type VaultIdentityPtrInput interface {
	pulumi.Input

	ToVaultIdentityPtrOutput() VaultIdentityPtrOutput
	ToVaultIdentityPtrOutputWithContext(context.Context) VaultIdentityPtrOutput
}

VaultIdentityPtrInput is an input type that accepts VaultIdentityArgs, VaultIdentityPtr and VaultIdentityPtrOutput values. You can construct a concrete instance of `VaultIdentityPtrInput` via:

        VaultIdentityArgs{...}

or:

        nil

type VaultIdentityPtrOutput

type VaultIdentityPtrOutput struct{ *pulumi.OutputState }

func (VaultIdentityPtrOutput) Elem

func (VaultIdentityPtrOutput) ElementType

func (VaultIdentityPtrOutput) ElementType() reflect.Type

func (VaultIdentityPtrOutput) IdentityIds

A list of User Assigned Managed Identity IDs to be assigned to this App Configuration.

> **NOTE:** `identityIds` is required when `type` is set to `UserAssigned` or `SystemAssigned, UserAssigned`.

func (VaultIdentityPtrOutput) PrincipalId

The Principal ID associated with this Managed Service Identity.

func (VaultIdentityPtrOutput) TenantId

The Tenant ID associated with this Managed Service Identity.

func (VaultIdentityPtrOutput) ToVaultIdentityPtrOutput

func (o VaultIdentityPtrOutput) ToVaultIdentityPtrOutput() VaultIdentityPtrOutput

func (VaultIdentityPtrOutput) ToVaultIdentityPtrOutputWithContext

func (o VaultIdentityPtrOutput) ToVaultIdentityPtrOutputWithContext(ctx context.Context) VaultIdentityPtrOutput

func (VaultIdentityPtrOutput) Type

Specifies the type of Managed Service Identity that should be configured on this Recovery Services Vault. Possible values are `SystemAssigned`, `UserAssigned`, `SystemAssigned, UserAssigned` (to enable both).

type VaultInput

type VaultInput interface {
	pulumi.Input

	ToVaultOutput() VaultOutput
	ToVaultOutputWithContext(ctx context.Context) VaultOutput
}

type VaultMap

type VaultMap map[string]VaultInput

func (VaultMap) ElementType

func (VaultMap) ElementType() reflect.Type

func (VaultMap) ToVaultMapOutput

func (i VaultMap) ToVaultMapOutput() VaultMapOutput

func (VaultMap) ToVaultMapOutputWithContext

func (i VaultMap) ToVaultMapOutputWithContext(ctx context.Context) VaultMapOutput

type VaultMapInput

type VaultMapInput interface {
	pulumi.Input

	ToVaultMapOutput() VaultMapOutput
	ToVaultMapOutputWithContext(context.Context) VaultMapOutput
}

VaultMapInput is an input type that accepts VaultMap and VaultMapOutput values. You can construct a concrete instance of `VaultMapInput` via:

VaultMap{ "key": VaultArgs{...} }

type VaultMapOutput

type VaultMapOutput struct{ *pulumi.OutputState }

func (VaultMapOutput) ElementType

func (VaultMapOutput) ElementType() reflect.Type

func (VaultMapOutput) MapIndex

func (VaultMapOutput) ToVaultMapOutput

func (o VaultMapOutput) ToVaultMapOutput() VaultMapOutput

func (VaultMapOutput) ToVaultMapOutputWithContext

func (o VaultMapOutput) ToVaultMapOutputWithContext(ctx context.Context) VaultMapOutput

type VaultMonitoring

type VaultMonitoring struct {
	// Enabling/Disabling built-in Azure Monitor alerts for security scenarios and job failure scenarios. Defaults to `true`.
	AlertsForAllJobFailuresEnabled *bool `pulumi:"alertsForAllJobFailuresEnabled"`
	// Enabling/Disabling alerts from the older (classic alerts) solution. Defaults to `true`. More details could be found [here](https://learn.microsoft.com/en-us/azure/backup/monitoring-and-alerts-overview).
	AlertsForCriticalOperationFailuresEnabled *bool `pulumi:"alertsForCriticalOperationFailuresEnabled"`
}

type VaultMonitoringArgs

type VaultMonitoringArgs struct {
	// Enabling/Disabling built-in Azure Monitor alerts for security scenarios and job failure scenarios. Defaults to `true`.
	AlertsForAllJobFailuresEnabled pulumi.BoolPtrInput `pulumi:"alertsForAllJobFailuresEnabled"`
	// Enabling/Disabling alerts from the older (classic alerts) solution. Defaults to `true`. More details could be found [here](https://learn.microsoft.com/en-us/azure/backup/monitoring-and-alerts-overview).
	AlertsForCriticalOperationFailuresEnabled pulumi.BoolPtrInput `pulumi:"alertsForCriticalOperationFailuresEnabled"`
}

func (VaultMonitoringArgs) ElementType

func (VaultMonitoringArgs) ElementType() reflect.Type

func (VaultMonitoringArgs) ToVaultMonitoringOutput

func (i VaultMonitoringArgs) ToVaultMonitoringOutput() VaultMonitoringOutput

func (VaultMonitoringArgs) ToVaultMonitoringOutputWithContext

func (i VaultMonitoringArgs) ToVaultMonitoringOutputWithContext(ctx context.Context) VaultMonitoringOutput

func (VaultMonitoringArgs) ToVaultMonitoringPtrOutput

func (i VaultMonitoringArgs) ToVaultMonitoringPtrOutput() VaultMonitoringPtrOutput

func (VaultMonitoringArgs) ToVaultMonitoringPtrOutputWithContext

func (i VaultMonitoringArgs) ToVaultMonitoringPtrOutputWithContext(ctx context.Context) VaultMonitoringPtrOutput

type VaultMonitoringInput

type VaultMonitoringInput interface {
	pulumi.Input

	ToVaultMonitoringOutput() VaultMonitoringOutput
	ToVaultMonitoringOutputWithContext(context.Context) VaultMonitoringOutput
}

VaultMonitoringInput is an input type that accepts VaultMonitoringArgs and VaultMonitoringOutput values. You can construct a concrete instance of `VaultMonitoringInput` via:

VaultMonitoringArgs{...}

type VaultMonitoringOutput

type VaultMonitoringOutput struct{ *pulumi.OutputState }

func (VaultMonitoringOutput) AlertsForAllJobFailuresEnabled

func (o VaultMonitoringOutput) AlertsForAllJobFailuresEnabled() pulumi.BoolPtrOutput

Enabling/Disabling built-in Azure Monitor alerts for security scenarios and job failure scenarios. Defaults to `true`.

func (VaultMonitoringOutput) AlertsForCriticalOperationFailuresEnabled

func (o VaultMonitoringOutput) AlertsForCriticalOperationFailuresEnabled() pulumi.BoolPtrOutput

Enabling/Disabling alerts from the older (classic alerts) solution. Defaults to `true`. More details could be found [here](https://learn.microsoft.com/en-us/azure/backup/monitoring-and-alerts-overview).

func (VaultMonitoringOutput) ElementType

func (VaultMonitoringOutput) ElementType() reflect.Type

func (VaultMonitoringOutput) ToVaultMonitoringOutput

func (o VaultMonitoringOutput) ToVaultMonitoringOutput() VaultMonitoringOutput

func (VaultMonitoringOutput) ToVaultMonitoringOutputWithContext

func (o VaultMonitoringOutput) ToVaultMonitoringOutputWithContext(ctx context.Context) VaultMonitoringOutput

func (VaultMonitoringOutput) ToVaultMonitoringPtrOutput

func (o VaultMonitoringOutput) ToVaultMonitoringPtrOutput() VaultMonitoringPtrOutput

func (VaultMonitoringOutput) ToVaultMonitoringPtrOutputWithContext

func (o VaultMonitoringOutput) ToVaultMonitoringPtrOutputWithContext(ctx context.Context) VaultMonitoringPtrOutput

type VaultMonitoringPtrInput

type VaultMonitoringPtrInput interface {
	pulumi.Input

	ToVaultMonitoringPtrOutput() VaultMonitoringPtrOutput
	ToVaultMonitoringPtrOutputWithContext(context.Context) VaultMonitoringPtrOutput
}

VaultMonitoringPtrInput is an input type that accepts VaultMonitoringArgs, VaultMonitoringPtr and VaultMonitoringPtrOutput values. You can construct a concrete instance of `VaultMonitoringPtrInput` via:

        VaultMonitoringArgs{...}

or:

        nil

type VaultMonitoringPtrOutput

type VaultMonitoringPtrOutput struct{ *pulumi.OutputState }

func (VaultMonitoringPtrOutput) AlertsForAllJobFailuresEnabled

func (o VaultMonitoringPtrOutput) AlertsForAllJobFailuresEnabled() pulumi.BoolPtrOutput

Enabling/Disabling built-in Azure Monitor alerts for security scenarios and job failure scenarios. Defaults to `true`.

func (VaultMonitoringPtrOutput) AlertsForCriticalOperationFailuresEnabled

func (o VaultMonitoringPtrOutput) AlertsForCriticalOperationFailuresEnabled() pulumi.BoolPtrOutput

Enabling/Disabling alerts from the older (classic alerts) solution. Defaults to `true`. More details could be found [here](https://learn.microsoft.com/en-us/azure/backup/monitoring-and-alerts-overview).

func (VaultMonitoringPtrOutput) Elem

func (VaultMonitoringPtrOutput) ElementType

func (VaultMonitoringPtrOutput) ElementType() reflect.Type

func (VaultMonitoringPtrOutput) ToVaultMonitoringPtrOutput

func (o VaultMonitoringPtrOutput) ToVaultMonitoringPtrOutput() VaultMonitoringPtrOutput

func (VaultMonitoringPtrOutput) ToVaultMonitoringPtrOutputWithContext

func (o VaultMonitoringPtrOutput) ToVaultMonitoringPtrOutputWithContext(ctx context.Context) VaultMonitoringPtrOutput

type VaultOutput

type VaultOutput struct{ *pulumi.OutputState }

func (VaultOutput) ClassicVmwareReplicationEnabled

func (o VaultOutput) ClassicVmwareReplicationEnabled() pulumi.BoolPtrOutput

Whether to enable the Classic experience for VMware replication. If set to `false` VMware machines will be protected using the new stateless ASR replication appliance. Changing this forces a new resource to be created.

func (VaultOutput) CrossRegionRestoreEnabled

func (o VaultOutput) CrossRegionRestoreEnabled() pulumi.BoolPtrOutput

Is cross region restore enabled for this Vault? Only can be `true`, when `storageModeType` is `GeoRedundant`. Defaults to `false`.

> **Note:** Once `crossRegionRestoreEnabled` is set to `true`, changing it back to `false` forces a new Recovery Service Vault to be created.

func (VaultOutput) ElementType

func (VaultOutput) ElementType() reflect.Type

func (VaultOutput) Encryption

func (o VaultOutput) Encryption() VaultEncryptionPtrOutput

An `encryption` block as defined below. Required with `identity`.

!> **Note:** Once Encryption with your own key has been Enabled it's not possible to Disable it.

func (VaultOutput) Identity

func (o VaultOutput) Identity() VaultIdentityPtrOutput

An `identity` block as defined below.

func (VaultOutput) Immutability

func (o VaultOutput) Immutability() pulumi.StringOutput

Immutability Settings of vault, possible values include: `Locked`, `Unlocked` and `Disabled`.

> **Note:** Once `immutability` is set to `Locked`, changing it to other values forces a new Recovery Services Vault to be created.

func (VaultOutput) Location

func (o VaultOutput) Location() pulumi.StringOutput

Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.

func (VaultOutput) Monitoring

func (o VaultOutput) Monitoring() VaultMonitoringPtrOutput

A `monitoring` block as defined below.

func (VaultOutput) Name

func (o VaultOutput) Name() pulumi.StringOutput

Specifies the name of the Recovery Services Vault. Recovery Service Vault name must be 2 - 50 characters long, start with a letter, contain only letters, numbers and hyphens. Changing this forces a new resource to be created.

func (VaultOutput) PublicNetworkAccessEnabled

func (o VaultOutput) PublicNetworkAccessEnabled() pulumi.BoolPtrOutput

Is it enabled to access the vault from public networks. Defaults to `true`.

func (VaultOutput) ResourceGroupName

func (o VaultOutput) 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 (VaultOutput) Sku

Sets the vault's SKU. Possible values include: `Standard`, `RS0`.

func (VaultOutput) SoftDeleteEnabled

func (o VaultOutput) SoftDeleteEnabled() pulumi.BoolPtrOutput

Is soft delete enable for this Vault? Defaults to `true`.

func (VaultOutput) StorageModeType

func (o VaultOutput) StorageModeType() pulumi.StringPtrOutput

The storage type of the Recovery Services Vault. Possible values are `GeoRedundant`, `LocallyRedundant` and `ZoneRedundant`. Defaults to `GeoRedundant`.

func (VaultOutput) Tags

A mapping of tags to assign to the resource.

func (VaultOutput) ToVaultOutput

func (o VaultOutput) ToVaultOutput() VaultOutput

func (VaultOutput) ToVaultOutputWithContext

func (o VaultOutput) ToVaultOutputWithContext(ctx context.Context) VaultOutput

type VaultResourceGuardAssociation

type VaultResourceGuardAssociation struct {
	pulumi.CustomResourceState

	// ID of the Resource Guard which should be associated with. Changing this forces a new resource to be created.
	ResourceGuardId pulumi.StringOutput `pulumi:"resourceGuardId"`
	// ID of the Recovery Services Vault which should be associated with. Changing this forces a new resource to be created.
	VaultId pulumi.StringOutput `pulumi:"vaultId"`
}

Manages an association of a Resource Guard and Recovery Services Vault.

## Example Usage

```go package main

import (

"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/core"
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/dataprotection"
"github.com/pulumi/pulumi-azure/sdk/v6/go/azure/recoveryservices"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		example, err := core.NewResourceGroup(ctx, "example", &core.ResourceGroupArgs{
			Name:     pulumi.String("example-resources"),
			Location: pulumi.String("West Europe"),
		})
		if err != nil {
			return err
		}
		_, err = dataprotection.NewResourceGuard(ctx, "example", &dataprotection.ResourceGuardArgs{
			Name:              pulumi.String("example-resourceguard"),
			ResourceGroupName: example.Name,
			Location:          example.Location,
		})
		if err != nil {
			return err
		}
		_, err = recoveryservices.NewVault(ctx, "vault", &recoveryservices.VaultArgs{
			Name:              pulumi.String("example-recovery-vault"),
			Location:          example.Location,
			ResourceGroupName: example.Name,
			Sku:               pulumi.String("Standard"),
			SoftDeleteEnabled: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		_, err = recoveryservices.NewVaultResourceGuardAssociation(ctx, "test", &recoveryservices.VaultResourceGuardAssociationArgs{
			VaultId:         pulumi.Any(testAzurermRecoveryServicesVault.Id),
			ResourceGuardId: pulumi.Any(testAzurermDataProtectionResourceGuard.Id),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

Resource Guards can be imported using the `resource id`, e.g.

```sh $ pulumi import azure:recoveryservices/vaultResourceGuardAssociation:VaultResourceGuardAssociation example /subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/group1/providers/Microsoft.RecoveryServices/vaults/vault1/backupResourceGuardProxies/proxy1 ```

func GetVaultResourceGuardAssociation

func GetVaultResourceGuardAssociation(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *VaultResourceGuardAssociationState, opts ...pulumi.ResourceOption) (*VaultResourceGuardAssociation, error)

GetVaultResourceGuardAssociation gets an existing VaultResourceGuardAssociation 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 NewVaultResourceGuardAssociation

func NewVaultResourceGuardAssociation(ctx *pulumi.Context,
	name string, args *VaultResourceGuardAssociationArgs, opts ...pulumi.ResourceOption) (*VaultResourceGuardAssociation, error)

NewVaultResourceGuardAssociation registers a new resource with the given unique name, arguments, and options.

func (*VaultResourceGuardAssociation) ElementType

func (*VaultResourceGuardAssociation) ToVaultResourceGuardAssociationOutput

func (i *VaultResourceGuardAssociation) ToVaultResourceGuardAssociationOutput() VaultResourceGuardAssociationOutput

func (*VaultResourceGuardAssociation) ToVaultResourceGuardAssociationOutputWithContext

func (i *VaultResourceGuardAssociation) ToVaultResourceGuardAssociationOutputWithContext(ctx context.Context) VaultResourceGuardAssociationOutput

type VaultResourceGuardAssociationArgs

type VaultResourceGuardAssociationArgs struct {
	// ID of the Resource Guard which should be associated with. Changing this forces a new resource to be created.
	ResourceGuardId pulumi.StringInput
	// ID of the Recovery Services Vault which should be associated with. Changing this forces a new resource to be created.
	VaultId pulumi.StringInput
}

The set of arguments for constructing a VaultResourceGuardAssociation resource.

func (VaultResourceGuardAssociationArgs) ElementType

type VaultResourceGuardAssociationArray

type VaultResourceGuardAssociationArray []VaultResourceGuardAssociationInput

func (VaultResourceGuardAssociationArray) ElementType

func (VaultResourceGuardAssociationArray) ToVaultResourceGuardAssociationArrayOutput

func (i VaultResourceGuardAssociationArray) ToVaultResourceGuardAssociationArrayOutput() VaultResourceGuardAssociationArrayOutput

func (VaultResourceGuardAssociationArray) ToVaultResourceGuardAssociationArrayOutputWithContext

func (i VaultResourceGuardAssociationArray) ToVaultResourceGuardAssociationArrayOutputWithContext(ctx context.Context) VaultResourceGuardAssociationArrayOutput

type VaultResourceGuardAssociationArrayInput

type VaultResourceGuardAssociationArrayInput interface {
	pulumi.Input

	ToVaultResourceGuardAssociationArrayOutput() VaultResourceGuardAssociationArrayOutput
	ToVaultResourceGuardAssociationArrayOutputWithContext(context.Context) VaultResourceGuardAssociationArrayOutput
}

VaultResourceGuardAssociationArrayInput is an input type that accepts VaultResourceGuardAssociationArray and VaultResourceGuardAssociationArrayOutput values. You can construct a concrete instance of `VaultResourceGuardAssociationArrayInput` via:

VaultResourceGuardAssociationArray{ VaultResourceGuardAssociationArgs{...} }

type VaultResourceGuardAssociationArrayOutput

type VaultResourceGuardAssociationArrayOutput struct{ *pulumi.OutputState }

func (VaultResourceGuardAssociationArrayOutput) ElementType

func (VaultResourceGuardAssociationArrayOutput) Index

func (VaultResourceGuardAssociationArrayOutput) ToVaultResourceGuardAssociationArrayOutput

func (o VaultResourceGuardAssociationArrayOutput) ToVaultResourceGuardAssociationArrayOutput() VaultResourceGuardAssociationArrayOutput

func (VaultResourceGuardAssociationArrayOutput) ToVaultResourceGuardAssociationArrayOutputWithContext

func (o VaultResourceGuardAssociationArrayOutput) ToVaultResourceGuardAssociationArrayOutputWithContext(ctx context.Context) VaultResourceGuardAssociationArrayOutput

type VaultResourceGuardAssociationInput

type VaultResourceGuardAssociationInput interface {
	pulumi.Input

	ToVaultResourceGuardAssociationOutput() VaultResourceGuardAssociationOutput
	ToVaultResourceGuardAssociationOutputWithContext(ctx context.Context) VaultResourceGuardAssociationOutput
}

type VaultResourceGuardAssociationMap

type VaultResourceGuardAssociationMap map[string]VaultResourceGuardAssociationInput

func (VaultResourceGuardAssociationMap) ElementType

func (VaultResourceGuardAssociationMap) ToVaultResourceGuardAssociationMapOutput

func (i VaultResourceGuardAssociationMap) ToVaultResourceGuardAssociationMapOutput() VaultResourceGuardAssociationMapOutput

func (VaultResourceGuardAssociationMap) ToVaultResourceGuardAssociationMapOutputWithContext

func (i VaultResourceGuardAssociationMap) ToVaultResourceGuardAssociationMapOutputWithContext(ctx context.Context) VaultResourceGuardAssociationMapOutput

type VaultResourceGuardAssociationMapInput

type VaultResourceGuardAssociationMapInput interface {
	pulumi.Input

	ToVaultResourceGuardAssociationMapOutput() VaultResourceGuardAssociationMapOutput
	ToVaultResourceGuardAssociationMapOutputWithContext(context.Context) VaultResourceGuardAssociationMapOutput
}

VaultResourceGuardAssociationMapInput is an input type that accepts VaultResourceGuardAssociationMap and VaultResourceGuardAssociationMapOutput values. You can construct a concrete instance of `VaultResourceGuardAssociationMapInput` via:

VaultResourceGuardAssociationMap{ "key": VaultResourceGuardAssociationArgs{...} }

type VaultResourceGuardAssociationMapOutput

type VaultResourceGuardAssociationMapOutput struct{ *pulumi.OutputState }

func (VaultResourceGuardAssociationMapOutput) ElementType

func (VaultResourceGuardAssociationMapOutput) MapIndex

func (VaultResourceGuardAssociationMapOutput) ToVaultResourceGuardAssociationMapOutput

func (o VaultResourceGuardAssociationMapOutput) ToVaultResourceGuardAssociationMapOutput() VaultResourceGuardAssociationMapOutput

func (VaultResourceGuardAssociationMapOutput) ToVaultResourceGuardAssociationMapOutputWithContext

func (o VaultResourceGuardAssociationMapOutput) ToVaultResourceGuardAssociationMapOutputWithContext(ctx context.Context) VaultResourceGuardAssociationMapOutput

type VaultResourceGuardAssociationOutput

type VaultResourceGuardAssociationOutput struct{ *pulumi.OutputState }

func (VaultResourceGuardAssociationOutput) ElementType

func (VaultResourceGuardAssociationOutput) ResourceGuardId

ID of the Resource Guard which should be associated with. Changing this forces a new resource to be created.

func (VaultResourceGuardAssociationOutput) ToVaultResourceGuardAssociationOutput

func (o VaultResourceGuardAssociationOutput) ToVaultResourceGuardAssociationOutput() VaultResourceGuardAssociationOutput

func (VaultResourceGuardAssociationOutput) ToVaultResourceGuardAssociationOutputWithContext

func (o VaultResourceGuardAssociationOutput) ToVaultResourceGuardAssociationOutputWithContext(ctx context.Context) VaultResourceGuardAssociationOutput

func (VaultResourceGuardAssociationOutput) VaultId

ID of the Recovery Services Vault which should be associated with. Changing this forces a new resource to be created.

type VaultResourceGuardAssociationState

type VaultResourceGuardAssociationState struct {
	// ID of the Resource Guard which should be associated with. Changing this forces a new resource to be created.
	ResourceGuardId pulumi.StringPtrInput
	// ID of the Recovery Services Vault which should be associated with. Changing this forces a new resource to be created.
	VaultId pulumi.StringPtrInput
}

func (VaultResourceGuardAssociationState) ElementType

type VaultState

type VaultState struct {
	// Whether to enable the Classic experience for VMware replication. If set to `false` VMware machines will be protected using the new stateless ASR replication appliance. Changing this forces a new resource to be created.
	ClassicVmwareReplicationEnabled pulumi.BoolPtrInput
	// Is cross region restore enabled for this Vault? Only can be `true`, when `storageModeType` is `GeoRedundant`. Defaults to `false`.
	//
	// > **Note:** Once `crossRegionRestoreEnabled` is set to `true`, changing it back to `false` forces a new Recovery Service Vault to be created.
	CrossRegionRestoreEnabled pulumi.BoolPtrInput
	// An `encryption` block as defined below. Required with `identity`.
	//
	// !> **Note:** Once Encryption with your own key has been Enabled it's not possible to Disable it.
	Encryption VaultEncryptionPtrInput
	// An `identity` block as defined below.
	Identity VaultIdentityPtrInput
	// Immutability Settings of vault, possible values include: `Locked`, `Unlocked` and `Disabled`.
	//
	// > **Note:** Once `immutability` is set to `Locked`, changing it to other values forces a new Recovery Services Vault to be created.
	Immutability pulumi.StringPtrInput
	// Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created.
	Location pulumi.StringPtrInput
	// A `monitoring` block as defined below.
	Monitoring VaultMonitoringPtrInput
	// Specifies the name of the Recovery Services Vault. Recovery Service Vault name must be 2 - 50 characters long, start with a letter, contain only letters, numbers and hyphens. Changing this forces a new resource to be created.
	Name pulumi.StringPtrInput
	// Is it enabled to access the vault from public networks. Defaults to `true`.
	PublicNetworkAccessEnabled pulumi.BoolPtrInput
	// The name of the resource group in which to create the Recovery Services Vault. Changing this forces a new resource to be created.
	ResourceGroupName pulumi.StringPtrInput
	// Sets the vault's SKU. Possible values include: `Standard`, `RS0`.
	Sku pulumi.StringPtrInput
	// Is soft delete enable for this Vault? Defaults to `true`.
	SoftDeleteEnabled pulumi.BoolPtrInput
	// The storage type of the Recovery Services Vault. Possible values are `GeoRedundant`, `LocallyRedundant` and `ZoneRedundant`. Defaults to `GeoRedundant`.
	StorageModeType pulumi.StringPtrInput
	// A mapping of tags to assign to the resource.
	Tags pulumi.StringMapInput
}

func (VaultState) ElementType

func (VaultState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL