Documentation ¶
Index ¶
- type LookupVaultArgs
- type LookupVaultOutputArgs
- type LookupVaultResult
- type LookupVaultResultOutput
- func (LookupVaultResultOutput) ElementType() reflect.Type
- func (o LookupVaultResultOutput) Id() pulumi.StringOutput
- func (o LookupVaultResultOutput) Location() pulumi.StringOutput
- func (o LookupVaultResultOutput) Name() pulumi.StringOutput
- func (o LookupVaultResultOutput) ResourceGroupName() pulumi.StringOutput
- func (o LookupVaultResultOutput) Sku() pulumi.StringOutput
- func (o LookupVaultResultOutput) Tags() pulumi.StringMapOutput
- func (o LookupVaultResultOutput) ToLookupVaultResultOutput() LookupVaultResultOutput
- func (o LookupVaultResultOutput) ToLookupVaultResultOutputWithContext(ctx context.Context) LookupVaultResultOutput
- type Vault
- type VaultArgs
- type VaultArray
- type VaultArrayInput
- type VaultArrayOutput
- type VaultEncryption
- type VaultEncryptionArgs
- func (VaultEncryptionArgs) ElementType() reflect.Type
- func (i VaultEncryptionArgs) ToVaultEncryptionOutput() VaultEncryptionOutput
- func (i VaultEncryptionArgs) ToVaultEncryptionOutputWithContext(ctx context.Context) VaultEncryptionOutput
- func (i VaultEncryptionArgs) ToVaultEncryptionPtrOutput() VaultEncryptionPtrOutput
- func (i VaultEncryptionArgs) ToVaultEncryptionPtrOutputWithContext(ctx context.Context) VaultEncryptionPtrOutput
- type VaultEncryptionInput
- type VaultEncryptionOutput
- func (VaultEncryptionOutput) ElementType() reflect.Type
- func (o VaultEncryptionOutput) InfrastructureEncryptionEnabled() pulumi.BoolOutput
- func (o VaultEncryptionOutput) KeyId() pulumi.StringOutput
- func (o VaultEncryptionOutput) ToVaultEncryptionOutput() VaultEncryptionOutput
- func (o VaultEncryptionOutput) ToVaultEncryptionOutputWithContext(ctx context.Context) VaultEncryptionOutput
- func (o VaultEncryptionOutput) ToVaultEncryptionPtrOutput() VaultEncryptionPtrOutput
- func (o VaultEncryptionOutput) ToVaultEncryptionPtrOutputWithContext(ctx context.Context) VaultEncryptionPtrOutput
- func (o VaultEncryptionOutput) UseSystemAssignedIdentity() pulumi.BoolPtrOutput
- func (o VaultEncryptionOutput) UserAssignedIdentityId() pulumi.StringPtrOutput
- type VaultEncryptionPtrInput
- type VaultEncryptionPtrOutput
- func (o VaultEncryptionPtrOutput) Elem() VaultEncryptionOutput
- func (VaultEncryptionPtrOutput) ElementType() reflect.Type
- func (o VaultEncryptionPtrOutput) InfrastructureEncryptionEnabled() pulumi.BoolPtrOutput
- func (o VaultEncryptionPtrOutput) KeyId() pulumi.StringPtrOutput
- func (o VaultEncryptionPtrOutput) ToVaultEncryptionPtrOutput() VaultEncryptionPtrOutput
- func (o VaultEncryptionPtrOutput) ToVaultEncryptionPtrOutputWithContext(ctx context.Context) VaultEncryptionPtrOutput
- func (o VaultEncryptionPtrOutput) UseSystemAssignedIdentity() pulumi.BoolPtrOutput
- func (o VaultEncryptionPtrOutput) UserAssignedIdentityId() pulumi.StringPtrOutput
- type VaultIdentity
- type VaultIdentityArgs
- func (VaultIdentityArgs) ElementType() reflect.Type
- func (i VaultIdentityArgs) ToVaultIdentityOutput() VaultIdentityOutput
- func (i VaultIdentityArgs) ToVaultIdentityOutputWithContext(ctx context.Context) VaultIdentityOutput
- func (i VaultIdentityArgs) ToVaultIdentityPtrOutput() VaultIdentityPtrOutput
- func (i VaultIdentityArgs) ToVaultIdentityPtrOutputWithContext(ctx context.Context) VaultIdentityPtrOutput
- type VaultIdentityInput
- type VaultIdentityOutput
- func (VaultIdentityOutput) ElementType() reflect.Type
- func (o VaultIdentityOutput) IdentityIds() pulumi.StringArrayOutput
- func (o VaultIdentityOutput) PrincipalId() pulumi.StringPtrOutput
- func (o VaultIdentityOutput) TenantId() pulumi.StringPtrOutput
- func (o VaultIdentityOutput) ToVaultIdentityOutput() VaultIdentityOutput
- func (o VaultIdentityOutput) ToVaultIdentityOutputWithContext(ctx context.Context) VaultIdentityOutput
- func (o VaultIdentityOutput) ToVaultIdentityPtrOutput() VaultIdentityPtrOutput
- func (o VaultIdentityOutput) ToVaultIdentityPtrOutputWithContext(ctx context.Context) VaultIdentityPtrOutput
- func (o VaultIdentityOutput) Type() pulumi.StringOutput
- type VaultIdentityPtrInput
- type VaultIdentityPtrOutput
- func (o VaultIdentityPtrOutput) Elem() VaultIdentityOutput
- func (VaultIdentityPtrOutput) ElementType() reflect.Type
- func (o VaultIdentityPtrOutput) IdentityIds() pulumi.StringArrayOutput
- func (o VaultIdentityPtrOutput) PrincipalId() pulumi.StringPtrOutput
- func (o VaultIdentityPtrOutput) TenantId() pulumi.StringPtrOutput
- func (o VaultIdentityPtrOutput) ToVaultIdentityPtrOutput() VaultIdentityPtrOutput
- func (o VaultIdentityPtrOutput) ToVaultIdentityPtrOutputWithContext(ctx context.Context) VaultIdentityPtrOutput
- func (o VaultIdentityPtrOutput) Type() pulumi.StringPtrOutput
- type VaultInput
- type VaultMap
- type VaultMapInput
- type VaultMapOutput
- type VaultMonitoring
- type VaultMonitoringArgs
- func (VaultMonitoringArgs) ElementType() reflect.Type
- func (i VaultMonitoringArgs) ToVaultMonitoringOutput() VaultMonitoringOutput
- func (i VaultMonitoringArgs) ToVaultMonitoringOutputWithContext(ctx context.Context) VaultMonitoringOutput
- func (i VaultMonitoringArgs) ToVaultMonitoringPtrOutput() VaultMonitoringPtrOutput
- func (i VaultMonitoringArgs) ToVaultMonitoringPtrOutputWithContext(ctx context.Context) VaultMonitoringPtrOutput
- type VaultMonitoringInput
- type VaultMonitoringOutput
- func (o VaultMonitoringOutput) AlertsForAllJobFailuresEnabled() pulumi.BoolPtrOutput
- func (o VaultMonitoringOutput) AlertsForCriticalOperationFailuresEnabled() pulumi.BoolPtrOutput
- func (VaultMonitoringOutput) ElementType() reflect.Type
- func (o VaultMonitoringOutput) ToVaultMonitoringOutput() VaultMonitoringOutput
- func (o VaultMonitoringOutput) ToVaultMonitoringOutputWithContext(ctx context.Context) VaultMonitoringOutput
- func (o VaultMonitoringOutput) ToVaultMonitoringPtrOutput() VaultMonitoringPtrOutput
- func (o VaultMonitoringOutput) ToVaultMonitoringPtrOutputWithContext(ctx context.Context) VaultMonitoringPtrOutput
- type VaultMonitoringPtrInput
- type VaultMonitoringPtrOutput
- func (o VaultMonitoringPtrOutput) AlertsForAllJobFailuresEnabled() pulumi.BoolPtrOutput
- func (o VaultMonitoringPtrOutput) AlertsForCriticalOperationFailuresEnabled() pulumi.BoolPtrOutput
- func (o VaultMonitoringPtrOutput) Elem() VaultMonitoringOutput
- func (VaultMonitoringPtrOutput) ElementType() reflect.Type
- func (o VaultMonitoringPtrOutput) ToVaultMonitoringPtrOutput() VaultMonitoringPtrOutput
- func (o VaultMonitoringPtrOutput) ToVaultMonitoringPtrOutputWithContext(ctx context.Context) VaultMonitoringPtrOutput
- type VaultOutput
- func (o VaultOutput) ClassicVmwareReplicationEnabled() pulumi.BoolOutput
- func (o VaultOutput) CrossRegionRestoreEnabled() pulumi.BoolPtrOutput
- func (VaultOutput) ElementType() reflect.Type
- func (o VaultOutput) Encryption() VaultEncryptionPtrOutput
- func (o VaultOutput) Identity() VaultIdentityPtrOutput
- func (o VaultOutput) Immutability() pulumi.StringOutput
- func (o VaultOutput) Location() pulumi.StringOutput
- func (o VaultOutput) Monitoring() VaultMonitoringPtrOutput
- func (o VaultOutput) Name() pulumi.StringOutput
- func (o VaultOutput) PublicNetworkAccessEnabled() pulumi.BoolPtrOutput
- func (o VaultOutput) ResourceGroupName() pulumi.StringOutput
- func (o VaultOutput) Sku() pulumi.StringOutput
- func (o VaultOutput) SoftDeleteEnabled() pulumi.BoolPtrOutput
- func (o VaultOutput) StorageModeType() pulumi.StringPtrOutput
- func (o VaultOutput) Tags() pulumi.StringMapOutput
- func (o VaultOutput) ToVaultOutput() VaultOutput
- func (o VaultOutput) ToVaultOutputWithContext(ctx context.Context) VaultOutput
- type VaultResourceGuardAssociation
- func (*VaultResourceGuardAssociation) ElementType() reflect.Type
- func (i *VaultResourceGuardAssociation) ToVaultResourceGuardAssociationOutput() VaultResourceGuardAssociationOutput
- func (i *VaultResourceGuardAssociation) ToVaultResourceGuardAssociationOutputWithContext(ctx context.Context) VaultResourceGuardAssociationOutput
- type VaultResourceGuardAssociationArgs
- type VaultResourceGuardAssociationArray
- func (VaultResourceGuardAssociationArray) ElementType() reflect.Type
- func (i VaultResourceGuardAssociationArray) ToVaultResourceGuardAssociationArrayOutput() VaultResourceGuardAssociationArrayOutput
- func (i VaultResourceGuardAssociationArray) ToVaultResourceGuardAssociationArrayOutputWithContext(ctx context.Context) VaultResourceGuardAssociationArrayOutput
- type VaultResourceGuardAssociationArrayInput
- type VaultResourceGuardAssociationArrayOutput
- func (VaultResourceGuardAssociationArrayOutput) ElementType() reflect.Type
- func (o VaultResourceGuardAssociationArrayOutput) Index(i pulumi.IntInput) VaultResourceGuardAssociationOutput
- func (o VaultResourceGuardAssociationArrayOutput) ToVaultResourceGuardAssociationArrayOutput() VaultResourceGuardAssociationArrayOutput
- func (o VaultResourceGuardAssociationArrayOutput) ToVaultResourceGuardAssociationArrayOutputWithContext(ctx context.Context) VaultResourceGuardAssociationArrayOutput
- type VaultResourceGuardAssociationInput
- type VaultResourceGuardAssociationMap
- func (VaultResourceGuardAssociationMap) ElementType() reflect.Type
- func (i VaultResourceGuardAssociationMap) ToVaultResourceGuardAssociationMapOutput() VaultResourceGuardAssociationMapOutput
- func (i VaultResourceGuardAssociationMap) ToVaultResourceGuardAssociationMapOutputWithContext(ctx context.Context) VaultResourceGuardAssociationMapOutput
- type VaultResourceGuardAssociationMapInput
- type VaultResourceGuardAssociationMapOutput
- func (VaultResourceGuardAssociationMapOutput) ElementType() reflect.Type
- func (o VaultResourceGuardAssociationMapOutput) MapIndex(k pulumi.StringInput) VaultResourceGuardAssociationOutput
- func (o VaultResourceGuardAssociationMapOutput) ToVaultResourceGuardAssociationMapOutput() VaultResourceGuardAssociationMapOutput
- func (o VaultResourceGuardAssociationMapOutput) ToVaultResourceGuardAssociationMapOutputWithContext(ctx context.Context) VaultResourceGuardAssociationMapOutput
- type VaultResourceGuardAssociationOutput
- func (VaultResourceGuardAssociationOutput) ElementType() reflect.Type
- func (o VaultResourceGuardAssociationOutput) Name() pulumi.StringOutputdeprecated
- func (o VaultResourceGuardAssociationOutput) ResourceGuardId() pulumi.StringOutput
- func (o VaultResourceGuardAssociationOutput) ToVaultResourceGuardAssociationOutput() VaultResourceGuardAssociationOutput
- func (o VaultResourceGuardAssociationOutput) ToVaultResourceGuardAssociationOutputWithContext(ctx context.Context) VaultResourceGuardAssociationOutput
- func (o VaultResourceGuardAssociationOutput) VaultId() pulumi.StringOutput
- type VaultResourceGuardAssociationState
- type VaultState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
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"` // 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/v5/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 LookupVaultOutput ¶
func LookupVaultOutput(ctx *pulumi.Context, args LookupVaultOutputArgs, opts ...pulumi.InvokeOption) LookupVaultResultOutput
func (LookupVaultResultOutput) ElementType ¶
func (LookupVaultResultOutput) ElementType() reflect.Type
func (LookupVaultResultOutput) Id ¶
func (o LookupVaultResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupVaultResultOutput) Location ¶
func (o LookupVaultResultOutput) Location() pulumi.StringOutput
The Azure location where the resource resides.
func (LookupVaultResultOutput) Name ¶
func (o LookupVaultResultOutput) Name() pulumi.StringOutput
func (LookupVaultResultOutput) ResourceGroupName ¶
func (o LookupVaultResultOutput) ResourceGroupName() pulumi.StringOutput
func (LookupVaultResultOutput) Sku ¶
func (o LookupVaultResultOutput) Sku() pulumi.StringOutput
The vault's current SKU.
func (LookupVaultResultOutput) Tags ¶
func (o LookupVaultResultOutput) Tags() pulumi.StringMapOutput
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.BoolOutput `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/v5/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v5/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) 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 ¶
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 (o VaultArrayOutput) Index(i pulumi.IntInput) VaultOutput
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`. // // !> **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`. // // !> **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 ¶
func (o VaultEncryptionOutput) KeyId() pulumi.StringOutput
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`.
!> **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 ¶ added in v5.32.0
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
func VaultEncryptionPtr ¶
func VaultEncryptionPtr(v *VaultEncryptionArgs) VaultEncryptionPtrInput
type VaultEncryptionPtrOutput ¶
type VaultEncryptionPtrOutput struct{ *pulumi.OutputState }
func (VaultEncryptionPtrOutput) Elem ¶
func (o VaultEncryptionPtrOutput) Elem() VaultEncryptionOutput
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 ¶
func (o VaultEncryptionPtrOutput) KeyId() pulumi.StringPtrOutput
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`.
!> **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 ¶ added in v5.32.0
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 ¶ added in v5.32.0
func (o VaultIdentityOutput) IdentityIds() pulumi.StringArrayOutput
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 ¶
func (o VaultIdentityOutput) TenantId() pulumi.StringPtrOutput
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 ¶
func (o VaultIdentityOutput) Type() pulumi.StringOutput
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
func VaultIdentityPtr ¶
func VaultIdentityPtr(v *VaultIdentityArgs) VaultIdentityPtrInput
type VaultIdentityPtrOutput ¶
type VaultIdentityPtrOutput struct{ *pulumi.OutputState }
func (VaultIdentityPtrOutput) Elem ¶
func (o VaultIdentityPtrOutput) Elem() VaultIdentityOutput
func (VaultIdentityPtrOutput) ElementType ¶
func (VaultIdentityPtrOutput) ElementType() reflect.Type
func (VaultIdentityPtrOutput) IdentityIds ¶ added in v5.32.0
func (o VaultIdentityPtrOutput) IdentityIds() pulumi.StringArrayOutput
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 ¶
func (o VaultIdentityPtrOutput) PrincipalId() pulumi.StringPtrOutput
The Principal ID associated with this Managed Service Identity.
func (VaultIdentityPtrOutput) TenantId ¶
func (o VaultIdentityPtrOutput) TenantId() pulumi.StringPtrOutput
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 ¶
func (o VaultIdentityPtrOutput) Type() pulumi.StringPtrOutput
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) 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 (o VaultMapOutput) MapIndex(k pulumi.StringInput) VaultOutput
func (VaultMapOutput) ToVaultMapOutput ¶
func (o VaultMapOutput) ToVaultMapOutput() VaultMapOutput
func (VaultMapOutput) ToVaultMapOutputWithContext ¶
func (o VaultMapOutput) ToVaultMapOutputWithContext(ctx context.Context) VaultMapOutput
type VaultMonitoring ¶ added in v5.44.0
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 ¶ added in v5.44.0
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 ¶ added in v5.44.0
func (VaultMonitoringArgs) ElementType() reflect.Type
func (VaultMonitoringArgs) ToVaultMonitoringOutput ¶ added in v5.44.0
func (i VaultMonitoringArgs) ToVaultMonitoringOutput() VaultMonitoringOutput
func (VaultMonitoringArgs) ToVaultMonitoringOutputWithContext ¶ added in v5.44.0
func (i VaultMonitoringArgs) ToVaultMonitoringOutputWithContext(ctx context.Context) VaultMonitoringOutput
func (VaultMonitoringArgs) ToVaultMonitoringPtrOutput ¶ added in v5.44.0
func (i VaultMonitoringArgs) ToVaultMonitoringPtrOutput() VaultMonitoringPtrOutput
func (VaultMonitoringArgs) ToVaultMonitoringPtrOutputWithContext ¶ added in v5.44.0
func (i VaultMonitoringArgs) ToVaultMonitoringPtrOutputWithContext(ctx context.Context) VaultMonitoringPtrOutput
type VaultMonitoringInput ¶ added in v5.44.0
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 ¶ added in v5.44.0
type VaultMonitoringOutput struct{ *pulumi.OutputState }
func (VaultMonitoringOutput) AlertsForAllJobFailuresEnabled ¶ added in v5.44.0
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 ¶ added in v5.44.0
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 ¶ added in v5.44.0
func (VaultMonitoringOutput) ElementType() reflect.Type
func (VaultMonitoringOutput) ToVaultMonitoringOutput ¶ added in v5.44.0
func (o VaultMonitoringOutput) ToVaultMonitoringOutput() VaultMonitoringOutput
func (VaultMonitoringOutput) ToVaultMonitoringOutputWithContext ¶ added in v5.44.0
func (o VaultMonitoringOutput) ToVaultMonitoringOutputWithContext(ctx context.Context) VaultMonitoringOutput
func (VaultMonitoringOutput) ToVaultMonitoringPtrOutput ¶ added in v5.44.0
func (o VaultMonitoringOutput) ToVaultMonitoringPtrOutput() VaultMonitoringPtrOutput
func (VaultMonitoringOutput) ToVaultMonitoringPtrOutputWithContext ¶ added in v5.44.0
func (o VaultMonitoringOutput) ToVaultMonitoringPtrOutputWithContext(ctx context.Context) VaultMonitoringPtrOutput
type VaultMonitoringPtrInput ¶ added in v5.44.0
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
func VaultMonitoringPtr ¶ added in v5.44.0
func VaultMonitoringPtr(v *VaultMonitoringArgs) VaultMonitoringPtrInput
type VaultMonitoringPtrOutput ¶ added in v5.44.0
type VaultMonitoringPtrOutput struct{ *pulumi.OutputState }
func (VaultMonitoringPtrOutput) AlertsForAllJobFailuresEnabled ¶ added in v5.44.0
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 ¶ added in v5.44.0
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 ¶ added in v5.44.0
func (o VaultMonitoringPtrOutput) Elem() VaultMonitoringOutput
func (VaultMonitoringPtrOutput) ElementType ¶ added in v5.44.0
func (VaultMonitoringPtrOutput) ElementType() reflect.Type
func (VaultMonitoringPtrOutput) ToVaultMonitoringPtrOutput ¶ added in v5.44.0
func (o VaultMonitoringPtrOutput) ToVaultMonitoringPtrOutput() VaultMonitoringPtrOutput
func (VaultMonitoringPtrOutput) ToVaultMonitoringPtrOutputWithContext ¶ added in v5.44.0
func (o VaultMonitoringPtrOutput) ToVaultMonitoringPtrOutputWithContext(ctx context.Context) VaultMonitoringPtrOutput
type VaultOutput ¶
type VaultOutput struct{ *pulumi.OutputState }
func (VaultOutput) ClassicVmwareReplicationEnabled ¶ added in v5.36.0
func (o VaultOutput) ClassicVmwareReplicationEnabled() pulumi.BoolOutput
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 ¶ added in v5.5.0
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 ¶ added in v5.5.0
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 ¶ added in v5.5.0
func (o VaultOutput) Identity() VaultIdentityPtrOutput
An `identity` block as defined below.
func (VaultOutput) Immutability ¶ added in v5.32.0
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 ¶ added in v5.5.0
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 ¶ added in v5.44.0
func (o VaultOutput) Monitoring() VaultMonitoringPtrOutput
A `monitoring` block as defined below.
func (VaultOutput) Name ¶ added in v5.5.0
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 ¶ added in v5.32.0
func (o VaultOutput) PublicNetworkAccessEnabled() pulumi.BoolPtrOutput
Is it enabled to access the vault from public networks. Defaults to `true`.
func (VaultOutput) ResourceGroupName ¶ added in v5.5.0
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 ¶ added in v5.5.0
func (o VaultOutput) Sku() pulumi.StringOutput
Sets the vault's SKU. Possible values include: `Standard`, `RS0`.
func (VaultOutput) SoftDeleteEnabled ¶ added in v5.5.0
func (o VaultOutput) SoftDeleteEnabled() pulumi.BoolPtrOutput
Is soft delete enable for this Vault? Defaults to `true`.
func (VaultOutput) StorageModeType ¶ added in v5.5.0
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 ¶ added in v5.5.0
func (o VaultOutput) Tags() pulumi.StringMapOutput
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 ¶ added in v5.44.0
type VaultResourceGuardAssociation struct { pulumi.CustomResourceState // Specifies the name of the Recovery Services Vault Resource Guard Association. Changing this forces a new resource to be created. Defaults to `VaultProxy`. // // > **NOTE:** `name` has been deprecated and will be removed in version 4.0 of the provider. // // Deprecated: The `name` field will be removed in v4.0 of the AzureRM Provider. Name pulumi.StringOutput `pulumi:"name"` // 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/v5/go/azure/core" "github.com/pulumi/pulumi-azure/sdk/v5/go/azure/dataprotection" "github.com/pulumi/pulumi-azure/sdk/v5/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{ Name: pulumi.String("VaultProxy"), 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 ¶ added in v5.44.0
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 ¶ added in v5.44.0
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 ¶ added in v5.44.0
func (*VaultResourceGuardAssociation) ElementType() reflect.Type
func (*VaultResourceGuardAssociation) ToVaultResourceGuardAssociationOutput ¶ added in v5.44.0
func (i *VaultResourceGuardAssociation) ToVaultResourceGuardAssociationOutput() VaultResourceGuardAssociationOutput
func (*VaultResourceGuardAssociation) ToVaultResourceGuardAssociationOutputWithContext ¶ added in v5.44.0
func (i *VaultResourceGuardAssociation) ToVaultResourceGuardAssociationOutputWithContext(ctx context.Context) VaultResourceGuardAssociationOutput
type VaultResourceGuardAssociationArgs ¶ added in v5.44.0
type VaultResourceGuardAssociationArgs struct { // Specifies the name of the Recovery Services Vault Resource Guard Association. Changing this forces a new resource to be created. Defaults to `VaultProxy`. // // > **NOTE:** `name` has been deprecated and will be removed in version 4.0 of the provider. // // Deprecated: The `name` field will be removed in v4.0 of the AzureRM Provider. Name pulumi.StringPtrInput // 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 ¶ added in v5.44.0
func (VaultResourceGuardAssociationArgs) ElementType() reflect.Type
type VaultResourceGuardAssociationArray ¶ added in v5.44.0
type VaultResourceGuardAssociationArray []VaultResourceGuardAssociationInput
func (VaultResourceGuardAssociationArray) ElementType ¶ added in v5.44.0
func (VaultResourceGuardAssociationArray) ElementType() reflect.Type
func (VaultResourceGuardAssociationArray) ToVaultResourceGuardAssociationArrayOutput ¶ added in v5.44.0
func (i VaultResourceGuardAssociationArray) ToVaultResourceGuardAssociationArrayOutput() VaultResourceGuardAssociationArrayOutput
func (VaultResourceGuardAssociationArray) ToVaultResourceGuardAssociationArrayOutputWithContext ¶ added in v5.44.0
func (i VaultResourceGuardAssociationArray) ToVaultResourceGuardAssociationArrayOutputWithContext(ctx context.Context) VaultResourceGuardAssociationArrayOutput
type VaultResourceGuardAssociationArrayInput ¶ added in v5.44.0
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 ¶ added in v5.44.0
type VaultResourceGuardAssociationArrayOutput struct{ *pulumi.OutputState }
func (VaultResourceGuardAssociationArrayOutput) ElementType ¶ added in v5.44.0
func (VaultResourceGuardAssociationArrayOutput) ElementType() reflect.Type
func (VaultResourceGuardAssociationArrayOutput) ToVaultResourceGuardAssociationArrayOutput ¶ added in v5.44.0
func (o VaultResourceGuardAssociationArrayOutput) ToVaultResourceGuardAssociationArrayOutput() VaultResourceGuardAssociationArrayOutput
func (VaultResourceGuardAssociationArrayOutput) ToVaultResourceGuardAssociationArrayOutputWithContext ¶ added in v5.44.0
func (o VaultResourceGuardAssociationArrayOutput) ToVaultResourceGuardAssociationArrayOutputWithContext(ctx context.Context) VaultResourceGuardAssociationArrayOutput
type VaultResourceGuardAssociationInput ¶ added in v5.44.0
type VaultResourceGuardAssociationInput interface { pulumi.Input ToVaultResourceGuardAssociationOutput() VaultResourceGuardAssociationOutput ToVaultResourceGuardAssociationOutputWithContext(ctx context.Context) VaultResourceGuardAssociationOutput }
type VaultResourceGuardAssociationMap ¶ added in v5.44.0
type VaultResourceGuardAssociationMap map[string]VaultResourceGuardAssociationInput
func (VaultResourceGuardAssociationMap) ElementType ¶ added in v5.44.0
func (VaultResourceGuardAssociationMap) ElementType() reflect.Type
func (VaultResourceGuardAssociationMap) ToVaultResourceGuardAssociationMapOutput ¶ added in v5.44.0
func (i VaultResourceGuardAssociationMap) ToVaultResourceGuardAssociationMapOutput() VaultResourceGuardAssociationMapOutput
func (VaultResourceGuardAssociationMap) ToVaultResourceGuardAssociationMapOutputWithContext ¶ added in v5.44.0
func (i VaultResourceGuardAssociationMap) ToVaultResourceGuardAssociationMapOutputWithContext(ctx context.Context) VaultResourceGuardAssociationMapOutput
type VaultResourceGuardAssociationMapInput ¶ added in v5.44.0
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 ¶ added in v5.44.0
type VaultResourceGuardAssociationMapOutput struct{ *pulumi.OutputState }
func (VaultResourceGuardAssociationMapOutput) ElementType ¶ added in v5.44.0
func (VaultResourceGuardAssociationMapOutput) ElementType() reflect.Type
func (VaultResourceGuardAssociationMapOutput) MapIndex ¶ added in v5.44.0
func (o VaultResourceGuardAssociationMapOutput) MapIndex(k pulumi.StringInput) VaultResourceGuardAssociationOutput
func (VaultResourceGuardAssociationMapOutput) ToVaultResourceGuardAssociationMapOutput ¶ added in v5.44.0
func (o VaultResourceGuardAssociationMapOutput) ToVaultResourceGuardAssociationMapOutput() VaultResourceGuardAssociationMapOutput
func (VaultResourceGuardAssociationMapOutput) ToVaultResourceGuardAssociationMapOutputWithContext ¶ added in v5.44.0
func (o VaultResourceGuardAssociationMapOutput) ToVaultResourceGuardAssociationMapOutputWithContext(ctx context.Context) VaultResourceGuardAssociationMapOutput
type VaultResourceGuardAssociationOutput ¶ added in v5.44.0
type VaultResourceGuardAssociationOutput struct{ *pulumi.OutputState }
func (VaultResourceGuardAssociationOutput) ElementType ¶ added in v5.44.0
func (VaultResourceGuardAssociationOutput) ElementType() reflect.Type
func (VaultResourceGuardAssociationOutput) Name
deprecated
added in
v5.44.0
func (o VaultResourceGuardAssociationOutput) Name() pulumi.StringOutput
Specifies the name of the Recovery Services Vault Resource Guard Association. Changing this forces a new resource to be created. Defaults to `VaultProxy`.
> **NOTE:** `name` has been deprecated and will be removed in version 4.0 of the provider.
Deprecated: The `name` field will be removed in v4.0 of the AzureRM Provider.
func (VaultResourceGuardAssociationOutput) ResourceGuardId ¶ added in v5.44.0
func (o VaultResourceGuardAssociationOutput) ResourceGuardId() pulumi.StringOutput
ID of the Resource Guard which should be associated with. Changing this forces a new resource to be created.
func (VaultResourceGuardAssociationOutput) ToVaultResourceGuardAssociationOutput ¶ added in v5.44.0
func (o VaultResourceGuardAssociationOutput) ToVaultResourceGuardAssociationOutput() VaultResourceGuardAssociationOutput
func (VaultResourceGuardAssociationOutput) ToVaultResourceGuardAssociationOutputWithContext ¶ added in v5.44.0
func (o VaultResourceGuardAssociationOutput) ToVaultResourceGuardAssociationOutputWithContext(ctx context.Context) VaultResourceGuardAssociationOutput
func (VaultResourceGuardAssociationOutput) VaultId ¶ added in v5.44.0
func (o VaultResourceGuardAssociationOutput) VaultId() pulumi.StringOutput
ID of the Recovery Services Vault which should be associated with. Changing this forces a new resource to be created.
type VaultResourceGuardAssociationState ¶ added in v5.44.0
type VaultResourceGuardAssociationState struct { // Specifies the name of the Recovery Services Vault Resource Guard Association. Changing this forces a new resource to be created. Defaults to `VaultProxy`. // // > **NOTE:** `name` has been deprecated and will be removed in version 4.0 of the provider. // // Deprecated: The `name` field will be removed in v4.0 of the AzureRM Provider. Name pulumi.StringPtrInput // 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 ¶ added in v5.44.0
func (VaultResourceGuardAssociationState) ElementType() reflect.Type
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