Documentation ¶
Index ¶
- func PkgVersion() (semver.Version, error)
- type AwsNetworkPeering
- type AwsNetworkPeeringArgs
- type AwsNetworkPeeringArray
- type AwsNetworkPeeringArrayInput
- type AwsNetworkPeeringArrayOutput
- func (AwsNetworkPeeringArrayOutput) ElementType() reflect.Type
- func (o AwsNetworkPeeringArrayOutput) Index(i pulumi.IntInput) AwsNetworkPeeringOutput
- func (o AwsNetworkPeeringArrayOutput) ToAwsNetworkPeeringArrayOutput() AwsNetworkPeeringArrayOutput
- func (o AwsNetworkPeeringArrayOutput) ToAwsNetworkPeeringArrayOutputWithContext(ctx context.Context) AwsNetworkPeeringArrayOutput
- type AwsNetworkPeeringInput
- type AwsNetworkPeeringMap
- type AwsNetworkPeeringMapInput
- type AwsNetworkPeeringMapOutput
- func (AwsNetworkPeeringMapOutput) ElementType() reflect.Type
- func (o AwsNetworkPeeringMapOutput) MapIndex(k pulumi.StringInput) AwsNetworkPeeringOutput
- func (o AwsNetworkPeeringMapOutput) ToAwsNetworkPeeringMapOutput() AwsNetworkPeeringMapOutput
- func (o AwsNetworkPeeringMapOutput) ToAwsNetworkPeeringMapOutputWithContext(ctx context.Context) AwsNetworkPeeringMapOutput
- type AwsNetworkPeeringOutput
- func (o AwsNetworkPeeringOutput) CreatedAt() pulumi.StringOutput
- func (AwsNetworkPeeringOutput) ElementType() reflect.Type
- func (o AwsNetworkPeeringOutput) ExpiresAt() pulumi.StringOutput
- func (o AwsNetworkPeeringOutput) HvnId() pulumi.StringOutput
- func (o AwsNetworkPeeringOutput) OrganizationId() pulumi.StringOutput
- func (o AwsNetworkPeeringOutput) PeerAccountId() pulumi.StringOutput
- func (o AwsNetworkPeeringOutput) PeerVpcId() pulumi.StringOutput
- func (o AwsNetworkPeeringOutput) PeerVpcRegion() pulumi.StringOutput
- func (o AwsNetworkPeeringOutput) PeeringId() pulumi.StringOutput
- func (o AwsNetworkPeeringOutput) ProjectId() pulumi.StringOutput
- func (o AwsNetworkPeeringOutput) ProviderPeeringId() pulumi.StringOutput
- func (o AwsNetworkPeeringOutput) SelfLink() pulumi.StringOutput
- func (o AwsNetworkPeeringOutput) State() pulumi.StringOutput
- func (o AwsNetworkPeeringOutput) ToAwsNetworkPeeringOutput() AwsNetworkPeeringOutput
- func (o AwsNetworkPeeringOutput) ToAwsNetworkPeeringOutputWithContext(ctx context.Context) AwsNetworkPeeringOutput
- type AwsNetworkPeeringState
- type AwsTransitGatewayAttachment
- func (*AwsTransitGatewayAttachment) ElementType() reflect.Type
- func (i *AwsTransitGatewayAttachment) ToAwsTransitGatewayAttachmentOutput() AwsTransitGatewayAttachmentOutput
- func (i *AwsTransitGatewayAttachment) ToAwsTransitGatewayAttachmentOutputWithContext(ctx context.Context) AwsTransitGatewayAttachmentOutput
- type AwsTransitGatewayAttachmentArgs
- type AwsTransitGatewayAttachmentArray
- func (AwsTransitGatewayAttachmentArray) ElementType() reflect.Type
- func (i AwsTransitGatewayAttachmentArray) ToAwsTransitGatewayAttachmentArrayOutput() AwsTransitGatewayAttachmentArrayOutput
- func (i AwsTransitGatewayAttachmentArray) ToAwsTransitGatewayAttachmentArrayOutputWithContext(ctx context.Context) AwsTransitGatewayAttachmentArrayOutput
- type AwsTransitGatewayAttachmentArrayInput
- type AwsTransitGatewayAttachmentArrayOutput
- func (AwsTransitGatewayAttachmentArrayOutput) ElementType() reflect.Type
- func (o AwsTransitGatewayAttachmentArrayOutput) Index(i pulumi.IntInput) AwsTransitGatewayAttachmentOutput
- func (o AwsTransitGatewayAttachmentArrayOutput) ToAwsTransitGatewayAttachmentArrayOutput() AwsTransitGatewayAttachmentArrayOutput
- func (o AwsTransitGatewayAttachmentArrayOutput) ToAwsTransitGatewayAttachmentArrayOutputWithContext(ctx context.Context) AwsTransitGatewayAttachmentArrayOutput
- type AwsTransitGatewayAttachmentInput
- type AwsTransitGatewayAttachmentMap
- func (AwsTransitGatewayAttachmentMap) ElementType() reflect.Type
- func (i AwsTransitGatewayAttachmentMap) ToAwsTransitGatewayAttachmentMapOutput() AwsTransitGatewayAttachmentMapOutput
- func (i AwsTransitGatewayAttachmentMap) ToAwsTransitGatewayAttachmentMapOutputWithContext(ctx context.Context) AwsTransitGatewayAttachmentMapOutput
- type AwsTransitGatewayAttachmentMapInput
- type AwsTransitGatewayAttachmentMapOutput
- func (AwsTransitGatewayAttachmentMapOutput) ElementType() reflect.Type
- func (o AwsTransitGatewayAttachmentMapOutput) MapIndex(k pulumi.StringInput) AwsTransitGatewayAttachmentOutput
- func (o AwsTransitGatewayAttachmentMapOutput) ToAwsTransitGatewayAttachmentMapOutput() AwsTransitGatewayAttachmentMapOutput
- func (o AwsTransitGatewayAttachmentMapOutput) ToAwsTransitGatewayAttachmentMapOutputWithContext(ctx context.Context) AwsTransitGatewayAttachmentMapOutput
- type AwsTransitGatewayAttachmentOutput
- func (o AwsTransitGatewayAttachmentOutput) CreatedAt() pulumi.StringOutput
- func (AwsTransitGatewayAttachmentOutput) ElementType() reflect.Type
- func (o AwsTransitGatewayAttachmentOutput) ExpiresAt() pulumi.StringOutput
- func (o AwsTransitGatewayAttachmentOutput) HvnId() pulumi.StringOutput
- func (o AwsTransitGatewayAttachmentOutput) OrganizationId() pulumi.StringOutput
- func (o AwsTransitGatewayAttachmentOutput) ProjectId() pulumi.StringOutput
- func (o AwsTransitGatewayAttachmentOutput) ProviderTransitGatewayAttachmentId() pulumi.StringOutput
- func (o AwsTransitGatewayAttachmentOutput) ResourceShareArn() pulumi.StringOutput
- func (o AwsTransitGatewayAttachmentOutput) SelfLink() pulumi.StringOutput
- func (o AwsTransitGatewayAttachmentOutput) State() pulumi.StringOutput
- func (o AwsTransitGatewayAttachmentOutput) ToAwsTransitGatewayAttachmentOutput() AwsTransitGatewayAttachmentOutput
- func (o AwsTransitGatewayAttachmentOutput) ToAwsTransitGatewayAttachmentOutputWithContext(ctx context.Context) AwsTransitGatewayAttachmentOutput
- func (o AwsTransitGatewayAttachmentOutput) TransitGatewayAttachmentId() pulumi.StringOutput
- func (o AwsTransitGatewayAttachmentOutput) TransitGatewayId() pulumi.StringOutput
- type AwsTransitGatewayAttachmentState
- type AzurePeeringConnection
- type AzurePeeringConnectionArgs
- type AzurePeeringConnectionArray
- func (AzurePeeringConnectionArray) ElementType() reflect.Type
- func (i AzurePeeringConnectionArray) ToAzurePeeringConnectionArrayOutput() AzurePeeringConnectionArrayOutput
- func (i AzurePeeringConnectionArray) ToAzurePeeringConnectionArrayOutputWithContext(ctx context.Context) AzurePeeringConnectionArrayOutput
- type AzurePeeringConnectionArrayInput
- type AzurePeeringConnectionArrayOutput
- func (AzurePeeringConnectionArrayOutput) ElementType() reflect.Type
- func (o AzurePeeringConnectionArrayOutput) Index(i pulumi.IntInput) AzurePeeringConnectionOutput
- func (o AzurePeeringConnectionArrayOutput) ToAzurePeeringConnectionArrayOutput() AzurePeeringConnectionArrayOutput
- func (o AzurePeeringConnectionArrayOutput) ToAzurePeeringConnectionArrayOutputWithContext(ctx context.Context) AzurePeeringConnectionArrayOutput
- type AzurePeeringConnectionInput
- type AzurePeeringConnectionMap
- type AzurePeeringConnectionMapInput
- type AzurePeeringConnectionMapOutput
- func (AzurePeeringConnectionMapOutput) ElementType() reflect.Type
- func (o AzurePeeringConnectionMapOutput) MapIndex(k pulumi.StringInput) AzurePeeringConnectionOutput
- func (o AzurePeeringConnectionMapOutput) ToAzurePeeringConnectionMapOutput() AzurePeeringConnectionMapOutput
- func (o AzurePeeringConnectionMapOutput) ToAzurePeeringConnectionMapOutputWithContext(ctx context.Context) AzurePeeringConnectionMapOutput
- type AzurePeeringConnectionOutput
- func (o AzurePeeringConnectionOutput) ApplicationId() pulumi.StringOutput
- func (o AzurePeeringConnectionOutput) AzurePeeringId() pulumi.StringOutput
- func (o AzurePeeringConnectionOutput) CreatedAt() pulumi.StringOutput
- func (AzurePeeringConnectionOutput) ElementType() reflect.Type
- func (o AzurePeeringConnectionOutput) ExpiresAt() pulumi.StringOutput
- func (o AzurePeeringConnectionOutput) HvnLink() pulumi.StringOutput
- func (o AzurePeeringConnectionOutput) OrganizationId() pulumi.StringOutput
- func (o AzurePeeringConnectionOutput) PeerResourceGroupName() pulumi.StringOutput
- func (o AzurePeeringConnectionOutput) PeerSubscriptionId() pulumi.StringOutput
- func (o AzurePeeringConnectionOutput) PeerTenantId() pulumi.StringOutput
- func (o AzurePeeringConnectionOutput) PeerVnetName() pulumi.StringOutput
- func (o AzurePeeringConnectionOutput) PeerVnetRegion() pulumi.StringOutput
- func (o AzurePeeringConnectionOutput) PeeringId() pulumi.StringOutput
- func (o AzurePeeringConnectionOutput) ProjectId() pulumi.StringOutput
- func (o AzurePeeringConnectionOutput) SelfLink() pulumi.StringOutput
- func (o AzurePeeringConnectionOutput) State() pulumi.StringOutput
- func (o AzurePeeringConnectionOutput) ToAzurePeeringConnectionOutput() AzurePeeringConnectionOutput
- func (o AzurePeeringConnectionOutput) ToAzurePeeringConnectionOutputWithContext(ctx context.Context) AzurePeeringConnectionOutput
- type AzurePeeringConnectionState
- type BoundaryCluster
- type BoundaryClusterArgs
- type BoundaryClusterArray
- type BoundaryClusterArrayInput
- type BoundaryClusterArrayOutput
- func (BoundaryClusterArrayOutput) ElementType() reflect.Type
- func (o BoundaryClusterArrayOutput) Index(i pulumi.IntInput) BoundaryClusterOutput
- func (o BoundaryClusterArrayOutput) ToBoundaryClusterArrayOutput() BoundaryClusterArrayOutput
- func (o BoundaryClusterArrayOutput) ToBoundaryClusterArrayOutputWithContext(ctx context.Context) BoundaryClusterArrayOutput
- type BoundaryClusterInput
- type BoundaryClusterMap
- type BoundaryClusterMapInput
- type BoundaryClusterMapOutput
- func (BoundaryClusterMapOutput) ElementType() reflect.Type
- func (o BoundaryClusterMapOutput) MapIndex(k pulumi.StringInput) BoundaryClusterOutput
- func (o BoundaryClusterMapOutput) ToBoundaryClusterMapOutput() BoundaryClusterMapOutput
- func (o BoundaryClusterMapOutput) ToBoundaryClusterMapOutputWithContext(ctx context.Context) BoundaryClusterMapOutput
- type BoundaryClusterOutput
- func (o BoundaryClusterOutput) ClusterId() pulumi.StringOutput
- func (o BoundaryClusterOutput) ClusterUrl() pulumi.StringOutput
- func (o BoundaryClusterOutput) CreatedAt() pulumi.StringOutput
- func (BoundaryClusterOutput) ElementType() reflect.Type
- func (o BoundaryClusterOutput) Password() pulumi.StringOutput
- func (o BoundaryClusterOutput) State() pulumi.StringOutput
- func (o BoundaryClusterOutput) ToBoundaryClusterOutput() BoundaryClusterOutput
- func (o BoundaryClusterOutput) ToBoundaryClusterOutputWithContext(ctx context.Context) BoundaryClusterOutput
- func (o BoundaryClusterOutput) Username() pulumi.StringOutput
- type BoundaryClusterState
- type ConsulCluster
- type ConsulClusterArgs
- type ConsulClusterArray
- type ConsulClusterArrayInput
- type ConsulClusterArrayOutput
- func (ConsulClusterArrayOutput) ElementType() reflect.Type
- func (o ConsulClusterArrayOutput) Index(i pulumi.IntInput) ConsulClusterOutput
- func (o ConsulClusterArrayOutput) ToConsulClusterArrayOutput() ConsulClusterArrayOutput
- func (o ConsulClusterArrayOutput) ToConsulClusterArrayOutputWithContext(ctx context.Context) ConsulClusterArrayOutput
- type ConsulClusterInput
- type ConsulClusterMap
- type ConsulClusterMapInput
- type ConsulClusterMapOutput
- func (ConsulClusterMapOutput) ElementType() reflect.Type
- func (o ConsulClusterMapOutput) MapIndex(k pulumi.StringInput) ConsulClusterOutput
- func (o ConsulClusterMapOutput) ToConsulClusterMapOutput() ConsulClusterMapOutput
- func (o ConsulClusterMapOutput) ToConsulClusterMapOutputWithContext(ctx context.Context) ConsulClusterMapOutput
- type ConsulClusterOutput
- func (o ConsulClusterOutput) AutoHvnToHvnPeering() pulumi.BoolOutput
- func (o ConsulClusterOutput) CloudProvider() pulumi.StringOutput
- func (o ConsulClusterOutput) ClusterId() pulumi.StringOutput
- func (o ConsulClusterOutput) ConnectEnabled() pulumi.BoolPtrOutput
- func (o ConsulClusterOutput) ConsulAutomaticUpgrades() pulumi.BoolOutput
- func (o ConsulClusterOutput) ConsulCaFile() pulumi.StringOutput
- func (o ConsulClusterOutput) ConsulConfigFile() pulumi.StringOutput
- func (o ConsulClusterOutput) ConsulPrivateEndpointUrl() pulumi.StringOutput
- func (o ConsulClusterOutput) ConsulPublicEndpointUrl() pulumi.StringOutput
- func (o ConsulClusterOutput) ConsulRootTokenAccessorId() pulumi.StringOutput
- func (o ConsulClusterOutput) ConsulRootTokenSecretId() pulumi.StringOutput
- func (o ConsulClusterOutput) ConsulSnapshotInterval() pulumi.StringOutput
- func (o ConsulClusterOutput) ConsulSnapshotRetention() pulumi.StringOutput
- func (o ConsulClusterOutput) ConsulVersion() pulumi.StringOutput
- func (o ConsulClusterOutput) Datacenter() pulumi.StringOutput
- func (ConsulClusterOutput) ElementType() reflect.Type
- func (o ConsulClusterOutput) HvnId() pulumi.StringOutput
- func (o ConsulClusterOutput) MinConsulVersion() pulumi.StringPtrOutput
- func (o ConsulClusterOutput) OrganizationId() pulumi.StringOutput
- func (o ConsulClusterOutput) PrimaryLink() pulumi.StringPtrOutput
- func (o ConsulClusterOutput) ProjectId() pulumi.StringOutput
- func (o ConsulClusterOutput) PublicEndpoint() pulumi.BoolPtrOutput
- func (o ConsulClusterOutput) Region() pulumi.StringOutput
- func (o ConsulClusterOutput) Scale() pulumi.IntOutput
- func (o ConsulClusterOutput) SelfLink() pulumi.StringOutput
- func (o ConsulClusterOutput) Size() pulumi.StringOutput
- func (o ConsulClusterOutput) State() pulumi.StringOutput
- func (o ConsulClusterOutput) Tier() pulumi.StringOutput
- func (o ConsulClusterOutput) ToConsulClusterOutput() ConsulClusterOutput
- func (o ConsulClusterOutput) ToConsulClusterOutputWithContext(ctx context.Context) ConsulClusterOutput
- type ConsulClusterRootToken
- type ConsulClusterRootTokenArgs
- type ConsulClusterRootTokenArray
- func (ConsulClusterRootTokenArray) ElementType() reflect.Type
- func (i ConsulClusterRootTokenArray) ToConsulClusterRootTokenArrayOutput() ConsulClusterRootTokenArrayOutput
- func (i ConsulClusterRootTokenArray) ToConsulClusterRootTokenArrayOutputWithContext(ctx context.Context) ConsulClusterRootTokenArrayOutput
- type ConsulClusterRootTokenArrayInput
- type ConsulClusterRootTokenArrayOutput
- func (ConsulClusterRootTokenArrayOutput) ElementType() reflect.Type
- func (o ConsulClusterRootTokenArrayOutput) Index(i pulumi.IntInput) ConsulClusterRootTokenOutput
- func (o ConsulClusterRootTokenArrayOutput) ToConsulClusterRootTokenArrayOutput() ConsulClusterRootTokenArrayOutput
- func (o ConsulClusterRootTokenArrayOutput) ToConsulClusterRootTokenArrayOutputWithContext(ctx context.Context) ConsulClusterRootTokenArrayOutput
- type ConsulClusterRootTokenInput
- type ConsulClusterRootTokenMap
- type ConsulClusterRootTokenMapInput
- type ConsulClusterRootTokenMapOutput
- func (ConsulClusterRootTokenMapOutput) ElementType() reflect.Type
- func (o ConsulClusterRootTokenMapOutput) MapIndex(k pulumi.StringInput) ConsulClusterRootTokenOutput
- func (o ConsulClusterRootTokenMapOutput) ToConsulClusterRootTokenMapOutput() ConsulClusterRootTokenMapOutput
- func (o ConsulClusterRootTokenMapOutput) ToConsulClusterRootTokenMapOutputWithContext(ctx context.Context) ConsulClusterRootTokenMapOutput
- type ConsulClusterRootTokenOutput
- func (o ConsulClusterRootTokenOutput) AccessorId() pulumi.StringOutput
- func (o ConsulClusterRootTokenOutput) ClusterId() pulumi.StringOutput
- func (ConsulClusterRootTokenOutput) ElementType() reflect.Type
- func (o ConsulClusterRootTokenOutput) KubernetesSecret() pulumi.StringOutput
- func (o ConsulClusterRootTokenOutput) SecretId() pulumi.StringOutput
- func (o ConsulClusterRootTokenOutput) ToConsulClusterRootTokenOutput() ConsulClusterRootTokenOutput
- func (o ConsulClusterRootTokenOutput) ToConsulClusterRootTokenOutputWithContext(ctx context.Context) ConsulClusterRootTokenOutput
- type ConsulClusterRootTokenState
- type ConsulClusterState
- type ConsulSnapshot
- type ConsulSnapshotArgs
- type ConsulSnapshotArray
- type ConsulSnapshotArrayInput
- type ConsulSnapshotArrayOutput
- func (ConsulSnapshotArrayOutput) ElementType() reflect.Type
- func (o ConsulSnapshotArrayOutput) Index(i pulumi.IntInput) ConsulSnapshotOutput
- func (o ConsulSnapshotArrayOutput) ToConsulSnapshotArrayOutput() ConsulSnapshotArrayOutput
- func (o ConsulSnapshotArrayOutput) ToConsulSnapshotArrayOutputWithContext(ctx context.Context) ConsulSnapshotArrayOutput
- type ConsulSnapshotInput
- type ConsulSnapshotMap
- type ConsulSnapshotMapInput
- type ConsulSnapshotMapOutput
- func (ConsulSnapshotMapOutput) ElementType() reflect.Type
- func (o ConsulSnapshotMapOutput) MapIndex(k pulumi.StringInput) ConsulSnapshotOutput
- func (o ConsulSnapshotMapOutput) ToConsulSnapshotMapOutput() ConsulSnapshotMapOutput
- func (o ConsulSnapshotMapOutput) ToConsulSnapshotMapOutputWithContext(ctx context.Context) ConsulSnapshotMapOutput
- type ConsulSnapshotOutput
- func (o ConsulSnapshotOutput) ClusterId() pulumi.StringOutput
- func (o ConsulSnapshotOutput) ConsulVersion() pulumi.StringOutput
- func (ConsulSnapshotOutput) ElementType() reflect.Type
- func (o ConsulSnapshotOutput) OrganizationId() pulumi.StringOutput
- func (o ConsulSnapshotOutput) ProjectId() pulumi.StringOutput
- func (o ConsulSnapshotOutput) RestoredAt() pulumi.StringOutput
- func (o ConsulSnapshotOutput) Size() pulumi.IntOutput
- func (o ConsulSnapshotOutput) SnapshotId() pulumi.StringOutput
- func (o ConsulSnapshotOutput) SnapshotName() pulumi.StringOutput
- func (o ConsulSnapshotOutput) State() pulumi.StringOutput
- func (o ConsulSnapshotOutput) ToConsulSnapshotOutput() ConsulSnapshotOutput
- func (o ConsulSnapshotOutput) ToConsulSnapshotOutputWithContext(ctx context.Context) ConsulSnapshotOutput
- type ConsulSnapshotState
- type GetConsulAgentHelmConfigArgs
- type GetConsulAgentHelmConfigOutputArgs
- type GetConsulAgentHelmConfigResult
- type GetConsulAgentHelmConfigResultOutput
- func (o GetConsulAgentHelmConfigResultOutput) ClusterId() pulumi.StringOutput
- func (o GetConsulAgentHelmConfigResultOutput) Config() pulumi.StringOutput
- func (GetConsulAgentHelmConfigResultOutput) ElementType() reflect.Type
- func (o GetConsulAgentHelmConfigResultOutput) ExposeGossipPorts() pulumi.BoolPtrOutput
- func (o GetConsulAgentHelmConfigResultOutput) Id() pulumi.StringOutput
- func (o GetConsulAgentHelmConfigResultOutput) KubernetesEndpoint() pulumi.StringOutput
- func (o GetConsulAgentHelmConfigResultOutput) ToGetConsulAgentHelmConfigResultOutput() GetConsulAgentHelmConfigResultOutput
- func (o GetConsulAgentHelmConfigResultOutput) ToGetConsulAgentHelmConfigResultOutputWithContext(ctx context.Context) GetConsulAgentHelmConfigResultOutput
- type GetConsulAgentKubernetesSecretArgs
- type GetConsulAgentKubernetesSecretOutputArgs
- type GetConsulAgentKubernetesSecretResult
- type GetConsulAgentKubernetesSecretResultOutput
- func (o GetConsulAgentKubernetesSecretResultOutput) ClusterId() pulumi.StringOutput
- func (GetConsulAgentKubernetesSecretResultOutput) ElementType() reflect.Type
- func (o GetConsulAgentKubernetesSecretResultOutput) Id() pulumi.StringOutput
- func (o GetConsulAgentKubernetesSecretResultOutput) Secret() pulumi.StringOutput
- func (o GetConsulAgentKubernetesSecretResultOutput) ToGetConsulAgentKubernetesSecretResultOutput() GetConsulAgentKubernetesSecretResultOutput
- func (o GetConsulAgentKubernetesSecretResultOutput) ToGetConsulAgentKubernetesSecretResultOutputWithContext(ctx context.Context) GetConsulAgentKubernetesSecretResultOutput
- type GetConsulVersionsResult
- type GetPackerImageArgs
- type GetPackerImageIterationArgs
- type GetPackerImageIterationBuild
- type GetPackerImageIterationBuildArgs
- func (GetPackerImageIterationBuildArgs) ElementType() reflect.Type
- func (i GetPackerImageIterationBuildArgs) ToGetPackerImageIterationBuildOutput() GetPackerImageIterationBuildOutput
- func (i GetPackerImageIterationBuildArgs) ToGetPackerImageIterationBuildOutputWithContext(ctx context.Context) GetPackerImageIterationBuildOutput
- type GetPackerImageIterationBuildArray
- func (GetPackerImageIterationBuildArray) ElementType() reflect.Type
- func (i GetPackerImageIterationBuildArray) ToGetPackerImageIterationBuildArrayOutput() GetPackerImageIterationBuildArrayOutput
- func (i GetPackerImageIterationBuildArray) ToGetPackerImageIterationBuildArrayOutputWithContext(ctx context.Context) GetPackerImageIterationBuildArrayOutput
- type GetPackerImageIterationBuildArrayInput
- type GetPackerImageIterationBuildArrayOutput
- func (GetPackerImageIterationBuildArrayOutput) ElementType() reflect.Type
- func (o GetPackerImageIterationBuildArrayOutput) Index(i pulumi.IntInput) GetPackerImageIterationBuildOutput
- func (o GetPackerImageIterationBuildArrayOutput) ToGetPackerImageIterationBuildArrayOutput() GetPackerImageIterationBuildArrayOutput
- func (o GetPackerImageIterationBuildArrayOutput) ToGetPackerImageIterationBuildArrayOutputWithContext(ctx context.Context) GetPackerImageIterationBuildArrayOutput
- type GetPackerImageIterationBuildImage
- type GetPackerImageIterationBuildImageArgs
- func (GetPackerImageIterationBuildImageArgs) ElementType() reflect.Type
- func (i GetPackerImageIterationBuildImageArgs) ToGetPackerImageIterationBuildImageOutput() GetPackerImageIterationBuildImageOutput
- func (i GetPackerImageIterationBuildImageArgs) ToGetPackerImageIterationBuildImageOutputWithContext(ctx context.Context) GetPackerImageIterationBuildImageOutput
- type GetPackerImageIterationBuildImageArray
- func (GetPackerImageIterationBuildImageArray) ElementType() reflect.Type
- func (i GetPackerImageIterationBuildImageArray) ToGetPackerImageIterationBuildImageArrayOutput() GetPackerImageIterationBuildImageArrayOutput
- func (i GetPackerImageIterationBuildImageArray) ToGetPackerImageIterationBuildImageArrayOutputWithContext(ctx context.Context) GetPackerImageIterationBuildImageArrayOutput
- type GetPackerImageIterationBuildImageArrayInput
- type GetPackerImageIterationBuildImageArrayOutput
- func (GetPackerImageIterationBuildImageArrayOutput) ElementType() reflect.Type
- func (o GetPackerImageIterationBuildImageArrayOutput) Index(i pulumi.IntInput) GetPackerImageIterationBuildImageOutput
- func (o GetPackerImageIterationBuildImageArrayOutput) ToGetPackerImageIterationBuildImageArrayOutput() GetPackerImageIterationBuildImageArrayOutput
- func (o GetPackerImageIterationBuildImageArrayOutput) ToGetPackerImageIterationBuildImageArrayOutputWithContext(ctx context.Context) GetPackerImageIterationBuildImageArrayOutput
- type GetPackerImageIterationBuildImageInput
- type GetPackerImageIterationBuildImageOutput
- func (o GetPackerImageIterationBuildImageOutput) CreatedAt() pulumi.StringOutput
- func (GetPackerImageIterationBuildImageOutput) ElementType() reflect.Type
- func (o GetPackerImageIterationBuildImageOutput) Id() pulumi.StringOutput
- func (o GetPackerImageIterationBuildImageOutput) ImageId() pulumi.StringOutput
- func (o GetPackerImageIterationBuildImageOutput) Region() pulumi.StringOutput
- func (o GetPackerImageIterationBuildImageOutput) ToGetPackerImageIterationBuildImageOutput() GetPackerImageIterationBuildImageOutput
- func (o GetPackerImageIterationBuildImageOutput) ToGetPackerImageIterationBuildImageOutputWithContext(ctx context.Context) GetPackerImageIterationBuildImageOutput
- type GetPackerImageIterationBuildInput
- type GetPackerImageIterationBuildOutput
- func (o GetPackerImageIterationBuildOutput) CloudProvider() pulumi.StringOutput
- func (o GetPackerImageIterationBuildOutput) ComponentType() pulumi.StringOutput
- func (o GetPackerImageIterationBuildOutput) CreatedAt() pulumi.StringOutput
- func (GetPackerImageIterationBuildOutput) ElementType() reflect.Type
- func (o GetPackerImageIterationBuildOutput) Id() pulumi.StringOutput
- func (o GetPackerImageIterationBuildOutput) Images() GetPackerImageIterationBuildImageArrayOutput
- func (o GetPackerImageIterationBuildOutput) Labels() pulumi.StringMapOutput
- func (o GetPackerImageIterationBuildOutput) PackerRunUuid() pulumi.StringOutput
- func (o GetPackerImageIterationBuildOutput) Status() pulumi.StringOutput
- func (o GetPackerImageIterationBuildOutput) ToGetPackerImageIterationBuildOutput() GetPackerImageIterationBuildOutput
- func (o GetPackerImageIterationBuildOutput) ToGetPackerImageIterationBuildOutputWithContext(ctx context.Context) GetPackerImageIterationBuildOutput
- func (o GetPackerImageIterationBuildOutput) UpdatedAt() pulumi.StringOutput
- type GetPackerImageIterationOutputArgs
- type GetPackerImageIterationResult
- type GetPackerImageIterationResultOutput
- func (o GetPackerImageIterationResultOutput) BucketName() pulumi.StringOutput
- func (o GetPackerImageIterationResultOutput) Builds() GetPackerImageIterationBuildArrayOutput
- func (o GetPackerImageIterationResultOutput) Channel() pulumi.StringOutput
- func (o GetPackerImageIterationResultOutput) CreatedAt() pulumi.StringOutput
- func (GetPackerImageIterationResultOutput) ElementType() reflect.Type
- func (o GetPackerImageIterationResultOutput) Id() pulumi.StringOutput
- func (o GetPackerImageIterationResultOutput) IncrementalVersion() pulumi.IntOutput
- func (o GetPackerImageIterationResultOutput) OrganizationId() pulumi.StringOutput
- func (o GetPackerImageIterationResultOutput) ProjectId() pulumi.StringOutput
- func (o GetPackerImageIterationResultOutput) RevokeAt() pulumi.StringOutput
- func (o GetPackerImageIterationResultOutput) ToGetPackerImageIterationResultOutput() GetPackerImageIterationResultOutput
- func (o GetPackerImageIterationResultOutput) ToGetPackerImageIterationResultOutputWithContext(ctx context.Context) GetPackerImageIterationResultOutput
- type GetPackerImageOutputArgs
- type GetPackerImageResult
- type GetPackerImageResultOutput
- func (o GetPackerImageResultOutput) BucketName() pulumi.StringOutput
- func (o GetPackerImageResultOutput) BuildId() pulumi.StringOutput
- func (o GetPackerImageResultOutput) Channel() pulumi.StringPtrOutput
- func (o GetPackerImageResultOutput) CloudImageId() pulumi.StringOutput
- func (o GetPackerImageResultOutput) CloudProvider() pulumi.StringOutput
- func (o GetPackerImageResultOutput) ComponentType() pulumi.StringOutput
- func (o GetPackerImageResultOutput) CreatedAt() pulumi.StringOutput
- func (GetPackerImageResultOutput) ElementType() reflect.Type
- func (o GetPackerImageResultOutput) Id() pulumi.StringOutput
- func (o GetPackerImageResultOutput) IterationId() pulumi.StringOutput
- func (o GetPackerImageResultOutput) Labels() pulumi.MapOutput
- func (o GetPackerImageResultOutput) OrganizationId() pulumi.StringOutput
- func (o GetPackerImageResultOutput) PackerRunUuid() pulumi.StringOutput
- func (o GetPackerImageResultOutput) ProjectId() pulumi.StringOutput
- func (o GetPackerImageResultOutput) Region() pulumi.StringOutput
- func (o GetPackerImageResultOutput) RevokeAt() pulumi.StringOutput
- func (o GetPackerImageResultOutput) ToGetPackerImageResultOutput() GetPackerImageResultOutput
- func (o GetPackerImageResultOutput) ToGetPackerImageResultOutputWithContext(ctx context.Context) GetPackerImageResultOutput
- type GetPackerIterationArgs
- type GetPackerIterationOutputArgs
- type GetPackerIterationResult
- type GetPackerIterationResultOutput
- func (o GetPackerIterationResultOutput) AuthorId() pulumi.StringOutput
- func (o GetPackerIterationResultOutput) BucketName() pulumi.StringOutput
- func (o GetPackerIterationResultOutput) Channel() pulumi.StringOutput
- func (o GetPackerIterationResultOutput) CreatedAt() pulumi.StringOutput
- func (GetPackerIterationResultOutput) ElementType() reflect.Type
- func (o GetPackerIterationResultOutput) Fingerprint() pulumi.StringOutput
- func (o GetPackerIterationResultOutput) Id() pulumi.StringOutput
- func (o GetPackerIterationResultOutput) IncrementalVersion() pulumi.IntOutput
- func (o GetPackerIterationResultOutput) OrganizationId() pulumi.StringOutput
- func (o GetPackerIterationResultOutput) ProjectId() pulumi.StringOutput
- func (o GetPackerIterationResultOutput) RevokeAt() pulumi.StringOutput
- func (o GetPackerIterationResultOutput) ToGetPackerIterationResultOutput() GetPackerIterationResultOutput
- func (o GetPackerIterationResultOutput) ToGetPackerIterationResultOutputWithContext(ctx context.Context) GetPackerIterationResultOutput
- func (o GetPackerIterationResultOutput) Ulid() pulumi.StringOutput
- func (o GetPackerIterationResultOutput) UpdatedAt() pulumi.StringOutput
- type GetVaultClusterAuditLogConfig
- type GetVaultClusterAuditLogConfigArgs
- func (GetVaultClusterAuditLogConfigArgs) ElementType() reflect.Type
- func (i GetVaultClusterAuditLogConfigArgs) ToGetVaultClusterAuditLogConfigOutput() GetVaultClusterAuditLogConfigOutput
- func (i GetVaultClusterAuditLogConfigArgs) ToGetVaultClusterAuditLogConfigOutputWithContext(ctx context.Context) GetVaultClusterAuditLogConfigOutput
- type GetVaultClusterAuditLogConfigArray
- func (GetVaultClusterAuditLogConfigArray) ElementType() reflect.Type
- func (i GetVaultClusterAuditLogConfigArray) ToGetVaultClusterAuditLogConfigArrayOutput() GetVaultClusterAuditLogConfigArrayOutput
- func (i GetVaultClusterAuditLogConfigArray) ToGetVaultClusterAuditLogConfigArrayOutputWithContext(ctx context.Context) GetVaultClusterAuditLogConfigArrayOutput
- type GetVaultClusterAuditLogConfigArrayInput
- type GetVaultClusterAuditLogConfigArrayOutput
- func (GetVaultClusterAuditLogConfigArrayOutput) ElementType() reflect.Type
- func (o GetVaultClusterAuditLogConfigArrayOutput) Index(i pulumi.IntInput) GetVaultClusterAuditLogConfigOutput
- func (o GetVaultClusterAuditLogConfigArrayOutput) ToGetVaultClusterAuditLogConfigArrayOutput() GetVaultClusterAuditLogConfigArrayOutput
- func (o GetVaultClusterAuditLogConfigArrayOutput) ToGetVaultClusterAuditLogConfigArrayOutputWithContext(ctx context.Context) GetVaultClusterAuditLogConfigArrayOutput
- type GetVaultClusterAuditLogConfigInput
- type GetVaultClusterAuditLogConfigOutput
- func (o GetVaultClusterAuditLogConfigOutput) DatadogRegion() pulumi.StringOutput
- func (GetVaultClusterAuditLogConfigOutput) ElementType() reflect.Type
- func (o GetVaultClusterAuditLogConfigOutput) GrafanaEndpoint() pulumi.StringOutput
- func (o GetVaultClusterAuditLogConfigOutput) GrafanaUser() pulumi.StringOutput
- func (o GetVaultClusterAuditLogConfigOutput) SplunkHecendpoint() pulumi.StringOutput
- func (o GetVaultClusterAuditLogConfigOutput) ToGetVaultClusterAuditLogConfigOutput() GetVaultClusterAuditLogConfigOutput
- func (o GetVaultClusterAuditLogConfigOutput) ToGetVaultClusterAuditLogConfigOutputWithContext(ctx context.Context) GetVaultClusterAuditLogConfigOutput
- type GetVaultClusterMajorVersionUpgradeConfig
- type GetVaultClusterMajorVersionUpgradeConfigArgs
- func (GetVaultClusterMajorVersionUpgradeConfigArgs) ElementType() reflect.Type
- func (i GetVaultClusterMajorVersionUpgradeConfigArgs) ToGetVaultClusterMajorVersionUpgradeConfigOutput() GetVaultClusterMajorVersionUpgradeConfigOutput
- func (i GetVaultClusterMajorVersionUpgradeConfigArgs) ToGetVaultClusterMajorVersionUpgradeConfigOutputWithContext(ctx context.Context) GetVaultClusterMajorVersionUpgradeConfigOutput
- type GetVaultClusterMajorVersionUpgradeConfigArray
- func (GetVaultClusterMajorVersionUpgradeConfigArray) ElementType() reflect.Type
- func (i GetVaultClusterMajorVersionUpgradeConfigArray) ToGetVaultClusterMajorVersionUpgradeConfigArrayOutput() GetVaultClusterMajorVersionUpgradeConfigArrayOutput
- func (i GetVaultClusterMajorVersionUpgradeConfigArray) ToGetVaultClusterMajorVersionUpgradeConfigArrayOutputWithContext(ctx context.Context) GetVaultClusterMajorVersionUpgradeConfigArrayOutput
- type GetVaultClusterMajorVersionUpgradeConfigArrayInput
- type GetVaultClusterMajorVersionUpgradeConfigArrayOutput
- func (GetVaultClusterMajorVersionUpgradeConfigArrayOutput) ElementType() reflect.Type
- func (o GetVaultClusterMajorVersionUpgradeConfigArrayOutput) Index(i pulumi.IntInput) GetVaultClusterMajorVersionUpgradeConfigOutput
- func (o GetVaultClusterMajorVersionUpgradeConfigArrayOutput) ToGetVaultClusterMajorVersionUpgradeConfigArrayOutput() GetVaultClusterMajorVersionUpgradeConfigArrayOutput
- func (o GetVaultClusterMajorVersionUpgradeConfigArrayOutput) ToGetVaultClusterMajorVersionUpgradeConfigArrayOutputWithContext(ctx context.Context) GetVaultClusterMajorVersionUpgradeConfigArrayOutput
- type GetVaultClusterMajorVersionUpgradeConfigInput
- type GetVaultClusterMajorVersionUpgradeConfigOutput
- func (GetVaultClusterMajorVersionUpgradeConfigOutput) ElementType() reflect.Type
- func (o GetVaultClusterMajorVersionUpgradeConfigOutput) MaintenanceWindowDay() pulumi.StringOutput
- func (o GetVaultClusterMajorVersionUpgradeConfigOutput) MaintenanceWindowTime() pulumi.StringOutput
- func (o GetVaultClusterMajorVersionUpgradeConfigOutput) ToGetVaultClusterMajorVersionUpgradeConfigOutput() GetVaultClusterMajorVersionUpgradeConfigOutput
- func (o GetVaultClusterMajorVersionUpgradeConfigOutput) ToGetVaultClusterMajorVersionUpgradeConfigOutputWithContext(ctx context.Context) GetVaultClusterMajorVersionUpgradeConfigOutput
- func (o GetVaultClusterMajorVersionUpgradeConfigOutput) UpgradeType() pulumi.StringOutput
- type GetVaultClusterMetricsConfig
- type GetVaultClusterMetricsConfigArgs
- func (GetVaultClusterMetricsConfigArgs) ElementType() reflect.Type
- func (i GetVaultClusterMetricsConfigArgs) ToGetVaultClusterMetricsConfigOutput() GetVaultClusterMetricsConfigOutput
- func (i GetVaultClusterMetricsConfigArgs) ToGetVaultClusterMetricsConfigOutputWithContext(ctx context.Context) GetVaultClusterMetricsConfigOutput
- type GetVaultClusterMetricsConfigArray
- func (GetVaultClusterMetricsConfigArray) ElementType() reflect.Type
- func (i GetVaultClusterMetricsConfigArray) ToGetVaultClusterMetricsConfigArrayOutput() GetVaultClusterMetricsConfigArrayOutput
- func (i GetVaultClusterMetricsConfigArray) ToGetVaultClusterMetricsConfigArrayOutputWithContext(ctx context.Context) GetVaultClusterMetricsConfigArrayOutput
- type GetVaultClusterMetricsConfigArrayInput
- type GetVaultClusterMetricsConfigArrayOutput
- func (GetVaultClusterMetricsConfigArrayOutput) ElementType() reflect.Type
- func (o GetVaultClusterMetricsConfigArrayOutput) Index(i pulumi.IntInput) GetVaultClusterMetricsConfigOutput
- func (o GetVaultClusterMetricsConfigArrayOutput) ToGetVaultClusterMetricsConfigArrayOutput() GetVaultClusterMetricsConfigArrayOutput
- func (o GetVaultClusterMetricsConfigArrayOutput) ToGetVaultClusterMetricsConfigArrayOutputWithContext(ctx context.Context) GetVaultClusterMetricsConfigArrayOutput
- type GetVaultClusterMetricsConfigInput
- type GetVaultClusterMetricsConfigOutput
- func (o GetVaultClusterMetricsConfigOutput) DatadogRegion() pulumi.StringOutput
- func (GetVaultClusterMetricsConfigOutput) ElementType() reflect.Type
- func (o GetVaultClusterMetricsConfigOutput) GrafanaEndpoint() pulumi.StringOutput
- func (o GetVaultClusterMetricsConfigOutput) GrafanaUser() pulumi.StringOutput
- func (o GetVaultClusterMetricsConfigOutput) SplunkHecendpoint() pulumi.StringOutput
- func (o GetVaultClusterMetricsConfigOutput) ToGetVaultClusterMetricsConfigOutput() GetVaultClusterMetricsConfigOutput
- func (o GetVaultClusterMetricsConfigOutput) ToGetVaultClusterMetricsConfigOutputWithContext(ctx context.Context) GetVaultClusterMetricsConfigOutput
- type Hvn
- type HvnArgs
- type HvnArray
- type HvnArrayInput
- type HvnArrayOutput
- type HvnInput
- type HvnMap
- type HvnMapInput
- type HvnMapOutput
- type HvnOutput
- func (o HvnOutput) CidrBlock() pulumi.StringOutput
- func (o HvnOutput) CloudProvider() pulumi.StringOutput
- func (o HvnOutput) CreatedAt() pulumi.StringOutput
- func (HvnOutput) ElementType() reflect.Type
- func (o HvnOutput) HvnId() pulumi.StringOutput
- func (o HvnOutput) OrganizationId() pulumi.StringOutput
- func (o HvnOutput) ProjectId() pulumi.StringOutput
- func (o HvnOutput) ProviderAccountId() pulumi.StringOutput
- func (o HvnOutput) Region() pulumi.StringOutput
- func (o HvnOutput) SelfLink() pulumi.StringOutput
- func (o HvnOutput) State() pulumi.StringOutput
- func (o HvnOutput) ToHvnOutput() HvnOutput
- func (o HvnOutput) ToHvnOutputWithContext(ctx context.Context) HvnOutput
- type HvnPeeringConnection
- type HvnPeeringConnectionArgs
- type HvnPeeringConnectionArray
- type HvnPeeringConnectionArrayInput
- type HvnPeeringConnectionArrayOutput
- func (HvnPeeringConnectionArrayOutput) ElementType() reflect.Type
- func (o HvnPeeringConnectionArrayOutput) Index(i pulumi.IntInput) HvnPeeringConnectionOutput
- func (o HvnPeeringConnectionArrayOutput) ToHvnPeeringConnectionArrayOutput() HvnPeeringConnectionArrayOutput
- func (o HvnPeeringConnectionArrayOutput) ToHvnPeeringConnectionArrayOutputWithContext(ctx context.Context) HvnPeeringConnectionArrayOutput
- type HvnPeeringConnectionInput
- type HvnPeeringConnectionMap
- type HvnPeeringConnectionMapInput
- type HvnPeeringConnectionMapOutput
- func (HvnPeeringConnectionMapOutput) ElementType() reflect.Type
- func (o HvnPeeringConnectionMapOutput) MapIndex(k pulumi.StringInput) HvnPeeringConnectionOutput
- func (o HvnPeeringConnectionMapOutput) ToHvnPeeringConnectionMapOutput() HvnPeeringConnectionMapOutput
- func (o HvnPeeringConnectionMapOutput) ToHvnPeeringConnectionMapOutputWithContext(ctx context.Context) HvnPeeringConnectionMapOutput
- type HvnPeeringConnectionOutput
- func (o HvnPeeringConnectionOutput) CreatedAt() pulumi.StringOutput
- func (HvnPeeringConnectionOutput) ElementType() reflect.Type
- func (o HvnPeeringConnectionOutput) ExpiresAt() pulumi.StringOutput
- func (o HvnPeeringConnectionOutput) Hvn1() pulumi.StringOutput
- func (o HvnPeeringConnectionOutput) Hvn2() pulumi.StringOutput
- func (o HvnPeeringConnectionOutput) OrganizationId() pulumi.StringOutput
- func (o HvnPeeringConnectionOutput) PeeringId() pulumi.StringOutput
- func (o HvnPeeringConnectionOutput) ProjectId() pulumi.StringOutput
- func (o HvnPeeringConnectionOutput) SelfLink() pulumi.StringOutput
- func (o HvnPeeringConnectionOutput) State() pulumi.StringOutput
- func (o HvnPeeringConnectionOutput) ToHvnPeeringConnectionOutput() HvnPeeringConnectionOutput
- func (o HvnPeeringConnectionOutput) ToHvnPeeringConnectionOutputWithContext(ctx context.Context) HvnPeeringConnectionOutput
- type HvnPeeringConnectionState
- type HvnRoute
- type HvnRouteArgs
- type HvnRouteArray
- type HvnRouteArrayInput
- type HvnRouteArrayOutput
- type HvnRouteInput
- type HvnRouteMap
- type HvnRouteMapInput
- type HvnRouteMapOutput
- type HvnRouteOutput
- func (o HvnRouteOutput) CreatedAt() pulumi.StringOutput
- func (o HvnRouteOutput) DestinationCidr() pulumi.StringOutput
- func (HvnRouteOutput) ElementType() reflect.Type
- func (o HvnRouteOutput) HvnLink() pulumi.StringOutput
- func (o HvnRouteOutput) HvnRouteId() pulumi.StringOutput
- func (o HvnRouteOutput) SelfLink() pulumi.StringOutput
- func (o HvnRouteOutput) State() pulumi.StringOutput
- func (o HvnRouteOutput) TargetLink() pulumi.StringOutput
- func (o HvnRouteOutput) ToHvnRouteOutput() HvnRouteOutput
- func (o HvnRouteOutput) ToHvnRouteOutputWithContext(ctx context.Context) HvnRouteOutput
- type HvnRouteState
- type HvnState
- type LookupAwsNetworkPeeringArgs
- type LookupAwsNetworkPeeringOutputArgs
- type LookupAwsNetworkPeeringResult
- type LookupAwsNetworkPeeringResultOutput
- func (o LookupAwsNetworkPeeringResultOutput) CreatedAt() pulumi.StringOutput
- func (LookupAwsNetworkPeeringResultOutput) ElementType() reflect.Type
- func (o LookupAwsNetworkPeeringResultOutput) ExpiresAt() pulumi.StringOutput
- func (o LookupAwsNetworkPeeringResultOutput) HvnId() pulumi.StringOutput
- func (o LookupAwsNetworkPeeringResultOutput) Id() pulumi.StringOutput
- func (o LookupAwsNetworkPeeringResultOutput) OrganizationId() pulumi.StringOutput
- func (o LookupAwsNetworkPeeringResultOutput) PeerAccountId() pulumi.StringOutput
- func (o LookupAwsNetworkPeeringResultOutput) PeerVpcId() pulumi.StringOutput
- func (o LookupAwsNetworkPeeringResultOutput) PeerVpcRegion() pulumi.StringOutput
- func (o LookupAwsNetworkPeeringResultOutput) PeeringId() pulumi.StringOutput
- func (o LookupAwsNetworkPeeringResultOutput) ProjectId() pulumi.StringOutput
- func (o LookupAwsNetworkPeeringResultOutput) ProviderPeeringId() pulumi.StringOutput
- func (o LookupAwsNetworkPeeringResultOutput) SelfLink() pulumi.StringOutput
- func (o LookupAwsNetworkPeeringResultOutput) State() pulumi.StringOutput
- func (o LookupAwsNetworkPeeringResultOutput) ToLookupAwsNetworkPeeringResultOutput() LookupAwsNetworkPeeringResultOutput
- func (o LookupAwsNetworkPeeringResultOutput) ToLookupAwsNetworkPeeringResultOutputWithContext(ctx context.Context) LookupAwsNetworkPeeringResultOutput
- func (o LookupAwsNetworkPeeringResultOutput) WaitForActiveState() pulumi.BoolPtrOutput
- type LookupAwsTransitGatewayAttachmentArgs
- type LookupAwsTransitGatewayAttachmentOutputArgs
- type LookupAwsTransitGatewayAttachmentResult
- type LookupAwsTransitGatewayAttachmentResultOutput
- func (o LookupAwsTransitGatewayAttachmentResultOutput) CreatedAt() pulumi.StringOutput
- func (LookupAwsTransitGatewayAttachmentResultOutput) ElementType() reflect.Type
- func (o LookupAwsTransitGatewayAttachmentResultOutput) ExpiresAt() pulumi.StringOutput
- func (o LookupAwsTransitGatewayAttachmentResultOutput) HvnId() pulumi.StringOutput
- func (o LookupAwsTransitGatewayAttachmentResultOutput) Id() pulumi.StringOutput
- func (o LookupAwsTransitGatewayAttachmentResultOutput) OrganizationId() pulumi.StringOutput
- func (o LookupAwsTransitGatewayAttachmentResultOutput) ProjectId() pulumi.StringOutput
- func (o LookupAwsTransitGatewayAttachmentResultOutput) ProviderTransitGatewayAttachmentId() pulumi.StringOutput
- func (o LookupAwsTransitGatewayAttachmentResultOutput) SelfLink() pulumi.StringOutput
- func (o LookupAwsTransitGatewayAttachmentResultOutput) State() pulumi.StringOutput
- func (o LookupAwsTransitGatewayAttachmentResultOutput) ToLookupAwsTransitGatewayAttachmentResultOutput() LookupAwsTransitGatewayAttachmentResultOutput
- func (o LookupAwsTransitGatewayAttachmentResultOutput) ToLookupAwsTransitGatewayAttachmentResultOutputWithContext(ctx context.Context) LookupAwsTransitGatewayAttachmentResultOutput
- func (o LookupAwsTransitGatewayAttachmentResultOutput) TransitGatewayAttachmentId() pulumi.StringOutput
- func (o LookupAwsTransitGatewayAttachmentResultOutput) TransitGatewayId() pulumi.StringOutput
- func (o LookupAwsTransitGatewayAttachmentResultOutput) WaitForActiveState() pulumi.BoolPtrOutput
- type LookupAzurePeeringConnectionArgs
- type LookupAzurePeeringConnectionOutputArgs
- type LookupAzurePeeringConnectionResult
- type LookupAzurePeeringConnectionResultOutput
- func (o LookupAzurePeeringConnectionResultOutput) ApplicationId() pulumi.StringOutput
- func (o LookupAzurePeeringConnectionResultOutput) AzurePeeringId() pulumi.StringOutput
- func (o LookupAzurePeeringConnectionResultOutput) CreatedAt() pulumi.StringOutput
- func (LookupAzurePeeringConnectionResultOutput) ElementType() reflect.Type
- func (o LookupAzurePeeringConnectionResultOutput) ExpiresAt() pulumi.StringOutput
- func (o LookupAzurePeeringConnectionResultOutput) HvnLink() pulumi.StringOutput
- func (o LookupAzurePeeringConnectionResultOutput) Id() pulumi.StringOutput
- func (o LookupAzurePeeringConnectionResultOutput) OrganizationId() pulumi.StringOutput
- func (o LookupAzurePeeringConnectionResultOutput) PeerResourceGroupName() pulumi.StringOutput
- func (o LookupAzurePeeringConnectionResultOutput) PeerSubscriptionId() pulumi.StringOutput
- func (o LookupAzurePeeringConnectionResultOutput) PeerTenantId() pulumi.StringOutput
- func (o LookupAzurePeeringConnectionResultOutput) PeerVnetName() pulumi.StringOutput
- func (o LookupAzurePeeringConnectionResultOutput) PeerVnetRegion() pulumi.StringOutput
- func (o LookupAzurePeeringConnectionResultOutput) PeeringId() pulumi.StringOutput
- func (o LookupAzurePeeringConnectionResultOutput) ProjectId() pulumi.StringOutput
- func (o LookupAzurePeeringConnectionResultOutput) SelfLink() pulumi.StringOutput
- func (o LookupAzurePeeringConnectionResultOutput) State() pulumi.StringOutput
- func (o LookupAzurePeeringConnectionResultOutput) ToLookupAzurePeeringConnectionResultOutput() LookupAzurePeeringConnectionResultOutput
- func (o LookupAzurePeeringConnectionResultOutput) ToLookupAzurePeeringConnectionResultOutputWithContext(ctx context.Context) LookupAzurePeeringConnectionResultOutput
- func (o LookupAzurePeeringConnectionResultOutput) WaitForActiveState() pulumi.BoolPtrOutput
- type LookupBoundaryClusterArgs
- type LookupBoundaryClusterOutputArgs
- type LookupBoundaryClusterResult
- type LookupBoundaryClusterResultOutput
- func (o LookupBoundaryClusterResultOutput) ClusterId() pulumi.StringOutput
- func (o LookupBoundaryClusterResultOutput) ClusterUrl() pulumi.StringOutput
- func (o LookupBoundaryClusterResultOutput) CreatedAt() pulumi.StringOutput
- func (LookupBoundaryClusterResultOutput) ElementType() reflect.Type
- func (o LookupBoundaryClusterResultOutput) Id() pulumi.StringOutput
- func (o LookupBoundaryClusterResultOutput) State() pulumi.StringOutput
- func (o LookupBoundaryClusterResultOutput) ToLookupBoundaryClusterResultOutput() LookupBoundaryClusterResultOutput
- func (o LookupBoundaryClusterResultOutput) ToLookupBoundaryClusterResultOutputWithContext(ctx context.Context) LookupBoundaryClusterResultOutput
- type LookupConsulClusterArgs
- type LookupConsulClusterOutputArgs
- type LookupConsulClusterResult
- type LookupConsulClusterResultOutput
- func (o LookupConsulClusterResultOutput) AutoHvnToHvnPeering() pulumi.BoolOutput
- func (o LookupConsulClusterResultOutput) CloudProvider() pulumi.StringOutput
- func (o LookupConsulClusterResultOutput) ClusterId() pulumi.StringOutput
- func (o LookupConsulClusterResultOutput) ConnectEnabled() pulumi.BoolOutput
- func (o LookupConsulClusterResultOutput) ConsulAutomaticUpgrades() pulumi.BoolOutput
- func (o LookupConsulClusterResultOutput) ConsulCaFile() pulumi.StringOutput
- func (o LookupConsulClusterResultOutput) ConsulConfigFile() pulumi.StringOutput
- func (o LookupConsulClusterResultOutput) ConsulPrivateEndpointUrl() pulumi.StringOutput
- func (o LookupConsulClusterResultOutput) ConsulPublicEndpointUrl() pulumi.StringOutput
- func (o LookupConsulClusterResultOutput) ConsulSnapshotInterval() pulumi.StringOutput
- func (o LookupConsulClusterResultOutput) ConsulSnapshotRetention() pulumi.StringOutput
- func (o LookupConsulClusterResultOutput) ConsulVersion() pulumi.StringOutput
- func (o LookupConsulClusterResultOutput) Datacenter() pulumi.StringOutput
- func (LookupConsulClusterResultOutput) ElementType() reflect.Type
- func (o LookupConsulClusterResultOutput) HvnId() pulumi.StringOutput
- func (o LookupConsulClusterResultOutput) Id() pulumi.StringOutput
- func (o LookupConsulClusterResultOutput) OrganizationId() pulumi.StringOutput
- func (o LookupConsulClusterResultOutput) PrimaryLink() pulumi.StringOutput
- func (o LookupConsulClusterResultOutput) ProjectId() pulumi.StringOutput
- func (o LookupConsulClusterResultOutput) PublicEndpoint() pulumi.BoolOutput
- func (o LookupConsulClusterResultOutput) Region() pulumi.StringOutput
- func (o LookupConsulClusterResultOutput) Scale() pulumi.IntOutput
- func (o LookupConsulClusterResultOutput) SelfLink() pulumi.StringOutput
- func (o LookupConsulClusterResultOutput) Size() pulumi.StringOutput
- func (o LookupConsulClusterResultOutput) State() pulumi.StringOutput
- func (o LookupConsulClusterResultOutput) Tier() pulumi.StringOutput
- func (o LookupConsulClusterResultOutput) ToLookupConsulClusterResultOutput() LookupConsulClusterResultOutput
- func (o LookupConsulClusterResultOutput) ToLookupConsulClusterResultOutputWithContext(ctx context.Context) LookupConsulClusterResultOutput
- type LookupHvnArgs
- type LookupHvnOutputArgs
- type LookupHvnPeeringConnectionArgs
- type LookupHvnPeeringConnectionOutputArgs
- type LookupHvnPeeringConnectionResult
- type LookupHvnPeeringConnectionResultOutput
- func (o LookupHvnPeeringConnectionResultOutput) CreatedAt() pulumi.StringOutput
- func (LookupHvnPeeringConnectionResultOutput) ElementType() reflect.Type
- func (o LookupHvnPeeringConnectionResultOutput) ExpiresAt() pulumi.StringOutput
- func (o LookupHvnPeeringConnectionResultOutput) Hvn1() pulumi.StringOutput
- func (o LookupHvnPeeringConnectionResultOutput) Hvn2() pulumi.StringOutput
- func (o LookupHvnPeeringConnectionResultOutput) Id() pulumi.StringOutput
- func (o LookupHvnPeeringConnectionResultOutput) OrganizationId() pulumi.StringOutput
- func (o LookupHvnPeeringConnectionResultOutput) PeeringId() pulumi.StringOutput
- func (o LookupHvnPeeringConnectionResultOutput) ProjectId() pulumi.StringOutput
- func (o LookupHvnPeeringConnectionResultOutput) SelfLink() pulumi.StringOutput
- func (o LookupHvnPeeringConnectionResultOutput) State() pulumi.StringOutput
- func (o LookupHvnPeeringConnectionResultOutput) ToLookupHvnPeeringConnectionResultOutput() LookupHvnPeeringConnectionResultOutput
- func (o LookupHvnPeeringConnectionResultOutput) ToLookupHvnPeeringConnectionResultOutputWithContext(ctx context.Context) LookupHvnPeeringConnectionResultOutput
- type LookupHvnResult
- type LookupHvnResultOutput
- func (o LookupHvnResultOutput) CidrBlock() pulumi.StringOutput
- func (o LookupHvnResultOutput) CloudProvider() pulumi.StringOutput
- func (o LookupHvnResultOutput) CreatedAt() pulumi.StringOutput
- func (LookupHvnResultOutput) ElementType() reflect.Type
- func (o LookupHvnResultOutput) HvnId() pulumi.StringOutput
- func (o LookupHvnResultOutput) Id() pulumi.StringOutput
- func (o LookupHvnResultOutput) OrganizationId() pulumi.StringOutput
- func (o LookupHvnResultOutput) ProjectId() pulumi.StringOutput
- func (o LookupHvnResultOutput) ProviderAccountId() pulumi.StringOutput
- func (o LookupHvnResultOutput) Region() pulumi.StringOutput
- func (o LookupHvnResultOutput) SelfLink() pulumi.StringOutput
- func (o LookupHvnResultOutput) State() pulumi.StringOutput
- func (o LookupHvnResultOutput) ToLookupHvnResultOutput() LookupHvnResultOutput
- func (o LookupHvnResultOutput) ToLookupHvnResultOutputWithContext(ctx context.Context) LookupHvnResultOutput
- type LookupHvnRouteArgs
- type LookupHvnRouteOutputArgs
- type LookupHvnRouteResult
- type LookupHvnRouteResultOutput
- func (o LookupHvnRouteResultOutput) CreatedAt() pulumi.StringOutput
- func (o LookupHvnRouteResultOutput) DestinationCidr() pulumi.StringOutput
- func (LookupHvnRouteResultOutput) ElementType() reflect.Type
- func (o LookupHvnRouteResultOutput) HvnLink() pulumi.StringOutput
- func (o LookupHvnRouteResultOutput) HvnRouteId() pulumi.StringOutput
- func (o LookupHvnRouteResultOutput) Id() pulumi.StringOutput
- func (o LookupHvnRouteResultOutput) SelfLink() pulumi.StringOutput
- func (o LookupHvnRouteResultOutput) State() pulumi.StringOutput
- func (o LookupHvnRouteResultOutput) TargetLink() pulumi.StringOutput
- func (o LookupHvnRouteResultOutput) ToLookupHvnRouteResultOutput() LookupHvnRouteResultOutput
- func (o LookupHvnRouteResultOutput) ToLookupHvnRouteResultOutputWithContext(ctx context.Context) LookupHvnRouteResultOutput
- type LookupVaultClusterArgs
- type LookupVaultClusterOutputArgs
- type LookupVaultClusterResult
- type LookupVaultClusterResultOutput
- func (o LookupVaultClusterResultOutput) AuditLogConfigs() GetVaultClusterAuditLogConfigArrayOutput
- func (o LookupVaultClusterResultOutput) CloudProvider() pulumi.StringOutput
- func (o LookupVaultClusterResultOutput) ClusterId() pulumi.StringOutput
- func (o LookupVaultClusterResultOutput) CreatedAt() pulumi.StringOutput
- func (LookupVaultClusterResultOutput) ElementType() reflect.Type
- func (o LookupVaultClusterResultOutput) HvnId() pulumi.StringOutput
- func (o LookupVaultClusterResultOutput) Id() pulumi.StringOutput
- func (o LookupVaultClusterResultOutput) MajorVersionUpgradeConfigs() GetVaultClusterMajorVersionUpgradeConfigArrayOutput
- func (o LookupVaultClusterResultOutput) MetricsConfigs() GetVaultClusterMetricsConfigArrayOutput
- func (o LookupVaultClusterResultOutput) MinVaultVersion() pulumi.StringOutput
- func (o LookupVaultClusterResultOutput) Namespace() pulumi.StringOutput
- func (o LookupVaultClusterResultOutput) OrganizationId() pulumi.StringOutput
- func (o LookupVaultClusterResultOutput) PathsFilters() pulumi.StringArrayOutput
- func (o LookupVaultClusterResultOutput) PrimaryLink() pulumi.StringOutput
- func (o LookupVaultClusterResultOutput) ProjectId() pulumi.StringOutput
- func (o LookupVaultClusterResultOutput) PublicEndpoint() pulumi.BoolOutput
- func (o LookupVaultClusterResultOutput) Region() pulumi.StringOutput
- func (o LookupVaultClusterResultOutput) SelfLink() pulumi.StringOutput
- func (o LookupVaultClusterResultOutput) State() pulumi.StringOutput
- func (o LookupVaultClusterResultOutput) Tier() pulumi.StringOutput
- func (o LookupVaultClusterResultOutput) ToLookupVaultClusterResultOutput() LookupVaultClusterResultOutput
- func (o LookupVaultClusterResultOutput) ToLookupVaultClusterResultOutputWithContext(ctx context.Context) LookupVaultClusterResultOutput
- func (o LookupVaultClusterResultOutput) VaultPrivateEndpointUrl() pulumi.StringOutput
- func (o LookupVaultClusterResultOutput) VaultPublicEndpointUrl() pulumi.StringOutput
- func (o LookupVaultClusterResultOutput) VaultVersion() pulumi.StringOutput
- type Provider
- type ProviderArgs
- type ProviderInput
- type ProviderOutput
- func (o ProviderOutput) ClientId() pulumi.StringPtrOutput
- func (o ProviderOutput) ClientSecret() pulumi.StringPtrOutput
- func (ProviderOutput) ElementType() reflect.Type
- func (o ProviderOutput) ToProviderOutput() ProviderOutput
- func (o ProviderOutput) ToProviderOutputWithContext(ctx context.Context) ProviderOutput
- type VaultCluster
- type VaultClusterAdminToken
- type VaultClusterAdminTokenArgs
- type VaultClusterAdminTokenArray
- func (VaultClusterAdminTokenArray) ElementType() reflect.Type
- func (i VaultClusterAdminTokenArray) ToVaultClusterAdminTokenArrayOutput() VaultClusterAdminTokenArrayOutput
- func (i VaultClusterAdminTokenArray) ToVaultClusterAdminTokenArrayOutputWithContext(ctx context.Context) VaultClusterAdminTokenArrayOutput
- type VaultClusterAdminTokenArrayInput
- type VaultClusterAdminTokenArrayOutput
- func (VaultClusterAdminTokenArrayOutput) ElementType() reflect.Type
- func (o VaultClusterAdminTokenArrayOutput) Index(i pulumi.IntInput) VaultClusterAdminTokenOutput
- func (o VaultClusterAdminTokenArrayOutput) ToVaultClusterAdminTokenArrayOutput() VaultClusterAdminTokenArrayOutput
- func (o VaultClusterAdminTokenArrayOutput) ToVaultClusterAdminTokenArrayOutputWithContext(ctx context.Context) VaultClusterAdminTokenArrayOutput
- type VaultClusterAdminTokenInput
- type VaultClusterAdminTokenMap
- type VaultClusterAdminTokenMapInput
- type VaultClusterAdminTokenMapOutput
- func (VaultClusterAdminTokenMapOutput) ElementType() reflect.Type
- func (o VaultClusterAdminTokenMapOutput) MapIndex(k pulumi.StringInput) VaultClusterAdminTokenOutput
- func (o VaultClusterAdminTokenMapOutput) ToVaultClusterAdminTokenMapOutput() VaultClusterAdminTokenMapOutput
- func (o VaultClusterAdminTokenMapOutput) ToVaultClusterAdminTokenMapOutputWithContext(ctx context.Context) VaultClusterAdminTokenMapOutput
- type VaultClusterAdminTokenOutput
- func (o VaultClusterAdminTokenOutput) ClusterId() pulumi.StringOutput
- func (o VaultClusterAdminTokenOutput) CreatedAt() pulumi.StringOutput
- func (VaultClusterAdminTokenOutput) ElementType() reflect.Type
- func (o VaultClusterAdminTokenOutput) ToVaultClusterAdminTokenOutput() VaultClusterAdminTokenOutput
- func (o VaultClusterAdminTokenOutput) ToVaultClusterAdminTokenOutputWithContext(ctx context.Context) VaultClusterAdminTokenOutput
- func (o VaultClusterAdminTokenOutput) Token() pulumi.StringOutput
- type VaultClusterAdminTokenState
- type VaultClusterArgs
- type VaultClusterArray
- type VaultClusterArrayInput
- type VaultClusterArrayOutput
- func (VaultClusterArrayOutput) ElementType() reflect.Type
- func (o VaultClusterArrayOutput) Index(i pulumi.IntInput) VaultClusterOutput
- func (o VaultClusterArrayOutput) ToVaultClusterArrayOutput() VaultClusterArrayOutput
- func (o VaultClusterArrayOutput) ToVaultClusterArrayOutputWithContext(ctx context.Context) VaultClusterArrayOutput
- type VaultClusterAuditLogConfig
- type VaultClusterAuditLogConfigArgs
- func (VaultClusterAuditLogConfigArgs) ElementType() reflect.Type
- func (i VaultClusterAuditLogConfigArgs) ToVaultClusterAuditLogConfigOutput() VaultClusterAuditLogConfigOutput
- func (i VaultClusterAuditLogConfigArgs) ToVaultClusterAuditLogConfigOutputWithContext(ctx context.Context) VaultClusterAuditLogConfigOutput
- func (i VaultClusterAuditLogConfigArgs) ToVaultClusterAuditLogConfigPtrOutput() VaultClusterAuditLogConfigPtrOutput
- func (i VaultClusterAuditLogConfigArgs) ToVaultClusterAuditLogConfigPtrOutputWithContext(ctx context.Context) VaultClusterAuditLogConfigPtrOutput
- type VaultClusterAuditLogConfigInput
- type VaultClusterAuditLogConfigOutput
- func (o VaultClusterAuditLogConfigOutput) DatadogApiKey() pulumi.StringPtrOutput
- func (o VaultClusterAuditLogConfigOutput) DatadogRegion() pulumi.StringPtrOutput
- func (VaultClusterAuditLogConfigOutput) ElementType() reflect.Type
- func (o VaultClusterAuditLogConfigOutput) GrafanaEndpoint() pulumi.StringPtrOutput
- func (o VaultClusterAuditLogConfigOutput) GrafanaPassword() pulumi.StringPtrOutput
- func (o VaultClusterAuditLogConfigOutput) GrafanaUser() pulumi.StringPtrOutput
- func (o VaultClusterAuditLogConfigOutput) SplunkHecendpoint() pulumi.StringPtrOutput
- func (o VaultClusterAuditLogConfigOutput) SplunkToken() pulumi.StringPtrOutput
- func (o VaultClusterAuditLogConfigOutput) ToVaultClusterAuditLogConfigOutput() VaultClusterAuditLogConfigOutput
- func (o VaultClusterAuditLogConfigOutput) ToVaultClusterAuditLogConfigOutputWithContext(ctx context.Context) VaultClusterAuditLogConfigOutput
- func (o VaultClusterAuditLogConfigOutput) ToVaultClusterAuditLogConfigPtrOutput() VaultClusterAuditLogConfigPtrOutput
- func (o VaultClusterAuditLogConfigOutput) ToVaultClusterAuditLogConfigPtrOutputWithContext(ctx context.Context) VaultClusterAuditLogConfigPtrOutput
- type VaultClusterAuditLogConfigPtrInput
- type VaultClusterAuditLogConfigPtrOutput
- func (o VaultClusterAuditLogConfigPtrOutput) DatadogApiKey() pulumi.StringPtrOutput
- func (o VaultClusterAuditLogConfigPtrOutput) DatadogRegion() pulumi.StringPtrOutput
- func (o VaultClusterAuditLogConfigPtrOutput) Elem() VaultClusterAuditLogConfigOutput
- func (VaultClusterAuditLogConfigPtrOutput) ElementType() reflect.Type
- func (o VaultClusterAuditLogConfigPtrOutput) GrafanaEndpoint() pulumi.StringPtrOutput
- func (o VaultClusterAuditLogConfigPtrOutput) GrafanaPassword() pulumi.StringPtrOutput
- func (o VaultClusterAuditLogConfigPtrOutput) GrafanaUser() pulumi.StringPtrOutput
- func (o VaultClusterAuditLogConfigPtrOutput) SplunkHecendpoint() pulumi.StringPtrOutput
- func (o VaultClusterAuditLogConfigPtrOutput) SplunkToken() pulumi.StringPtrOutput
- func (o VaultClusterAuditLogConfigPtrOutput) ToVaultClusterAuditLogConfigPtrOutput() VaultClusterAuditLogConfigPtrOutput
- func (o VaultClusterAuditLogConfigPtrOutput) ToVaultClusterAuditLogConfigPtrOutputWithContext(ctx context.Context) VaultClusterAuditLogConfigPtrOutput
- type VaultClusterInput
- type VaultClusterMajorVersionUpgradeConfig
- type VaultClusterMajorVersionUpgradeConfigArgs
- func (VaultClusterMajorVersionUpgradeConfigArgs) ElementType() reflect.Type
- func (i VaultClusterMajorVersionUpgradeConfigArgs) ToVaultClusterMajorVersionUpgradeConfigOutput() VaultClusterMajorVersionUpgradeConfigOutput
- func (i VaultClusterMajorVersionUpgradeConfigArgs) ToVaultClusterMajorVersionUpgradeConfigOutputWithContext(ctx context.Context) VaultClusterMajorVersionUpgradeConfigOutput
- func (i VaultClusterMajorVersionUpgradeConfigArgs) ToVaultClusterMajorVersionUpgradeConfigPtrOutput() VaultClusterMajorVersionUpgradeConfigPtrOutput
- func (i VaultClusterMajorVersionUpgradeConfigArgs) ToVaultClusterMajorVersionUpgradeConfigPtrOutputWithContext(ctx context.Context) VaultClusterMajorVersionUpgradeConfigPtrOutput
- type VaultClusterMajorVersionUpgradeConfigInput
- type VaultClusterMajorVersionUpgradeConfigOutput
- func (VaultClusterMajorVersionUpgradeConfigOutput) ElementType() reflect.Type
- func (o VaultClusterMajorVersionUpgradeConfigOutput) MaintenanceWindowDay() pulumi.StringPtrOutput
- func (o VaultClusterMajorVersionUpgradeConfigOutput) MaintenanceWindowTime() pulumi.StringPtrOutput
- func (o VaultClusterMajorVersionUpgradeConfigOutput) ToVaultClusterMajorVersionUpgradeConfigOutput() VaultClusterMajorVersionUpgradeConfigOutput
- func (o VaultClusterMajorVersionUpgradeConfigOutput) ToVaultClusterMajorVersionUpgradeConfigOutputWithContext(ctx context.Context) VaultClusterMajorVersionUpgradeConfigOutput
- func (o VaultClusterMajorVersionUpgradeConfigOutput) ToVaultClusterMajorVersionUpgradeConfigPtrOutput() VaultClusterMajorVersionUpgradeConfigPtrOutput
- func (o VaultClusterMajorVersionUpgradeConfigOutput) ToVaultClusterMajorVersionUpgradeConfigPtrOutputWithContext(ctx context.Context) VaultClusterMajorVersionUpgradeConfigPtrOutput
- func (o VaultClusterMajorVersionUpgradeConfigOutput) UpgradeType() pulumi.StringOutput
- type VaultClusterMajorVersionUpgradeConfigPtrInput
- type VaultClusterMajorVersionUpgradeConfigPtrOutput
- func (o VaultClusterMajorVersionUpgradeConfigPtrOutput) Elem() VaultClusterMajorVersionUpgradeConfigOutput
- func (VaultClusterMajorVersionUpgradeConfigPtrOutput) ElementType() reflect.Type
- func (o VaultClusterMajorVersionUpgradeConfigPtrOutput) MaintenanceWindowDay() pulumi.StringPtrOutput
- func (o VaultClusterMajorVersionUpgradeConfigPtrOutput) MaintenanceWindowTime() pulumi.StringPtrOutput
- func (o VaultClusterMajorVersionUpgradeConfigPtrOutput) ToVaultClusterMajorVersionUpgradeConfigPtrOutput() VaultClusterMajorVersionUpgradeConfigPtrOutput
- func (o VaultClusterMajorVersionUpgradeConfigPtrOutput) ToVaultClusterMajorVersionUpgradeConfigPtrOutputWithContext(ctx context.Context) VaultClusterMajorVersionUpgradeConfigPtrOutput
- func (o VaultClusterMajorVersionUpgradeConfigPtrOutput) UpgradeType() pulumi.StringPtrOutput
- type VaultClusterMap
- type VaultClusterMapInput
- type VaultClusterMapOutput
- func (VaultClusterMapOutput) ElementType() reflect.Type
- func (o VaultClusterMapOutput) MapIndex(k pulumi.StringInput) VaultClusterOutput
- func (o VaultClusterMapOutput) ToVaultClusterMapOutput() VaultClusterMapOutput
- func (o VaultClusterMapOutput) ToVaultClusterMapOutputWithContext(ctx context.Context) VaultClusterMapOutput
- type VaultClusterMetricsConfig
- type VaultClusterMetricsConfigArgs
- func (VaultClusterMetricsConfigArgs) ElementType() reflect.Type
- func (i VaultClusterMetricsConfigArgs) ToVaultClusterMetricsConfigOutput() VaultClusterMetricsConfigOutput
- func (i VaultClusterMetricsConfigArgs) ToVaultClusterMetricsConfigOutputWithContext(ctx context.Context) VaultClusterMetricsConfigOutput
- func (i VaultClusterMetricsConfigArgs) ToVaultClusterMetricsConfigPtrOutput() VaultClusterMetricsConfigPtrOutput
- func (i VaultClusterMetricsConfigArgs) ToVaultClusterMetricsConfigPtrOutputWithContext(ctx context.Context) VaultClusterMetricsConfigPtrOutput
- type VaultClusterMetricsConfigInput
- type VaultClusterMetricsConfigOutput
- func (o VaultClusterMetricsConfigOutput) DatadogApiKey() pulumi.StringPtrOutput
- func (o VaultClusterMetricsConfigOutput) DatadogRegion() pulumi.StringPtrOutput
- func (VaultClusterMetricsConfigOutput) ElementType() reflect.Type
- func (o VaultClusterMetricsConfigOutput) GrafanaEndpoint() pulumi.StringPtrOutput
- func (o VaultClusterMetricsConfigOutput) GrafanaPassword() pulumi.StringPtrOutput
- func (o VaultClusterMetricsConfigOutput) GrafanaUser() pulumi.StringPtrOutput
- func (o VaultClusterMetricsConfigOutput) SplunkHecendpoint() pulumi.StringPtrOutput
- func (o VaultClusterMetricsConfigOutput) SplunkToken() pulumi.StringPtrOutput
- func (o VaultClusterMetricsConfigOutput) ToVaultClusterMetricsConfigOutput() VaultClusterMetricsConfigOutput
- func (o VaultClusterMetricsConfigOutput) ToVaultClusterMetricsConfigOutputWithContext(ctx context.Context) VaultClusterMetricsConfigOutput
- func (o VaultClusterMetricsConfigOutput) ToVaultClusterMetricsConfigPtrOutput() VaultClusterMetricsConfigPtrOutput
- func (o VaultClusterMetricsConfigOutput) ToVaultClusterMetricsConfigPtrOutputWithContext(ctx context.Context) VaultClusterMetricsConfigPtrOutput
- type VaultClusterMetricsConfigPtrInput
- type VaultClusterMetricsConfigPtrOutput
- func (o VaultClusterMetricsConfigPtrOutput) DatadogApiKey() pulumi.StringPtrOutput
- func (o VaultClusterMetricsConfigPtrOutput) DatadogRegion() pulumi.StringPtrOutput
- func (o VaultClusterMetricsConfigPtrOutput) Elem() VaultClusterMetricsConfigOutput
- func (VaultClusterMetricsConfigPtrOutput) ElementType() reflect.Type
- func (o VaultClusterMetricsConfigPtrOutput) GrafanaEndpoint() pulumi.StringPtrOutput
- func (o VaultClusterMetricsConfigPtrOutput) GrafanaPassword() pulumi.StringPtrOutput
- func (o VaultClusterMetricsConfigPtrOutput) GrafanaUser() pulumi.StringPtrOutput
- func (o VaultClusterMetricsConfigPtrOutput) SplunkHecendpoint() pulumi.StringPtrOutput
- func (o VaultClusterMetricsConfigPtrOutput) SplunkToken() pulumi.StringPtrOutput
- func (o VaultClusterMetricsConfigPtrOutput) ToVaultClusterMetricsConfigPtrOutput() VaultClusterMetricsConfigPtrOutput
- func (o VaultClusterMetricsConfigPtrOutput) ToVaultClusterMetricsConfigPtrOutputWithContext(ctx context.Context) VaultClusterMetricsConfigPtrOutput
- type VaultClusterOutput
- func (o VaultClusterOutput) AuditLogConfig() VaultClusterAuditLogConfigPtrOutput
- func (o VaultClusterOutput) CloudProvider() pulumi.StringOutput
- func (o VaultClusterOutput) ClusterId() pulumi.StringOutput
- func (o VaultClusterOutput) CreatedAt() pulumi.StringOutput
- func (VaultClusterOutput) ElementType() reflect.Type
- func (o VaultClusterOutput) HvnId() pulumi.StringOutput
- func (o VaultClusterOutput) MajorVersionUpgradeConfig() VaultClusterMajorVersionUpgradeConfigOutput
- func (o VaultClusterOutput) MetricsConfig() VaultClusterMetricsConfigPtrOutput
- func (o VaultClusterOutput) MinVaultVersion() pulumi.StringPtrOutput
- func (o VaultClusterOutput) Namespace() pulumi.StringOutput
- func (o VaultClusterOutput) OrganizationId() pulumi.StringOutput
- func (o VaultClusterOutput) PathsFilters() pulumi.StringArrayOutput
- func (o VaultClusterOutput) PrimaryLink() pulumi.StringPtrOutput
- func (o VaultClusterOutput) ProjectId() pulumi.StringOutput
- func (o VaultClusterOutput) PublicEndpoint() pulumi.BoolPtrOutput
- func (o VaultClusterOutput) Region() pulumi.StringOutput
- func (o VaultClusterOutput) SelfLink() pulumi.StringOutput
- func (o VaultClusterOutput) State() pulumi.StringOutput
- func (o VaultClusterOutput) Tier() pulumi.StringOutput
- func (o VaultClusterOutput) ToVaultClusterOutput() VaultClusterOutput
- func (o VaultClusterOutput) ToVaultClusterOutputWithContext(ctx context.Context) VaultClusterOutput
- func (o VaultClusterOutput) VaultPrivateEndpointUrl() pulumi.StringOutput
- func (o VaultClusterOutput) VaultPublicEndpointUrl() pulumi.StringOutput
- func (o VaultClusterOutput) VaultVersion() pulumi.StringOutput
- type VaultClusterState
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PkgVersion ¶
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) ElementType() reflect.Type
func (AwsNetworkPeeringArrayOutput) Index ¶
func (o AwsNetworkPeeringArrayOutput) Index(i pulumi.IntInput) AwsNetworkPeeringOutput
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 (o AwsNetworkPeeringMapOutput) MapIndex(k pulumi.StringInput) AwsNetworkPeeringOutput
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
func (o AwsNetworkPeeringOutput) CreatedAt() pulumi.StringOutput
The time that the network peering was created.
func (AwsNetworkPeeringOutput) ElementType ¶
func (AwsNetworkPeeringOutput) ElementType() reflect.Type
func (AwsNetworkPeeringOutput) ExpiresAt ¶ added in v0.1.4
func (o AwsNetworkPeeringOutput) ExpiresAt() pulumi.StringOutput
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
func (o AwsNetworkPeeringOutput) HvnId() pulumi.StringOutput
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
func (o AwsNetworkPeeringOutput) PeerVpcId() pulumi.StringOutput
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
func (o AwsNetworkPeeringOutput) PeeringId() pulumi.StringOutput
The ID of the network peering.
func (AwsNetworkPeeringOutput) ProjectId ¶ added in v0.1.4
func (o AwsNetworkPeeringOutput) ProjectId() pulumi.StringOutput
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.
func (AwsNetworkPeeringOutput) SelfLink ¶ added in v0.1.4
func (o AwsNetworkPeeringOutput) SelfLink() pulumi.StringOutput
A unique URL identifying the network peering.
func (AwsNetworkPeeringOutput) State ¶ added in v0.1.10
func (o AwsNetworkPeeringOutput) State() pulumi.StringOutput
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 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 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 ¶
func (AwsTransitGatewayAttachmentArgs) ElementType() reflect.Type
type AwsTransitGatewayAttachmentArray ¶
type AwsTransitGatewayAttachmentArray []AwsTransitGatewayAttachmentInput
func (AwsTransitGatewayAttachmentArray) ElementType ¶
func (AwsTransitGatewayAttachmentArray) ElementType() reflect.Type
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) ElementType() reflect.Type
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) ElementType() reflect.Type
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) ElementType() reflect.Type
func (AwsTransitGatewayAttachmentMapOutput) MapIndex ¶
func (o AwsTransitGatewayAttachmentMapOutput) MapIndex(k pulumi.StringInput) AwsTransitGatewayAttachmentOutput
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
func (o AwsTransitGatewayAttachmentOutput) CreatedAt() pulumi.StringOutput
The time that the transit gateway attachment was created.
func (AwsTransitGatewayAttachmentOutput) ElementType ¶
func (AwsTransitGatewayAttachmentOutput) ElementType() reflect.Type
func (AwsTransitGatewayAttachmentOutput) ExpiresAt ¶ added in v0.1.4
func (o AwsTransitGatewayAttachmentOutput) ExpiresAt() pulumi.StringOutput
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
func (o AwsTransitGatewayAttachmentOutput) HvnId() pulumi.StringOutput
The ID of the HashiCorp Virtual Network (HVN).
func (AwsTransitGatewayAttachmentOutput) OrganizationId ¶ added in v0.1.4
func (o AwsTransitGatewayAttachmentOutput) OrganizationId() pulumi.StringOutput
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
func (o AwsTransitGatewayAttachmentOutput) ProjectId() pulumi.StringOutput
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
func (o AwsTransitGatewayAttachmentOutput) ResourceShareArn() pulumi.StringOutput
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))
func (AwsTransitGatewayAttachmentOutput) SelfLink ¶ added in v0.1.4
func (o AwsTransitGatewayAttachmentOutput) SelfLink() pulumi.StringOutput
A unique URL identifying the transit gateway attachment.
func (AwsTransitGatewayAttachmentOutput) State ¶ added in v0.1.4
func (o AwsTransitGatewayAttachmentOutput) State() pulumi.StringOutput
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
func (o AwsTransitGatewayAttachmentOutput) TransitGatewayId() pulumi.StringOutput
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 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 ¶
func (AwsTransitGatewayAttachmentState) ElementType() reflect.Type
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) ElementType() reflect.Type
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) ElementType() reflect.Type
func (AzurePeeringConnectionArrayOutput) Index ¶
func (o AzurePeeringConnectionArrayOutput) Index(i pulumi.IntInput) AzurePeeringConnectionOutput
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) ElementType() reflect.Type
func (AzurePeeringConnectionMapOutput) MapIndex ¶
func (o AzurePeeringConnectionMapOutput) MapIndex(k pulumi.StringInput) AzurePeeringConnectionOutput
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
func (o AzurePeeringConnectionOutput) ApplicationId() pulumi.StringOutput
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
func (o AzurePeeringConnectionOutput) AzurePeeringId() pulumi.StringOutput
The peering connection ID used by Azure.
func (AzurePeeringConnectionOutput) CreatedAt ¶ added in v0.1.4
func (o AzurePeeringConnectionOutput) CreatedAt() pulumi.StringOutput
The time that the peering connection was created.
func (AzurePeeringConnectionOutput) ElementType ¶
func (AzurePeeringConnectionOutput) ElementType() reflect.Type
func (AzurePeeringConnectionOutput) ExpiresAt ¶ added in v0.1.4
func (o AzurePeeringConnectionOutput) ExpiresAt() pulumi.StringOutput
The time after which the peering connection will be considered expired if it hasn't transitioned into `ACCEPTED` or `ACTIVE` state.
func (AzurePeeringConnectionOutput) HvnLink ¶ added in v0.1.4
func (o AzurePeeringConnectionOutput) HvnLink() pulumi.StringOutput
The `selfLink` of the HashiCorp Virtual Network (HVN).
func (AzurePeeringConnectionOutput) OrganizationId ¶ added in v0.1.4
func (o AzurePeeringConnectionOutput) OrganizationId() pulumi.StringOutput
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
func (o AzurePeeringConnectionOutput) PeerTenantId() pulumi.StringOutput
The tenant ID of the peer VNet in Azure.
func (AzurePeeringConnectionOutput) PeerVnetName ¶ added in v0.1.4
func (o AzurePeeringConnectionOutput) PeerVnetName() pulumi.StringOutput
The name of the peer VNet in Azure.
func (AzurePeeringConnectionOutput) PeerVnetRegion ¶ added in v0.1.4
func (o AzurePeeringConnectionOutput) PeerVnetRegion() pulumi.StringOutput
The region of the peer VNet in Azure.
func (AzurePeeringConnectionOutput) PeeringId ¶ added in v0.1.4
func (o AzurePeeringConnectionOutput) PeeringId() pulumi.StringOutput
The ID of the peering connection.
func (AzurePeeringConnectionOutput) ProjectId ¶ added in v0.1.4
func (o AzurePeeringConnectionOutput) ProjectId() pulumi.StringOutput
The ID of the HCP project where the peering connection is located. Always matches the HVN's project.
func (AzurePeeringConnectionOutput) SelfLink ¶ added in v0.1.4
func (o AzurePeeringConnectionOutput) SelfLink() pulumi.StringOutput
A unique URL identifying the peering connection.
func (AzurePeeringConnectionOutput) State ¶ added in v0.1.10
func (o AzurePeeringConnectionOutput) State() pulumi.StringOutput
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 ¶
func (AzurePeeringConnectionState) ElementType() reflect.Type
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 (o BoundaryClusterArrayOutput) Index(i pulumi.IntInput) BoundaryClusterOutput
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 (o BoundaryClusterMapOutput) MapIndex(k pulumi.StringInput) BoundaryClusterOutput
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
func (o BoundaryClusterOutput) ClusterId() pulumi.StringOutput
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
func (o BoundaryClusterOutput) CreatedAt() pulumi.StringOutput
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
func (o BoundaryClusterOutput) Password() pulumi.StringOutput
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
func (o BoundaryClusterOutput) State() pulumi.StringOutput
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
func (o BoundaryClusterOutput) Username() pulumi.StringOutput
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 (o ConsulClusterArrayOutput) Index(i pulumi.IntInput) ConsulClusterOutput
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 (o ConsulClusterMapOutput) MapIndex(k pulumi.StringInput) ConsulClusterOutput
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
func (o ConsulClusterOutput) HvnId() pulumi.StringOutput
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 (ConsulClusterOutput) PrimaryLink ¶ added in v0.1.4
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
func (o ConsulClusterOutput) Region() pulumi.StringOutput
The region where the HCP Consul cluster is located.
func (ConsulClusterOutput) Scale ¶ added in v0.1.4
func (o ConsulClusterOutput) Scale() pulumi.IntOutput
The number of Consul server nodes in the cluster.
func (ConsulClusterOutput) SelfLink ¶ added in v0.1.4
func (o ConsulClusterOutput) SelfLink() pulumi.StringOutput
A unique URL identifying the HCP Consul cluster.
func (ConsulClusterOutput) Size ¶ added in v0.1.4
func (o ConsulClusterOutput) Size() pulumi.StringOutput
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
func (o ConsulClusterOutput) State() pulumi.StringOutput
The state of the HCP Consul cluster.
func (ConsulClusterOutput) Tier ¶ added in v0.1.4
func (o ConsulClusterOutput) Tier() pulumi.StringOutput
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) ElementType() reflect.Type
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) ElementType() reflect.Type
func (ConsulClusterRootTokenArrayOutput) Index ¶
func (o ConsulClusterRootTokenArrayOutput) Index(i pulumi.IntInput) ConsulClusterRootTokenOutput
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) ElementType() reflect.Type
func (ConsulClusterRootTokenMapOutput) MapIndex ¶
func (o ConsulClusterRootTokenMapOutput) MapIndex(k pulumi.StringInput) ConsulClusterRootTokenOutput
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
func (o ConsulClusterRootTokenOutput) AccessorId() pulumi.StringOutput
The accessor ID of the root ACL token.
func (ConsulClusterRootTokenOutput) ClusterId ¶ added in v0.1.4
func (o ConsulClusterRootTokenOutput) ClusterId() pulumi.StringOutput
The ID of the HCP Consul cluster.
func (ConsulClusterRootTokenOutput) ElementType ¶
func (ConsulClusterRootTokenOutput) ElementType() reflect.Type
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
func (o ConsulClusterRootTokenOutput) SecretId() pulumi.StringOutput
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 ¶
func (ConsulClusterRootTokenState) ElementType() reflect.Type
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 (o ConsulSnapshotArrayOutput) Index(i pulumi.IntInput) ConsulSnapshotOutput
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 (o ConsulSnapshotMapOutput) MapIndex(k pulumi.StringInput) ConsulSnapshotOutput
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
func (o ConsulSnapshotOutput) ClusterId() pulumi.StringOutput
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
func (o ConsulSnapshotOutput) ProjectId() pulumi.StringOutput
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
func (o ConsulSnapshotOutput) Size() pulumi.IntOutput
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
func (o ConsulSnapshotOutput) State() pulumi.StringOutput
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 ¶
func (GetConsulAgentHelmConfigOutputArgs) ElementType() reflect.Type
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 GetConsulAgentHelmConfigOutput ¶
func GetConsulAgentHelmConfigOutput(ctx *pulumi.Context, args GetConsulAgentHelmConfigOutputArgs, opts ...pulumi.InvokeOption) GetConsulAgentHelmConfigResultOutput
func (GetConsulAgentHelmConfigResultOutput) ClusterId ¶
func (o GetConsulAgentHelmConfigResultOutput) ClusterId() pulumi.StringOutput
The ID of the HCP Consul cluster.
func (GetConsulAgentHelmConfigResultOutput) Config ¶
func (o GetConsulAgentHelmConfigResultOutput) Config() pulumi.StringOutput
The agent Helm config.
func (GetConsulAgentHelmConfigResultOutput) ElementType ¶
func (GetConsulAgentHelmConfigResultOutput) ElementType() reflect.Type
func (GetConsulAgentHelmConfigResultOutput) ExposeGossipPorts ¶
func (o GetConsulAgentHelmConfigResultOutput) ExposeGossipPorts() pulumi.BoolPtrOutput
Denotes that the gossip ports should be exposed.
func (GetConsulAgentHelmConfigResultOutput) Id ¶
func (o GetConsulAgentHelmConfigResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetConsulAgentHelmConfigResultOutput) KubernetesEndpoint ¶
func (o GetConsulAgentHelmConfigResultOutput) KubernetesEndpoint() pulumi.StringOutput
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 ¶
func (GetConsulAgentKubernetesSecretOutputArgs) ElementType() reflect.Type
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 ¶
func GetConsulAgentKubernetesSecret(ctx *pulumi.Context, args *GetConsulAgentKubernetesSecretArgs, opts ...pulumi.InvokeOption) (*GetConsulAgentKubernetesSecretResult, error)
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 GetConsulAgentKubernetesSecretOutput ¶
func GetConsulAgentKubernetesSecretOutput(ctx *pulumi.Context, args GetConsulAgentKubernetesSecretOutputArgs, opts ...pulumi.InvokeOption) GetConsulAgentKubernetesSecretResultOutput
func (GetConsulAgentKubernetesSecretResultOutput) ClusterId ¶
func (o GetConsulAgentKubernetesSecretResultOutput) ClusterId() pulumi.StringOutput
The ID of the HCP Consul cluster.
func (GetConsulAgentKubernetesSecretResultOutput) ElementType ¶
func (GetConsulAgentKubernetesSecretResultOutput) ElementType() reflect.Type
func (GetConsulAgentKubernetesSecretResultOutput) Id ¶
func (o GetConsulAgentKubernetesSecretResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetConsulAgentKubernetesSecretResultOutput) Secret ¶
func (o GetConsulAgentKubernetesSecretResultOutput) Secret() pulumi.StringOutput
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) ElementType() reflect.Type
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) ElementType() reflect.Type
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) ElementType() reflect.Type
func (GetPackerImageIterationBuildArrayOutput) ToGetPackerImageIterationBuildArrayOutput ¶
func (o GetPackerImageIterationBuildArrayOutput) ToGetPackerImageIterationBuildArrayOutput() GetPackerImageIterationBuildArrayOutput
func (GetPackerImageIterationBuildArrayOutput) ToGetPackerImageIterationBuildArrayOutputWithContext ¶
func (o GetPackerImageIterationBuildArrayOutput) ToGetPackerImageIterationBuildArrayOutputWithContext(ctx context.Context) GetPackerImageIterationBuildArrayOutput
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) ElementType() reflect.Type
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) ElementType() reflect.Type
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) ElementType() reflect.Type
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 ¶
func (o GetPackerImageIterationBuildImageOutput) CreatedAt() pulumi.StringOutput
Creation time of this iteration
func (GetPackerImageIterationBuildImageOutput) ElementType ¶
func (GetPackerImageIterationBuildImageOutput) ElementType() reflect.Type
func (GetPackerImageIterationBuildImageOutput) Id ¶
func (o GetPackerImageIterationBuildImageOutput) Id() pulumi.StringOutput
The ID of this resource.
func (GetPackerImageIterationBuildImageOutput) ImageId ¶
func (o GetPackerImageIterationBuildImageOutput) ImageId() pulumi.StringOutput
func (GetPackerImageIterationBuildImageOutput) Region ¶
func (o GetPackerImageIterationBuildImageOutput) Region() pulumi.StringOutput
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 ¶
func (o GetPackerImageIterationBuildOutput) CloudProvider() pulumi.StringOutput
Name of the cloud provider this image is stored-in, if any.
func (GetPackerImageIterationBuildOutput) ComponentType ¶
func (o GetPackerImageIterationBuildOutput) ComponentType() pulumi.StringOutput
Name of the builder that built this. Ex: 'amazon-ebs.example'.
func (GetPackerImageIterationBuildOutput) CreatedAt ¶
func (o GetPackerImageIterationBuildOutput) CreatedAt() pulumi.StringOutput
Creation time of this build.
func (GetPackerImageIterationBuildOutput) ElementType ¶
func (GetPackerImageIterationBuildOutput) ElementType() reflect.Type
func (GetPackerImageIterationBuildOutput) Id ¶
func (o GetPackerImageIterationBuildOutput) Id() pulumi.StringOutput
HCP ID of this build.
func (GetPackerImageIterationBuildOutput) Labels ¶
func (o GetPackerImageIterationBuildOutput) Labels() pulumi.StringMapOutput
Labels for this build.
func (GetPackerImageIterationBuildOutput) PackerRunUuid ¶
func (o GetPackerImageIterationBuildOutput) PackerRunUuid() pulumi.StringOutput
Packer generated UUID of this build.
func (GetPackerImageIterationBuildOutput) Status ¶
func (o GetPackerImageIterationBuildOutput) Status() pulumi.StringOutput
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 ¶
func (o GetPackerImageIterationBuildOutput) UpdatedAt() pulumi.StringOutput
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 ¶
func (GetPackerImageIterationOutputArgs) ElementType() reflect.Type
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 GetPackerImageIterationOutput ¶
func GetPackerImageIterationOutput(ctx *pulumi.Context, args GetPackerImageIterationOutputArgs, opts ...pulumi.InvokeOption) GetPackerImageIterationResultOutput
func (GetPackerImageIterationResultOutput) BucketName ¶
func (o GetPackerImageIterationResultOutput) BucketName() pulumi.StringOutput
The slug of the HCP Packer Registry image bucket to pull from.
func (GetPackerImageIterationResultOutput) Builds ¶
func (o GetPackerImageIterationResultOutput) Builds() GetPackerImageIterationBuildArrayOutput
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 ¶
func (o GetPackerImageIterationResultOutput) Channel() pulumi.StringOutput
The channel that points to the version of the image you want.
func (GetPackerImageIterationResultOutput) CreatedAt ¶
func (o GetPackerImageIterationResultOutput) CreatedAt() pulumi.StringOutput
Creation time of this iteration
func (GetPackerImageIterationResultOutput) ElementType ¶
func (GetPackerImageIterationResultOutput) ElementType() reflect.Type
func (GetPackerImageIterationResultOutput) Id ¶
func (o GetPackerImageIterationResultOutput) Id() pulumi.StringOutput
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 ¶
func (o GetPackerImageIterationResultOutput) OrganizationId() pulumi.StringOutput
The ID of the organization this HCP Packer registry is located in.
func (GetPackerImageIterationResultOutput) ProjectId ¶
func (o GetPackerImageIterationResultOutput) ProjectId() pulumi.StringOutput
The ID of the project this HCP Packer registry is located in.
func (GetPackerImageIterationResultOutput) RevokeAt ¶ added in v0.1.8
func (o GetPackerImageIterationResultOutput) RevokeAt() pulumi.StringOutput
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 GetPackerImageOutput ¶
func GetPackerImageOutput(ctx *pulumi.Context, args GetPackerImageOutputArgs, opts ...pulumi.InvokeOption) GetPackerImageResultOutput
func (GetPackerImageResultOutput) BucketName ¶
func (o GetPackerImageResultOutput) BucketName() pulumi.StringOutput
The slug of the HCP Packer Registry image bucket to pull from.
func (GetPackerImageResultOutput) BuildId ¶
func (o GetPackerImageResultOutput) BuildId() pulumi.StringOutput
HCP ID of this build.
func (GetPackerImageResultOutput) Channel ¶ added in v0.1.10
func (o GetPackerImageResultOutput) Channel() pulumi.StringPtrOutput
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 ¶
func (o GetPackerImageResultOutput) CloudImageId() pulumi.StringOutput
Cloud Image ID or URL string identifying this image for the builder that built it.
func (GetPackerImageResultOutput) CloudProvider ¶
func (o GetPackerImageResultOutput) CloudProvider() pulumi.StringOutput
Name of the cloud provider this image is stored-in.
func (GetPackerImageResultOutput) ComponentType ¶
func (o GetPackerImageResultOutput) ComponentType() pulumi.StringOutput
Name of the builder that built this image. Ex: `amazon-ebs.example`.
func (GetPackerImageResultOutput) CreatedAt ¶
func (o GetPackerImageResultOutput) CreatedAt() pulumi.StringOutput
Creation time of this build.
func (GetPackerImageResultOutput) ElementType ¶
func (GetPackerImageResultOutput) ElementType() reflect.Type
func (GetPackerImageResultOutput) Id ¶
func (o GetPackerImageResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (GetPackerImageResultOutput) IterationId ¶
func (o GetPackerImageResultOutput) IterationId() pulumi.StringOutput
The iteration from which to get the image. Either this or `channel` must be specified.
func (GetPackerImageResultOutput) Labels ¶
func (o GetPackerImageResultOutput) Labels() pulumi.MapOutput
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 ¶
func (o GetPackerImageResultOutput) PackerRunUuid() pulumi.StringOutput
UUID of this build.
func (GetPackerImageResultOutput) ProjectId ¶
func (o GetPackerImageResultOutput) ProjectId() pulumi.StringOutput
The ID of the project this HCP Packer registry is located in.
func (GetPackerImageResultOutput) Region ¶
func (o GetPackerImageResultOutput) Region() pulumi.StringOutput
Region this image is stored in, if any.
func (GetPackerImageResultOutput) RevokeAt ¶ added in v0.1.8
func (o GetPackerImageResultOutput) RevokeAt() pulumi.StringOutput
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 ¶
func (GetPackerIterationOutputArgs) ElementType() reflect.Type
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 GetPackerIterationOutput ¶
func GetPackerIterationOutput(ctx *pulumi.Context, args GetPackerIterationOutputArgs, opts ...pulumi.InvokeOption) GetPackerIterationResultOutput
func (GetPackerIterationResultOutput) AuthorId ¶
func (o GetPackerIterationResultOutput) AuthorId() pulumi.StringOutput
The name of the person who created this iteration.
func (GetPackerIterationResultOutput) BucketName ¶
func (o GetPackerIterationResultOutput) BucketName() pulumi.StringOutput
The slug of the HCP Packer Registry image bucket to pull from.
func (GetPackerIterationResultOutput) Channel ¶
func (o GetPackerIterationResultOutput) Channel() pulumi.StringOutput
The channel that points to the version of the image you want.
func (GetPackerIterationResultOutput) CreatedAt ¶
func (o GetPackerIterationResultOutput) CreatedAt() pulumi.StringOutput
Creation time of this iteration
func (GetPackerIterationResultOutput) ElementType ¶
func (GetPackerIterationResultOutput) ElementType() reflect.Type
func (GetPackerIterationResultOutput) Fingerprint ¶
func (o GetPackerIterationResultOutput) Fingerprint() pulumi.StringOutput
The unique fingerprint associated with this iteration; often a git sha.
func (GetPackerIterationResultOutput) Id ¶
func (o GetPackerIterationResultOutput) Id() pulumi.StringOutput
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 ¶
func (o GetPackerIterationResultOutput) OrganizationId() pulumi.StringOutput
The ID of the organization this HCP Packer registry is located in.
func (GetPackerIterationResultOutput) ProjectId ¶
func (o GetPackerIterationResultOutput) ProjectId() pulumi.StringOutput
The ID of the project this HCP Packer registry is located in.
func (GetPackerIterationResultOutput) RevokeAt ¶ added in v0.1.8
func (o GetPackerIterationResultOutput) RevokeAt() pulumi.StringOutput
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 ¶
func (o GetPackerIterationResultOutput) Ulid() pulumi.StringOutput
The ULID of this iteration.
func (GetPackerIterationResultOutput) UpdatedAt ¶
func (o GetPackerIterationResultOutput) UpdatedAt() pulumi.StringOutput
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) ElementType() reflect.Type
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) ElementType() reflect.Type
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) ElementType() reflect.Type
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
func (o GetVaultClusterAuditLogConfigOutput) DatadogRegion() pulumi.StringOutput
Datadog region for streaming audit logs
func (GetVaultClusterAuditLogConfigOutput) ElementType ¶ added in v0.1.6
func (GetVaultClusterAuditLogConfigOutput) ElementType() reflect.Type
func (GetVaultClusterAuditLogConfigOutput) GrafanaEndpoint ¶ added in v0.1.6
func (o GetVaultClusterAuditLogConfigOutput) GrafanaEndpoint() pulumi.StringOutput
Grafana endpoint for streaming audit logs
func (GetVaultClusterAuditLogConfigOutput) GrafanaUser ¶ added in v0.1.6
func (o GetVaultClusterAuditLogConfigOutput) GrafanaUser() pulumi.StringOutput
Grafana user for streaming audit logs
func (GetVaultClusterAuditLogConfigOutput) SplunkHecendpoint ¶ added in v0.1.6
func (o GetVaultClusterAuditLogConfigOutput) SplunkHecendpoint() pulumi.StringOutput
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 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) ElementType() reflect.Type
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) ElementType() reflect.Type
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) ElementType() reflect.Type
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) ElementType() reflect.Type
func (GetVaultClusterMajorVersionUpgradeConfigOutput) MaintenanceWindowDay ¶ added in v0.1.12
func (o GetVaultClusterMajorVersionUpgradeConfigOutput) MaintenanceWindowDay() pulumi.StringOutput
func (GetVaultClusterMajorVersionUpgradeConfigOutput) MaintenanceWindowTime ¶ added in v0.1.12
func (o GetVaultClusterMajorVersionUpgradeConfigOutput) MaintenanceWindowTime() pulumi.StringOutput
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
func (o GetVaultClusterMajorVersionUpgradeConfigOutput) UpgradeType() pulumi.StringOutput
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) ElementType() reflect.Type
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) ElementType() reflect.Type
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) ElementType() reflect.Type
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
func (o GetVaultClusterMetricsConfigOutput) DatadogRegion() pulumi.StringOutput
Datadog region for streaming metrics
func (GetVaultClusterMetricsConfigOutput) ElementType ¶ added in v0.1.6
func (GetVaultClusterMetricsConfigOutput) ElementType() reflect.Type
func (GetVaultClusterMetricsConfigOutput) GrafanaEndpoint ¶ added in v0.1.6
func (o GetVaultClusterMetricsConfigOutput) GrafanaEndpoint() pulumi.StringOutput
Grafana endpoint for streaming metrics
func (GetVaultClusterMetricsConfigOutput) GrafanaUser ¶ added in v0.1.6
func (o GetVaultClusterMetricsConfigOutput) GrafanaUser() pulumi.StringOutput
Grafana user for streaming metrics
func (GetVaultClusterMetricsConfigOutput) SplunkHecendpoint ¶ added in v0.1.6
func (o GetVaultClusterMetricsConfigOutput) SplunkHecendpoint() pulumi.StringOutput
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) ToHvnOutput ¶
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 ¶
type HvnArray ¶
type HvnArray []HvnInput
func (HvnArray) ElementType ¶
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) ToHvnArrayOutput ¶
func (o HvnArrayOutput) ToHvnArrayOutput() HvnArrayOutput
func (HvnArrayOutput) ToHvnArrayOutputWithContext ¶
func (o HvnArrayOutput) ToHvnArrayOutputWithContext(ctx context.Context) HvnArrayOutput
type HvnMap ¶
func (HvnMap) ElementType ¶
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) 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 (HvnOutput) SelfLink ¶ added in v0.1.4
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 ¶
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) ElementType() reflect.Type
func (HvnPeeringConnectionArrayOutput) Index ¶
func (o HvnPeeringConnectionArrayOutput) Index(i pulumi.IntInput) HvnPeeringConnectionOutput
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) ElementType() reflect.Type
func (HvnPeeringConnectionMapOutput) MapIndex ¶
func (o HvnPeeringConnectionMapOutput) MapIndex(k pulumi.StringInput) HvnPeeringConnectionOutput
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
func (o HvnPeeringConnectionOutput) CreatedAt() pulumi.StringOutput
The time that the peering connection was created.
func (HvnPeeringConnectionOutput) ElementType ¶
func (HvnPeeringConnectionOutput) ElementType() reflect.Type
func (HvnPeeringConnectionOutput) ExpiresAt ¶ added in v0.1.4
func (o HvnPeeringConnectionOutput) ExpiresAt() pulumi.StringOutput
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
func (o HvnPeeringConnectionOutput) Hvn1() pulumi.StringOutput
The unique URL of one of the HVNs being peered.
func (HvnPeeringConnectionOutput) Hvn2 ¶ added in v0.1.4
func (o HvnPeeringConnectionOutput) Hvn2() pulumi.StringOutput
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
func (o HvnPeeringConnectionOutput) PeeringId() pulumi.StringOutput
The ID of the peering connection.
func (HvnPeeringConnectionOutput) ProjectId ¶ added in v0.1.4
func (o HvnPeeringConnectionOutput) ProjectId() pulumi.StringOutput
The ID of the HCP project where the peering connection is located. Always matches the HVNs' project.
func (HvnPeeringConnectionOutput) SelfLink ¶ added in v0.1.4
func (o HvnPeeringConnectionOutput) SelfLink() pulumi.StringOutput
A unique URL identifying the peering connection
func (HvnPeeringConnectionOutput) State ¶ added in v0.1.10
func (o HvnPeeringConnectionOutput) State() pulumi.StringOutput
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) 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 (o HvnRouteArrayOutput) Index(i pulumi.IntInput) HvnRouteOutput
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 (o HvnRouteMapOutput) MapIndex(k pulumi.StringInput) HvnRouteOutput
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 (HvnRouteOutput) HvnLink ¶ added in v0.1.4
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 (HvnRouteOutput) SelfLink ¶ added in v0.1.4
func (o HvnRouteOutput) SelfLink() pulumi.StringOutput
A unique URL identifying the HVN route.
func (HvnRouteOutput) State ¶ added in v0.1.4
func (o HvnRouteOutput) State() pulumi.StringOutput
The state of the HVN route.
func (HvnRouteOutput) TargetLink ¶ added in v0.1.4
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 ¶
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 ¶
func (LookupAwsNetworkPeeringOutputArgs) ElementType() reflect.Type
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 LookupAwsNetworkPeeringOutput ¶
func LookupAwsNetworkPeeringOutput(ctx *pulumi.Context, args LookupAwsNetworkPeeringOutputArgs, opts ...pulumi.InvokeOption) LookupAwsNetworkPeeringResultOutput
func (LookupAwsNetworkPeeringResultOutput) CreatedAt ¶
func (o LookupAwsNetworkPeeringResultOutput) CreatedAt() pulumi.StringOutput
The time that the network peering was created.
func (LookupAwsNetworkPeeringResultOutput) ElementType ¶
func (LookupAwsNetworkPeeringResultOutput) ElementType() reflect.Type
func (LookupAwsNetworkPeeringResultOutput) ExpiresAt ¶
func (o LookupAwsNetworkPeeringResultOutput) ExpiresAt() pulumi.StringOutput
The time after which the network peering will be considered expired if it hasn't transitioned into `ACCEPTED` or `ACTIVE` state.
func (LookupAwsNetworkPeeringResultOutput) HvnId ¶
func (o LookupAwsNetworkPeeringResultOutput) HvnId() pulumi.StringOutput
The ID of the HashiCorp Virtual Network (HVN).
func (LookupAwsNetworkPeeringResultOutput) Id ¶
func (o LookupAwsNetworkPeeringResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupAwsNetworkPeeringResultOutput) OrganizationId ¶
func (o LookupAwsNetworkPeeringResultOutput) OrganizationId() pulumi.StringOutput
The ID of the HCP organization where the network peering is located. Always matches the HVN's organization.
func (LookupAwsNetworkPeeringResultOutput) PeerAccountId ¶
func (o LookupAwsNetworkPeeringResultOutput) PeerAccountId() pulumi.StringOutput
The account ID of the peer VPC in AWS.
func (LookupAwsNetworkPeeringResultOutput) PeerVpcId ¶
func (o LookupAwsNetworkPeeringResultOutput) PeerVpcId() pulumi.StringOutput
The ID of the peer VPC in AWS.
func (LookupAwsNetworkPeeringResultOutput) PeerVpcRegion ¶
func (o LookupAwsNetworkPeeringResultOutput) PeerVpcRegion() pulumi.StringOutput
The region of the peer VPC in AWS.
func (LookupAwsNetworkPeeringResultOutput) PeeringId ¶
func (o LookupAwsNetworkPeeringResultOutput) PeeringId() pulumi.StringOutput
The ID of the network peering.
func (LookupAwsNetworkPeeringResultOutput) ProjectId ¶
func (o LookupAwsNetworkPeeringResultOutput) ProjectId() pulumi.StringOutput
The ID of the HCP project where the network peering is located. Always matches the HVN's project.
func (LookupAwsNetworkPeeringResultOutput) ProviderPeeringId ¶
func (o LookupAwsNetworkPeeringResultOutput) ProviderPeeringId() pulumi.StringOutput
The peering connection ID used by AWS.
func (LookupAwsNetworkPeeringResultOutput) SelfLink ¶
func (o LookupAwsNetworkPeeringResultOutput) SelfLink() pulumi.StringOutput
A unique URL identifying the network peering.
func (LookupAwsNetworkPeeringResultOutput) State ¶ added in v0.1.10
func (o LookupAwsNetworkPeeringResultOutput) State() pulumi.StringOutput
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 ¶
func (o LookupAwsNetworkPeeringResultOutput) WaitForActiveState() pulumi.BoolPtrOutput
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 ¶
func (LookupAwsTransitGatewayAttachmentOutputArgs) ElementType() reflect.Type
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 ¶
func LookupAwsTransitGatewayAttachment(ctx *pulumi.Context, args *LookupAwsTransitGatewayAttachmentArgs, opts ...pulumi.InvokeOption) (*LookupAwsTransitGatewayAttachmentResult, error)
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 LookupAwsTransitGatewayAttachmentOutput ¶
func LookupAwsTransitGatewayAttachmentOutput(ctx *pulumi.Context, args LookupAwsTransitGatewayAttachmentOutputArgs, opts ...pulumi.InvokeOption) LookupAwsTransitGatewayAttachmentResultOutput
func (LookupAwsTransitGatewayAttachmentResultOutput) CreatedAt ¶
func (o LookupAwsTransitGatewayAttachmentResultOutput) CreatedAt() pulumi.StringOutput
The time that the transit gateway attachment was created.
func (LookupAwsTransitGatewayAttachmentResultOutput) ElementType ¶
func (LookupAwsTransitGatewayAttachmentResultOutput) ElementType() reflect.Type
func (LookupAwsTransitGatewayAttachmentResultOutput) ExpiresAt ¶
func (o LookupAwsTransitGatewayAttachmentResultOutput) ExpiresAt() pulumi.StringOutput
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 ¶
func (o LookupAwsTransitGatewayAttachmentResultOutput) HvnId() pulumi.StringOutput
The ID of the HashiCorp Virtual Network (HVN).
func (LookupAwsTransitGatewayAttachmentResultOutput) Id ¶
func (o LookupAwsTransitGatewayAttachmentResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupAwsTransitGatewayAttachmentResultOutput) OrganizationId ¶
func (o LookupAwsTransitGatewayAttachmentResultOutput) OrganizationId() pulumi.StringOutput
The ID of the HCP organization where the transit gateway attachment is located. Always matches the HVN's organization.
func (LookupAwsTransitGatewayAttachmentResultOutput) ProjectId ¶
func (o LookupAwsTransitGatewayAttachmentResultOutput) ProjectId() pulumi.StringOutput
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.
func (LookupAwsTransitGatewayAttachmentResultOutput) SelfLink ¶
func (o LookupAwsTransitGatewayAttachmentResultOutput) SelfLink() pulumi.StringOutput
A unique URL identifying the transit gateway attachment.
func (LookupAwsTransitGatewayAttachmentResultOutput) State ¶
func (o LookupAwsTransitGatewayAttachmentResultOutput) State() pulumi.StringOutput
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 ¶
func (o LookupAwsTransitGatewayAttachmentResultOutput) TransitGatewayId() pulumi.StringOutput
The ID of the user-owned transit gateway in AWS.
func (LookupAwsTransitGatewayAttachmentResultOutput) WaitForActiveState ¶
func (o LookupAwsTransitGatewayAttachmentResultOutput) WaitForActiveState() pulumi.BoolPtrOutput
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 ¶
func (LookupAzurePeeringConnectionOutputArgs) ElementType() reflect.Type
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 LookupAzurePeeringConnectionOutput ¶
func LookupAzurePeeringConnectionOutput(ctx *pulumi.Context, args LookupAzurePeeringConnectionOutputArgs, opts ...pulumi.InvokeOption) LookupAzurePeeringConnectionResultOutput
func (LookupAzurePeeringConnectionResultOutput) ApplicationId ¶
func (o LookupAzurePeeringConnectionResultOutput) ApplicationId() pulumi.StringOutput
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 ¶
func (o LookupAzurePeeringConnectionResultOutput) AzurePeeringId() pulumi.StringOutput
The peering connection ID used by Azure.
func (LookupAzurePeeringConnectionResultOutput) CreatedAt ¶
func (o LookupAzurePeeringConnectionResultOutput) CreatedAt() pulumi.StringOutput
The time that the peering connection was created.
func (LookupAzurePeeringConnectionResultOutput) ElementType ¶
func (LookupAzurePeeringConnectionResultOutput) ElementType() reflect.Type
func (LookupAzurePeeringConnectionResultOutput) ExpiresAt ¶
func (o LookupAzurePeeringConnectionResultOutput) ExpiresAt() pulumi.StringOutput
The time after which the peering connection will be considered expired if it hasn't transitioned into `ACCEPTED` or `ACTIVE` state.
func (LookupAzurePeeringConnectionResultOutput) HvnLink ¶
func (o LookupAzurePeeringConnectionResultOutput) HvnLink() pulumi.StringOutput
The `selfLink` of the HashiCorp Virtual Network (HVN).
func (LookupAzurePeeringConnectionResultOutput) Id ¶
func (o LookupAzurePeeringConnectionResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupAzurePeeringConnectionResultOutput) OrganizationId ¶
func (o LookupAzurePeeringConnectionResultOutput) OrganizationId() pulumi.StringOutput
The ID of the HCP organization where the peering connection is located. Always matches the HVN's organization.
func (LookupAzurePeeringConnectionResultOutput) PeerResourceGroupName ¶
func (o LookupAzurePeeringConnectionResultOutput) PeerResourceGroupName() pulumi.StringOutput
The resource group name of the peer VNet in Azure.
func (LookupAzurePeeringConnectionResultOutput) PeerSubscriptionId ¶
func (o LookupAzurePeeringConnectionResultOutput) PeerSubscriptionId() pulumi.StringOutput
The subscription ID of the peer VNet in Azure.
func (LookupAzurePeeringConnectionResultOutput) PeerTenantId ¶
func (o LookupAzurePeeringConnectionResultOutput) PeerTenantId() pulumi.StringOutput
The tenant ID of the peer VNet in Azure.
func (LookupAzurePeeringConnectionResultOutput) PeerVnetName ¶
func (o LookupAzurePeeringConnectionResultOutput) PeerVnetName() pulumi.StringOutput
The name of the peer VNet in Azure.
func (LookupAzurePeeringConnectionResultOutput) PeerVnetRegion ¶
func (o LookupAzurePeeringConnectionResultOutput) PeerVnetRegion() pulumi.StringOutput
The region of the peer VNet in Azure.
func (LookupAzurePeeringConnectionResultOutput) PeeringId ¶
func (o LookupAzurePeeringConnectionResultOutput) PeeringId() pulumi.StringOutput
The ID of the peering connection.
func (LookupAzurePeeringConnectionResultOutput) ProjectId ¶
func (o LookupAzurePeeringConnectionResultOutput) ProjectId() pulumi.StringOutput
The ID of the HCP project where the peering connection is located. Always matches the HVN's project.
func (LookupAzurePeeringConnectionResultOutput) SelfLink ¶
func (o LookupAzurePeeringConnectionResultOutput) SelfLink() pulumi.StringOutput
A unique URL identifying the peering connection
func (LookupAzurePeeringConnectionResultOutput) State ¶ added in v0.1.10
func (o LookupAzurePeeringConnectionResultOutput) State() pulumi.StringOutput
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 ¶
func (o LookupAzurePeeringConnectionResultOutput) WaitForActiveState() pulumi.BoolPtrOutput
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
func (LookupBoundaryClusterOutputArgs) ElementType() reflect.Type
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 LookupBoundaryClusterOutput(ctx *pulumi.Context, args LookupBoundaryClusterOutputArgs, opts ...pulumi.InvokeOption) LookupBoundaryClusterResultOutput
func (LookupBoundaryClusterResultOutput) ClusterId ¶ added in v0.1.12
func (o LookupBoundaryClusterResultOutput) ClusterId() pulumi.StringOutput
The ID of the Boundary cluster
func (LookupBoundaryClusterResultOutput) ClusterUrl ¶ added in v0.1.12
func (o LookupBoundaryClusterResultOutput) ClusterUrl() pulumi.StringOutput
A unique URL identifying the Boundary cluster.
func (LookupBoundaryClusterResultOutput) CreatedAt ¶ added in v0.1.12
func (o LookupBoundaryClusterResultOutput) CreatedAt() pulumi.StringOutput
The time that the Boundary cluster was created.
func (LookupBoundaryClusterResultOutput) ElementType ¶ added in v0.1.12
func (LookupBoundaryClusterResultOutput) ElementType() reflect.Type
func (LookupBoundaryClusterResultOutput) Id ¶ added in v0.1.12
func (o LookupBoundaryClusterResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupBoundaryClusterResultOutput) State ¶ added in v0.1.12
func (o LookupBoundaryClusterResultOutput) State() pulumi.StringOutput
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 ¶
func (LookupConsulClusterOutputArgs) ElementType() reflect.Type
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 LookupConsulClusterOutput ¶
func LookupConsulClusterOutput(ctx *pulumi.Context, args LookupConsulClusterOutputArgs, opts ...pulumi.InvokeOption) LookupConsulClusterResultOutput
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 ¶
func (o LookupConsulClusterResultOutput) CloudProvider() pulumi.StringOutput
The provider where the HCP Consul cluster is located. Only 'aws' is available at this time.
func (LookupConsulClusterResultOutput) ClusterId ¶
func (o LookupConsulClusterResultOutput) ClusterId() pulumi.StringOutput
The ID of the HCP Consul cluster.
func (LookupConsulClusterResultOutput) ConnectEnabled ¶
func (o LookupConsulClusterResultOutput) ConnectEnabled() pulumi.BoolOutput
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 ¶
func (o LookupConsulClusterResultOutput) ConsulCaFile() pulumi.StringOutput
The cluster CA file encoded as a Base64 string.
func (LookupConsulClusterResultOutput) ConsulConfigFile ¶
func (o LookupConsulClusterResultOutput) ConsulConfigFile() pulumi.StringOutput
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 ¶
func (o LookupConsulClusterResultOutput) ConsulVersion() pulumi.StringOutput
The Consul version of the cluster.
func (LookupConsulClusterResultOutput) Datacenter ¶
func (o LookupConsulClusterResultOutput) Datacenter() pulumi.StringOutput
The Consul data center name of the cluster. If not specified, it is defaulted to the value of `clusterId`.
func (LookupConsulClusterResultOutput) ElementType ¶
func (LookupConsulClusterResultOutput) ElementType() reflect.Type
func (LookupConsulClusterResultOutput) HvnId ¶
func (o LookupConsulClusterResultOutput) HvnId() pulumi.StringOutput
The ID of the HVN this HCP Consul cluster is associated to.
func (LookupConsulClusterResultOutput) Id ¶
func (o LookupConsulClusterResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupConsulClusterResultOutput) OrganizationId ¶
func (o LookupConsulClusterResultOutput) OrganizationId() pulumi.StringOutput
The ID of the organization the project for this HCP Consul cluster is located.
func (LookupConsulClusterResultOutput) PrimaryLink ¶
func (o LookupConsulClusterResultOutput) PrimaryLink() pulumi.StringOutput
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 ¶
func (o LookupConsulClusterResultOutput) ProjectId() pulumi.StringOutput
The ID of the project this HCP Consul cluster is located.
func (LookupConsulClusterResultOutput) PublicEndpoint ¶
func (o LookupConsulClusterResultOutput) PublicEndpoint() pulumi.BoolOutput
Denotes that the cluster has a public endpoint for the Consul UI. Defaults to false.
func (LookupConsulClusterResultOutput) Region ¶
func (o LookupConsulClusterResultOutput) Region() pulumi.StringOutput
The region where the HCP Consul cluster is located.
func (LookupConsulClusterResultOutput) Scale ¶
func (o LookupConsulClusterResultOutput) Scale() pulumi.IntOutput
The the number of Consul server nodes in the cluster.
func (LookupConsulClusterResultOutput) SelfLink ¶
func (o LookupConsulClusterResultOutput) SelfLink() pulumi.StringOutput
A unique URL identifying the HCP Consul cluster.
func (LookupConsulClusterResultOutput) Size ¶
func (o LookupConsulClusterResultOutput) Size() pulumi.StringOutput
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
func (o LookupConsulClusterResultOutput) State() pulumi.StringOutput
The state of the HCP Consul cluster.
func (LookupConsulClusterResultOutput) Tier ¶
func (o LookupConsulClusterResultOutput) Tier() pulumi.StringOutput
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 ¶
func (LookupHvnPeeringConnectionOutputArgs) ElementType() reflect.Type
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 LookupHvnPeeringConnectionOutput ¶
func LookupHvnPeeringConnectionOutput(ctx *pulumi.Context, args LookupHvnPeeringConnectionOutputArgs, opts ...pulumi.InvokeOption) LookupHvnPeeringConnectionResultOutput
func (LookupHvnPeeringConnectionResultOutput) CreatedAt ¶
func (o LookupHvnPeeringConnectionResultOutput) CreatedAt() pulumi.StringOutput
The time that the peering connection was created.
func (LookupHvnPeeringConnectionResultOutput) ElementType ¶
func (LookupHvnPeeringConnectionResultOutput) ElementType() reflect.Type
func (LookupHvnPeeringConnectionResultOutput) ExpiresAt ¶
func (o LookupHvnPeeringConnectionResultOutput) ExpiresAt() pulumi.StringOutput
The time after which the peering connection will be considered expired if it hasn't transitioned into `ACCEPTED` or `ACTIVE` state.
func (LookupHvnPeeringConnectionResultOutput) Hvn1 ¶
func (o LookupHvnPeeringConnectionResultOutput) Hvn1() pulumi.StringOutput
The unique URL of one of the HVNs being peered.
func (LookupHvnPeeringConnectionResultOutput) Hvn2 ¶
func (o LookupHvnPeeringConnectionResultOutput) Hvn2() pulumi.StringOutput
The unique URL of one of the HVNs being peered.
func (LookupHvnPeeringConnectionResultOutput) Id ¶
func (o LookupHvnPeeringConnectionResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupHvnPeeringConnectionResultOutput) OrganizationId ¶
func (o LookupHvnPeeringConnectionResultOutput) OrganizationId() pulumi.StringOutput
The ID of the HCP organization where the peering connection is located. Always matches the HVNs' organization.
func (LookupHvnPeeringConnectionResultOutput) PeeringId ¶
func (o LookupHvnPeeringConnectionResultOutput) PeeringId() pulumi.StringOutput
The ID of the peering connection.
func (LookupHvnPeeringConnectionResultOutput) ProjectId ¶
func (o LookupHvnPeeringConnectionResultOutput) ProjectId() pulumi.StringOutput
The ID of the HCP project where the peering connection is located. Always matches the HVNs' project.
func (LookupHvnPeeringConnectionResultOutput) SelfLink ¶
func (o LookupHvnPeeringConnectionResultOutput) SelfLink() pulumi.StringOutput
A unique URL identifying the peering connection
func (LookupHvnPeeringConnectionResultOutput) State ¶ added in v0.1.10
func (o LookupHvnPeeringConnectionResultOutput) State() pulumi.StringOutput
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 LookupHvnOutput ¶
func LookupHvnOutput(ctx *pulumi.Context, args LookupHvnOutputArgs, opts ...pulumi.InvokeOption) LookupHvnResultOutput
func (LookupHvnResultOutput) CidrBlock ¶
func (o LookupHvnResultOutput) CidrBlock() pulumi.StringOutput
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 ¶
func (o LookupHvnResultOutput) CreatedAt() pulumi.StringOutput
The time that the HVN was created.
func (LookupHvnResultOutput) ElementType ¶
func (LookupHvnResultOutput) ElementType() reflect.Type
func (LookupHvnResultOutput) HvnId ¶
func (o LookupHvnResultOutput) HvnId() pulumi.StringOutput
The ID of the HashiCorp Virtual Network (HVN).
func (LookupHvnResultOutput) Id ¶
func (o LookupHvnResultOutput) Id() pulumi.StringOutput
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 ¶
func (o LookupHvnResultOutput) ProjectId() pulumi.StringOutput
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 ¶
func (o LookupHvnResultOutput) Region() pulumi.StringOutput
The region where the HVN is located.
func (LookupHvnResultOutput) SelfLink ¶
func (o LookupHvnResultOutput) SelfLink() pulumi.StringOutput
A unique URL identifying the HVN.
func (LookupHvnResultOutput) State ¶ added in v0.1.10
func (o LookupHvnResultOutput) State() pulumi.StringOutput
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 LookupHvnRouteOutput ¶
func LookupHvnRouteOutput(ctx *pulumi.Context, args LookupHvnRouteOutputArgs, opts ...pulumi.InvokeOption) LookupHvnRouteResultOutput
func (LookupHvnRouteResultOutput) CreatedAt ¶
func (o LookupHvnRouteResultOutput) CreatedAt() pulumi.StringOutput
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
func (LookupHvnRouteResultOutput) HvnLink ¶
func (o LookupHvnRouteResultOutput) HvnLink() pulumi.StringOutput
The `selfLink` of the HashiCorp Virtual Network (HVN).
func (LookupHvnRouteResultOutput) HvnRouteId ¶
func (o LookupHvnRouteResultOutput) HvnRouteId() pulumi.StringOutput
The ID of the HVN route.
func (LookupHvnRouteResultOutput) Id ¶
func (o LookupHvnRouteResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupHvnRouteResultOutput) SelfLink ¶
func (o LookupHvnRouteResultOutput) SelfLink() pulumi.StringOutput
A unique URL identifying the HVN route.
func (LookupHvnRouteResultOutput) State ¶
func (o LookupHvnRouteResultOutput) State() pulumi.StringOutput
The state of the HVN route.
func (LookupHvnRouteResultOutput) TargetLink ¶
func (o LookupHvnRouteResultOutput) TargetLink() pulumi.StringOutput
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 ¶
func (LookupVaultClusterOutputArgs) ElementType() reflect.Type
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 LookupVaultClusterOutput ¶
func LookupVaultClusterOutput(ctx *pulumi.Context, args LookupVaultClusterOutputArgs, opts ...pulumi.InvokeOption) LookupVaultClusterResultOutput
func (LookupVaultClusterResultOutput) AuditLogConfigs ¶ added in v0.1.6
func (o LookupVaultClusterResultOutput) AuditLogConfigs() GetVaultClusterAuditLogConfigArrayOutput
The audit logs configuration for export. (https://learn.hashicorp.com/tutorials/cloud/vault-metrics-guide#metrics-streaming-configuration)
func (LookupVaultClusterResultOutput) CloudProvider ¶
func (o LookupVaultClusterResultOutput) CloudProvider() pulumi.StringOutput
The provider where the HCP Vault cluster is located.
func (LookupVaultClusterResultOutput) ClusterId ¶
func (o LookupVaultClusterResultOutput) ClusterId() pulumi.StringOutput
The ID of the HCP Vault cluster.
func (LookupVaultClusterResultOutput) CreatedAt ¶
func (o LookupVaultClusterResultOutput) CreatedAt() pulumi.StringOutput
The time that the Vault cluster was created.
func (LookupVaultClusterResultOutput) ElementType ¶
func (LookupVaultClusterResultOutput) ElementType() reflect.Type
func (LookupVaultClusterResultOutput) HvnId ¶
func (o LookupVaultClusterResultOutput) HvnId() pulumi.StringOutput
The ID of the HVN this HCP Vault cluster is associated to.
func (LookupVaultClusterResultOutput) Id ¶
func (o LookupVaultClusterResultOutput) Id() pulumi.StringOutput
The provider-assigned unique ID for this managed resource.
func (LookupVaultClusterResultOutput) MajorVersionUpgradeConfigs ¶ added in v0.1.12
func (o LookupVaultClusterResultOutput) MajorVersionUpgradeConfigs() GetVaultClusterMajorVersionUpgradeConfigArrayOutput
func (LookupVaultClusterResultOutput) MetricsConfigs ¶ added in v0.1.6
func (o LookupVaultClusterResultOutput) MetricsConfigs() GetVaultClusterMetricsConfigArrayOutput
The metrics configuration for export. (https://learn.hashicorp.com/tutorials/cloud/vault-metrics-guide#metrics-streaming-configuration)
func (LookupVaultClusterResultOutput) MinVaultVersion ¶
func (o LookupVaultClusterResultOutput) MinVaultVersion() pulumi.StringOutput
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 ¶
func (o LookupVaultClusterResultOutput) Namespace() pulumi.StringOutput
The name of the customer namespace this HCP Vault cluster is located in.
func (LookupVaultClusterResultOutput) OrganizationId ¶
func (o LookupVaultClusterResultOutput) OrganizationId() pulumi.StringOutput
The ID of the organization this HCP Vault cluster is located in.
func (LookupVaultClusterResultOutput) PathsFilters ¶ added in v0.1.4
func (o LookupVaultClusterResultOutput) 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 (LookupVaultClusterResultOutput) PrimaryLink ¶
func (o LookupVaultClusterResultOutput) PrimaryLink() pulumi.StringOutput
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 ¶
func (o LookupVaultClusterResultOutput) ProjectId() pulumi.StringOutput
The ID of the project this HCP Vault cluster is located in.
func (LookupVaultClusterResultOutput) PublicEndpoint ¶
func (o LookupVaultClusterResultOutput) PublicEndpoint() pulumi.BoolOutput
Denotes that the cluster has a public endpoint. Defaults to false.
func (LookupVaultClusterResultOutput) Region ¶
func (o LookupVaultClusterResultOutput) Region() pulumi.StringOutput
The region where the HCP Vault cluster is located.
func (LookupVaultClusterResultOutput) SelfLink ¶
func (o LookupVaultClusterResultOutput) SelfLink() pulumi.StringOutput
A unique URL identifying the Vault cluster.
func (LookupVaultClusterResultOutput) State ¶ added in v0.1.10
func (o LookupVaultClusterResultOutput) State() pulumi.StringOutput
The state of the Vault cluster.
func (LookupVaultClusterResultOutput) Tier ¶
func (o LookupVaultClusterResultOutput) Tier() pulumi.StringOutput
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 ¶
func (o LookupVaultClusterResultOutput) VaultVersion() pulumi.StringOutput
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) 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) ElementType() reflect.Type
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) ElementType() reflect.Type
func (VaultClusterAdminTokenArrayOutput) Index ¶
func (o VaultClusterAdminTokenArrayOutput) Index(i pulumi.IntInput) VaultClusterAdminTokenOutput
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) ElementType() reflect.Type
func (VaultClusterAdminTokenMapOutput) MapIndex ¶
func (o VaultClusterAdminTokenMapOutput) MapIndex(k pulumi.StringInput) VaultClusterAdminTokenOutput
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
func (o VaultClusterAdminTokenOutput) ClusterId() pulumi.StringOutput
The ID of the HCP Vault cluster.
func (VaultClusterAdminTokenOutput) CreatedAt ¶ added in v0.1.4
func (o VaultClusterAdminTokenOutput) CreatedAt() pulumi.StringOutput
The time that the admin token was created.
func (VaultClusterAdminTokenOutput) ElementType ¶
func (VaultClusterAdminTokenOutput) ElementType() reflect.Type
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
func (o VaultClusterAdminTokenOutput) Token() pulumi.StringOutput
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 ¶
func (VaultClusterAdminTokenState) ElementType() reflect.Type
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 (o VaultClusterArrayOutput) Index(i pulumi.IntInput) VaultClusterOutput
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) ElementType() reflect.Type
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
func (o VaultClusterAuditLogConfigOutput) DatadogApiKey() pulumi.StringPtrOutput
Datadog api key for streaming audit logs
func (VaultClusterAuditLogConfigOutput) DatadogRegion ¶ added in v0.1.6
func (o VaultClusterAuditLogConfigOutput) DatadogRegion() pulumi.StringPtrOutput
Datadog region for streaming audit logs
func (VaultClusterAuditLogConfigOutput) ElementType ¶ added in v0.1.6
func (VaultClusterAuditLogConfigOutput) ElementType() reflect.Type
func (VaultClusterAuditLogConfigOutput) GrafanaEndpoint ¶ added in v0.1.6
func (o VaultClusterAuditLogConfigOutput) GrafanaEndpoint() pulumi.StringPtrOutput
Grafana endpoint for streaming audit logs
func (VaultClusterAuditLogConfigOutput) GrafanaPassword ¶ added in v0.1.6
func (o VaultClusterAuditLogConfigOutput) GrafanaPassword() pulumi.StringPtrOutput
Grafana password for streaming audit logs
func (VaultClusterAuditLogConfigOutput) GrafanaUser ¶ added in v0.1.6
func (o VaultClusterAuditLogConfigOutput) GrafanaUser() pulumi.StringPtrOutput
Grafana user for streaming audit logs
func (VaultClusterAuditLogConfigOutput) SplunkHecendpoint ¶ added in v0.1.6
func (o VaultClusterAuditLogConfigOutput) SplunkHecendpoint() pulumi.StringPtrOutput
Splunk endpoint for streaming audit logs
func (VaultClusterAuditLogConfigOutput) SplunkToken ¶ added in v0.1.6
func (o VaultClusterAuditLogConfigOutput) SplunkToken() pulumi.StringPtrOutput
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
func VaultClusterAuditLogConfigPtr(v *VaultClusterAuditLogConfigArgs) VaultClusterAuditLogConfigPtrInput
type VaultClusterAuditLogConfigPtrOutput ¶ added in v0.1.6
type VaultClusterAuditLogConfigPtrOutput struct{ *pulumi.OutputState }
func (VaultClusterAuditLogConfigPtrOutput) DatadogApiKey ¶ added in v0.1.6
func (o VaultClusterAuditLogConfigPtrOutput) DatadogApiKey() pulumi.StringPtrOutput
Datadog api key for streaming audit logs
func (VaultClusterAuditLogConfigPtrOutput) DatadogRegion ¶ added in v0.1.6
func (o VaultClusterAuditLogConfigPtrOutput) DatadogRegion() pulumi.StringPtrOutput
Datadog region for streaming audit logs
func (VaultClusterAuditLogConfigPtrOutput) Elem ¶ added in v0.1.6
func (o VaultClusterAuditLogConfigPtrOutput) Elem() VaultClusterAuditLogConfigOutput
func (VaultClusterAuditLogConfigPtrOutput) ElementType ¶ added in v0.1.6
func (VaultClusterAuditLogConfigPtrOutput) ElementType() reflect.Type
func (VaultClusterAuditLogConfigPtrOutput) GrafanaEndpoint ¶ added in v0.1.6
func (o VaultClusterAuditLogConfigPtrOutput) GrafanaEndpoint() pulumi.StringPtrOutput
Grafana endpoint for streaming audit logs
func (VaultClusterAuditLogConfigPtrOutput) GrafanaPassword ¶ added in v0.1.6
func (o VaultClusterAuditLogConfigPtrOutput) GrafanaPassword() pulumi.StringPtrOutput
Grafana password for streaming audit logs
func (VaultClusterAuditLogConfigPtrOutput) GrafanaUser ¶ added in v0.1.6
func (o VaultClusterAuditLogConfigPtrOutput) GrafanaUser() pulumi.StringPtrOutput
Grafana user for streaming audit logs
func (VaultClusterAuditLogConfigPtrOutput) SplunkHecendpoint ¶ added in v0.1.6
func (o VaultClusterAuditLogConfigPtrOutput) SplunkHecendpoint() pulumi.StringPtrOutput
Splunk endpoint for streaming audit logs
func (VaultClusterAuditLogConfigPtrOutput) SplunkToken ¶ added in v0.1.6
func (o VaultClusterAuditLogConfigPtrOutput) SplunkToken() pulumi.StringPtrOutput
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) ElementType() reflect.Type
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) ElementType() reflect.Type
func (VaultClusterMajorVersionUpgradeConfigOutput) MaintenanceWindowDay ¶ added in v0.1.12
func (o VaultClusterMajorVersionUpgradeConfigOutput) MaintenanceWindowDay() pulumi.StringPtrOutput
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
func (o VaultClusterMajorVersionUpgradeConfigOutput) MaintenanceWindowTime() pulumi.StringPtrOutput
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
func (o VaultClusterMajorVersionUpgradeConfigOutput) UpgradeType() pulumi.StringOutput
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
func VaultClusterMajorVersionUpgradeConfigPtr ¶ added in v0.1.12
func VaultClusterMajorVersionUpgradeConfigPtr(v *VaultClusterMajorVersionUpgradeConfigArgs) VaultClusterMajorVersionUpgradeConfigPtrInput
type VaultClusterMajorVersionUpgradeConfigPtrOutput ¶ added in v0.1.12
type VaultClusterMajorVersionUpgradeConfigPtrOutput struct{ *pulumi.OutputState }
func (VaultClusterMajorVersionUpgradeConfigPtrOutput) ElementType ¶ added in v0.1.12
func (VaultClusterMajorVersionUpgradeConfigPtrOutput) ElementType() reflect.Type
func (VaultClusterMajorVersionUpgradeConfigPtrOutput) MaintenanceWindowDay ¶ added in v0.1.12
func (o VaultClusterMajorVersionUpgradeConfigPtrOutput) MaintenanceWindowDay() pulumi.StringPtrOutput
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
func (o VaultClusterMajorVersionUpgradeConfigPtrOutput) MaintenanceWindowTime() pulumi.StringPtrOutput
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
func (o VaultClusterMajorVersionUpgradeConfigPtrOutput) UpgradeType() pulumi.StringPtrOutput
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 (o VaultClusterMapOutput) MapIndex(k pulumi.StringInput) VaultClusterOutput
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) ElementType() reflect.Type
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
func (o VaultClusterMetricsConfigOutput) DatadogApiKey() pulumi.StringPtrOutput
Datadog api key for streaming metrics
func (VaultClusterMetricsConfigOutput) DatadogRegion ¶ added in v0.1.6
func (o VaultClusterMetricsConfigOutput) DatadogRegion() pulumi.StringPtrOutput
Datadog region for streaming metrics
func (VaultClusterMetricsConfigOutput) ElementType ¶ added in v0.1.6
func (VaultClusterMetricsConfigOutput) ElementType() reflect.Type
func (VaultClusterMetricsConfigOutput) GrafanaEndpoint ¶ added in v0.1.6
func (o VaultClusterMetricsConfigOutput) GrafanaEndpoint() pulumi.StringPtrOutput
Grafana endpoint for streaming metrics
func (VaultClusterMetricsConfigOutput) GrafanaPassword ¶ added in v0.1.6
func (o VaultClusterMetricsConfigOutput) GrafanaPassword() pulumi.StringPtrOutput
Grafana password for streaming metrics
func (VaultClusterMetricsConfigOutput) GrafanaUser ¶ added in v0.1.6
func (o VaultClusterMetricsConfigOutput) GrafanaUser() pulumi.StringPtrOutput
Grafana user for streaming metrics
func (VaultClusterMetricsConfigOutput) SplunkHecendpoint ¶ added in v0.1.6
func (o VaultClusterMetricsConfigOutput) SplunkHecendpoint() pulumi.StringPtrOutput
Splunk endpoint for streaming metrics
func (VaultClusterMetricsConfigOutput) SplunkToken ¶ added in v0.1.6
func (o VaultClusterMetricsConfigOutput) SplunkToken() pulumi.StringPtrOutput
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
func VaultClusterMetricsConfigPtr(v *VaultClusterMetricsConfigArgs) VaultClusterMetricsConfigPtrInput
type VaultClusterMetricsConfigPtrOutput ¶ added in v0.1.6
type VaultClusterMetricsConfigPtrOutput struct{ *pulumi.OutputState }
func (VaultClusterMetricsConfigPtrOutput) DatadogApiKey ¶ added in v0.1.6
func (o VaultClusterMetricsConfigPtrOutput) DatadogApiKey() pulumi.StringPtrOutput
Datadog api key for streaming metrics
func (VaultClusterMetricsConfigPtrOutput) DatadogRegion ¶ added in v0.1.6
func (o VaultClusterMetricsConfigPtrOutput) DatadogRegion() pulumi.StringPtrOutput
Datadog region for streaming metrics
func (VaultClusterMetricsConfigPtrOutput) Elem ¶ added in v0.1.6
func (o VaultClusterMetricsConfigPtrOutput) Elem() VaultClusterMetricsConfigOutput
func (VaultClusterMetricsConfigPtrOutput) ElementType ¶ added in v0.1.6
func (VaultClusterMetricsConfigPtrOutput) ElementType() reflect.Type
func (VaultClusterMetricsConfigPtrOutput) GrafanaEndpoint ¶ added in v0.1.6
func (o VaultClusterMetricsConfigPtrOutput) GrafanaEndpoint() pulumi.StringPtrOutput
Grafana endpoint for streaming metrics
func (VaultClusterMetricsConfigPtrOutput) GrafanaPassword ¶ added in v0.1.6
func (o VaultClusterMetricsConfigPtrOutput) GrafanaPassword() pulumi.StringPtrOutput
Grafana password for streaming metrics
func (VaultClusterMetricsConfigPtrOutput) GrafanaUser ¶ added in v0.1.6
func (o VaultClusterMetricsConfigPtrOutput) GrafanaUser() pulumi.StringPtrOutput
Grafana user for streaming metrics
func (VaultClusterMetricsConfigPtrOutput) SplunkHecendpoint ¶ added in v0.1.6
func (o VaultClusterMetricsConfigPtrOutput) SplunkHecendpoint() pulumi.StringPtrOutput
Splunk endpoint for streaming metrics
func (VaultClusterMetricsConfigPtrOutput) SplunkToken ¶ added in v0.1.6
func (o VaultClusterMetricsConfigPtrOutput) SplunkToken() pulumi.StringPtrOutput
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
func (o VaultClusterOutput) AuditLogConfig() VaultClusterAuditLogConfigPtrOutput
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
func (o VaultClusterOutput) HvnId() pulumi.StringOutput
The ID of the HVN this HCP Vault cluster is associated to.
func (VaultClusterOutput) MajorVersionUpgradeConfig ¶ added in v0.1.12
func (o VaultClusterOutput) MajorVersionUpgradeConfig() VaultClusterMajorVersionUpgradeConfigOutput
The Major Version Upgrade configuration.
func (VaultClusterOutput) MetricsConfig ¶ added in v0.1.6
func (o VaultClusterOutput) MetricsConfig() VaultClusterMetricsConfigPtrOutput
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 (VaultClusterOutput) PrimaryLink ¶ added in v0.1.4
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
func (o VaultClusterOutput) Region() pulumi.StringOutput
The region where the HCP Vault cluster is located.
func (VaultClusterOutput) SelfLink ¶ added in v0.1.4
func (o VaultClusterOutput) SelfLink() pulumi.StringOutput
A unique URL identifying the Vault cluster.
func (VaultClusterOutput) State ¶ added in v0.1.10
func (o VaultClusterOutput) State() pulumi.StringOutput
The state of the Vault cluster.
func (VaultClusterOutput) Tier ¶ added in v0.1.4
func (o VaultClusterOutput) Tier() pulumi.StringOutput
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
Source Files ¶
- awsNetworkPeering.go
- awsTransitGatewayAttachment.go
- azurePeeringConnection.go
- boundaryCluster.go
- consulCluster.go
- consulClusterRootToken.go
- consulSnapshot.go
- doc.go
- getAwsNetworkPeering.go
- getAwsTransitGatewayAttachment.go
- getAzurePeeringConnection.go
- getBoundaryCluster.go
- getConsulAgentHelmConfig.go
- getConsulAgentKubernetesSecret.go
- getConsulCluster.go
- getConsulVersions.go
- getHvn.go
- getHvnPeeringConnection.go
- getHvnRoute.go
- getPackerImage.go
- getPackerImageIteration.go
- getPackerIteration.go
- getVaultCluster.go
- hvn.go
- hvnPeeringConnection.go
- hvnRoute.go
- init.go
- provider.go
- pulumiTypes.go
- pulumiUtilities.go
- vaultCluster.go
- vaultClusterAdminToken.go