hcp

package
v0.1.14 Latest Latest
Warning

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

Go to latest
Published: Dec 2, 2022 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PkgVersion

func PkgVersion() (semver.Version, error)

PkgVersion uses reflection to determine the version of the current package. If a version cannot be determined, v1 will be assumed. The second return value is always nil.

Types

type AwsNetworkPeering

type AwsNetworkPeering struct {
	pulumi.CustomResourceState

	// The time that the network peering was created.
	CreatedAt pulumi.StringOutput `pulumi:"createdAt"`
	// The time after which the network peering will be considered expired if it hasn't transitioned into `ACCEPTED` or `ACTIVE` state.
	ExpiresAt pulumi.StringOutput `pulumi:"expiresAt"`
	// The ID of the HashiCorp Virtual Network (HVN).
	HvnId pulumi.StringOutput `pulumi:"hvnId"`
	// The ID of the HCP organization where the network peering is located. Always matches the HVN's organization.
	OrganizationId pulumi.StringOutput `pulumi:"organizationId"`
	// The account ID of the peer VPC in AWS.
	PeerAccountId pulumi.StringOutput `pulumi:"peerAccountId"`
	// The ID of the peer VPC in AWS.
	PeerVpcId pulumi.StringOutput `pulumi:"peerVpcId"`
	// The region of the peer VPC in AWS.
	PeerVpcRegion pulumi.StringOutput `pulumi:"peerVpcRegion"`
	// The ID of the network peering.
	PeeringId pulumi.StringOutput `pulumi:"peeringId"`
	// The ID of the HCP project where the network peering is located. Always matches the HVN's project.
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
	// The peering connection ID used by AWS.
	ProviderPeeringId pulumi.StringOutput `pulumi:"providerPeeringId"`
	// A unique URL identifying the network peering.
	SelfLink pulumi.StringOutput `pulumi:"selfLink"`
	// The state of the network peering.
	State pulumi.StringOutput `pulumi:"state"`
}

The AWS network peering resource allows you to manage a network peering between an HVN and a peer AWS VPC.

## Example Usage

```go package main

import (

"github.com/grapl-security/pulumi-hcp/sdk/go/hcp"
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws"
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		main, err := hcp.NewHvn(ctx, "main", &hcp.HvnArgs{
			HvnId:         pulumi.String("main-hvn"),
			CloudProvider: pulumi.String("aws"),
			Region:        pulumi.String("us-west-2"),
			CidrBlock:     pulumi.String("172.25.16.0/20"),
		})
		if err != nil {
			return err
		}
		peerVpc, err := ec2.NewVpc(ctx, "peerVpc", &ec2.VpcArgs{
			CidrBlock: pulumi.String("172.31.0.0/16"),
		})
		if err != nil {
			return err
		}
		peerArn := aws.GetArnOutput(ctx, GetArnOutputArgs{
			Arn: peerVpc.Arn,
		}, nil)
		dev, err := hcp.NewAwsNetworkPeering(ctx, "dev", &hcp.AwsNetworkPeeringArgs{
			HvnId:         main.HvnId,
			PeeringId:     pulumi.String("dev"),
			PeerVpcId:     peerVpc.ID(),
			PeerAccountId: peerVpc.OwnerId,
			PeerVpcRegion: peerArn.ApplyT(func(peerArn GetArnResult) (string, error) {
				return peerArn.Region, nil
			}).(pulumi.StringOutput),
		})
		if err != nil {
			return err
		}
		_, err = hcp.NewHvnRoute(ctx, "main-to-dev", &hcp.HvnRouteArgs{
			HvnLink:         main.SelfLink,
			HvnRouteId:      pulumi.String("main-to-dev"),
			DestinationCidr: pulumi.String("172.31.0.0/16"),
			TargetLink:      dev.SelfLink,
		})
		if err != nil {
			return err
		}
		_, err = ec2.NewVpcPeeringConnectionAccepter(ctx, "peerVpcPeeringConnectionAccepter", &ec2.VpcPeeringConnectionAccepterArgs{
			VpcPeeringConnectionId: dev.ProviderPeeringId,
			AutoAccept:             pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

The import ID is {hvn_id}:{peering_id}

```sh

$ pulumi import hcp:index/awsNetworkPeering:AwsNetworkPeering peer main-hvn:11eb60b3-d4ec-5eed-aacc-0242ac120015

```

func GetAwsNetworkPeering

func GetAwsNetworkPeering(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AwsNetworkPeeringState, opts ...pulumi.ResourceOption) (*AwsNetworkPeering, error)

GetAwsNetworkPeering gets an existing AwsNetworkPeering 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 NewAwsNetworkPeering

func NewAwsNetworkPeering(ctx *pulumi.Context,
	name string, args *AwsNetworkPeeringArgs, opts ...pulumi.ResourceOption) (*AwsNetworkPeering, error)

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

func (*AwsNetworkPeering) ElementType

func (*AwsNetworkPeering) ElementType() reflect.Type

func (*AwsNetworkPeering) ToAwsNetworkPeeringOutput

func (i *AwsNetworkPeering) ToAwsNetworkPeeringOutput() AwsNetworkPeeringOutput

func (*AwsNetworkPeering) ToAwsNetworkPeeringOutputWithContext

func (i *AwsNetworkPeering) ToAwsNetworkPeeringOutputWithContext(ctx context.Context) AwsNetworkPeeringOutput

type AwsNetworkPeeringArgs

type AwsNetworkPeeringArgs struct {
	// The ID of the HashiCorp Virtual Network (HVN).
	HvnId pulumi.StringInput
	// The account ID of the peer VPC in AWS.
	PeerAccountId pulumi.StringInput
	// The ID of the peer VPC in AWS.
	PeerVpcId pulumi.StringInput
	// The region of the peer VPC in AWS.
	PeerVpcRegion pulumi.StringInput
	// The ID of the network peering.
	PeeringId pulumi.StringInput
}

The set of arguments for constructing a AwsNetworkPeering resource.

func (AwsNetworkPeeringArgs) ElementType

func (AwsNetworkPeeringArgs) ElementType() reflect.Type

type AwsNetworkPeeringArray

type AwsNetworkPeeringArray []AwsNetworkPeeringInput

func (AwsNetworkPeeringArray) ElementType

func (AwsNetworkPeeringArray) ElementType() reflect.Type

func (AwsNetworkPeeringArray) ToAwsNetworkPeeringArrayOutput

func (i AwsNetworkPeeringArray) ToAwsNetworkPeeringArrayOutput() AwsNetworkPeeringArrayOutput

func (AwsNetworkPeeringArray) ToAwsNetworkPeeringArrayOutputWithContext

func (i AwsNetworkPeeringArray) ToAwsNetworkPeeringArrayOutputWithContext(ctx context.Context) AwsNetworkPeeringArrayOutput

type AwsNetworkPeeringArrayInput

type AwsNetworkPeeringArrayInput interface {
	pulumi.Input

	ToAwsNetworkPeeringArrayOutput() AwsNetworkPeeringArrayOutput
	ToAwsNetworkPeeringArrayOutputWithContext(context.Context) AwsNetworkPeeringArrayOutput
}

AwsNetworkPeeringArrayInput is an input type that accepts AwsNetworkPeeringArray and AwsNetworkPeeringArrayOutput values. You can construct a concrete instance of `AwsNetworkPeeringArrayInput` via:

AwsNetworkPeeringArray{ AwsNetworkPeeringArgs{...} }

type AwsNetworkPeeringArrayOutput

type AwsNetworkPeeringArrayOutput struct{ *pulumi.OutputState }

func (AwsNetworkPeeringArrayOutput) ElementType

func (AwsNetworkPeeringArrayOutput) Index

func (AwsNetworkPeeringArrayOutput) ToAwsNetworkPeeringArrayOutput

func (o AwsNetworkPeeringArrayOutput) ToAwsNetworkPeeringArrayOutput() AwsNetworkPeeringArrayOutput

func (AwsNetworkPeeringArrayOutput) ToAwsNetworkPeeringArrayOutputWithContext

func (o AwsNetworkPeeringArrayOutput) ToAwsNetworkPeeringArrayOutputWithContext(ctx context.Context) AwsNetworkPeeringArrayOutput

type AwsNetworkPeeringInput

type AwsNetworkPeeringInput interface {
	pulumi.Input

	ToAwsNetworkPeeringOutput() AwsNetworkPeeringOutput
	ToAwsNetworkPeeringOutputWithContext(ctx context.Context) AwsNetworkPeeringOutput
}

type AwsNetworkPeeringMap

type AwsNetworkPeeringMap map[string]AwsNetworkPeeringInput

func (AwsNetworkPeeringMap) ElementType

func (AwsNetworkPeeringMap) ElementType() reflect.Type

func (AwsNetworkPeeringMap) ToAwsNetworkPeeringMapOutput

func (i AwsNetworkPeeringMap) ToAwsNetworkPeeringMapOutput() AwsNetworkPeeringMapOutput

func (AwsNetworkPeeringMap) ToAwsNetworkPeeringMapOutputWithContext

func (i AwsNetworkPeeringMap) ToAwsNetworkPeeringMapOutputWithContext(ctx context.Context) AwsNetworkPeeringMapOutput

type AwsNetworkPeeringMapInput

type AwsNetworkPeeringMapInput interface {
	pulumi.Input

	ToAwsNetworkPeeringMapOutput() AwsNetworkPeeringMapOutput
	ToAwsNetworkPeeringMapOutputWithContext(context.Context) AwsNetworkPeeringMapOutput
}

AwsNetworkPeeringMapInput is an input type that accepts AwsNetworkPeeringMap and AwsNetworkPeeringMapOutput values. You can construct a concrete instance of `AwsNetworkPeeringMapInput` via:

AwsNetworkPeeringMap{ "key": AwsNetworkPeeringArgs{...} }

type AwsNetworkPeeringMapOutput

type AwsNetworkPeeringMapOutput struct{ *pulumi.OutputState }

func (AwsNetworkPeeringMapOutput) ElementType

func (AwsNetworkPeeringMapOutput) ElementType() reflect.Type

func (AwsNetworkPeeringMapOutput) MapIndex

func (AwsNetworkPeeringMapOutput) ToAwsNetworkPeeringMapOutput

func (o AwsNetworkPeeringMapOutput) ToAwsNetworkPeeringMapOutput() AwsNetworkPeeringMapOutput

func (AwsNetworkPeeringMapOutput) ToAwsNetworkPeeringMapOutputWithContext

func (o AwsNetworkPeeringMapOutput) ToAwsNetworkPeeringMapOutputWithContext(ctx context.Context) AwsNetworkPeeringMapOutput

type AwsNetworkPeeringOutput

type AwsNetworkPeeringOutput struct{ *pulumi.OutputState }

func (AwsNetworkPeeringOutput) CreatedAt added in v0.1.4

The time that the network peering was created.

func (AwsNetworkPeeringOutput) ElementType

func (AwsNetworkPeeringOutput) ElementType() reflect.Type

func (AwsNetworkPeeringOutput) ExpiresAt added in v0.1.4

The time after which the network peering will be considered expired if it hasn't transitioned into `ACCEPTED` or `ACTIVE` state.

func (AwsNetworkPeeringOutput) HvnId added in v0.1.4

The ID of the HashiCorp Virtual Network (HVN).

func (AwsNetworkPeeringOutput) OrganizationId added in v0.1.4

func (o AwsNetworkPeeringOutput) OrganizationId() pulumi.StringOutput

The ID of the HCP organization where the network peering is located. Always matches the HVN's organization.

func (AwsNetworkPeeringOutput) PeerAccountId added in v0.1.4

func (o AwsNetworkPeeringOutput) PeerAccountId() pulumi.StringOutput

The account ID of the peer VPC in AWS.

func (AwsNetworkPeeringOutput) PeerVpcId added in v0.1.4

The ID of the peer VPC in AWS.

func (AwsNetworkPeeringOutput) PeerVpcRegion added in v0.1.4

func (o AwsNetworkPeeringOutput) PeerVpcRegion() pulumi.StringOutput

The region of the peer VPC in AWS.

func (AwsNetworkPeeringOutput) PeeringId added in v0.1.4

The ID of the network peering.

func (AwsNetworkPeeringOutput) ProjectId added in v0.1.4

The ID of the HCP project where the network peering is located. Always matches the HVN's project.

func (AwsNetworkPeeringOutput) ProviderPeeringId added in v0.1.4

func (o AwsNetworkPeeringOutput) ProviderPeeringId() pulumi.StringOutput

The peering connection ID used by AWS.

A unique URL identifying the network peering.

func (AwsNetworkPeeringOutput) State added in v0.1.10

The state of the network peering.

func (AwsNetworkPeeringOutput) ToAwsNetworkPeeringOutput

func (o AwsNetworkPeeringOutput) ToAwsNetworkPeeringOutput() AwsNetworkPeeringOutput

func (AwsNetworkPeeringOutput) ToAwsNetworkPeeringOutputWithContext

func (o AwsNetworkPeeringOutput) ToAwsNetworkPeeringOutputWithContext(ctx context.Context) AwsNetworkPeeringOutput

type AwsNetworkPeeringState

type AwsNetworkPeeringState struct {
	// The time that the network peering was created.
	CreatedAt pulumi.StringPtrInput
	// The time after which the network peering will be considered expired if it hasn't transitioned into `ACCEPTED` or `ACTIVE` state.
	ExpiresAt pulumi.StringPtrInput
	// The ID of the HashiCorp Virtual Network (HVN).
	HvnId pulumi.StringPtrInput
	// The ID of the HCP organization where the network peering is located. Always matches the HVN's organization.
	OrganizationId pulumi.StringPtrInput
	// The account ID of the peer VPC in AWS.
	PeerAccountId pulumi.StringPtrInput
	// The ID of the peer VPC in AWS.
	PeerVpcId pulumi.StringPtrInput
	// The region of the peer VPC in AWS.
	PeerVpcRegion pulumi.StringPtrInput
	// The ID of the network peering.
	PeeringId pulumi.StringPtrInput
	// The ID of the HCP project where the network peering is located. Always matches the HVN's project.
	ProjectId pulumi.StringPtrInput
	// The peering connection ID used by AWS.
	ProviderPeeringId pulumi.StringPtrInput
	// A unique URL identifying the network peering.
	SelfLink pulumi.StringPtrInput
	// The state of the network peering.
	State pulumi.StringPtrInput
}

func (AwsNetworkPeeringState) ElementType

func (AwsNetworkPeeringState) ElementType() reflect.Type

type AwsTransitGatewayAttachment

type AwsTransitGatewayAttachment struct {
	pulumi.CustomResourceState

	// The time that the transit gateway attachment was created.
	CreatedAt pulumi.StringOutput `pulumi:"createdAt"`
	// The time after which the transit gateway attachment will be considered expired if it hasn't transitioned into `ACCEPTED` or `ACTIVE` state.
	ExpiresAt pulumi.StringOutput `pulumi:"expiresAt"`
	// The ID of the HashiCorp Virtual Network (HVN).
	HvnId pulumi.StringOutput `pulumi:"hvnId"`
	// The ID of the HCP organization where the transit gateway attachment is located. Always matches the HVN's organization.
	OrganizationId pulumi.StringOutput `pulumi:"organizationId"`
	// The ID of the HCP project where the transit gateway attachment is located. Always matches the HVN's project.
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
	// The transit gateway attachment ID used by AWS.
	ProviderTransitGatewayAttachmentId pulumi.StringOutput `pulumi:"providerTransitGatewayAttachmentId"`
	// The Amazon Resource Name (ARN) of the Resource Share that is needed to grant HCP access to the transit gateway in AWS.
	// The Resource Share should be associated with the HCP AWS account principal (see
	// [aws_ram_principal_association](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/ram_principal_association))
	// and the transit gateway resource (see
	// [aws_ram_resource_association](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/ram_resource_association))
	ResourceShareArn pulumi.StringOutput `pulumi:"resourceShareArn"`
	// A unique URL identifying the transit gateway attachment.
	SelfLink pulumi.StringOutput `pulumi:"selfLink"`
	// The state of the transit gateway attachment.
	State pulumi.StringOutput `pulumi:"state"`
	// The user-settable name of the transit gateway attachment in HCP.
	TransitGatewayAttachmentId pulumi.StringOutput `pulumi:"transitGatewayAttachmentId"`
	// The ID of the user-owned transit gateway in AWS. The AWS region of the transit gateway must match the HVN.
	TransitGatewayId pulumi.StringOutput `pulumi:"transitGatewayId"`
}

## Example Usage

```go package main

import (

"github.com/grapl-security/pulumi-hcp/sdk/go/hcp"
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2"
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2transitgateway"
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ram"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		main, err := hcp.NewHvn(ctx, "main", &hcp.HvnArgs{
			HvnId:         pulumi.String("main-hvn"),
			CloudProvider: pulumi.String("aws"),
			Region:        pulumi.String("us-west-2"),
			CidrBlock:     pulumi.String("172.25.16.0/20"),
		})
		if err != nil {
			return err
		}
		exampleVpc, err := ec2.NewVpc(ctx, "exampleVpc", &ec2.VpcArgs{
			CidrBlock: pulumi.String("172.31.0.0/16"),
		})
		if err != nil {
			return err
		}
		exampleTransitGateway, err := ec2transitgateway.NewTransitGateway(ctx, "exampleTransitGateway", &ec2transitgateway.TransitGatewayArgs{
			Tags: pulumi.StringMap{
				"Name": pulumi.String("example-tgw"),
			},
		})
		if err != nil {
			return err
		}
		exampleResourceShare, err := ram.NewResourceShare(ctx, "exampleResourceShare", &ram.ResourceShareArgs{
			AllowExternalPrincipals: pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		examplePrincipalAssociation, err := ram.NewPrincipalAssociation(ctx, "examplePrincipalAssociation", &ram.PrincipalAssociationArgs{
			ResourceShareArn: exampleResourceShare.Arn,
			Principal:        main.ProviderAccountId,
		})
		if err != nil {
			return err
		}
		exampleResourceAssociation, err := ram.NewResourceAssociation(ctx, "exampleResourceAssociation", &ram.ResourceAssociationArgs{
			ResourceShareArn: exampleResourceShare.Arn,
			ResourceArn:      exampleTransitGateway.Arn,
		})
		if err != nil {
			return err
		}
		exampleAwsTransitGatewayAttachment, err := hcp.NewAwsTransitGatewayAttachment(ctx, "exampleAwsTransitGatewayAttachment", &hcp.AwsTransitGatewayAttachmentArgs{
			HvnId:                      main.HvnId,
			TransitGatewayAttachmentId: pulumi.String("example-tgw-attachment"),
			TransitGatewayId:           exampleTransitGateway.ID(),
			ResourceShareArn:           exampleResourceShare.Arn,
		}, pulumi.DependsOn([]pulumi.Resource{
			examplePrincipalAssociation,
			exampleResourceAssociation,
		}))
		if err != nil {
			return err
		}
		_, err = hcp.NewHvnRoute(ctx, "route", &hcp.HvnRouteArgs{
			HvnLink:         main.SelfLink,
			HvnRouteId:      pulumi.String("hvn-to-tgw-attachment"),
			DestinationCidr: exampleVpc.CidrBlock,
			TargetLink:      exampleAwsTransitGatewayAttachment.SelfLink,
		})
		if err != nil {
			return err
		}
		_, err = ec2transitgateway.NewVpcAttachmentAccepter(ctx, "exampleVpcAttachmentAccepter", &ec2transitgateway.VpcAttachmentAccepterArgs{
			TransitGatewayAttachmentId: exampleAwsTransitGatewayAttachment.ProviderTransitGatewayAttachmentId,
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

The import ID is {hvn_id}:{transit_gateway_attachment_id}

```sh

$ pulumi import hcp:index/awsTransitGatewayAttachment:AwsTransitGatewayAttachment example main-hvn:example-tgw-attachment

```

func GetAwsTransitGatewayAttachment

func GetAwsTransitGatewayAttachment(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AwsTransitGatewayAttachmentState, opts ...pulumi.ResourceOption) (*AwsTransitGatewayAttachment, error)

GetAwsTransitGatewayAttachment gets an existing AwsTransitGatewayAttachment 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 NewAwsTransitGatewayAttachment

func NewAwsTransitGatewayAttachment(ctx *pulumi.Context,
	name string, args *AwsTransitGatewayAttachmentArgs, opts ...pulumi.ResourceOption) (*AwsTransitGatewayAttachment, error)

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

func (*AwsTransitGatewayAttachment) ElementType

func (*AwsTransitGatewayAttachment) ElementType() reflect.Type

func (*AwsTransitGatewayAttachment) ToAwsTransitGatewayAttachmentOutput

func (i *AwsTransitGatewayAttachment) ToAwsTransitGatewayAttachmentOutput() AwsTransitGatewayAttachmentOutput

func (*AwsTransitGatewayAttachment) ToAwsTransitGatewayAttachmentOutputWithContext

func (i *AwsTransitGatewayAttachment) ToAwsTransitGatewayAttachmentOutputWithContext(ctx context.Context) AwsTransitGatewayAttachmentOutput

type AwsTransitGatewayAttachmentArgs

type AwsTransitGatewayAttachmentArgs struct {
	// The ID of the HashiCorp Virtual Network (HVN).
	HvnId pulumi.StringInput
	// The Amazon Resource Name (ARN) of the Resource Share that is needed to grant HCP access to the transit gateway in AWS.
	// The Resource Share should be associated with the HCP AWS account principal (see
	// [aws_ram_principal_association](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/ram_principal_association))
	// and the transit gateway resource (see
	// [aws_ram_resource_association](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/ram_resource_association))
	ResourceShareArn pulumi.StringInput
	// The user-settable name of the transit gateway attachment in HCP.
	TransitGatewayAttachmentId pulumi.StringInput
	// The ID of the user-owned transit gateway in AWS. The AWS region of the transit gateway must match the HVN.
	TransitGatewayId pulumi.StringInput
}

The set of arguments for constructing a AwsTransitGatewayAttachment resource.

func (AwsTransitGatewayAttachmentArgs) ElementType

type AwsTransitGatewayAttachmentArray

type AwsTransitGatewayAttachmentArray []AwsTransitGatewayAttachmentInput

func (AwsTransitGatewayAttachmentArray) ElementType

func (AwsTransitGatewayAttachmentArray) ToAwsTransitGatewayAttachmentArrayOutput

func (i AwsTransitGatewayAttachmentArray) ToAwsTransitGatewayAttachmentArrayOutput() AwsTransitGatewayAttachmentArrayOutput

func (AwsTransitGatewayAttachmentArray) ToAwsTransitGatewayAttachmentArrayOutputWithContext

func (i AwsTransitGatewayAttachmentArray) ToAwsTransitGatewayAttachmentArrayOutputWithContext(ctx context.Context) AwsTransitGatewayAttachmentArrayOutput

type AwsTransitGatewayAttachmentArrayInput

type AwsTransitGatewayAttachmentArrayInput interface {
	pulumi.Input

	ToAwsTransitGatewayAttachmentArrayOutput() AwsTransitGatewayAttachmentArrayOutput
	ToAwsTransitGatewayAttachmentArrayOutputWithContext(context.Context) AwsTransitGatewayAttachmentArrayOutput
}

AwsTransitGatewayAttachmentArrayInput is an input type that accepts AwsTransitGatewayAttachmentArray and AwsTransitGatewayAttachmentArrayOutput values. You can construct a concrete instance of `AwsTransitGatewayAttachmentArrayInput` via:

AwsTransitGatewayAttachmentArray{ AwsTransitGatewayAttachmentArgs{...} }

type AwsTransitGatewayAttachmentArrayOutput

type AwsTransitGatewayAttachmentArrayOutput struct{ *pulumi.OutputState }

func (AwsTransitGatewayAttachmentArrayOutput) ElementType

func (AwsTransitGatewayAttachmentArrayOutput) Index

func (AwsTransitGatewayAttachmentArrayOutput) ToAwsTransitGatewayAttachmentArrayOutput

func (o AwsTransitGatewayAttachmentArrayOutput) ToAwsTransitGatewayAttachmentArrayOutput() AwsTransitGatewayAttachmentArrayOutput

func (AwsTransitGatewayAttachmentArrayOutput) ToAwsTransitGatewayAttachmentArrayOutputWithContext

func (o AwsTransitGatewayAttachmentArrayOutput) ToAwsTransitGatewayAttachmentArrayOutputWithContext(ctx context.Context) AwsTransitGatewayAttachmentArrayOutput

type AwsTransitGatewayAttachmentInput

type AwsTransitGatewayAttachmentInput interface {
	pulumi.Input

	ToAwsTransitGatewayAttachmentOutput() AwsTransitGatewayAttachmentOutput
	ToAwsTransitGatewayAttachmentOutputWithContext(ctx context.Context) AwsTransitGatewayAttachmentOutput
}

type AwsTransitGatewayAttachmentMap

type AwsTransitGatewayAttachmentMap map[string]AwsTransitGatewayAttachmentInput

func (AwsTransitGatewayAttachmentMap) ElementType

func (AwsTransitGatewayAttachmentMap) ToAwsTransitGatewayAttachmentMapOutput

func (i AwsTransitGatewayAttachmentMap) ToAwsTransitGatewayAttachmentMapOutput() AwsTransitGatewayAttachmentMapOutput

func (AwsTransitGatewayAttachmentMap) ToAwsTransitGatewayAttachmentMapOutputWithContext

func (i AwsTransitGatewayAttachmentMap) ToAwsTransitGatewayAttachmentMapOutputWithContext(ctx context.Context) AwsTransitGatewayAttachmentMapOutput

type AwsTransitGatewayAttachmentMapInput

type AwsTransitGatewayAttachmentMapInput interface {
	pulumi.Input

	ToAwsTransitGatewayAttachmentMapOutput() AwsTransitGatewayAttachmentMapOutput
	ToAwsTransitGatewayAttachmentMapOutputWithContext(context.Context) AwsTransitGatewayAttachmentMapOutput
}

AwsTransitGatewayAttachmentMapInput is an input type that accepts AwsTransitGatewayAttachmentMap and AwsTransitGatewayAttachmentMapOutput values. You can construct a concrete instance of `AwsTransitGatewayAttachmentMapInput` via:

AwsTransitGatewayAttachmentMap{ "key": AwsTransitGatewayAttachmentArgs{...} }

type AwsTransitGatewayAttachmentMapOutput

type AwsTransitGatewayAttachmentMapOutput struct{ *pulumi.OutputState }

func (AwsTransitGatewayAttachmentMapOutput) ElementType

func (AwsTransitGatewayAttachmentMapOutput) MapIndex

func (AwsTransitGatewayAttachmentMapOutput) ToAwsTransitGatewayAttachmentMapOutput

func (o AwsTransitGatewayAttachmentMapOutput) ToAwsTransitGatewayAttachmentMapOutput() AwsTransitGatewayAttachmentMapOutput

func (AwsTransitGatewayAttachmentMapOutput) ToAwsTransitGatewayAttachmentMapOutputWithContext

func (o AwsTransitGatewayAttachmentMapOutput) ToAwsTransitGatewayAttachmentMapOutputWithContext(ctx context.Context) AwsTransitGatewayAttachmentMapOutput

type AwsTransitGatewayAttachmentOutput

type AwsTransitGatewayAttachmentOutput struct{ *pulumi.OutputState }

func (AwsTransitGatewayAttachmentOutput) CreatedAt added in v0.1.4

The time that the transit gateway attachment was created.

func (AwsTransitGatewayAttachmentOutput) ElementType

func (AwsTransitGatewayAttachmentOutput) ExpiresAt added in v0.1.4

The time after which the transit gateway attachment will be considered expired if it hasn't transitioned into `ACCEPTED` or `ACTIVE` state.

func (AwsTransitGatewayAttachmentOutput) HvnId added in v0.1.4

The ID of the HashiCorp Virtual Network (HVN).

func (AwsTransitGatewayAttachmentOutput) OrganizationId added in v0.1.4

The ID of the HCP organization where the transit gateway attachment is located. Always matches the HVN's organization.

func (AwsTransitGatewayAttachmentOutput) ProjectId added in v0.1.4

The ID of the HCP project where the transit gateway attachment is located. Always matches the HVN's project.

func (AwsTransitGatewayAttachmentOutput) ProviderTransitGatewayAttachmentId added in v0.1.4

func (o AwsTransitGatewayAttachmentOutput) ProviderTransitGatewayAttachmentId() pulumi.StringOutput

The transit gateway attachment ID used by AWS.

func (AwsTransitGatewayAttachmentOutput) ResourceShareArn added in v0.1.4

The Amazon Resource Name (ARN) of the Resource Share that is needed to grant HCP access to the transit gateway in AWS. The Resource Share should be associated with the HCP AWS account principal (see [aws_ram_principal_association](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/ram_principal_association)) and the transit gateway resource (see [aws_ram_resource_association](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/ram_resource_association))

A unique URL identifying the transit gateway attachment.

func (AwsTransitGatewayAttachmentOutput) State added in v0.1.4

The state of the transit gateway attachment.

func (AwsTransitGatewayAttachmentOutput) ToAwsTransitGatewayAttachmentOutput

func (o AwsTransitGatewayAttachmentOutput) ToAwsTransitGatewayAttachmentOutput() AwsTransitGatewayAttachmentOutput

func (AwsTransitGatewayAttachmentOutput) ToAwsTransitGatewayAttachmentOutputWithContext

func (o AwsTransitGatewayAttachmentOutput) ToAwsTransitGatewayAttachmentOutputWithContext(ctx context.Context) AwsTransitGatewayAttachmentOutput

func (AwsTransitGatewayAttachmentOutput) TransitGatewayAttachmentId added in v0.1.4

func (o AwsTransitGatewayAttachmentOutput) TransitGatewayAttachmentId() pulumi.StringOutput

The user-settable name of the transit gateway attachment in HCP.

func (AwsTransitGatewayAttachmentOutput) TransitGatewayId added in v0.1.4

The ID of the user-owned transit gateway in AWS. The AWS region of the transit gateway must match the HVN.

type AwsTransitGatewayAttachmentState

type AwsTransitGatewayAttachmentState struct {
	// The time that the transit gateway attachment was created.
	CreatedAt pulumi.StringPtrInput
	// The time after which the transit gateway attachment will be considered expired if it hasn't transitioned into `ACCEPTED` or `ACTIVE` state.
	ExpiresAt pulumi.StringPtrInput
	// The ID of the HashiCorp Virtual Network (HVN).
	HvnId pulumi.StringPtrInput
	// The ID of the HCP organization where the transit gateway attachment is located. Always matches the HVN's organization.
	OrganizationId pulumi.StringPtrInput
	// The ID of the HCP project where the transit gateway attachment is located. Always matches the HVN's project.
	ProjectId pulumi.StringPtrInput
	// The transit gateway attachment ID used by AWS.
	ProviderTransitGatewayAttachmentId pulumi.StringPtrInput
	// The Amazon Resource Name (ARN) of the Resource Share that is needed to grant HCP access to the transit gateway in AWS.
	// The Resource Share should be associated with the HCP AWS account principal (see
	// [aws_ram_principal_association](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/ram_principal_association))
	// and the transit gateway resource (see
	// [aws_ram_resource_association](https://registry.terraform.io/providers/hashicorp/aws/latest/docs/resources/ram_resource_association))
	ResourceShareArn pulumi.StringPtrInput
	// A unique URL identifying the transit gateway attachment.
	SelfLink pulumi.StringPtrInput
	// The state of the transit gateway attachment.
	State pulumi.StringPtrInput
	// The user-settable name of the transit gateway attachment in HCP.
	TransitGatewayAttachmentId pulumi.StringPtrInput
	// The ID of the user-owned transit gateway in AWS. The AWS region of the transit gateway must match the HVN.
	TransitGatewayId pulumi.StringPtrInput
}

func (AwsTransitGatewayAttachmentState) ElementType

type AzurePeeringConnection

type AzurePeeringConnection struct {
	pulumi.CustomResourceState

	// The ID of the Azure application whose credentials are used to peer the HCP HVN's underlying VNet with the customer VNet.
	ApplicationId pulumi.StringOutput `pulumi:"applicationId"`
	// The peering connection ID used by Azure.
	AzurePeeringId pulumi.StringOutput `pulumi:"azurePeeringId"`
	// The time that the peering connection was created.
	CreatedAt pulumi.StringOutput `pulumi:"createdAt"`
	// The time after which the peering connection will be considered expired if it hasn't transitioned into `ACCEPTED` or `ACTIVE` state.
	ExpiresAt pulumi.StringOutput `pulumi:"expiresAt"`
	// The `selfLink` of the HashiCorp Virtual Network (HVN).
	HvnLink pulumi.StringOutput `pulumi:"hvnLink"`
	// The ID of the HCP organization where the peering connection is located. Always matches the HVN's organization.
	OrganizationId pulumi.StringOutput `pulumi:"organizationId"`
	// The resource group name of the peer VNet in Azure.
	PeerResourceGroupName pulumi.StringOutput `pulumi:"peerResourceGroupName"`
	// The subscription ID of the peer VNet in Azure.
	PeerSubscriptionId pulumi.StringOutput `pulumi:"peerSubscriptionId"`
	// The tenant ID of the peer VNet in Azure.
	PeerTenantId pulumi.StringOutput `pulumi:"peerTenantId"`
	// The name of the peer VNet in Azure.
	PeerVnetName pulumi.StringOutput `pulumi:"peerVnetName"`
	// The region of the peer VNet in Azure.
	PeerVnetRegion pulumi.StringOutput `pulumi:"peerVnetRegion"`
	// The ID of the peering connection.
	PeeringId pulumi.StringOutput `pulumi:"peeringId"`
	// The ID of the HCP project where the peering connection is located. Always matches the HVN's project.
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
	// A unique URL identifying the peering connection.
	SelfLink pulumi.StringOutput `pulumi:"selfLink"`
	// The state of the Azure peering connection.
	State pulumi.StringOutput `pulumi:"state"`
}

> **Note:** This data source is currently in public beta.

The Azure peering connection resource allows you to manage a peering connection between an HVN and a peer Azure VNet.

## Import

The import ID is {hvn_id}:{peering_id}

```sh

$ pulumi import hcp:index/azurePeeringConnection:AzurePeeringConnection peer main-hvn:199e7e96-4d5f-4456-91f3-b6cc71f1e561

```

func GetAzurePeeringConnection

func GetAzurePeeringConnection(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AzurePeeringConnectionState, opts ...pulumi.ResourceOption) (*AzurePeeringConnection, error)

GetAzurePeeringConnection gets an existing AzurePeeringConnection 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 NewAzurePeeringConnection

func NewAzurePeeringConnection(ctx *pulumi.Context,
	name string, args *AzurePeeringConnectionArgs, opts ...pulumi.ResourceOption) (*AzurePeeringConnection, error)

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

func (*AzurePeeringConnection) ElementType

func (*AzurePeeringConnection) ElementType() reflect.Type

func (*AzurePeeringConnection) ToAzurePeeringConnectionOutput

func (i *AzurePeeringConnection) ToAzurePeeringConnectionOutput() AzurePeeringConnectionOutput

func (*AzurePeeringConnection) ToAzurePeeringConnectionOutputWithContext

func (i *AzurePeeringConnection) ToAzurePeeringConnectionOutputWithContext(ctx context.Context) AzurePeeringConnectionOutput

type AzurePeeringConnectionArgs

type AzurePeeringConnectionArgs struct {
	// The `selfLink` of the HashiCorp Virtual Network (HVN).
	HvnLink pulumi.StringInput
	// The resource group name of the peer VNet in Azure.
	PeerResourceGroupName pulumi.StringInput
	// The subscription ID of the peer VNet in Azure.
	PeerSubscriptionId pulumi.StringInput
	// The tenant ID of the peer VNet in Azure.
	PeerTenantId pulumi.StringInput
	// The name of the peer VNet in Azure.
	PeerVnetName pulumi.StringInput
	// The region of the peer VNet in Azure.
	PeerVnetRegion pulumi.StringInput
	// The ID of the peering connection.
	PeeringId pulumi.StringInput
}

The set of arguments for constructing a AzurePeeringConnection resource.

func (AzurePeeringConnectionArgs) ElementType

func (AzurePeeringConnectionArgs) ElementType() reflect.Type

type AzurePeeringConnectionArray

type AzurePeeringConnectionArray []AzurePeeringConnectionInput

func (AzurePeeringConnectionArray) ElementType

func (AzurePeeringConnectionArray) ToAzurePeeringConnectionArrayOutput

func (i AzurePeeringConnectionArray) ToAzurePeeringConnectionArrayOutput() AzurePeeringConnectionArrayOutput

func (AzurePeeringConnectionArray) ToAzurePeeringConnectionArrayOutputWithContext

func (i AzurePeeringConnectionArray) ToAzurePeeringConnectionArrayOutputWithContext(ctx context.Context) AzurePeeringConnectionArrayOutput

type AzurePeeringConnectionArrayInput

type AzurePeeringConnectionArrayInput interface {
	pulumi.Input

	ToAzurePeeringConnectionArrayOutput() AzurePeeringConnectionArrayOutput
	ToAzurePeeringConnectionArrayOutputWithContext(context.Context) AzurePeeringConnectionArrayOutput
}

AzurePeeringConnectionArrayInput is an input type that accepts AzurePeeringConnectionArray and AzurePeeringConnectionArrayOutput values. You can construct a concrete instance of `AzurePeeringConnectionArrayInput` via:

AzurePeeringConnectionArray{ AzurePeeringConnectionArgs{...} }

type AzurePeeringConnectionArrayOutput

type AzurePeeringConnectionArrayOutput struct{ *pulumi.OutputState }

func (AzurePeeringConnectionArrayOutput) ElementType

func (AzurePeeringConnectionArrayOutput) Index

func (AzurePeeringConnectionArrayOutput) ToAzurePeeringConnectionArrayOutput

func (o AzurePeeringConnectionArrayOutput) ToAzurePeeringConnectionArrayOutput() AzurePeeringConnectionArrayOutput

func (AzurePeeringConnectionArrayOutput) ToAzurePeeringConnectionArrayOutputWithContext

func (o AzurePeeringConnectionArrayOutput) ToAzurePeeringConnectionArrayOutputWithContext(ctx context.Context) AzurePeeringConnectionArrayOutput

type AzurePeeringConnectionInput

type AzurePeeringConnectionInput interface {
	pulumi.Input

	ToAzurePeeringConnectionOutput() AzurePeeringConnectionOutput
	ToAzurePeeringConnectionOutputWithContext(ctx context.Context) AzurePeeringConnectionOutput
}

type AzurePeeringConnectionMap

type AzurePeeringConnectionMap map[string]AzurePeeringConnectionInput

func (AzurePeeringConnectionMap) ElementType

func (AzurePeeringConnectionMap) ElementType() reflect.Type

func (AzurePeeringConnectionMap) ToAzurePeeringConnectionMapOutput

func (i AzurePeeringConnectionMap) ToAzurePeeringConnectionMapOutput() AzurePeeringConnectionMapOutput

func (AzurePeeringConnectionMap) ToAzurePeeringConnectionMapOutputWithContext

func (i AzurePeeringConnectionMap) ToAzurePeeringConnectionMapOutputWithContext(ctx context.Context) AzurePeeringConnectionMapOutput

type AzurePeeringConnectionMapInput

type AzurePeeringConnectionMapInput interface {
	pulumi.Input

	ToAzurePeeringConnectionMapOutput() AzurePeeringConnectionMapOutput
	ToAzurePeeringConnectionMapOutputWithContext(context.Context) AzurePeeringConnectionMapOutput
}

AzurePeeringConnectionMapInput is an input type that accepts AzurePeeringConnectionMap and AzurePeeringConnectionMapOutput values. You can construct a concrete instance of `AzurePeeringConnectionMapInput` via:

AzurePeeringConnectionMap{ "key": AzurePeeringConnectionArgs{...} }

type AzurePeeringConnectionMapOutput

type AzurePeeringConnectionMapOutput struct{ *pulumi.OutputState }

func (AzurePeeringConnectionMapOutput) ElementType

func (AzurePeeringConnectionMapOutput) MapIndex

func (AzurePeeringConnectionMapOutput) ToAzurePeeringConnectionMapOutput

func (o AzurePeeringConnectionMapOutput) ToAzurePeeringConnectionMapOutput() AzurePeeringConnectionMapOutput

func (AzurePeeringConnectionMapOutput) ToAzurePeeringConnectionMapOutputWithContext

func (o AzurePeeringConnectionMapOutput) ToAzurePeeringConnectionMapOutputWithContext(ctx context.Context) AzurePeeringConnectionMapOutput

type AzurePeeringConnectionOutput

type AzurePeeringConnectionOutput struct{ *pulumi.OutputState }

func (AzurePeeringConnectionOutput) ApplicationId added in v0.1.4

The ID of the Azure application whose credentials are used to peer the HCP HVN's underlying VNet with the customer VNet.

func (AzurePeeringConnectionOutput) AzurePeeringId added in v0.1.4

The peering connection ID used by Azure.

func (AzurePeeringConnectionOutput) CreatedAt added in v0.1.4

The time that the peering connection was created.

func (AzurePeeringConnectionOutput) ElementType

func (AzurePeeringConnectionOutput) ExpiresAt added in v0.1.4

The time after which the peering connection will be considered expired if it hasn't transitioned into `ACCEPTED` or `ACTIVE` state.

The `selfLink` of the HashiCorp Virtual Network (HVN).

func (AzurePeeringConnectionOutput) OrganizationId added in v0.1.4

The ID of the HCP organization where the peering connection is located. Always matches the HVN's organization.

func (AzurePeeringConnectionOutput) PeerResourceGroupName added in v0.1.4

func (o AzurePeeringConnectionOutput) PeerResourceGroupName() pulumi.StringOutput

The resource group name of the peer VNet in Azure.

func (AzurePeeringConnectionOutput) PeerSubscriptionId added in v0.1.4

func (o AzurePeeringConnectionOutput) PeerSubscriptionId() pulumi.StringOutput

The subscription ID of the peer VNet in Azure.

func (AzurePeeringConnectionOutput) PeerTenantId added in v0.1.4

The tenant ID of the peer VNet in Azure.

func (AzurePeeringConnectionOutput) PeerVnetName added in v0.1.4

The name of the peer VNet in Azure.

func (AzurePeeringConnectionOutput) PeerVnetRegion added in v0.1.4

The region of the peer VNet in Azure.

func (AzurePeeringConnectionOutput) PeeringId added in v0.1.4

The ID of the peering connection.

func (AzurePeeringConnectionOutput) ProjectId added in v0.1.4

The ID of the HCP project where the peering connection is located. Always matches the HVN's project.

A unique URL identifying the peering connection.

func (AzurePeeringConnectionOutput) State added in v0.1.10

The state of the Azure peering connection.

func (AzurePeeringConnectionOutput) ToAzurePeeringConnectionOutput

func (o AzurePeeringConnectionOutput) ToAzurePeeringConnectionOutput() AzurePeeringConnectionOutput

func (AzurePeeringConnectionOutput) ToAzurePeeringConnectionOutputWithContext

func (o AzurePeeringConnectionOutput) ToAzurePeeringConnectionOutputWithContext(ctx context.Context) AzurePeeringConnectionOutput

type AzurePeeringConnectionState

type AzurePeeringConnectionState struct {
	// The ID of the Azure application whose credentials are used to peer the HCP HVN's underlying VNet with the customer VNet.
	ApplicationId pulumi.StringPtrInput
	// The peering connection ID used by Azure.
	AzurePeeringId pulumi.StringPtrInput
	// The time that the peering connection was created.
	CreatedAt pulumi.StringPtrInput
	// The time after which the peering connection will be considered expired if it hasn't transitioned into `ACCEPTED` or `ACTIVE` state.
	ExpiresAt pulumi.StringPtrInput
	// The `selfLink` of the HashiCorp Virtual Network (HVN).
	HvnLink pulumi.StringPtrInput
	// The ID of the HCP organization where the peering connection is located. Always matches the HVN's organization.
	OrganizationId pulumi.StringPtrInput
	// The resource group name of the peer VNet in Azure.
	PeerResourceGroupName pulumi.StringPtrInput
	// The subscription ID of the peer VNet in Azure.
	PeerSubscriptionId pulumi.StringPtrInput
	// The tenant ID of the peer VNet in Azure.
	PeerTenantId pulumi.StringPtrInput
	// The name of the peer VNet in Azure.
	PeerVnetName pulumi.StringPtrInput
	// The region of the peer VNet in Azure.
	PeerVnetRegion pulumi.StringPtrInput
	// The ID of the peering connection.
	PeeringId pulumi.StringPtrInput
	// The ID of the HCP project where the peering connection is located. Always matches the HVN's project.
	ProjectId pulumi.StringPtrInput
	// A unique URL identifying the peering connection.
	SelfLink pulumi.StringPtrInput
	// The state of the Azure peering connection.
	State pulumi.StringPtrInput
}

func (AzurePeeringConnectionState) ElementType

type BoundaryCluster added in v0.1.12

type BoundaryCluster struct {
	pulumi.CustomResourceState

	// The ID of the Boundary cluster
	ClusterId pulumi.StringOutput `pulumi:"clusterId"`
	// A unique URL identifying the Boundary cluster.
	ClusterUrl pulumi.StringOutput `pulumi:"clusterUrl"`
	// The time that the Boundary cluster was created.
	CreatedAt pulumi.StringOutput `pulumi:"createdAt"`
	// The password of the initial admin user. This must be at least 8 characters in length. Note that this may show up in logs, and it will be stored in the state file.
	Password pulumi.StringOutput `pulumi:"password"`
	// The state of the Boundary cluster.
	State pulumi.StringOutput `pulumi:"state"`
	// The username of the initial admin user. This must be at least 3 characters in length, alphanumeric, hyphen, or period.
	Username pulumi.StringOutput `pulumi:"username"`
}

This resource allows you to manage an HCP Boundary cluster

## Example Usage

```go package main

import (

"github.com/grapl-security/pulumi-hcp/sdk/go/hcp"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := hcp.NewBoundaryCluster(ctx, "example", &hcp.BoundaryClusterArgs{
			ClusterId: pulumi.String("boundary-cluster"),
			Password:  pulumi.String("Password123!"),
			Username:  pulumi.String("test-user"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

The import ID is {cluster_id}

```sh

$ pulumi import hcp:index/boundaryCluster:BoundaryCluster example boundary-cluster

```

func GetBoundaryCluster added in v0.1.12

func GetBoundaryCluster(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *BoundaryClusterState, opts ...pulumi.ResourceOption) (*BoundaryCluster, error)

GetBoundaryCluster gets an existing BoundaryCluster 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 NewBoundaryCluster added in v0.1.12

func NewBoundaryCluster(ctx *pulumi.Context,
	name string, args *BoundaryClusterArgs, opts ...pulumi.ResourceOption) (*BoundaryCluster, error)

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

func (*BoundaryCluster) ElementType added in v0.1.12

func (*BoundaryCluster) ElementType() reflect.Type

func (*BoundaryCluster) ToBoundaryClusterOutput added in v0.1.12

func (i *BoundaryCluster) ToBoundaryClusterOutput() BoundaryClusterOutput

func (*BoundaryCluster) ToBoundaryClusterOutputWithContext added in v0.1.12

func (i *BoundaryCluster) ToBoundaryClusterOutputWithContext(ctx context.Context) BoundaryClusterOutput

type BoundaryClusterArgs added in v0.1.12

type BoundaryClusterArgs struct {
	// The ID of the Boundary cluster
	ClusterId pulumi.StringInput
	// The password of the initial admin user. This must be at least 8 characters in length. Note that this may show up in logs, and it will be stored in the state file.
	Password pulumi.StringInput
	// The username of the initial admin user. This must be at least 3 characters in length, alphanumeric, hyphen, or period.
	Username pulumi.StringInput
}

The set of arguments for constructing a BoundaryCluster resource.

func (BoundaryClusterArgs) ElementType added in v0.1.12

func (BoundaryClusterArgs) ElementType() reflect.Type

type BoundaryClusterArray added in v0.1.12

type BoundaryClusterArray []BoundaryClusterInput

func (BoundaryClusterArray) ElementType added in v0.1.12

func (BoundaryClusterArray) ElementType() reflect.Type

func (BoundaryClusterArray) ToBoundaryClusterArrayOutput added in v0.1.12

func (i BoundaryClusterArray) ToBoundaryClusterArrayOutput() BoundaryClusterArrayOutput

func (BoundaryClusterArray) ToBoundaryClusterArrayOutputWithContext added in v0.1.12

func (i BoundaryClusterArray) ToBoundaryClusterArrayOutputWithContext(ctx context.Context) BoundaryClusterArrayOutput

type BoundaryClusterArrayInput added in v0.1.12

type BoundaryClusterArrayInput interface {
	pulumi.Input

	ToBoundaryClusterArrayOutput() BoundaryClusterArrayOutput
	ToBoundaryClusterArrayOutputWithContext(context.Context) BoundaryClusterArrayOutput
}

BoundaryClusterArrayInput is an input type that accepts BoundaryClusterArray and BoundaryClusterArrayOutput values. You can construct a concrete instance of `BoundaryClusterArrayInput` via:

BoundaryClusterArray{ BoundaryClusterArgs{...} }

type BoundaryClusterArrayOutput added in v0.1.12

type BoundaryClusterArrayOutput struct{ *pulumi.OutputState }

func (BoundaryClusterArrayOutput) ElementType added in v0.1.12

func (BoundaryClusterArrayOutput) ElementType() reflect.Type

func (BoundaryClusterArrayOutput) Index added in v0.1.12

func (BoundaryClusterArrayOutput) ToBoundaryClusterArrayOutput added in v0.1.12

func (o BoundaryClusterArrayOutput) ToBoundaryClusterArrayOutput() BoundaryClusterArrayOutput

func (BoundaryClusterArrayOutput) ToBoundaryClusterArrayOutputWithContext added in v0.1.12

func (o BoundaryClusterArrayOutput) ToBoundaryClusterArrayOutputWithContext(ctx context.Context) BoundaryClusterArrayOutput

type BoundaryClusterInput added in v0.1.12

type BoundaryClusterInput interface {
	pulumi.Input

	ToBoundaryClusterOutput() BoundaryClusterOutput
	ToBoundaryClusterOutputWithContext(ctx context.Context) BoundaryClusterOutput
}

type BoundaryClusterMap added in v0.1.12

type BoundaryClusterMap map[string]BoundaryClusterInput

func (BoundaryClusterMap) ElementType added in v0.1.12

func (BoundaryClusterMap) ElementType() reflect.Type

func (BoundaryClusterMap) ToBoundaryClusterMapOutput added in v0.1.12

func (i BoundaryClusterMap) ToBoundaryClusterMapOutput() BoundaryClusterMapOutput

func (BoundaryClusterMap) ToBoundaryClusterMapOutputWithContext added in v0.1.12

func (i BoundaryClusterMap) ToBoundaryClusterMapOutputWithContext(ctx context.Context) BoundaryClusterMapOutput

type BoundaryClusterMapInput added in v0.1.12

type BoundaryClusterMapInput interface {
	pulumi.Input

	ToBoundaryClusterMapOutput() BoundaryClusterMapOutput
	ToBoundaryClusterMapOutputWithContext(context.Context) BoundaryClusterMapOutput
}

BoundaryClusterMapInput is an input type that accepts BoundaryClusterMap and BoundaryClusterMapOutput values. You can construct a concrete instance of `BoundaryClusterMapInput` via:

BoundaryClusterMap{ "key": BoundaryClusterArgs{...} }

type BoundaryClusterMapOutput added in v0.1.12

type BoundaryClusterMapOutput struct{ *pulumi.OutputState }

func (BoundaryClusterMapOutput) ElementType added in v0.1.12

func (BoundaryClusterMapOutput) ElementType() reflect.Type

func (BoundaryClusterMapOutput) MapIndex added in v0.1.12

func (BoundaryClusterMapOutput) ToBoundaryClusterMapOutput added in v0.1.12

func (o BoundaryClusterMapOutput) ToBoundaryClusterMapOutput() BoundaryClusterMapOutput

func (BoundaryClusterMapOutput) ToBoundaryClusterMapOutputWithContext added in v0.1.12

func (o BoundaryClusterMapOutput) ToBoundaryClusterMapOutputWithContext(ctx context.Context) BoundaryClusterMapOutput

type BoundaryClusterOutput added in v0.1.12

type BoundaryClusterOutput struct{ *pulumi.OutputState }

func (BoundaryClusterOutput) ClusterId added in v0.1.12

The ID of the Boundary cluster

func (BoundaryClusterOutput) ClusterUrl added in v0.1.12

func (o BoundaryClusterOutput) ClusterUrl() pulumi.StringOutput

A unique URL identifying the Boundary cluster.

func (BoundaryClusterOutput) CreatedAt added in v0.1.12

The time that the Boundary cluster was created.

func (BoundaryClusterOutput) ElementType added in v0.1.12

func (BoundaryClusterOutput) ElementType() reflect.Type

func (BoundaryClusterOutput) Password added in v0.1.12

The password of the initial admin user. This must be at least 8 characters in length. Note that this may show up in logs, and it will be stored in the state file.

func (BoundaryClusterOutput) State added in v0.1.12

The state of the Boundary cluster.

func (BoundaryClusterOutput) ToBoundaryClusterOutput added in v0.1.12

func (o BoundaryClusterOutput) ToBoundaryClusterOutput() BoundaryClusterOutput

func (BoundaryClusterOutput) ToBoundaryClusterOutputWithContext added in v0.1.12

func (o BoundaryClusterOutput) ToBoundaryClusterOutputWithContext(ctx context.Context) BoundaryClusterOutput

func (BoundaryClusterOutput) Username added in v0.1.12

The username of the initial admin user. This must be at least 3 characters in length, alphanumeric, hyphen, or period.

type BoundaryClusterState added in v0.1.12

type BoundaryClusterState struct {
	// The ID of the Boundary cluster
	ClusterId pulumi.StringPtrInput
	// A unique URL identifying the Boundary cluster.
	ClusterUrl pulumi.StringPtrInput
	// The time that the Boundary cluster was created.
	CreatedAt pulumi.StringPtrInput
	// The password of the initial admin user. This must be at least 8 characters in length. Note that this may show up in logs, and it will be stored in the state file.
	Password pulumi.StringPtrInput
	// The state of the Boundary cluster.
	State pulumi.StringPtrInput
	// The username of the initial admin user. This must be at least 3 characters in length, alphanumeric, hyphen, or period.
	Username pulumi.StringPtrInput
}

func (BoundaryClusterState) ElementType added in v0.1.12

func (BoundaryClusterState) ElementType() reflect.Type

type ConsulCluster

type ConsulCluster struct {
	pulumi.CustomResourceState

	// Enables automatic HVN to HVN peering when creating a secondary cluster in a federation. The alternative to using the auto-accept feature is to create an `HvnPeeringConnection` resource that explicitly defines the HVN resources that are allowed to communicate with each other.
	AutoHvnToHvnPeering pulumi.BoolOutput `pulumi:"autoHvnToHvnPeering"`
	// The provider where the HCP Consul cluster is located.
	CloudProvider pulumi.StringOutput `pulumi:"cloudProvider"`
	// The ID of the HCP Consul cluster.
	ClusterId pulumi.StringOutput `pulumi:"clusterId"`
	// Denotes the Consul connect feature should be enabled for this cluster.  Default to true.
	ConnectEnabled pulumi.BoolPtrOutput `pulumi:"connectEnabled"`
	// Denotes that automatic Consul upgrades are enabled.
	ConsulAutomaticUpgrades pulumi.BoolOutput `pulumi:"consulAutomaticUpgrades"`
	// The cluster CA file encoded as a Base64 string.
	ConsulCaFile pulumi.StringOutput `pulumi:"consulCaFile"`
	// The cluster config encoded as a Base64 string.
	ConsulConfigFile pulumi.StringOutput `pulumi:"consulConfigFile"`
	// The private URL for the Consul UI.
	ConsulPrivateEndpointUrl pulumi.StringOutput `pulumi:"consulPrivateEndpointUrl"`
	// The public URL for the Consul UI. This will be empty if `publicEndpoint` is `false`.
	ConsulPublicEndpointUrl pulumi.StringOutput `pulumi:"consulPublicEndpointUrl"`
	// The accessor ID of the root ACL token that is generated upon cluster creation. If a new root token is generated using the `hcpConsulRootToken` resource, this field is no longer valid.
	ConsulRootTokenAccessorId pulumi.StringOutput `pulumi:"consulRootTokenAccessorId"`
	// The secret ID of the root ACL token that is generated upon cluster creation. If a new root token is generated using the `hcpConsulRootToken` resource, this field is no longer valid.
	ConsulRootTokenSecretId pulumi.StringOutput `pulumi:"consulRootTokenSecretId"`
	// The Consul snapshot interval.
	ConsulSnapshotInterval pulumi.StringOutput `pulumi:"consulSnapshotInterval"`
	// The retention policy for Consul snapshots.
	ConsulSnapshotRetention pulumi.StringOutput `pulumi:"consulSnapshotRetention"`
	// The Consul version of the cluster.
	ConsulVersion pulumi.StringOutput `pulumi:"consulVersion"`
	// The Consul data center name of the cluster. If not specified, it is defaulted to the value of `clusterId`.
	Datacenter pulumi.StringOutput `pulumi:"datacenter"`
	// The ID of the HVN this HCP Consul cluster is associated to.
	HvnId pulumi.StringOutput `pulumi:"hvnId"`
	// The minimum Consul version of the cluster. If not specified, it is defaulted to the version that is currently recommended by HCP.
	MinConsulVersion pulumi.StringPtrOutput `pulumi:"minConsulVersion"`
	// The ID of the organization this HCP Consul cluster is located in.
	OrganizationId pulumi.StringOutput `pulumi:"organizationId"`
	// The `selfLink` of the HCP Consul cluster which is the primary in the federation setup with this HCP Consul cluster. If not specified, it is a standalone cluster.
	PrimaryLink pulumi.StringPtrOutput `pulumi:"primaryLink"`
	// The ID of the project this HCP Consul cluster is located in.
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
	// Denotes that the cluster has a public endpoint for the Consul UI. Defaults to false.
	PublicEndpoint pulumi.BoolPtrOutput `pulumi:"publicEndpoint"`
	// The region where the HCP Consul cluster is located.
	Region pulumi.StringOutput `pulumi:"region"`
	// The number of Consul server nodes in the cluster.
	Scale pulumi.IntOutput `pulumi:"scale"`
	// A unique URL identifying the HCP Consul cluster.
	SelfLink pulumi.StringOutput `pulumi:"selfLink"`
	// The t-shirt size representation of each server VM that this Consul cluster is provisioned with. Valid option for development tier - `xSmall`. Valid options for other tiers - `small`, `medium`, `large`. For more details - https://cloud.hashicorp.com/pricing/consul. Upgrading the size of a cluster after creation is allowed.
	Size pulumi.StringOutput `pulumi:"size"`
	// The state of the HCP Consul cluster.
	State pulumi.StringOutput `pulumi:"state"`
	// The tier that the HCP Consul cluster will be provisioned as.  Only `development`, `standard` and `plus` are available at this time. See [pricing information](https://cloud.hashicorp.com/pricing/consul).
	Tier pulumi.StringOutput `pulumi:"tier"`
}

> Consul on Azure is now available in public beta. [Get started with end-to-end deployment configuration](https://learn.hashicorp.com/tutorials/cloud/consul-end-to-end-overview).

The Consul cluster resource allows you to manage an HCP Consul cluster.

## Example Usage

```go package main

import (

"github.com/grapl-security/pulumi-hcp/sdk/go/hcp"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		exampleHvn, err := hcp.NewHvn(ctx, "exampleHvn", &hcp.HvnArgs{
			HvnId:         pulumi.String("hvn"),
			CloudProvider: pulumi.String("aws"),
			Region:        pulumi.String("us-west-2"),
			CidrBlock:     pulumi.String("172.25.16.0/20"),
		})
		if err != nil {
			return err
		}
		_, err = hcp.NewConsulCluster(ctx, "exampleConsulCluster", &hcp.ConsulClusterArgs{
			ClusterId: pulumi.String("consul-cluster"),
			HvnId:     exampleHvn.HvnId,
			Tier:      pulumi.String("development"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

The import ID is {cluster_id}

```sh

$ pulumi import hcp:index/consulCluster:ConsulCluster example consul-cluster

```

func GetConsulCluster

func GetConsulCluster(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ConsulClusterState, opts ...pulumi.ResourceOption) (*ConsulCluster, error)

GetConsulCluster gets an existing ConsulCluster 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 NewConsulCluster

func NewConsulCluster(ctx *pulumi.Context,
	name string, args *ConsulClusterArgs, opts ...pulumi.ResourceOption) (*ConsulCluster, error)

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

func (*ConsulCluster) ElementType

func (*ConsulCluster) ElementType() reflect.Type

func (*ConsulCluster) ToConsulClusterOutput

func (i *ConsulCluster) ToConsulClusterOutput() ConsulClusterOutput

func (*ConsulCluster) ToConsulClusterOutputWithContext

func (i *ConsulCluster) ToConsulClusterOutputWithContext(ctx context.Context) ConsulClusterOutput

type ConsulClusterArgs

type ConsulClusterArgs struct {
	// Enables automatic HVN to HVN peering when creating a secondary cluster in a federation. The alternative to using the auto-accept feature is to create an `HvnPeeringConnection` resource that explicitly defines the HVN resources that are allowed to communicate with each other.
	AutoHvnToHvnPeering pulumi.BoolPtrInput
	// The ID of the HCP Consul cluster.
	ClusterId pulumi.StringInput
	// Denotes the Consul connect feature should be enabled for this cluster.  Default to true.
	ConnectEnabled pulumi.BoolPtrInput
	// The Consul data center name of the cluster. If not specified, it is defaulted to the value of `clusterId`.
	Datacenter pulumi.StringPtrInput
	// The ID of the HVN this HCP Consul cluster is associated to.
	HvnId pulumi.StringInput
	// The minimum Consul version of the cluster. If not specified, it is defaulted to the version that is currently recommended by HCP.
	MinConsulVersion pulumi.StringPtrInput
	// The `selfLink` of the HCP Consul cluster which is the primary in the federation setup with this HCP Consul cluster. If not specified, it is a standalone cluster.
	PrimaryLink pulumi.StringPtrInput
	// Denotes that the cluster has a public endpoint for the Consul UI. Defaults to false.
	PublicEndpoint pulumi.BoolPtrInput
	// The t-shirt size representation of each server VM that this Consul cluster is provisioned with. Valid option for development tier - `xSmall`. Valid options for other tiers - `small`, `medium`, `large`. For more details - https://cloud.hashicorp.com/pricing/consul. Upgrading the size of a cluster after creation is allowed.
	Size pulumi.StringPtrInput
	// The tier that the HCP Consul cluster will be provisioned as.  Only `development`, `standard` and `plus` are available at this time. See [pricing information](https://cloud.hashicorp.com/pricing/consul).
	Tier pulumi.StringInput
}

The set of arguments for constructing a ConsulCluster resource.

func (ConsulClusterArgs) ElementType

func (ConsulClusterArgs) ElementType() reflect.Type

type ConsulClusterArray

type ConsulClusterArray []ConsulClusterInput

func (ConsulClusterArray) ElementType

func (ConsulClusterArray) ElementType() reflect.Type

func (ConsulClusterArray) ToConsulClusterArrayOutput

func (i ConsulClusterArray) ToConsulClusterArrayOutput() ConsulClusterArrayOutput

func (ConsulClusterArray) ToConsulClusterArrayOutputWithContext

func (i ConsulClusterArray) ToConsulClusterArrayOutputWithContext(ctx context.Context) ConsulClusterArrayOutput

type ConsulClusterArrayInput

type ConsulClusterArrayInput interface {
	pulumi.Input

	ToConsulClusterArrayOutput() ConsulClusterArrayOutput
	ToConsulClusterArrayOutputWithContext(context.Context) ConsulClusterArrayOutput
}

ConsulClusterArrayInput is an input type that accepts ConsulClusterArray and ConsulClusterArrayOutput values. You can construct a concrete instance of `ConsulClusterArrayInput` via:

ConsulClusterArray{ ConsulClusterArgs{...} }

type ConsulClusterArrayOutput

type ConsulClusterArrayOutput struct{ *pulumi.OutputState }

func (ConsulClusterArrayOutput) ElementType

func (ConsulClusterArrayOutput) ElementType() reflect.Type

func (ConsulClusterArrayOutput) Index

func (ConsulClusterArrayOutput) ToConsulClusterArrayOutput

func (o ConsulClusterArrayOutput) ToConsulClusterArrayOutput() ConsulClusterArrayOutput

func (ConsulClusterArrayOutput) ToConsulClusterArrayOutputWithContext

func (o ConsulClusterArrayOutput) ToConsulClusterArrayOutputWithContext(ctx context.Context) ConsulClusterArrayOutput

type ConsulClusterInput

type ConsulClusterInput interface {
	pulumi.Input

	ToConsulClusterOutput() ConsulClusterOutput
	ToConsulClusterOutputWithContext(ctx context.Context) ConsulClusterOutput
}

type ConsulClusterMap

type ConsulClusterMap map[string]ConsulClusterInput

func (ConsulClusterMap) ElementType

func (ConsulClusterMap) ElementType() reflect.Type

func (ConsulClusterMap) ToConsulClusterMapOutput

func (i ConsulClusterMap) ToConsulClusterMapOutput() ConsulClusterMapOutput

func (ConsulClusterMap) ToConsulClusterMapOutputWithContext

func (i ConsulClusterMap) ToConsulClusterMapOutputWithContext(ctx context.Context) ConsulClusterMapOutput

type ConsulClusterMapInput

type ConsulClusterMapInput interface {
	pulumi.Input

	ToConsulClusterMapOutput() ConsulClusterMapOutput
	ToConsulClusterMapOutputWithContext(context.Context) ConsulClusterMapOutput
}

ConsulClusterMapInput is an input type that accepts ConsulClusterMap and ConsulClusterMapOutput values. You can construct a concrete instance of `ConsulClusterMapInput` via:

ConsulClusterMap{ "key": ConsulClusterArgs{...} }

type ConsulClusterMapOutput

type ConsulClusterMapOutput struct{ *pulumi.OutputState }

func (ConsulClusterMapOutput) ElementType

func (ConsulClusterMapOutput) ElementType() reflect.Type

func (ConsulClusterMapOutput) MapIndex

func (ConsulClusterMapOutput) ToConsulClusterMapOutput

func (o ConsulClusterMapOutput) ToConsulClusterMapOutput() ConsulClusterMapOutput

func (ConsulClusterMapOutput) ToConsulClusterMapOutputWithContext

func (o ConsulClusterMapOutput) ToConsulClusterMapOutputWithContext(ctx context.Context) ConsulClusterMapOutput

type ConsulClusterOutput

type ConsulClusterOutput struct{ *pulumi.OutputState }

func (ConsulClusterOutput) AutoHvnToHvnPeering added in v0.1.4

func (o ConsulClusterOutput) AutoHvnToHvnPeering() pulumi.BoolOutput

Enables automatic HVN to HVN peering when creating a secondary cluster in a federation. The alternative to using the auto-accept feature is to create an `HvnPeeringConnection` resource that explicitly defines the HVN resources that are allowed to communicate with each other.

func (ConsulClusterOutput) CloudProvider added in v0.1.4

func (o ConsulClusterOutput) CloudProvider() pulumi.StringOutput

The provider where the HCP Consul cluster is located.

func (ConsulClusterOutput) ClusterId added in v0.1.4

func (o ConsulClusterOutput) ClusterId() pulumi.StringOutput

The ID of the HCP Consul cluster.

func (ConsulClusterOutput) ConnectEnabled added in v0.1.4

func (o ConsulClusterOutput) ConnectEnabled() pulumi.BoolPtrOutput

Denotes the Consul connect feature should be enabled for this cluster. Default to true.

func (ConsulClusterOutput) ConsulAutomaticUpgrades added in v0.1.4

func (o ConsulClusterOutput) ConsulAutomaticUpgrades() pulumi.BoolOutput

Denotes that automatic Consul upgrades are enabled.

func (ConsulClusterOutput) ConsulCaFile added in v0.1.4

func (o ConsulClusterOutput) ConsulCaFile() pulumi.StringOutput

The cluster CA file encoded as a Base64 string.

func (ConsulClusterOutput) ConsulConfigFile added in v0.1.4

func (o ConsulClusterOutput) ConsulConfigFile() pulumi.StringOutput

The cluster config encoded as a Base64 string.

func (ConsulClusterOutput) ConsulPrivateEndpointUrl added in v0.1.4

func (o ConsulClusterOutput) ConsulPrivateEndpointUrl() pulumi.StringOutput

The private URL for the Consul UI.

func (ConsulClusterOutput) ConsulPublicEndpointUrl added in v0.1.4

func (o ConsulClusterOutput) ConsulPublicEndpointUrl() pulumi.StringOutput

The public URL for the Consul UI. This will be empty if `publicEndpoint` is `false`.

func (ConsulClusterOutput) ConsulRootTokenAccessorId added in v0.1.4

func (o ConsulClusterOutput) ConsulRootTokenAccessorId() pulumi.StringOutput

The accessor ID of the root ACL token that is generated upon cluster creation. If a new root token is generated using the `hcpConsulRootToken` resource, this field is no longer valid.

func (ConsulClusterOutput) ConsulRootTokenSecretId added in v0.1.4

func (o ConsulClusterOutput) ConsulRootTokenSecretId() pulumi.StringOutput

The secret ID of the root ACL token that is generated upon cluster creation. If a new root token is generated using the `hcpConsulRootToken` resource, this field is no longer valid.

func (ConsulClusterOutput) ConsulSnapshotInterval added in v0.1.4

func (o ConsulClusterOutput) ConsulSnapshotInterval() pulumi.StringOutput

The Consul snapshot interval.

func (ConsulClusterOutput) ConsulSnapshotRetention added in v0.1.4

func (o ConsulClusterOutput) ConsulSnapshotRetention() pulumi.StringOutput

The retention policy for Consul snapshots.

func (ConsulClusterOutput) ConsulVersion added in v0.1.4

func (o ConsulClusterOutput) ConsulVersion() pulumi.StringOutput

The Consul version of the cluster.

func (ConsulClusterOutput) Datacenter added in v0.1.4

func (o ConsulClusterOutput) Datacenter() pulumi.StringOutput

The Consul data center name of the cluster. If not specified, it is defaulted to the value of `clusterId`.

func (ConsulClusterOutput) ElementType

func (ConsulClusterOutput) ElementType() reflect.Type

func (ConsulClusterOutput) HvnId added in v0.1.4

The ID of the HVN this HCP Consul cluster is associated to.

func (ConsulClusterOutput) MinConsulVersion added in v0.1.4

func (o ConsulClusterOutput) MinConsulVersion() pulumi.StringPtrOutput

The minimum Consul version of the cluster. If not specified, it is defaulted to the version that is currently recommended by HCP.

func (ConsulClusterOutput) OrganizationId added in v0.1.4

func (o ConsulClusterOutput) OrganizationId() pulumi.StringOutput

The ID of the organization this HCP Consul cluster is located in.

func (o ConsulClusterOutput) PrimaryLink() pulumi.StringPtrOutput

The `selfLink` of the HCP Consul cluster which is the primary in the federation setup with this HCP Consul cluster. If not specified, it is a standalone cluster.

func (ConsulClusterOutput) ProjectId added in v0.1.4

func (o ConsulClusterOutput) ProjectId() pulumi.StringOutput

The ID of the project this HCP Consul cluster is located in.

func (ConsulClusterOutput) PublicEndpoint added in v0.1.4

func (o ConsulClusterOutput) PublicEndpoint() pulumi.BoolPtrOutput

Denotes that the cluster has a public endpoint for the Consul UI. Defaults to false.

func (ConsulClusterOutput) Region added in v0.1.4

The region where the HCP Consul cluster is located.

func (ConsulClusterOutput) Scale added in v0.1.4

The number of Consul server nodes in the cluster.

A unique URL identifying the HCP Consul cluster.

func (ConsulClusterOutput) Size added in v0.1.4

The t-shirt size representation of each server VM that this Consul cluster is provisioned with. Valid option for development tier - `xSmall`. Valid options for other tiers - `small`, `medium`, `large`. For more details - https://cloud.hashicorp.com/pricing/consul. Upgrading the size of a cluster after creation is allowed.

func (ConsulClusterOutput) State added in v0.1.10

The state of the HCP Consul cluster.

func (ConsulClusterOutput) Tier added in v0.1.4

The tier that the HCP Consul cluster will be provisioned as. Only `development`, `standard` and `plus` are available at this time. See [pricing information](https://cloud.hashicorp.com/pricing/consul).

func (ConsulClusterOutput) ToConsulClusterOutput

func (o ConsulClusterOutput) ToConsulClusterOutput() ConsulClusterOutput

func (ConsulClusterOutput) ToConsulClusterOutputWithContext

func (o ConsulClusterOutput) ToConsulClusterOutputWithContext(ctx context.Context) ConsulClusterOutput

type ConsulClusterRootToken

type ConsulClusterRootToken struct {
	pulumi.CustomResourceState

	// The accessor ID of the root ACL token.
	AccessorId pulumi.StringOutput `pulumi:"accessorId"`
	// The ID of the HCP Consul cluster.
	ClusterId pulumi.StringOutput `pulumi:"clusterId"`
	// The root ACL token Base64 encoded in a Kubernetes secret.
	KubernetesSecret pulumi.StringOutput `pulumi:"kubernetesSecret"`
	// The secret ID of the root ACL token.
	SecretId pulumi.StringOutput `pulumi:"secretId"`
}

## Example Usage

```go package main

import (

"github.com/grapl-security/pulumi-hcp/sdk/go/hcp"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := hcp.NewConsulClusterRootToken(ctx, "example", &hcp.ConsulClusterRootTokenArgs{
			ClusterId: pulumi.String("consul-cluster"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

func GetConsulClusterRootToken

func GetConsulClusterRootToken(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ConsulClusterRootTokenState, opts ...pulumi.ResourceOption) (*ConsulClusterRootToken, error)

GetConsulClusterRootToken gets an existing ConsulClusterRootToken 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 NewConsulClusterRootToken

func NewConsulClusterRootToken(ctx *pulumi.Context,
	name string, args *ConsulClusterRootTokenArgs, opts ...pulumi.ResourceOption) (*ConsulClusterRootToken, error)

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

func (*ConsulClusterRootToken) ElementType

func (*ConsulClusterRootToken) ElementType() reflect.Type

func (*ConsulClusterRootToken) ToConsulClusterRootTokenOutput

func (i *ConsulClusterRootToken) ToConsulClusterRootTokenOutput() ConsulClusterRootTokenOutput

func (*ConsulClusterRootToken) ToConsulClusterRootTokenOutputWithContext

func (i *ConsulClusterRootToken) ToConsulClusterRootTokenOutputWithContext(ctx context.Context) ConsulClusterRootTokenOutput

type ConsulClusterRootTokenArgs

type ConsulClusterRootTokenArgs struct {
	// The ID of the HCP Consul cluster.
	ClusterId pulumi.StringInput
}

The set of arguments for constructing a ConsulClusterRootToken resource.

func (ConsulClusterRootTokenArgs) ElementType

func (ConsulClusterRootTokenArgs) ElementType() reflect.Type

type ConsulClusterRootTokenArray

type ConsulClusterRootTokenArray []ConsulClusterRootTokenInput

func (ConsulClusterRootTokenArray) ElementType

func (ConsulClusterRootTokenArray) ToConsulClusterRootTokenArrayOutput

func (i ConsulClusterRootTokenArray) ToConsulClusterRootTokenArrayOutput() ConsulClusterRootTokenArrayOutput

func (ConsulClusterRootTokenArray) ToConsulClusterRootTokenArrayOutputWithContext

func (i ConsulClusterRootTokenArray) ToConsulClusterRootTokenArrayOutputWithContext(ctx context.Context) ConsulClusterRootTokenArrayOutput

type ConsulClusterRootTokenArrayInput

type ConsulClusterRootTokenArrayInput interface {
	pulumi.Input

	ToConsulClusterRootTokenArrayOutput() ConsulClusterRootTokenArrayOutput
	ToConsulClusterRootTokenArrayOutputWithContext(context.Context) ConsulClusterRootTokenArrayOutput
}

ConsulClusterRootTokenArrayInput is an input type that accepts ConsulClusterRootTokenArray and ConsulClusterRootTokenArrayOutput values. You can construct a concrete instance of `ConsulClusterRootTokenArrayInput` via:

ConsulClusterRootTokenArray{ ConsulClusterRootTokenArgs{...} }

type ConsulClusterRootTokenArrayOutput

type ConsulClusterRootTokenArrayOutput struct{ *pulumi.OutputState }

func (ConsulClusterRootTokenArrayOutput) ElementType

func (ConsulClusterRootTokenArrayOutput) Index

func (ConsulClusterRootTokenArrayOutput) ToConsulClusterRootTokenArrayOutput

func (o ConsulClusterRootTokenArrayOutput) ToConsulClusterRootTokenArrayOutput() ConsulClusterRootTokenArrayOutput

func (ConsulClusterRootTokenArrayOutput) ToConsulClusterRootTokenArrayOutputWithContext

func (o ConsulClusterRootTokenArrayOutput) ToConsulClusterRootTokenArrayOutputWithContext(ctx context.Context) ConsulClusterRootTokenArrayOutput

type ConsulClusterRootTokenInput

type ConsulClusterRootTokenInput interface {
	pulumi.Input

	ToConsulClusterRootTokenOutput() ConsulClusterRootTokenOutput
	ToConsulClusterRootTokenOutputWithContext(ctx context.Context) ConsulClusterRootTokenOutput
}

type ConsulClusterRootTokenMap

type ConsulClusterRootTokenMap map[string]ConsulClusterRootTokenInput

func (ConsulClusterRootTokenMap) ElementType

func (ConsulClusterRootTokenMap) ElementType() reflect.Type

func (ConsulClusterRootTokenMap) ToConsulClusterRootTokenMapOutput

func (i ConsulClusterRootTokenMap) ToConsulClusterRootTokenMapOutput() ConsulClusterRootTokenMapOutput

func (ConsulClusterRootTokenMap) ToConsulClusterRootTokenMapOutputWithContext

func (i ConsulClusterRootTokenMap) ToConsulClusterRootTokenMapOutputWithContext(ctx context.Context) ConsulClusterRootTokenMapOutput

type ConsulClusterRootTokenMapInput

type ConsulClusterRootTokenMapInput interface {
	pulumi.Input

	ToConsulClusterRootTokenMapOutput() ConsulClusterRootTokenMapOutput
	ToConsulClusterRootTokenMapOutputWithContext(context.Context) ConsulClusterRootTokenMapOutput
}

ConsulClusterRootTokenMapInput is an input type that accepts ConsulClusterRootTokenMap and ConsulClusterRootTokenMapOutput values. You can construct a concrete instance of `ConsulClusterRootTokenMapInput` via:

ConsulClusterRootTokenMap{ "key": ConsulClusterRootTokenArgs{...} }

type ConsulClusterRootTokenMapOutput

type ConsulClusterRootTokenMapOutput struct{ *pulumi.OutputState }

func (ConsulClusterRootTokenMapOutput) ElementType

func (ConsulClusterRootTokenMapOutput) MapIndex

func (ConsulClusterRootTokenMapOutput) ToConsulClusterRootTokenMapOutput

func (o ConsulClusterRootTokenMapOutput) ToConsulClusterRootTokenMapOutput() ConsulClusterRootTokenMapOutput

func (ConsulClusterRootTokenMapOutput) ToConsulClusterRootTokenMapOutputWithContext

func (o ConsulClusterRootTokenMapOutput) ToConsulClusterRootTokenMapOutputWithContext(ctx context.Context) ConsulClusterRootTokenMapOutput

type ConsulClusterRootTokenOutput

type ConsulClusterRootTokenOutput struct{ *pulumi.OutputState }

func (ConsulClusterRootTokenOutput) AccessorId added in v0.1.4

The accessor ID of the root ACL token.

func (ConsulClusterRootTokenOutput) ClusterId added in v0.1.4

The ID of the HCP Consul cluster.

func (ConsulClusterRootTokenOutput) ElementType

func (ConsulClusterRootTokenOutput) KubernetesSecret added in v0.1.4

func (o ConsulClusterRootTokenOutput) KubernetesSecret() pulumi.StringOutput

The root ACL token Base64 encoded in a Kubernetes secret.

func (ConsulClusterRootTokenOutput) SecretId added in v0.1.4

The secret ID of the root ACL token.

func (ConsulClusterRootTokenOutput) ToConsulClusterRootTokenOutput

func (o ConsulClusterRootTokenOutput) ToConsulClusterRootTokenOutput() ConsulClusterRootTokenOutput

func (ConsulClusterRootTokenOutput) ToConsulClusterRootTokenOutputWithContext

func (o ConsulClusterRootTokenOutput) ToConsulClusterRootTokenOutputWithContext(ctx context.Context) ConsulClusterRootTokenOutput

type ConsulClusterRootTokenState

type ConsulClusterRootTokenState struct {
	// The accessor ID of the root ACL token.
	AccessorId pulumi.StringPtrInput
	// The ID of the HCP Consul cluster.
	ClusterId pulumi.StringPtrInput
	// The root ACL token Base64 encoded in a Kubernetes secret.
	KubernetesSecret pulumi.StringPtrInput
	// The secret ID of the root ACL token.
	SecretId pulumi.StringPtrInput
}

func (ConsulClusterRootTokenState) ElementType

type ConsulClusterState

type ConsulClusterState struct {
	// Enables automatic HVN to HVN peering when creating a secondary cluster in a federation. The alternative to using the auto-accept feature is to create an `HvnPeeringConnection` resource that explicitly defines the HVN resources that are allowed to communicate with each other.
	AutoHvnToHvnPeering pulumi.BoolPtrInput
	// The provider where the HCP Consul cluster is located.
	CloudProvider pulumi.StringPtrInput
	// The ID of the HCP Consul cluster.
	ClusterId pulumi.StringPtrInput
	// Denotes the Consul connect feature should be enabled for this cluster.  Default to true.
	ConnectEnabled pulumi.BoolPtrInput
	// Denotes that automatic Consul upgrades are enabled.
	ConsulAutomaticUpgrades pulumi.BoolPtrInput
	// The cluster CA file encoded as a Base64 string.
	ConsulCaFile pulumi.StringPtrInput
	// The cluster config encoded as a Base64 string.
	ConsulConfigFile pulumi.StringPtrInput
	// The private URL for the Consul UI.
	ConsulPrivateEndpointUrl pulumi.StringPtrInput
	// The public URL for the Consul UI. This will be empty if `publicEndpoint` is `false`.
	ConsulPublicEndpointUrl pulumi.StringPtrInput
	// The accessor ID of the root ACL token that is generated upon cluster creation. If a new root token is generated using the `hcpConsulRootToken` resource, this field is no longer valid.
	ConsulRootTokenAccessorId pulumi.StringPtrInput
	// The secret ID of the root ACL token that is generated upon cluster creation. If a new root token is generated using the `hcpConsulRootToken` resource, this field is no longer valid.
	ConsulRootTokenSecretId pulumi.StringPtrInput
	// The Consul snapshot interval.
	ConsulSnapshotInterval pulumi.StringPtrInput
	// The retention policy for Consul snapshots.
	ConsulSnapshotRetention pulumi.StringPtrInput
	// The Consul version of the cluster.
	ConsulVersion pulumi.StringPtrInput
	// The Consul data center name of the cluster. If not specified, it is defaulted to the value of `clusterId`.
	Datacenter pulumi.StringPtrInput
	// The ID of the HVN this HCP Consul cluster is associated to.
	HvnId pulumi.StringPtrInput
	// The minimum Consul version of the cluster. If not specified, it is defaulted to the version that is currently recommended by HCP.
	MinConsulVersion pulumi.StringPtrInput
	// The ID of the organization this HCP Consul cluster is located in.
	OrganizationId pulumi.StringPtrInput
	// The `selfLink` of the HCP Consul cluster which is the primary in the federation setup with this HCP Consul cluster. If not specified, it is a standalone cluster.
	PrimaryLink pulumi.StringPtrInput
	// The ID of the project this HCP Consul cluster is located in.
	ProjectId pulumi.StringPtrInput
	// Denotes that the cluster has a public endpoint for the Consul UI. Defaults to false.
	PublicEndpoint pulumi.BoolPtrInput
	// The region where the HCP Consul cluster is located.
	Region pulumi.StringPtrInput
	// The number of Consul server nodes in the cluster.
	Scale pulumi.IntPtrInput
	// A unique URL identifying the HCP Consul cluster.
	SelfLink pulumi.StringPtrInput
	// The t-shirt size representation of each server VM that this Consul cluster is provisioned with. Valid option for development tier - `xSmall`. Valid options for other tiers - `small`, `medium`, `large`. For more details - https://cloud.hashicorp.com/pricing/consul. Upgrading the size of a cluster after creation is allowed.
	Size pulumi.StringPtrInput
	// The state of the HCP Consul cluster.
	State pulumi.StringPtrInput
	// The tier that the HCP Consul cluster will be provisioned as.  Only `development`, `standard` and `plus` are available at this time. See [pricing information](https://cloud.hashicorp.com/pricing/consul).
	Tier pulumi.StringPtrInput
}

func (ConsulClusterState) ElementType

func (ConsulClusterState) ElementType() reflect.Type

type ConsulSnapshot

type ConsulSnapshot struct {
	pulumi.CustomResourceState

	// The ID of the HCP Consul cluster.
	ClusterId pulumi.StringOutput `pulumi:"clusterId"`
	// The version of Consul at the time of snapshot creation.
	ConsulVersion pulumi.StringOutput `pulumi:"consulVersion"`
	// The ID of the HCP organization where the project the HCP Consul cluster is located.
	OrganizationId pulumi.StringOutput `pulumi:"organizationId"`
	// The ID of the project the HCP Consul cluster is located.
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
	// Timestamp of when the snapshot was restored. If the snapshot has not been restored, this field will be blank.
	RestoredAt pulumi.StringOutput `pulumi:"restoredAt"`
	// The size of the snapshot in bytes.
	Size pulumi.IntOutput `pulumi:"size"`
	// The ID of the Consul snapshot
	SnapshotId pulumi.StringOutput `pulumi:"snapshotId"`
	// The name of the snapshot.
	SnapshotName pulumi.StringOutput `pulumi:"snapshotName"`
	// The state of an HCP Consul snapshot.
	State pulumi.StringOutput `pulumi:"state"`
}

The Consul snapshot resource allows users to manage Consul snapshots of an HCP Consul cluster. Snapshots currently have a retention policy of 30 days.

## Example Usage

```go package main

import (

"github.com/grapl-security/pulumi-hcp/sdk/go/hcp"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := hcp.NewConsulSnapshot(ctx, "example", &hcp.ConsulSnapshotArgs{
			ClusterId:    pulumi.String("consul-cluster"),
			SnapshotName: pulumi.String("my-snapshot"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

func GetConsulSnapshot

func GetConsulSnapshot(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ConsulSnapshotState, opts ...pulumi.ResourceOption) (*ConsulSnapshot, error)

GetConsulSnapshot gets an existing ConsulSnapshot 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 NewConsulSnapshot

func NewConsulSnapshot(ctx *pulumi.Context,
	name string, args *ConsulSnapshotArgs, opts ...pulumi.ResourceOption) (*ConsulSnapshot, error)

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

func (*ConsulSnapshot) ElementType

func (*ConsulSnapshot) ElementType() reflect.Type

func (*ConsulSnapshot) ToConsulSnapshotOutput

func (i *ConsulSnapshot) ToConsulSnapshotOutput() ConsulSnapshotOutput

func (*ConsulSnapshot) ToConsulSnapshotOutputWithContext

func (i *ConsulSnapshot) ToConsulSnapshotOutputWithContext(ctx context.Context) ConsulSnapshotOutput

type ConsulSnapshotArgs

type ConsulSnapshotArgs struct {
	// The ID of the HCP Consul cluster.
	ClusterId pulumi.StringInput
	// The name of the snapshot.
	SnapshotName pulumi.StringInput
}

The set of arguments for constructing a ConsulSnapshot resource.

func (ConsulSnapshotArgs) ElementType

func (ConsulSnapshotArgs) ElementType() reflect.Type

type ConsulSnapshotArray

type ConsulSnapshotArray []ConsulSnapshotInput

func (ConsulSnapshotArray) ElementType

func (ConsulSnapshotArray) ElementType() reflect.Type

func (ConsulSnapshotArray) ToConsulSnapshotArrayOutput

func (i ConsulSnapshotArray) ToConsulSnapshotArrayOutput() ConsulSnapshotArrayOutput

func (ConsulSnapshotArray) ToConsulSnapshotArrayOutputWithContext

func (i ConsulSnapshotArray) ToConsulSnapshotArrayOutputWithContext(ctx context.Context) ConsulSnapshotArrayOutput

type ConsulSnapshotArrayInput

type ConsulSnapshotArrayInput interface {
	pulumi.Input

	ToConsulSnapshotArrayOutput() ConsulSnapshotArrayOutput
	ToConsulSnapshotArrayOutputWithContext(context.Context) ConsulSnapshotArrayOutput
}

ConsulSnapshotArrayInput is an input type that accepts ConsulSnapshotArray and ConsulSnapshotArrayOutput values. You can construct a concrete instance of `ConsulSnapshotArrayInput` via:

ConsulSnapshotArray{ ConsulSnapshotArgs{...} }

type ConsulSnapshotArrayOutput

type ConsulSnapshotArrayOutput struct{ *pulumi.OutputState }

func (ConsulSnapshotArrayOutput) ElementType

func (ConsulSnapshotArrayOutput) ElementType() reflect.Type

func (ConsulSnapshotArrayOutput) Index

func (ConsulSnapshotArrayOutput) ToConsulSnapshotArrayOutput

func (o ConsulSnapshotArrayOutput) ToConsulSnapshotArrayOutput() ConsulSnapshotArrayOutput

func (ConsulSnapshotArrayOutput) ToConsulSnapshotArrayOutputWithContext

func (o ConsulSnapshotArrayOutput) ToConsulSnapshotArrayOutputWithContext(ctx context.Context) ConsulSnapshotArrayOutput

type ConsulSnapshotInput

type ConsulSnapshotInput interface {
	pulumi.Input

	ToConsulSnapshotOutput() ConsulSnapshotOutput
	ToConsulSnapshotOutputWithContext(ctx context.Context) ConsulSnapshotOutput
}

type ConsulSnapshotMap

type ConsulSnapshotMap map[string]ConsulSnapshotInput

func (ConsulSnapshotMap) ElementType

func (ConsulSnapshotMap) ElementType() reflect.Type

func (ConsulSnapshotMap) ToConsulSnapshotMapOutput

func (i ConsulSnapshotMap) ToConsulSnapshotMapOutput() ConsulSnapshotMapOutput

func (ConsulSnapshotMap) ToConsulSnapshotMapOutputWithContext

func (i ConsulSnapshotMap) ToConsulSnapshotMapOutputWithContext(ctx context.Context) ConsulSnapshotMapOutput

type ConsulSnapshotMapInput

type ConsulSnapshotMapInput interface {
	pulumi.Input

	ToConsulSnapshotMapOutput() ConsulSnapshotMapOutput
	ToConsulSnapshotMapOutputWithContext(context.Context) ConsulSnapshotMapOutput
}

ConsulSnapshotMapInput is an input type that accepts ConsulSnapshotMap and ConsulSnapshotMapOutput values. You can construct a concrete instance of `ConsulSnapshotMapInput` via:

ConsulSnapshotMap{ "key": ConsulSnapshotArgs{...} }

type ConsulSnapshotMapOutput

type ConsulSnapshotMapOutput struct{ *pulumi.OutputState }

func (ConsulSnapshotMapOutput) ElementType

func (ConsulSnapshotMapOutput) ElementType() reflect.Type

func (ConsulSnapshotMapOutput) MapIndex

func (ConsulSnapshotMapOutput) ToConsulSnapshotMapOutput

func (o ConsulSnapshotMapOutput) ToConsulSnapshotMapOutput() ConsulSnapshotMapOutput

func (ConsulSnapshotMapOutput) ToConsulSnapshotMapOutputWithContext

func (o ConsulSnapshotMapOutput) ToConsulSnapshotMapOutputWithContext(ctx context.Context) ConsulSnapshotMapOutput

type ConsulSnapshotOutput

type ConsulSnapshotOutput struct{ *pulumi.OutputState }

func (ConsulSnapshotOutput) ClusterId added in v0.1.4

The ID of the HCP Consul cluster.

func (ConsulSnapshotOutput) ConsulVersion added in v0.1.4

func (o ConsulSnapshotOutput) ConsulVersion() pulumi.StringOutput

The version of Consul at the time of snapshot creation.

func (ConsulSnapshotOutput) ElementType

func (ConsulSnapshotOutput) ElementType() reflect.Type

func (ConsulSnapshotOutput) OrganizationId added in v0.1.4

func (o ConsulSnapshotOutput) OrganizationId() pulumi.StringOutput

The ID of the HCP organization where the project the HCP Consul cluster is located.

func (ConsulSnapshotOutput) ProjectId added in v0.1.4

The ID of the project the HCP Consul cluster is located.

func (ConsulSnapshotOutput) RestoredAt added in v0.1.4

func (o ConsulSnapshotOutput) RestoredAt() pulumi.StringOutput

Timestamp of when the snapshot was restored. If the snapshot has not been restored, this field will be blank.

func (ConsulSnapshotOutput) Size added in v0.1.4

The size of the snapshot in bytes.

func (ConsulSnapshotOutput) SnapshotId added in v0.1.4

func (o ConsulSnapshotOutput) SnapshotId() pulumi.StringOutput

The ID of the Consul snapshot

func (ConsulSnapshotOutput) SnapshotName added in v0.1.4

func (o ConsulSnapshotOutput) SnapshotName() pulumi.StringOutput

The name of the snapshot.

func (ConsulSnapshotOutput) State added in v0.1.10

The state of an HCP Consul snapshot.

func (ConsulSnapshotOutput) ToConsulSnapshotOutput

func (o ConsulSnapshotOutput) ToConsulSnapshotOutput() ConsulSnapshotOutput

func (ConsulSnapshotOutput) ToConsulSnapshotOutputWithContext

func (o ConsulSnapshotOutput) ToConsulSnapshotOutputWithContext(ctx context.Context) ConsulSnapshotOutput

type ConsulSnapshotState

type ConsulSnapshotState struct {
	// The ID of the HCP Consul cluster.
	ClusterId pulumi.StringPtrInput
	// The version of Consul at the time of snapshot creation.
	ConsulVersion pulumi.StringPtrInput
	// The ID of the HCP organization where the project the HCP Consul cluster is located.
	OrganizationId pulumi.StringPtrInput
	// The ID of the project the HCP Consul cluster is located.
	ProjectId pulumi.StringPtrInput
	// Timestamp of when the snapshot was restored. If the snapshot has not been restored, this field will be blank.
	RestoredAt pulumi.StringPtrInput
	// The size of the snapshot in bytes.
	Size pulumi.IntPtrInput
	// The ID of the Consul snapshot
	SnapshotId pulumi.StringPtrInput
	// The name of the snapshot.
	SnapshotName pulumi.StringPtrInput
	// The state of an HCP Consul snapshot.
	State pulumi.StringPtrInput
}

func (ConsulSnapshotState) ElementType

func (ConsulSnapshotState) ElementType() reflect.Type

type GetConsulAgentHelmConfigArgs

type GetConsulAgentHelmConfigArgs struct {
	// The ID of the HCP Consul cluster.
	ClusterId string `pulumi:"clusterId"`
	// Denotes that the gossip ports should be exposed.
	ExposeGossipPorts *bool `pulumi:"exposeGossipPorts"`
	// The FQDN for the Kubernetes API.
	KubernetesEndpoint string `pulumi:"kubernetesEndpoint"`
}

A collection of arguments for invoking getConsulAgentHelmConfig.

type GetConsulAgentHelmConfigOutputArgs

type GetConsulAgentHelmConfigOutputArgs struct {
	// The ID of the HCP Consul cluster.
	ClusterId pulumi.StringInput `pulumi:"clusterId"`
	// Denotes that the gossip ports should be exposed.
	ExposeGossipPorts pulumi.BoolPtrInput `pulumi:"exposeGossipPorts"`
	// The FQDN for the Kubernetes API.
	KubernetesEndpoint pulumi.StringInput `pulumi:"kubernetesEndpoint"`
}

A collection of arguments for invoking getConsulAgentHelmConfig.

func (GetConsulAgentHelmConfigOutputArgs) ElementType

type GetConsulAgentHelmConfigResult

type GetConsulAgentHelmConfigResult struct {
	// The ID of the HCP Consul cluster.
	ClusterId string `pulumi:"clusterId"`
	// The agent Helm config.
	Config string `pulumi:"config"`
	// Denotes that the gossip ports should be exposed.
	ExposeGossipPorts *bool `pulumi:"exposeGossipPorts"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The FQDN for the Kubernetes API.
	KubernetesEndpoint string `pulumi:"kubernetesEndpoint"`
}

A collection of values returned by getConsulAgentHelmConfig.

func GetConsulAgentHelmConfig

func GetConsulAgentHelmConfig(ctx *pulumi.Context, args *GetConsulAgentHelmConfigArgs, opts ...pulumi.InvokeOption) (*GetConsulAgentHelmConfigResult, error)

The Consul agent Helm config data source provides Helm values for a Consul agent running in Kubernetes.

## Example Usage

```go package main

import (

"github.com/grapl-security/pulumi-hcp/sdk/go/hcp"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := hcp.GetConsulAgentHelmConfig(ctx, &GetConsulAgentHelmConfigArgs{
			ClusterId:          _var.Cluster_id,
			KubernetesEndpoint: _var.Kubernetes_endpoint,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetConsulAgentHelmConfigResultOutput

type GetConsulAgentHelmConfigResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getConsulAgentHelmConfig.

func (GetConsulAgentHelmConfigResultOutput) ClusterId

The ID of the HCP Consul cluster.

func (GetConsulAgentHelmConfigResultOutput) Config

The agent Helm config.

func (GetConsulAgentHelmConfigResultOutput) ElementType

func (GetConsulAgentHelmConfigResultOutput) ExposeGossipPorts

Denotes that the gossip ports should be exposed.

func (GetConsulAgentHelmConfigResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetConsulAgentHelmConfigResultOutput) KubernetesEndpoint

The FQDN for the Kubernetes API.

func (GetConsulAgentHelmConfigResultOutput) ToGetConsulAgentHelmConfigResultOutput

func (o GetConsulAgentHelmConfigResultOutput) ToGetConsulAgentHelmConfigResultOutput() GetConsulAgentHelmConfigResultOutput

func (GetConsulAgentHelmConfigResultOutput) ToGetConsulAgentHelmConfigResultOutputWithContext

func (o GetConsulAgentHelmConfigResultOutput) ToGetConsulAgentHelmConfigResultOutputWithContext(ctx context.Context) GetConsulAgentHelmConfigResultOutput

type GetConsulAgentKubernetesSecretArgs

type GetConsulAgentKubernetesSecretArgs struct {
	// The ID of the HCP Consul cluster.
	ClusterId string `pulumi:"clusterId"`
}

A collection of arguments for invoking getConsulAgentKubernetesSecret.

type GetConsulAgentKubernetesSecretOutputArgs

type GetConsulAgentKubernetesSecretOutputArgs struct {
	// The ID of the HCP Consul cluster.
	ClusterId pulumi.StringInput `pulumi:"clusterId"`
}

A collection of arguments for invoking getConsulAgentKubernetesSecret.

func (GetConsulAgentKubernetesSecretOutputArgs) ElementType

type GetConsulAgentKubernetesSecretResult

type GetConsulAgentKubernetesSecretResult struct {
	// The ID of the HCP Consul cluster.
	ClusterId string `pulumi:"clusterId"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The Consul agent configuration in the format of a Kubernetes secret (YAML).
	Secret string `pulumi:"secret"`
}

A collection of values returned by getConsulAgentKubernetesSecret.

func GetConsulAgentKubernetesSecret

The agent config Kubernetes secret data source provides Consul agents running in Kubernetes the configuration needed to connect to the Consul cluster.

## Example Usage

```go package main

import (

"github.com/grapl-security/pulumi-hcp/sdk/go/hcp"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := hcp.GetConsulAgentKubernetesSecret(ctx, &GetConsulAgentKubernetesSecretArgs{
			ClusterId: _var.Cluster_id,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetConsulAgentKubernetesSecretResultOutput

type GetConsulAgentKubernetesSecretResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getConsulAgentKubernetesSecret.

func (GetConsulAgentKubernetesSecretResultOutput) ClusterId

The ID of the HCP Consul cluster.

func (GetConsulAgentKubernetesSecretResultOutput) ElementType

func (GetConsulAgentKubernetesSecretResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetConsulAgentKubernetesSecretResultOutput) Secret

The Consul agent configuration in the format of a Kubernetes secret (YAML).

func (GetConsulAgentKubernetesSecretResultOutput) ToGetConsulAgentKubernetesSecretResultOutput

func (o GetConsulAgentKubernetesSecretResultOutput) ToGetConsulAgentKubernetesSecretResultOutput() GetConsulAgentKubernetesSecretResultOutput

func (GetConsulAgentKubernetesSecretResultOutput) ToGetConsulAgentKubernetesSecretResultOutputWithContext

func (o GetConsulAgentKubernetesSecretResultOutput) ToGetConsulAgentKubernetesSecretResultOutputWithContext(ctx context.Context) GetConsulAgentKubernetesSecretResultOutput

type GetConsulVersionsResult

type GetConsulVersionsResult struct {
	// The Consul versions available on HCP.
	Availables []string `pulumi:"availables"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The preview versions of Consul available on HCP.
	Previews []string `pulumi:"previews"`
	// The recommended Consul version for HCP clusters.
	Recommended string `pulumi:"recommended"`
}

A collection of values returned by getConsulVersions.

func GetConsulVersions

func GetConsulVersions(ctx *pulumi.Context, opts ...pulumi.InvokeOption) (*GetConsulVersionsResult, error)

The Consul versions data source provides the Consul versions supported by HCP.

## Example Usage

```go package main

import (

"github.com/grapl-security/pulumi-hcp/sdk/go/hcp"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := hcp.GetConsulVersions(ctx, nil, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetPackerImageArgs

type GetPackerImageArgs struct {
	// The slug of the HCP Packer Registry image bucket to pull from.
	BucketName string `pulumi:"bucketName"`
	// The channel that points to the version of the image being retrieved. Either this or `iterationId` must be specified. Note: will incur a billable request
	Channel *string `pulumi:"channel"`
	// Name of the cloud provider this image is stored-in.
	CloudProvider string `pulumi:"cloudProvider"`
	// Name of the builder that built this image. Ex: `amazon-ebs.example`.
	ComponentType *string `pulumi:"componentType"`
	// The iteration from which to get the image. Either this or `channel` must be specified.
	IterationId *string `pulumi:"iterationId"`
	// Region this image is stored in, if any.
	Region string `pulumi:"region"`
}

A collection of arguments for invoking getPackerImage.

type GetPackerImageIterationArgs

type GetPackerImageIterationArgs struct {
	// The slug of the HCP Packer Registry image bucket to pull from.
	BucketName string `pulumi:"bucketName"`
	// The channel that points to the version of the image you want.
	Channel string `pulumi:"channel"`
}

A collection of arguments for invoking getPackerImageIteration.

type GetPackerImageIterationBuild

type GetPackerImageIterationBuild struct {
	// Name of the cloud provider this image is stored-in, if any.
	CloudProvider string `pulumi:"cloudProvider"`
	// Name of the builder that built this. Ex: 'amazon-ebs.example'.
	ComponentType string `pulumi:"componentType"`
	// Creation time of this build.
	CreatedAt string `pulumi:"createdAt"`
	// HCP ID of this build.
	Id     string                              `pulumi:"id"`
	Images []GetPackerImageIterationBuildImage `pulumi:"images"`
	// Labels for this build.
	Labels map[string]string `pulumi:"labels"`
	// Packer generated UUID of this build.
	PackerRunUuid string `pulumi:"packerRunUuid"`
	// Status of this build. DONE means that all images tied to this build were successfully built.
	Status string `pulumi:"status"`
	// Time this build was last updated.
	UpdatedAt string `pulumi:"updatedAt"`
}

type GetPackerImageIterationBuildArgs

type GetPackerImageIterationBuildArgs struct {
	// Name of the cloud provider this image is stored-in, if any.
	CloudProvider pulumi.StringInput `pulumi:"cloudProvider"`
	// Name of the builder that built this. Ex: 'amazon-ebs.example'.
	ComponentType pulumi.StringInput `pulumi:"componentType"`
	// Creation time of this build.
	CreatedAt pulumi.StringInput `pulumi:"createdAt"`
	// HCP ID of this build.
	Id     pulumi.StringInput                          `pulumi:"id"`
	Images GetPackerImageIterationBuildImageArrayInput `pulumi:"images"`
	// Labels for this build.
	Labels pulumi.StringMapInput `pulumi:"labels"`
	// Packer generated UUID of this build.
	PackerRunUuid pulumi.StringInput `pulumi:"packerRunUuid"`
	// Status of this build. DONE means that all images tied to this build were successfully built.
	Status pulumi.StringInput `pulumi:"status"`
	// Time this build was last updated.
	UpdatedAt pulumi.StringInput `pulumi:"updatedAt"`
}

func (GetPackerImageIterationBuildArgs) ElementType

func (GetPackerImageIterationBuildArgs) ToGetPackerImageIterationBuildOutput

func (i GetPackerImageIterationBuildArgs) ToGetPackerImageIterationBuildOutput() GetPackerImageIterationBuildOutput

func (GetPackerImageIterationBuildArgs) ToGetPackerImageIterationBuildOutputWithContext

func (i GetPackerImageIterationBuildArgs) ToGetPackerImageIterationBuildOutputWithContext(ctx context.Context) GetPackerImageIterationBuildOutput

type GetPackerImageIterationBuildArray

type GetPackerImageIterationBuildArray []GetPackerImageIterationBuildInput

func (GetPackerImageIterationBuildArray) ElementType

func (GetPackerImageIterationBuildArray) ToGetPackerImageIterationBuildArrayOutput

func (i GetPackerImageIterationBuildArray) ToGetPackerImageIterationBuildArrayOutput() GetPackerImageIterationBuildArrayOutput

func (GetPackerImageIterationBuildArray) ToGetPackerImageIterationBuildArrayOutputWithContext

func (i GetPackerImageIterationBuildArray) ToGetPackerImageIterationBuildArrayOutputWithContext(ctx context.Context) GetPackerImageIterationBuildArrayOutput

type GetPackerImageIterationBuildArrayInput

type GetPackerImageIterationBuildArrayInput interface {
	pulumi.Input

	ToGetPackerImageIterationBuildArrayOutput() GetPackerImageIterationBuildArrayOutput
	ToGetPackerImageIterationBuildArrayOutputWithContext(context.Context) GetPackerImageIterationBuildArrayOutput
}

GetPackerImageIterationBuildArrayInput is an input type that accepts GetPackerImageIterationBuildArray and GetPackerImageIterationBuildArrayOutput values. You can construct a concrete instance of `GetPackerImageIterationBuildArrayInput` via:

GetPackerImageIterationBuildArray{ GetPackerImageIterationBuildArgs{...} }

type GetPackerImageIterationBuildArrayOutput

type GetPackerImageIterationBuildArrayOutput struct{ *pulumi.OutputState }

func (GetPackerImageIterationBuildArrayOutput) ElementType

func (GetPackerImageIterationBuildArrayOutput) Index

func (GetPackerImageIterationBuildArrayOutput) ToGetPackerImageIterationBuildArrayOutput

func (o GetPackerImageIterationBuildArrayOutput) ToGetPackerImageIterationBuildArrayOutput() GetPackerImageIterationBuildArrayOutput

func (GetPackerImageIterationBuildArrayOutput) ToGetPackerImageIterationBuildArrayOutputWithContext

func (o GetPackerImageIterationBuildArrayOutput) ToGetPackerImageIterationBuildArrayOutputWithContext(ctx context.Context) GetPackerImageIterationBuildArrayOutput

type GetPackerImageIterationBuildImage

type GetPackerImageIterationBuildImage struct {
	// Creation time of this iteration
	CreatedAt string `pulumi:"createdAt"`
	// The ID of this resource.
	Id      string `pulumi:"id"`
	ImageId string `pulumi:"imageId"`
	Region  string `pulumi:"region"`
}

type GetPackerImageIterationBuildImageArgs

type GetPackerImageIterationBuildImageArgs struct {
	// Creation time of this iteration
	CreatedAt pulumi.StringInput `pulumi:"createdAt"`
	// The ID of this resource.
	Id      pulumi.StringInput `pulumi:"id"`
	ImageId pulumi.StringInput `pulumi:"imageId"`
	Region  pulumi.StringInput `pulumi:"region"`
}

func (GetPackerImageIterationBuildImageArgs) ElementType

func (GetPackerImageIterationBuildImageArgs) ToGetPackerImageIterationBuildImageOutput

func (i GetPackerImageIterationBuildImageArgs) ToGetPackerImageIterationBuildImageOutput() GetPackerImageIterationBuildImageOutput

func (GetPackerImageIterationBuildImageArgs) ToGetPackerImageIterationBuildImageOutputWithContext

func (i GetPackerImageIterationBuildImageArgs) ToGetPackerImageIterationBuildImageOutputWithContext(ctx context.Context) GetPackerImageIterationBuildImageOutput

type GetPackerImageIterationBuildImageArray

type GetPackerImageIterationBuildImageArray []GetPackerImageIterationBuildImageInput

func (GetPackerImageIterationBuildImageArray) ElementType

func (GetPackerImageIterationBuildImageArray) ToGetPackerImageIterationBuildImageArrayOutput

func (i GetPackerImageIterationBuildImageArray) ToGetPackerImageIterationBuildImageArrayOutput() GetPackerImageIterationBuildImageArrayOutput

func (GetPackerImageIterationBuildImageArray) ToGetPackerImageIterationBuildImageArrayOutputWithContext

func (i GetPackerImageIterationBuildImageArray) ToGetPackerImageIterationBuildImageArrayOutputWithContext(ctx context.Context) GetPackerImageIterationBuildImageArrayOutput

type GetPackerImageIterationBuildImageArrayInput

type GetPackerImageIterationBuildImageArrayInput interface {
	pulumi.Input

	ToGetPackerImageIterationBuildImageArrayOutput() GetPackerImageIterationBuildImageArrayOutput
	ToGetPackerImageIterationBuildImageArrayOutputWithContext(context.Context) GetPackerImageIterationBuildImageArrayOutput
}

GetPackerImageIterationBuildImageArrayInput is an input type that accepts GetPackerImageIterationBuildImageArray and GetPackerImageIterationBuildImageArrayOutput values. You can construct a concrete instance of `GetPackerImageIterationBuildImageArrayInput` via:

GetPackerImageIterationBuildImageArray{ GetPackerImageIterationBuildImageArgs{...} }

type GetPackerImageIterationBuildImageArrayOutput

type GetPackerImageIterationBuildImageArrayOutput struct{ *pulumi.OutputState }

func (GetPackerImageIterationBuildImageArrayOutput) ElementType

func (GetPackerImageIterationBuildImageArrayOutput) Index

func (GetPackerImageIterationBuildImageArrayOutput) ToGetPackerImageIterationBuildImageArrayOutput

func (o GetPackerImageIterationBuildImageArrayOutput) ToGetPackerImageIterationBuildImageArrayOutput() GetPackerImageIterationBuildImageArrayOutput

func (GetPackerImageIterationBuildImageArrayOutput) ToGetPackerImageIterationBuildImageArrayOutputWithContext

func (o GetPackerImageIterationBuildImageArrayOutput) ToGetPackerImageIterationBuildImageArrayOutputWithContext(ctx context.Context) GetPackerImageIterationBuildImageArrayOutput

type GetPackerImageIterationBuildImageInput

type GetPackerImageIterationBuildImageInput interface {
	pulumi.Input

	ToGetPackerImageIterationBuildImageOutput() GetPackerImageIterationBuildImageOutput
	ToGetPackerImageIterationBuildImageOutputWithContext(context.Context) GetPackerImageIterationBuildImageOutput
}

GetPackerImageIterationBuildImageInput is an input type that accepts GetPackerImageIterationBuildImageArgs and GetPackerImageIterationBuildImageOutput values. You can construct a concrete instance of `GetPackerImageIterationBuildImageInput` via:

GetPackerImageIterationBuildImageArgs{...}

type GetPackerImageIterationBuildImageOutput

type GetPackerImageIterationBuildImageOutput struct{ *pulumi.OutputState }

func (GetPackerImageIterationBuildImageOutput) CreatedAt

Creation time of this iteration

func (GetPackerImageIterationBuildImageOutput) ElementType

func (GetPackerImageIterationBuildImageOutput) Id

The ID of this resource.

func (GetPackerImageIterationBuildImageOutput) ImageId

func (GetPackerImageIterationBuildImageOutput) Region

func (GetPackerImageIterationBuildImageOutput) ToGetPackerImageIterationBuildImageOutput

func (o GetPackerImageIterationBuildImageOutput) ToGetPackerImageIterationBuildImageOutput() GetPackerImageIterationBuildImageOutput

func (GetPackerImageIterationBuildImageOutput) ToGetPackerImageIterationBuildImageOutputWithContext

func (o GetPackerImageIterationBuildImageOutput) ToGetPackerImageIterationBuildImageOutputWithContext(ctx context.Context) GetPackerImageIterationBuildImageOutput

type GetPackerImageIterationBuildInput

type GetPackerImageIterationBuildInput interface {
	pulumi.Input

	ToGetPackerImageIterationBuildOutput() GetPackerImageIterationBuildOutput
	ToGetPackerImageIterationBuildOutputWithContext(context.Context) GetPackerImageIterationBuildOutput
}

GetPackerImageIterationBuildInput is an input type that accepts GetPackerImageIterationBuildArgs and GetPackerImageIterationBuildOutput values. You can construct a concrete instance of `GetPackerImageIterationBuildInput` via:

GetPackerImageIterationBuildArgs{...}

type GetPackerImageIterationBuildOutput

type GetPackerImageIterationBuildOutput struct{ *pulumi.OutputState }

func (GetPackerImageIterationBuildOutput) CloudProvider

Name of the cloud provider this image is stored-in, if any.

func (GetPackerImageIterationBuildOutput) ComponentType

Name of the builder that built this. Ex: 'amazon-ebs.example'.

func (GetPackerImageIterationBuildOutput) CreatedAt

Creation time of this build.

func (GetPackerImageIterationBuildOutput) ElementType

func (GetPackerImageIterationBuildOutput) Id

HCP ID of this build.

func (GetPackerImageIterationBuildOutput) Images

func (GetPackerImageIterationBuildOutput) Labels

Labels for this build.

func (GetPackerImageIterationBuildOutput) PackerRunUuid

Packer generated UUID of this build.

func (GetPackerImageIterationBuildOutput) Status

Status of this build. DONE means that all images tied to this build were successfully built.

func (GetPackerImageIterationBuildOutput) ToGetPackerImageIterationBuildOutput

func (o GetPackerImageIterationBuildOutput) ToGetPackerImageIterationBuildOutput() GetPackerImageIterationBuildOutput

func (GetPackerImageIterationBuildOutput) ToGetPackerImageIterationBuildOutputWithContext

func (o GetPackerImageIterationBuildOutput) ToGetPackerImageIterationBuildOutputWithContext(ctx context.Context) GetPackerImageIterationBuildOutput

func (GetPackerImageIterationBuildOutput) UpdatedAt

Time this build was last updated.

type GetPackerImageIterationOutputArgs

type GetPackerImageIterationOutputArgs struct {
	// The slug of the HCP Packer Registry image bucket to pull from.
	BucketName pulumi.StringInput `pulumi:"bucketName"`
	// The channel that points to the version of the image you want.
	Channel pulumi.StringInput `pulumi:"channel"`
}

A collection of arguments for invoking getPackerImageIteration.

func (GetPackerImageIterationOutputArgs) ElementType

type GetPackerImageIterationResult

type GetPackerImageIterationResult struct {
	// The slug of the HCP Packer Registry image bucket to pull from.
	BucketName string `pulumi:"bucketName"`
	// Builds for this iteration. An iteration can have more than one build if it took more than one go to build all images.
	Builds []GetPackerImageIterationBuild `pulumi:"builds"`
	// The channel that points to the version of the image you want.
	Channel string `pulumi:"channel"`
	// Creation time of this iteration
	CreatedAt string `pulumi:"createdAt"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// Incremental version of this iteration
	IncrementalVersion int `pulumi:"incrementalVersion"`
	// The ID of the organization this HCP Packer registry is located in.
	OrganizationId string `pulumi:"organizationId"`
	// The ID of the project this HCP Packer registry is located in.
	ProjectId string `pulumi:"projectId"`
	RevokeAt  string `pulumi:"revokeAt"`
}

A collection of values returned by getPackerImageIteration.

func GetPackerImageIteration

func GetPackerImageIteration(ctx *pulumi.Context, args *GetPackerImageIterationArgs, opts ...pulumi.InvokeOption) (*GetPackerImageIterationResult, error)

The Packer Image data source iteration gets the most recent iteration (or build) of an image, given a channel.

## Example Usage

```go package main

import (

"github.com/grapl-security/pulumi-hcp/sdk/go/hcp"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := hcp.GetPackerImageIteration(ctx, &GetPackerImageIterationArgs{
			BucketName: "alpine",
			Channel:    "production",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetPackerImageIterationResultOutput

type GetPackerImageIterationResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getPackerImageIteration.

func (GetPackerImageIterationResultOutput) BucketName

The slug of the HCP Packer Registry image bucket to pull from.

func (GetPackerImageIterationResultOutput) Builds

Builds for this iteration. An iteration can have more than one build if it took more than one go to build all images.

func (GetPackerImageIterationResultOutput) Channel

The channel that points to the version of the image you want.

func (GetPackerImageIterationResultOutput) CreatedAt

Creation time of this iteration

func (GetPackerImageIterationResultOutput) ElementType

func (GetPackerImageIterationResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetPackerImageIterationResultOutput) IncrementalVersion

func (o GetPackerImageIterationResultOutput) IncrementalVersion() pulumi.IntOutput

Incremental version of this iteration

func (GetPackerImageIterationResultOutput) OrganizationId

The ID of the organization this HCP Packer registry is located in.

func (GetPackerImageIterationResultOutput) ProjectId

The ID of the project this HCP Packer registry is located in.

func (GetPackerImageIterationResultOutput) RevokeAt added in v0.1.8

func (GetPackerImageIterationResultOutput) ToGetPackerImageIterationResultOutput

func (o GetPackerImageIterationResultOutput) ToGetPackerImageIterationResultOutput() GetPackerImageIterationResultOutput

func (GetPackerImageIterationResultOutput) ToGetPackerImageIterationResultOutputWithContext

func (o GetPackerImageIterationResultOutput) ToGetPackerImageIterationResultOutputWithContext(ctx context.Context) GetPackerImageIterationResultOutput

type GetPackerImageOutputArgs

type GetPackerImageOutputArgs struct {
	// The slug of the HCP Packer Registry image bucket to pull from.
	BucketName pulumi.StringInput `pulumi:"bucketName"`
	// The channel that points to the version of the image being retrieved. Either this or `iterationId` must be specified. Note: will incur a billable request
	Channel pulumi.StringPtrInput `pulumi:"channel"`
	// Name of the cloud provider this image is stored-in.
	CloudProvider pulumi.StringInput `pulumi:"cloudProvider"`
	// Name of the builder that built this image. Ex: `amazon-ebs.example`.
	ComponentType pulumi.StringPtrInput `pulumi:"componentType"`
	// The iteration from which to get the image. Either this or `channel` must be specified.
	IterationId pulumi.StringPtrInput `pulumi:"iterationId"`
	// Region this image is stored in, if any.
	Region pulumi.StringInput `pulumi:"region"`
}

A collection of arguments for invoking getPackerImage.

func (GetPackerImageOutputArgs) ElementType

func (GetPackerImageOutputArgs) ElementType() reflect.Type

type GetPackerImageResult

type GetPackerImageResult struct {
	// The slug of the HCP Packer Registry image bucket to pull from.
	BucketName string `pulumi:"bucketName"`
	// HCP ID of this build.
	BuildId string `pulumi:"buildId"`
	// The channel that points to the version of the image being retrieved. Either this or `iterationId` must be specified. Note: will incur a billable request
	Channel *string `pulumi:"channel"`
	// Cloud Image ID or URL string identifying this image for the builder that built it.
	CloudImageId string `pulumi:"cloudImageId"`
	// Name of the cloud provider this image is stored-in.
	CloudProvider string `pulumi:"cloudProvider"`
	// Name of the builder that built this image. Ex: `amazon-ebs.example`.
	ComponentType string `pulumi:"componentType"`
	// Creation time of this build.
	CreatedAt string `pulumi:"createdAt"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The iteration from which to get the image. Either this or `channel` must be specified.
	IterationId string `pulumi:"iterationId"`
	// Labels associated with this build.
	Labels map[string]interface{} `pulumi:"labels"`
	// The ID of the organization this HCP Packer registry is located in.
	OrganizationId string `pulumi:"organizationId"`
	// UUID of this build.
	PackerRunUuid string `pulumi:"packerRunUuid"`
	// The ID of the project this HCP Packer registry is located in.
	ProjectId string `pulumi:"projectId"`
	// Region this image is stored in, if any.
	Region string `pulumi:"region"`
	// The revocation time of this build. This field will be null for any build that has not been revoked or scheduled for revocation.
	RevokeAt string `pulumi:"revokeAt"`
}

A collection of values returned by getPackerImage.

func GetPackerImage

func GetPackerImage(ctx *pulumi.Context, args *GetPackerImageArgs, opts ...pulumi.InvokeOption) (*GetPackerImageResult, error)

The Packer Image data source iteration gets the most recent iteration (or build) of an image, given an iteration id or a channel.

## Example Usage ### Single image sourcing

```go package main

import (

"github.com/grapl-security/pulumi-hcp/sdk/go/hcp"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		baz, err := hcp.GetPackerImage(ctx, &GetPackerImageArgs{
			BucketName:    "hardened-ubuntu-16-04",
			CloudProvider: "aws",
			Channel:       pulumi.StringRef("production"),
			Region:        "us-east-1",
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("packer-registry-ubuntu-east-1", baz.CloudImageId)
		return nil
	})
}

```

> **Note:** The `channel` attribute in this data source may incur a billable request to HCP Packer. This attribute is intended for convenience when using a single image. When sourcing multiple images from a single iteration, the `getPackerIteration` data source is the alternative for querying a channel just once. ### Multiple image sourcing from a single iteration

```go package main

import (

"github.com/grapl-security/pulumi-hcp/sdk/go/hcp"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		hardened_source, err := hcp.GetPackerIteration(ctx, &GetPackerIterationArgs{
			BucketName: "hardened-ubuntu-16-04",
			Channel:    "production",
		}, nil)
		if err != nil {
			return err
		}
		foo, err := hcp.GetPackerImage(ctx, &GetPackerImageArgs{
			BucketName:    "hardened-ubuntu-16-04",
			CloudProvider: "aws",
			IterationId:   pulumi.StringRef(hardened_source.Ulid),
			Region:        "us-east-1",
		}, nil)
		if err != nil {
			return err
		}
		bar, err := hcp.GetPackerImage(ctx, &GetPackerImageArgs{
			BucketName:    "hardened-ubuntu-16-04",
			CloudProvider: "aws",
			IterationId:   pulumi.StringRef(hardened_source.Ulid),
			Region:        "us-west-1",
		}, nil)
		if err != nil {
			return err
		}
		ctx.Export("packer-registry-ubuntu-east-1", foo.CloudImageId)
		ctx.Export("packer-registry-ubuntu-west-1", bar.CloudImageId)
		return nil
	})
}

```

> **Note:** This data source only returns the first found image's metadata filtered by the given arguments, from the returned list of images associated with the specified iteration. Therefore, if multiple images exist in the same region, it will only pick one of them. In this case, you can filter images by a source build name (Ex: `amazon-ebs.example`) using the `componentType` optional argument.

type GetPackerImageResultOutput

type GetPackerImageResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getPackerImage.

func (GetPackerImageResultOutput) BucketName

The slug of the HCP Packer Registry image bucket to pull from.

func (GetPackerImageResultOutput) BuildId

HCP ID of this build.

func (GetPackerImageResultOutput) Channel added in v0.1.10

The channel that points to the version of the image being retrieved. Either this or `iterationId` must be specified. Note: will incur a billable request

func (GetPackerImageResultOutput) CloudImageId

Cloud Image ID or URL string identifying this image for the builder that built it.

func (GetPackerImageResultOutput) CloudProvider

Name of the cloud provider this image is stored-in.

func (GetPackerImageResultOutput) ComponentType

Name of the builder that built this image. Ex: `amazon-ebs.example`.

func (GetPackerImageResultOutput) CreatedAt

Creation time of this build.

func (GetPackerImageResultOutput) ElementType

func (GetPackerImageResultOutput) ElementType() reflect.Type

func (GetPackerImageResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetPackerImageResultOutput) IterationId

The iteration from which to get the image. Either this or `channel` must be specified.

func (GetPackerImageResultOutput) Labels

Labels associated with this build.

func (GetPackerImageResultOutput) OrganizationId

func (o GetPackerImageResultOutput) OrganizationId() pulumi.StringOutput

The ID of the organization this HCP Packer registry is located in.

func (GetPackerImageResultOutput) PackerRunUuid

UUID of this build.

func (GetPackerImageResultOutput) ProjectId

The ID of the project this HCP Packer registry is located in.

func (GetPackerImageResultOutput) Region

Region this image is stored in, if any.

func (GetPackerImageResultOutput) RevokeAt added in v0.1.8

The revocation time of this build. This field will be null for any build that has not been revoked or scheduled for revocation.

func (GetPackerImageResultOutput) ToGetPackerImageResultOutput

func (o GetPackerImageResultOutput) ToGetPackerImageResultOutput() GetPackerImageResultOutput

func (GetPackerImageResultOutput) ToGetPackerImageResultOutputWithContext

func (o GetPackerImageResultOutput) ToGetPackerImageResultOutputWithContext(ctx context.Context) GetPackerImageResultOutput

type GetPackerIterationArgs

type GetPackerIterationArgs struct {
	// The slug of the HCP Packer Registry image bucket to pull from.
	BucketName string `pulumi:"bucketName"`
	// The channel that points to the version of the image you want.
	Channel string `pulumi:"channel"`
}

A collection of arguments for invoking getPackerIteration.

type GetPackerIterationOutputArgs

type GetPackerIterationOutputArgs struct {
	// The slug of the HCP Packer Registry image bucket to pull from.
	BucketName pulumi.StringInput `pulumi:"bucketName"`
	// The channel that points to the version of the image you want.
	Channel pulumi.StringInput `pulumi:"channel"`
}

A collection of arguments for invoking getPackerIteration.

func (GetPackerIterationOutputArgs) ElementType

type GetPackerIterationResult

type GetPackerIterationResult struct {
	// The name of the person who created this iteration.
	AuthorId string `pulumi:"authorId"`
	// The slug of the HCP Packer Registry image bucket to pull from.
	BucketName string `pulumi:"bucketName"`
	// The channel that points to the version of the image you want.
	Channel string `pulumi:"channel"`
	// Creation time of this iteration
	CreatedAt string `pulumi:"createdAt"`
	// The unique fingerprint associated with this iteration; often a git sha.
	Fingerprint string `pulumi:"fingerprint"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// Incremental version of this iteration
	IncrementalVersion int `pulumi:"incrementalVersion"`
	// The ID of the organization this HCP Packer registry is located in.
	OrganizationId string `pulumi:"organizationId"`
	// The ID of the project this HCP Packer registry is located in.
	ProjectId string `pulumi:"projectId"`
	// The revocation time of this iteration. This field will be null for any iteration that has not been revoked or scheduled for revocation.
	RevokeAt string `pulumi:"revokeAt"`
	// The ULID of this iteration.
	Ulid string `pulumi:"ulid"`
	// Time this build was last updated.
	UpdatedAt string `pulumi:"updatedAt"`
}

A collection of values returned by getPackerIteration.

func GetPackerIteration

func GetPackerIteration(ctx *pulumi.Context, args *GetPackerIterationArgs, opts ...pulumi.InvokeOption) (*GetPackerIterationResult, error)

The Packer Image data source iteration gets the most recent iteration (or build) of an image, given a channel.

## Example Usage

```go package main

import (

"github.com/grapl-security/pulumi-hcp/sdk/go/hcp"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := hcp.GetPackerIteration(ctx, &GetPackerIterationArgs{
			BucketName: "hardened-ubuntu-16-04",
			Channel:    "megan-test",
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type GetPackerIterationResultOutput

type GetPackerIterationResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getPackerIteration.

func (GetPackerIterationResultOutput) AuthorId

The name of the person who created this iteration.

func (GetPackerIterationResultOutput) BucketName

The slug of the HCP Packer Registry image bucket to pull from.

func (GetPackerIterationResultOutput) Channel

The channel that points to the version of the image you want.

func (GetPackerIterationResultOutput) CreatedAt

Creation time of this iteration

func (GetPackerIterationResultOutput) ElementType

func (GetPackerIterationResultOutput) Fingerprint

The unique fingerprint associated with this iteration; often a git sha.

func (GetPackerIterationResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (GetPackerIterationResultOutput) IncrementalVersion

func (o GetPackerIterationResultOutput) IncrementalVersion() pulumi.IntOutput

Incremental version of this iteration

func (GetPackerIterationResultOutput) OrganizationId

The ID of the organization this HCP Packer registry is located in.

func (GetPackerIterationResultOutput) ProjectId

The ID of the project this HCP Packer registry is located in.

func (GetPackerIterationResultOutput) RevokeAt added in v0.1.8

The revocation time of this iteration. This field will be null for any iteration that has not been revoked or scheduled for revocation.

func (GetPackerIterationResultOutput) ToGetPackerIterationResultOutput

func (o GetPackerIterationResultOutput) ToGetPackerIterationResultOutput() GetPackerIterationResultOutput

func (GetPackerIterationResultOutput) ToGetPackerIterationResultOutputWithContext

func (o GetPackerIterationResultOutput) ToGetPackerIterationResultOutputWithContext(ctx context.Context) GetPackerIterationResultOutput

func (GetPackerIterationResultOutput) Ulid

The ULID of this iteration.

func (GetPackerIterationResultOutput) UpdatedAt

Time this build was last updated.

type GetVaultClusterAuditLogConfig added in v0.1.6

type GetVaultClusterAuditLogConfig struct {
	// Datadog region for streaming audit logs
	DatadogRegion string `pulumi:"datadogRegion"`
	// Grafana endpoint for streaming audit logs
	GrafanaEndpoint string `pulumi:"grafanaEndpoint"`
	// Grafana user for streaming audit logs
	GrafanaUser string `pulumi:"grafanaUser"`
	// Splunk endpoint for streaming audit logs
	SplunkHecendpoint string `pulumi:"splunkHecendpoint"`
}

type GetVaultClusterAuditLogConfigArgs added in v0.1.6

type GetVaultClusterAuditLogConfigArgs struct {
	// Datadog region for streaming audit logs
	DatadogRegion pulumi.StringInput `pulumi:"datadogRegion"`
	// Grafana endpoint for streaming audit logs
	GrafanaEndpoint pulumi.StringInput `pulumi:"grafanaEndpoint"`
	// Grafana user for streaming audit logs
	GrafanaUser pulumi.StringInput `pulumi:"grafanaUser"`
	// Splunk endpoint for streaming audit logs
	SplunkHecendpoint pulumi.StringInput `pulumi:"splunkHecendpoint"`
}

func (GetVaultClusterAuditLogConfigArgs) ElementType added in v0.1.6

func (GetVaultClusterAuditLogConfigArgs) ToGetVaultClusterAuditLogConfigOutput added in v0.1.6

func (i GetVaultClusterAuditLogConfigArgs) ToGetVaultClusterAuditLogConfigOutput() GetVaultClusterAuditLogConfigOutput

func (GetVaultClusterAuditLogConfigArgs) ToGetVaultClusterAuditLogConfigOutputWithContext added in v0.1.6

func (i GetVaultClusterAuditLogConfigArgs) ToGetVaultClusterAuditLogConfigOutputWithContext(ctx context.Context) GetVaultClusterAuditLogConfigOutput

type GetVaultClusterAuditLogConfigArray added in v0.1.6

type GetVaultClusterAuditLogConfigArray []GetVaultClusterAuditLogConfigInput

func (GetVaultClusterAuditLogConfigArray) ElementType added in v0.1.6

func (GetVaultClusterAuditLogConfigArray) ToGetVaultClusterAuditLogConfigArrayOutput added in v0.1.6

func (i GetVaultClusterAuditLogConfigArray) ToGetVaultClusterAuditLogConfigArrayOutput() GetVaultClusterAuditLogConfigArrayOutput

func (GetVaultClusterAuditLogConfigArray) ToGetVaultClusterAuditLogConfigArrayOutputWithContext added in v0.1.6

func (i GetVaultClusterAuditLogConfigArray) ToGetVaultClusterAuditLogConfigArrayOutputWithContext(ctx context.Context) GetVaultClusterAuditLogConfigArrayOutput

type GetVaultClusterAuditLogConfigArrayInput added in v0.1.6

type GetVaultClusterAuditLogConfigArrayInput interface {
	pulumi.Input

	ToGetVaultClusterAuditLogConfigArrayOutput() GetVaultClusterAuditLogConfigArrayOutput
	ToGetVaultClusterAuditLogConfigArrayOutputWithContext(context.Context) GetVaultClusterAuditLogConfigArrayOutput
}

GetVaultClusterAuditLogConfigArrayInput is an input type that accepts GetVaultClusterAuditLogConfigArray and GetVaultClusterAuditLogConfigArrayOutput values. You can construct a concrete instance of `GetVaultClusterAuditLogConfigArrayInput` via:

GetVaultClusterAuditLogConfigArray{ GetVaultClusterAuditLogConfigArgs{...} }

type GetVaultClusterAuditLogConfigArrayOutput added in v0.1.6

type GetVaultClusterAuditLogConfigArrayOutput struct{ *pulumi.OutputState }

func (GetVaultClusterAuditLogConfigArrayOutput) ElementType added in v0.1.6

func (GetVaultClusterAuditLogConfigArrayOutput) Index added in v0.1.6

func (GetVaultClusterAuditLogConfigArrayOutput) ToGetVaultClusterAuditLogConfigArrayOutput added in v0.1.6

func (o GetVaultClusterAuditLogConfigArrayOutput) ToGetVaultClusterAuditLogConfigArrayOutput() GetVaultClusterAuditLogConfigArrayOutput

func (GetVaultClusterAuditLogConfigArrayOutput) ToGetVaultClusterAuditLogConfigArrayOutputWithContext added in v0.1.6

func (o GetVaultClusterAuditLogConfigArrayOutput) ToGetVaultClusterAuditLogConfigArrayOutputWithContext(ctx context.Context) GetVaultClusterAuditLogConfigArrayOutput

type GetVaultClusterAuditLogConfigInput added in v0.1.6

type GetVaultClusterAuditLogConfigInput interface {
	pulumi.Input

	ToGetVaultClusterAuditLogConfigOutput() GetVaultClusterAuditLogConfigOutput
	ToGetVaultClusterAuditLogConfigOutputWithContext(context.Context) GetVaultClusterAuditLogConfigOutput
}

GetVaultClusterAuditLogConfigInput is an input type that accepts GetVaultClusterAuditLogConfigArgs and GetVaultClusterAuditLogConfigOutput values. You can construct a concrete instance of `GetVaultClusterAuditLogConfigInput` via:

GetVaultClusterAuditLogConfigArgs{...}

type GetVaultClusterAuditLogConfigOutput added in v0.1.6

type GetVaultClusterAuditLogConfigOutput struct{ *pulumi.OutputState }

func (GetVaultClusterAuditLogConfigOutput) DatadogRegion added in v0.1.6

Datadog region for streaming audit logs

func (GetVaultClusterAuditLogConfigOutput) ElementType added in v0.1.6

func (GetVaultClusterAuditLogConfigOutput) GrafanaEndpoint added in v0.1.6

Grafana endpoint for streaming audit logs

func (GetVaultClusterAuditLogConfigOutput) GrafanaUser added in v0.1.6

Grafana user for streaming audit logs

func (GetVaultClusterAuditLogConfigOutput) SplunkHecendpoint added in v0.1.6

Splunk endpoint for streaming audit logs

func (GetVaultClusterAuditLogConfigOutput) ToGetVaultClusterAuditLogConfigOutput added in v0.1.6

func (o GetVaultClusterAuditLogConfigOutput) ToGetVaultClusterAuditLogConfigOutput() GetVaultClusterAuditLogConfigOutput

func (GetVaultClusterAuditLogConfigOutput) ToGetVaultClusterAuditLogConfigOutputWithContext added in v0.1.6

func (o GetVaultClusterAuditLogConfigOutput) ToGetVaultClusterAuditLogConfigOutputWithContext(ctx context.Context) GetVaultClusterAuditLogConfigOutput

type GetVaultClusterMajorVersionUpgradeConfig added in v0.1.12

type GetVaultClusterMajorVersionUpgradeConfig struct {
	MaintenanceWindowDay  string `pulumi:"maintenanceWindowDay"`
	MaintenanceWindowTime string `pulumi:"maintenanceWindowTime"`
	UpgradeType           string `pulumi:"upgradeType"`
}

type GetVaultClusterMajorVersionUpgradeConfigArgs added in v0.1.12

type GetVaultClusterMajorVersionUpgradeConfigArgs struct {
	MaintenanceWindowDay  pulumi.StringInput `pulumi:"maintenanceWindowDay"`
	MaintenanceWindowTime pulumi.StringInput `pulumi:"maintenanceWindowTime"`
	UpgradeType           pulumi.StringInput `pulumi:"upgradeType"`
}

func (GetVaultClusterMajorVersionUpgradeConfigArgs) ElementType added in v0.1.12

func (GetVaultClusterMajorVersionUpgradeConfigArgs) ToGetVaultClusterMajorVersionUpgradeConfigOutput added in v0.1.12

func (i GetVaultClusterMajorVersionUpgradeConfigArgs) ToGetVaultClusterMajorVersionUpgradeConfigOutput() GetVaultClusterMajorVersionUpgradeConfigOutput

func (GetVaultClusterMajorVersionUpgradeConfigArgs) ToGetVaultClusterMajorVersionUpgradeConfigOutputWithContext added in v0.1.12

func (i GetVaultClusterMajorVersionUpgradeConfigArgs) ToGetVaultClusterMajorVersionUpgradeConfigOutputWithContext(ctx context.Context) GetVaultClusterMajorVersionUpgradeConfigOutput

type GetVaultClusterMajorVersionUpgradeConfigArray added in v0.1.12

type GetVaultClusterMajorVersionUpgradeConfigArray []GetVaultClusterMajorVersionUpgradeConfigInput

func (GetVaultClusterMajorVersionUpgradeConfigArray) ElementType added in v0.1.12

func (GetVaultClusterMajorVersionUpgradeConfigArray) ToGetVaultClusterMajorVersionUpgradeConfigArrayOutput added in v0.1.12

func (i GetVaultClusterMajorVersionUpgradeConfigArray) ToGetVaultClusterMajorVersionUpgradeConfigArrayOutput() GetVaultClusterMajorVersionUpgradeConfigArrayOutput

func (GetVaultClusterMajorVersionUpgradeConfigArray) ToGetVaultClusterMajorVersionUpgradeConfigArrayOutputWithContext added in v0.1.12

func (i GetVaultClusterMajorVersionUpgradeConfigArray) ToGetVaultClusterMajorVersionUpgradeConfigArrayOutputWithContext(ctx context.Context) GetVaultClusterMajorVersionUpgradeConfigArrayOutput

type GetVaultClusterMajorVersionUpgradeConfigArrayInput added in v0.1.12

type GetVaultClusterMajorVersionUpgradeConfigArrayInput interface {
	pulumi.Input

	ToGetVaultClusterMajorVersionUpgradeConfigArrayOutput() GetVaultClusterMajorVersionUpgradeConfigArrayOutput
	ToGetVaultClusterMajorVersionUpgradeConfigArrayOutputWithContext(context.Context) GetVaultClusterMajorVersionUpgradeConfigArrayOutput
}

GetVaultClusterMajorVersionUpgradeConfigArrayInput is an input type that accepts GetVaultClusterMajorVersionUpgradeConfigArray and GetVaultClusterMajorVersionUpgradeConfigArrayOutput values. You can construct a concrete instance of `GetVaultClusterMajorVersionUpgradeConfigArrayInput` via:

GetVaultClusterMajorVersionUpgradeConfigArray{ GetVaultClusterMajorVersionUpgradeConfigArgs{...} }

type GetVaultClusterMajorVersionUpgradeConfigArrayOutput added in v0.1.12

type GetVaultClusterMajorVersionUpgradeConfigArrayOutput struct{ *pulumi.OutputState }

func (GetVaultClusterMajorVersionUpgradeConfigArrayOutput) ElementType added in v0.1.12

func (GetVaultClusterMajorVersionUpgradeConfigArrayOutput) Index added in v0.1.12

func (GetVaultClusterMajorVersionUpgradeConfigArrayOutput) ToGetVaultClusterMajorVersionUpgradeConfigArrayOutput added in v0.1.12

func (o GetVaultClusterMajorVersionUpgradeConfigArrayOutput) ToGetVaultClusterMajorVersionUpgradeConfigArrayOutput() GetVaultClusterMajorVersionUpgradeConfigArrayOutput

func (GetVaultClusterMajorVersionUpgradeConfigArrayOutput) ToGetVaultClusterMajorVersionUpgradeConfigArrayOutputWithContext added in v0.1.12

func (o GetVaultClusterMajorVersionUpgradeConfigArrayOutput) ToGetVaultClusterMajorVersionUpgradeConfigArrayOutputWithContext(ctx context.Context) GetVaultClusterMajorVersionUpgradeConfigArrayOutput

type GetVaultClusterMajorVersionUpgradeConfigInput added in v0.1.12

type GetVaultClusterMajorVersionUpgradeConfigInput interface {
	pulumi.Input

	ToGetVaultClusterMajorVersionUpgradeConfigOutput() GetVaultClusterMajorVersionUpgradeConfigOutput
	ToGetVaultClusterMajorVersionUpgradeConfigOutputWithContext(context.Context) GetVaultClusterMajorVersionUpgradeConfigOutput
}

GetVaultClusterMajorVersionUpgradeConfigInput is an input type that accepts GetVaultClusterMajorVersionUpgradeConfigArgs and GetVaultClusterMajorVersionUpgradeConfigOutput values. You can construct a concrete instance of `GetVaultClusterMajorVersionUpgradeConfigInput` via:

GetVaultClusterMajorVersionUpgradeConfigArgs{...}

type GetVaultClusterMajorVersionUpgradeConfigOutput added in v0.1.12

type GetVaultClusterMajorVersionUpgradeConfigOutput struct{ *pulumi.OutputState }

func (GetVaultClusterMajorVersionUpgradeConfigOutput) ElementType added in v0.1.12

func (GetVaultClusterMajorVersionUpgradeConfigOutput) MaintenanceWindowDay added in v0.1.12

func (GetVaultClusterMajorVersionUpgradeConfigOutput) MaintenanceWindowTime added in v0.1.12

func (GetVaultClusterMajorVersionUpgradeConfigOutput) ToGetVaultClusterMajorVersionUpgradeConfigOutput added in v0.1.12

func (o GetVaultClusterMajorVersionUpgradeConfigOutput) ToGetVaultClusterMajorVersionUpgradeConfigOutput() GetVaultClusterMajorVersionUpgradeConfigOutput

func (GetVaultClusterMajorVersionUpgradeConfigOutput) ToGetVaultClusterMajorVersionUpgradeConfigOutputWithContext added in v0.1.12

func (o GetVaultClusterMajorVersionUpgradeConfigOutput) ToGetVaultClusterMajorVersionUpgradeConfigOutputWithContext(ctx context.Context) GetVaultClusterMajorVersionUpgradeConfigOutput

func (GetVaultClusterMajorVersionUpgradeConfigOutput) UpgradeType added in v0.1.12

type GetVaultClusterMetricsConfig added in v0.1.6

type GetVaultClusterMetricsConfig struct {
	// Datadog region for streaming metrics
	DatadogRegion string `pulumi:"datadogRegion"`
	// Grafana endpoint for streaming metrics
	GrafanaEndpoint string `pulumi:"grafanaEndpoint"`
	// Grafana user for streaming metrics
	GrafanaUser string `pulumi:"grafanaUser"`
	// Splunk endpoint for streaming metrics
	SplunkHecendpoint string `pulumi:"splunkHecendpoint"`
}

type GetVaultClusterMetricsConfigArgs added in v0.1.6

type GetVaultClusterMetricsConfigArgs struct {
	// Datadog region for streaming metrics
	DatadogRegion pulumi.StringInput `pulumi:"datadogRegion"`
	// Grafana endpoint for streaming metrics
	GrafanaEndpoint pulumi.StringInput `pulumi:"grafanaEndpoint"`
	// Grafana user for streaming metrics
	GrafanaUser pulumi.StringInput `pulumi:"grafanaUser"`
	// Splunk endpoint for streaming metrics
	SplunkHecendpoint pulumi.StringInput `pulumi:"splunkHecendpoint"`
}

func (GetVaultClusterMetricsConfigArgs) ElementType added in v0.1.6

func (GetVaultClusterMetricsConfigArgs) ToGetVaultClusterMetricsConfigOutput added in v0.1.6

func (i GetVaultClusterMetricsConfigArgs) ToGetVaultClusterMetricsConfigOutput() GetVaultClusterMetricsConfigOutput

func (GetVaultClusterMetricsConfigArgs) ToGetVaultClusterMetricsConfigOutputWithContext added in v0.1.6

func (i GetVaultClusterMetricsConfigArgs) ToGetVaultClusterMetricsConfigOutputWithContext(ctx context.Context) GetVaultClusterMetricsConfigOutput

type GetVaultClusterMetricsConfigArray added in v0.1.6

type GetVaultClusterMetricsConfigArray []GetVaultClusterMetricsConfigInput

func (GetVaultClusterMetricsConfigArray) ElementType added in v0.1.6

func (GetVaultClusterMetricsConfigArray) ToGetVaultClusterMetricsConfigArrayOutput added in v0.1.6

func (i GetVaultClusterMetricsConfigArray) ToGetVaultClusterMetricsConfigArrayOutput() GetVaultClusterMetricsConfigArrayOutput

func (GetVaultClusterMetricsConfigArray) ToGetVaultClusterMetricsConfigArrayOutputWithContext added in v0.1.6

func (i GetVaultClusterMetricsConfigArray) ToGetVaultClusterMetricsConfigArrayOutputWithContext(ctx context.Context) GetVaultClusterMetricsConfigArrayOutput

type GetVaultClusterMetricsConfigArrayInput added in v0.1.6

type GetVaultClusterMetricsConfigArrayInput interface {
	pulumi.Input

	ToGetVaultClusterMetricsConfigArrayOutput() GetVaultClusterMetricsConfigArrayOutput
	ToGetVaultClusterMetricsConfigArrayOutputWithContext(context.Context) GetVaultClusterMetricsConfigArrayOutput
}

GetVaultClusterMetricsConfigArrayInput is an input type that accepts GetVaultClusterMetricsConfigArray and GetVaultClusterMetricsConfigArrayOutput values. You can construct a concrete instance of `GetVaultClusterMetricsConfigArrayInput` via:

GetVaultClusterMetricsConfigArray{ GetVaultClusterMetricsConfigArgs{...} }

type GetVaultClusterMetricsConfigArrayOutput added in v0.1.6

type GetVaultClusterMetricsConfigArrayOutput struct{ *pulumi.OutputState }

func (GetVaultClusterMetricsConfigArrayOutput) ElementType added in v0.1.6

func (GetVaultClusterMetricsConfigArrayOutput) Index added in v0.1.6

func (GetVaultClusterMetricsConfigArrayOutput) ToGetVaultClusterMetricsConfigArrayOutput added in v0.1.6

func (o GetVaultClusterMetricsConfigArrayOutput) ToGetVaultClusterMetricsConfigArrayOutput() GetVaultClusterMetricsConfigArrayOutput

func (GetVaultClusterMetricsConfigArrayOutput) ToGetVaultClusterMetricsConfigArrayOutputWithContext added in v0.1.6

func (o GetVaultClusterMetricsConfigArrayOutput) ToGetVaultClusterMetricsConfigArrayOutputWithContext(ctx context.Context) GetVaultClusterMetricsConfigArrayOutput

type GetVaultClusterMetricsConfigInput added in v0.1.6

type GetVaultClusterMetricsConfigInput interface {
	pulumi.Input

	ToGetVaultClusterMetricsConfigOutput() GetVaultClusterMetricsConfigOutput
	ToGetVaultClusterMetricsConfigOutputWithContext(context.Context) GetVaultClusterMetricsConfigOutput
}

GetVaultClusterMetricsConfigInput is an input type that accepts GetVaultClusterMetricsConfigArgs and GetVaultClusterMetricsConfigOutput values. You can construct a concrete instance of `GetVaultClusterMetricsConfigInput` via:

GetVaultClusterMetricsConfigArgs{...}

type GetVaultClusterMetricsConfigOutput added in v0.1.6

type GetVaultClusterMetricsConfigOutput struct{ *pulumi.OutputState }

func (GetVaultClusterMetricsConfigOutput) DatadogRegion added in v0.1.6

Datadog region for streaming metrics

func (GetVaultClusterMetricsConfigOutput) ElementType added in v0.1.6

func (GetVaultClusterMetricsConfigOutput) GrafanaEndpoint added in v0.1.6

Grafana endpoint for streaming metrics

func (GetVaultClusterMetricsConfigOutput) GrafanaUser added in v0.1.6

Grafana user for streaming metrics

func (GetVaultClusterMetricsConfigOutput) SplunkHecendpoint added in v0.1.6

Splunk endpoint for streaming metrics

func (GetVaultClusterMetricsConfigOutput) ToGetVaultClusterMetricsConfigOutput added in v0.1.6

func (o GetVaultClusterMetricsConfigOutput) ToGetVaultClusterMetricsConfigOutput() GetVaultClusterMetricsConfigOutput

func (GetVaultClusterMetricsConfigOutput) ToGetVaultClusterMetricsConfigOutputWithContext added in v0.1.6

func (o GetVaultClusterMetricsConfigOutput) ToGetVaultClusterMetricsConfigOutputWithContext(ctx context.Context) GetVaultClusterMetricsConfigOutput

type Hvn

type Hvn struct {
	pulumi.CustomResourceState

	// The CIDR range of the HVN. If this is not provided, the service will provide a default value.
	CidrBlock pulumi.StringOutput `pulumi:"cidrBlock"`
	// The provider where the HVN is located. The provider 'aws' is generally available and 'azure' is in public beta.
	CloudProvider pulumi.StringOutput `pulumi:"cloudProvider"`
	// The time that the HVN was created.
	CreatedAt pulumi.StringOutput `pulumi:"createdAt"`
	// The ID of the HashiCorp Virtual Network (HVN).
	HvnId pulumi.StringOutput `pulumi:"hvnId"`
	// The ID of the HCP organization where the HVN is located.
	OrganizationId pulumi.StringOutput `pulumi:"organizationId"`
	// The ID of the HCP project where the HVN is located.
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
	// The provider account ID where the HVN is located.
	ProviderAccountId pulumi.StringOutput `pulumi:"providerAccountId"`
	// The region where the HVN is located.
	Region pulumi.StringOutput `pulumi:"region"`
	// A unique URL identifying the HVN.
	SelfLink pulumi.StringOutput `pulumi:"selfLink"`
	// The state of the HVN.
	State pulumi.StringOutput `pulumi:"state"`
}

The HVN resource allows you to manage a HashiCorp Virtual Network in HCP.

We recommend the following when selecting the CIDR block of an HVN:

- The CIDR block value must be a private IPv4 CIDR block within the [RFC1918](https://datatracker.ietf.org/doc/html/rfc1918) address space (10.*.*.*, 192.168.*.*, 172.[16-31].*.*).

- The CIDR block value must be the first IP address of the desired CIDR block. The helper `cidrsubnet("172.16.1.1/24", 0, 0)` will specify the first address of the CIDR block in the first argument.

- The CIDR block value must end between /16 and /25.

- If the CIDR block values for your HCP HVN and your cloud provider’s virtual network overlap you will not be able to establish a connection. The following are default CIDR block values to be aware of: HCP HVN (172.25.16.0/20), AWS VPC (172.31.0.0/16), and Azure VNet (172.29.0.0/24). Avoid creating overlapping networks.

- If you’re creating a HVN for use in production it's recommended that you specify a CIDR block value that does not overlap with the other HVNs already created in your organization. You will not be able to connect two HVNs with overlapping CIDR block values.

## Example Usage

```go package main

import (

"github.com/grapl-security/pulumi-hcp/sdk/go/hcp"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := hcp.NewHvn(ctx, "example", &hcp.HvnArgs{
			CidrBlock:     pulumi.String("172.25.16.0/20"),
			CloudProvider: pulumi.String("aws"),
			HvnId:         pulumi.String("main-hvn"),
			Region:        pulumi.String("us-west-2"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

The import ID is {hvn_id}

```sh

$ pulumi import hcp:index/hvn:Hvn example main-hvn

```

func GetHvn

func GetHvn(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *HvnState, opts ...pulumi.ResourceOption) (*Hvn, error)

GetHvn gets an existing Hvn 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 NewHvn

func NewHvn(ctx *pulumi.Context,
	name string, args *HvnArgs, opts ...pulumi.ResourceOption) (*Hvn, error)

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

func (*Hvn) ElementType

func (*Hvn) ElementType() reflect.Type

func (*Hvn) ToHvnOutput

func (i *Hvn) ToHvnOutput() HvnOutput

func (*Hvn) ToHvnOutputWithContext

func (i *Hvn) ToHvnOutputWithContext(ctx context.Context) HvnOutput

type HvnArgs

type HvnArgs struct {
	// The CIDR range of the HVN. If this is not provided, the service will provide a default value.
	CidrBlock pulumi.StringPtrInput
	// The provider where the HVN is located. The provider 'aws' is generally available and 'azure' is in public beta.
	CloudProvider pulumi.StringInput
	// The ID of the HashiCorp Virtual Network (HVN).
	HvnId pulumi.StringInput
	// The region where the HVN is located.
	Region pulumi.StringInput
}

The set of arguments for constructing a Hvn resource.

func (HvnArgs) ElementType

func (HvnArgs) ElementType() reflect.Type

type HvnArray

type HvnArray []HvnInput

func (HvnArray) ElementType

func (HvnArray) ElementType() reflect.Type

func (HvnArray) ToHvnArrayOutput

func (i HvnArray) ToHvnArrayOutput() HvnArrayOutput

func (HvnArray) ToHvnArrayOutputWithContext

func (i HvnArray) ToHvnArrayOutputWithContext(ctx context.Context) HvnArrayOutput

type HvnArrayInput

type HvnArrayInput interface {
	pulumi.Input

	ToHvnArrayOutput() HvnArrayOutput
	ToHvnArrayOutputWithContext(context.Context) HvnArrayOutput
}

HvnArrayInput is an input type that accepts HvnArray and HvnArrayOutput values. You can construct a concrete instance of `HvnArrayInput` via:

HvnArray{ HvnArgs{...} }

type HvnArrayOutput

type HvnArrayOutput struct{ *pulumi.OutputState }

func (HvnArrayOutput) ElementType

func (HvnArrayOutput) ElementType() reflect.Type

func (HvnArrayOutput) Index

func (HvnArrayOutput) ToHvnArrayOutput

func (o HvnArrayOutput) ToHvnArrayOutput() HvnArrayOutput

func (HvnArrayOutput) ToHvnArrayOutputWithContext

func (o HvnArrayOutput) ToHvnArrayOutputWithContext(ctx context.Context) HvnArrayOutput

type HvnInput

type HvnInput interface {
	pulumi.Input

	ToHvnOutput() HvnOutput
	ToHvnOutputWithContext(ctx context.Context) HvnOutput
}

type HvnMap

type HvnMap map[string]HvnInput

func (HvnMap) ElementType

func (HvnMap) ElementType() reflect.Type

func (HvnMap) ToHvnMapOutput

func (i HvnMap) ToHvnMapOutput() HvnMapOutput

func (HvnMap) ToHvnMapOutputWithContext

func (i HvnMap) ToHvnMapOutputWithContext(ctx context.Context) HvnMapOutput

type HvnMapInput

type HvnMapInput interface {
	pulumi.Input

	ToHvnMapOutput() HvnMapOutput
	ToHvnMapOutputWithContext(context.Context) HvnMapOutput
}

HvnMapInput is an input type that accepts HvnMap and HvnMapOutput values. You can construct a concrete instance of `HvnMapInput` via:

HvnMap{ "key": HvnArgs{...} }

type HvnMapOutput

type HvnMapOutput struct{ *pulumi.OutputState }

func (HvnMapOutput) ElementType

func (HvnMapOutput) ElementType() reflect.Type

func (HvnMapOutput) MapIndex

func (o HvnMapOutput) MapIndex(k pulumi.StringInput) HvnOutput

func (HvnMapOutput) ToHvnMapOutput

func (o HvnMapOutput) ToHvnMapOutput() HvnMapOutput

func (HvnMapOutput) ToHvnMapOutputWithContext

func (o HvnMapOutput) ToHvnMapOutputWithContext(ctx context.Context) HvnMapOutput

type HvnOutput

type HvnOutput struct{ *pulumi.OutputState }

func (HvnOutput) CidrBlock added in v0.1.4

func (o HvnOutput) CidrBlock() pulumi.StringOutput

The CIDR range of the HVN. If this is not provided, the service will provide a default value.

func (HvnOutput) CloudProvider added in v0.1.4

func (o HvnOutput) CloudProvider() pulumi.StringOutput

The provider where the HVN is located. The provider 'aws' is generally available and 'azure' is in public beta.

func (HvnOutput) CreatedAt added in v0.1.4

func (o HvnOutput) CreatedAt() pulumi.StringOutput

The time that the HVN was created.

func (HvnOutput) ElementType

func (HvnOutput) ElementType() reflect.Type

func (HvnOutput) HvnId added in v0.1.4

func (o HvnOutput) HvnId() pulumi.StringOutput

The ID of the HashiCorp Virtual Network (HVN).

func (HvnOutput) OrganizationId added in v0.1.4

func (o HvnOutput) OrganizationId() pulumi.StringOutput

The ID of the HCP organization where the HVN is located.

func (HvnOutput) ProjectId added in v0.1.4

func (o HvnOutput) ProjectId() pulumi.StringOutput

The ID of the HCP project where the HVN is located.

func (HvnOutput) ProviderAccountId added in v0.1.4

func (o HvnOutput) ProviderAccountId() pulumi.StringOutput

The provider account ID where the HVN is located.

func (HvnOutput) Region added in v0.1.4

func (o HvnOutput) Region() pulumi.StringOutput

The region where the HVN is located.

func (o HvnOutput) SelfLink() pulumi.StringOutput

A unique URL identifying the HVN.

func (HvnOutput) State added in v0.1.10

func (o HvnOutput) State() pulumi.StringOutput

The state of the HVN.

func (HvnOutput) ToHvnOutput

func (o HvnOutput) ToHvnOutput() HvnOutput

func (HvnOutput) ToHvnOutputWithContext

func (o HvnOutput) ToHvnOutputWithContext(ctx context.Context) HvnOutput

type HvnPeeringConnection

type HvnPeeringConnection struct {
	pulumi.CustomResourceState

	// The time that the peering connection was created.
	CreatedAt pulumi.StringOutput `pulumi:"createdAt"`
	// The time after which the peering connection will be considered expired if it hasn't transitioned into `ACCEPTED` or `ACTIVE` state.
	ExpiresAt pulumi.StringOutput `pulumi:"expiresAt"`
	// The unique URL of one of the HVNs being peered.
	Hvn1 pulumi.StringOutput `pulumi:"hvn1"`
	// The unique URL of one of the HVNs being peered.
	Hvn2 pulumi.StringOutput `pulumi:"hvn2"`
	// The ID of the HCP organization where the peering connection is located. Always matches the HVNs' organization.
	OrganizationId pulumi.StringOutput `pulumi:"organizationId"`
	// The ID of the peering connection.
	PeeringId pulumi.StringOutput `pulumi:"peeringId"`
	// The ID of the HCP project where the peering connection is located. Always matches the HVNs' project.
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
	// A unique URL identifying the peering connection
	SelfLink pulumi.StringOutput `pulumi:"selfLink"`
	// The state of the HVN peering connection.
	State pulumi.StringOutput `pulumi:"state"`
}

The HVN peering connection resource allows you to manage a peering connection between HVNs.

## Example Usage

```go package main

import (

"github.com/grapl-security/pulumi-hcp/sdk/go/hcp"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		hvn1, err := hcp.NewHvn(ctx, "hvn1", &hcp.HvnArgs{
			HvnId:         pulumi.String("hvn-1"),
			CloudProvider: pulumi.String("aws"),
			Region:        pulumi.String("us-west-2"),
			CidrBlock:     pulumi.String("172.25.16.0/20"),
		})
		if err != nil {
			return err
		}
		hvn2, err := hcp.NewHvn(ctx, "hvn2", &hcp.HvnArgs{
			HvnId:         pulumi.String("hvn-2"),
			CloudProvider: pulumi.String("aws"),
			Region:        pulumi.String("us-west-2"),
			CidrBlock:     pulumi.String("172.18.16.0/20"),
		})
		if err != nil {
			return err
		}
		_, err = hcp.NewHvnPeeringConnection(ctx, "peer1", &hcp.HvnPeeringConnectionArgs{
			Hvn1: hvn1.SelfLink,
			Hvn2: hvn2.SelfLink,
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

The import ID requires the first HVN ID in the format {hvn_1_id}:{peering_id}

```sh

$ pulumi import hcp:index/hvnPeeringConnection:HvnPeeringConnection peer_1 hvn-1:peer-1

```

func GetHvnPeeringConnection

func GetHvnPeeringConnection(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *HvnPeeringConnectionState, opts ...pulumi.ResourceOption) (*HvnPeeringConnection, error)

GetHvnPeeringConnection gets an existing HvnPeeringConnection 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 NewHvnPeeringConnection

func NewHvnPeeringConnection(ctx *pulumi.Context,
	name string, args *HvnPeeringConnectionArgs, opts ...pulumi.ResourceOption) (*HvnPeeringConnection, error)

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

func (*HvnPeeringConnection) ElementType

func (*HvnPeeringConnection) ElementType() reflect.Type

func (*HvnPeeringConnection) ToHvnPeeringConnectionOutput

func (i *HvnPeeringConnection) ToHvnPeeringConnectionOutput() HvnPeeringConnectionOutput

func (*HvnPeeringConnection) ToHvnPeeringConnectionOutputWithContext

func (i *HvnPeeringConnection) ToHvnPeeringConnectionOutputWithContext(ctx context.Context) HvnPeeringConnectionOutput

type HvnPeeringConnectionArgs

type HvnPeeringConnectionArgs struct {
	// The unique URL of one of the HVNs being peered.
	Hvn1 pulumi.StringInput
	// The unique URL of one of the HVNs being peered.
	Hvn2 pulumi.StringInput
}

The set of arguments for constructing a HvnPeeringConnection resource.

func (HvnPeeringConnectionArgs) ElementType

func (HvnPeeringConnectionArgs) ElementType() reflect.Type

type HvnPeeringConnectionArray

type HvnPeeringConnectionArray []HvnPeeringConnectionInput

func (HvnPeeringConnectionArray) ElementType

func (HvnPeeringConnectionArray) ElementType() reflect.Type

func (HvnPeeringConnectionArray) ToHvnPeeringConnectionArrayOutput

func (i HvnPeeringConnectionArray) ToHvnPeeringConnectionArrayOutput() HvnPeeringConnectionArrayOutput

func (HvnPeeringConnectionArray) ToHvnPeeringConnectionArrayOutputWithContext

func (i HvnPeeringConnectionArray) ToHvnPeeringConnectionArrayOutputWithContext(ctx context.Context) HvnPeeringConnectionArrayOutput

type HvnPeeringConnectionArrayInput

type HvnPeeringConnectionArrayInput interface {
	pulumi.Input

	ToHvnPeeringConnectionArrayOutput() HvnPeeringConnectionArrayOutput
	ToHvnPeeringConnectionArrayOutputWithContext(context.Context) HvnPeeringConnectionArrayOutput
}

HvnPeeringConnectionArrayInput is an input type that accepts HvnPeeringConnectionArray and HvnPeeringConnectionArrayOutput values. You can construct a concrete instance of `HvnPeeringConnectionArrayInput` via:

HvnPeeringConnectionArray{ HvnPeeringConnectionArgs{...} }

type HvnPeeringConnectionArrayOutput

type HvnPeeringConnectionArrayOutput struct{ *pulumi.OutputState }

func (HvnPeeringConnectionArrayOutput) ElementType

func (HvnPeeringConnectionArrayOutput) Index

func (HvnPeeringConnectionArrayOutput) ToHvnPeeringConnectionArrayOutput

func (o HvnPeeringConnectionArrayOutput) ToHvnPeeringConnectionArrayOutput() HvnPeeringConnectionArrayOutput

func (HvnPeeringConnectionArrayOutput) ToHvnPeeringConnectionArrayOutputWithContext

func (o HvnPeeringConnectionArrayOutput) ToHvnPeeringConnectionArrayOutputWithContext(ctx context.Context) HvnPeeringConnectionArrayOutput

type HvnPeeringConnectionInput

type HvnPeeringConnectionInput interface {
	pulumi.Input

	ToHvnPeeringConnectionOutput() HvnPeeringConnectionOutput
	ToHvnPeeringConnectionOutputWithContext(ctx context.Context) HvnPeeringConnectionOutput
}

type HvnPeeringConnectionMap

type HvnPeeringConnectionMap map[string]HvnPeeringConnectionInput

func (HvnPeeringConnectionMap) ElementType

func (HvnPeeringConnectionMap) ElementType() reflect.Type

func (HvnPeeringConnectionMap) ToHvnPeeringConnectionMapOutput

func (i HvnPeeringConnectionMap) ToHvnPeeringConnectionMapOutput() HvnPeeringConnectionMapOutput

func (HvnPeeringConnectionMap) ToHvnPeeringConnectionMapOutputWithContext

func (i HvnPeeringConnectionMap) ToHvnPeeringConnectionMapOutputWithContext(ctx context.Context) HvnPeeringConnectionMapOutput

type HvnPeeringConnectionMapInput

type HvnPeeringConnectionMapInput interface {
	pulumi.Input

	ToHvnPeeringConnectionMapOutput() HvnPeeringConnectionMapOutput
	ToHvnPeeringConnectionMapOutputWithContext(context.Context) HvnPeeringConnectionMapOutput
}

HvnPeeringConnectionMapInput is an input type that accepts HvnPeeringConnectionMap and HvnPeeringConnectionMapOutput values. You can construct a concrete instance of `HvnPeeringConnectionMapInput` via:

HvnPeeringConnectionMap{ "key": HvnPeeringConnectionArgs{...} }

type HvnPeeringConnectionMapOutput

type HvnPeeringConnectionMapOutput struct{ *pulumi.OutputState }

func (HvnPeeringConnectionMapOutput) ElementType

func (HvnPeeringConnectionMapOutput) MapIndex

func (HvnPeeringConnectionMapOutput) ToHvnPeeringConnectionMapOutput

func (o HvnPeeringConnectionMapOutput) ToHvnPeeringConnectionMapOutput() HvnPeeringConnectionMapOutput

func (HvnPeeringConnectionMapOutput) ToHvnPeeringConnectionMapOutputWithContext

func (o HvnPeeringConnectionMapOutput) ToHvnPeeringConnectionMapOutputWithContext(ctx context.Context) HvnPeeringConnectionMapOutput

type HvnPeeringConnectionOutput

type HvnPeeringConnectionOutput struct{ *pulumi.OutputState }

func (HvnPeeringConnectionOutput) CreatedAt added in v0.1.4

The time that the peering connection was created.

func (HvnPeeringConnectionOutput) ElementType

func (HvnPeeringConnectionOutput) ElementType() reflect.Type

func (HvnPeeringConnectionOutput) ExpiresAt added in v0.1.4

The time after which the peering connection will be considered expired if it hasn't transitioned into `ACCEPTED` or `ACTIVE` state.

func (HvnPeeringConnectionOutput) Hvn1 added in v0.1.4

The unique URL of one of the HVNs being peered.

func (HvnPeeringConnectionOutput) Hvn2 added in v0.1.4

The unique URL of one of the HVNs being peered.

func (HvnPeeringConnectionOutput) OrganizationId added in v0.1.4

func (o HvnPeeringConnectionOutput) OrganizationId() pulumi.StringOutput

The ID of the HCP organization where the peering connection is located. Always matches the HVNs' organization.

func (HvnPeeringConnectionOutput) PeeringId added in v0.1.4

The ID of the peering connection.

func (HvnPeeringConnectionOutput) ProjectId added in v0.1.4

The ID of the HCP project where the peering connection is located. Always matches the HVNs' project.

A unique URL identifying the peering connection

func (HvnPeeringConnectionOutput) State added in v0.1.10

The state of the HVN peering connection.

func (HvnPeeringConnectionOutput) ToHvnPeeringConnectionOutput

func (o HvnPeeringConnectionOutput) ToHvnPeeringConnectionOutput() HvnPeeringConnectionOutput

func (HvnPeeringConnectionOutput) ToHvnPeeringConnectionOutputWithContext

func (o HvnPeeringConnectionOutput) ToHvnPeeringConnectionOutputWithContext(ctx context.Context) HvnPeeringConnectionOutput

type HvnPeeringConnectionState

type HvnPeeringConnectionState struct {
	// The time that the peering connection was created.
	CreatedAt pulumi.StringPtrInput
	// The time after which the peering connection will be considered expired if it hasn't transitioned into `ACCEPTED` or `ACTIVE` state.
	ExpiresAt pulumi.StringPtrInput
	// The unique URL of one of the HVNs being peered.
	Hvn1 pulumi.StringPtrInput
	// The unique URL of one of the HVNs being peered.
	Hvn2 pulumi.StringPtrInput
	// The ID of the HCP organization where the peering connection is located. Always matches the HVNs' organization.
	OrganizationId pulumi.StringPtrInput
	// The ID of the peering connection.
	PeeringId pulumi.StringPtrInput
	// The ID of the HCP project where the peering connection is located. Always matches the HVNs' project.
	ProjectId pulumi.StringPtrInput
	// A unique URL identifying the peering connection
	SelfLink pulumi.StringPtrInput
	// The state of the HVN peering connection.
	State pulumi.StringPtrInput
}

func (HvnPeeringConnectionState) ElementType

func (HvnPeeringConnectionState) ElementType() reflect.Type

type HvnRoute

type HvnRoute struct {
	pulumi.CustomResourceState

	// The time that the HVN route was created.
	CreatedAt pulumi.StringOutput `pulumi:"createdAt"`
	// The destination CIDR of the HVN route.
	DestinationCidr pulumi.StringOutput `pulumi:"destinationCidr"`
	// The `selfLink` of the HashiCorp Virtual Network (HVN).
	HvnLink pulumi.StringOutput `pulumi:"hvnLink"`
	// The ID of the HVN route.
	HvnRouteId pulumi.StringOutput `pulumi:"hvnRouteId"`
	// A unique URL identifying the HVN route.
	SelfLink pulumi.StringOutput `pulumi:"selfLink"`
	// The state of the HVN route.
	State pulumi.StringOutput `pulumi:"state"`
	// A unique URL identifying the target of the HVN route. Examples of the target: `awsNetworkPeering`, `awsTransitGatewayAttachment`
	TargetLink pulumi.StringOutput `pulumi:"targetLink"`
}

## Example Usage

```go package main

import (

"github.com/grapl-security/pulumi-hcp/sdk/go/hcp"
"github.com/pulumi/pulumi-aws/sdk/v5/go/aws/ec2"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		main, err := hcp.NewHvn(ctx, "main", &hcp.HvnArgs{
			HvnId:         pulumi.String("main-hvn"),
			CloudProvider: pulumi.String("aws"),
			Region:        pulumi.String("us-west-2"),
			CidrBlock:     pulumi.String("172.25.16.0/20"),
		})
		if err != nil {
			return err
		}
		peerVpc, err := ec2.NewVpc(ctx, "peerVpc", &ec2.VpcArgs{
			CidrBlock: pulumi.String("192.168.0.0/20"),
		})
		if err != nil {
			return err
		}
		example, err := hcp.NewAwsNetworkPeering(ctx, "example", &hcp.AwsNetworkPeeringArgs{
			PeeringId:     pulumi.String("peer-example"),
			HvnId:         main.HvnId,
			PeerVpcId:     peerVpc.ID(),
			PeerAccountId: peerVpc.OwnerId,
			PeerVpcRegion: pulumi.String("us-west-2"),
		})
		if err != nil {
			return err
		}
		_, err = ec2.NewVpcPeeringConnectionAccepter(ctx, "peerVpcPeeringConnectionAccepter", &ec2.VpcPeeringConnectionAccepterArgs{
			VpcPeeringConnectionId: example.ProviderPeeringId,
			AutoAccept:             pulumi.Bool(true),
		})
		if err != nil {
			return err
		}
		_, err = hcp.NewHvnRoute(ctx, "example-peering-route", &hcp.HvnRouteArgs{
			HvnLink:         main.SelfLink,
			HvnRouteId:      pulumi.String("peering-route"),
			DestinationCidr: peerVpc.CidrBlock,
			TargetLink:      example.SelfLink,
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

## Import

The import ID is {hvn_id}:{hvn_route_id}

```sh

$ pulumi import hcp:index/hvnRoute:HvnRoute example main-hvn:example-hvn-route

```

func GetHvnRoute

func GetHvnRoute(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *HvnRouteState, opts ...pulumi.ResourceOption) (*HvnRoute, error)

GetHvnRoute gets an existing HvnRoute 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 NewHvnRoute

func NewHvnRoute(ctx *pulumi.Context,
	name string, args *HvnRouteArgs, opts ...pulumi.ResourceOption) (*HvnRoute, error)

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

func (*HvnRoute) ElementType

func (*HvnRoute) ElementType() reflect.Type

func (*HvnRoute) ToHvnRouteOutput

func (i *HvnRoute) ToHvnRouteOutput() HvnRouteOutput

func (*HvnRoute) ToHvnRouteOutputWithContext

func (i *HvnRoute) ToHvnRouteOutputWithContext(ctx context.Context) HvnRouteOutput

type HvnRouteArgs

type HvnRouteArgs struct {
	// The destination CIDR of the HVN route.
	DestinationCidr pulumi.StringInput
	// The `selfLink` of the HashiCorp Virtual Network (HVN).
	HvnLink pulumi.StringInput
	// The ID of the HVN route.
	HvnRouteId pulumi.StringInput
	// A unique URL identifying the target of the HVN route. Examples of the target: `awsNetworkPeering`, `awsTransitGatewayAttachment`
	TargetLink pulumi.StringInput
}

The set of arguments for constructing a HvnRoute resource.

func (HvnRouteArgs) ElementType

func (HvnRouteArgs) ElementType() reflect.Type

type HvnRouteArray

type HvnRouteArray []HvnRouteInput

func (HvnRouteArray) ElementType

func (HvnRouteArray) ElementType() reflect.Type

func (HvnRouteArray) ToHvnRouteArrayOutput

func (i HvnRouteArray) ToHvnRouteArrayOutput() HvnRouteArrayOutput

func (HvnRouteArray) ToHvnRouteArrayOutputWithContext

func (i HvnRouteArray) ToHvnRouteArrayOutputWithContext(ctx context.Context) HvnRouteArrayOutput

type HvnRouteArrayInput

type HvnRouteArrayInput interface {
	pulumi.Input

	ToHvnRouteArrayOutput() HvnRouteArrayOutput
	ToHvnRouteArrayOutputWithContext(context.Context) HvnRouteArrayOutput
}

HvnRouteArrayInput is an input type that accepts HvnRouteArray and HvnRouteArrayOutput values. You can construct a concrete instance of `HvnRouteArrayInput` via:

HvnRouteArray{ HvnRouteArgs{...} }

type HvnRouteArrayOutput

type HvnRouteArrayOutput struct{ *pulumi.OutputState }

func (HvnRouteArrayOutput) ElementType

func (HvnRouteArrayOutput) ElementType() reflect.Type

func (HvnRouteArrayOutput) Index

func (HvnRouteArrayOutput) ToHvnRouteArrayOutput

func (o HvnRouteArrayOutput) ToHvnRouteArrayOutput() HvnRouteArrayOutput

func (HvnRouteArrayOutput) ToHvnRouteArrayOutputWithContext

func (o HvnRouteArrayOutput) ToHvnRouteArrayOutputWithContext(ctx context.Context) HvnRouteArrayOutput

type HvnRouteInput

type HvnRouteInput interface {
	pulumi.Input

	ToHvnRouteOutput() HvnRouteOutput
	ToHvnRouteOutputWithContext(ctx context.Context) HvnRouteOutput
}

type HvnRouteMap

type HvnRouteMap map[string]HvnRouteInput

func (HvnRouteMap) ElementType

func (HvnRouteMap) ElementType() reflect.Type

func (HvnRouteMap) ToHvnRouteMapOutput

func (i HvnRouteMap) ToHvnRouteMapOutput() HvnRouteMapOutput

func (HvnRouteMap) ToHvnRouteMapOutputWithContext

func (i HvnRouteMap) ToHvnRouteMapOutputWithContext(ctx context.Context) HvnRouteMapOutput

type HvnRouteMapInput

type HvnRouteMapInput interface {
	pulumi.Input

	ToHvnRouteMapOutput() HvnRouteMapOutput
	ToHvnRouteMapOutputWithContext(context.Context) HvnRouteMapOutput
}

HvnRouteMapInput is an input type that accepts HvnRouteMap and HvnRouteMapOutput values. You can construct a concrete instance of `HvnRouteMapInput` via:

HvnRouteMap{ "key": HvnRouteArgs{...} }

type HvnRouteMapOutput

type HvnRouteMapOutput struct{ *pulumi.OutputState }

func (HvnRouteMapOutput) ElementType

func (HvnRouteMapOutput) ElementType() reflect.Type

func (HvnRouteMapOutput) MapIndex

func (HvnRouteMapOutput) ToHvnRouteMapOutput

func (o HvnRouteMapOutput) ToHvnRouteMapOutput() HvnRouteMapOutput

func (HvnRouteMapOutput) ToHvnRouteMapOutputWithContext

func (o HvnRouteMapOutput) ToHvnRouteMapOutputWithContext(ctx context.Context) HvnRouteMapOutput

type HvnRouteOutput

type HvnRouteOutput struct{ *pulumi.OutputState }

func (HvnRouteOutput) CreatedAt added in v0.1.4

func (o HvnRouteOutput) CreatedAt() pulumi.StringOutput

The time that the HVN route was created.

func (HvnRouteOutput) DestinationCidr added in v0.1.4

func (o HvnRouteOutput) DestinationCidr() pulumi.StringOutput

The destination CIDR of the HVN route.

func (HvnRouteOutput) ElementType

func (HvnRouteOutput) ElementType() reflect.Type
func (o HvnRouteOutput) HvnLink() pulumi.StringOutput

The `selfLink` of the HashiCorp Virtual Network (HVN).

func (HvnRouteOutput) HvnRouteId added in v0.1.4

func (o HvnRouteOutput) HvnRouteId() pulumi.StringOutput

The ID of the HVN route.

func (o HvnRouteOutput) SelfLink() pulumi.StringOutput

A unique URL identifying the HVN route.

func (HvnRouteOutput) State added in v0.1.4

The state of the HVN route.

func (o HvnRouteOutput) TargetLink() pulumi.StringOutput

A unique URL identifying the target of the HVN route. Examples of the target: `awsNetworkPeering`, `awsTransitGatewayAttachment`

func (HvnRouteOutput) ToHvnRouteOutput

func (o HvnRouteOutput) ToHvnRouteOutput() HvnRouteOutput

func (HvnRouteOutput) ToHvnRouteOutputWithContext

func (o HvnRouteOutput) ToHvnRouteOutputWithContext(ctx context.Context) HvnRouteOutput

type HvnRouteState

type HvnRouteState struct {
	// The time that the HVN route was created.
	CreatedAt pulumi.StringPtrInput
	// The destination CIDR of the HVN route.
	DestinationCidr pulumi.StringPtrInput
	// The `selfLink` of the HashiCorp Virtual Network (HVN).
	HvnLink pulumi.StringPtrInput
	// The ID of the HVN route.
	HvnRouteId pulumi.StringPtrInput
	// A unique URL identifying the HVN route.
	SelfLink pulumi.StringPtrInput
	// The state of the HVN route.
	State pulumi.StringPtrInput
	// A unique URL identifying the target of the HVN route. Examples of the target: `awsNetworkPeering`, `awsTransitGatewayAttachment`
	TargetLink pulumi.StringPtrInput
}

func (HvnRouteState) ElementType

func (HvnRouteState) ElementType() reflect.Type

type HvnState

type HvnState struct {
	// The CIDR range of the HVN. If this is not provided, the service will provide a default value.
	CidrBlock pulumi.StringPtrInput
	// The provider where the HVN is located. The provider 'aws' is generally available and 'azure' is in public beta.
	CloudProvider pulumi.StringPtrInput
	// The time that the HVN was created.
	CreatedAt pulumi.StringPtrInput
	// The ID of the HashiCorp Virtual Network (HVN).
	HvnId pulumi.StringPtrInput
	// The ID of the HCP organization where the HVN is located.
	OrganizationId pulumi.StringPtrInput
	// The ID of the HCP project where the HVN is located.
	ProjectId pulumi.StringPtrInput
	// The provider account ID where the HVN is located.
	ProviderAccountId pulumi.StringPtrInput
	// The region where the HVN is located.
	Region pulumi.StringPtrInput
	// A unique URL identifying the HVN.
	SelfLink pulumi.StringPtrInput
	// The state of the HVN.
	State pulumi.StringPtrInput
}

func (HvnState) ElementType

func (HvnState) ElementType() reflect.Type

type LookupAwsNetworkPeeringArgs

type LookupAwsNetworkPeeringArgs struct {
	// The ID of the HashiCorp Virtual Network (HVN).
	HvnId string `pulumi:"hvnId"`
	// The ID of the network peering.
	PeeringId          string `pulumi:"peeringId"`
	WaitForActiveState *bool  `pulumi:"waitForActiveState"`
}

A collection of arguments for invoking getAwsNetworkPeering.

type LookupAwsNetworkPeeringOutputArgs

type LookupAwsNetworkPeeringOutputArgs struct {
	// The ID of the HashiCorp Virtual Network (HVN).
	HvnId pulumi.StringInput `pulumi:"hvnId"`
	// The ID of the network peering.
	PeeringId          pulumi.StringInput  `pulumi:"peeringId"`
	WaitForActiveState pulumi.BoolPtrInput `pulumi:"waitForActiveState"`
}

A collection of arguments for invoking getAwsNetworkPeering.

func (LookupAwsNetworkPeeringOutputArgs) ElementType

type LookupAwsNetworkPeeringResult

type LookupAwsNetworkPeeringResult struct {
	// The time that the network peering was created.
	CreatedAt string `pulumi:"createdAt"`
	// The time after which the network peering will be considered expired if it hasn't transitioned into `ACCEPTED` or `ACTIVE` state.
	ExpiresAt string `pulumi:"expiresAt"`
	// The ID of the HashiCorp Virtual Network (HVN).
	HvnId string `pulumi:"hvnId"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The ID of the HCP organization where the network peering is located. Always matches the HVN's organization.
	OrganizationId string `pulumi:"organizationId"`
	// The account ID of the peer VPC in AWS.
	PeerAccountId string `pulumi:"peerAccountId"`
	// The ID of the peer VPC in AWS.
	PeerVpcId string `pulumi:"peerVpcId"`
	// The region of the peer VPC in AWS.
	PeerVpcRegion string `pulumi:"peerVpcRegion"`
	// The ID of the network peering.
	PeeringId string `pulumi:"peeringId"`
	// The ID of the HCP project where the network peering is located. Always matches the HVN's project.
	ProjectId string `pulumi:"projectId"`
	// The peering connection ID used by AWS.
	ProviderPeeringId string `pulumi:"providerPeeringId"`
	// A unique URL identifying the network peering.
	SelfLink string `pulumi:"selfLink"`
	// The state of the network peering.
	State              string `pulumi:"state"`
	WaitForActiveState *bool  `pulumi:"waitForActiveState"`
}

A collection of values returned by getAwsNetworkPeering.

func LookupAwsNetworkPeering

func LookupAwsNetworkPeering(ctx *pulumi.Context, args *LookupAwsNetworkPeeringArgs, opts ...pulumi.InvokeOption) (*LookupAwsNetworkPeeringResult, error)

The AWS network peering data source provides information about an existing network peering between an HVN and a peer AWS VPC.

## Example Usage

```go package main

import (

"github.com/grapl-security/pulumi-hcp/sdk/go/hcp"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := hcp.LookupAwsNetworkPeering(ctx, &GetAwsNetworkPeeringArgs{
			HvnId:              _var.Hvn_id,
			PeeringId:          _var.Peering_id,
			WaitForActiveState: pulumi.BoolRef(true),
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupAwsNetworkPeeringResultOutput

type LookupAwsNetworkPeeringResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getAwsNetworkPeering.

func (LookupAwsNetworkPeeringResultOutput) CreatedAt

The time that the network peering was created.

func (LookupAwsNetworkPeeringResultOutput) ElementType

func (LookupAwsNetworkPeeringResultOutput) ExpiresAt

The time after which the network peering will be considered expired if it hasn't transitioned into `ACCEPTED` or `ACTIVE` state.

func (LookupAwsNetworkPeeringResultOutput) HvnId

The ID of the HashiCorp Virtual Network (HVN).

func (LookupAwsNetworkPeeringResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupAwsNetworkPeeringResultOutput) OrganizationId

The ID of the HCP organization where the network peering is located. Always matches the HVN's organization.

func (LookupAwsNetworkPeeringResultOutput) PeerAccountId

The account ID of the peer VPC in AWS.

func (LookupAwsNetworkPeeringResultOutput) PeerVpcId

The ID of the peer VPC in AWS.

func (LookupAwsNetworkPeeringResultOutput) PeerVpcRegion

The region of the peer VPC in AWS.

func (LookupAwsNetworkPeeringResultOutput) PeeringId

The ID of the network peering.

func (LookupAwsNetworkPeeringResultOutput) ProjectId

The ID of the HCP project where the network peering is located. Always matches the HVN's project.

func (LookupAwsNetworkPeeringResultOutput) ProviderPeeringId

The peering connection ID used by AWS.

A unique URL identifying the network peering.

func (LookupAwsNetworkPeeringResultOutput) State added in v0.1.10

The state of the network peering.

func (LookupAwsNetworkPeeringResultOutput) ToLookupAwsNetworkPeeringResultOutput

func (o LookupAwsNetworkPeeringResultOutput) ToLookupAwsNetworkPeeringResultOutput() LookupAwsNetworkPeeringResultOutput

func (LookupAwsNetworkPeeringResultOutput) ToLookupAwsNetworkPeeringResultOutputWithContext

func (o LookupAwsNetworkPeeringResultOutput) ToLookupAwsNetworkPeeringResultOutputWithContext(ctx context.Context) LookupAwsNetworkPeeringResultOutput

func (LookupAwsNetworkPeeringResultOutput) WaitForActiveState

type LookupAwsTransitGatewayAttachmentArgs

type LookupAwsTransitGatewayAttachmentArgs struct {
	// The ID of the HashiCorp Virtual Network (HVN).
	HvnId string `pulumi:"hvnId"`
	// The user-settable name of the transit gateway attachment in HCP.
	TransitGatewayAttachmentId string `pulumi:"transitGatewayAttachmentId"`
	WaitForActiveState         *bool  `pulumi:"waitForActiveState"`
}

A collection of arguments for invoking getAwsTransitGatewayAttachment.

type LookupAwsTransitGatewayAttachmentOutputArgs

type LookupAwsTransitGatewayAttachmentOutputArgs struct {
	// The ID of the HashiCorp Virtual Network (HVN).
	HvnId pulumi.StringInput `pulumi:"hvnId"`
	// The user-settable name of the transit gateway attachment in HCP.
	TransitGatewayAttachmentId pulumi.StringInput  `pulumi:"transitGatewayAttachmentId"`
	WaitForActiveState         pulumi.BoolPtrInput `pulumi:"waitForActiveState"`
}

A collection of arguments for invoking getAwsTransitGatewayAttachment.

func (LookupAwsTransitGatewayAttachmentOutputArgs) ElementType

type LookupAwsTransitGatewayAttachmentResult

type LookupAwsTransitGatewayAttachmentResult struct {
	// The time that the transit gateway attachment was created.
	CreatedAt string `pulumi:"createdAt"`
	// The time after which the transit gateway attachment will be considered expired if it hasn't transitioned into `ACCEPTED` or `ACTIVE` state.
	ExpiresAt string `pulumi:"expiresAt"`
	// The ID of the HashiCorp Virtual Network (HVN).
	HvnId string `pulumi:"hvnId"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The ID of the HCP organization where the transit gateway attachment is located. Always matches the HVN's organization.
	OrganizationId string `pulumi:"organizationId"`
	// The ID of the HCP project where the transit gateway attachment is located. Always matches the HVN's project.
	ProjectId string `pulumi:"projectId"`
	// The transit gateway attachment ID used by AWS.
	ProviderTransitGatewayAttachmentId string `pulumi:"providerTransitGatewayAttachmentId"`
	// A unique URL identifying the transit gateway attachment.
	SelfLink string `pulumi:"selfLink"`
	// The state of the transit gateway attachment.
	State string `pulumi:"state"`
	// The user-settable name of the transit gateway attachment in HCP.
	TransitGatewayAttachmentId string `pulumi:"transitGatewayAttachmentId"`
	// The ID of the user-owned transit gateway in AWS.
	TransitGatewayId   string `pulumi:"transitGatewayId"`
	WaitForActiveState *bool  `pulumi:"waitForActiveState"`
}

A collection of values returned by getAwsTransitGatewayAttachment.

func LookupAwsTransitGatewayAttachment

The AWS transit gateway attachment data source provides information about an existing transit gateway attachment.

## Example Usage

```go package main

import (

"github.com/grapl-security/pulumi-hcp/sdk/go/hcp"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := hcp.LookupAwsTransitGatewayAttachment(ctx, &GetAwsTransitGatewayAttachmentArgs{
			HvnId:                      _var.Hvn_id,
			TransitGatewayAttachmentId: _var.Transit_gateway_attachment_id,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupAwsTransitGatewayAttachmentResultOutput

type LookupAwsTransitGatewayAttachmentResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getAwsTransitGatewayAttachment.

func (LookupAwsTransitGatewayAttachmentResultOutput) CreatedAt

The time that the transit gateway attachment was created.

func (LookupAwsTransitGatewayAttachmentResultOutput) ElementType

func (LookupAwsTransitGatewayAttachmentResultOutput) ExpiresAt

The time after which the transit gateway attachment will be considered expired if it hasn't transitioned into `ACCEPTED` or `ACTIVE` state.

func (LookupAwsTransitGatewayAttachmentResultOutput) HvnId

The ID of the HashiCorp Virtual Network (HVN).

func (LookupAwsTransitGatewayAttachmentResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupAwsTransitGatewayAttachmentResultOutput) OrganizationId

The ID of the HCP organization where the transit gateway attachment is located. Always matches the HVN's organization.

func (LookupAwsTransitGatewayAttachmentResultOutput) ProjectId

The ID of the HCP project where the transit gateway attachment is located. Always matches the HVN's project.

func (LookupAwsTransitGatewayAttachmentResultOutput) ProviderTransitGatewayAttachmentId

func (o LookupAwsTransitGatewayAttachmentResultOutput) ProviderTransitGatewayAttachmentId() pulumi.StringOutput

The transit gateway attachment ID used by AWS.

A unique URL identifying the transit gateway attachment.

func (LookupAwsTransitGatewayAttachmentResultOutput) State

The state of the transit gateway attachment.

func (LookupAwsTransitGatewayAttachmentResultOutput) ToLookupAwsTransitGatewayAttachmentResultOutput

func (o LookupAwsTransitGatewayAttachmentResultOutput) ToLookupAwsTransitGatewayAttachmentResultOutput() LookupAwsTransitGatewayAttachmentResultOutput

func (LookupAwsTransitGatewayAttachmentResultOutput) ToLookupAwsTransitGatewayAttachmentResultOutputWithContext

func (o LookupAwsTransitGatewayAttachmentResultOutput) ToLookupAwsTransitGatewayAttachmentResultOutputWithContext(ctx context.Context) LookupAwsTransitGatewayAttachmentResultOutput

func (LookupAwsTransitGatewayAttachmentResultOutput) TransitGatewayAttachmentId

func (o LookupAwsTransitGatewayAttachmentResultOutput) TransitGatewayAttachmentId() pulumi.StringOutput

The user-settable name of the transit gateway attachment in HCP.

func (LookupAwsTransitGatewayAttachmentResultOutput) TransitGatewayId

The ID of the user-owned transit gateway in AWS.

func (LookupAwsTransitGatewayAttachmentResultOutput) WaitForActiveState

type LookupAzurePeeringConnectionArgs

type LookupAzurePeeringConnectionArgs struct {
	// The `selfLink` of the HashiCorp Virtual Network (HVN).
	HvnLink string `pulumi:"hvnLink"`
	// The ID of the peering connection.
	PeeringId          string `pulumi:"peeringId"`
	WaitForActiveState *bool  `pulumi:"waitForActiveState"`
}

A collection of arguments for invoking getAzurePeeringConnection.

type LookupAzurePeeringConnectionOutputArgs

type LookupAzurePeeringConnectionOutputArgs struct {
	// The `selfLink` of the HashiCorp Virtual Network (HVN).
	HvnLink pulumi.StringInput `pulumi:"hvnLink"`
	// The ID of the peering connection.
	PeeringId          pulumi.StringInput  `pulumi:"peeringId"`
	WaitForActiveState pulumi.BoolPtrInput `pulumi:"waitForActiveState"`
}

A collection of arguments for invoking getAzurePeeringConnection.

func (LookupAzurePeeringConnectionOutputArgs) ElementType

type LookupAzurePeeringConnectionResult

type LookupAzurePeeringConnectionResult struct {
	// The ID of the Azure application whose credentials are used to peer the HCP HVN's underlying VNet with the customer VNet.
	ApplicationId string `pulumi:"applicationId"`
	// The peering connection ID used by Azure.
	AzurePeeringId string `pulumi:"azurePeeringId"`
	// The time that the peering connection was created.
	CreatedAt string `pulumi:"createdAt"`
	// The time after which the peering connection will be considered expired if it hasn't transitioned into `ACCEPTED` or `ACTIVE` state.
	ExpiresAt string `pulumi:"expiresAt"`
	// The `selfLink` of the HashiCorp Virtual Network (HVN).
	HvnLink string `pulumi:"hvnLink"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The ID of the HCP organization where the peering connection is located. Always matches the HVN's organization.
	OrganizationId string `pulumi:"organizationId"`
	// The resource group name of the peer VNet in Azure.
	PeerResourceGroupName string `pulumi:"peerResourceGroupName"`
	// The subscription ID of the peer VNet in Azure.
	PeerSubscriptionId string `pulumi:"peerSubscriptionId"`
	// The tenant ID of the peer VNet in Azure.
	PeerTenantId string `pulumi:"peerTenantId"`
	// The name of the peer VNet in Azure.
	PeerVnetName string `pulumi:"peerVnetName"`
	// The region of the peer VNet in Azure.
	PeerVnetRegion string `pulumi:"peerVnetRegion"`
	// The ID of the peering connection.
	PeeringId string `pulumi:"peeringId"`
	// The ID of the HCP project where the peering connection is located. Always matches the HVN's project.
	ProjectId string `pulumi:"projectId"`
	// A unique URL identifying the peering connection
	SelfLink string `pulumi:"selfLink"`
	// The state of the Azure peering connection.
	State              string `pulumi:"state"`
	WaitForActiveState *bool  `pulumi:"waitForActiveState"`
}

A collection of values returned by getAzurePeeringConnection.

func LookupAzurePeeringConnection

func LookupAzurePeeringConnection(ctx *pulumi.Context, args *LookupAzurePeeringConnectionArgs, opts ...pulumi.InvokeOption) (*LookupAzurePeeringConnectionResult, error)

> **Note:** This data source is currently in public beta.

The Azure peering connection data source provides information about a peering connection between an HVN and a peer Azure VNet.

type LookupAzurePeeringConnectionResultOutput

type LookupAzurePeeringConnectionResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getAzurePeeringConnection.

func (LookupAzurePeeringConnectionResultOutput) ApplicationId

The ID of the Azure application whose credentials are used to peer the HCP HVN's underlying VNet with the customer VNet.

func (LookupAzurePeeringConnectionResultOutput) AzurePeeringId

The peering connection ID used by Azure.

func (LookupAzurePeeringConnectionResultOutput) CreatedAt

The time that the peering connection was created.

func (LookupAzurePeeringConnectionResultOutput) ElementType

func (LookupAzurePeeringConnectionResultOutput) ExpiresAt

The time after which the peering connection will be considered expired if it hasn't transitioned into `ACCEPTED` or `ACTIVE` state.

The `selfLink` of the HashiCorp Virtual Network (HVN).

func (LookupAzurePeeringConnectionResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupAzurePeeringConnectionResultOutput) OrganizationId

The ID of the HCP organization where the peering connection is located. Always matches the HVN's organization.

func (LookupAzurePeeringConnectionResultOutput) PeerResourceGroupName

The resource group name of the peer VNet in Azure.

func (LookupAzurePeeringConnectionResultOutput) PeerSubscriptionId

The subscription ID of the peer VNet in Azure.

func (LookupAzurePeeringConnectionResultOutput) PeerTenantId

The tenant ID of the peer VNet in Azure.

func (LookupAzurePeeringConnectionResultOutput) PeerVnetName

The name of the peer VNet in Azure.

func (LookupAzurePeeringConnectionResultOutput) PeerVnetRegion

The region of the peer VNet in Azure.

func (LookupAzurePeeringConnectionResultOutput) PeeringId

The ID of the peering connection.

func (LookupAzurePeeringConnectionResultOutput) ProjectId

The ID of the HCP project where the peering connection is located. Always matches the HVN's project.

A unique URL identifying the peering connection

func (LookupAzurePeeringConnectionResultOutput) State added in v0.1.10

The state of the Azure peering connection.

func (LookupAzurePeeringConnectionResultOutput) ToLookupAzurePeeringConnectionResultOutput

func (o LookupAzurePeeringConnectionResultOutput) ToLookupAzurePeeringConnectionResultOutput() LookupAzurePeeringConnectionResultOutput

func (LookupAzurePeeringConnectionResultOutput) ToLookupAzurePeeringConnectionResultOutputWithContext

func (o LookupAzurePeeringConnectionResultOutput) ToLookupAzurePeeringConnectionResultOutputWithContext(ctx context.Context) LookupAzurePeeringConnectionResultOutput

func (LookupAzurePeeringConnectionResultOutput) WaitForActiveState

type LookupBoundaryClusterArgs added in v0.1.12

type LookupBoundaryClusterArgs struct {
	// The ID of the Boundary cluster
	ClusterId string `pulumi:"clusterId"`
}

A collection of arguments for invoking getBoundaryCluster.

type LookupBoundaryClusterOutputArgs added in v0.1.12

type LookupBoundaryClusterOutputArgs struct {
	// The ID of the Boundary cluster
	ClusterId pulumi.StringInput `pulumi:"clusterId"`
}

A collection of arguments for invoking getBoundaryCluster.

func (LookupBoundaryClusterOutputArgs) ElementType added in v0.1.12

type LookupBoundaryClusterResult added in v0.1.12

type LookupBoundaryClusterResult struct {
	// The ID of the Boundary cluster
	ClusterId string `pulumi:"clusterId"`
	// A unique URL identifying the Boundary cluster.
	ClusterUrl string `pulumi:"clusterUrl"`
	// The time that the Boundary cluster was created.
	CreatedAt string `pulumi:"createdAt"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The state of the Boundary cluster.
	State string `pulumi:"state"`
}

A collection of values returned by getBoundaryCluster.

func LookupBoundaryCluster added in v0.1.12

func LookupBoundaryCluster(ctx *pulumi.Context, args *LookupBoundaryClusterArgs, opts ...pulumi.InvokeOption) (*LookupBoundaryClusterResult, error)

The Boundary cluster data source provides information about an existing HCP Boundary cluster.

## Example Usage

```go package main

import (

"github.com/grapl-security/pulumi-hcp/sdk/go/hcp"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := hcp.LookupBoundaryCluster(ctx, &GetBoundaryClusterArgs{
			ClusterId: _var.Cluster_id,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupBoundaryClusterResultOutput added in v0.1.12

type LookupBoundaryClusterResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getBoundaryCluster.

func LookupBoundaryClusterOutput added in v0.1.12

func (LookupBoundaryClusterResultOutput) ClusterId added in v0.1.12

The ID of the Boundary cluster

func (LookupBoundaryClusterResultOutput) ClusterUrl added in v0.1.12

A unique URL identifying the Boundary cluster.

func (LookupBoundaryClusterResultOutput) CreatedAt added in v0.1.12

The time that the Boundary cluster was created.

func (LookupBoundaryClusterResultOutput) ElementType added in v0.1.12

func (LookupBoundaryClusterResultOutput) Id added in v0.1.12

The provider-assigned unique ID for this managed resource.

func (LookupBoundaryClusterResultOutput) State added in v0.1.12

The state of the Boundary cluster.

func (LookupBoundaryClusterResultOutput) ToLookupBoundaryClusterResultOutput added in v0.1.12

func (o LookupBoundaryClusterResultOutput) ToLookupBoundaryClusterResultOutput() LookupBoundaryClusterResultOutput

func (LookupBoundaryClusterResultOutput) ToLookupBoundaryClusterResultOutputWithContext added in v0.1.12

func (o LookupBoundaryClusterResultOutput) ToLookupBoundaryClusterResultOutputWithContext(ctx context.Context) LookupBoundaryClusterResultOutput

type LookupConsulClusterArgs

type LookupConsulClusterArgs struct {
	// The ID of the HCP Consul cluster.
	ClusterId string `pulumi:"clusterId"`
}

A collection of arguments for invoking getConsulCluster.

type LookupConsulClusterOutputArgs

type LookupConsulClusterOutputArgs struct {
	// The ID of the HCP Consul cluster.
	ClusterId pulumi.StringInput `pulumi:"clusterId"`
}

A collection of arguments for invoking getConsulCluster.

func (LookupConsulClusterOutputArgs) ElementType

type LookupConsulClusterResult

type LookupConsulClusterResult struct {
	// Enables automatic HVN to HVN peering when creating a secondary cluster in a federation.
	AutoHvnToHvnPeering bool `pulumi:"autoHvnToHvnPeering"`
	// The provider where the HCP Consul cluster is located. Only 'aws' is available at this time.
	CloudProvider string `pulumi:"cloudProvider"`
	// The ID of the HCP Consul cluster.
	ClusterId string `pulumi:"clusterId"`
	// Denotes the Consul connect feature should be enabled for this cluster.  Default to true.
	ConnectEnabled bool `pulumi:"connectEnabled"`
	// Denotes that automatic Consul upgrades are enabled.
	ConsulAutomaticUpgrades bool `pulumi:"consulAutomaticUpgrades"`
	// The cluster CA file encoded as a Base64 string.
	ConsulCaFile string `pulumi:"consulCaFile"`
	// The cluster config encoded as a Base64 string.
	ConsulConfigFile string `pulumi:"consulConfigFile"`
	// The private URL for the Consul UI.
	ConsulPrivateEndpointUrl string `pulumi:"consulPrivateEndpointUrl"`
	// The public URL for the Consul UI. This will be empty if `publicEndpoint` is `false`.
	ConsulPublicEndpointUrl string `pulumi:"consulPublicEndpointUrl"`
	// The Consul snapshot interval.
	ConsulSnapshotInterval string `pulumi:"consulSnapshotInterval"`
	// The retention policy for Consul snapshots.
	ConsulSnapshotRetention string `pulumi:"consulSnapshotRetention"`
	// The Consul version of the cluster.
	ConsulVersion string `pulumi:"consulVersion"`
	// The Consul data center name of the cluster. If not specified, it is defaulted to the value of `clusterId`.
	Datacenter string `pulumi:"datacenter"`
	// The ID of the HVN this HCP Consul cluster is associated to.
	HvnId string `pulumi:"hvnId"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The ID of the organization the project for this HCP Consul cluster is located.
	OrganizationId string `pulumi:"organizationId"`
	// The `selfLink` of the HCP Consul cluster which is the primary in the federation setup with this HCP Consul cluster. If not specified, it is a standalone cluster.
	PrimaryLink string `pulumi:"primaryLink"`
	// The ID of the project this HCP Consul cluster is located.
	ProjectId string `pulumi:"projectId"`
	// Denotes that the cluster has a public endpoint for the Consul UI. Defaults to false.
	PublicEndpoint bool `pulumi:"publicEndpoint"`
	// The region where the HCP Consul cluster is located.
	Region string `pulumi:"region"`
	// The the number of Consul server nodes in the cluster.
	Scale int `pulumi:"scale"`
	// A unique URL identifying the HCP Consul cluster.
	SelfLink string `pulumi:"selfLink"`
	// The t-shirt size representation of each server VM that this Consul cluster is provisioned with. Valid option for development tier - `xSmall`. Valid options for other tiers - `small`, `medium`, `large`. For more details - https://cloud.hashicorp.com/pricing/consul
	Size string `pulumi:"size"`
	// The state of the HCP Consul cluster.
	State string `pulumi:"state"`
	// The tier that the HCP Consul cluster will be provisioned as.  Only `development`, `standard` and `plus` are available at this time.
	Tier string `pulumi:"tier"`
}

A collection of values returned by getConsulCluster.

func LookupConsulCluster

func LookupConsulCluster(ctx *pulumi.Context, args *LookupConsulClusterArgs, opts ...pulumi.InvokeOption) (*LookupConsulClusterResult, error)

The cluster data source provides information about an existing HCP Consul cluster.

## Example Usage

```go package main

import (

"github.com/grapl-security/pulumi-hcp/sdk/go/hcp"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := hcp.LookupConsulCluster(ctx, &GetConsulClusterArgs{
			ClusterId: _var.Cluster_id,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupConsulClusterResultOutput

type LookupConsulClusterResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getConsulCluster.

func (LookupConsulClusterResultOutput) AutoHvnToHvnPeering

func (o LookupConsulClusterResultOutput) AutoHvnToHvnPeering() pulumi.BoolOutput

Enables automatic HVN to HVN peering when creating a secondary cluster in a federation.

func (LookupConsulClusterResultOutput) CloudProvider

The provider where the HCP Consul cluster is located. Only 'aws' is available at this time.

func (LookupConsulClusterResultOutput) ClusterId

The ID of the HCP Consul cluster.

func (LookupConsulClusterResultOutput) ConnectEnabled

Denotes the Consul connect feature should be enabled for this cluster. Default to true.

func (LookupConsulClusterResultOutput) ConsulAutomaticUpgrades

func (o LookupConsulClusterResultOutput) ConsulAutomaticUpgrades() pulumi.BoolOutput

Denotes that automatic Consul upgrades are enabled.

func (LookupConsulClusterResultOutput) ConsulCaFile

The cluster CA file encoded as a Base64 string.

func (LookupConsulClusterResultOutput) ConsulConfigFile

The cluster config encoded as a Base64 string.

func (LookupConsulClusterResultOutput) ConsulPrivateEndpointUrl

func (o LookupConsulClusterResultOutput) ConsulPrivateEndpointUrl() pulumi.StringOutput

The private URL for the Consul UI.

func (LookupConsulClusterResultOutput) ConsulPublicEndpointUrl

func (o LookupConsulClusterResultOutput) ConsulPublicEndpointUrl() pulumi.StringOutput

The public URL for the Consul UI. This will be empty if `publicEndpoint` is `false`.

func (LookupConsulClusterResultOutput) ConsulSnapshotInterval

func (o LookupConsulClusterResultOutput) ConsulSnapshotInterval() pulumi.StringOutput

The Consul snapshot interval.

func (LookupConsulClusterResultOutput) ConsulSnapshotRetention

func (o LookupConsulClusterResultOutput) ConsulSnapshotRetention() pulumi.StringOutput

The retention policy for Consul snapshots.

func (LookupConsulClusterResultOutput) ConsulVersion

The Consul version of the cluster.

func (LookupConsulClusterResultOutput) Datacenter

The Consul data center name of the cluster. If not specified, it is defaulted to the value of `clusterId`.

func (LookupConsulClusterResultOutput) ElementType

func (LookupConsulClusterResultOutput) HvnId

The ID of the HVN this HCP Consul cluster is associated to.

func (LookupConsulClusterResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupConsulClusterResultOutput) OrganizationId

The ID of the organization the project for this HCP Consul cluster is located.

The `selfLink` of the HCP Consul cluster which is the primary in the federation setup with this HCP Consul cluster. If not specified, it is a standalone cluster.

func (LookupConsulClusterResultOutput) ProjectId

The ID of the project this HCP Consul cluster is located.

func (LookupConsulClusterResultOutput) PublicEndpoint

Denotes that the cluster has a public endpoint for the Consul UI. Defaults to false.

func (LookupConsulClusterResultOutput) Region

The region where the HCP Consul cluster is located.

func (LookupConsulClusterResultOutput) Scale

The the number of Consul server nodes in the cluster.

A unique URL identifying the HCP Consul cluster.

func (LookupConsulClusterResultOutput) Size

The t-shirt size representation of each server VM that this Consul cluster is provisioned with. Valid option for development tier - `xSmall`. Valid options for other tiers - `small`, `medium`, `large`. For more details - https://cloud.hashicorp.com/pricing/consul

func (LookupConsulClusterResultOutput) State added in v0.1.10

The state of the HCP Consul cluster.

func (LookupConsulClusterResultOutput) Tier

The tier that the HCP Consul cluster will be provisioned as. Only `development`, `standard` and `plus` are available at this time.

func (LookupConsulClusterResultOutput) ToLookupConsulClusterResultOutput

func (o LookupConsulClusterResultOutput) ToLookupConsulClusterResultOutput() LookupConsulClusterResultOutput

func (LookupConsulClusterResultOutput) ToLookupConsulClusterResultOutputWithContext

func (o LookupConsulClusterResultOutput) ToLookupConsulClusterResultOutputWithContext(ctx context.Context) LookupConsulClusterResultOutput

type LookupHvnArgs

type LookupHvnArgs struct {
	// The ID of the HashiCorp Virtual Network (HVN).
	HvnId string `pulumi:"hvnId"`
}

A collection of arguments for invoking getHvn.

type LookupHvnOutputArgs

type LookupHvnOutputArgs struct {
	// The ID of the HashiCorp Virtual Network (HVN).
	HvnId pulumi.StringInput `pulumi:"hvnId"`
}

A collection of arguments for invoking getHvn.

func (LookupHvnOutputArgs) ElementType

func (LookupHvnOutputArgs) ElementType() reflect.Type

type LookupHvnPeeringConnectionArgs

type LookupHvnPeeringConnectionArgs struct {
	// The unique URL of one of the HVNs being peered.
	Hvn1 string `pulumi:"hvn1"`
	// The unique URL of one of the HVNs being peered.
	Hvn2 string `pulumi:"hvn2"`
	// The ID of the peering connection.
	PeeringId string `pulumi:"peeringId"`
}

A collection of arguments for invoking getHvnPeeringConnection.

type LookupHvnPeeringConnectionOutputArgs

type LookupHvnPeeringConnectionOutputArgs struct {
	// The unique URL of one of the HVNs being peered.
	Hvn1 pulumi.StringInput `pulumi:"hvn1"`
	// The unique URL of one of the HVNs being peered.
	Hvn2 pulumi.StringInput `pulumi:"hvn2"`
	// The ID of the peering connection.
	PeeringId pulumi.StringInput `pulumi:"peeringId"`
}

A collection of arguments for invoking getHvnPeeringConnection.

func (LookupHvnPeeringConnectionOutputArgs) ElementType

type LookupHvnPeeringConnectionResult

type LookupHvnPeeringConnectionResult struct {
	// The time that the peering connection was created.
	CreatedAt string `pulumi:"createdAt"`
	// The time after which the peering connection will be considered expired if it hasn't transitioned into `ACCEPTED` or `ACTIVE` state.
	ExpiresAt string `pulumi:"expiresAt"`
	// The unique URL of one of the HVNs being peered.
	Hvn1 string `pulumi:"hvn1"`
	// The unique URL of one of the HVNs being peered.
	Hvn2 string `pulumi:"hvn2"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The ID of the HCP organization where the peering connection is located. Always matches the HVNs' organization.
	OrganizationId string `pulumi:"organizationId"`
	// The ID of the peering connection.
	PeeringId string `pulumi:"peeringId"`
	// The ID of the HCP project where the peering connection is located. Always matches the HVNs' project.
	ProjectId string `pulumi:"projectId"`
	// A unique URL identifying the peering connection
	SelfLink string `pulumi:"selfLink"`
	// The state of the HVN peering connection.
	State string `pulumi:"state"`
}

A collection of values returned by getHvnPeeringConnection.

func LookupHvnPeeringConnection

func LookupHvnPeeringConnection(ctx *pulumi.Context, args *LookupHvnPeeringConnectionArgs, opts ...pulumi.InvokeOption) (*LookupHvnPeeringConnectionResult, error)

The HVN peering connection data source provides information about an existing peering connection between HVNs.

## Example Usage

```go package main

import (

"github.com/grapl-security/pulumi-hcp/sdk/go/hcp"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := hcp.LookupHvnPeeringConnection(ctx, &GetHvnPeeringConnectionArgs{
			PeeringId: _var.Peering_id,
			Hvn1:      _var.Hvn_1,
			Hvn2:      _var.Hvn_2,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupHvnPeeringConnectionResultOutput

type LookupHvnPeeringConnectionResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getHvnPeeringConnection.

func (LookupHvnPeeringConnectionResultOutput) CreatedAt

The time that the peering connection was created.

func (LookupHvnPeeringConnectionResultOutput) ElementType

func (LookupHvnPeeringConnectionResultOutput) ExpiresAt

The time after which the peering connection will be considered expired if it hasn't transitioned into `ACCEPTED` or `ACTIVE` state.

func (LookupHvnPeeringConnectionResultOutput) Hvn1

The unique URL of one of the HVNs being peered.

func (LookupHvnPeeringConnectionResultOutput) Hvn2

The unique URL of one of the HVNs being peered.

func (LookupHvnPeeringConnectionResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupHvnPeeringConnectionResultOutput) OrganizationId

The ID of the HCP organization where the peering connection is located. Always matches the HVNs' organization.

func (LookupHvnPeeringConnectionResultOutput) PeeringId

The ID of the peering connection.

func (LookupHvnPeeringConnectionResultOutput) ProjectId

The ID of the HCP project where the peering connection is located. Always matches the HVNs' project.

A unique URL identifying the peering connection

func (LookupHvnPeeringConnectionResultOutput) State added in v0.1.10

The state of the HVN peering connection.

func (LookupHvnPeeringConnectionResultOutput) ToLookupHvnPeeringConnectionResultOutput

func (o LookupHvnPeeringConnectionResultOutput) ToLookupHvnPeeringConnectionResultOutput() LookupHvnPeeringConnectionResultOutput

func (LookupHvnPeeringConnectionResultOutput) ToLookupHvnPeeringConnectionResultOutputWithContext

func (o LookupHvnPeeringConnectionResultOutput) ToLookupHvnPeeringConnectionResultOutputWithContext(ctx context.Context) LookupHvnPeeringConnectionResultOutput

type LookupHvnResult

type LookupHvnResult struct {
	// The CIDR range of the HVN.
	CidrBlock string `pulumi:"cidrBlock"`
	// The provider where the HVN is located.
	CloudProvider string `pulumi:"cloudProvider"`
	// The time that the HVN was created.
	CreatedAt string `pulumi:"createdAt"`
	// The ID of the HashiCorp Virtual Network (HVN).
	HvnId string `pulumi:"hvnId"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The ID of the HCP organization where the HVN is located.
	OrganizationId string `pulumi:"organizationId"`
	// The ID of the HCP project where the HVN is located.
	ProjectId string `pulumi:"projectId"`
	// The provider account ID where the HVN is located.
	ProviderAccountId string `pulumi:"providerAccountId"`
	// The region where the HVN is located.
	Region string `pulumi:"region"`
	// A unique URL identifying the HVN.
	SelfLink string `pulumi:"selfLink"`
	// The state of the HVN route.
	State string `pulumi:"state"`
}

A collection of values returned by getHvn.

func LookupHvn

func LookupHvn(ctx *pulumi.Context, args *LookupHvnArgs, opts ...pulumi.InvokeOption) (*LookupHvnResult, error)

The HVN data source provides information about an existing HashiCorp Virtual Network.

## Example Usage

```go package main

import (

"github.com/grapl-security/pulumi-hcp/sdk/go/hcp"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := hcp.LookupHvn(ctx, &GetHvnArgs{
			HvnId: _var.Hvn_id,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupHvnResultOutput

type LookupHvnResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getHvn.

func (LookupHvnResultOutput) CidrBlock

The CIDR range of the HVN.

func (LookupHvnResultOutput) CloudProvider

func (o LookupHvnResultOutput) CloudProvider() pulumi.StringOutput

The provider where the HVN is located.

func (LookupHvnResultOutput) CreatedAt

The time that the HVN was created.

func (LookupHvnResultOutput) ElementType

func (LookupHvnResultOutput) ElementType() reflect.Type

func (LookupHvnResultOutput) HvnId

The ID of the HashiCorp Virtual Network (HVN).

func (LookupHvnResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupHvnResultOutput) OrganizationId

func (o LookupHvnResultOutput) OrganizationId() pulumi.StringOutput

The ID of the HCP organization where the HVN is located.

func (LookupHvnResultOutput) ProjectId

The ID of the HCP project where the HVN is located.

func (LookupHvnResultOutput) ProviderAccountId

func (o LookupHvnResultOutput) ProviderAccountId() pulumi.StringOutput

The provider account ID where the HVN is located.

func (LookupHvnResultOutput) Region

The region where the HVN is located.

A unique URL identifying the HVN.

func (LookupHvnResultOutput) State added in v0.1.10

The state of the HVN route.

func (LookupHvnResultOutput) ToLookupHvnResultOutput

func (o LookupHvnResultOutput) ToLookupHvnResultOutput() LookupHvnResultOutput

func (LookupHvnResultOutput) ToLookupHvnResultOutputWithContext

func (o LookupHvnResultOutput) ToLookupHvnResultOutputWithContext(ctx context.Context) LookupHvnResultOutput

type LookupHvnRouteArgs

type LookupHvnRouteArgs struct {
	// The `selfLink` of the HashiCorp Virtual Network (HVN).
	HvnLink string `pulumi:"hvnLink"`
	// The ID of the HVN route.
	HvnRouteId string `pulumi:"hvnRouteId"`
}

A collection of arguments for invoking getHvnRoute.

type LookupHvnRouteOutputArgs

type LookupHvnRouteOutputArgs struct {
	// The `selfLink` of the HashiCorp Virtual Network (HVN).
	HvnLink pulumi.StringInput `pulumi:"hvnLink"`
	// The ID of the HVN route.
	HvnRouteId pulumi.StringInput `pulumi:"hvnRouteId"`
}

A collection of arguments for invoking getHvnRoute.

func (LookupHvnRouteOutputArgs) ElementType

func (LookupHvnRouteOutputArgs) ElementType() reflect.Type

type LookupHvnRouteResult

type LookupHvnRouteResult struct {
	// The time that the HVN route was created.
	CreatedAt string `pulumi:"createdAt"`
	// The destination CIDR of the HVN route.
	DestinationCidr string `pulumi:"destinationCidr"`
	// The `selfLink` of the HashiCorp Virtual Network (HVN).
	HvnLink string `pulumi:"hvnLink"`
	// The ID of the HVN route.
	HvnRouteId string `pulumi:"hvnRouteId"`
	// The provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// A unique URL identifying the HVN route.
	SelfLink string `pulumi:"selfLink"`
	// The state of the HVN route.
	State string `pulumi:"state"`
	// A unique URL identifying the target of the HVN route.
	TargetLink string `pulumi:"targetLink"`
}

A collection of values returned by getHvnRoute.

func LookupHvnRoute

func LookupHvnRoute(ctx *pulumi.Context, args *LookupHvnRouteArgs, opts ...pulumi.InvokeOption) (*LookupHvnRouteResult, error)

The HVN route data source provides information about an existing HVN route.

type LookupHvnRouteResultOutput

type LookupHvnRouteResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getHvnRoute.

func (LookupHvnRouteResultOutput) CreatedAt

The time that the HVN route was created.

func (LookupHvnRouteResultOutput) DestinationCidr

func (o LookupHvnRouteResultOutput) DestinationCidr() pulumi.StringOutput

The destination CIDR of the HVN route.

func (LookupHvnRouteResultOutput) ElementType

func (LookupHvnRouteResultOutput) ElementType() reflect.Type

The `selfLink` of the HashiCorp Virtual Network (HVN).

func (LookupHvnRouteResultOutput) HvnRouteId

The ID of the HVN route.

func (LookupHvnRouteResultOutput) Id

The provider-assigned unique ID for this managed resource.

A unique URL identifying the HVN route.

func (LookupHvnRouteResultOutput) State

The state of the HVN route.

A unique URL identifying the target of the HVN route.

func (LookupHvnRouteResultOutput) ToLookupHvnRouteResultOutput

func (o LookupHvnRouteResultOutput) ToLookupHvnRouteResultOutput() LookupHvnRouteResultOutput

func (LookupHvnRouteResultOutput) ToLookupHvnRouteResultOutputWithContext

func (o LookupHvnRouteResultOutput) ToLookupHvnRouteResultOutputWithContext(ctx context.Context) LookupHvnRouteResultOutput

type LookupVaultClusterArgs

type LookupVaultClusterArgs struct {
	// The audit logs configuration for export. (https://learn.hashicorp.com/tutorials/cloud/vault-metrics-guide#metrics-streaming-configuration)
	AuditLogConfigs []GetVaultClusterAuditLogConfig `pulumi:"auditLogConfigs"`
	// The ID of the HCP Vault cluster.
	ClusterId string `pulumi:"clusterId"`
	// The metrics configuration for export. (https://learn.hashicorp.com/tutorials/cloud/vault-metrics-guide#metrics-streaming-configuration)
	MetricsConfigs []GetVaultClusterMetricsConfig `pulumi:"metricsConfigs"`
}

A collection of arguments for invoking getVaultCluster.

type LookupVaultClusterOutputArgs

type LookupVaultClusterOutputArgs struct {
	// The audit logs configuration for export. (https://learn.hashicorp.com/tutorials/cloud/vault-metrics-guide#metrics-streaming-configuration)
	AuditLogConfigs GetVaultClusterAuditLogConfigArrayInput `pulumi:"auditLogConfigs"`
	// The ID of the HCP Vault cluster.
	ClusterId pulumi.StringInput `pulumi:"clusterId"`
	// The metrics configuration for export. (https://learn.hashicorp.com/tutorials/cloud/vault-metrics-guide#metrics-streaming-configuration)
	MetricsConfigs GetVaultClusterMetricsConfigArrayInput `pulumi:"metricsConfigs"`
}

A collection of arguments for invoking getVaultCluster.

func (LookupVaultClusterOutputArgs) ElementType

type LookupVaultClusterResult

type LookupVaultClusterResult struct {
	// The audit logs configuration for export. (https://learn.hashicorp.com/tutorials/cloud/vault-metrics-guide#metrics-streaming-configuration)
	AuditLogConfigs []GetVaultClusterAuditLogConfig `pulumi:"auditLogConfigs"`
	// The provider where the HCP Vault cluster is located.
	CloudProvider string `pulumi:"cloudProvider"`
	// The ID of the HCP Vault cluster.
	ClusterId string `pulumi:"clusterId"`
	// The time that the Vault cluster was created.
	CreatedAt string `pulumi:"createdAt"`
	// The ID of the HVN this HCP Vault cluster is associated to.
	HvnId string `pulumi:"hvnId"`
	// The provider-assigned unique ID for this managed resource.
	Id                         string                                     `pulumi:"id"`
	MajorVersionUpgradeConfigs []GetVaultClusterMajorVersionUpgradeConfig `pulumi:"majorVersionUpgradeConfigs"`
	// The metrics configuration for export. (https://learn.hashicorp.com/tutorials/cloud/vault-metrics-guide#metrics-streaming-configuration)
	MetricsConfigs []GetVaultClusterMetricsConfig `pulumi:"metricsConfigs"`
	// The minimum Vault version to use when creating the cluster. If not specified, it is defaulted to the version that is currently recommended by HCP.
	MinVaultVersion string `pulumi:"minVaultVersion"`
	// The name of the customer namespace this HCP Vault cluster is located in.
	Namespace string `pulumi:"namespace"`
	// The ID of the organization this HCP Vault cluster is located in.
	OrganizationId string `pulumi:"organizationId"`
	// The performance replication [paths filter](https://learn.hashicorp.com/tutorials/vault/paths-filter). Applies to performance replication secondaries only and operates in "deny" mode only.
	PathsFilters []string `pulumi:"pathsFilters"`
	// The `selfLink` of the HCP Vault Plus tier cluster which is the primary in the performance replication setup with this HCP Vault Plus tier cluster. If not specified, it is a standalone Plus tier HCP Vault cluster.
	PrimaryLink string `pulumi:"primaryLink"`
	// The ID of the project this HCP Vault cluster is located in.
	ProjectId string `pulumi:"projectId"`
	// Denotes that the cluster has a public endpoint. Defaults to false.
	PublicEndpoint bool `pulumi:"publicEndpoint"`
	// The region where the HCP Vault cluster is located.
	Region string `pulumi:"region"`
	// A unique URL identifying the Vault cluster.
	SelfLink string `pulumi:"selfLink"`
	// The state of the Vault cluster.
	State string `pulumi:"state"`
	// The tier that the HCP Vault cluster will be provisioned as.  Only 'development' is available at this time.
	Tier string `pulumi:"tier"`
	// The private URL for the Vault cluster.
	VaultPrivateEndpointUrl string `pulumi:"vaultPrivateEndpointUrl"`
	// The public URL for the Vault cluster. This will be empty if `publicEndpoint` is `false`.
	VaultPublicEndpointUrl string `pulumi:"vaultPublicEndpointUrl"`
	// The Vault version of the cluster.
	VaultVersion string `pulumi:"vaultVersion"`
}

A collection of values returned by getVaultCluster.

func LookupVaultCluster

func LookupVaultCluster(ctx *pulumi.Context, args *LookupVaultClusterArgs, opts ...pulumi.InvokeOption) (*LookupVaultClusterResult, error)

The cluster data source provides information about an existing HCP Vault cluster.

## Example Usage

```go package main

import (

"github.com/grapl-security/pulumi-hcp/sdk/go/hcp"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := hcp.LookupVaultCluster(ctx, &GetVaultClusterArgs{
			ClusterId: _var.Cluster_id,
		}, nil)
		if err != nil {
			return err
		}
		return nil
	})
}

```

type LookupVaultClusterResultOutput

type LookupVaultClusterResultOutput struct{ *pulumi.OutputState }

A collection of values returned by getVaultCluster.

func (LookupVaultClusterResultOutput) AuditLogConfigs added in v0.1.6

The audit logs configuration for export. (https://learn.hashicorp.com/tutorials/cloud/vault-metrics-guide#metrics-streaming-configuration)

func (LookupVaultClusterResultOutput) CloudProvider

The provider where the HCP Vault cluster is located.

func (LookupVaultClusterResultOutput) ClusterId

The ID of the HCP Vault cluster.

func (LookupVaultClusterResultOutput) CreatedAt

The time that the Vault cluster was created.

func (LookupVaultClusterResultOutput) ElementType

func (LookupVaultClusterResultOutput) HvnId

The ID of the HVN this HCP Vault cluster is associated to.

func (LookupVaultClusterResultOutput) Id

The provider-assigned unique ID for this managed resource.

func (LookupVaultClusterResultOutput) MajorVersionUpgradeConfigs added in v0.1.12

func (LookupVaultClusterResultOutput) MetricsConfigs added in v0.1.6

The metrics configuration for export. (https://learn.hashicorp.com/tutorials/cloud/vault-metrics-guide#metrics-streaming-configuration)

func (LookupVaultClusterResultOutput) MinVaultVersion

The minimum Vault version to use when creating the cluster. If not specified, it is defaulted to the version that is currently recommended by HCP.

func (LookupVaultClusterResultOutput) Namespace

The name of the customer namespace this HCP Vault cluster is located in.

func (LookupVaultClusterResultOutput) OrganizationId

The ID of the organization this HCP Vault cluster is located in.

func (LookupVaultClusterResultOutput) PathsFilters added in v0.1.4

The performance replication [paths filter](https://learn.hashicorp.com/tutorials/vault/paths-filter). Applies to performance replication secondaries only and operates in "deny" mode only.

The `selfLink` of the HCP Vault Plus tier cluster which is the primary in the performance replication setup with this HCP Vault Plus tier cluster. If not specified, it is a standalone Plus tier HCP Vault cluster.

func (LookupVaultClusterResultOutput) ProjectId

The ID of the project this HCP Vault cluster is located in.

func (LookupVaultClusterResultOutput) PublicEndpoint

Denotes that the cluster has a public endpoint. Defaults to false.

func (LookupVaultClusterResultOutput) Region

The region where the HCP Vault cluster is located.

A unique URL identifying the Vault cluster.

func (LookupVaultClusterResultOutput) State added in v0.1.10

The state of the Vault cluster.

func (LookupVaultClusterResultOutput) Tier

The tier that the HCP Vault cluster will be provisioned as. Only 'development' is available at this time.

func (LookupVaultClusterResultOutput) ToLookupVaultClusterResultOutput

func (o LookupVaultClusterResultOutput) ToLookupVaultClusterResultOutput() LookupVaultClusterResultOutput

func (LookupVaultClusterResultOutput) ToLookupVaultClusterResultOutputWithContext

func (o LookupVaultClusterResultOutput) ToLookupVaultClusterResultOutputWithContext(ctx context.Context) LookupVaultClusterResultOutput

func (LookupVaultClusterResultOutput) VaultPrivateEndpointUrl

func (o LookupVaultClusterResultOutput) VaultPrivateEndpointUrl() pulumi.StringOutput

The private URL for the Vault cluster.

func (LookupVaultClusterResultOutput) VaultPublicEndpointUrl

func (o LookupVaultClusterResultOutput) VaultPublicEndpointUrl() pulumi.StringOutput

The public URL for the Vault cluster. This will be empty if `publicEndpoint` is `false`.

func (LookupVaultClusterResultOutput) VaultVersion

The Vault version of the cluster.

type Provider

type Provider struct {
	pulumi.ProviderResourceState

	// The OAuth2 Client ID for API operations.
	ClientId pulumi.StringPtrOutput `pulumi:"clientId"`
	// The OAuth2 Client Secret for API operations.
	ClientSecret pulumi.StringPtrOutput `pulumi:"clientSecret"`
}

The provider type for the hcp package. By default, resources use package-wide configuration settings, however an explicit `Provider` instance may be created and passed during resource construction to achieve fine-grained programmatic control over provider settings. See the [documentation](https://www.pulumi.com/docs/reference/programming-model/#providers) for more information.

func NewProvider

func NewProvider(ctx *pulumi.Context,
	name string, args *ProviderArgs, opts ...pulumi.ResourceOption) (*Provider, error)

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

func (*Provider) ElementType

func (*Provider) ElementType() reflect.Type

func (*Provider) ToProviderOutput

func (i *Provider) ToProviderOutput() ProviderOutput

func (*Provider) ToProviderOutputWithContext

func (i *Provider) ToProviderOutputWithContext(ctx context.Context) ProviderOutput

type ProviderArgs

type ProviderArgs struct {
	// The OAuth2 Client ID for API operations.
	ClientId pulumi.StringPtrInput
	// The OAuth2 Client Secret for API operations.
	ClientSecret pulumi.StringPtrInput
}

The set of arguments for constructing a Provider resource.

func (ProviderArgs) ElementType

func (ProviderArgs) ElementType() reflect.Type

type ProviderInput

type ProviderInput interface {
	pulumi.Input

	ToProviderOutput() ProviderOutput
	ToProviderOutputWithContext(ctx context.Context) ProviderOutput
}

type ProviderOutput

type ProviderOutput struct{ *pulumi.OutputState }

func (ProviderOutput) ClientId added in v0.1.4

func (o ProviderOutput) ClientId() pulumi.StringPtrOutput

The OAuth2 Client ID for API operations.

func (ProviderOutput) ClientSecret added in v0.1.4

func (o ProviderOutput) ClientSecret() pulumi.StringPtrOutput

The OAuth2 Client Secret for API operations.

func (ProviderOutput) ElementType

func (ProviderOutput) ElementType() reflect.Type

func (ProviderOutput) ToProviderOutput

func (o ProviderOutput) ToProviderOutput() ProviderOutput

func (ProviderOutput) ToProviderOutputWithContext

func (o ProviderOutput) ToProviderOutputWithContext(ctx context.Context) ProviderOutput

type VaultCluster

type VaultCluster struct {
	pulumi.CustomResourceState

	// The audit logs configuration for export. (https://learn.hashicorp.com/tutorials/cloud/vault-metrics-guide#metrics-streaming-configuration)
	AuditLogConfig VaultClusterAuditLogConfigPtrOutput `pulumi:"auditLogConfig"`
	// The provider where the HCP Vault cluster is located.
	CloudProvider pulumi.StringOutput `pulumi:"cloudProvider"`
	// The ID of the HCP Vault cluster.
	ClusterId pulumi.StringOutput `pulumi:"clusterId"`
	// The time that the Vault cluster was created.
	CreatedAt pulumi.StringOutput `pulumi:"createdAt"`
	// The ID of the HVN this HCP Vault cluster is associated to.
	HvnId pulumi.StringOutput `pulumi:"hvnId"`
	// The Major Version Upgrade configuration.
	MajorVersionUpgradeConfig VaultClusterMajorVersionUpgradeConfigOutput `pulumi:"majorVersionUpgradeConfig"`
	// The metrics configuration for export. (https://learn.hashicorp.com/tutorials/cloud/vault-metrics-guide#metrics-streaming-configuration)
	MetricsConfig VaultClusterMetricsConfigPtrOutput `pulumi:"metricsConfig"`
	// The minimum Vault version to use when creating the cluster. If not specified, it is defaulted to the version that is currently recommended by HCP.
	MinVaultVersion pulumi.StringPtrOutput `pulumi:"minVaultVersion"`
	// The name of the customer namespace this HCP Vault cluster is located in.
	Namespace pulumi.StringOutput `pulumi:"namespace"`
	// The ID of the organization this HCP Vault cluster is located in.
	OrganizationId pulumi.StringOutput `pulumi:"organizationId"`
	// The performance replication [paths filter](https://learn.hashicorp.com/tutorials/vault/paths-filter). Applies to performance replication secondaries only and operates in "deny" mode only.
	PathsFilters pulumi.StringArrayOutput `pulumi:"pathsFilters"`
	// The `selfLink` of the HCP Vault Plus tier cluster which is the primary in the performance replication setup with this HCP Vault Plus tier cluster. If not specified, it is a standalone Plus tier HCP Vault cluster.
	PrimaryLink pulumi.StringPtrOutput `pulumi:"primaryLink"`
	// The ID of the project this HCP Vault cluster is located in.
	ProjectId pulumi.StringOutput `pulumi:"projectId"`
	// Denotes that the cluster has a public endpoint. Defaults to false.
	PublicEndpoint pulumi.BoolPtrOutput `pulumi:"publicEndpoint"`
	// The region where the HCP Vault cluster is located.
	Region pulumi.StringOutput `pulumi:"region"`
	// A unique URL identifying the Vault cluster.
	SelfLink pulumi.StringOutput `pulumi:"selfLink"`
	// The state of the Vault cluster.
	State pulumi.StringOutput `pulumi:"state"`
	// Tier of the HCP Vault cluster. Valid options for tiers - `dev`, `starterSmall`, `standardSmall`, `standardMedium`, `standardLarge`, `plusSmall`, `plusMedium`, `plusLarge`. See [pricing information](https://cloud.hashicorp.com/pricing/vault).
	Tier pulumi.StringOutput `pulumi:"tier"`
	// The private URL for the Vault cluster.
	VaultPrivateEndpointUrl pulumi.StringOutput `pulumi:"vaultPrivateEndpointUrl"`
	// The public URL for the Vault cluster. This will be empty if `publicEndpoint` is `false`.
	VaultPublicEndpointUrl pulumi.StringOutput `pulumi:"vaultPublicEndpointUrl"`
	// The Vault version of the cluster.
	VaultVersion pulumi.StringOutput `pulumi:"vaultVersion"`
}

## Import

The import ID is {cluster_id}

```sh

$ pulumi import hcp:index/vaultCluster:VaultCluster example vault-cluster

```

func GetVaultCluster

func GetVaultCluster(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *VaultClusterState, opts ...pulumi.ResourceOption) (*VaultCluster, error)

GetVaultCluster gets an existing VaultCluster 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 NewVaultCluster

func NewVaultCluster(ctx *pulumi.Context,
	name string, args *VaultClusterArgs, opts ...pulumi.ResourceOption) (*VaultCluster, error)

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

func (*VaultCluster) ElementType

func (*VaultCluster) ElementType() reflect.Type

func (*VaultCluster) ToVaultClusterOutput

func (i *VaultCluster) ToVaultClusterOutput() VaultClusterOutput

func (*VaultCluster) ToVaultClusterOutputWithContext

func (i *VaultCluster) ToVaultClusterOutputWithContext(ctx context.Context) VaultClusterOutput

type VaultClusterAdminToken

type VaultClusterAdminToken struct {
	pulumi.CustomResourceState

	// The ID of the HCP Vault cluster.
	ClusterId pulumi.StringOutput `pulumi:"clusterId"`
	// The time that the admin token was created.
	CreatedAt pulumi.StringOutput `pulumi:"createdAt"`
	// The admin token of this HCP Vault cluster.
	Token pulumi.StringOutput `pulumi:"token"`
}

## Example Usage

```go package main

import (

"github.com/grapl-security/pulumi-hcp/sdk/go/hcp"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"

)

func main() {
	pulumi.Run(func(ctx *pulumi.Context) error {
		_, err := hcp.NewVaultClusterAdminToken(ctx, "example", &hcp.VaultClusterAdminTokenArgs{
			ClusterId: pulumi.String("test-vault-cluster"),
		})
		if err != nil {
			return err
		}
		return nil
	})
}

```

func GetVaultClusterAdminToken

func GetVaultClusterAdminToken(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *VaultClusterAdminTokenState, opts ...pulumi.ResourceOption) (*VaultClusterAdminToken, error)

GetVaultClusterAdminToken gets an existing VaultClusterAdminToken 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 NewVaultClusterAdminToken

func NewVaultClusterAdminToken(ctx *pulumi.Context,
	name string, args *VaultClusterAdminTokenArgs, opts ...pulumi.ResourceOption) (*VaultClusterAdminToken, error)

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

func (*VaultClusterAdminToken) ElementType

func (*VaultClusterAdminToken) ElementType() reflect.Type

func (*VaultClusterAdminToken) ToVaultClusterAdminTokenOutput

func (i *VaultClusterAdminToken) ToVaultClusterAdminTokenOutput() VaultClusterAdminTokenOutput

func (*VaultClusterAdminToken) ToVaultClusterAdminTokenOutputWithContext

func (i *VaultClusterAdminToken) ToVaultClusterAdminTokenOutputWithContext(ctx context.Context) VaultClusterAdminTokenOutput

type VaultClusterAdminTokenArgs

type VaultClusterAdminTokenArgs struct {
	// The ID of the HCP Vault cluster.
	ClusterId pulumi.StringInput
}

The set of arguments for constructing a VaultClusterAdminToken resource.

func (VaultClusterAdminTokenArgs) ElementType

func (VaultClusterAdminTokenArgs) ElementType() reflect.Type

type VaultClusterAdminTokenArray

type VaultClusterAdminTokenArray []VaultClusterAdminTokenInput

func (VaultClusterAdminTokenArray) ElementType

func (VaultClusterAdminTokenArray) ToVaultClusterAdminTokenArrayOutput

func (i VaultClusterAdminTokenArray) ToVaultClusterAdminTokenArrayOutput() VaultClusterAdminTokenArrayOutput

func (VaultClusterAdminTokenArray) ToVaultClusterAdminTokenArrayOutputWithContext

func (i VaultClusterAdminTokenArray) ToVaultClusterAdminTokenArrayOutputWithContext(ctx context.Context) VaultClusterAdminTokenArrayOutput

type VaultClusterAdminTokenArrayInput

type VaultClusterAdminTokenArrayInput interface {
	pulumi.Input

	ToVaultClusterAdminTokenArrayOutput() VaultClusterAdminTokenArrayOutput
	ToVaultClusterAdminTokenArrayOutputWithContext(context.Context) VaultClusterAdminTokenArrayOutput
}

VaultClusterAdminTokenArrayInput is an input type that accepts VaultClusterAdminTokenArray and VaultClusterAdminTokenArrayOutput values. You can construct a concrete instance of `VaultClusterAdminTokenArrayInput` via:

VaultClusterAdminTokenArray{ VaultClusterAdminTokenArgs{...} }

type VaultClusterAdminTokenArrayOutput

type VaultClusterAdminTokenArrayOutput struct{ *pulumi.OutputState }

func (VaultClusterAdminTokenArrayOutput) ElementType

func (VaultClusterAdminTokenArrayOutput) Index

func (VaultClusterAdminTokenArrayOutput) ToVaultClusterAdminTokenArrayOutput

func (o VaultClusterAdminTokenArrayOutput) ToVaultClusterAdminTokenArrayOutput() VaultClusterAdminTokenArrayOutput

func (VaultClusterAdminTokenArrayOutput) ToVaultClusterAdminTokenArrayOutputWithContext

func (o VaultClusterAdminTokenArrayOutput) ToVaultClusterAdminTokenArrayOutputWithContext(ctx context.Context) VaultClusterAdminTokenArrayOutput

type VaultClusterAdminTokenInput

type VaultClusterAdminTokenInput interface {
	pulumi.Input

	ToVaultClusterAdminTokenOutput() VaultClusterAdminTokenOutput
	ToVaultClusterAdminTokenOutputWithContext(ctx context.Context) VaultClusterAdminTokenOutput
}

type VaultClusterAdminTokenMap

type VaultClusterAdminTokenMap map[string]VaultClusterAdminTokenInput

func (VaultClusterAdminTokenMap) ElementType

func (VaultClusterAdminTokenMap) ElementType() reflect.Type

func (VaultClusterAdminTokenMap) ToVaultClusterAdminTokenMapOutput

func (i VaultClusterAdminTokenMap) ToVaultClusterAdminTokenMapOutput() VaultClusterAdminTokenMapOutput

func (VaultClusterAdminTokenMap) ToVaultClusterAdminTokenMapOutputWithContext

func (i VaultClusterAdminTokenMap) ToVaultClusterAdminTokenMapOutputWithContext(ctx context.Context) VaultClusterAdminTokenMapOutput

type VaultClusterAdminTokenMapInput

type VaultClusterAdminTokenMapInput interface {
	pulumi.Input

	ToVaultClusterAdminTokenMapOutput() VaultClusterAdminTokenMapOutput
	ToVaultClusterAdminTokenMapOutputWithContext(context.Context) VaultClusterAdminTokenMapOutput
}

VaultClusterAdminTokenMapInput is an input type that accepts VaultClusterAdminTokenMap and VaultClusterAdminTokenMapOutput values. You can construct a concrete instance of `VaultClusterAdminTokenMapInput` via:

VaultClusterAdminTokenMap{ "key": VaultClusterAdminTokenArgs{...} }

type VaultClusterAdminTokenMapOutput

type VaultClusterAdminTokenMapOutput struct{ *pulumi.OutputState }

func (VaultClusterAdminTokenMapOutput) ElementType

func (VaultClusterAdminTokenMapOutput) MapIndex

func (VaultClusterAdminTokenMapOutput) ToVaultClusterAdminTokenMapOutput

func (o VaultClusterAdminTokenMapOutput) ToVaultClusterAdminTokenMapOutput() VaultClusterAdminTokenMapOutput

func (VaultClusterAdminTokenMapOutput) ToVaultClusterAdminTokenMapOutputWithContext

func (o VaultClusterAdminTokenMapOutput) ToVaultClusterAdminTokenMapOutputWithContext(ctx context.Context) VaultClusterAdminTokenMapOutput

type VaultClusterAdminTokenOutput

type VaultClusterAdminTokenOutput struct{ *pulumi.OutputState }

func (VaultClusterAdminTokenOutput) ClusterId added in v0.1.4

The ID of the HCP Vault cluster.

func (VaultClusterAdminTokenOutput) CreatedAt added in v0.1.4

The time that the admin token was created.

func (VaultClusterAdminTokenOutput) ElementType

func (VaultClusterAdminTokenOutput) ToVaultClusterAdminTokenOutput

func (o VaultClusterAdminTokenOutput) ToVaultClusterAdminTokenOutput() VaultClusterAdminTokenOutput

func (VaultClusterAdminTokenOutput) ToVaultClusterAdminTokenOutputWithContext

func (o VaultClusterAdminTokenOutput) ToVaultClusterAdminTokenOutputWithContext(ctx context.Context) VaultClusterAdminTokenOutput

func (VaultClusterAdminTokenOutput) Token added in v0.1.4

The admin token of this HCP Vault cluster.

type VaultClusterAdminTokenState

type VaultClusterAdminTokenState struct {
	// The ID of the HCP Vault cluster.
	ClusterId pulumi.StringPtrInput
	// The time that the admin token was created.
	CreatedAt pulumi.StringPtrInput
	// The admin token of this HCP Vault cluster.
	Token pulumi.StringPtrInput
}

func (VaultClusterAdminTokenState) ElementType

type VaultClusterArgs

type VaultClusterArgs struct {
	// The audit logs configuration for export. (https://learn.hashicorp.com/tutorials/cloud/vault-metrics-guide#metrics-streaming-configuration)
	AuditLogConfig VaultClusterAuditLogConfigPtrInput
	// The ID of the HCP Vault cluster.
	ClusterId pulumi.StringInput
	// The ID of the HVN this HCP Vault cluster is associated to.
	HvnId pulumi.StringInput
	// The Major Version Upgrade configuration.
	MajorVersionUpgradeConfig VaultClusterMajorVersionUpgradeConfigPtrInput
	// The metrics configuration for export. (https://learn.hashicorp.com/tutorials/cloud/vault-metrics-guide#metrics-streaming-configuration)
	MetricsConfig VaultClusterMetricsConfigPtrInput
	// The minimum Vault version to use when creating the cluster. If not specified, it is defaulted to the version that is currently recommended by HCP.
	MinVaultVersion pulumi.StringPtrInput
	// The performance replication [paths filter](https://learn.hashicorp.com/tutorials/vault/paths-filter). Applies to performance replication secondaries only and operates in "deny" mode only.
	PathsFilters pulumi.StringArrayInput
	// The `selfLink` of the HCP Vault Plus tier cluster which is the primary in the performance replication setup with this HCP Vault Plus tier cluster. If not specified, it is a standalone Plus tier HCP Vault cluster.
	PrimaryLink pulumi.StringPtrInput
	// Denotes that the cluster has a public endpoint. Defaults to false.
	PublicEndpoint pulumi.BoolPtrInput
	// Tier of the HCP Vault cluster. Valid options for tiers - `dev`, `starterSmall`, `standardSmall`, `standardMedium`, `standardLarge`, `plusSmall`, `plusMedium`, `plusLarge`. See [pricing information](https://cloud.hashicorp.com/pricing/vault).
	Tier pulumi.StringPtrInput
}

The set of arguments for constructing a VaultCluster resource.

func (VaultClusterArgs) ElementType

func (VaultClusterArgs) ElementType() reflect.Type

type VaultClusterArray

type VaultClusterArray []VaultClusterInput

func (VaultClusterArray) ElementType

func (VaultClusterArray) ElementType() reflect.Type

func (VaultClusterArray) ToVaultClusterArrayOutput

func (i VaultClusterArray) ToVaultClusterArrayOutput() VaultClusterArrayOutput

func (VaultClusterArray) ToVaultClusterArrayOutputWithContext

func (i VaultClusterArray) ToVaultClusterArrayOutputWithContext(ctx context.Context) VaultClusterArrayOutput

type VaultClusterArrayInput

type VaultClusterArrayInput interface {
	pulumi.Input

	ToVaultClusterArrayOutput() VaultClusterArrayOutput
	ToVaultClusterArrayOutputWithContext(context.Context) VaultClusterArrayOutput
}

VaultClusterArrayInput is an input type that accepts VaultClusterArray and VaultClusterArrayOutput values. You can construct a concrete instance of `VaultClusterArrayInput` via:

VaultClusterArray{ VaultClusterArgs{...} }

type VaultClusterArrayOutput

type VaultClusterArrayOutput struct{ *pulumi.OutputState }

func (VaultClusterArrayOutput) ElementType

func (VaultClusterArrayOutput) ElementType() reflect.Type

func (VaultClusterArrayOutput) Index

func (VaultClusterArrayOutput) ToVaultClusterArrayOutput

func (o VaultClusterArrayOutput) ToVaultClusterArrayOutput() VaultClusterArrayOutput

func (VaultClusterArrayOutput) ToVaultClusterArrayOutputWithContext

func (o VaultClusterArrayOutput) ToVaultClusterArrayOutputWithContext(ctx context.Context) VaultClusterArrayOutput

type VaultClusterAuditLogConfig added in v0.1.6

type VaultClusterAuditLogConfig struct {
	// Datadog api key for streaming audit logs
	DatadogApiKey *string `pulumi:"datadogApiKey"`
	// Datadog region for streaming audit logs
	DatadogRegion *string `pulumi:"datadogRegion"`
	// Grafana endpoint for streaming audit logs
	GrafanaEndpoint *string `pulumi:"grafanaEndpoint"`
	// Grafana password for streaming audit logs
	GrafanaPassword *string `pulumi:"grafanaPassword"`
	// Grafana user for streaming audit logs
	GrafanaUser *string `pulumi:"grafanaUser"`
	// Splunk endpoint for streaming audit logs
	SplunkHecendpoint *string `pulumi:"splunkHecendpoint"`
	// Splunk token for streaming audit logs
	SplunkToken *string `pulumi:"splunkToken"`
}

type VaultClusterAuditLogConfigArgs added in v0.1.6

type VaultClusterAuditLogConfigArgs struct {
	// Datadog api key for streaming audit logs
	DatadogApiKey pulumi.StringPtrInput `pulumi:"datadogApiKey"`
	// Datadog region for streaming audit logs
	DatadogRegion pulumi.StringPtrInput `pulumi:"datadogRegion"`
	// Grafana endpoint for streaming audit logs
	GrafanaEndpoint pulumi.StringPtrInput `pulumi:"grafanaEndpoint"`
	// Grafana password for streaming audit logs
	GrafanaPassword pulumi.StringPtrInput `pulumi:"grafanaPassword"`
	// Grafana user for streaming audit logs
	GrafanaUser pulumi.StringPtrInput `pulumi:"grafanaUser"`
	// Splunk endpoint for streaming audit logs
	SplunkHecendpoint pulumi.StringPtrInput `pulumi:"splunkHecendpoint"`
	// Splunk token for streaming audit logs
	SplunkToken pulumi.StringPtrInput `pulumi:"splunkToken"`
}

func (VaultClusterAuditLogConfigArgs) ElementType added in v0.1.6

func (VaultClusterAuditLogConfigArgs) ToVaultClusterAuditLogConfigOutput added in v0.1.6

func (i VaultClusterAuditLogConfigArgs) ToVaultClusterAuditLogConfigOutput() VaultClusterAuditLogConfigOutput

func (VaultClusterAuditLogConfigArgs) ToVaultClusterAuditLogConfigOutputWithContext added in v0.1.6

func (i VaultClusterAuditLogConfigArgs) ToVaultClusterAuditLogConfigOutputWithContext(ctx context.Context) VaultClusterAuditLogConfigOutput

func (VaultClusterAuditLogConfigArgs) ToVaultClusterAuditLogConfigPtrOutput added in v0.1.6

func (i VaultClusterAuditLogConfigArgs) ToVaultClusterAuditLogConfigPtrOutput() VaultClusterAuditLogConfigPtrOutput

func (VaultClusterAuditLogConfigArgs) ToVaultClusterAuditLogConfigPtrOutputWithContext added in v0.1.6

func (i VaultClusterAuditLogConfigArgs) ToVaultClusterAuditLogConfigPtrOutputWithContext(ctx context.Context) VaultClusterAuditLogConfigPtrOutput

type VaultClusterAuditLogConfigInput added in v0.1.6

type VaultClusterAuditLogConfigInput interface {
	pulumi.Input

	ToVaultClusterAuditLogConfigOutput() VaultClusterAuditLogConfigOutput
	ToVaultClusterAuditLogConfigOutputWithContext(context.Context) VaultClusterAuditLogConfigOutput
}

VaultClusterAuditLogConfigInput is an input type that accepts VaultClusterAuditLogConfigArgs and VaultClusterAuditLogConfigOutput values. You can construct a concrete instance of `VaultClusterAuditLogConfigInput` via:

VaultClusterAuditLogConfigArgs{...}

type VaultClusterAuditLogConfigOutput added in v0.1.6

type VaultClusterAuditLogConfigOutput struct{ *pulumi.OutputState }

func (VaultClusterAuditLogConfigOutput) DatadogApiKey added in v0.1.6

Datadog api key for streaming audit logs

func (VaultClusterAuditLogConfigOutput) DatadogRegion added in v0.1.6

Datadog region for streaming audit logs

func (VaultClusterAuditLogConfigOutput) ElementType added in v0.1.6

func (VaultClusterAuditLogConfigOutput) GrafanaEndpoint added in v0.1.6

Grafana endpoint for streaming audit logs

func (VaultClusterAuditLogConfigOutput) GrafanaPassword added in v0.1.6

Grafana password for streaming audit logs

func (VaultClusterAuditLogConfigOutput) GrafanaUser added in v0.1.6

Grafana user for streaming audit logs

func (VaultClusterAuditLogConfigOutput) SplunkHecendpoint added in v0.1.6

Splunk endpoint for streaming audit logs

func (VaultClusterAuditLogConfigOutput) SplunkToken added in v0.1.6

Splunk token for streaming audit logs

func (VaultClusterAuditLogConfigOutput) ToVaultClusterAuditLogConfigOutput added in v0.1.6

func (o VaultClusterAuditLogConfigOutput) ToVaultClusterAuditLogConfigOutput() VaultClusterAuditLogConfigOutput

func (VaultClusterAuditLogConfigOutput) ToVaultClusterAuditLogConfigOutputWithContext added in v0.1.6

func (o VaultClusterAuditLogConfigOutput) ToVaultClusterAuditLogConfigOutputWithContext(ctx context.Context) VaultClusterAuditLogConfigOutput

func (VaultClusterAuditLogConfigOutput) ToVaultClusterAuditLogConfigPtrOutput added in v0.1.6

func (o VaultClusterAuditLogConfigOutput) ToVaultClusterAuditLogConfigPtrOutput() VaultClusterAuditLogConfigPtrOutput

func (VaultClusterAuditLogConfigOutput) ToVaultClusterAuditLogConfigPtrOutputWithContext added in v0.1.6

func (o VaultClusterAuditLogConfigOutput) ToVaultClusterAuditLogConfigPtrOutputWithContext(ctx context.Context) VaultClusterAuditLogConfigPtrOutput

type VaultClusterAuditLogConfigPtrInput added in v0.1.6

type VaultClusterAuditLogConfigPtrInput interface {
	pulumi.Input

	ToVaultClusterAuditLogConfigPtrOutput() VaultClusterAuditLogConfigPtrOutput
	ToVaultClusterAuditLogConfigPtrOutputWithContext(context.Context) VaultClusterAuditLogConfigPtrOutput
}

VaultClusterAuditLogConfigPtrInput is an input type that accepts VaultClusterAuditLogConfigArgs, VaultClusterAuditLogConfigPtr and VaultClusterAuditLogConfigPtrOutput values. You can construct a concrete instance of `VaultClusterAuditLogConfigPtrInput` via:

        VaultClusterAuditLogConfigArgs{...}

or:

        nil

func VaultClusterAuditLogConfigPtr added in v0.1.6

type VaultClusterAuditLogConfigPtrOutput added in v0.1.6

type VaultClusterAuditLogConfigPtrOutput struct{ *pulumi.OutputState }

func (VaultClusterAuditLogConfigPtrOutput) DatadogApiKey added in v0.1.6

Datadog api key for streaming audit logs

func (VaultClusterAuditLogConfigPtrOutput) DatadogRegion added in v0.1.6

Datadog region for streaming audit logs

func (VaultClusterAuditLogConfigPtrOutput) Elem added in v0.1.6

func (VaultClusterAuditLogConfigPtrOutput) ElementType added in v0.1.6

func (VaultClusterAuditLogConfigPtrOutput) GrafanaEndpoint added in v0.1.6

Grafana endpoint for streaming audit logs

func (VaultClusterAuditLogConfigPtrOutput) GrafanaPassword added in v0.1.6

Grafana password for streaming audit logs

func (VaultClusterAuditLogConfigPtrOutput) GrafanaUser added in v0.1.6

Grafana user for streaming audit logs

func (VaultClusterAuditLogConfigPtrOutput) SplunkHecendpoint added in v0.1.6

Splunk endpoint for streaming audit logs

func (VaultClusterAuditLogConfigPtrOutput) SplunkToken added in v0.1.6

Splunk token for streaming audit logs

func (VaultClusterAuditLogConfigPtrOutput) ToVaultClusterAuditLogConfigPtrOutput added in v0.1.6

func (o VaultClusterAuditLogConfigPtrOutput) ToVaultClusterAuditLogConfigPtrOutput() VaultClusterAuditLogConfigPtrOutput

func (VaultClusterAuditLogConfigPtrOutput) ToVaultClusterAuditLogConfigPtrOutputWithContext added in v0.1.6

func (o VaultClusterAuditLogConfigPtrOutput) ToVaultClusterAuditLogConfigPtrOutputWithContext(ctx context.Context) VaultClusterAuditLogConfigPtrOutput

type VaultClusterInput

type VaultClusterInput interface {
	pulumi.Input

	ToVaultClusterOutput() VaultClusterOutput
	ToVaultClusterOutputWithContext(ctx context.Context) VaultClusterOutput
}

type VaultClusterMajorVersionUpgradeConfig added in v0.1.12

type VaultClusterMajorVersionUpgradeConfig struct {
	// The maintenance day of the week for scheduled upgrades. Valid options for maintenance window day - `MONDAY`, `TUESDAY`, `WEDNESDAY`, `THURSDAY`, `FRIDAY`, `SATURDAY`, `SUNDAY`
	MaintenanceWindowDay *string `pulumi:"maintenanceWindowDay"`
	// The maintenance time frame for scheduled upgrades. Valid options for maintenance window time - `WINDOW_12AM_4AM`, `WINDOW_6AM_10AM`, `WINDOW_12PM_4PM`, `WINDOW_6PM_10PM`
	MaintenanceWindowTime *string `pulumi:"maintenanceWindowTime"`
	// The major upgrade type for the cluster. Valid options for upgrade type - `AUTOMATIC`, `SCHEDULED`, `MANUAL`
	UpgradeType string `pulumi:"upgradeType"`
}

type VaultClusterMajorVersionUpgradeConfigArgs added in v0.1.12

type VaultClusterMajorVersionUpgradeConfigArgs struct {
	// The maintenance day of the week for scheduled upgrades. Valid options for maintenance window day - `MONDAY`, `TUESDAY`, `WEDNESDAY`, `THURSDAY`, `FRIDAY`, `SATURDAY`, `SUNDAY`
	MaintenanceWindowDay pulumi.StringPtrInput `pulumi:"maintenanceWindowDay"`
	// The maintenance time frame for scheduled upgrades. Valid options for maintenance window time - `WINDOW_12AM_4AM`, `WINDOW_6AM_10AM`, `WINDOW_12PM_4PM`, `WINDOW_6PM_10PM`
	MaintenanceWindowTime pulumi.StringPtrInput `pulumi:"maintenanceWindowTime"`
	// The major upgrade type for the cluster. Valid options for upgrade type - `AUTOMATIC`, `SCHEDULED`, `MANUAL`
	UpgradeType pulumi.StringInput `pulumi:"upgradeType"`
}

func (VaultClusterMajorVersionUpgradeConfigArgs) ElementType added in v0.1.12

func (VaultClusterMajorVersionUpgradeConfigArgs) ToVaultClusterMajorVersionUpgradeConfigOutput added in v0.1.12

func (i VaultClusterMajorVersionUpgradeConfigArgs) ToVaultClusterMajorVersionUpgradeConfigOutput() VaultClusterMajorVersionUpgradeConfigOutput

func (VaultClusterMajorVersionUpgradeConfigArgs) ToVaultClusterMajorVersionUpgradeConfigOutputWithContext added in v0.1.12

func (i VaultClusterMajorVersionUpgradeConfigArgs) ToVaultClusterMajorVersionUpgradeConfigOutputWithContext(ctx context.Context) VaultClusterMajorVersionUpgradeConfigOutput

func (VaultClusterMajorVersionUpgradeConfigArgs) ToVaultClusterMajorVersionUpgradeConfigPtrOutput added in v0.1.12

func (i VaultClusterMajorVersionUpgradeConfigArgs) ToVaultClusterMajorVersionUpgradeConfigPtrOutput() VaultClusterMajorVersionUpgradeConfigPtrOutput

func (VaultClusterMajorVersionUpgradeConfigArgs) ToVaultClusterMajorVersionUpgradeConfigPtrOutputWithContext added in v0.1.12

func (i VaultClusterMajorVersionUpgradeConfigArgs) ToVaultClusterMajorVersionUpgradeConfigPtrOutputWithContext(ctx context.Context) VaultClusterMajorVersionUpgradeConfigPtrOutput

type VaultClusterMajorVersionUpgradeConfigInput added in v0.1.12

type VaultClusterMajorVersionUpgradeConfigInput interface {
	pulumi.Input

	ToVaultClusterMajorVersionUpgradeConfigOutput() VaultClusterMajorVersionUpgradeConfigOutput
	ToVaultClusterMajorVersionUpgradeConfigOutputWithContext(context.Context) VaultClusterMajorVersionUpgradeConfigOutput
}

VaultClusterMajorVersionUpgradeConfigInput is an input type that accepts VaultClusterMajorVersionUpgradeConfigArgs and VaultClusterMajorVersionUpgradeConfigOutput values. You can construct a concrete instance of `VaultClusterMajorVersionUpgradeConfigInput` via:

VaultClusterMajorVersionUpgradeConfigArgs{...}

type VaultClusterMajorVersionUpgradeConfigOutput added in v0.1.12

type VaultClusterMajorVersionUpgradeConfigOutput struct{ *pulumi.OutputState }

func (VaultClusterMajorVersionUpgradeConfigOutput) ElementType added in v0.1.12

func (VaultClusterMajorVersionUpgradeConfigOutput) MaintenanceWindowDay added in v0.1.12

The maintenance day of the week for scheduled upgrades. Valid options for maintenance window day - `MONDAY`, `TUESDAY`, `WEDNESDAY`, `THURSDAY`, `FRIDAY`, `SATURDAY`, `SUNDAY`

func (VaultClusterMajorVersionUpgradeConfigOutput) MaintenanceWindowTime added in v0.1.12

The maintenance time frame for scheduled upgrades. Valid options for maintenance window time - `WINDOW_12AM_4AM`, `WINDOW_6AM_10AM`, `WINDOW_12PM_4PM`, `WINDOW_6PM_10PM`

func (VaultClusterMajorVersionUpgradeConfigOutput) ToVaultClusterMajorVersionUpgradeConfigOutput added in v0.1.12

func (o VaultClusterMajorVersionUpgradeConfigOutput) ToVaultClusterMajorVersionUpgradeConfigOutput() VaultClusterMajorVersionUpgradeConfigOutput

func (VaultClusterMajorVersionUpgradeConfigOutput) ToVaultClusterMajorVersionUpgradeConfigOutputWithContext added in v0.1.12

func (o VaultClusterMajorVersionUpgradeConfigOutput) ToVaultClusterMajorVersionUpgradeConfigOutputWithContext(ctx context.Context) VaultClusterMajorVersionUpgradeConfigOutput

func (VaultClusterMajorVersionUpgradeConfigOutput) ToVaultClusterMajorVersionUpgradeConfigPtrOutput added in v0.1.12

func (o VaultClusterMajorVersionUpgradeConfigOutput) ToVaultClusterMajorVersionUpgradeConfigPtrOutput() VaultClusterMajorVersionUpgradeConfigPtrOutput

func (VaultClusterMajorVersionUpgradeConfigOutput) ToVaultClusterMajorVersionUpgradeConfigPtrOutputWithContext added in v0.1.12

func (o VaultClusterMajorVersionUpgradeConfigOutput) ToVaultClusterMajorVersionUpgradeConfigPtrOutputWithContext(ctx context.Context) VaultClusterMajorVersionUpgradeConfigPtrOutput

func (VaultClusterMajorVersionUpgradeConfigOutput) UpgradeType added in v0.1.12

The major upgrade type for the cluster. Valid options for upgrade type - `AUTOMATIC`, `SCHEDULED`, `MANUAL`

type VaultClusterMajorVersionUpgradeConfigPtrInput added in v0.1.12

type VaultClusterMajorVersionUpgradeConfigPtrInput interface {
	pulumi.Input

	ToVaultClusterMajorVersionUpgradeConfigPtrOutput() VaultClusterMajorVersionUpgradeConfigPtrOutput
	ToVaultClusterMajorVersionUpgradeConfigPtrOutputWithContext(context.Context) VaultClusterMajorVersionUpgradeConfigPtrOutput
}

VaultClusterMajorVersionUpgradeConfigPtrInput is an input type that accepts VaultClusterMajorVersionUpgradeConfigArgs, VaultClusterMajorVersionUpgradeConfigPtr and VaultClusterMajorVersionUpgradeConfigPtrOutput values. You can construct a concrete instance of `VaultClusterMajorVersionUpgradeConfigPtrInput` via:

        VaultClusterMajorVersionUpgradeConfigArgs{...}

or:

        nil

type VaultClusterMajorVersionUpgradeConfigPtrOutput added in v0.1.12

type VaultClusterMajorVersionUpgradeConfigPtrOutput struct{ *pulumi.OutputState }

func (VaultClusterMajorVersionUpgradeConfigPtrOutput) Elem added in v0.1.12

func (VaultClusterMajorVersionUpgradeConfigPtrOutput) ElementType added in v0.1.12

func (VaultClusterMajorVersionUpgradeConfigPtrOutput) MaintenanceWindowDay added in v0.1.12

The maintenance day of the week for scheduled upgrades. Valid options for maintenance window day - `MONDAY`, `TUESDAY`, `WEDNESDAY`, `THURSDAY`, `FRIDAY`, `SATURDAY`, `SUNDAY`

func (VaultClusterMajorVersionUpgradeConfigPtrOutput) MaintenanceWindowTime added in v0.1.12

The maintenance time frame for scheduled upgrades. Valid options for maintenance window time - `WINDOW_12AM_4AM`, `WINDOW_6AM_10AM`, `WINDOW_12PM_4PM`, `WINDOW_6PM_10PM`

func (VaultClusterMajorVersionUpgradeConfigPtrOutput) ToVaultClusterMajorVersionUpgradeConfigPtrOutput added in v0.1.12

func (o VaultClusterMajorVersionUpgradeConfigPtrOutput) ToVaultClusterMajorVersionUpgradeConfigPtrOutput() VaultClusterMajorVersionUpgradeConfigPtrOutput

func (VaultClusterMajorVersionUpgradeConfigPtrOutput) ToVaultClusterMajorVersionUpgradeConfigPtrOutputWithContext added in v0.1.12

func (o VaultClusterMajorVersionUpgradeConfigPtrOutput) ToVaultClusterMajorVersionUpgradeConfigPtrOutputWithContext(ctx context.Context) VaultClusterMajorVersionUpgradeConfigPtrOutput

func (VaultClusterMajorVersionUpgradeConfigPtrOutput) UpgradeType added in v0.1.12

The major upgrade type for the cluster. Valid options for upgrade type - `AUTOMATIC`, `SCHEDULED`, `MANUAL`

type VaultClusterMap

type VaultClusterMap map[string]VaultClusterInput

func (VaultClusterMap) ElementType

func (VaultClusterMap) ElementType() reflect.Type

func (VaultClusterMap) ToVaultClusterMapOutput

func (i VaultClusterMap) ToVaultClusterMapOutput() VaultClusterMapOutput

func (VaultClusterMap) ToVaultClusterMapOutputWithContext

func (i VaultClusterMap) ToVaultClusterMapOutputWithContext(ctx context.Context) VaultClusterMapOutput

type VaultClusterMapInput

type VaultClusterMapInput interface {
	pulumi.Input

	ToVaultClusterMapOutput() VaultClusterMapOutput
	ToVaultClusterMapOutputWithContext(context.Context) VaultClusterMapOutput
}

VaultClusterMapInput is an input type that accepts VaultClusterMap and VaultClusterMapOutput values. You can construct a concrete instance of `VaultClusterMapInput` via:

VaultClusterMap{ "key": VaultClusterArgs{...} }

type VaultClusterMapOutput

type VaultClusterMapOutput struct{ *pulumi.OutputState }

func (VaultClusterMapOutput) ElementType

func (VaultClusterMapOutput) ElementType() reflect.Type

func (VaultClusterMapOutput) MapIndex

func (VaultClusterMapOutput) ToVaultClusterMapOutput

func (o VaultClusterMapOutput) ToVaultClusterMapOutput() VaultClusterMapOutput

func (VaultClusterMapOutput) ToVaultClusterMapOutputWithContext

func (o VaultClusterMapOutput) ToVaultClusterMapOutputWithContext(ctx context.Context) VaultClusterMapOutput

type VaultClusterMetricsConfig added in v0.1.6

type VaultClusterMetricsConfig struct {
	// Datadog api key for streaming metrics
	DatadogApiKey *string `pulumi:"datadogApiKey"`
	// Datadog region for streaming metrics
	DatadogRegion *string `pulumi:"datadogRegion"`
	// Grafana endpoint for streaming metrics
	GrafanaEndpoint *string `pulumi:"grafanaEndpoint"`
	// Grafana password for streaming metrics
	GrafanaPassword *string `pulumi:"grafanaPassword"`
	// Grafana user for streaming metrics
	GrafanaUser *string `pulumi:"grafanaUser"`
	// Splunk endpoint for streaming metrics
	SplunkHecendpoint *string `pulumi:"splunkHecendpoint"`
	// Splunk token for streaming metrics
	SplunkToken *string `pulumi:"splunkToken"`
}

type VaultClusterMetricsConfigArgs added in v0.1.6

type VaultClusterMetricsConfigArgs struct {
	// Datadog api key for streaming metrics
	DatadogApiKey pulumi.StringPtrInput `pulumi:"datadogApiKey"`
	// Datadog region for streaming metrics
	DatadogRegion pulumi.StringPtrInput `pulumi:"datadogRegion"`
	// Grafana endpoint for streaming metrics
	GrafanaEndpoint pulumi.StringPtrInput `pulumi:"grafanaEndpoint"`
	// Grafana password for streaming metrics
	GrafanaPassword pulumi.StringPtrInput `pulumi:"grafanaPassword"`
	// Grafana user for streaming metrics
	GrafanaUser pulumi.StringPtrInput `pulumi:"grafanaUser"`
	// Splunk endpoint for streaming metrics
	SplunkHecendpoint pulumi.StringPtrInput `pulumi:"splunkHecendpoint"`
	// Splunk token for streaming metrics
	SplunkToken pulumi.StringPtrInput `pulumi:"splunkToken"`
}

func (VaultClusterMetricsConfigArgs) ElementType added in v0.1.6

func (VaultClusterMetricsConfigArgs) ToVaultClusterMetricsConfigOutput added in v0.1.6

func (i VaultClusterMetricsConfigArgs) ToVaultClusterMetricsConfigOutput() VaultClusterMetricsConfigOutput

func (VaultClusterMetricsConfigArgs) ToVaultClusterMetricsConfigOutputWithContext added in v0.1.6

func (i VaultClusterMetricsConfigArgs) ToVaultClusterMetricsConfigOutputWithContext(ctx context.Context) VaultClusterMetricsConfigOutput

func (VaultClusterMetricsConfigArgs) ToVaultClusterMetricsConfigPtrOutput added in v0.1.6

func (i VaultClusterMetricsConfigArgs) ToVaultClusterMetricsConfigPtrOutput() VaultClusterMetricsConfigPtrOutput

func (VaultClusterMetricsConfigArgs) ToVaultClusterMetricsConfigPtrOutputWithContext added in v0.1.6

func (i VaultClusterMetricsConfigArgs) ToVaultClusterMetricsConfigPtrOutputWithContext(ctx context.Context) VaultClusterMetricsConfigPtrOutput

type VaultClusterMetricsConfigInput added in v0.1.6

type VaultClusterMetricsConfigInput interface {
	pulumi.Input

	ToVaultClusterMetricsConfigOutput() VaultClusterMetricsConfigOutput
	ToVaultClusterMetricsConfigOutputWithContext(context.Context) VaultClusterMetricsConfigOutput
}

VaultClusterMetricsConfigInput is an input type that accepts VaultClusterMetricsConfigArgs and VaultClusterMetricsConfigOutput values. You can construct a concrete instance of `VaultClusterMetricsConfigInput` via:

VaultClusterMetricsConfigArgs{...}

type VaultClusterMetricsConfigOutput added in v0.1.6

type VaultClusterMetricsConfigOutput struct{ *pulumi.OutputState }

func (VaultClusterMetricsConfigOutput) DatadogApiKey added in v0.1.6

Datadog api key for streaming metrics

func (VaultClusterMetricsConfigOutput) DatadogRegion added in v0.1.6

Datadog region for streaming metrics

func (VaultClusterMetricsConfigOutput) ElementType added in v0.1.6

func (VaultClusterMetricsConfigOutput) GrafanaEndpoint added in v0.1.6

Grafana endpoint for streaming metrics

func (VaultClusterMetricsConfigOutput) GrafanaPassword added in v0.1.6

Grafana password for streaming metrics

func (VaultClusterMetricsConfigOutput) GrafanaUser added in v0.1.6

Grafana user for streaming metrics

func (VaultClusterMetricsConfigOutput) SplunkHecendpoint added in v0.1.6

Splunk endpoint for streaming metrics

func (VaultClusterMetricsConfigOutput) SplunkToken added in v0.1.6

Splunk token for streaming metrics

func (VaultClusterMetricsConfigOutput) ToVaultClusterMetricsConfigOutput added in v0.1.6

func (o VaultClusterMetricsConfigOutput) ToVaultClusterMetricsConfigOutput() VaultClusterMetricsConfigOutput

func (VaultClusterMetricsConfigOutput) ToVaultClusterMetricsConfigOutputWithContext added in v0.1.6

func (o VaultClusterMetricsConfigOutput) ToVaultClusterMetricsConfigOutputWithContext(ctx context.Context) VaultClusterMetricsConfigOutput

func (VaultClusterMetricsConfigOutput) ToVaultClusterMetricsConfigPtrOutput added in v0.1.6

func (o VaultClusterMetricsConfigOutput) ToVaultClusterMetricsConfigPtrOutput() VaultClusterMetricsConfigPtrOutput

func (VaultClusterMetricsConfigOutput) ToVaultClusterMetricsConfigPtrOutputWithContext added in v0.1.6

func (o VaultClusterMetricsConfigOutput) ToVaultClusterMetricsConfigPtrOutputWithContext(ctx context.Context) VaultClusterMetricsConfigPtrOutput

type VaultClusterMetricsConfigPtrInput added in v0.1.6

type VaultClusterMetricsConfigPtrInput interface {
	pulumi.Input

	ToVaultClusterMetricsConfigPtrOutput() VaultClusterMetricsConfigPtrOutput
	ToVaultClusterMetricsConfigPtrOutputWithContext(context.Context) VaultClusterMetricsConfigPtrOutput
}

VaultClusterMetricsConfigPtrInput is an input type that accepts VaultClusterMetricsConfigArgs, VaultClusterMetricsConfigPtr and VaultClusterMetricsConfigPtrOutput values. You can construct a concrete instance of `VaultClusterMetricsConfigPtrInput` via:

        VaultClusterMetricsConfigArgs{...}

or:

        nil

func VaultClusterMetricsConfigPtr added in v0.1.6

type VaultClusterMetricsConfigPtrOutput added in v0.1.6

type VaultClusterMetricsConfigPtrOutput struct{ *pulumi.OutputState }

func (VaultClusterMetricsConfigPtrOutput) DatadogApiKey added in v0.1.6

Datadog api key for streaming metrics

func (VaultClusterMetricsConfigPtrOutput) DatadogRegion added in v0.1.6

Datadog region for streaming metrics

func (VaultClusterMetricsConfigPtrOutput) Elem added in v0.1.6

func (VaultClusterMetricsConfigPtrOutput) ElementType added in v0.1.6

func (VaultClusterMetricsConfigPtrOutput) GrafanaEndpoint added in v0.1.6

Grafana endpoint for streaming metrics

func (VaultClusterMetricsConfigPtrOutput) GrafanaPassword added in v0.1.6

Grafana password for streaming metrics

func (VaultClusterMetricsConfigPtrOutput) GrafanaUser added in v0.1.6

Grafana user for streaming metrics

func (VaultClusterMetricsConfigPtrOutput) SplunkHecendpoint added in v0.1.6

Splunk endpoint for streaming metrics

func (VaultClusterMetricsConfigPtrOutput) SplunkToken added in v0.1.6

Splunk token for streaming metrics

func (VaultClusterMetricsConfigPtrOutput) ToVaultClusterMetricsConfigPtrOutput added in v0.1.6

func (o VaultClusterMetricsConfigPtrOutput) ToVaultClusterMetricsConfigPtrOutput() VaultClusterMetricsConfigPtrOutput

func (VaultClusterMetricsConfigPtrOutput) ToVaultClusterMetricsConfigPtrOutputWithContext added in v0.1.6

func (o VaultClusterMetricsConfigPtrOutput) ToVaultClusterMetricsConfigPtrOutputWithContext(ctx context.Context) VaultClusterMetricsConfigPtrOutput

type VaultClusterOutput

type VaultClusterOutput struct{ *pulumi.OutputState }

func (VaultClusterOutput) AuditLogConfig added in v0.1.6

The audit logs configuration for export. (https://learn.hashicorp.com/tutorials/cloud/vault-metrics-guide#metrics-streaming-configuration)

func (VaultClusterOutput) CloudProvider added in v0.1.4

func (o VaultClusterOutput) CloudProvider() pulumi.StringOutput

The provider where the HCP Vault cluster is located.

func (VaultClusterOutput) ClusterId added in v0.1.4

func (o VaultClusterOutput) ClusterId() pulumi.StringOutput

The ID of the HCP Vault cluster.

func (VaultClusterOutput) CreatedAt added in v0.1.4

func (o VaultClusterOutput) CreatedAt() pulumi.StringOutput

The time that the Vault cluster was created.

func (VaultClusterOutput) ElementType

func (VaultClusterOutput) ElementType() reflect.Type

func (VaultClusterOutput) HvnId added in v0.1.4

The ID of the HVN this HCP Vault cluster is associated to.

func (VaultClusterOutput) MajorVersionUpgradeConfig added in v0.1.12

The Major Version Upgrade configuration.

func (VaultClusterOutput) MetricsConfig added in v0.1.6

The metrics configuration for export. (https://learn.hashicorp.com/tutorials/cloud/vault-metrics-guide#metrics-streaming-configuration)

func (VaultClusterOutput) MinVaultVersion added in v0.1.4

func (o VaultClusterOutput) MinVaultVersion() pulumi.StringPtrOutput

The minimum Vault version to use when creating the cluster. If not specified, it is defaulted to the version that is currently recommended by HCP.

func (VaultClusterOutput) Namespace added in v0.1.4

func (o VaultClusterOutput) Namespace() pulumi.StringOutput

The name of the customer namespace this HCP Vault cluster is located in.

func (VaultClusterOutput) OrganizationId added in v0.1.4

func (o VaultClusterOutput) OrganizationId() pulumi.StringOutput

The ID of the organization this HCP Vault cluster is located in.

func (VaultClusterOutput) PathsFilters added in v0.1.4

func (o VaultClusterOutput) PathsFilters() pulumi.StringArrayOutput

The performance replication [paths filter](https://learn.hashicorp.com/tutorials/vault/paths-filter). Applies to performance replication secondaries only and operates in "deny" mode only.

func (o VaultClusterOutput) PrimaryLink() pulumi.StringPtrOutput

The `selfLink` of the HCP Vault Plus tier cluster which is the primary in the performance replication setup with this HCP Vault Plus tier cluster. If not specified, it is a standalone Plus tier HCP Vault cluster.

func (VaultClusterOutput) ProjectId added in v0.1.4

func (o VaultClusterOutput) ProjectId() pulumi.StringOutput

The ID of the project this HCP Vault cluster is located in.

func (VaultClusterOutput) PublicEndpoint added in v0.1.4

func (o VaultClusterOutput) PublicEndpoint() pulumi.BoolPtrOutput

Denotes that the cluster has a public endpoint. Defaults to false.

func (VaultClusterOutput) Region added in v0.1.4

The region where the HCP Vault cluster is located.

func (o VaultClusterOutput) SelfLink() pulumi.StringOutput

A unique URL identifying the Vault cluster.

func (VaultClusterOutput) State added in v0.1.10

The state of the Vault cluster.

func (VaultClusterOutput) Tier added in v0.1.4

Tier of the HCP Vault cluster. Valid options for tiers - `dev`, `starterSmall`, `standardSmall`, `standardMedium`, `standardLarge`, `plusSmall`, `plusMedium`, `plusLarge`. See [pricing information](https://cloud.hashicorp.com/pricing/vault).

func (VaultClusterOutput) ToVaultClusterOutput

func (o VaultClusterOutput) ToVaultClusterOutput() VaultClusterOutput

func (VaultClusterOutput) ToVaultClusterOutputWithContext

func (o VaultClusterOutput) ToVaultClusterOutputWithContext(ctx context.Context) VaultClusterOutput

func (VaultClusterOutput) VaultPrivateEndpointUrl added in v0.1.4

func (o VaultClusterOutput) VaultPrivateEndpointUrl() pulumi.StringOutput

The private URL for the Vault cluster.

func (VaultClusterOutput) VaultPublicEndpointUrl added in v0.1.4

func (o VaultClusterOutput) VaultPublicEndpointUrl() pulumi.StringOutput

The public URL for the Vault cluster. This will be empty if `publicEndpoint` is `false`.

func (VaultClusterOutput) VaultVersion added in v0.1.4

func (o VaultClusterOutput) VaultVersion() pulumi.StringOutput

The Vault version of the cluster.

type VaultClusterState

type VaultClusterState struct {
	// The audit logs configuration for export. (https://learn.hashicorp.com/tutorials/cloud/vault-metrics-guide#metrics-streaming-configuration)
	AuditLogConfig VaultClusterAuditLogConfigPtrInput
	// The provider where the HCP Vault cluster is located.
	CloudProvider pulumi.StringPtrInput
	// The ID of the HCP Vault cluster.
	ClusterId pulumi.StringPtrInput
	// The time that the Vault cluster was created.
	CreatedAt pulumi.StringPtrInput
	// The ID of the HVN this HCP Vault cluster is associated to.
	HvnId pulumi.StringPtrInput
	// The Major Version Upgrade configuration.
	MajorVersionUpgradeConfig VaultClusterMajorVersionUpgradeConfigPtrInput
	// The metrics configuration for export. (https://learn.hashicorp.com/tutorials/cloud/vault-metrics-guide#metrics-streaming-configuration)
	MetricsConfig VaultClusterMetricsConfigPtrInput
	// The minimum Vault version to use when creating the cluster. If not specified, it is defaulted to the version that is currently recommended by HCP.
	MinVaultVersion pulumi.StringPtrInput
	// The name of the customer namespace this HCP Vault cluster is located in.
	Namespace pulumi.StringPtrInput
	// The ID of the organization this HCP Vault cluster is located in.
	OrganizationId pulumi.StringPtrInput
	// The performance replication [paths filter](https://learn.hashicorp.com/tutorials/vault/paths-filter). Applies to performance replication secondaries only and operates in "deny" mode only.
	PathsFilters pulumi.StringArrayInput
	// The `selfLink` of the HCP Vault Plus tier cluster which is the primary in the performance replication setup with this HCP Vault Plus tier cluster. If not specified, it is a standalone Plus tier HCP Vault cluster.
	PrimaryLink pulumi.StringPtrInput
	// The ID of the project this HCP Vault cluster is located in.
	ProjectId pulumi.StringPtrInput
	// Denotes that the cluster has a public endpoint. Defaults to false.
	PublicEndpoint pulumi.BoolPtrInput
	// The region where the HCP Vault cluster is located.
	Region pulumi.StringPtrInput
	// A unique URL identifying the Vault cluster.
	SelfLink pulumi.StringPtrInput
	// The state of the Vault cluster.
	State pulumi.StringPtrInput
	// Tier of the HCP Vault cluster. Valid options for tiers - `dev`, `starterSmall`, `standardSmall`, `standardMedium`, `standardLarge`, `plusSmall`, `plusMedium`, `plusLarge`. See [pricing information](https://cloud.hashicorp.com/pricing/vault).
	Tier pulumi.StringPtrInput
	// The private URL for the Vault cluster.
	VaultPrivateEndpointUrl pulumi.StringPtrInput
	// The public URL for the Vault cluster. This will be empty if `publicEndpoint` is `false`.
	VaultPublicEndpointUrl pulumi.StringPtrInput
	// The Vault version of the cluster.
	VaultVersion pulumi.StringPtrInput
}

func (VaultClusterState) ElementType

func (VaultClusterState) ElementType() reflect.Type

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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