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
- 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
- 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) 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) 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 VaultOutput
- func (o VaultOutput) CrossRegionRestoreEnabled() pulumi.BoolPtrOutput
- func (VaultOutput) ElementType() reflect.Type
- func (o VaultOutput) Encryption() VaultEncryptionPtrOutput
- func (o VaultOutput) Identity() VaultIdentityPtrOutput
- func (o VaultOutput) Location() pulumi.StringOutput
- func (o VaultOutput) Name() pulumi.StringOutput
- 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 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 // Is cross region restore enabled for this Vault? Only can be `true`, when `storageModeType` is `GeoRedundant`. Defaults to `false`. CrossRegionRestoreEnabled pulumi.BoolPtrOutput `pulumi:"crossRegionRestoreEnabled"` // An `encryption` block as defined below. Required with `identity`. Encryption VaultEncryptionPtrOutput `pulumi:"encryption"` // An `identity` block as defined below. Identity VaultIdentityPtrOutput `pulumi:"identity"` // Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. Location pulumi.StringOutput `pulumi:"location"` // 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"` // 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{ Location: pulumi.String("West Europe"), }) if err != nil { return err } _, err = recoveryservices.NewVault(ctx, "vault", &recoveryservices.VaultArgs{ 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 { // Is cross region restore enabled for this Vault? Only can be `true`, when `storageModeType` is `GeoRedundant`. Defaults to `false`. CrossRegionRestoreEnabled pulumi.BoolPtrInput // An `encryption` block as defined below. Required with `identity`. Encryption VaultEncryptionPtrInput // An `identity` block as defined below. Identity VaultIdentityPtrInput // Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. Location pulumi.StringPtrInput // 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 // 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. At this time the only possible value is `true`. Defaults to `true`. UseSystemAssignedIdentity *bool `pulumi:"useSystemAssignedIdentity"` }
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. At this time the only possible value is `true`. Defaults to `true`. UseSystemAssignedIdentity pulumi.BoolPtrInput `pulumi:"useSystemAssignedIdentity"` }
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. At this time the only possible value is `true`. Defaults to `true`.
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. At this time the only possible value is `true`. Defaults to `true`.
type VaultIdentity ¶
type VaultIdentity struct { // 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. The only possible value is `SystemAssigned`. Type string `pulumi:"type"` }
type VaultIdentityArgs ¶
type VaultIdentityArgs struct { // 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. The only possible value is `SystemAssigned`. 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) 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. The only possible value is `SystemAssigned`.
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) 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. The only possible value is `SystemAssigned`.
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 VaultOutput ¶
type VaultOutput struct{ *pulumi.OutputState }
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`.
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`.
func (VaultOutput) Identity ¶ added in v5.5.0
func (o VaultOutput) Identity() VaultIdentityPtrOutput
An `identity` block as defined below.
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) 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) 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 VaultState ¶
type VaultState struct { // Is cross region restore enabled for this Vault? Only can be `true`, when `storageModeType` is `GeoRedundant`. Defaults to `false`. CrossRegionRestoreEnabled pulumi.BoolPtrInput // An `encryption` block as defined below. Required with `identity`. Encryption VaultEncryptionPtrInput // An `identity` block as defined below. Identity VaultIdentityPtrInput // Specifies the supported Azure location where the resource exists. Changing this forces a new resource to be created. Location pulumi.StringPtrInput // 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 // 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