consul

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2020 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Overview

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

Package consul exports types, functions, subpackages for provisioning consul resources.// A Pulumi package for creating and managing consul resources.

> This provider is a derived work of the [Terraform Provider](https://github.com/terraform-providers/terraform-provider-consul) > distributed under [MPL 2.0](https://www.mozilla.org/en-US/MPL/2.0/). If you encounter a bug or missing feature, > first check the [`pulumi/pulumi-consul` repo](https://github.com/pulumi/pulumi-consul/issues); however, if that doesn't turn up anything, > please consult the source [`terraform-providers/terraform-provider-consul` repo](https://github.com/terraform-providers/terraform-provider-consul/issues).

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

nolint: lll

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AclAuthMethod

type AclAuthMethod struct {
	pulumi.CustomResourceState

	// The raw configuration for this ACL auth method.
	Config pulumi.StringMapOutput `pulumi:"config"`
	// A free form human readable description of the auth method.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The name of the ACL auth method.
	Name pulumi.StringOutput `pulumi:"name"`
	// The namespace to create the policy within.
	Namespace pulumi.StringPtrOutput `pulumi:"namespace"`
	// The type of the ACL auth method.
	Type pulumi.StringOutput `pulumi:"type"`
}

Starting with Consul 1.5.0, the .AclAuthMethod resource can be used to managed Consul ACL auth methods.

> This content is derived from https://github.com/terraform-providers/terraform-provider-consul/blob/master/website/docs/r/acl_auth_method.markdown.

func GetAclAuthMethod

func GetAclAuthMethod(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AclAuthMethodState, opts ...pulumi.ResourceOption) (*AclAuthMethod, error)

GetAclAuthMethod gets an existing AclAuthMethod 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 NewAclAuthMethod

func NewAclAuthMethod(ctx *pulumi.Context,
	name string, args *AclAuthMethodArgs, opts ...pulumi.ResourceOption) (*AclAuthMethod, error)

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

type AclAuthMethodArgs

type AclAuthMethodArgs struct {
	// The raw configuration for this ACL auth method.
	Config pulumi.StringMapInput
	// A free form human readable description of the auth method.
	Description pulumi.StringPtrInput
	// The name of the ACL auth method.
	Name pulumi.StringPtrInput
	// The namespace to create the policy within.
	Namespace pulumi.StringPtrInput
	// The type of the ACL auth method.
	Type pulumi.StringInput
}

The set of arguments for constructing a AclAuthMethod resource.

func (AclAuthMethodArgs) ElementType added in v1.5.0

func (AclAuthMethodArgs) ElementType() reflect.Type

type AclAuthMethodState

type AclAuthMethodState struct {
	// The raw configuration for this ACL auth method.
	Config pulumi.StringMapInput
	// A free form human readable description of the auth method.
	Description pulumi.StringPtrInput
	// The name of the ACL auth method.
	Name pulumi.StringPtrInput
	// The namespace to create the policy within.
	Namespace pulumi.StringPtrInput
	// The type of the ACL auth method.
	Type pulumi.StringPtrInput
}

func (AclAuthMethodState) ElementType added in v1.5.0

func (AclAuthMethodState) ElementType() reflect.Type

type AclBindingRule

type AclBindingRule struct {
	pulumi.CustomResourceState

	// The name of the ACL auth method this rule apply.
	AuthMethod pulumi.StringOutput `pulumi:"authMethod"`
	// The name to bind to a token at login-time.
	BindName pulumi.StringOutput `pulumi:"bindName"`
	// Specifies the way the binding rule affects a token
	// created at login.
	BindType pulumi.StringOutput `pulumi:"bindType"`
	// A free form human readable description of the
	// binding rule.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The namespace to create the binding
	// rule within.
	Namespace pulumi.StringPtrOutput `pulumi:"namespace"`
	// The expression used to math this rule against valid
	// identities returned from an auth method validation.
	Selector pulumi.StringPtrOutput `pulumi:"selector"`
}

Starting with Consul 1.5.0, the .AclBindingRule resource can be used to managed Consul ACL binding rules.

> This content is derived from https://github.com/terraform-providers/terraform-provider-consul/blob/master/website/docs/r/acl_binding_rule.markdown.

func GetAclBindingRule

func GetAclBindingRule(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AclBindingRuleState, opts ...pulumi.ResourceOption) (*AclBindingRule, error)

GetAclBindingRule gets an existing AclBindingRule 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 NewAclBindingRule

func NewAclBindingRule(ctx *pulumi.Context,
	name string, args *AclBindingRuleArgs, opts ...pulumi.ResourceOption) (*AclBindingRule, error)

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

type AclBindingRuleArgs

type AclBindingRuleArgs struct {
	// The name of the ACL auth method this rule apply.
	AuthMethod pulumi.StringInput
	// The name to bind to a token at login-time.
	BindName pulumi.StringInput
	// Specifies the way the binding rule affects a token
	// created at login.
	BindType pulumi.StringInput
	// A free form human readable description of the
	// binding rule.
	Description pulumi.StringPtrInput
	// The namespace to create the binding
	// rule within.
	Namespace pulumi.StringPtrInput
	// The expression used to math this rule against valid
	// identities returned from an auth method validation.
	Selector pulumi.StringPtrInput
}

The set of arguments for constructing a AclBindingRule resource.

func (AclBindingRuleArgs) ElementType added in v1.5.0

func (AclBindingRuleArgs) ElementType() reflect.Type

type AclBindingRuleState

type AclBindingRuleState struct {
	// The name of the ACL auth method this rule apply.
	AuthMethod pulumi.StringPtrInput
	// The name to bind to a token at login-time.
	BindName pulumi.StringPtrInput
	// Specifies the way the binding rule affects a token
	// created at login.
	BindType pulumi.StringPtrInput
	// A free form human readable description of the
	// binding rule.
	Description pulumi.StringPtrInput
	// The namespace to create the binding
	// rule within.
	Namespace pulumi.StringPtrInput
	// The expression used to math this rule against valid
	// identities returned from an auth method validation.
	Selector pulumi.StringPtrInput
}

func (AclBindingRuleState) ElementType added in v1.5.0

func (AclBindingRuleState) ElementType() reflect.Type

type AclPolicy

type AclPolicy struct {
	pulumi.CustomResourceState

	// The datacenters of the policy.
	Datacenters pulumi.StringArrayOutput `pulumi:"datacenters"`
	// The description of the policy.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The name of the policy.
	Name pulumi.StringOutput `pulumi:"name"`
	// The namespace to create the policy within.
	Namespace pulumi.StringPtrOutput `pulumi:"namespace"`
	// The rules of the policy.
	Rules pulumi.StringOutput `pulumi:"rules"`
}

Starting with Consul 1.4.0, the .AclPolicy can be used to managed Consul ACL policies.

> This content is derived from https://github.com/terraform-providers/terraform-provider-consul/blob/master/website/docs/r/acl_policy.html.markdown.

func GetAclPolicy

func GetAclPolicy(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AclPolicyState, opts ...pulumi.ResourceOption) (*AclPolicy, error)

GetAclPolicy gets an existing AclPolicy 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 NewAclPolicy

func NewAclPolicy(ctx *pulumi.Context,
	name string, args *AclPolicyArgs, opts ...pulumi.ResourceOption) (*AclPolicy, error)

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

type AclPolicyArgs

type AclPolicyArgs struct {
	// The datacenters of the policy.
	Datacenters pulumi.StringArrayInput
	// The description of the policy.
	Description pulumi.StringPtrInput
	// The name of the policy.
	Name pulumi.StringPtrInput
	// The namespace to create the policy within.
	Namespace pulumi.StringPtrInput
	// The rules of the policy.
	Rules pulumi.StringInput
}

The set of arguments for constructing a AclPolicy resource.

func (AclPolicyArgs) ElementType added in v1.5.0

func (AclPolicyArgs) ElementType() reflect.Type

type AclPolicyState

type AclPolicyState struct {
	// The datacenters of the policy.
	Datacenters pulumi.StringArrayInput
	// The description of the policy.
	Description pulumi.StringPtrInput
	// The name of the policy.
	Name pulumi.StringPtrInput
	// The namespace to create the policy within.
	Namespace pulumi.StringPtrInput
	// The rules of the policy.
	Rules pulumi.StringPtrInput
}

func (AclPolicyState) ElementType added in v1.5.0

func (AclPolicyState) ElementType() reflect.Type

type AclRole

type AclRole struct {
	pulumi.CustomResourceState

	// A free form human readable description of the role.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The name of the ACL role.
	Name pulumi.StringOutput `pulumi:"name"`
	// The namespace to create the role within.
	Namespace pulumi.StringPtrOutput `pulumi:"namespace"`
	// The list of policies that should be applied to the role.
	Policies pulumi.StringArrayOutput `pulumi:"policies"`
	// The list of service identities that should
	// be applied to the role.
	ServiceIdentities AclRoleServiceIdentityArrayOutput `pulumi:"serviceIdentities"`
}

Starting with Consul 1.5.0, the .AclRole can be used to managed Consul ACL roles.

> This content is derived from https://github.com/terraform-providers/terraform-provider-consul/blob/master/website/docs/r/acl_role.markdown.

func GetAclRole

func GetAclRole(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AclRoleState, opts ...pulumi.ResourceOption) (*AclRole, error)

GetAclRole gets an existing AclRole 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 NewAclRole

func NewAclRole(ctx *pulumi.Context,
	name string, args *AclRoleArgs, opts ...pulumi.ResourceOption) (*AclRole, error)

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

type AclRoleArgs

type AclRoleArgs struct {
	// A free form human readable description of the role.
	Description pulumi.StringPtrInput
	// The name of the ACL role.
	Name pulumi.StringPtrInput
	// The namespace to create the role within.
	Namespace pulumi.StringPtrInput
	// The list of policies that should be applied to the role.
	Policies pulumi.StringArrayInput
	// The list of service identities that should
	// be applied to the role.
	ServiceIdentities AclRoleServiceIdentityArrayInput
}

The set of arguments for constructing a AclRole resource.

func (AclRoleArgs) ElementType added in v1.5.0

func (AclRoleArgs) ElementType() reflect.Type

type AclRoleServiceIdentity added in v1.5.0

type AclRoleServiceIdentity struct {
	// The datacenters the effective policy is valid within.
	Datacenters []string `pulumi:"datacenters"`
	// The name of the service.
	ServiceName string `pulumi:"serviceName"`
}

type AclRoleServiceIdentityArgs added in v1.5.0

type AclRoleServiceIdentityArgs struct {
	// The datacenters the effective policy is valid within.
	Datacenters pulumi.StringArrayInput `pulumi:"datacenters"`
	// The name of the service.
	ServiceName pulumi.StringInput `pulumi:"serviceName"`
}

func (AclRoleServiceIdentityArgs) ElementType added in v1.5.0

func (AclRoleServiceIdentityArgs) ElementType() reflect.Type

func (AclRoleServiceIdentityArgs) ToAclRoleServiceIdentityOutput added in v1.5.0

func (i AclRoleServiceIdentityArgs) ToAclRoleServiceIdentityOutput() AclRoleServiceIdentityOutput

func (AclRoleServiceIdentityArgs) ToAclRoleServiceIdentityOutputWithContext added in v1.5.0

func (i AclRoleServiceIdentityArgs) ToAclRoleServiceIdentityOutputWithContext(ctx context.Context) AclRoleServiceIdentityOutput

type AclRoleServiceIdentityArray added in v1.5.0

type AclRoleServiceIdentityArray []AclRoleServiceIdentityInput

func (AclRoleServiceIdentityArray) ElementType added in v1.5.0

func (AclRoleServiceIdentityArray) ToAclRoleServiceIdentityArrayOutput added in v1.5.0

func (i AclRoleServiceIdentityArray) ToAclRoleServiceIdentityArrayOutput() AclRoleServiceIdentityArrayOutput

func (AclRoleServiceIdentityArray) ToAclRoleServiceIdentityArrayOutputWithContext added in v1.5.0

func (i AclRoleServiceIdentityArray) ToAclRoleServiceIdentityArrayOutputWithContext(ctx context.Context) AclRoleServiceIdentityArrayOutput

type AclRoleServiceIdentityArrayInput added in v1.5.0

type AclRoleServiceIdentityArrayInput interface {
	pulumi.Input

	ToAclRoleServiceIdentityArrayOutput() AclRoleServiceIdentityArrayOutput
	ToAclRoleServiceIdentityArrayOutputWithContext(context.Context) AclRoleServiceIdentityArrayOutput
}

type AclRoleServiceIdentityArrayOutput added in v1.5.0

type AclRoleServiceIdentityArrayOutput struct{ *pulumi.OutputState }

func (AclRoleServiceIdentityArrayOutput) ElementType added in v1.5.0

func (AclRoleServiceIdentityArrayOutput) Index added in v1.5.0

func (AclRoleServiceIdentityArrayOutput) ToAclRoleServiceIdentityArrayOutput added in v1.5.0

func (o AclRoleServiceIdentityArrayOutput) ToAclRoleServiceIdentityArrayOutput() AclRoleServiceIdentityArrayOutput

func (AclRoleServiceIdentityArrayOutput) ToAclRoleServiceIdentityArrayOutputWithContext added in v1.5.0

func (o AclRoleServiceIdentityArrayOutput) ToAclRoleServiceIdentityArrayOutputWithContext(ctx context.Context) AclRoleServiceIdentityArrayOutput

type AclRoleServiceIdentityInput added in v1.5.0

type AclRoleServiceIdentityInput interface {
	pulumi.Input

	ToAclRoleServiceIdentityOutput() AclRoleServiceIdentityOutput
	ToAclRoleServiceIdentityOutputWithContext(context.Context) AclRoleServiceIdentityOutput
}

type AclRoleServiceIdentityOutput added in v1.5.0

type AclRoleServiceIdentityOutput struct{ *pulumi.OutputState }

func (AclRoleServiceIdentityOutput) Datacenters added in v1.5.0

The datacenters the effective policy is valid within.

func (AclRoleServiceIdentityOutput) ElementType added in v1.5.0

func (AclRoleServiceIdentityOutput) ServiceName added in v1.5.0

The name of the service.

func (AclRoleServiceIdentityOutput) ToAclRoleServiceIdentityOutput added in v1.5.0

func (o AclRoleServiceIdentityOutput) ToAclRoleServiceIdentityOutput() AclRoleServiceIdentityOutput

func (AclRoleServiceIdentityOutput) ToAclRoleServiceIdentityOutputWithContext added in v1.5.0

func (o AclRoleServiceIdentityOutput) ToAclRoleServiceIdentityOutputWithContext(ctx context.Context) AclRoleServiceIdentityOutput

type AclRoleState

type AclRoleState struct {
	// A free form human readable description of the role.
	Description pulumi.StringPtrInput
	// The name of the ACL role.
	Name pulumi.StringPtrInput
	// The namespace to create the role within.
	Namespace pulumi.StringPtrInput
	// The list of policies that should be applied to the role.
	Policies pulumi.StringArrayInput
	// The list of service identities that should
	// be applied to the role.
	ServiceIdentities AclRoleServiceIdentityArrayInput
}

func (AclRoleState) ElementType added in v1.5.0

func (AclRoleState) ElementType() reflect.Type

type AclToken

type AclToken struct {
	pulumi.CustomResourceState

	// The uuid of the token. If omitted, Consul will
	// generate a random uuid.
	AccessorId pulumi.StringOutput `pulumi:"accessorId"`
	// The description of the token.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The flag to set the token local to the current datacenter.
	Local pulumi.BoolPtrOutput `pulumi:"local"`
	// The namespace to create the token within.
	Namespace pulumi.StringPtrOutput `pulumi:"namespace"`
	// The list of policies attached to the token.
	Policies pulumi.StringArrayOutput `pulumi:"policies"`
	// The list of roles attached to the token.
	Roles pulumi.StringArrayOutput `pulumi:"roles"`
}

The `.AclToken` resource writes an ACL token into Consul.

> This content is derived from https://github.com/terraform-providers/terraform-provider-consul/blob/master/website/docs/r/acl_token.html.markdown.

func GetAclToken

func GetAclToken(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AclTokenState, opts ...pulumi.ResourceOption) (*AclToken, error)

GetAclToken gets an existing AclToken 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 NewAclToken

func NewAclToken(ctx *pulumi.Context,
	name string, args *AclTokenArgs, opts ...pulumi.ResourceOption) (*AclToken, error)

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

type AclTokenArgs

type AclTokenArgs struct {
	// The uuid of the token. If omitted, Consul will
	// generate a random uuid.
	AccessorId pulumi.StringPtrInput
	// The description of the token.
	Description pulumi.StringPtrInput
	// The flag to set the token local to the current datacenter.
	Local pulumi.BoolPtrInput
	// The namespace to create the token within.
	Namespace pulumi.StringPtrInput
	// The list of policies attached to the token.
	Policies pulumi.StringArrayInput
	// The list of roles attached to the token.
	Roles pulumi.StringArrayInput
}

The set of arguments for constructing a AclToken resource.

func (AclTokenArgs) ElementType added in v1.5.0

func (AclTokenArgs) ElementType() reflect.Type

type AclTokenPolicyAttachment

type AclTokenPolicyAttachment struct {
	pulumi.CustomResourceState

	// The name of the policy attached to the token.
	Policy pulumi.StringOutput `pulumi:"policy"`
	// The id of the token.
	TokenId pulumi.StringOutput `pulumi:"tokenId"`
}

func GetAclTokenPolicyAttachment

func GetAclTokenPolicyAttachment(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AclTokenPolicyAttachmentState, opts ...pulumi.ResourceOption) (*AclTokenPolicyAttachment, error)

GetAclTokenPolicyAttachment gets an existing AclTokenPolicyAttachment 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 NewAclTokenPolicyAttachment

func NewAclTokenPolicyAttachment(ctx *pulumi.Context,
	name string, args *AclTokenPolicyAttachmentArgs, opts ...pulumi.ResourceOption) (*AclTokenPolicyAttachment, error)

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

type AclTokenPolicyAttachmentArgs

type AclTokenPolicyAttachmentArgs struct {
	// The name of the policy attached to the token.
	Policy pulumi.StringInput
	// The id of the token.
	TokenId pulumi.StringInput
}

The set of arguments for constructing a AclTokenPolicyAttachment resource.

func (AclTokenPolicyAttachmentArgs) ElementType added in v1.5.0

type AclTokenPolicyAttachmentState

type AclTokenPolicyAttachmentState struct {
	// The name of the policy attached to the token.
	Policy pulumi.StringPtrInput
	// The id of the token.
	TokenId pulumi.StringPtrInput
}

func (AclTokenPolicyAttachmentState) ElementType added in v1.5.0

type AclTokenState

type AclTokenState struct {
	// The uuid of the token. If omitted, Consul will
	// generate a random uuid.
	AccessorId pulumi.StringPtrInput
	// The description of the token.
	Description pulumi.StringPtrInput
	// The flag to set the token local to the current datacenter.
	Local pulumi.BoolPtrInput
	// The namespace to create the token within.
	Namespace pulumi.StringPtrInput
	// The list of policies attached to the token.
	Policies pulumi.StringArrayInput
	// The list of roles attached to the token.
	Roles pulumi.StringArrayInput
}

func (AclTokenState) ElementType added in v1.5.0

func (AclTokenState) ElementType() reflect.Type

type AgentService

type AgentService struct {
	pulumi.CustomResourceState

	// The address of the service. Defaults to the
	// address of the agent.
	Address pulumi.StringOutput `pulumi:"address"`
	// The name of the service.
	Name pulumi.StringOutput `pulumi:"name"`
	// The port of the service.
	Port pulumi.IntPtrOutput `pulumi:"port"`
	// A list of values that are opaque to Consul,
	// but can be used to distinguish between services or nodes.
	Tags pulumi.StringArrayOutput `pulumi:"tags"`
}

!> The `.AgentService` resource has been deprecated in version 2.0.0 of the provider and will be removed in a future release. Please read the [upgrade guide](https://www.terraform.io/docs/providers/consul/guides/upgrading.html#deprecation-of-consul_agent_service) for more information.

Provides access to the agent service data in Consul. This can be used to define a service associated with a particular agent. Currently, defining health checks for an agent service is not supported.

> This content is derived from https://github.com/terraform-providers/terraform-provider-consul/blob/master/website/docs/r/agent_service.html.markdown.

func GetAgentService

func GetAgentService(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AgentServiceState, opts ...pulumi.ResourceOption) (*AgentService, error)

GetAgentService gets an existing AgentService 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 NewAgentService

func NewAgentService(ctx *pulumi.Context,
	name string, args *AgentServiceArgs, opts ...pulumi.ResourceOption) (*AgentService, error)

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

type AgentServiceArgs

type AgentServiceArgs struct {
	// The address of the service. Defaults to the
	// address of the agent.
	Address pulumi.StringPtrInput
	// The name of the service.
	Name pulumi.StringPtrInput
	// The port of the service.
	Port pulumi.IntPtrInput
	// A list of values that are opaque to Consul,
	// but can be used to distinguish between services or nodes.
	Tags pulumi.StringArrayInput
}

The set of arguments for constructing a AgentService resource.

func (AgentServiceArgs) ElementType added in v1.5.0

func (AgentServiceArgs) ElementType() reflect.Type

type AgentServiceState

type AgentServiceState struct {
	// The address of the service. Defaults to the
	// address of the agent.
	Address pulumi.StringPtrInput
	// The name of the service.
	Name pulumi.StringPtrInput
	// The port of the service.
	Port pulumi.IntPtrInput
	// A list of values that are opaque to Consul,
	// but can be used to distinguish between services or nodes.
	Tags pulumi.StringArrayInput
}

func (AgentServiceState) ElementType added in v1.5.0

func (AgentServiceState) ElementType() reflect.Type

type AutopilotConfig

type AutopilotConfig struct {
	pulumi.CustomResourceState

	// Whether to remove failing servers when a
	// replacement comes online. Defaults to true.
	CleanupDeadServers pulumi.BoolPtrOutput `pulumi:"cleanupDeadServers"`
	// The datacenter to use. This overrides the agent's
	// default datacenter and the datacenter in the provider setup.
	Datacenter pulumi.StringPtrOutput `pulumi:"datacenter"`
	// Whether to disable [upgrade migrations](https://www.consul.io/docs/guides/autopilot.html#redundancy-zones).
	// Defaults to false.
	DisableUpgradeMigration pulumi.BoolPtrOutput `pulumi:"disableUpgradeMigration"`
	// The time after which a server is
	// considered as unhealthy and will be removed. Defaults to `"200ms"`.
	LastContactThreshold pulumi.StringPtrOutput `pulumi:"lastContactThreshold"`
	// The maximum number of Raft log entries a
	// server can trail the leader. Defaults to 250.
	MaxTrailingLogs pulumi.IntPtrOutput `pulumi:"maxTrailingLogs"`
	// The [redundancy zone](https://www.consul.io/docs/guides/autopilot.html#redundancy-zones)
	// tag to use. Consul will try to keep one voting server by zone to take advantage
	// of isolated failure domains. Defaults to an empty string.
	RedundancyZoneTag pulumi.StringPtrOutput `pulumi:"redundancyZoneTag"`
	// The period to wait for a server to be
	// healthy and stable before being promoted to a full, voting member. Defaults to
	// `"10s"`.
	ServerStabilizationTime pulumi.StringPtrOutput `pulumi:"serverStabilizationTime"`
	// The tag to override the version information
	// used during a migration. Defaults to an empty string.
	UpgradeVersionTag pulumi.StringPtrOutput `pulumi:"upgradeVersionTag"`
}

Provides access to the [Autopilot Configuration](https://www.consul.io/docs/guides/autopilot.html) of Consul to automatically manage Consul servers.

It includes to automatically cleanup dead servers, monitor the status of the Raft cluster and stable server introduction.

> This content is derived from https://github.com/terraform-providers/terraform-provider-consul/blob/master/website/docs/r/autopilot_config.html.markdown.

func GetAutopilotConfig

func GetAutopilotConfig(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *AutopilotConfigState, opts ...pulumi.ResourceOption) (*AutopilotConfig, error)

GetAutopilotConfig gets an existing AutopilotConfig 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 NewAutopilotConfig

func NewAutopilotConfig(ctx *pulumi.Context,
	name string, args *AutopilotConfigArgs, opts ...pulumi.ResourceOption) (*AutopilotConfig, error)

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

type AutopilotConfigArgs

type AutopilotConfigArgs struct {
	// Whether to remove failing servers when a
	// replacement comes online. Defaults to true.
	CleanupDeadServers pulumi.BoolPtrInput
	// The datacenter to use. This overrides the agent's
	// default datacenter and the datacenter in the provider setup.
	Datacenter pulumi.StringPtrInput
	// Whether to disable [upgrade migrations](https://www.consul.io/docs/guides/autopilot.html#redundancy-zones).
	// Defaults to false.
	DisableUpgradeMigration pulumi.BoolPtrInput
	// The time after which a server is
	// considered as unhealthy and will be removed. Defaults to `"200ms"`.
	LastContactThreshold pulumi.StringPtrInput
	// The maximum number of Raft log entries a
	// server can trail the leader. Defaults to 250.
	MaxTrailingLogs pulumi.IntPtrInput
	// The [redundancy zone](https://www.consul.io/docs/guides/autopilot.html#redundancy-zones)
	// tag to use. Consul will try to keep one voting server by zone to take advantage
	// of isolated failure domains. Defaults to an empty string.
	RedundancyZoneTag pulumi.StringPtrInput
	// The period to wait for a server to be
	// healthy and stable before being promoted to a full, voting member. Defaults to
	// `"10s"`.
	ServerStabilizationTime pulumi.StringPtrInput
	// The tag to override the version information
	// used during a migration. Defaults to an empty string.
	UpgradeVersionTag pulumi.StringPtrInput
}

The set of arguments for constructing a AutopilotConfig resource.

func (AutopilotConfigArgs) ElementType added in v1.5.0

func (AutopilotConfigArgs) ElementType() reflect.Type

type AutopilotConfigState

type AutopilotConfigState struct {
	// Whether to remove failing servers when a
	// replacement comes online. Defaults to true.
	CleanupDeadServers pulumi.BoolPtrInput
	// The datacenter to use. This overrides the agent's
	// default datacenter and the datacenter in the provider setup.
	Datacenter pulumi.StringPtrInput
	// Whether to disable [upgrade migrations](https://www.consul.io/docs/guides/autopilot.html#redundancy-zones).
	// Defaults to false.
	DisableUpgradeMigration pulumi.BoolPtrInput
	// The time after which a server is
	// considered as unhealthy and will be removed. Defaults to `"200ms"`.
	LastContactThreshold pulumi.StringPtrInput
	// The maximum number of Raft log entries a
	// server can trail the leader. Defaults to 250.
	MaxTrailingLogs pulumi.IntPtrInput
	// The [redundancy zone](https://www.consul.io/docs/guides/autopilot.html#redundancy-zones)
	// tag to use. Consul will try to keep one voting server by zone to take advantage
	// of isolated failure domains. Defaults to an empty string.
	RedundancyZoneTag pulumi.StringPtrInput
	// The period to wait for a server to be
	// healthy and stable before being promoted to a full, voting member. Defaults to
	// `"10s"`.
	ServerStabilizationTime pulumi.StringPtrInput
	// The tag to override the version information
	// used during a migration. Defaults to an empty string.
	UpgradeVersionTag pulumi.StringPtrInput
}

func (AutopilotConfigState) ElementType added in v1.5.0

func (AutopilotConfigState) ElementType() reflect.Type

type CatalogEntry

type CatalogEntry struct {
	pulumi.CustomResourceState

	// The address of the node being added to,
	// or referenced in the catalog.
	Address pulumi.StringOutput `pulumi:"address"`
	// The datacenter to use. This overrides the
	// agent's default datacenter and the datacenter in the provider setup.
	Datacenter pulumi.StringOutput `pulumi:"datacenter"`
	// The name of the node being added to, or
	// referenced in the catalog.
	Node pulumi.StringOutput `pulumi:"node"`
	// A service to optionally associated with
	// the node. Supported values are documented below.
	Services CatalogEntryServiceArrayOutput `pulumi:"services"`
	// ACL token.
	Token pulumi.StringPtrOutput `pulumi:"token"`
}

!> The `.CatalogEntry` resource has been deprecated in version 2.0.0 of the provider and will be removed in a future release. Please read the [upgrade guide](https://www.terraform.io/docs/providers/consul/guides/upgrading.html#deprecation-of-consul_catalog_entry) for more information.

Registers a node or service with the [Consul Catalog](https://www.consul.io/docs/agent/http/catalog.html#catalog_register). Currently, defining health checks is not supported.

> This content is derived from https://github.com/terraform-providers/terraform-provider-consul/blob/master/website/docs/r/catalog_entry.html.markdown.

func GetCatalogEntry

func GetCatalogEntry(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *CatalogEntryState, opts ...pulumi.ResourceOption) (*CatalogEntry, error)

GetCatalogEntry gets an existing CatalogEntry 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 NewCatalogEntry

func NewCatalogEntry(ctx *pulumi.Context,
	name string, args *CatalogEntryArgs, opts ...pulumi.ResourceOption) (*CatalogEntry, error)

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

type CatalogEntryArgs

type CatalogEntryArgs struct {
	// The address of the node being added to,
	// or referenced in the catalog.
	Address pulumi.StringInput
	// The datacenter to use. This overrides the
	// agent's default datacenter and the datacenter in the provider setup.
	Datacenter pulumi.StringPtrInput
	// The name of the node being added to, or
	// referenced in the catalog.
	Node pulumi.StringInput
	// A service to optionally associated with
	// the node. Supported values are documented below.
	Services CatalogEntryServiceArrayInput
	// ACL token.
	Token pulumi.StringPtrInput
}

The set of arguments for constructing a CatalogEntry resource.

func (CatalogEntryArgs) ElementType added in v1.5.0

func (CatalogEntryArgs) ElementType() reflect.Type

type CatalogEntryService added in v1.5.0

type CatalogEntryService struct {
	// The address of the node being added to,
	// or referenced in the catalog.
	Address *string  `pulumi:"address"`
	Id      *string  `pulumi:"id"`
	Name    string   `pulumi:"name"`
	Port    *int     `pulumi:"port"`
	Tags    []string `pulumi:"tags"`
}

type CatalogEntryServiceArgs added in v1.5.0

type CatalogEntryServiceArgs struct {
	// The address of the node being added to,
	// or referenced in the catalog.
	Address pulumi.StringPtrInput   `pulumi:"address"`
	Id      pulumi.StringPtrInput   `pulumi:"id"`
	Name    pulumi.StringInput      `pulumi:"name"`
	Port    pulumi.IntPtrInput      `pulumi:"port"`
	Tags    pulumi.StringArrayInput `pulumi:"tags"`
}

func (CatalogEntryServiceArgs) ElementType added in v1.5.0

func (CatalogEntryServiceArgs) ElementType() reflect.Type

func (CatalogEntryServiceArgs) ToCatalogEntryServiceOutput added in v1.5.0

func (i CatalogEntryServiceArgs) ToCatalogEntryServiceOutput() CatalogEntryServiceOutput

func (CatalogEntryServiceArgs) ToCatalogEntryServiceOutputWithContext added in v1.5.0

func (i CatalogEntryServiceArgs) ToCatalogEntryServiceOutputWithContext(ctx context.Context) CatalogEntryServiceOutput

type CatalogEntryServiceArray added in v1.5.0

type CatalogEntryServiceArray []CatalogEntryServiceInput

func (CatalogEntryServiceArray) ElementType added in v1.5.0

func (CatalogEntryServiceArray) ElementType() reflect.Type

func (CatalogEntryServiceArray) ToCatalogEntryServiceArrayOutput added in v1.5.0

func (i CatalogEntryServiceArray) ToCatalogEntryServiceArrayOutput() CatalogEntryServiceArrayOutput

func (CatalogEntryServiceArray) ToCatalogEntryServiceArrayOutputWithContext added in v1.5.0

func (i CatalogEntryServiceArray) ToCatalogEntryServiceArrayOutputWithContext(ctx context.Context) CatalogEntryServiceArrayOutput

type CatalogEntryServiceArrayInput added in v1.5.0

type CatalogEntryServiceArrayInput interface {
	pulumi.Input

	ToCatalogEntryServiceArrayOutput() CatalogEntryServiceArrayOutput
	ToCatalogEntryServiceArrayOutputWithContext(context.Context) CatalogEntryServiceArrayOutput
}

type CatalogEntryServiceArrayOutput added in v1.5.0

type CatalogEntryServiceArrayOutput struct{ *pulumi.OutputState }

func (CatalogEntryServiceArrayOutput) ElementType added in v1.5.0

func (CatalogEntryServiceArrayOutput) Index added in v1.5.0

func (CatalogEntryServiceArrayOutput) ToCatalogEntryServiceArrayOutput added in v1.5.0

func (o CatalogEntryServiceArrayOutput) ToCatalogEntryServiceArrayOutput() CatalogEntryServiceArrayOutput

func (CatalogEntryServiceArrayOutput) ToCatalogEntryServiceArrayOutputWithContext added in v1.5.0

func (o CatalogEntryServiceArrayOutput) ToCatalogEntryServiceArrayOutputWithContext(ctx context.Context) CatalogEntryServiceArrayOutput

type CatalogEntryServiceInput added in v1.5.0

type CatalogEntryServiceInput interface {
	pulumi.Input

	ToCatalogEntryServiceOutput() CatalogEntryServiceOutput
	ToCatalogEntryServiceOutputWithContext(context.Context) CatalogEntryServiceOutput
}

type CatalogEntryServiceOutput added in v1.5.0

type CatalogEntryServiceOutput struct{ *pulumi.OutputState }

func (CatalogEntryServiceOutput) Address added in v1.5.0

The address of the node being added to, or referenced in the catalog.

func (CatalogEntryServiceOutput) ElementType added in v1.5.0

func (CatalogEntryServiceOutput) ElementType() reflect.Type

func (CatalogEntryServiceOutput) Id added in v1.5.0

func (CatalogEntryServiceOutput) Name added in v1.5.0

func (CatalogEntryServiceOutput) Port added in v1.5.0

func (CatalogEntryServiceOutput) Tags added in v1.5.0

func (CatalogEntryServiceOutput) ToCatalogEntryServiceOutput added in v1.5.0

func (o CatalogEntryServiceOutput) ToCatalogEntryServiceOutput() CatalogEntryServiceOutput

func (CatalogEntryServiceOutput) ToCatalogEntryServiceOutputWithContext added in v1.5.0

func (o CatalogEntryServiceOutput) ToCatalogEntryServiceOutputWithContext(ctx context.Context) CatalogEntryServiceOutput

type CatalogEntryState

type CatalogEntryState struct {
	// The address of the node being added to,
	// or referenced in the catalog.
	Address pulumi.StringPtrInput
	// The datacenter to use. This overrides the
	// agent's default datacenter and the datacenter in the provider setup.
	Datacenter pulumi.StringPtrInput
	// The name of the node being added to, or
	// referenced in the catalog.
	Node pulumi.StringPtrInput
	// A service to optionally associated with
	// the node. Supported values are documented below.
	Services CatalogEntryServiceArrayInput
	// ACL token.
	Token pulumi.StringPtrInput
}

func (CatalogEntryState) ElementType added in v1.5.0

func (CatalogEntryState) ElementType() reflect.Type

type ConfigEntry

type ConfigEntry struct {
	pulumi.CustomResourceState

	// An arbitrary map of configuration values.
	ConfigJson pulumi.StringPtrOutput `pulumi:"configJson"`
	// The kind of configuration entry to register.
	Kind pulumi.StringOutput `pulumi:"kind"`
	// The name of the configuration entry being registred.
	Name pulumi.StringOutput `pulumi:"name"`
}

The [Configuration Entry](https://www.consul.io/docs/agent/config_entries.html) resource can be used to provide cluster-wide defaults for various aspects of Consul.

> This content is derived from https://github.com/terraform-providers/terraform-provider-consul/blob/master/website/docs/r/config_entry.markdown.

func GetConfigEntry

func GetConfigEntry(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ConfigEntryState, opts ...pulumi.ResourceOption) (*ConfigEntry, error)

GetConfigEntry gets an existing ConfigEntry 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 NewConfigEntry

func NewConfigEntry(ctx *pulumi.Context,
	name string, args *ConfigEntryArgs, opts ...pulumi.ResourceOption) (*ConfigEntry, error)

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

type ConfigEntryArgs

type ConfigEntryArgs struct {
	// An arbitrary map of configuration values.
	ConfigJson pulumi.StringPtrInput
	// The kind of configuration entry to register.
	Kind pulumi.StringInput
	// The name of the configuration entry being registred.
	Name pulumi.StringPtrInput
}

The set of arguments for constructing a ConfigEntry resource.

func (ConfigEntryArgs) ElementType added in v1.5.0

func (ConfigEntryArgs) ElementType() reflect.Type

type ConfigEntryState

type ConfigEntryState struct {
	// An arbitrary map of configuration values.
	ConfigJson pulumi.StringPtrInput
	// The kind of configuration entry to register.
	Kind pulumi.StringPtrInput
	// The name of the configuration entry being registred.
	Name pulumi.StringPtrInput
}

func (ConfigEntryState) ElementType added in v1.5.0

func (ConfigEntryState) ElementType() reflect.Type

type GetAclRolePolicy added in v1.5.0

type GetAclRolePolicy struct {
	Id string `pulumi:"id"`
	// The name of the ACL Role.
	Name string `pulumi:"name"`
}

type GetAclRolePolicyArgs added in v1.5.0

type GetAclRolePolicyArgs struct {
	Id pulumi.StringInput `pulumi:"id"`
	// The name of the ACL Role.
	Name pulumi.StringInput `pulumi:"name"`
}

func (GetAclRolePolicyArgs) ElementType added in v1.5.0

func (GetAclRolePolicyArgs) ElementType() reflect.Type

func (GetAclRolePolicyArgs) ToGetAclRolePolicyOutput added in v1.5.0

func (i GetAclRolePolicyArgs) ToGetAclRolePolicyOutput() GetAclRolePolicyOutput

func (GetAclRolePolicyArgs) ToGetAclRolePolicyOutputWithContext added in v1.5.0

func (i GetAclRolePolicyArgs) ToGetAclRolePolicyOutputWithContext(ctx context.Context) GetAclRolePolicyOutput

type GetAclRolePolicyArray added in v1.5.0

type GetAclRolePolicyArray []GetAclRolePolicyInput

func (GetAclRolePolicyArray) ElementType added in v1.5.0

func (GetAclRolePolicyArray) ElementType() reflect.Type

func (GetAclRolePolicyArray) ToGetAclRolePolicyArrayOutput added in v1.5.0

func (i GetAclRolePolicyArray) ToGetAclRolePolicyArrayOutput() GetAclRolePolicyArrayOutput

func (GetAclRolePolicyArray) ToGetAclRolePolicyArrayOutputWithContext added in v1.5.0

func (i GetAclRolePolicyArray) ToGetAclRolePolicyArrayOutputWithContext(ctx context.Context) GetAclRolePolicyArrayOutput

type GetAclRolePolicyArrayInput added in v1.5.0

type GetAclRolePolicyArrayInput interface {
	pulumi.Input

	ToGetAclRolePolicyArrayOutput() GetAclRolePolicyArrayOutput
	ToGetAclRolePolicyArrayOutputWithContext(context.Context) GetAclRolePolicyArrayOutput
}

type GetAclRolePolicyArrayOutput added in v1.5.0

type GetAclRolePolicyArrayOutput struct{ *pulumi.OutputState }

func (GetAclRolePolicyArrayOutput) ElementType added in v1.5.0

func (GetAclRolePolicyArrayOutput) Index added in v1.5.0

func (GetAclRolePolicyArrayOutput) ToGetAclRolePolicyArrayOutput added in v1.5.0

func (o GetAclRolePolicyArrayOutput) ToGetAclRolePolicyArrayOutput() GetAclRolePolicyArrayOutput

func (GetAclRolePolicyArrayOutput) ToGetAclRolePolicyArrayOutputWithContext added in v1.5.0

func (o GetAclRolePolicyArrayOutput) ToGetAclRolePolicyArrayOutputWithContext(ctx context.Context) GetAclRolePolicyArrayOutput

type GetAclRolePolicyInput added in v1.5.0

type GetAclRolePolicyInput interface {
	pulumi.Input

	ToGetAclRolePolicyOutput() GetAclRolePolicyOutput
	ToGetAclRolePolicyOutputWithContext(context.Context) GetAclRolePolicyOutput
}

type GetAclRolePolicyOutput added in v1.5.0

type GetAclRolePolicyOutput struct{ *pulumi.OutputState }

func (GetAclRolePolicyOutput) ElementType added in v1.5.0

func (GetAclRolePolicyOutput) ElementType() reflect.Type

func (GetAclRolePolicyOutput) Id added in v1.5.0

func (GetAclRolePolicyOutput) Name added in v1.5.0

The name of the ACL Role.

func (GetAclRolePolicyOutput) ToGetAclRolePolicyOutput added in v1.5.0

func (o GetAclRolePolicyOutput) ToGetAclRolePolicyOutput() GetAclRolePolicyOutput

func (GetAclRolePolicyOutput) ToGetAclRolePolicyOutputWithContext added in v1.5.0

func (o GetAclRolePolicyOutput) ToGetAclRolePolicyOutputWithContext(ctx context.Context) GetAclRolePolicyOutput

type GetAclRoleServiceIdentity added in v1.5.0

type GetAclRoleServiceIdentity struct {
	Datacenters []string `pulumi:"datacenters"`
	ServiceName *string  `pulumi:"serviceName"`
}

type GetAclRoleServiceIdentityArgs added in v1.5.0

type GetAclRoleServiceIdentityArgs struct {
	Datacenters pulumi.StringArrayInput `pulumi:"datacenters"`
	ServiceName pulumi.StringPtrInput   `pulumi:"serviceName"`
}

func (GetAclRoleServiceIdentityArgs) ElementType added in v1.5.0

func (GetAclRoleServiceIdentityArgs) ToGetAclRoleServiceIdentityOutput added in v1.5.0

func (i GetAclRoleServiceIdentityArgs) ToGetAclRoleServiceIdentityOutput() GetAclRoleServiceIdentityOutput

func (GetAclRoleServiceIdentityArgs) ToGetAclRoleServiceIdentityOutputWithContext added in v1.5.0

func (i GetAclRoleServiceIdentityArgs) ToGetAclRoleServiceIdentityOutputWithContext(ctx context.Context) GetAclRoleServiceIdentityOutput

type GetAclRoleServiceIdentityArray added in v1.5.0

type GetAclRoleServiceIdentityArray []GetAclRoleServiceIdentityInput

func (GetAclRoleServiceIdentityArray) ElementType added in v1.5.0

func (GetAclRoleServiceIdentityArray) ToGetAclRoleServiceIdentityArrayOutput added in v1.5.0

func (i GetAclRoleServiceIdentityArray) ToGetAclRoleServiceIdentityArrayOutput() GetAclRoleServiceIdentityArrayOutput

func (GetAclRoleServiceIdentityArray) ToGetAclRoleServiceIdentityArrayOutputWithContext added in v1.5.0

func (i GetAclRoleServiceIdentityArray) ToGetAclRoleServiceIdentityArrayOutputWithContext(ctx context.Context) GetAclRoleServiceIdentityArrayOutput

type GetAclRoleServiceIdentityArrayInput added in v1.5.0

type GetAclRoleServiceIdentityArrayInput interface {
	pulumi.Input

	ToGetAclRoleServiceIdentityArrayOutput() GetAclRoleServiceIdentityArrayOutput
	ToGetAclRoleServiceIdentityArrayOutputWithContext(context.Context) GetAclRoleServiceIdentityArrayOutput
}

type GetAclRoleServiceIdentityArrayOutput added in v1.5.0

type GetAclRoleServiceIdentityArrayOutput struct{ *pulumi.OutputState }

func (GetAclRoleServiceIdentityArrayOutput) ElementType added in v1.5.0

func (GetAclRoleServiceIdentityArrayOutput) Index added in v1.5.0

func (GetAclRoleServiceIdentityArrayOutput) ToGetAclRoleServiceIdentityArrayOutput added in v1.5.0

func (o GetAclRoleServiceIdentityArrayOutput) ToGetAclRoleServiceIdentityArrayOutput() GetAclRoleServiceIdentityArrayOutput

func (GetAclRoleServiceIdentityArrayOutput) ToGetAclRoleServiceIdentityArrayOutputWithContext added in v1.5.0

func (o GetAclRoleServiceIdentityArrayOutput) ToGetAclRoleServiceIdentityArrayOutputWithContext(ctx context.Context) GetAclRoleServiceIdentityArrayOutput

type GetAclRoleServiceIdentityInput added in v1.5.0

type GetAclRoleServiceIdentityInput interface {
	pulumi.Input

	ToGetAclRoleServiceIdentityOutput() GetAclRoleServiceIdentityOutput
	ToGetAclRoleServiceIdentityOutputWithContext(context.Context) GetAclRoleServiceIdentityOutput
}

type GetAclRoleServiceIdentityOutput added in v1.5.0

type GetAclRoleServiceIdentityOutput struct{ *pulumi.OutputState }

func (GetAclRoleServiceIdentityOutput) Datacenters added in v1.5.0

func (GetAclRoleServiceIdentityOutput) ElementType added in v1.5.0

func (GetAclRoleServiceIdentityOutput) ServiceName added in v1.5.0

func (GetAclRoleServiceIdentityOutput) ToGetAclRoleServiceIdentityOutput added in v1.5.0

func (o GetAclRoleServiceIdentityOutput) ToGetAclRoleServiceIdentityOutput() GetAclRoleServiceIdentityOutput

func (GetAclRoleServiceIdentityOutput) ToGetAclRoleServiceIdentityOutputWithContext added in v1.5.0

func (o GetAclRoleServiceIdentityOutput) ToGetAclRoleServiceIdentityOutputWithContext(ctx context.Context) GetAclRoleServiceIdentityOutput

type GetAclTokenPolicy added in v1.5.0

type GetAclTokenPolicy struct {
	Id   string `pulumi:"id"`
	Name string `pulumi:"name"`
}

type GetAclTokenPolicyArgs added in v1.5.0

type GetAclTokenPolicyArgs struct {
	Id   pulumi.StringInput `pulumi:"id"`
	Name pulumi.StringInput `pulumi:"name"`
}

func (GetAclTokenPolicyArgs) ElementType added in v1.5.0

func (GetAclTokenPolicyArgs) ElementType() reflect.Type

func (GetAclTokenPolicyArgs) ToGetAclTokenPolicyOutput added in v1.5.0

func (i GetAclTokenPolicyArgs) ToGetAclTokenPolicyOutput() GetAclTokenPolicyOutput

func (GetAclTokenPolicyArgs) ToGetAclTokenPolicyOutputWithContext added in v1.5.0

func (i GetAclTokenPolicyArgs) ToGetAclTokenPolicyOutputWithContext(ctx context.Context) GetAclTokenPolicyOutput

type GetAclTokenPolicyArray added in v1.5.0

type GetAclTokenPolicyArray []GetAclTokenPolicyInput

func (GetAclTokenPolicyArray) ElementType added in v1.5.0

func (GetAclTokenPolicyArray) ElementType() reflect.Type

func (GetAclTokenPolicyArray) ToGetAclTokenPolicyArrayOutput added in v1.5.0

func (i GetAclTokenPolicyArray) ToGetAclTokenPolicyArrayOutput() GetAclTokenPolicyArrayOutput

func (GetAclTokenPolicyArray) ToGetAclTokenPolicyArrayOutputWithContext added in v1.5.0

func (i GetAclTokenPolicyArray) ToGetAclTokenPolicyArrayOutputWithContext(ctx context.Context) GetAclTokenPolicyArrayOutput

type GetAclTokenPolicyArrayInput added in v1.5.0

type GetAclTokenPolicyArrayInput interface {
	pulumi.Input

	ToGetAclTokenPolicyArrayOutput() GetAclTokenPolicyArrayOutput
	ToGetAclTokenPolicyArrayOutputWithContext(context.Context) GetAclTokenPolicyArrayOutput
}

type GetAclTokenPolicyArrayOutput added in v1.5.0

type GetAclTokenPolicyArrayOutput struct{ *pulumi.OutputState }

func (GetAclTokenPolicyArrayOutput) ElementType added in v1.5.0

func (GetAclTokenPolicyArrayOutput) Index added in v1.5.0

func (GetAclTokenPolicyArrayOutput) ToGetAclTokenPolicyArrayOutput added in v1.5.0

func (o GetAclTokenPolicyArrayOutput) ToGetAclTokenPolicyArrayOutput() GetAclTokenPolicyArrayOutput

func (GetAclTokenPolicyArrayOutput) ToGetAclTokenPolicyArrayOutputWithContext added in v1.5.0

func (o GetAclTokenPolicyArrayOutput) ToGetAclTokenPolicyArrayOutputWithContext(ctx context.Context) GetAclTokenPolicyArrayOutput

type GetAclTokenPolicyInput added in v1.5.0

type GetAclTokenPolicyInput interface {
	pulumi.Input

	ToGetAclTokenPolicyOutput() GetAclTokenPolicyOutput
	ToGetAclTokenPolicyOutputWithContext(context.Context) GetAclTokenPolicyOutput
}

type GetAclTokenPolicyOutput added in v1.5.0

type GetAclTokenPolicyOutput struct{ *pulumi.OutputState }

func (GetAclTokenPolicyOutput) ElementType added in v1.5.0

func (GetAclTokenPolicyOutput) ElementType() reflect.Type

func (GetAclTokenPolicyOutput) Id added in v1.5.0

func (GetAclTokenPolicyOutput) Name added in v1.5.0

func (GetAclTokenPolicyOutput) ToGetAclTokenPolicyOutput added in v1.5.0

func (o GetAclTokenPolicyOutput) ToGetAclTokenPolicyOutput() GetAclTokenPolicyOutput

func (GetAclTokenPolicyOutput) ToGetAclTokenPolicyOutputWithContext added in v1.5.0

func (o GetAclTokenPolicyOutput) ToGetAclTokenPolicyOutputWithContext(ctx context.Context) GetAclTokenPolicyOutput

type GetAclTokenSecretIdArgs

type GetAclTokenSecretIdArgs struct {
	// The accessor ID of the ACL token.
	AccessorId string  `pulumi:"accessorId"`
	PgpKey     *string `pulumi:"pgpKey"`
}

A collection of arguments for invoking getAclTokenSecretId.

type GetAclTokenSecretIdResult

type GetAclTokenSecretIdResult struct {
	AccessorId        string `pulumi:"accessorId"`
	EncryptedSecretId string `pulumi:"encryptedSecretId"`
	// id is the provider-assigned unique ID for this managed resource.
	Id     string  `pulumi:"id"`
	PgpKey *string `pulumi:"pgpKey"`
	// The secret ID of the ACL token if `gpgKey` has not been set.
	SecretId string `pulumi:"secretId"`
}

A collection of values returned by getAclTokenSecretId.

func GetAclTokenSecretId added in v1.5.0

func GetAclTokenSecretId(ctx *pulumi.Context, args *GetAclTokenSecretIdArgs, opts ...pulumi.InvokeOption) (*GetAclTokenSecretIdResult, error)

type GetAgentConfigResult

type GetAgentConfigResult struct {
	// The datacenter the agent is running in
	Datacenter string `pulumi:"datacenter"`
	// id is the provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The ID of the node the agent is running on
	NodeId string `pulumi:"nodeId"`
	// The name of the node the agent is running on
	NodeName string `pulumi:"nodeName"`
	// The first 9 characters of the VCS revision of the build of Consul that is running
	Revision string `pulumi:"revision"`
	// Boolean if the agent is a server or not
	Server bool `pulumi:"server"`
	// The version of the build of Consul that is running
	Version string `pulumi:"version"`
}

A collection of values returned by getAgentConfig.

func GetAgentConfig added in v1.5.0

func GetAgentConfig(ctx *pulumi.Context, opts ...pulumi.InvokeOption) (*GetAgentConfigResult, error)

> **Note:** The `.getAgentConfig` resource differs from [`.getAgentSelf`](https://www.terraform.io/docs/providers/consul/d/agent_self.html), providing less information but utilizing stable APIs. `.getAgentSelf` will be deprecated in a future release.

The `.getAgentConfig` data source returns [configuration data](https://www.consul.io/api/agent.html#read-configuration) from the agent specified in the `provider`.

> This content is derived from https://github.com/terraform-providers/terraform-provider-consul/blob/master/website/docs/d/agent_config.html.markdown.

type GetAgentSelfResult

type GetAgentSelfResult struct {
	AclDatacenter              string            `pulumi:"aclDatacenter"`
	AclDefaultPolicy           string            `pulumi:"aclDefaultPolicy"`
	AclDisabledTtl             string            `pulumi:"aclDisabledTtl"`
	AclDownPolicy              string            `pulumi:"aclDownPolicy"`
	AclEnforce08Semantics      bool              `pulumi:"aclEnforce08Semantics"`
	AclTtl                     string            `pulumi:"aclTtl"`
	Addresses                  map[string]string `pulumi:"addresses"`
	AdvertiseAddr              string            `pulumi:"advertiseAddr"`
	AdvertiseAddrWan           string            `pulumi:"advertiseAddrWan"`
	AdvertiseAddrs             map[string]string `pulumi:"advertiseAddrs"`
	AtlasJoin                  bool              `pulumi:"atlasJoin"`
	BindAddr                   string            `pulumi:"bindAddr"`
	BootstrapExpect            int               `pulumi:"bootstrapExpect"`
	BootstrapMode              bool              `pulumi:"bootstrapMode"`
	CheckDeregisterIntervalMin string            `pulumi:"checkDeregisterIntervalMin"`
	CheckReapInterval          string            `pulumi:"checkReapInterval"`
	CheckUpdateInterval        string            `pulumi:"checkUpdateInterval"`
	ClientAddr                 string            `pulumi:"clientAddr"`
	DataDir                    string            `pulumi:"dataDir"`
	Datacenter                 string            `pulumi:"datacenter"`
	DevMode                    bool              `pulumi:"devMode"`
	// A map of DNS configuration attributes.  See below for details on the
	// contents of the `dns` attribute.
	// * [`dnsRecursors`](https://www.consul.io/docs/agent/options.html#recursors) - A
	// list of all DNS recursors.
	// * [`dataDir`](https://www.consul.io/docs/agent/options.html#_data_dir)
	// * [`datacenter`](https://www.consul.io/docs/agent/options.html#_datacenter)
	// * [`devMode`](https://www.consul.io/docs/agent/options.html#_dev)
	// * [`domain`](https://www.consul.io/docs/agent/options.html#_domain)
	// * [`enableAnonymousSignature`](https://www.consul.io/docs/agent/options.html#disable_anonymous_signature)
	// * `enableCoordinates`
	// * [`enableDebug`](https://www.consul.io/docs/agent/options.html#enable_debug)
	// * [`enableRemoteExec`](https://www.consul.io/docs/agent/options.html#disable_remote_exec)
	// * [`enableSyslog`](https://www.consul.io/docs/agent/options.html#_syslog)
	// * [`enableUi`](https://www.consul.io/docs/agent/options.html#_ui)
	// * [`enableUpdateCheck`](https://www.consul.io/docs/agent/options.html#disable_update_check)
	// * [`id`](https://www.consul.io/docs/agent/options.html#_node_id)
	// * [`leaveOnInt`](https://www.consul.io/docs/agent/options.html#skip_leave_on_interrupt)
	// * [`leaveOnTerm`](https://www.consul.io/docs/agent/options.html#leave_on_terminate)
	// * [`logLevel`](https://www.consul.io/docs/agent/options.html#_log_level)
	// * [`name`](https://www.consul.io/docs/agent/options.html#_node)
	// * [`performance`](https://www.consul.io/docs/agent/options.html#performance)
	// * [`pidFile`](https://www.consul.io/docs/agent/options.html#_pid_file)
	// * [`ports`](https://www.consul.io/docs/agent/options.html#ports)
	// * [`protocolVersion`](https://www.consul.io/docs/agent/options.html#_protocol)
	// * [`reconnectTimeoutLan`](https://www.consul.io/docs/agent/options.html#reconnect_timeout)
	// * [`reconnectTimeoutWan`](https://www.consul.io/docs/agent/options.html#reconnect_timeout_wan)
	// * [`rejoinAfterLeave`](https://www.consul.io/docs/agent/options.html#_rejoin)
	// * [`retryJoin`](https://www.consul.io/docs/agent/options.html#retry_join)
	// * [`retryJoinEc2`](https://www.consul.io/docs/agent/options.html#retry_join_ec2) -
	// A map of EC2 retry attributes.  See below for details on the available
	// information.
	// * [`retryJoinGce`](https://www.consul.io/docs/agent/options.html#retry_join_gce) -
	// A map of GCE retry attributes.  See below for details on the available
	// information.
	// * [`retryJoinWan`](https://www.consul.io/docs/agent/options.html#_retry_join_wan)
	// * [`retryMaxAttempts`](https://www.consul.io/docs/agent/options.html#_retry_max)
	// * [`retryMaxAttemptsWan`](https://www.consul.io/docs/agent/options.html#_retry_max_wan)
	// * [`serfLanBindAddr`](https://www.consul.io/docs/agent/options.html#_serf_lan_bind)
	// * [`serfWanBindAddr`](https://www.consul.io/docs/agent/options.html#_serf_wan_bind)
	// * [`serverMode`](https://www.consul.io/docs/agent/options.html#_server)
	// * [`serverName`](https://www.consul.io/docs/agent/options.html#server_name)
	// * [`sessionTtlMin`](https://www.consul.io/docs/agent/options.html#session_ttl_min)
	// * [`startJoin`](https://www.consul.io/docs/agent/options.html#start_join)
	// * [`startJoinWan`](https://www.consul.io/docs/agent/options.html#start_join_wan)
	// * [`syslogFacility`](https://www.consul.io/docs/agent/options.html#syslog_facility)
	// * [`tlsCaFile`](https://www.consul.io/docs/agent/options.html#ca_file)
	// * [`tlsCertFile`](https://www.consul.io/docs/agent/options.html#cert_file)
	// * [`tlsKeyFile`](https://www.consul.io/docs/agent/options.html#key_file)
	// * [`tlsMinVersion`](https://www.consul.io/docs/agent/options.html#tls_min_version)
	// * [`tlsVerifyIncoming`](https://www.consul.io/docs/agent/options.html#verify_incoming)
	// * [`tlsVerifyOutgoing`](https://www.consul.io/docs/agent/options.html#verify_outgoing)
	// * [`tlsVerifyServerHostname`](https://www.consul.io/docs/agent/options.html#verify_server_hostname)
	// * [`taggedAddresses`](https://www.consul.io/docs/agent/options.html#translate_wan_addrs)
	// * [`telemetry`](https://www.consul.io/docs/agent/options.html#telemetry) - A map
	// of telemetry configuration.
	// * [`translateWanAddrs`](https://www.consul.io/docs/agent/options.html#translate_wan_addrs)
	// * [`uiDir`](https://www.consul.io/docs/agent/options.html#ui_dir)
	// * [`unixSockets`](https://www.consul.io/docs/agent/options.html#unix_sockets)
	Dns                      map[string]string `pulumi:"dns"`
	DnsRecursors             []string          `pulumi:"dnsRecursors"`
	Domain                   string            `pulumi:"domain"`
	EnableAnonymousSignature bool              `pulumi:"enableAnonymousSignature"`
	EnableCoordinates        bool              `pulumi:"enableCoordinates"`
	EnableDebug              bool              `pulumi:"enableDebug"`
	EnableRemoteExec         bool              `pulumi:"enableRemoteExec"`
	EnableSyslog             bool              `pulumi:"enableSyslog"`
	EnableUi                 bool              `pulumi:"enableUi"`
	EnableUpdateCheck        bool              `pulumi:"enableUpdateCheck"`
	Id                       string            `pulumi:"id"`
	LeaveOnInt               bool              `pulumi:"leaveOnInt"`
	LeaveOnTerm              bool              `pulumi:"leaveOnTerm"`
	LogLevel                 string            `pulumi:"logLevel"`
	Name                     string            `pulumi:"name"`
	Performance              map[string]string `pulumi:"performance"`
	PidFile                  string            `pulumi:"pidFile"`
	Ports                    map[string]int    `pulumi:"ports"`
	ProtocolVersion          int               `pulumi:"protocolVersion"`
	ReconnectTimeoutLan      string            `pulumi:"reconnectTimeoutLan"`
	ReconnectTimeoutWan      string            `pulumi:"reconnectTimeoutWan"`
	RejoinAfterLeave         bool              `pulumi:"rejoinAfterLeave"`
	RetryJoinEc2             map[string]string `pulumi:"retryJoinEc2"`
	RetryJoinGce             map[string]string `pulumi:"retryJoinGce"`
	RetryJoinWans            []string          `pulumi:"retryJoinWans"`
	RetryJoins               []string          `pulumi:"retryJoins"`
	RetryMaxAttempts         int               `pulumi:"retryMaxAttempts"`
	RetryMaxAttemptsWan      int               `pulumi:"retryMaxAttemptsWan"`
	SerfLanBindAddr          string            `pulumi:"serfLanBindAddr"`
	SerfWanBindAddr          string            `pulumi:"serfWanBindAddr"`
	ServerMode               bool              `pulumi:"serverMode"`
	ServerName               string            `pulumi:"serverName"`
	SessionTtlMin            string            `pulumi:"sessionTtlMin"`
	StartJoinWans            []string          `pulumi:"startJoinWans"`
	StartJoins               []string          `pulumi:"startJoins"`
	SyslogFacility           string            `pulumi:"syslogFacility"`
	TaggedAddresses          map[string]string `pulumi:"taggedAddresses"`
	Telemetry                map[string]string `pulumi:"telemetry"`
	TlsCaFile                string            `pulumi:"tlsCaFile"`
	TlsCertFile              string            `pulumi:"tlsCertFile"`
	TlsKeyFile               string            `pulumi:"tlsKeyFile"`
	TlsMinVersion            string            `pulumi:"tlsMinVersion"`
	TlsVerifyIncoming        bool              `pulumi:"tlsVerifyIncoming"`
	TlsVerifyOutgoing        bool              `pulumi:"tlsVerifyOutgoing"`
	TlsVerifyServerHostname  bool              `pulumi:"tlsVerifyServerHostname"`
	TranslateWanAddrs        bool              `pulumi:"translateWanAddrs"`
	UiDir                    string            `pulumi:"uiDir"`
	UnixSockets              map[string]string `pulumi:"unixSockets"`
	// The version of the Consul agent.
	// * `versionPrerelease`
	// * `versionRevision`
	Version           string `pulumi:"version"`
	VersionPrerelease string `pulumi:"versionPrerelease"`
	VersionRevision   string `pulumi:"versionRevision"`
}

A collection of values returned by getAgentSelf.

func GetAgentSelf added in v1.5.0

func GetAgentSelf(ctx *pulumi.Context, opts ...pulumi.InvokeOption) (*GetAgentSelfResult, error)

> **Warning:** The `.getAgentSelf` resource has been deprecated and will be removed from a future release of the provider. Read the [upgrade instructions](https://www.terraform.io/docs/providers/consul/guides/upgrading.html#deprecation-of-consul_agent_self) for more information.

The `.getAgentSelf` data source returns [configuration and status data](https://www.consul.io/docs/agent/http/agent.html#agent_self) from the agent specified in the `provider`.

> This content is derived from https://github.com/terraform-providers/terraform-provider-consul/blob/master/website/docs/d/agent_self.html.markdown.

type GetAutopilotHealthArgs

type GetAutopilotHealthArgs struct {
	// The datacenter to use. This overrides the agent's
	// default datacenter and the datacenter in the provider setup.
	Datacenter *string `pulumi:"datacenter"`
}

A collection of arguments for invoking getAutopilotHealth.

type GetAutopilotHealthResult

type GetAutopilotHealthResult struct {
	Datacenter *string `pulumi:"datacenter"`
	// The number of redundant healthy servers that could fail
	// without causing an outage
	FailureTolerance int `pulumi:"failureTolerance"`
	// Whether the server is healthy according to the current Autopilot
	// configuration
	Healthy bool `pulumi:"healthy"`
	// id is the provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// A list of server health information. See below for details on the
	// available information.
	Servers []GetAutopilotHealthServer `pulumi:"servers"`
}

A collection of values returned by getAutopilotHealth.

func GetAutopilotHealth added in v1.5.0

func GetAutopilotHealth(ctx *pulumi.Context, args *GetAutopilotHealthArgs, opts ...pulumi.InvokeOption) (*GetAutopilotHealthResult, error)

The `.getAutopilotHealth` data source returns [autopilot health information](https://www.consul.io/api/operator/autopilot.html#read-health) about the current Consul cluster.

> This content is derived from https://github.com/terraform-providers/terraform-provider-consul/blob/master/website/docs/d/autopilot_health.html.markdown.

type GetAutopilotHealthServer added in v1.5.0

type GetAutopilotHealthServer struct {
	// The address of the server
	Address string `pulumi:"address"`
	// Whether the server is healthy according to the current Autopilot
	// configuration
	Healthy bool `pulumi:"healthy"`
	// The Raft ID of the server
	Id string `pulumi:"id"`
	// The time elapsed since the server's last contact with
	// the leader
	LastContact string `pulumi:"lastContact"`
	// The index of the server's last committed Raft log entry
	LastIndex int `pulumi:"lastIndex"`
	// The server's last known Raft leader term
	LastTerm int `pulumi:"lastTerm"`
	// Whether the server is currently leader
	Leader bool `pulumi:"leader"`
	// The node name of the server
	Name string `pulumi:"name"`
	// The status of the SerfHealth check of the server
	SerfStatus string `pulumi:"serfStatus"`
	// The time this server has been in its current “Healthy“
	// state
	StableSince string `pulumi:"stableSince"`
	// The Consul version of the server
	Version string `pulumi:"version"`
	// Whether the server is a voting member of the Raft cluster
	Voter bool `pulumi:"voter"`
}

type GetAutopilotHealthServerArgs added in v1.5.0

type GetAutopilotHealthServerArgs struct {
	// The address of the server
	Address pulumi.StringInput `pulumi:"address"`
	// Whether the server is healthy according to the current Autopilot
	// configuration
	Healthy pulumi.BoolInput `pulumi:"healthy"`
	// The Raft ID of the server
	Id pulumi.StringInput `pulumi:"id"`
	// The time elapsed since the server's last contact with
	// the leader
	LastContact pulumi.StringInput `pulumi:"lastContact"`
	// The index of the server's last committed Raft log entry
	LastIndex pulumi.IntInput `pulumi:"lastIndex"`
	// The server's last known Raft leader term
	LastTerm pulumi.IntInput `pulumi:"lastTerm"`
	// Whether the server is currently leader
	Leader pulumi.BoolInput `pulumi:"leader"`
	// The node name of the server
	Name pulumi.StringInput `pulumi:"name"`
	// The status of the SerfHealth check of the server
	SerfStatus pulumi.StringInput `pulumi:"serfStatus"`
	// The time this server has been in its current “Healthy“
	// state
	StableSince pulumi.StringInput `pulumi:"stableSince"`
	// The Consul version of the server
	Version pulumi.StringInput `pulumi:"version"`
	// Whether the server is a voting member of the Raft cluster
	Voter pulumi.BoolInput `pulumi:"voter"`
}

func (GetAutopilotHealthServerArgs) ElementType added in v1.5.0

func (GetAutopilotHealthServerArgs) ToGetAutopilotHealthServerOutput added in v1.5.0

func (i GetAutopilotHealthServerArgs) ToGetAutopilotHealthServerOutput() GetAutopilotHealthServerOutput

func (GetAutopilotHealthServerArgs) ToGetAutopilotHealthServerOutputWithContext added in v1.5.0

func (i GetAutopilotHealthServerArgs) ToGetAutopilotHealthServerOutputWithContext(ctx context.Context) GetAutopilotHealthServerOutput

type GetAutopilotHealthServerArray added in v1.5.0

type GetAutopilotHealthServerArray []GetAutopilotHealthServerInput

func (GetAutopilotHealthServerArray) ElementType added in v1.5.0

func (GetAutopilotHealthServerArray) ToGetAutopilotHealthServerArrayOutput added in v1.5.0

func (i GetAutopilotHealthServerArray) ToGetAutopilotHealthServerArrayOutput() GetAutopilotHealthServerArrayOutput

func (GetAutopilotHealthServerArray) ToGetAutopilotHealthServerArrayOutputWithContext added in v1.5.0

func (i GetAutopilotHealthServerArray) ToGetAutopilotHealthServerArrayOutputWithContext(ctx context.Context) GetAutopilotHealthServerArrayOutput

type GetAutopilotHealthServerArrayInput added in v1.5.0

type GetAutopilotHealthServerArrayInput interface {
	pulumi.Input

	ToGetAutopilotHealthServerArrayOutput() GetAutopilotHealthServerArrayOutput
	ToGetAutopilotHealthServerArrayOutputWithContext(context.Context) GetAutopilotHealthServerArrayOutput
}

type GetAutopilotHealthServerArrayOutput added in v1.5.0

type GetAutopilotHealthServerArrayOutput struct{ *pulumi.OutputState }

func (GetAutopilotHealthServerArrayOutput) ElementType added in v1.5.0

func (GetAutopilotHealthServerArrayOutput) Index added in v1.5.0

func (GetAutopilotHealthServerArrayOutput) ToGetAutopilotHealthServerArrayOutput added in v1.5.0

func (o GetAutopilotHealthServerArrayOutput) ToGetAutopilotHealthServerArrayOutput() GetAutopilotHealthServerArrayOutput

func (GetAutopilotHealthServerArrayOutput) ToGetAutopilotHealthServerArrayOutputWithContext added in v1.5.0

func (o GetAutopilotHealthServerArrayOutput) ToGetAutopilotHealthServerArrayOutputWithContext(ctx context.Context) GetAutopilotHealthServerArrayOutput

type GetAutopilotHealthServerInput added in v1.5.0

type GetAutopilotHealthServerInput interface {
	pulumi.Input

	ToGetAutopilotHealthServerOutput() GetAutopilotHealthServerOutput
	ToGetAutopilotHealthServerOutputWithContext(context.Context) GetAutopilotHealthServerOutput
}

type GetAutopilotHealthServerOutput added in v1.5.0

type GetAutopilotHealthServerOutput struct{ *pulumi.OutputState }

func (GetAutopilotHealthServerOutput) Address added in v1.5.0

The address of the server

func (GetAutopilotHealthServerOutput) ElementType added in v1.5.0

func (GetAutopilotHealthServerOutput) Healthy added in v1.5.0

Whether the server is healthy according to the current Autopilot configuration

func (GetAutopilotHealthServerOutput) Id added in v1.5.0

The Raft ID of the server

func (GetAutopilotHealthServerOutput) LastContact added in v1.5.0

The time elapsed since the server's last contact with the leader

func (GetAutopilotHealthServerOutput) LastIndex added in v1.5.0

The index of the server's last committed Raft log entry

func (GetAutopilotHealthServerOutput) LastTerm added in v1.5.0

The server's last known Raft leader term

func (GetAutopilotHealthServerOutput) Leader added in v1.5.0

Whether the server is currently leader

func (GetAutopilotHealthServerOutput) Name added in v1.5.0

The node name of the server

func (GetAutopilotHealthServerOutput) SerfStatus added in v1.5.0

The status of the SerfHealth check of the server

func (GetAutopilotHealthServerOutput) StableSince added in v1.5.0

The time this server has been in its current “Healthy“ state

func (GetAutopilotHealthServerOutput) ToGetAutopilotHealthServerOutput added in v1.5.0

func (o GetAutopilotHealthServerOutput) ToGetAutopilotHealthServerOutput() GetAutopilotHealthServerOutput

func (GetAutopilotHealthServerOutput) ToGetAutopilotHealthServerOutputWithContext added in v1.5.0

func (o GetAutopilotHealthServerOutput) ToGetAutopilotHealthServerOutputWithContext(ctx context.Context) GetAutopilotHealthServerOutput

func (GetAutopilotHealthServerOutput) Version added in v1.5.0

The Consul version of the server

func (GetAutopilotHealthServerOutput) Voter added in v1.5.0

Whether the server is a voting member of the Raft cluster

type GetCatalogNodesArgs

type GetCatalogNodesArgs struct {
	QueryOptions []GetCatalogNodesQueryOption `pulumi:"queryOptions"`
}

A collection of arguments for invoking getCatalogNodes.

type GetCatalogNodesNode added in v1.5.0

type GetCatalogNodesNode struct {
	Address         string            `pulumi:"address"`
	Id              string            `pulumi:"id"`
	Meta            map[string]string `pulumi:"meta"`
	Name            string            `pulumi:"name"`
	TaggedAddresses map[string]string `pulumi:"taggedAddresses"`
}

type GetCatalogNodesNodeArgs added in v1.5.0

type GetCatalogNodesNodeArgs struct {
	Address         pulumi.StringInput    `pulumi:"address"`
	Id              pulumi.StringInput    `pulumi:"id"`
	Meta            pulumi.StringMapInput `pulumi:"meta"`
	Name            pulumi.StringInput    `pulumi:"name"`
	TaggedAddresses pulumi.StringMapInput `pulumi:"taggedAddresses"`
}

func (GetCatalogNodesNodeArgs) ElementType added in v1.5.0

func (GetCatalogNodesNodeArgs) ElementType() reflect.Type

func (GetCatalogNodesNodeArgs) ToGetCatalogNodesNodeOutput added in v1.5.0

func (i GetCatalogNodesNodeArgs) ToGetCatalogNodesNodeOutput() GetCatalogNodesNodeOutput

func (GetCatalogNodesNodeArgs) ToGetCatalogNodesNodeOutputWithContext added in v1.5.0

func (i GetCatalogNodesNodeArgs) ToGetCatalogNodesNodeOutputWithContext(ctx context.Context) GetCatalogNodesNodeOutput

type GetCatalogNodesNodeArray added in v1.5.0

type GetCatalogNodesNodeArray []GetCatalogNodesNodeInput

func (GetCatalogNodesNodeArray) ElementType added in v1.5.0

func (GetCatalogNodesNodeArray) ElementType() reflect.Type

func (GetCatalogNodesNodeArray) ToGetCatalogNodesNodeArrayOutput added in v1.5.0

func (i GetCatalogNodesNodeArray) ToGetCatalogNodesNodeArrayOutput() GetCatalogNodesNodeArrayOutput

func (GetCatalogNodesNodeArray) ToGetCatalogNodesNodeArrayOutputWithContext added in v1.5.0

func (i GetCatalogNodesNodeArray) ToGetCatalogNodesNodeArrayOutputWithContext(ctx context.Context) GetCatalogNodesNodeArrayOutput

type GetCatalogNodesNodeArrayInput added in v1.5.0

type GetCatalogNodesNodeArrayInput interface {
	pulumi.Input

	ToGetCatalogNodesNodeArrayOutput() GetCatalogNodesNodeArrayOutput
	ToGetCatalogNodesNodeArrayOutputWithContext(context.Context) GetCatalogNodesNodeArrayOutput
}

type GetCatalogNodesNodeArrayOutput added in v1.5.0

type GetCatalogNodesNodeArrayOutput struct{ *pulumi.OutputState }

func (GetCatalogNodesNodeArrayOutput) ElementType added in v1.5.0

func (GetCatalogNodesNodeArrayOutput) Index added in v1.5.0

func (GetCatalogNodesNodeArrayOutput) ToGetCatalogNodesNodeArrayOutput added in v1.5.0

func (o GetCatalogNodesNodeArrayOutput) ToGetCatalogNodesNodeArrayOutput() GetCatalogNodesNodeArrayOutput

func (GetCatalogNodesNodeArrayOutput) ToGetCatalogNodesNodeArrayOutputWithContext added in v1.5.0

func (o GetCatalogNodesNodeArrayOutput) ToGetCatalogNodesNodeArrayOutputWithContext(ctx context.Context) GetCatalogNodesNodeArrayOutput

type GetCatalogNodesNodeInput added in v1.5.0

type GetCatalogNodesNodeInput interface {
	pulumi.Input

	ToGetCatalogNodesNodeOutput() GetCatalogNodesNodeOutput
	ToGetCatalogNodesNodeOutputWithContext(context.Context) GetCatalogNodesNodeOutput
}

type GetCatalogNodesNodeOutput added in v1.5.0

type GetCatalogNodesNodeOutput struct{ *pulumi.OutputState }

func (GetCatalogNodesNodeOutput) Address added in v1.5.0

func (GetCatalogNodesNodeOutput) ElementType added in v1.5.0

func (GetCatalogNodesNodeOutput) ElementType() reflect.Type

func (GetCatalogNodesNodeOutput) Id added in v1.5.0

func (GetCatalogNodesNodeOutput) Meta added in v1.5.0

func (GetCatalogNodesNodeOutput) Name added in v1.5.0

func (GetCatalogNodesNodeOutput) TaggedAddresses added in v1.5.0

func (o GetCatalogNodesNodeOutput) TaggedAddresses() pulumi.StringMapOutput

func (GetCatalogNodesNodeOutput) ToGetCatalogNodesNodeOutput added in v1.5.0

func (o GetCatalogNodesNodeOutput) ToGetCatalogNodesNodeOutput() GetCatalogNodesNodeOutput

func (GetCatalogNodesNodeOutput) ToGetCatalogNodesNodeOutputWithContext added in v1.5.0

func (o GetCatalogNodesNodeOutput) ToGetCatalogNodesNodeOutputWithContext(ctx context.Context) GetCatalogNodesNodeOutput

type GetCatalogNodesQueryOption added in v1.5.0

type GetCatalogNodesQueryOption struct {
	AllowStale        *bool             `pulumi:"allowStale"`
	Datacenter        *string           `pulumi:"datacenter"`
	Near              *string           `pulumi:"near"`
	NodeMeta          map[string]string `pulumi:"nodeMeta"`
	RequireConsistent *bool             `pulumi:"requireConsistent"`
	Token             *string           `pulumi:"token"`
	WaitIndex         *int              `pulumi:"waitIndex"`
	WaitTime          *string           `pulumi:"waitTime"`
}

type GetCatalogNodesQueryOptionArgs added in v1.5.0

type GetCatalogNodesQueryOptionArgs struct {
	AllowStale        pulumi.BoolPtrInput   `pulumi:"allowStale"`
	Datacenter        pulumi.StringPtrInput `pulumi:"datacenter"`
	Near              pulumi.StringPtrInput `pulumi:"near"`
	NodeMeta          pulumi.StringMapInput `pulumi:"nodeMeta"`
	RequireConsistent pulumi.BoolPtrInput   `pulumi:"requireConsistent"`
	Token             pulumi.StringPtrInput `pulumi:"token"`
	WaitIndex         pulumi.IntPtrInput    `pulumi:"waitIndex"`
	WaitTime          pulumi.StringPtrInput `pulumi:"waitTime"`
}

func (GetCatalogNodesQueryOptionArgs) ElementType added in v1.5.0

func (GetCatalogNodesQueryOptionArgs) ToGetCatalogNodesQueryOptionOutput added in v1.5.0

func (i GetCatalogNodesQueryOptionArgs) ToGetCatalogNodesQueryOptionOutput() GetCatalogNodesQueryOptionOutput

func (GetCatalogNodesQueryOptionArgs) ToGetCatalogNodesQueryOptionOutputWithContext added in v1.5.0

func (i GetCatalogNodesQueryOptionArgs) ToGetCatalogNodesQueryOptionOutputWithContext(ctx context.Context) GetCatalogNodesQueryOptionOutput

type GetCatalogNodesQueryOptionArray added in v1.5.0

type GetCatalogNodesQueryOptionArray []GetCatalogNodesQueryOptionInput

func (GetCatalogNodesQueryOptionArray) ElementType added in v1.5.0

func (GetCatalogNodesQueryOptionArray) ToGetCatalogNodesQueryOptionArrayOutput added in v1.5.0

func (i GetCatalogNodesQueryOptionArray) ToGetCatalogNodesQueryOptionArrayOutput() GetCatalogNodesQueryOptionArrayOutput

func (GetCatalogNodesQueryOptionArray) ToGetCatalogNodesQueryOptionArrayOutputWithContext added in v1.5.0

func (i GetCatalogNodesQueryOptionArray) ToGetCatalogNodesQueryOptionArrayOutputWithContext(ctx context.Context) GetCatalogNodesQueryOptionArrayOutput

type GetCatalogNodesQueryOptionArrayInput added in v1.5.0

type GetCatalogNodesQueryOptionArrayInput interface {
	pulumi.Input

	ToGetCatalogNodesQueryOptionArrayOutput() GetCatalogNodesQueryOptionArrayOutput
	ToGetCatalogNodesQueryOptionArrayOutputWithContext(context.Context) GetCatalogNodesQueryOptionArrayOutput
}

type GetCatalogNodesQueryOptionArrayOutput added in v1.5.0

type GetCatalogNodesQueryOptionArrayOutput struct{ *pulumi.OutputState }

func (GetCatalogNodesQueryOptionArrayOutput) ElementType added in v1.5.0

func (GetCatalogNodesQueryOptionArrayOutput) Index added in v1.5.0

func (GetCatalogNodesQueryOptionArrayOutput) ToGetCatalogNodesQueryOptionArrayOutput added in v1.5.0

func (o GetCatalogNodesQueryOptionArrayOutput) ToGetCatalogNodesQueryOptionArrayOutput() GetCatalogNodesQueryOptionArrayOutput

func (GetCatalogNodesQueryOptionArrayOutput) ToGetCatalogNodesQueryOptionArrayOutputWithContext added in v1.5.0

func (o GetCatalogNodesQueryOptionArrayOutput) ToGetCatalogNodesQueryOptionArrayOutputWithContext(ctx context.Context) GetCatalogNodesQueryOptionArrayOutput

type GetCatalogNodesQueryOptionInput added in v1.5.0

type GetCatalogNodesQueryOptionInput interface {
	pulumi.Input

	ToGetCatalogNodesQueryOptionOutput() GetCatalogNodesQueryOptionOutput
	ToGetCatalogNodesQueryOptionOutputWithContext(context.Context) GetCatalogNodesQueryOptionOutput
}

type GetCatalogNodesQueryOptionOutput added in v1.5.0

type GetCatalogNodesQueryOptionOutput struct{ *pulumi.OutputState }

func (GetCatalogNodesQueryOptionOutput) AllowStale added in v1.5.0

func (GetCatalogNodesQueryOptionOutput) Datacenter added in v1.5.0

func (GetCatalogNodesQueryOptionOutput) ElementType added in v1.5.0

func (GetCatalogNodesQueryOptionOutput) Near added in v1.5.0

func (GetCatalogNodesQueryOptionOutput) NodeMeta added in v1.5.0

func (GetCatalogNodesQueryOptionOutput) RequireConsistent added in v1.5.0

func (GetCatalogNodesQueryOptionOutput) ToGetCatalogNodesQueryOptionOutput added in v1.5.0

func (o GetCatalogNodesQueryOptionOutput) ToGetCatalogNodesQueryOptionOutput() GetCatalogNodesQueryOptionOutput

func (GetCatalogNodesQueryOptionOutput) ToGetCatalogNodesQueryOptionOutputWithContext added in v1.5.0

func (o GetCatalogNodesQueryOptionOutput) ToGetCatalogNodesQueryOptionOutputWithContext(ctx context.Context) GetCatalogNodesQueryOptionOutput

func (GetCatalogNodesQueryOptionOutput) Token added in v1.5.0

func (GetCatalogNodesQueryOptionOutput) WaitIndex added in v1.5.0

func (GetCatalogNodesQueryOptionOutput) WaitTime added in v1.5.0

type GetCatalogNodesResult

type GetCatalogNodesResult struct {
	Datacenter string `pulumi:"datacenter"`
	// id is the provider-assigned unique ID for this managed resource.
	Id           string                       `pulumi:"id"`
	NodeIds      []string                     `pulumi:"nodeIds"`
	NodeNames    []string                     `pulumi:"nodeNames"`
	Nodes        []GetCatalogNodesNode        `pulumi:"nodes"`
	QueryOptions []GetCatalogNodesQueryOption `pulumi:"queryOptions"`
}

A collection of values returned by getCatalogNodes.

func GetCatalogNodes added in v1.5.0

func GetCatalogNodes(ctx *pulumi.Context, args *GetCatalogNodesArgs, opts ...pulumi.InvokeOption) (*GetCatalogNodesResult, error)

type GetCatalogServiceArgs

type GetCatalogServiceArgs struct {
	Datacenter   *string                        `pulumi:"datacenter"`
	Name         string                         `pulumi:"name"`
	QueryOptions []GetCatalogServiceQueryOption `pulumi:"queryOptions"`
	Tag          *string                        `pulumi:"tag"`
}

A collection of arguments for invoking getCatalogService.

type GetCatalogServiceQueryOption added in v1.5.0

type GetCatalogServiceQueryOption struct {
	AllowStale        *bool             `pulumi:"allowStale"`
	Datacenter        *string           `pulumi:"datacenter"`
	Namespace         *string           `pulumi:"namespace"`
	Near              *string           `pulumi:"near"`
	NodeMeta          map[string]string `pulumi:"nodeMeta"`
	RequireConsistent *bool             `pulumi:"requireConsistent"`
	Token             *string           `pulumi:"token"`
	WaitIndex         *int              `pulumi:"waitIndex"`
	WaitTime          *string           `pulumi:"waitTime"`
}

type GetCatalogServiceQueryOptionArgs added in v1.5.0

type GetCatalogServiceQueryOptionArgs struct {
	AllowStale        pulumi.BoolPtrInput   `pulumi:"allowStale"`
	Datacenter        pulumi.StringPtrInput `pulumi:"datacenter"`
	Namespace         pulumi.StringPtrInput `pulumi:"namespace"`
	Near              pulumi.StringPtrInput `pulumi:"near"`
	NodeMeta          pulumi.StringMapInput `pulumi:"nodeMeta"`
	RequireConsistent pulumi.BoolPtrInput   `pulumi:"requireConsistent"`
	Token             pulumi.StringPtrInput `pulumi:"token"`
	WaitIndex         pulumi.IntPtrInput    `pulumi:"waitIndex"`
	WaitTime          pulumi.StringPtrInput `pulumi:"waitTime"`
}

func (GetCatalogServiceQueryOptionArgs) ElementType added in v1.5.0

func (GetCatalogServiceQueryOptionArgs) ToGetCatalogServiceQueryOptionOutput added in v1.5.0

func (i GetCatalogServiceQueryOptionArgs) ToGetCatalogServiceQueryOptionOutput() GetCatalogServiceQueryOptionOutput

func (GetCatalogServiceQueryOptionArgs) ToGetCatalogServiceQueryOptionOutputWithContext added in v1.5.0

func (i GetCatalogServiceQueryOptionArgs) ToGetCatalogServiceQueryOptionOutputWithContext(ctx context.Context) GetCatalogServiceQueryOptionOutput

type GetCatalogServiceQueryOptionArray added in v1.5.0

type GetCatalogServiceQueryOptionArray []GetCatalogServiceQueryOptionInput

func (GetCatalogServiceQueryOptionArray) ElementType added in v1.5.0

func (GetCatalogServiceQueryOptionArray) ToGetCatalogServiceQueryOptionArrayOutput added in v1.5.0

func (i GetCatalogServiceQueryOptionArray) ToGetCatalogServiceQueryOptionArrayOutput() GetCatalogServiceQueryOptionArrayOutput

func (GetCatalogServiceQueryOptionArray) ToGetCatalogServiceQueryOptionArrayOutputWithContext added in v1.5.0

func (i GetCatalogServiceQueryOptionArray) ToGetCatalogServiceQueryOptionArrayOutputWithContext(ctx context.Context) GetCatalogServiceQueryOptionArrayOutput

type GetCatalogServiceQueryOptionArrayInput added in v1.5.0

type GetCatalogServiceQueryOptionArrayInput interface {
	pulumi.Input

	ToGetCatalogServiceQueryOptionArrayOutput() GetCatalogServiceQueryOptionArrayOutput
	ToGetCatalogServiceQueryOptionArrayOutputWithContext(context.Context) GetCatalogServiceQueryOptionArrayOutput
}

type GetCatalogServiceQueryOptionArrayOutput added in v1.5.0

type GetCatalogServiceQueryOptionArrayOutput struct{ *pulumi.OutputState }

func (GetCatalogServiceQueryOptionArrayOutput) ElementType added in v1.5.0

func (GetCatalogServiceQueryOptionArrayOutput) Index added in v1.5.0

func (GetCatalogServiceQueryOptionArrayOutput) ToGetCatalogServiceQueryOptionArrayOutput added in v1.5.0

func (o GetCatalogServiceQueryOptionArrayOutput) ToGetCatalogServiceQueryOptionArrayOutput() GetCatalogServiceQueryOptionArrayOutput

func (GetCatalogServiceQueryOptionArrayOutput) ToGetCatalogServiceQueryOptionArrayOutputWithContext added in v1.5.0

func (o GetCatalogServiceQueryOptionArrayOutput) ToGetCatalogServiceQueryOptionArrayOutputWithContext(ctx context.Context) GetCatalogServiceQueryOptionArrayOutput

type GetCatalogServiceQueryOptionInput added in v1.5.0

type GetCatalogServiceQueryOptionInput interface {
	pulumi.Input

	ToGetCatalogServiceQueryOptionOutput() GetCatalogServiceQueryOptionOutput
	ToGetCatalogServiceQueryOptionOutputWithContext(context.Context) GetCatalogServiceQueryOptionOutput
}

type GetCatalogServiceQueryOptionOutput added in v1.5.0

type GetCatalogServiceQueryOptionOutput struct{ *pulumi.OutputState }

func (GetCatalogServiceQueryOptionOutput) AllowStale added in v1.5.0

func (GetCatalogServiceQueryOptionOutput) Datacenter added in v1.5.0

func (GetCatalogServiceQueryOptionOutput) ElementType added in v1.5.0

func (GetCatalogServiceQueryOptionOutput) Namespace added in v1.7.0

func (GetCatalogServiceQueryOptionOutput) Near added in v1.5.0

func (GetCatalogServiceQueryOptionOutput) NodeMeta added in v1.5.0

func (GetCatalogServiceQueryOptionOutput) RequireConsistent added in v1.5.0

func (GetCatalogServiceQueryOptionOutput) ToGetCatalogServiceQueryOptionOutput added in v1.5.0

func (o GetCatalogServiceQueryOptionOutput) ToGetCatalogServiceQueryOptionOutput() GetCatalogServiceQueryOptionOutput

func (GetCatalogServiceQueryOptionOutput) ToGetCatalogServiceQueryOptionOutputWithContext added in v1.5.0

func (o GetCatalogServiceQueryOptionOutput) ToGetCatalogServiceQueryOptionOutputWithContext(ctx context.Context) GetCatalogServiceQueryOptionOutput

func (GetCatalogServiceQueryOptionOutput) Token added in v1.5.0

func (GetCatalogServiceQueryOptionOutput) WaitIndex added in v1.5.0

func (GetCatalogServiceQueryOptionOutput) WaitTime added in v1.5.0

type GetCatalogServiceResult

type GetCatalogServiceResult struct {
	Datacenter *string `pulumi:"datacenter"`
	// id is the provider-assigned unique ID for this managed resource.
	Id           string                         `pulumi:"id"`
	Name         string                         `pulumi:"name"`
	QueryOptions []GetCatalogServiceQueryOption `pulumi:"queryOptions"`
	Services     []GetCatalogServiceService     `pulumi:"services"`
	Tag          *string                        `pulumi:"tag"`
}

A collection of values returned by getCatalogService.

func GetCatalogService added in v1.5.0

func GetCatalogService(ctx *pulumi.Context, args *GetCatalogServiceArgs, opts ...pulumi.InvokeOption) (*GetCatalogServiceResult, error)

type GetCatalogServiceService added in v1.5.0

type GetCatalogServiceService struct {
	Address           string            `pulumi:"address"`
	CreateIndex       string            `pulumi:"createIndex"`
	EnableTagOverride string            `pulumi:"enableTagOverride"`
	Id                string            `pulumi:"id"`
	Meta              map[string]string `pulumi:"meta"`
	ModifyIndex       string            `pulumi:"modifyIndex"`
	Name              string            `pulumi:"name"`
	NodeAddress       string            `pulumi:"nodeAddress"`
	NodeId            string            `pulumi:"nodeId"`
	NodeMeta          map[string]string `pulumi:"nodeMeta"`
	NodeName          string            `pulumi:"nodeName"`
	Port              string            `pulumi:"port"`
	TaggedAddresses   map[string]string `pulumi:"taggedAddresses"`
	Tags              []string          `pulumi:"tags"`
}

type GetCatalogServiceServiceArgs added in v1.5.0

type GetCatalogServiceServiceArgs struct {
	Address           pulumi.StringInput      `pulumi:"address"`
	CreateIndex       pulumi.StringInput      `pulumi:"createIndex"`
	EnableTagOverride pulumi.StringInput      `pulumi:"enableTagOverride"`
	Id                pulumi.StringInput      `pulumi:"id"`
	Meta              pulumi.StringMapInput   `pulumi:"meta"`
	ModifyIndex       pulumi.StringInput      `pulumi:"modifyIndex"`
	Name              pulumi.StringInput      `pulumi:"name"`
	NodeAddress       pulumi.StringInput      `pulumi:"nodeAddress"`
	NodeId            pulumi.StringInput      `pulumi:"nodeId"`
	NodeMeta          pulumi.StringMapInput   `pulumi:"nodeMeta"`
	NodeName          pulumi.StringInput      `pulumi:"nodeName"`
	Port              pulumi.StringInput      `pulumi:"port"`
	TaggedAddresses   pulumi.StringMapInput   `pulumi:"taggedAddresses"`
	Tags              pulumi.StringArrayInput `pulumi:"tags"`
}

func (GetCatalogServiceServiceArgs) ElementType added in v1.5.0

func (GetCatalogServiceServiceArgs) ToGetCatalogServiceServiceOutput added in v1.5.0

func (i GetCatalogServiceServiceArgs) ToGetCatalogServiceServiceOutput() GetCatalogServiceServiceOutput

func (GetCatalogServiceServiceArgs) ToGetCatalogServiceServiceOutputWithContext added in v1.5.0

func (i GetCatalogServiceServiceArgs) ToGetCatalogServiceServiceOutputWithContext(ctx context.Context) GetCatalogServiceServiceOutput

type GetCatalogServiceServiceArray added in v1.5.0

type GetCatalogServiceServiceArray []GetCatalogServiceServiceInput

func (GetCatalogServiceServiceArray) ElementType added in v1.5.0

func (GetCatalogServiceServiceArray) ToGetCatalogServiceServiceArrayOutput added in v1.5.0

func (i GetCatalogServiceServiceArray) ToGetCatalogServiceServiceArrayOutput() GetCatalogServiceServiceArrayOutput

func (GetCatalogServiceServiceArray) ToGetCatalogServiceServiceArrayOutputWithContext added in v1.5.0

func (i GetCatalogServiceServiceArray) ToGetCatalogServiceServiceArrayOutputWithContext(ctx context.Context) GetCatalogServiceServiceArrayOutput

type GetCatalogServiceServiceArrayInput added in v1.5.0

type GetCatalogServiceServiceArrayInput interface {
	pulumi.Input

	ToGetCatalogServiceServiceArrayOutput() GetCatalogServiceServiceArrayOutput
	ToGetCatalogServiceServiceArrayOutputWithContext(context.Context) GetCatalogServiceServiceArrayOutput
}

type GetCatalogServiceServiceArrayOutput added in v1.5.0

type GetCatalogServiceServiceArrayOutput struct{ *pulumi.OutputState }

func (GetCatalogServiceServiceArrayOutput) ElementType added in v1.5.0

func (GetCatalogServiceServiceArrayOutput) Index added in v1.5.0

func (GetCatalogServiceServiceArrayOutput) ToGetCatalogServiceServiceArrayOutput added in v1.5.0

func (o GetCatalogServiceServiceArrayOutput) ToGetCatalogServiceServiceArrayOutput() GetCatalogServiceServiceArrayOutput

func (GetCatalogServiceServiceArrayOutput) ToGetCatalogServiceServiceArrayOutputWithContext added in v1.5.0

func (o GetCatalogServiceServiceArrayOutput) ToGetCatalogServiceServiceArrayOutputWithContext(ctx context.Context) GetCatalogServiceServiceArrayOutput

type GetCatalogServiceServiceInput added in v1.5.0

type GetCatalogServiceServiceInput interface {
	pulumi.Input

	ToGetCatalogServiceServiceOutput() GetCatalogServiceServiceOutput
	ToGetCatalogServiceServiceOutputWithContext(context.Context) GetCatalogServiceServiceOutput
}

type GetCatalogServiceServiceOutput added in v1.5.0

type GetCatalogServiceServiceOutput struct{ *pulumi.OutputState }

func (GetCatalogServiceServiceOutput) Address added in v1.5.0

func (GetCatalogServiceServiceOutput) CreateIndex added in v1.5.0

func (GetCatalogServiceServiceOutput) ElementType added in v1.5.0

func (GetCatalogServiceServiceOutput) EnableTagOverride added in v1.5.0

func (o GetCatalogServiceServiceOutput) EnableTagOverride() pulumi.StringOutput

func (GetCatalogServiceServiceOutput) Id added in v1.5.0

func (GetCatalogServiceServiceOutput) Meta added in v1.5.0

func (GetCatalogServiceServiceOutput) ModifyIndex added in v1.5.0

func (GetCatalogServiceServiceOutput) Name added in v1.5.0

func (GetCatalogServiceServiceOutput) NodeAddress added in v1.5.0

func (GetCatalogServiceServiceOutput) NodeId added in v1.5.0

func (GetCatalogServiceServiceOutput) NodeMeta added in v1.5.0

func (GetCatalogServiceServiceOutput) NodeName added in v1.5.0

func (GetCatalogServiceServiceOutput) Port added in v1.5.0

func (GetCatalogServiceServiceOutput) TaggedAddresses added in v1.5.0

func (GetCatalogServiceServiceOutput) Tags added in v1.5.0

func (GetCatalogServiceServiceOutput) ToGetCatalogServiceServiceOutput added in v1.5.0

func (o GetCatalogServiceServiceOutput) ToGetCatalogServiceServiceOutput() GetCatalogServiceServiceOutput

func (GetCatalogServiceServiceOutput) ToGetCatalogServiceServiceOutputWithContext added in v1.5.0

func (o GetCatalogServiceServiceOutput) ToGetCatalogServiceServiceOutputWithContext(ctx context.Context) GetCatalogServiceServiceOutput

type GetCatalogServicesArgs

type GetCatalogServicesArgs struct {
	QueryOptions []GetCatalogServicesQueryOption `pulumi:"queryOptions"`
}

A collection of arguments for invoking getCatalogServices.

type GetCatalogServicesQueryOption added in v1.5.0

type GetCatalogServicesQueryOption struct {
	AllowStale        *bool             `pulumi:"allowStale"`
	Datacenter        *string           `pulumi:"datacenter"`
	Namespace         *string           `pulumi:"namespace"`
	Near              *string           `pulumi:"near"`
	NodeMeta          map[string]string `pulumi:"nodeMeta"`
	RequireConsistent *bool             `pulumi:"requireConsistent"`
	Token             *string           `pulumi:"token"`
	WaitIndex         *int              `pulumi:"waitIndex"`
	WaitTime          *string           `pulumi:"waitTime"`
}

type GetCatalogServicesQueryOptionArgs added in v1.5.0

type GetCatalogServicesQueryOptionArgs struct {
	AllowStale        pulumi.BoolPtrInput   `pulumi:"allowStale"`
	Datacenter        pulumi.StringPtrInput `pulumi:"datacenter"`
	Namespace         pulumi.StringPtrInput `pulumi:"namespace"`
	Near              pulumi.StringPtrInput `pulumi:"near"`
	NodeMeta          pulumi.StringMapInput `pulumi:"nodeMeta"`
	RequireConsistent pulumi.BoolPtrInput   `pulumi:"requireConsistent"`
	Token             pulumi.StringPtrInput `pulumi:"token"`
	WaitIndex         pulumi.IntPtrInput    `pulumi:"waitIndex"`
	WaitTime          pulumi.StringPtrInput `pulumi:"waitTime"`
}

func (GetCatalogServicesQueryOptionArgs) ElementType added in v1.5.0

func (GetCatalogServicesQueryOptionArgs) ToGetCatalogServicesQueryOptionOutput added in v1.5.0

func (i GetCatalogServicesQueryOptionArgs) ToGetCatalogServicesQueryOptionOutput() GetCatalogServicesQueryOptionOutput

func (GetCatalogServicesQueryOptionArgs) ToGetCatalogServicesQueryOptionOutputWithContext added in v1.5.0

func (i GetCatalogServicesQueryOptionArgs) ToGetCatalogServicesQueryOptionOutputWithContext(ctx context.Context) GetCatalogServicesQueryOptionOutput

type GetCatalogServicesQueryOptionArray added in v1.5.0

type GetCatalogServicesQueryOptionArray []GetCatalogServicesQueryOptionInput

func (GetCatalogServicesQueryOptionArray) ElementType added in v1.5.0

func (GetCatalogServicesQueryOptionArray) ToGetCatalogServicesQueryOptionArrayOutput added in v1.5.0

func (i GetCatalogServicesQueryOptionArray) ToGetCatalogServicesQueryOptionArrayOutput() GetCatalogServicesQueryOptionArrayOutput

func (GetCatalogServicesQueryOptionArray) ToGetCatalogServicesQueryOptionArrayOutputWithContext added in v1.5.0

func (i GetCatalogServicesQueryOptionArray) ToGetCatalogServicesQueryOptionArrayOutputWithContext(ctx context.Context) GetCatalogServicesQueryOptionArrayOutput

type GetCatalogServicesQueryOptionArrayInput added in v1.5.0

type GetCatalogServicesQueryOptionArrayInput interface {
	pulumi.Input

	ToGetCatalogServicesQueryOptionArrayOutput() GetCatalogServicesQueryOptionArrayOutput
	ToGetCatalogServicesQueryOptionArrayOutputWithContext(context.Context) GetCatalogServicesQueryOptionArrayOutput
}

type GetCatalogServicesQueryOptionArrayOutput added in v1.5.0

type GetCatalogServicesQueryOptionArrayOutput struct{ *pulumi.OutputState }

func (GetCatalogServicesQueryOptionArrayOutput) ElementType added in v1.5.0

func (GetCatalogServicesQueryOptionArrayOutput) Index added in v1.5.0

func (GetCatalogServicesQueryOptionArrayOutput) ToGetCatalogServicesQueryOptionArrayOutput added in v1.5.0

func (o GetCatalogServicesQueryOptionArrayOutput) ToGetCatalogServicesQueryOptionArrayOutput() GetCatalogServicesQueryOptionArrayOutput

func (GetCatalogServicesQueryOptionArrayOutput) ToGetCatalogServicesQueryOptionArrayOutputWithContext added in v1.5.0

func (o GetCatalogServicesQueryOptionArrayOutput) ToGetCatalogServicesQueryOptionArrayOutputWithContext(ctx context.Context) GetCatalogServicesQueryOptionArrayOutput

type GetCatalogServicesQueryOptionInput added in v1.5.0

type GetCatalogServicesQueryOptionInput interface {
	pulumi.Input

	ToGetCatalogServicesQueryOptionOutput() GetCatalogServicesQueryOptionOutput
	ToGetCatalogServicesQueryOptionOutputWithContext(context.Context) GetCatalogServicesQueryOptionOutput
}

type GetCatalogServicesQueryOptionOutput added in v1.5.0

type GetCatalogServicesQueryOptionOutput struct{ *pulumi.OutputState }

func (GetCatalogServicesQueryOptionOutput) AllowStale added in v1.5.0

func (GetCatalogServicesQueryOptionOutput) Datacenter added in v1.5.0

func (GetCatalogServicesQueryOptionOutput) ElementType added in v1.5.0

func (GetCatalogServicesQueryOptionOutput) Namespace added in v1.7.0

func (GetCatalogServicesQueryOptionOutput) Near added in v1.5.0

func (GetCatalogServicesQueryOptionOutput) NodeMeta added in v1.5.0

func (GetCatalogServicesQueryOptionOutput) RequireConsistent added in v1.5.0

func (GetCatalogServicesQueryOptionOutput) ToGetCatalogServicesQueryOptionOutput added in v1.5.0

func (o GetCatalogServicesQueryOptionOutput) ToGetCatalogServicesQueryOptionOutput() GetCatalogServicesQueryOptionOutput

func (GetCatalogServicesQueryOptionOutput) ToGetCatalogServicesQueryOptionOutputWithContext added in v1.5.0

func (o GetCatalogServicesQueryOptionOutput) ToGetCatalogServicesQueryOptionOutputWithContext(ctx context.Context) GetCatalogServicesQueryOptionOutput

func (GetCatalogServicesQueryOptionOutput) Token added in v1.5.0

func (GetCatalogServicesQueryOptionOutput) WaitIndex added in v1.5.0

func (GetCatalogServicesQueryOptionOutput) WaitTime added in v1.5.0

type GetCatalogServicesResult

type GetCatalogServicesResult struct {
	Datacenter string `pulumi:"datacenter"`
	// id is the provider-assigned unique ID for this managed resource.
	Id           string                          `pulumi:"id"`
	Names        []string                        `pulumi:"names"`
	QueryOptions []GetCatalogServicesQueryOption `pulumi:"queryOptions"`
	Services     map[string]string               `pulumi:"services"`
}

A collection of values returned by getCatalogServices.

func GetCatalogServices added in v1.5.0

func GetCatalogServices(ctx *pulumi.Context, args *GetCatalogServicesArgs, opts ...pulumi.InvokeOption) (*GetCatalogServicesResult, error)

type GetKeyPrefixSubkeyCollection added in v1.5.0

type GetKeyPrefixSubkeyCollection struct {
	Default *string `pulumi:"default"`
	Name    string  `pulumi:"name"`
	Path    string  `pulumi:"path"`
}

type GetKeyPrefixSubkeyCollectionArgs added in v1.5.0

type GetKeyPrefixSubkeyCollectionArgs struct {
	Default pulumi.StringPtrInput `pulumi:"default"`
	Name    pulumi.StringInput    `pulumi:"name"`
	Path    pulumi.StringInput    `pulumi:"path"`
}

func (GetKeyPrefixSubkeyCollectionArgs) ElementType added in v1.5.0

func (GetKeyPrefixSubkeyCollectionArgs) ToGetKeyPrefixSubkeyCollectionOutput added in v1.5.0

func (i GetKeyPrefixSubkeyCollectionArgs) ToGetKeyPrefixSubkeyCollectionOutput() GetKeyPrefixSubkeyCollectionOutput

func (GetKeyPrefixSubkeyCollectionArgs) ToGetKeyPrefixSubkeyCollectionOutputWithContext added in v1.5.0

func (i GetKeyPrefixSubkeyCollectionArgs) ToGetKeyPrefixSubkeyCollectionOutputWithContext(ctx context.Context) GetKeyPrefixSubkeyCollectionOutput

type GetKeyPrefixSubkeyCollectionArray added in v1.5.0

type GetKeyPrefixSubkeyCollectionArray []GetKeyPrefixSubkeyCollectionInput

func (GetKeyPrefixSubkeyCollectionArray) ElementType added in v1.5.0

func (GetKeyPrefixSubkeyCollectionArray) ToGetKeyPrefixSubkeyCollectionArrayOutput added in v1.5.0

func (i GetKeyPrefixSubkeyCollectionArray) ToGetKeyPrefixSubkeyCollectionArrayOutput() GetKeyPrefixSubkeyCollectionArrayOutput

func (GetKeyPrefixSubkeyCollectionArray) ToGetKeyPrefixSubkeyCollectionArrayOutputWithContext added in v1.5.0

func (i GetKeyPrefixSubkeyCollectionArray) ToGetKeyPrefixSubkeyCollectionArrayOutputWithContext(ctx context.Context) GetKeyPrefixSubkeyCollectionArrayOutput

type GetKeyPrefixSubkeyCollectionArrayInput added in v1.5.0

type GetKeyPrefixSubkeyCollectionArrayInput interface {
	pulumi.Input

	ToGetKeyPrefixSubkeyCollectionArrayOutput() GetKeyPrefixSubkeyCollectionArrayOutput
	ToGetKeyPrefixSubkeyCollectionArrayOutputWithContext(context.Context) GetKeyPrefixSubkeyCollectionArrayOutput
}

type GetKeyPrefixSubkeyCollectionArrayOutput added in v1.5.0

type GetKeyPrefixSubkeyCollectionArrayOutput struct{ *pulumi.OutputState }

func (GetKeyPrefixSubkeyCollectionArrayOutput) ElementType added in v1.5.0

func (GetKeyPrefixSubkeyCollectionArrayOutput) Index added in v1.5.0

func (GetKeyPrefixSubkeyCollectionArrayOutput) ToGetKeyPrefixSubkeyCollectionArrayOutput added in v1.5.0

func (o GetKeyPrefixSubkeyCollectionArrayOutput) ToGetKeyPrefixSubkeyCollectionArrayOutput() GetKeyPrefixSubkeyCollectionArrayOutput

func (GetKeyPrefixSubkeyCollectionArrayOutput) ToGetKeyPrefixSubkeyCollectionArrayOutputWithContext added in v1.5.0

func (o GetKeyPrefixSubkeyCollectionArrayOutput) ToGetKeyPrefixSubkeyCollectionArrayOutputWithContext(ctx context.Context) GetKeyPrefixSubkeyCollectionArrayOutput

type GetKeyPrefixSubkeyCollectionInput added in v1.5.0

type GetKeyPrefixSubkeyCollectionInput interface {
	pulumi.Input

	ToGetKeyPrefixSubkeyCollectionOutput() GetKeyPrefixSubkeyCollectionOutput
	ToGetKeyPrefixSubkeyCollectionOutputWithContext(context.Context) GetKeyPrefixSubkeyCollectionOutput
}

type GetKeyPrefixSubkeyCollectionOutput added in v1.5.0

type GetKeyPrefixSubkeyCollectionOutput struct{ *pulumi.OutputState }

func (GetKeyPrefixSubkeyCollectionOutput) Default added in v1.5.0

func (GetKeyPrefixSubkeyCollectionOutput) ElementType added in v1.5.0

func (GetKeyPrefixSubkeyCollectionOutput) Name added in v1.5.0

func (GetKeyPrefixSubkeyCollectionOutput) Path added in v1.5.0

func (GetKeyPrefixSubkeyCollectionOutput) ToGetKeyPrefixSubkeyCollectionOutput added in v1.5.0

func (o GetKeyPrefixSubkeyCollectionOutput) ToGetKeyPrefixSubkeyCollectionOutput() GetKeyPrefixSubkeyCollectionOutput

func (GetKeyPrefixSubkeyCollectionOutput) ToGetKeyPrefixSubkeyCollectionOutputWithContext added in v1.5.0

func (o GetKeyPrefixSubkeyCollectionOutput) ToGetKeyPrefixSubkeyCollectionOutputWithContext(ctx context.Context) GetKeyPrefixSubkeyCollectionOutput

type GetKeysKey added in v1.5.0

type GetKeysKey struct {
	Default *string `pulumi:"default"`
	Name    string  `pulumi:"name"`
	Path    string  `pulumi:"path"`
}

type GetKeysKeyArgs added in v1.5.0

type GetKeysKeyArgs struct {
	Default pulumi.StringPtrInput `pulumi:"default"`
	Name    pulumi.StringInput    `pulumi:"name"`
	Path    pulumi.StringInput    `pulumi:"path"`
}

func (GetKeysKeyArgs) ElementType added in v1.5.0

func (GetKeysKeyArgs) ElementType() reflect.Type

func (GetKeysKeyArgs) ToGetKeysKeyOutput added in v1.5.0

func (i GetKeysKeyArgs) ToGetKeysKeyOutput() GetKeysKeyOutput

func (GetKeysKeyArgs) ToGetKeysKeyOutputWithContext added in v1.5.0

func (i GetKeysKeyArgs) ToGetKeysKeyOutputWithContext(ctx context.Context) GetKeysKeyOutput

type GetKeysKeyArray added in v1.5.0

type GetKeysKeyArray []GetKeysKeyInput

func (GetKeysKeyArray) ElementType added in v1.5.0

func (GetKeysKeyArray) ElementType() reflect.Type

func (GetKeysKeyArray) ToGetKeysKeyArrayOutput added in v1.5.0

func (i GetKeysKeyArray) ToGetKeysKeyArrayOutput() GetKeysKeyArrayOutput

func (GetKeysKeyArray) ToGetKeysKeyArrayOutputWithContext added in v1.5.0

func (i GetKeysKeyArray) ToGetKeysKeyArrayOutputWithContext(ctx context.Context) GetKeysKeyArrayOutput

type GetKeysKeyArrayInput added in v1.5.0

type GetKeysKeyArrayInput interface {
	pulumi.Input

	ToGetKeysKeyArrayOutput() GetKeysKeyArrayOutput
	ToGetKeysKeyArrayOutputWithContext(context.Context) GetKeysKeyArrayOutput
}

type GetKeysKeyArrayOutput added in v1.5.0

type GetKeysKeyArrayOutput struct{ *pulumi.OutputState }

func (GetKeysKeyArrayOutput) ElementType added in v1.5.0

func (GetKeysKeyArrayOutput) ElementType() reflect.Type

func (GetKeysKeyArrayOutput) Index added in v1.5.0

func (GetKeysKeyArrayOutput) ToGetKeysKeyArrayOutput added in v1.5.0

func (o GetKeysKeyArrayOutput) ToGetKeysKeyArrayOutput() GetKeysKeyArrayOutput

func (GetKeysKeyArrayOutput) ToGetKeysKeyArrayOutputWithContext added in v1.5.0

func (o GetKeysKeyArrayOutput) ToGetKeysKeyArrayOutputWithContext(ctx context.Context) GetKeysKeyArrayOutput

type GetKeysKeyInput added in v1.5.0

type GetKeysKeyInput interface {
	pulumi.Input

	ToGetKeysKeyOutput() GetKeysKeyOutput
	ToGetKeysKeyOutputWithContext(context.Context) GetKeysKeyOutput
}

type GetKeysKeyOutput added in v1.5.0

type GetKeysKeyOutput struct{ *pulumi.OutputState }

func (GetKeysKeyOutput) Default added in v1.5.0

func (GetKeysKeyOutput) ElementType added in v1.5.0

func (GetKeysKeyOutput) ElementType() reflect.Type

func (GetKeysKeyOutput) Name added in v1.5.0

func (GetKeysKeyOutput) Path added in v1.5.0

func (GetKeysKeyOutput) ToGetKeysKeyOutput added in v1.5.0

func (o GetKeysKeyOutput) ToGetKeysKeyOutput() GetKeysKeyOutput

func (GetKeysKeyOutput) ToGetKeysKeyOutputWithContext added in v1.5.0

func (o GetKeysKeyOutput) ToGetKeysKeyOutputWithContext(ctx context.Context) GetKeysKeyOutput

type GetNodesArgs

type GetNodesArgs struct {
	// See below.
	QueryOptions []GetNodesQueryOption `pulumi:"queryOptions"`
}

A collection of arguments for invoking getNodes.

type GetNodesNode added in v1.5.0

type GetNodesNode struct {
	Address string `pulumi:"address"`
	// The Node ID of the Consul agent.
	// * [`meta`](https://www.consul.io/docs/agent/http/catalog.html#Meta) - Node meta
	// data tag information, if any.
	// * [`name`](https://www.consul.io/docs/agent/http/catalog.html#Node) - The name
	// of the Consul node.
	// * [`address`](https://www.consul.io/docs/agent/http/catalog.html#Address) - The
	// IP address the node is advertising to the Consul cluster.
	// * [`taggedAddresses`](https://www.consul.io/docs/agent/http/catalog.html#TaggedAddresses) -
	// List of explicit LAN and WAN IP addresses for the agent.
	Id              string            `pulumi:"id"`
	Meta            map[string]string `pulumi:"meta"`
	Name            string            `pulumi:"name"`
	TaggedAddresses map[string]string `pulumi:"taggedAddresses"`
}

type GetNodesNodeArgs added in v1.5.0

type GetNodesNodeArgs struct {
	Address pulumi.StringInput `pulumi:"address"`
	// The Node ID of the Consul agent.
	// * [`meta`](https://www.consul.io/docs/agent/http/catalog.html#Meta) - Node meta
	// data tag information, if any.
	// * [`name`](https://www.consul.io/docs/agent/http/catalog.html#Node) - The name
	// of the Consul node.
	// * [`address`](https://www.consul.io/docs/agent/http/catalog.html#Address) - The
	// IP address the node is advertising to the Consul cluster.
	// * [`taggedAddresses`](https://www.consul.io/docs/agent/http/catalog.html#TaggedAddresses) -
	// List of explicit LAN and WAN IP addresses for the agent.
	Id              pulumi.StringInput    `pulumi:"id"`
	Meta            pulumi.StringMapInput `pulumi:"meta"`
	Name            pulumi.StringInput    `pulumi:"name"`
	TaggedAddresses pulumi.StringMapInput `pulumi:"taggedAddresses"`
}

func (GetNodesNodeArgs) ElementType added in v1.5.0

func (GetNodesNodeArgs) ElementType() reflect.Type

func (GetNodesNodeArgs) ToGetNodesNodeOutput added in v1.5.0

func (i GetNodesNodeArgs) ToGetNodesNodeOutput() GetNodesNodeOutput

func (GetNodesNodeArgs) ToGetNodesNodeOutputWithContext added in v1.5.0

func (i GetNodesNodeArgs) ToGetNodesNodeOutputWithContext(ctx context.Context) GetNodesNodeOutput

type GetNodesNodeArray added in v1.5.0

type GetNodesNodeArray []GetNodesNodeInput

func (GetNodesNodeArray) ElementType added in v1.5.0

func (GetNodesNodeArray) ElementType() reflect.Type

func (GetNodesNodeArray) ToGetNodesNodeArrayOutput added in v1.5.0

func (i GetNodesNodeArray) ToGetNodesNodeArrayOutput() GetNodesNodeArrayOutput

func (GetNodesNodeArray) ToGetNodesNodeArrayOutputWithContext added in v1.5.0

func (i GetNodesNodeArray) ToGetNodesNodeArrayOutputWithContext(ctx context.Context) GetNodesNodeArrayOutput

type GetNodesNodeArrayInput added in v1.5.0

type GetNodesNodeArrayInput interface {
	pulumi.Input

	ToGetNodesNodeArrayOutput() GetNodesNodeArrayOutput
	ToGetNodesNodeArrayOutputWithContext(context.Context) GetNodesNodeArrayOutput
}

type GetNodesNodeArrayOutput added in v1.5.0

type GetNodesNodeArrayOutput struct{ *pulumi.OutputState }

func (GetNodesNodeArrayOutput) ElementType added in v1.5.0

func (GetNodesNodeArrayOutput) ElementType() reflect.Type

func (GetNodesNodeArrayOutput) Index added in v1.5.0

func (GetNodesNodeArrayOutput) ToGetNodesNodeArrayOutput added in v1.5.0

func (o GetNodesNodeArrayOutput) ToGetNodesNodeArrayOutput() GetNodesNodeArrayOutput

func (GetNodesNodeArrayOutput) ToGetNodesNodeArrayOutputWithContext added in v1.5.0

func (o GetNodesNodeArrayOutput) ToGetNodesNodeArrayOutputWithContext(ctx context.Context) GetNodesNodeArrayOutput

type GetNodesNodeInput added in v1.5.0

type GetNodesNodeInput interface {
	pulumi.Input

	ToGetNodesNodeOutput() GetNodesNodeOutput
	ToGetNodesNodeOutputWithContext(context.Context) GetNodesNodeOutput
}

type GetNodesNodeOutput added in v1.5.0

type GetNodesNodeOutput struct{ *pulumi.OutputState }

func (GetNodesNodeOutput) Address added in v1.5.0

func (GetNodesNodeOutput) ElementType added in v1.5.0

func (GetNodesNodeOutput) ElementType() reflect.Type

func (GetNodesNodeOutput) Id added in v1.5.0

The Node ID of the Consul agent. * [`meta`](https://www.consul.io/docs/agent/http/catalog.html#Meta) - Node meta data tag information, if any. * [`name`](https://www.consul.io/docs/agent/http/catalog.html#Node) - The name of the Consul node. * [`address`](https://www.consul.io/docs/agent/http/catalog.html#Address) - The IP address the node is advertising to the Consul cluster. * [`taggedAddresses`](https://www.consul.io/docs/agent/http/catalog.html#TaggedAddresses) - List of explicit LAN and WAN IP addresses for the agent.

func (GetNodesNodeOutput) Meta added in v1.5.0

func (GetNodesNodeOutput) Name added in v1.5.0

func (GetNodesNodeOutput) TaggedAddresses added in v1.5.0

func (o GetNodesNodeOutput) TaggedAddresses() pulumi.StringMapOutput

func (GetNodesNodeOutput) ToGetNodesNodeOutput added in v1.5.0

func (o GetNodesNodeOutput) ToGetNodesNodeOutput() GetNodesNodeOutput

func (GetNodesNodeOutput) ToGetNodesNodeOutputWithContext added in v1.5.0

func (o GetNodesNodeOutput) ToGetNodesNodeOutputWithContext(ctx context.Context) GetNodesNodeOutput

type GetNodesQueryOption added in v1.5.0

type GetNodesQueryOption struct {
	AllowStale *bool `pulumi:"allowStale"`
	// The Consul datacenter to query.  Defaults to the
	// same value found in `queryOptions` parameter specified below, or if that is
	// empty, the `datacenter` value found in the Consul agent that this provider is
	// configured to talk to then the datacenter in the provider setup.
	Datacenter        *string           `pulumi:"datacenter"`
	Near              *string           `pulumi:"near"`
	NodeMeta          map[string]string `pulumi:"nodeMeta"`
	RequireConsistent *bool             `pulumi:"requireConsistent"`
	Token             *string           `pulumi:"token"`
	WaitIndex         *int              `pulumi:"waitIndex"`
	WaitTime          *string           `pulumi:"waitTime"`
}

type GetNodesQueryOptionArgs added in v1.5.0

type GetNodesQueryOptionArgs struct {
	AllowStale pulumi.BoolPtrInput `pulumi:"allowStale"`
	// The Consul datacenter to query.  Defaults to the
	// same value found in `queryOptions` parameter specified below, or if that is
	// empty, the `datacenter` value found in the Consul agent that this provider is
	// configured to talk to then the datacenter in the provider setup.
	Datacenter        pulumi.StringPtrInput `pulumi:"datacenter"`
	Near              pulumi.StringPtrInput `pulumi:"near"`
	NodeMeta          pulumi.StringMapInput `pulumi:"nodeMeta"`
	RequireConsistent pulumi.BoolPtrInput   `pulumi:"requireConsistent"`
	Token             pulumi.StringPtrInput `pulumi:"token"`
	WaitIndex         pulumi.IntPtrInput    `pulumi:"waitIndex"`
	WaitTime          pulumi.StringPtrInput `pulumi:"waitTime"`
}

func (GetNodesQueryOptionArgs) ElementType added in v1.5.0

func (GetNodesQueryOptionArgs) ElementType() reflect.Type

func (GetNodesQueryOptionArgs) ToGetNodesQueryOptionOutput added in v1.5.0

func (i GetNodesQueryOptionArgs) ToGetNodesQueryOptionOutput() GetNodesQueryOptionOutput

func (GetNodesQueryOptionArgs) ToGetNodesQueryOptionOutputWithContext added in v1.5.0

func (i GetNodesQueryOptionArgs) ToGetNodesQueryOptionOutputWithContext(ctx context.Context) GetNodesQueryOptionOutput

type GetNodesQueryOptionArray added in v1.5.0

type GetNodesQueryOptionArray []GetNodesQueryOptionInput

func (GetNodesQueryOptionArray) ElementType added in v1.5.0

func (GetNodesQueryOptionArray) ElementType() reflect.Type

func (GetNodesQueryOptionArray) ToGetNodesQueryOptionArrayOutput added in v1.5.0

func (i GetNodesQueryOptionArray) ToGetNodesQueryOptionArrayOutput() GetNodesQueryOptionArrayOutput

func (GetNodesQueryOptionArray) ToGetNodesQueryOptionArrayOutputWithContext added in v1.5.0

func (i GetNodesQueryOptionArray) ToGetNodesQueryOptionArrayOutputWithContext(ctx context.Context) GetNodesQueryOptionArrayOutput

type GetNodesQueryOptionArrayInput added in v1.5.0

type GetNodesQueryOptionArrayInput interface {
	pulumi.Input

	ToGetNodesQueryOptionArrayOutput() GetNodesQueryOptionArrayOutput
	ToGetNodesQueryOptionArrayOutputWithContext(context.Context) GetNodesQueryOptionArrayOutput
}

type GetNodesQueryOptionArrayOutput added in v1.5.0

type GetNodesQueryOptionArrayOutput struct{ *pulumi.OutputState }

func (GetNodesQueryOptionArrayOutput) ElementType added in v1.5.0

func (GetNodesQueryOptionArrayOutput) Index added in v1.5.0

func (GetNodesQueryOptionArrayOutput) ToGetNodesQueryOptionArrayOutput added in v1.5.0

func (o GetNodesQueryOptionArrayOutput) ToGetNodesQueryOptionArrayOutput() GetNodesQueryOptionArrayOutput

func (GetNodesQueryOptionArrayOutput) ToGetNodesQueryOptionArrayOutputWithContext added in v1.5.0

func (o GetNodesQueryOptionArrayOutput) ToGetNodesQueryOptionArrayOutputWithContext(ctx context.Context) GetNodesQueryOptionArrayOutput

type GetNodesQueryOptionInput added in v1.5.0

type GetNodesQueryOptionInput interface {
	pulumi.Input

	ToGetNodesQueryOptionOutput() GetNodesQueryOptionOutput
	ToGetNodesQueryOptionOutputWithContext(context.Context) GetNodesQueryOptionOutput
}

type GetNodesQueryOptionOutput added in v1.5.0

type GetNodesQueryOptionOutput struct{ *pulumi.OutputState }

func (GetNodesQueryOptionOutput) AllowStale added in v1.5.0

func (GetNodesQueryOptionOutput) Datacenter added in v1.5.0

The Consul datacenter to query. Defaults to the same value found in `queryOptions` parameter specified below, or if that is empty, the `datacenter` value found in the Consul agent that this provider is configured to talk to then the datacenter in the provider setup.

func (GetNodesQueryOptionOutput) ElementType added in v1.5.0

func (GetNodesQueryOptionOutput) ElementType() reflect.Type

func (GetNodesQueryOptionOutput) Near added in v1.5.0

func (GetNodesQueryOptionOutput) NodeMeta added in v1.5.0

func (GetNodesQueryOptionOutput) RequireConsistent added in v1.5.0

func (o GetNodesQueryOptionOutput) RequireConsistent() pulumi.BoolPtrOutput

func (GetNodesQueryOptionOutput) ToGetNodesQueryOptionOutput added in v1.5.0

func (o GetNodesQueryOptionOutput) ToGetNodesQueryOptionOutput() GetNodesQueryOptionOutput

func (GetNodesQueryOptionOutput) ToGetNodesQueryOptionOutputWithContext added in v1.5.0

func (o GetNodesQueryOptionOutput) ToGetNodesQueryOptionOutputWithContext(ctx context.Context) GetNodesQueryOptionOutput

func (GetNodesQueryOptionOutput) Token added in v1.5.0

func (GetNodesQueryOptionOutput) WaitIndex added in v1.5.0

func (GetNodesQueryOptionOutput) WaitTime added in v1.5.0

type GetNodesResult

type GetNodesResult struct {
	// The datacenter the keys are being read from to.
	Datacenter string `pulumi:"datacenter"`
	// id is the provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// A list of the Consul node IDs.
	NodeIds []string `pulumi:"nodeIds"`
	// A list of the Consul node names.
	NodeNames []string `pulumi:"nodeNames"`
	// A list of nodes and details about each Consul agent.  The list of
	// per-node attributes is detailed below.
	Nodes        []GetNodesNode        `pulumi:"nodes"`
	QueryOptions []GetNodesQueryOption `pulumi:"queryOptions"`
}

A collection of values returned by getNodes.

func GetNodes added in v1.5.0

func GetNodes(ctx *pulumi.Context, args *GetNodesArgs, opts ...pulumi.InvokeOption) (*GetNodesResult, error)

The `.getNodes` data source returns a list of Consul nodes that have been registered with the Consul cluster in a given datacenter. By specifying a different datacenter in the `queryOptions` it is possible to retrieve a list of nodes from a different WAN-attached Consul datacenter.

> This content is derived from https://github.com/terraform-providers/terraform-provider-consul/blob/master/website/docs/d/nodes.html.markdown.

type GetServiceHealthArgs

type GetServiceHealthArgs struct {
	// The Consul datacenter to query.
	Datacenter *string `pulumi:"datacenter"`
	// The service name to select.
	Name string `pulumi:"name"`
	// Specifies a node name to sort the node list in ascending order
	// based on the estimated round trip time from that node.
	Near *string `pulumi:"near"`
	// Filter the results to nodes with the specified key/value
	// pairs.
	NodeMeta map[string]string `pulumi:"nodeMeta"`
	// Whether to return only nodes with all checks in the
	// passing state. Defaults to `true`.
	Passing *bool `pulumi:"passing"`
	// A single tag that can be used to filter the list to return
	// based on a single matching tag.
	Tag     *string `pulumi:"tag"`
	WaitFor *string `pulumi:"waitFor"`
}

A collection of arguments for invoking getServiceHealth.

type GetServiceHealthResult

type GetServiceHealthResult struct {
	// The datacenter in which the node is running.
	// * [`taggedAddresses`](https://www.consul.io/docs/agent/http/catalog.html#TaggedAddresses) -
	// List of explicit LAN and WAN IP addresses for the agent.
	Datacenter *string `pulumi:"datacenter"`
	// id is the provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The name of this health-check.
	Name string `pulumi:"name"`
	// The node to which the result must be sorted to.
	Near *string `pulumi:"near"`
	// The list of metadata to filter the nodes.
	NodeMeta map[string]string `pulumi:"nodeMeta"`
	// Whether to return only nodes with all checks in the
	// passing state.
	Passing *bool `pulumi:"passing"`
	// A list of entries and details about each endpoint advertising a
	// service.  Each element in the list has three attributes: `node`, `service` and
	// `checks`.  The list of the attributes of each one is detailed below.
	Results []GetServiceHealthResultType `pulumi:"results"`
	// The name of the tag used to filter the list.
	Tag     *string `pulumi:"tag"`
	WaitFor *string `pulumi:"waitFor"`
}

A collection of values returned by getServiceHealth.

func GetServiceHealth added in v1.5.0

func GetServiceHealth(ctx *pulumi.Context, args *GetServiceHealthArgs, opts ...pulumi.InvokeOption) (*GetServiceHealthResult, error)

`.getServiceHealth` can be used to get the list of the instances that are currently healthy, according to their associated health-checks. The result includes the list of service instances, the node associated to each instance and its health-checks.

This resource is likely to change as frequently as the health-checks are being updated, you should expect different results in a frequent basis.

> This content is derived from https://github.com/terraform-providers/terraform-provider-consul/blob/master/website/docs/d/service_health.html.markdown.

type GetServiceHealthResultCheck added in v1.5.0

type GetServiceHealthResultCheck struct {
	// The ID of this health-check.
	Id string `pulumi:"id"`
	// The service name to select.
	Name string `pulumi:"name"`
	// The name of the node associated with this health-check.
	Node string `pulumi:"node"`
	// A human readable description of the current state of the health-check.
	Notes string `pulumi:"notes"`
	// The output of the health-check.
	Output string `pulumi:"output"`
	// The ID of the service associated to this health-check.
	ServiceId string `pulumi:"serviceId"`
	// The name of the service associated with this health-check.
	ServiceName string `pulumi:"serviceName"`
	// The list of tags associated with this health-check.
	ServiceTags []string `pulumi:"serviceTags"`
	// The status of this health-check.
	Status string `pulumi:"status"`
}

type GetServiceHealthResultCheckArgs added in v1.5.0

type GetServiceHealthResultCheckArgs struct {
	// The ID of this health-check.
	Id pulumi.StringInput `pulumi:"id"`
	// The service name to select.
	Name pulumi.StringInput `pulumi:"name"`
	// The name of the node associated with this health-check.
	Node pulumi.StringInput `pulumi:"node"`
	// A human readable description of the current state of the health-check.
	Notes pulumi.StringInput `pulumi:"notes"`
	// The output of the health-check.
	Output pulumi.StringInput `pulumi:"output"`
	// The ID of the service associated to this health-check.
	ServiceId pulumi.StringInput `pulumi:"serviceId"`
	// The name of the service associated with this health-check.
	ServiceName pulumi.StringInput `pulumi:"serviceName"`
	// The list of tags associated with this health-check.
	ServiceTags pulumi.StringArrayInput `pulumi:"serviceTags"`
	// The status of this health-check.
	Status pulumi.StringInput `pulumi:"status"`
}

func (GetServiceHealthResultCheckArgs) ElementType added in v1.5.0

func (GetServiceHealthResultCheckArgs) ToGetServiceHealthResultCheckOutput added in v1.5.0

func (i GetServiceHealthResultCheckArgs) ToGetServiceHealthResultCheckOutput() GetServiceHealthResultCheckOutput

func (GetServiceHealthResultCheckArgs) ToGetServiceHealthResultCheckOutputWithContext added in v1.5.0

func (i GetServiceHealthResultCheckArgs) ToGetServiceHealthResultCheckOutputWithContext(ctx context.Context) GetServiceHealthResultCheckOutput

type GetServiceHealthResultCheckArray added in v1.5.0

type GetServiceHealthResultCheckArray []GetServiceHealthResultCheckInput

func (GetServiceHealthResultCheckArray) ElementType added in v1.5.0

func (GetServiceHealthResultCheckArray) ToGetServiceHealthResultCheckArrayOutput added in v1.5.0

func (i GetServiceHealthResultCheckArray) ToGetServiceHealthResultCheckArrayOutput() GetServiceHealthResultCheckArrayOutput

func (GetServiceHealthResultCheckArray) ToGetServiceHealthResultCheckArrayOutputWithContext added in v1.5.0

func (i GetServiceHealthResultCheckArray) ToGetServiceHealthResultCheckArrayOutputWithContext(ctx context.Context) GetServiceHealthResultCheckArrayOutput

type GetServiceHealthResultCheckArrayInput added in v1.5.0

type GetServiceHealthResultCheckArrayInput interface {
	pulumi.Input

	ToGetServiceHealthResultCheckArrayOutput() GetServiceHealthResultCheckArrayOutput
	ToGetServiceHealthResultCheckArrayOutputWithContext(context.Context) GetServiceHealthResultCheckArrayOutput
}

type GetServiceHealthResultCheckArrayOutput added in v1.5.0

type GetServiceHealthResultCheckArrayOutput struct{ *pulumi.OutputState }

func (GetServiceHealthResultCheckArrayOutput) ElementType added in v1.5.0

func (GetServiceHealthResultCheckArrayOutput) Index added in v1.5.0

func (GetServiceHealthResultCheckArrayOutput) ToGetServiceHealthResultCheckArrayOutput added in v1.5.0

func (o GetServiceHealthResultCheckArrayOutput) ToGetServiceHealthResultCheckArrayOutput() GetServiceHealthResultCheckArrayOutput

func (GetServiceHealthResultCheckArrayOutput) ToGetServiceHealthResultCheckArrayOutputWithContext added in v1.5.0

func (o GetServiceHealthResultCheckArrayOutput) ToGetServiceHealthResultCheckArrayOutputWithContext(ctx context.Context) GetServiceHealthResultCheckArrayOutput

type GetServiceHealthResultCheckInput added in v1.5.0

type GetServiceHealthResultCheckInput interface {
	pulumi.Input

	ToGetServiceHealthResultCheckOutput() GetServiceHealthResultCheckOutput
	ToGetServiceHealthResultCheckOutputWithContext(context.Context) GetServiceHealthResultCheckOutput
}

type GetServiceHealthResultCheckOutput added in v1.5.0

type GetServiceHealthResultCheckOutput struct{ *pulumi.OutputState }

func (GetServiceHealthResultCheckOutput) ElementType added in v1.5.0

func (GetServiceHealthResultCheckOutput) Id added in v1.5.0

The ID of this health-check.

func (GetServiceHealthResultCheckOutput) Name added in v1.5.0

The service name to select.

func (GetServiceHealthResultCheckOutput) Node added in v1.5.0

The name of the node associated with this health-check.

func (GetServiceHealthResultCheckOutput) Notes added in v1.5.0

A human readable description of the current state of the health-check.

func (GetServiceHealthResultCheckOutput) Output added in v1.5.0

The output of the health-check.

func (GetServiceHealthResultCheckOutput) ServiceId added in v1.5.0

The ID of the service associated to this health-check.

func (GetServiceHealthResultCheckOutput) ServiceName added in v1.5.0

The name of the service associated with this health-check.

func (GetServiceHealthResultCheckOutput) ServiceTags added in v1.5.0

The list of tags associated with this health-check.

func (GetServiceHealthResultCheckOutput) Status added in v1.5.0

The status of this health-check.

func (GetServiceHealthResultCheckOutput) ToGetServiceHealthResultCheckOutput added in v1.5.0

func (o GetServiceHealthResultCheckOutput) ToGetServiceHealthResultCheckOutput() GetServiceHealthResultCheckOutput

func (GetServiceHealthResultCheckOutput) ToGetServiceHealthResultCheckOutputWithContext added in v1.5.0

func (o GetServiceHealthResultCheckOutput) ToGetServiceHealthResultCheckOutputWithContext(ctx context.Context) GetServiceHealthResultCheckOutput

type GetServiceHealthResultNode added in v1.5.0

type GetServiceHealthResultNode struct {
	// The address of this instance.
	Address string `pulumi:"address"`
	// The Consul datacenter to query.
	Datacenter string `pulumi:"datacenter"`
	// The ID of this health-check.
	Id string `pulumi:"id"`
	// Service metadata tag information, if any.
	Meta map[string]string `pulumi:"meta"`
	// The service name to select.
	Name            string            `pulumi:"name"`
	TaggedAddresses map[string]string `pulumi:"taggedAddresses"`
}

type GetServiceHealthResultNodeArgs added in v1.5.0

type GetServiceHealthResultNodeArgs struct {
	// The address of this instance.
	Address pulumi.StringInput `pulumi:"address"`
	// The Consul datacenter to query.
	Datacenter pulumi.StringInput `pulumi:"datacenter"`
	// The ID of this health-check.
	Id pulumi.StringInput `pulumi:"id"`
	// Service metadata tag information, if any.
	Meta pulumi.StringMapInput `pulumi:"meta"`
	// The service name to select.
	Name            pulumi.StringInput    `pulumi:"name"`
	TaggedAddresses pulumi.StringMapInput `pulumi:"taggedAddresses"`
}

func (GetServiceHealthResultNodeArgs) ElementType added in v1.5.0

func (GetServiceHealthResultNodeArgs) ToGetServiceHealthResultNodeOutput added in v1.5.0

func (i GetServiceHealthResultNodeArgs) ToGetServiceHealthResultNodeOutput() GetServiceHealthResultNodeOutput

func (GetServiceHealthResultNodeArgs) ToGetServiceHealthResultNodeOutputWithContext added in v1.5.0

func (i GetServiceHealthResultNodeArgs) ToGetServiceHealthResultNodeOutputWithContext(ctx context.Context) GetServiceHealthResultNodeOutput

type GetServiceHealthResultNodeInput added in v1.5.0

type GetServiceHealthResultNodeInput interface {
	pulumi.Input

	ToGetServiceHealthResultNodeOutput() GetServiceHealthResultNodeOutput
	ToGetServiceHealthResultNodeOutputWithContext(context.Context) GetServiceHealthResultNodeOutput
}

type GetServiceHealthResultNodeOutput added in v1.5.0

type GetServiceHealthResultNodeOutput struct{ *pulumi.OutputState }

func (GetServiceHealthResultNodeOutput) Address added in v1.5.0

The address of this instance.

func (GetServiceHealthResultNodeOutput) Datacenter added in v1.5.0

The Consul datacenter to query.

func (GetServiceHealthResultNodeOutput) ElementType added in v1.5.0

func (GetServiceHealthResultNodeOutput) Id added in v1.5.0

The ID of this health-check.

func (GetServiceHealthResultNodeOutput) Meta added in v1.5.0

Service metadata tag information, if any.

func (GetServiceHealthResultNodeOutput) Name added in v1.5.0

The service name to select.

func (GetServiceHealthResultNodeOutput) TaggedAddresses added in v1.5.0

func (GetServiceHealthResultNodeOutput) ToGetServiceHealthResultNodeOutput added in v1.5.0

func (o GetServiceHealthResultNodeOutput) ToGetServiceHealthResultNodeOutput() GetServiceHealthResultNodeOutput

func (GetServiceHealthResultNodeOutput) ToGetServiceHealthResultNodeOutputWithContext added in v1.5.0

func (o GetServiceHealthResultNodeOutput) ToGetServiceHealthResultNodeOutputWithContext(ctx context.Context) GetServiceHealthResultNodeOutput

type GetServiceHealthResultService added in v1.5.0

type GetServiceHealthResultService struct {
	// The address of this instance.
	Address string `pulumi:"address"`
	// The ID of this health-check.
	Id string `pulumi:"id"`
	// Service metadata tag information, if any.
	Meta map[string]string `pulumi:"meta"`
	// The service name to select.
	Name string `pulumi:"name"`
	// The port of this instance.
	Port int `pulumi:"port"`
	// The list of tags associated with this instance.
	Tags []string `pulumi:"tags"`
}

type GetServiceHealthResultServiceArgs added in v1.5.0

type GetServiceHealthResultServiceArgs struct {
	// The address of this instance.
	Address pulumi.StringInput `pulumi:"address"`
	// The ID of this health-check.
	Id pulumi.StringInput `pulumi:"id"`
	// Service metadata tag information, if any.
	Meta pulumi.StringMapInput `pulumi:"meta"`
	// The service name to select.
	Name pulumi.StringInput `pulumi:"name"`
	// The port of this instance.
	Port pulumi.IntInput `pulumi:"port"`
	// The list of tags associated with this instance.
	Tags pulumi.StringArrayInput `pulumi:"tags"`
}

func (GetServiceHealthResultServiceArgs) ElementType added in v1.5.0

func (GetServiceHealthResultServiceArgs) ToGetServiceHealthResultServiceOutput added in v1.5.0

func (i GetServiceHealthResultServiceArgs) ToGetServiceHealthResultServiceOutput() GetServiceHealthResultServiceOutput

func (GetServiceHealthResultServiceArgs) ToGetServiceHealthResultServiceOutputWithContext added in v1.5.0

func (i GetServiceHealthResultServiceArgs) ToGetServiceHealthResultServiceOutputWithContext(ctx context.Context) GetServiceHealthResultServiceOutput

type GetServiceHealthResultServiceInput added in v1.5.0

type GetServiceHealthResultServiceInput interface {
	pulumi.Input

	ToGetServiceHealthResultServiceOutput() GetServiceHealthResultServiceOutput
	ToGetServiceHealthResultServiceOutputWithContext(context.Context) GetServiceHealthResultServiceOutput
}

type GetServiceHealthResultServiceOutput added in v1.5.0

type GetServiceHealthResultServiceOutput struct{ *pulumi.OutputState }

func (GetServiceHealthResultServiceOutput) Address added in v1.5.0

The address of this instance.

func (GetServiceHealthResultServiceOutput) ElementType added in v1.5.0

func (GetServiceHealthResultServiceOutput) Id added in v1.5.0

The ID of this health-check.

func (GetServiceHealthResultServiceOutput) Meta added in v1.5.0

Service metadata tag information, if any.

func (GetServiceHealthResultServiceOutput) Name added in v1.5.0

The service name to select.

func (GetServiceHealthResultServiceOutput) Port added in v1.5.0

The port of this instance.

func (GetServiceHealthResultServiceOutput) Tags added in v1.5.0

The list of tags associated with this instance.

func (GetServiceHealthResultServiceOutput) ToGetServiceHealthResultServiceOutput added in v1.5.0

func (o GetServiceHealthResultServiceOutput) ToGetServiceHealthResultServiceOutput() GetServiceHealthResultServiceOutput

func (GetServiceHealthResultServiceOutput) ToGetServiceHealthResultServiceOutputWithContext added in v1.5.0

func (o GetServiceHealthResultServiceOutput) ToGetServiceHealthResultServiceOutputWithContext(ctx context.Context) GetServiceHealthResultServiceOutput

type GetServiceHealthResultType added in v1.5.0

type GetServiceHealthResultType struct {
	Checks []GetServiceHealthResultCheck `pulumi:"checks"`
	// The name of the node associated with this health-check.
	Node    GetServiceHealthResultNode    `pulumi:"node"`
	Service GetServiceHealthResultService `pulumi:"service"`
}

type GetServiceHealthResultTypeArgs added in v1.5.0

type GetServiceHealthResultTypeArgs struct {
	Checks GetServiceHealthResultCheckArrayInput `pulumi:"checks"`
	// The name of the node associated with this health-check.
	Node    GetServiceHealthResultNodeInput    `pulumi:"node"`
	Service GetServiceHealthResultServiceInput `pulumi:"service"`
}

func (GetServiceHealthResultTypeArgs) ElementType added in v1.5.0

func (GetServiceHealthResultTypeArgs) ToGetServiceHealthResultTypeOutput added in v1.5.0

func (i GetServiceHealthResultTypeArgs) ToGetServiceHealthResultTypeOutput() GetServiceHealthResultTypeOutput

func (GetServiceHealthResultTypeArgs) ToGetServiceHealthResultTypeOutputWithContext added in v1.5.0

func (i GetServiceHealthResultTypeArgs) ToGetServiceHealthResultTypeOutputWithContext(ctx context.Context) GetServiceHealthResultTypeOutput

type GetServiceHealthResultTypeArray added in v1.5.0

type GetServiceHealthResultTypeArray []GetServiceHealthResultTypeInput

func (GetServiceHealthResultTypeArray) ElementType added in v1.5.0

func (GetServiceHealthResultTypeArray) ToGetServiceHealthResultTypeArrayOutput added in v1.5.0

func (i GetServiceHealthResultTypeArray) ToGetServiceHealthResultTypeArrayOutput() GetServiceHealthResultTypeArrayOutput

func (GetServiceHealthResultTypeArray) ToGetServiceHealthResultTypeArrayOutputWithContext added in v1.5.0

func (i GetServiceHealthResultTypeArray) ToGetServiceHealthResultTypeArrayOutputWithContext(ctx context.Context) GetServiceHealthResultTypeArrayOutput

type GetServiceHealthResultTypeArrayInput added in v1.5.0

type GetServiceHealthResultTypeArrayInput interface {
	pulumi.Input

	ToGetServiceHealthResultTypeArrayOutput() GetServiceHealthResultTypeArrayOutput
	ToGetServiceHealthResultTypeArrayOutputWithContext(context.Context) GetServiceHealthResultTypeArrayOutput
}

type GetServiceHealthResultTypeArrayOutput added in v1.5.0

type GetServiceHealthResultTypeArrayOutput struct{ *pulumi.OutputState }

func (GetServiceHealthResultTypeArrayOutput) ElementType added in v1.5.0

func (GetServiceHealthResultTypeArrayOutput) Index added in v1.5.0

func (GetServiceHealthResultTypeArrayOutput) ToGetServiceHealthResultTypeArrayOutput added in v1.5.0

func (o GetServiceHealthResultTypeArrayOutput) ToGetServiceHealthResultTypeArrayOutput() GetServiceHealthResultTypeArrayOutput

func (GetServiceHealthResultTypeArrayOutput) ToGetServiceHealthResultTypeArrayOutputWithContext added in v1.5.0

func (o GetServiceHealthResultTypeArrayOutput) ToGetServiceHealthResultTypeArrayOutputWithContext(ctx context.Context) GetServiceHealthResultTypeArrayOutput

type GetServiceHealthResultTypeInput added in v1.5.0

type GetServiceHealthResultTypeInput interface {
	pulumi.Input

	ToGetServiceHealthResultTypeOutput() GetServiceHealthResultTypeOutput
	ToGetServiceHealthResultTypeOutputWithContext(context.Context) GetServiceHealthResultTypeOutput
}

type GetServiceHealthResultTypeOutput added in v1.5.0

type GetServiceHealthResultTypeOutput struct{ *pulumi.OutputState }

func (GetServiceHealthResultTypeOutput) Checks added in v1.5.0

func (GetServiceHealthResultTypeOutput) ElementType added in v1.5.0

func (GetServiceHealthResultTypeOutput) Node added in v1.5.0

The name of the node associated with this health-check.

func (GetServiceHealthResultTypeOutput) Service added in v1.5.0

func (GetServiceHealthResultTypeOutput) ToGetServiceHealthResultTypeOutput added in v1.5.0

func (o GetServiceHealthResultTypeOutput) ToGetServiceHealthResultTypeOutput() GetServiceHealthResultTypeOutput

func (GetServiceHealthResultTypeOutput) ToGetServiceHealthResultTypeOutputWithContext added in v1.5.0

func (o GetServiceHealthResultTypeOutput) ToGetServiceHealthResultTypeOutputWithContext(ctx context.Context) GetServiceHealthResultTypeOutput

type GetServiceQueryOption added in v1.5.0

type GetServiceQueryOption struct {
	AllowStale *bool `pulumi:"allowStale"`
	// The Consul datacenter to query.  Defaults to the
	// same value found in `queryOptions` parameter specified below, or if that is
	// empty, the `datacenter` value found in the Consul agent that this provider is
	// configured to talk to.
	Datacenter        *string           `pulumi:"datacenter"`
	Namespace         *string           `pulumi:"namespace"`
	Near              *string           `pulumi:"near"`
	NodeMeta          map[string]string `pulumi:"nodeMeta"`
	RequireConsistent *bool             `pulumi:"requireConsistent"`
	Token             *string           `pulumi:"token"`
	WaitIndex         *int              `pulumi:"waitIndex"`
	WaitTime          *string           `pulumi:"waitTime"`
}

type GetServiceQueryOptionArgs added in v1.5.0

type GetServiceQueryOptionArgs struct {
	AllowStale pulumi.BoolPtrInput `pulumi:"allowStale"`
	// The Consul datacenter to query.  Defaults to the
	// same value found in `queryOptions` parameter specified below, or if that is
	// empty, the `datacenter` value found in the Consul agent that this provider is
	// configured to talk to.
	Datacenter        pulumi.StringPtrInput `pulumi:"datacenter"`
	Namespace         pulumi.StringPtrInput `pulumi:"namespace"`
	Near              pulumi.StringPtrInput `pulumi:"near"`
	NodeMeta          pulumi.StringMapInput `pulumi:"nodeMeta"`
	RequireConsistent pulumi.BoolPtrInput   `pulumi:"requireConsistent"`
	Token             pulumi.StringPtrInput `pulumi:"token"`
	WaitIndex         pulumi.IntPtrInput    `pulumi:"waitIndex"`
	WaitTime          pulumi.StringPtrInput `pulumi:"waitTime"`
}

func (GetServiceQueryOptionArgs) ElementType added in v1.5.0

func (GetServiceQueryOptionArgs) ElementType() reflect.Type

func (GetServiceQueryOptionArgs) ToGetServiceQueryOptionOutput added in v1.5.0

func (i GetServiceQueryOptionArgs) ToGetServiceQueryOptionOutput() GetServiceQueryOptionOutput

func (GetServiceQueryOptionArgs) ToGetServiceQueryOptionOutputWithContext added in v1.5.0

func (i GetServiceQueryOptionArgs) ToGetServiceQueryOptionOutputWithContext(ctx context.Context) GetServiceQueryOptionOutput

type GetServiceQueryOptionArray added in v1.5.0

type GetServiceQueryOptionArray []GetServiceQueryOptionInput

func (GetServiceQueryOptionArray) ElementType added in v1.5.0

func (GetServiceQueryOptionArray) ElementType() reflect.Type

func (GetServiceQueryOptionArray) ToGetServiceQueryOptionArrayOutput added in v1.5.0

func (i GetServiceQueryOptionArray) ToGetServiceQueryOptionArrayOutput() GetServiceQueryOptionArrayOutput

func (GetServiceQueryOptionArray) ToGetServiceQueryOptionArrayOutputWithContext added in v1.5.0

func (i GetServiceQueryOptionArray) ToGetServiceQueryOptionArrayOutputWithContext(ctx context.Context) GetServiceQueryOptionArrayOutput

type GetServiceQueryOptionArrayInput added in v1.5.0

type GetServiceQueryOptionArrayInput interface {
	pulumi.Input

	ToGetServiceQueryOptionArrayOutput() GetServiceQueryOptionArrayOutput
	ToGetServiceQueryOptionArrayOutputWithContext(context.Context) GetServiceQueryOptionArrayOutput
}

type GetServiceQueryOptionArrayOutput added in v1.5.0

type GetServiceQueryOptionArrayOutput struct{ *pulumi.OutputState }

func (GetServiceQueryOptionArrayOutput) ElementType added in v1.5.0

func (GetServiceQueryOptionArrayOutput) Index added in v1.5.0

func (GetServiceQueryOptionArrayOutput) ToGetServiceQueryOptionArrayOutput added in v1.5.0

func (o GetServiceQueryOptionArrayOutput) ToGetServiceQueryOptionArrayOutput() GetServiceQueryOptionArrayOutput

func (GetServiceQueryOptionArrayOutput) ToGetServiceQueryOptionArrayOutputWithContext added in v1.5.0

func (o GetServiceQueryOptionArrayOutput) ToGetServiceQueryOptionArrayOutputWithContext(ctx context.Context) GetServiceQueryOptionArrayOutput

type GetServiceQueryOptionInput added in v1.5.0

type GetServiceQueryOptionInput interface {
	pulumi.Input

	ToGetServiceQueryOptionOutput() GetServiceQueryOptionOutput
	ToGetServiceQueryOptionOutputWithContext(context.Context) GetServiceQueryOptionOutput
}

type GetServiceQueryOptionOutput added in v1.5.0

type GetServiceQueryOptionOutput struct{ *pulumi.OutputState }

func (GetServiceQueryOptionOutput) AllowStale added in v1.5.0

func (GetServiceQueryOptionOutput) Datacenter added in v1.5.0

The Consul datacenter to query. Defaults to the same value found in `queryOptions` parameter specified below, or if that is empty, the `datacenter` value found in the Consul agent that this provider is configured to talk to.

func (GetServiceQueryOptionOutput) ElementType added in v1.5.0

func (GetServiceQueryOptionOutput) Namespace added in v1.7.0

func (GetServiceQueryOptionOutput) Near added in v1.5.0

func (GetServiceQueryOptionOutput) NodeMeta added in v1.5.0

func (GetServiceQueryOptionOutput) RequireConsistent added in v1.5.0

func (o GetServiceQueryOptionOutput) RequireConsistent() pulumi.BoolPtrOutput

func (GetServiceQueryOptionOutput) ToGetServiceQueryOptionOutput added in v1.5.0

func (o GetServiceQueryOptionOutput) ToGetServiceQueryOptionOutput() GetServiceQueryOptionOutput

func (GetServiceQueryOptionOutput) ToGetServiceQueryOptionOutputWithContext added in v1.5.0

func (o GetServiceQueryOptionOutput) ToGetServiceQueryOptionOutputWithContext(ctx context.Context) GetServiceQueryOptionOutput

func (GetServiceQueryOptionOutput) Token added in v1.5.0

func (GetServiceQueryOptionOutput) WaitIndex added in v1.5.0

func (GetServiceQueryOptionOutput) WaitTime added in v1.5.0

type GetServiceService added in v1.5.0

type GetServiceService struct {
	Address           string            `pulumi:"address"`
	CreateIndex       string            `pulumi:"createIndex"`
	EnableTagOverride string            `pulumi:"enableTagOverride"`
	Id                string            `pulumi:"id"`
	Meta              map[string]string `pulumi:"meta"`
	ModifyIndex       string            `pulumi:"modifyIndex"`
	// The service name to select.
	Name        string `pulumi:"name"`
	NodeAddress string `pulumi:"nodeAddress"`
	// The Node ID of the Consul agent advertising the service.
	// * [`nodeMeta`](https://www.consul.io/docs/agent/http/catalog.html#Meta) - Node
	// meta data tag information, if any.
	// * [`nodeName`](https://www.consul.io/docs/agent/http/catalog.html#Node) - The
	// name of the Consul node.
	// * [`address`](https://www.consul.io/docs/agent/http/catalog.html#ServiceAddress) -
	// The IP address of the service.  If the `ServiceAddress` in the Consul catalog
	// is empty, this value is automatically populated with the `nodeAddress` (the
	// `Address` in the Consul Catalog).
	// * [`enableTagOverride`](https://www.consul.io/docs/agent/http/catalog.html#ServiceEnableTagOverride) -
	// Whether service tags can be overridden on this service.
	// * [`id`](https://www.consul.io/docs/agent/http/catalog.html#ServiceID) - A
	// unique service instance identifier.
	// * [`name`](https://www.consul.io/docs/agent/http/catalog.html#ServiceName) - The
	// name of the service.
	// * [`port`](https://www.consul.io/docs/agent/http/catalog.html#ServicePort) -
	// Port number of the service.
	// * [`taggedAddresses`](https://www.consul.io/docs/agent/http/catalog.html#TaggedAddresses) -
	// List of explicit LAN and WAN IP addresses for the agent.
	// * [`tags`](https://www.consul.io/docs/agent/http/catalog.html#ServiceTags) -
	// List of tags for the service.
	// * [`meta`](https://www.consul.io/docs/agent/http/catalog.html#Meta) - Service meta
	// data tag information, if any.
	NodeId          string            `pulumi:"nodeId"`
	NodeMeta        map[string]string `pulumi:"nodeMeta"`
	NodeName        string            `pulumi:"nodeName"`
	Port            string            `pulumi:"port"`
	TaggedAddresses map[string]string `pulumi:"taggedAddresses"`
	Tags            []string          `pulumi:"tags"`
}

type GetServiceServiceArgs added in v1.5.0

type GetServiceServiceArgs struct {
	Address           pulumi.StringInput    `pulumi:"address"`
	CreateIndex       pulumi.StringInput    `pulumi:"createIndex"`
	EnableTagOverride pulumi.StringInput    `pulumi:"enableTagOverride"`
	Id                pulumi.StringInput    `pulumi:"id"`
	Meta              pulumi.StringMapInput `pulumi:"meta"`
	ModifyIndex       pulumi.StringInput    `pulumi:"modifyIndex"`
	// The service name to select.
	Name        pulumi.StringInput `pulumi:"name"`
	NodeAddress pulumi.StringInput `pulumi:"nodeAddress"`
	// The Node ID of the Consul agent advertising the service.
	// * [`nodeMeta`](https://www.consul.io/docs/agent/http/catalog.html#Meta) - Node
	// meta data tag information, if any.
	// * [`nodeName`](https://www.consul.io/docs/agent/http/catalog.html#Node) - The
	// name of the Consul node.
	// * [`address`](https://www.consul.io/docs/agent/http/catalog.html#ServiceAddress) -
	// The IP address of the service.  If the `ServiceAddress` in the Consul catalog
	// is empty, this value is automatically populated with the `nodeAddress` (the
	// `Address` in the Consul Catalog).
	// * [`enableTagOverride`](https://www.consul.io/docs/agent/http/catalog.html#ServiceEnableTagOverride) -
	// Whether service tags can be overridden on this service.
	// * [`id`](https://www.consul.io/docs/agent/http/catalog.html#ServiceID) - A
	// unique service instance identifier.
	// * [`name`](https://www.consul.io/docs/agent/http/catalog.html#ServiceName) - The
	// name of the service.
	// * [`port`](https://www.consul.io/docs/agent/http/catalog.html#ServicePort) -
	// Port number of the service.
	// * [`taggedAddresses`](https://www.consul.io/docs/agent/http/catalog.html#TaggedAddresses) -
	// List of explicit LAN and WAN IP addresses for the agent.
	// * [`tags`](https://www.consul.io/docs/agent/http/catalog.html#ServiceTags) -
	// List of tags for the service.
	// * [`meta`](https://www.consul.io/docs/agent/http/catalog.html#Meta) - Service meta
	// data tag information, if any.
	NodeId          pulumi.StringInput      `pulumi:"nodeId"`
	NodeMeta        pulumi.StringMapInput   `pulumi:"nodeMeta"`
	NodeName        pulumi.StringInput      `pulumi:"nodeName"`
	Port            pulumi.StringInput      `pulumi:"port"`
	TaggedAddresses pulumi.StringMapInput   `pulumi:"taggedAddresses"`
	Tags            pulumi.StringArrayInput `pulumi:"tags"`
}

func (GetServiceServiceArgs) ElementType added in v1.5.0

func (GetServiceServiceArgs) ElementType() reflect.Type

func (GetServiceServiceArgs) ToGetServiceServiceOutput added in v1.5.0

func (i GetServiceServiceArgs) ToGetServiceServiceOutput() GetServiceServiceOutput

func (GetServiceServiceArgs) ToGetServiceServiceOutputWithContext added in v1.5.0

func (i GetServiceServiceArgs) ToGetServiceServiceOutputWithContext(ctx context.Context) GetServiceServiceOutput

type GetServiceServiceArray added in v1.5.0

type GetServiceServiceArray []GetServiceServiceInput

func (GetServiceServiceArray) ElementType added in v1.5.0

func (GetServiceServiceArray) ElementType() reflect.Type

func (GetServiceServiceArray) ToGetServiceServiceArrayOutput added in v1.5.0

func (i GetServiceServiceArray) ToGetServiceServiceArrayOutput() GetServiceServiceArrayOutput

func (GetServiceServiceArray) ToGetServiceServiceArrayOutputWithContext added in v1.5.0

func (i GetServiceServiceArray) ToGetServiceServiceArrayOutputWithContext(ctx context.Context) GetServiceServiceArrayOutput

type GetServiceServiceArrayInput added in v1.5.0

type GetServiceServiceArrayInput interface {
	pulumi.Input

	ToGetServiceServiceArrayOutput() GetServiceServiceArrayOutput
	ToGetServiceServiceArrayOutputWithContext(context.Context) GetServiceServiceArrayOutput
}

type GetServiceServiceArrayOutput added in v1.5.0

type GetServiceServiceArrayOutput struct{ *pulumi.OutputState }

func (GetServiceServiceArrayOutput) ElementType added in v1.5.0

func (GetServiceServiceArrayOutput) Index added in v1.5.0

func (GetServiceServiceArrayOutput) ToGetServiceServiceArrayOutput added in v1.5.0

func (o GetServiceServiceArrayOutput) ToGetServiceServiceArrayOutput() GetServiceServiceArrayOutput

func (GetServiceServiceArrayOutput) ToGetServiceServiceArrayOutputWithContext added in v1.5.0

func (o GetServiceServiceArrayOutput) ToGetServiceServiceArrayOutputWithContext(ctx context.Context) GetServiceServiceArrayOutput

type GetServiceServiceInput added in v1.5.0

type GetServiceServiceInput interface {
	pulumi.Input

	ToGetServiceServiceOutput() GetServiceServiceOutput
	ToGetServiceServiceOutputWithContext(context.Context) GetServiceServiceOutput
}

type GetServiceServiceOutput added in v1.5.0

type GetServiceServiceOutput struct{ *pulumi.OutputState }

func (GetServiceServiceOutput) Address added in v1.5.0

func (GetServiceServiceOutput) CreateIndex added in v1.5.0

func (GetServiceServiceOutput) ElementType added in v1.5.0

func (GetServiceServiceOutput) ElementType() reflect.Type

func (GetServiceServiceOutput) EnableTagOverride added in v1.5.0

func (o GetServiceServiceOutput) EnableTagOverride() pulumi.StringOutput

func (GetServiceServiceOutput) Id added in v1.5.0

func (GetServiceServiceOutput) Meta added in v1.5.0

func (GetServiceServiceOutput) ModifyIndex added in v1.5.0

func (GetServiceServiceOutput) Name added in v1.5.0

The service name to select.

func (GetServiceServiceOutput) NodeAddress added in v1.5.0

func (GetServiceServiceOutput) NodeId added in v1.5.0

The Node ID of the Consul agent advertising the service. * [`nodeMeta`](https://www.consul.io/docs/agent/http/catalog.html#Meta) - Node meta data tag information, if any. * [`nodeName`](https://www.consul.io/docs/agent/http/catalog.html#Node) - The name of the Consul node. * [`address`](https://www.consul.io/docs/agent/http/catalog.html#ServiceAddress) - The IP address of the service. If the `ServiceAddress` in the Consul catalog is empty, this value is automatically populated with the `nodeAddress` (the `Address` in the Consul Catalog). * [`enableTagOverride`](https://www.consul.io/docs/agent/http/catalog.html#ServiceEnableTagOverride) - Whether service tags can be overridden on this service. * [`id`](https://www.consul.io/docs/agent/http/catalog.html#ServiceID) - A unique service instance identifier. * [`name`](https://www.consul.io/docs/agent/http/catalog.html#ServiceName) - The name of the service. * [`port`](https://www.consul.io/docs/agent/http/catalog.html#ServicePort) - Port number of the service. * [`taggedAddresses`](https://www.consul.io/docs/agent/http/catalog.html#TaggedAddresses) - List of explicit LAN and WAN IP addresses for the agent. * [`tags`](https://www.consul.io/docs/agent/http/catalog.html#ServiceTags) - List of tags for the service. * [`meta`](https://www.consul.io/docs/agent/http/catalog.html#Meta) - Service meta data tag information, if any.

func (GetServiceServiceOutput) NodeMeta added in v1.5.0

func (GetServiceServiceOutput) NodeName added in v1.5.0

func (GetServiceServiceOutput) Port added in v1.5.0

func (GetServiceServiceOutput) TaggedAddresses added in v1.5.0

func (o GetServiceServiceOutput) TaggedAddresses() pulumi.StringMapOutput

func (GetServiceServiceOutput) Tags added in v1.5.0

func (GetServiceServiceOutput) ToGetServiceServiceOutput added in v1.5.0

func (o GetServiceServiceOutput) ToGetServiceServiceOutput() GetServiceServiceOutput

func (GetServiceServiceOutput) ToGetServiceServiceOutputWithContext added in v1.5.0

func (o GetServiceServiceOutput) ToGetServiceServiceOutputWithContext(ctx context.Context) GetServiceServiceOutput

type GetServicesArgs

type GetServicesArgs struct {
	// See below.
	QueryOptions []GetServicesQueryOption `pulumi:"queryOptions"`
}

A collection of arguments for invoking getServices.

type GetServicesQueryOption added in v1.5.0

type GetServicesQueryOption struct {
	AllowStale *bool `pulumi:"allowStale"`
	// The Consul datacenter to query.  Defaults to the
	// same value found in `queryOptions` parameter specified below, or if that is
	// empty, the `datacenter` value found in the Consul agent that this provider is
	// configured to talk to.
	Datacenter        *string           `pulumi:"datacenter"`
	Namespace         *string           `pulumi:"namespace"`
	Near              *string           `pulumi:"near"`
	NodeMeta          map[string]string `pulumi:"nodeMeta"`
	RequireConsistent *bool             `pulumi:"requireConsistent"`
	Token             *string           `pulumi:"token"`
	WaitIndex         *int              `pulumi:"waitIndex"`
	WaitTime          *string           `pulumi:"waitTime"`
}

type GetServicesQueryOptionArgs added in v1.5.0

type GetServicesQueryOptionArgs struct {
	AllowStale pulumi.BoolPtrInput `pulumi:"allowStale"`
	// The Consul datacenter to query.  Defaults to the
	// same value found in `queryOptions` parameter specified below, or if that is
	// empty, the `datacenter` value found in the Consul agent that this provider is
	// configured to talk to.
	Datacenter        pulumi.StringPtrInput `pulumi:"datacenter"`
	Namespace         pulumi.StringPtrInput `pulumi:"namespace"`
	Near              pulumi.StringPtrInput `pulumi:"near"`
	NodeMeta          pulumi.StringMapInput `pulumi:"nodeMeta"`
	RequireConsistent pulumi.BoolPtrInput   `pulumi:"requireConsistent"`
	Token             pulumi.StringPtrInput `pulumi:"token"`
	WaitIndex         pulumi.IntPtrInput    `pulumi:"waitIndex"`
	WaitTime          pulumi.StringPtrInput `pulumi:"waitTime"`
}

func (GetServicesQueryOptionArgs) ElementType added in v1.5.0

func (GetServicesQueryOptionArgs) ElementType() reflect.Type

func (GetServicesQueryOptionArgs) ToGetServicesQueryOptionOutput added in v1.5.0

func (i GetServicesQueryOptionArgs) ToGetServicesQueryOptionOutput() GetServicesQueryOptionOutput

func (GetServicesQueryOptionArgs) ToGetServicesQueryOptionOutputWithContext added in v1.5.0

func (i GetServicesQueryOptionArgs) ToGetServicesQueryOptionOutputWithContext(ctx context.Context) GetServicesQueryOptionOutput

type GetServicesQueryOptionArray added in v1.5.0

type GetServicesQueryOptionArray []GetServicesQueryOptionInput

func (GetServicesQueryOptionArray) ElementType added in v1.5.0

func (GetServicesQueryOptionArray) ToGetServicesQueryOptionArrayOutput added in v1.5.0

func (i GetServicesQueryOptionArray) ToGetServicesQueryOptionArrayOutput() GetServicesQueryOptionArrayOutput

func (GetServicesQueryOptionArray) ToGetServicesQueryOptionArrayOutputWithContext added in v1.5.0

func (i GetServicesQueryOptionArray) ToGetServicesQueryOptionArrayOutputWithContext(ctx context.Context) GetServicesQueryOptionArrayOutput

type GetServicesQueryOptionArrayInput added in v1.5.0

type GetServicesQueryOptionArrayInput interface {
	pulumi.Input

	ToGetServicesQueryOptionArrayOutput() GetServicesQueryOptionArrayOutput
	ToGetServicesQueryOptionArrayOutputWithContext(context.Context) GetServicesQueryOptionArrayOutput
}

type GetServicesQueryOptionArrayOutput added in v1.5.0

type GetServicesQueryOptionArrayOutput struct{ *pulumi.OutputState }

func (GetServicesQueryOptionArrayOutput) ElementType added in v1.5.0

func (GetServicesQueryOptionArrayOutput) Index added in v1.5.0

func (GetServicesQueryOptionArrayOutput) ToGetServicesQueryOptionArrayOutput added in v1.5.0

func (o GetServicesQueryOptionArrayOutput) ToGetServicesQueryOptionArrayOutput() GetServicesQueryOptionArrayOutput

func (GetServicesQueryOptionArrayOutput) ToGetServicesQueryOptionArrayOutputWithContext added in v1.5.0

func (o GetServicesQueryOptionArrayOutput) ToGetServicesQueryOptionArrayOutputWithContext(ctx context.Context) GetServicesQueryOptionArrayOutput

type GetServicesQueryOptionInput added in v1.5.0

type GetServicesQueryOptionInput interface {
	pulumi.Input

	ToGetServicesQueryOptionOutput() GetServicesQueryOptionOutput
	ToGetServicesQueryOptionOutputWithContext(context.Context) GetServicesQueryOptionOutput
}

type GetServicesQueryOptionOutput added in v1.5.0

type GetServicesQueryOptionOutput struct{ *pulumi.OutputState }

func (GetServicesQueryOptionOutput) AllowStale added in v1.5.0

func (GetServicesQueryOptionOutput) Datacenter added in v1.5.0

The Consul datacenter to query. Defaults to the same value found in `queryOptions` parameter specified below, or if that is empty, the `datacenter` value found in the Consul agent that this provider is configured to talk to.

func (GetServicesQueryOptionOutput) ElementType added in v1.5.0

func (GetServicesQueryOptionOutput) Namespace added in v1.7.0

func (GetServicesQueryOptionOutput) Near added in v1.5.0

func (GetServicesQueryOptionOutput) NodeMeta added in v1.5.0

func (GetServicesQueryOptionOutput) RequireConsistent added in v1.5.0

func (o GetServicesQueryOptionOutput) RequireConsistent() pulumi.BoolPtrOutput

func (GetServicesQueryOptionOutput) ToGetServicesQueryOptionOutput added in v1.5.0

func (o GetServicesQueryOptionOutput) ToGetServicesQueryOptionOutput() GetServicesQueryOptionOutput

func (GetServicesQueryOptionOutput) ToGetServicesQueryOptionOutputWithContext added in v1.5.0

func (o GetServicesQueryOptionOutput) ToGetServicesQueryOptionOutputWithContext(ctx context.Context) GetServicesQueryOptionOutput

func (GetServicesQueryOptionOutput) Token added in v1.5.0

func (GetServicesQueryOptionOutput) WaitIndex added in v1.5.0

func (GetServicesQueryOptionOutput) WaitTime added in v1.5.0

type GetServicesResult

type GetServicesResult struct {
	// The datacenter the keys are being read from to.
	Datacenter string `pulumi:"datacenter"`
	// id is the provider-assigned unique ID for this managed resource.
	Id           string                   `pulumi:"id"`
	Names        []string                 `pulumi:"names"`
	QueryOptions []GetServicesQueryOption `pulumi:"queryOptions"`
	Services     map[string]string        `pulumi:"services"`
}

A collection of values returned by getServices.

func GetServices added in v1.5.0

func GetServices(ctx *pulumi.Context, args *GetServicesArgs, opts ...pulumi.InvokeOption) (*GetServicesResult, error)

The `.getServices` data source returns a list of Consul services that have been registered with the Consul cluster in a given datacenter. By specifying a different datacenter in the `queryOptions` it is possible to retrieve a list of services from a different WAN-attached Consul datacenter.

This data source is different from the `.Service` (singular) data source, which provides a detailed response about a specific Consul service.

> This content is derived from https://github.com/terraform-providers/terraform-provider-consul/blob/master/website/docs/d/services.html.markdown.

type Intention

type Intention struct {
	pulumi.CustomResourceState

	// The intention action. Must be one of `allow` or `deny`.
	Action pulumi.StringOutput `pulumi:"action"`
	// Optional description that can be used by Consul
	// tooling, but is not used internally.
	Description pulumi.StringPtrOutput `pulumi:"description"`
	// The name of the destination service for the intention. This
	// service does not have to exist.
	DestinationName pulumi.StringOutput `pulumi:"destinationName"`
	// The destination
	// namespace of the intention.
	DestinationNamespace pulumi.StringPtrOutput `pulumi:"destinationNamespace"`
	// Key/value pairs that are opaque to Consul and are associated
	// with the intention.
	Meta pulumi.StringMapOutput `pulumi:"meta"`
	// The name of the source service for the intention. This
	// service does not have to exist.
	SourceName pulumi.StringOutput `pulumi:"sourceName"`
	// The source namespace of the
	// intention.
	SourceNamespace pulumi.StringPtrOutput `pulumi:"sourceNamespace"`
}

[Intentions](https://www.consul.io/docs/connect/intentions.html) are used to define rules for which services may connect to one another when using [Consul Connect](https://www.consul.io/docs/connect/index.html).

It is appropriate to either reference existing services or specify non-existent services that will be created in the future when creating intentions. This resource can be used in conjunction with the `.Service` datasource when referencing services registered on nodes that have a running Consul agent.

> This content is derived from https://github.com/terraform-providers/terraform-provider-consul/blob/master/website/docs/r/intention.html.markdown.

func GetIntention

func GetIntention(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *IntentionState, opts ...pulumi.ResourceOption) (*Intention, error)

GetIntention gets an existing Intention 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 NewIntention

func NewIntention(ctx *pulumi.Context,
	name string, args *IntentionArgs, opts ...pulumi.ResourceOption) (*Intention, error)

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

type IntentionArgs

type IntentionArgs struct {
	// The intention action. Must be one of `allow` or `deny`.
	Action pulumi.StringInput
	// Optional description that can be used by Consul
	// tooling, but is not used internally.
	Description pulumi.StringPtrInput
	// The name of the destination service for the intention. This
	// service does not have to exist.
	DestinationName pulumi.StringInput
	// The destination
	// namespace of the intention.
	DestinationNamespace pulumi.StringPtrInput
	// Key/value pairs that are opaque to Consul and are associated
	// with the intention.
	Meta pulumi.StringMapInput
	// The name of the source service for the intention. This
	// service does not have to exist.
	SourceName pulumi.StringInput
	// The source namespace of the
	// intention.
	SourceNamespace pulumi.StringPtrInput
}

The set of arguments for constructing a Intention resource.

func (IntentionArgs) ElementType added in v1.5.0

func (IntentionArgs) ElementType() reflect.Type

type IntentionState

type IntentionState struct {
	// The intention action. Must be one of `allow` or `deny`.
	Action pulumi.StringPtrInput
	// Optional description that can be used by Consul
	// tooling, but is not used internally.
	Description pulumi.StringPtrInput
	// The name of the destination service for the intention. This
	// service does not have to exist.
	DestinationName pulumi.StringPtrInput
	// The destination
	// namespace of the intention.
	DestinationNamespace pulumi.StringPtrInput
	// Key/value pairs that are opaque to Consul and are associated
	// with the intention.
	Meta pulumi.StringMapInput
	// The name of the source service for the intention. This
	// service does not have to exist.
	SourceName pulumi.StringPtrInput
	// The source namespace of the
	// intention.
	SourceNamespace pulumi.StringPtrInput
}

func (IntentionState) ElementType added in v1.5.0

func (IntentionState) ElementType() reflect.Type

type KeyPrefix

type KeyPrefix struct {
	pulumi.CustomResourceState

	// The datacenter to use. This overrides the
	// agent's default datacenter and the datacenter in the provider setup.
	Datacenter pulumi.StringOutput `pulumi:"datacenter"`
	// The namespace to create the keys within.
	Namespace pulumi.StringPtrOutput `pulumi:"namespace"`
	// Specifies the common prefix shared by all keys
	// that will be managed by this resource instance. In most cases this will
	// end with a slash, to manage a "folder" of keys.
	PathPrefix pulumi.StringOutput `pulumi:"pathPrefix"`
	// A subkey to add. Supported values documented below.
	// Multiple blocks supported.
	SubkeyCollection KeyPrefixSubkeyCollectionArrayOutput `pulumi:"subkeyCollection"`
	// A mapping from subkey name (which will be appended
	// to the given `pathPrefix`) to the value that should be stored at that key.
	// Use slashes, as shown in the above example, to create "sub-folders" under
	// the given path prefix.
	Subkeys pulumi.StringMapOutput `pulumi:"subkeys"`
	// The ACL token to use. This overrides the
	// token that the agent provides by default.
	Token pulumi.StringPtrOutput `pulumi:"token"`
}

func GetKeyPrefix

func GetKeyPrefix(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *KeyPrefixState, opts ...pulumi.ResourceOption) (*KeyPrefix, error)

GetKeyPrefix gets an existing KeyPrefix 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 NewKeyPrefix

func NewKeyPrefix(ctx *pulumi.Context,
	name string, args *KeyPrefixArgs, opts ...pulumi.ResourceOption) (*KeyPrefix, error)

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

type KeyPrefixArgs

type KeyPrefixArgs struct {
	// The datacenter to use. This overrides the
	// agent's default datacenter and the datacenter in the provider setup.
	Datacenter pulumi.StringPtrInput
	// The namespace to create the keys within.
	Namespace pulumi.StringPtrInput
	// Specifies the common prefix shared by all keys
	// that will be managed by this resource instance. In most cases this will
	// end with a slash, to manage a "folder" of keys.
	PathPrefix pulumi.StringInput
	// A subkey to add. Supported values documented below.
	// Multiple blocks supported.
	SubkeyCollection KeyPrefixSubkeyCollectionArrayInput
	// A mapping from subkey name (which will be appended
	// to the given `pathPrefix`) to the value that should be stored at that key.
	// Use slashes, as shown in the above example, to create "sub-folders" under
	// the given path prefix.
	Subkeys pulumi.StringMapInput
	// The ACL token to use. This overrides the
	// token that the agent provides by default.
	Token pulumi.StringPtrInput
}

The set of arguments for constructing a KeyPrefix resource.

func (KeyPrefixArgs) ElementType added in v1.5.0

func (KeyPrefixArgs) ElementType() reflect.Type

type KeyPrefixState

type KeyPrefixState struct {
	// The datacenter to use. This overrides the
	// agent's default datacenter and the datacenter in the provider setup.
	Datacenter pulumi.StringPtrInput
	// The namespace to create the keys within.
	Namespace pulumi.StringPtrInput
	// Specifies the common prefix shared by all keys
	// that will be managed by this resource instance. In most cases this will
	// end with a slash, to manage a "folder" of keys.
	PathPrefix pulumi.StringPtrInput
	// A subkey to add. Supported values documented below.
	// Multiple blocks supported.
	SubkeyCollection KeyPrefixSubkeyCollectionArrayInput
	// A mapping from subkey name (which will be appended
	// to the given `pathPrefix`) to the value that should be stored at that key.
	// Use slashes, as shown in the above example, to create "sub-folders" under
	// the given path prefix.
	Subkeys pulumi.StringMapInput
	// The ACL token to use. This overrides the
	// token that the agent provides by default.
	Token pulumi.StringPtrInput
}

func (KeyPrefixState) ElementType added in v1.5.0

func (KeyPrefixState) ElementType() reflect.Type

type KeyPrefixSubkeyCollection added in v1.5.0

type KeyPrefixSubkeyCollection struct {
	Flags *int   `pulumi:"flags"`
	Path  string `pulumi:"path"`
	Value string `pulumi:"value"`
}

type KeyPrefixSubkeyCollectionArgs added in v1.5.0

type KeyPrefixSubkeyCollectionArgs struct {
	Flags pulumi.IntPtrInput `pulumi:"flags"`
	Path  pulumi.StringInput `pulumi:"path"`
	Value pulumi.StringInput `pulumi:"value"`
}

func (KeyPrefixSubkeyCollectionArgs) ElementType added in v1.5.0

func (KeyPrefixSubkeyCollectionArgs) ToKeyPrefixSubkeyCollectionOutput added in v1.5.0

func (i KeyPrefixSubkeyCollectionArgs) ToKeyPrefixSubkeyCollectionOutput() KeyPrefixSubkeyCollectionOutput

func (KeyPrefixSubkeyCollectionArgs) ToKeyPrefixSubkeyCollectionOutputWithContext added in v1.5.0

func (i KeyPrefixSubkeyCollectionArgs) ToKeyPrefixSubkeyCollectionOutputWithContext(ctx context.Context) KeyPrefixSubkeyCollectionOutput

type KeyPrefixSubkeyCollectionArray added in v1.5.0

type KeyPrefixSubkeyCollectionArray []KeyPrefixSubkeyCollectionInput

func (KeyPrefixSubkeyCollectionArray) ElementType added in v1.5.0

func (KeyPrefixSubkeyCollectionArray) ToKeyPrefixSubkeyCollectionArrayOutput added in v1.5.0

func (i KeyPrefixSubkeyCollectionArray) ToKeyPrefixSubkeyCollectionArrayOutput() KeyPrefixSubkeyCollectionArrayOutput

func (KeyPrefixSubkeyCollectionArray) ToKeyPrefixSubkeyCollectionArrayOutputWithContext added in v1.5.0

func (i KeyPrefixSubkeyCollectionArray) ToKeyPrefixSubkeyCollectionArrayOutputWithContext(ctx context.Context) KeyPrefixSubkeyCollectionArrayOutput

type KeyPrefixSubkeyCollectionArrayInput added in v1.5.0

type KeyPrefixSubkeyCollectionArrayInput interface {
	pulumi.Input

	ToKeyPrefixSubkeyCollectionArrayOutput() KeyPrefixSubkeyCollectionArrayOutput
	ToKeyPrefixSubkeyCollectionArrayOutputWithContext(context.Context) KeyPrefixSubkeyCollectionArrayOutput
}

type KeyPrefixSubkeyCollectionArrayOutput added in v1.5.0

type KeyPrefixSubkeyCollectionArrayOutput struct{ *pulumi.OutputState }

func (KeyPrefixSubkeyCollectionArrayOutput) ElementType added in v1.5.0

func (KeyPrefixSubkeyCollectionArrayOutput) Index added in v1.5.0

func (KeyPrefixSubkeyCollectionArrayOutput) ToKeyPrefixSubkeyCollectionArrayOutput added in v1.5.0

func (o KeyPrefixSubkeyCollectionArrayOutput) ToKeyPrefixSubkeyCollectionArrayOutput() KeyPrefixSubkeyCollectionArrayOutput

func (KeyPrefixSubkeyCollectionArrayOutput) ToKeyPrefixSubkeyCollectionArrayOutputWithContext added in v1.5.0

func (o KeyPrefixSubkeyCollectionArrayOutput) ToKeyPrefixSubkeyCollectionArrayOutputWithContext(ctx context.Context) KeyPrefixSubkeyCollectionArrayOutput

type KeyPrefixSubkeyCollectionInput added in v1.5.0

type KeyPrefixSubkeyCollectionInput interface {
	pulumi.Input

	ToKeyPrefixSubkeyCollectionOutput() KeyPrefixSubkeyCollectionOutput
	ToKeyPrefixSubkeyCollectionOutputWithContext(context.Context) KeyPrefixSubkeyCollectionOutput
}

type KeyPrefixSubkeyCollectionOutput added in v1.5.0

type KeyPrefixSubkeyCollectionOutput struct{ *pulumi.OutputState }

func (KeyPrefixSubkeyCollectionOutput) ElementType added in v1.5.0

func (KeyPrefixSubkeyCollectionOutput) Flags added in v1.5.0

func (KeyPrefixSubkeyCollectionOutput) Path added in v1.5.0

func (KeyPrefixSubkeyCollectionOutput) ToKeyPrefixSubkeyCollectionOutput added in v1.5.0

func (o KeyPrefixSubkeyCollectionOutput) ToKeyPrefixSubkeyCollectionOutput() KeyPrefixSubkeyCollectionOutput

func (KeyPrefixSubkeyCollectionOutput) ToKeyPrefixSubkeyCollectionOutputWithContext added in v1.5.0

func (o KeyPrefixSubkeyCollectionOutput) ToKeyPrefixSubkeyCollectionOutputWithContext(ctx context.Context) KeyPrefixSubkeyCollectionOutput

func (KeyPrefixSubkeyCollectionOutput) Value added in v1.5.0

type Keys

type Keys struct {
	pulumi.CustomResourceState

	// The datacenter to use. This overrides the
	// agent's default datacenter and the datacenter in the provider setup.
	Datacenter pulumi.StringOutput `pulumi:"datacenter"`
	// Specifies a key in Consul to be written.
	// Supported values documented below.
	Keys KeysKeyArrayOutput `pulumi:"keys"`
	// The namespace to create the keys within.
	Namespace pulumi.StringPtrOutput `pulumi:"namespace"`
	// The ACL token to use. This overrides the
	// token that the agent provides by default.
	Token pulumi.StringPtrOutput `pulumi:"token"`
	Var   pulumi.StringMapOutput `pulumi:"var"`
}

func GetKeys

func GetKeys(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *KeysState, opts ...pulumi.ResourceOption) (*Keys, error)

GetKeys gets an existing Keys 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 NewKeys

func NewKeys(ctx *pulumi.Context,
	name string, args *KeysArgs, opts ...pulumi.ResourceOption) (*Keys, error)

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

type KeysArgs

type KeysArgs struct {
	// The datacenter to use. This overrides the
	// agent's default datacenter and the datacenter in the provider setup.
	Datacenter pulumi.StringPtrInput
	// Specifies a key in Consul to be written.
	// Supported values documented below.
	Keys KeysKeyArrayInput
	// The namespace to create the keys within.
	Namespace pulumi.StringPtrInput
	// The ACL token to use. This overrides the
	// token that the agent provides by default.
	Token pulumi.StringPtrInput
}

The set of arguments for constructing a Keys resource.

func (KeysArgs) ElementType added in v1.5.0

func (KeysArgs) ElementType() reflect.Type

type KeysKey added in v1.5.0

type KeysKey struct {
	Default *string `pulumi:"default"`
	Delete  *bool   `pulumi:"delete"`
	Flags   *int    `pulumi:"flags"`
	Name    *string `pulumi:"name"`
	Path    string  `pulumi:"path"`
	Value   *string `pulumi:"value"`
}

type KeysKeyArgs added in v1.5.0

type KeysKeyArgs struct {
	Default pulumi.StringPtrInput `pulumi:"default"`
	Delete  pulumi.BoolPtrInput   `pulumi:"delete"`
	Flags   pulumi.IntPtrInput    `pulumi:"flags"`
	Name    pulumi.StringPtrInput `pulumi:"name"`
	Path    pulumi.StringInput    `pulumi:"path"`
	Value   pulumi.StringPtrInput `pulumi:"value"`
}

func (KeysKeyArgs) ElementType added in v1.5.0

func (KeysKeyArgs) ElementType() reflect.Type

func (KeysKeyArgs) ToKeysKeyOutput added in v1.5.0

func (i KeysKeyArgs) ToKeysKeyOutput() KeysKeyOutput

func (KeysKeyArgs) ToKeysKeyOutputWithContext added in v1.5.0

func (i KeysKeyArgs) ToKeysKeyOutputWithContext(ctx context.Context) KeysKeyOutput

type KeysKeyArray added in v1.5.0

type KeysKeyArray []KeysKeyInput

func (KeysKeyArray) ElementType added in v1.5.0

func (KeysKeyArray) ElementType() reflect.Type

func (KeysKeyArray) ToKeysKeyArrayOutput added in v1.5.0

func (i KeysKeyArray) ToKeysKeyArrayOutput() KeysKeyArrayOutput

func (KeysKeyArray) ToKeysKeyArrayOutputWithContext added in v1.5.0

func (i KeysKeyArray) ToKeysKeyArrayOutputWithContext(ctx context.Context) KeysKeyArrayOutput

type KeysKeyArrayInput added in v1.5.0

type KeysKeyArrayInput interface {
	pulumi.Input

	ToKeysKeyArrayOutput() KeysKeyArrayOutput
	ToKeysKeyArrayOutputWithContext(context.Context) KeysKeyArrayOutput
}

type KeysKeyArrayOutput added in v1.5.0

type KeysKeyArrayOutput struct{ *pulumi.OutputState }

func (KeysKeyArrayOutput) ElementType added in v1.5.0

func (KeysKeyArrayOutput) ElementType() reflect.Type

func (KeysKeyArrayOutput) Index added in v1.5.0

func (KeysKeyArrayOutput) ToKeysKeyArrayOutput added in v1.5.0

func (o KeysKeyArrayOutput) ToKeysKeyArrayOutput() KeysKeyArrayOutput

func (KeysKeyArrayOutput) ToKeysKeyArrayOutputWithContext added in v1.5.0

func (o KeysKeyArrayOutput) ToKeysKeyArrayOutputWithContext(ctx context.Context) KeysKeyArrayOutput

type KeysKeyInput added in v1.5.0

type KeysKeyInput interface {
	pulumi.Input

	ToKeysKeyOutput() KeysKeyOutput
	ToKeysKeyOutputWithContext(context.Context) KeysKeyOutput
}

type KeysKeyOutput added in v1.5.0

type KeysKeyOutput struct{ *pulumi.OutputState }

func (KeysKeyOutput) Default added in v1.5.0

func (o KeysKeyOutput) Default() pulumi.StringPtrOutput

func (KeysKeyOutput) Delete added in v1.5.0

func (o KeysKeyOutput) Delete() pulumi.BoolPtrOutput

func (KeysKeyOutput) ElementType added in v1.5.0

func (KeysKeyOutput) ElementType() reflect.Type

func (KeysKeyOutput) Flags added in v1.5.0

func (o KeysKeyOutput) Flags() pulumi.IntPtrOutput

func (KeysKeyOutput) Name added in v1.5.0

func (KeysKeyOutput) Path added in v1.5.0

func (KeysKeyOutput) ToKeysKeyOutput added in v1.5.0

func (o KeysKeyOutput) ToKeysKeyOutput() KeysKeyOutput

func (KeysKeyOutput) ToKeysKeyOutputWithContext added in v1.5.0

func (o KeysKeyOutput) ToKeysKeyOutputWithContext(ctx context.Context) KeysKeyOutput

func (KeysKeyOutput) Value added in v1.5.0

type KeysState

type KeysState struct {
	// The datacenter to use. This overrides the
	// agent's default datacenter and the datacenter in the provider setup.
	Datacenter pulumi.StringPtrInput
	// Specifies a key in Consul to be written.
	// Supported values documented below.
	Keys KeysKeyArrayInput
	// The namespace to create the keys within.
	Namespace pulumi.StringPtrInput
	// The ACL token to use. This overrides the
	// token that the agent provides by default.
	Token pulumi.StringPtrInput
	Var   pulumi.StringMapInput
}

func (KeysState) ElementType added in v1.5.0

func (KeysState) ElementType() reflect.Type

type LookupAclAuthMethodArgs added in v1.5.0

type LookupAclAuthMethodArgs struct {
	Config      map[string]string `pulumi:"config"`
	Description *string           `pulumi:"description"`
	// The name of the ACL Auth Method.
	Name string `pulumi:"name"`
	// The namespace to lookup the auth method.
	Namespace *string `pulumi:"namespace"`
	Type      *string `pulumi:"type"`
}

A collection of arguments for invoking getAclAuthMethod.

type LookupAclAuthMethodResult added in v1.5.0

type LookupAclAuthMethodResult struct {
	// The configuration options of the ACL Auth Method.
	Config map[string]string `pulumi:"config"`
	// The description of the ACL Auth Method.
	Description *string `pulumi:"description"`
	// id is the provider-assigned unique ID for this managed resource.
	Id        string  `pulumi:"id"`
	Name      string  `pulumi:"name"`
	Namespace *string `pulumi:"namespace"`
	// The type of the ACL Auth Method.
	Type *string `pulumi:"type"`
}

A collection of values returned by getAclAuthMethod.

func LookupAclAuthMethod

func LookupAclAuthMethod(ctx *pulumi.Context, args *LookupAclAuthMethodArgs, opts ...pulumi.InvokeOption) (*LookupAclAuthMethodResult, error)

The `.AclAuthMethod` data source returns the information related to a [Consul Auth Method](https://www.consul.io/docs/acl/acl-auth-methods.html).

> This content is derived from https://github.com/terraform-providers/terraform-provider-consul/blob/master/website/docs/d/acl_auth_method.html.markdown.

type LookupAclPolicyArgs added in v1.5.0

type LookupAclPolicyArgs struct {
	Datacenters []string `pulumi:"datacenters"`
	Description *string  `pulumi:"description"`
	// The name of the ACL Policy.
	Name string `pulumi:"name"`
	// The namespace to lookup the policy.
	Namespace *string `pulumi:"namespace"`
	Rules     *string `pulumi:"rules"`
}

A collection of arguments for invoking getAclPolicy.

type LookupAclPolicyResult added in v1.5.0

type LookupAclPolicyResult struct {
	// The datacenters associated with the ACL Policy.
	Datacenters []string `pulumi:"datacenters"`
	// The description of the ACL Policy.
	Description *string `pulumi:"description"`
	// id is the provider-assigned unique ID for this managed resource.
	Id        string  `pulumi:"id"`
	Name      string  `pulumi:"name"`
	Namespace *string `pulumi:"namespace"`
	// The rules associated with the ACL Policy.
	Rules *string `pulumi:"rules"`
}

A collection of values returned by getAclPolicy.

func LookupAclPolicy

func LookupAclPolicy(ctx *pulumi.Context, args *LookupAclPolicyArgs, opts ...pulumi.InvokeOption) (*LookupAclPolicyResult, error)

The `.AclPolicy` data source returns the information related to a [Consul ACL Policy](https://www.consul.io/docs/acl/acl-system.html#acl-policies).

> This content is derived from https://github.com/terraform-providers/terraform-provider-consul/blob/master/website/docs/d/acl_policy.html.markdown.

type LookupAclRoleArgs added in v1.5.0

type LookupAclRoleArgs struct {
	Description *string `pulumi:"description"`
	// The name of the ACL Role.
	Name string `pulumi:"name"`
	// The namespace to lookup the role.
	Namespace         *string                     `pulumi:"namespace"`
	Policies          []GetAclRolePolicy          `pulumi:"policies"`
	ServiceIdentities []GetAclRoleServiceIdentity `pulumi:"serviceIdentities"`
}

A collection of arguments for invoking getAclRole.

type LookupAclRoleResult added in v1.5.0

type LookupAclRoleResult struct {
	// The description of the ACL Role.
	Description *string `pulumi:"description"`
	// id is the provider-assigned unique ID for this managed resource.
	Id        string  `pulumi:"id"`
	Name      string  `pulumi:"name"`
	Namespace *string `pulumi:"namespace"`
	// The list of policies associated with the ACL Role. Each entry has
	// an `id` and a `name` attribute.
	Policies []GetAclRolePolicy `pulumi:"policies"`
	// The list of service identities associated with the ACL
	// Role. Each entry has a `serviceName` attribute and a list of `datacenters`.
	ServiceIdentities []GetAclRoleServiceIdentity `pulumi:"serviceIdentities"`
}

A collection of values returned by getAclRole.

func LookupAclRole

func LookupAclRole(ctx *pulumi.Context, args *LookupAclRoleArgs, opts ...pulumi.InvokeOption) (*LookupAclRoleResult, error)

The `.AclRole` data source returns the information related to a [Consul ACL Role](https://www.consul.io/api/acl/roles.html).

> This content is derived from https://github.com/terraform-providers/terraform-provider-consul/blob/master/website/docs/d/acl_role.html.markdown.

type LookupAclTokenArgs added in v1.5.0

type LookupAclTokenArgs struct {
	// The accessor ID of the ACL token.
	AccessorId  string  `pulumi:"accessorId"`
	Description *string `pulumi:"description"`
	Local       *bool   `pulumi:"local"`
	// The namespace to lookup the ACL token.
	Namespace *string             `pulumi:"namespace"`
	Policies  []GetAclTokenPolicy `pulumi:"policies"`
}

A collection of arguments for invoking getAclToken.

type LookupAclTokenResult added in v1.5.0

type LookupAclTokenResult struct {
	AccessorId string `pulumi:"accessorId"`
	// The description of the ACL token.
	Description *string `pulumi:"description"`
	// id is the provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// Whether the ACL token is local to the datacenter it was created within.
	Local     *bool   `pulumi:"local"`
	Namespace *string `pulumi:"namespace"`
	// A list of policies associated with the ACL token. Each entry has
	// an `id` and a `name` attribute.
	Policies []GetAclTokenPolicy `pulumi:"policies"`
}

A collection of values returned by getAclToken.

func LookupAclToken

func LookupAclToken(ctx *pulumi.Context, args *LookupAclTokenArgs, opts ...pulumi.InvokeOption) (*LookupAclTokenResult, error)

The `.AclToken` data source returns the information related to the `.AclToken` resource with the exception of its secret ID.

If you want to get the secret ID associated with a token, use the [`.getAclTokenSecretId` data source](https://www.terraform.io/docs/providers/consul/d/acl_token_secret_id.html).

> This content is derived from https://github.com/terraform-providers/terraform-provider-consul/blob/master/website/docs/d/acl_token.html.markdown.

type LookupKeyPrefixArgs added in v1.5.0

type LookupKeyPrefixArgs struct {
	// The datacenter to use. This overrides the
	// agent's default datacenter and the datacenter in the provider setup.
	Datacenter *string `pulumi:"datacenter"`
	// The namespace to create the keys within.
	Namespace *string `pulumi:"namespace"`
	// Specifies the common prefix shared by all keys
	// that will be read by this data source instance. In most cases, this will
	// end with a slash to read a "folder" of subkeys.
	PathPrefix string `pulumi:"pathPrefix"`
	// Specifies a subkey in Consul to be read. Supported
	// values documented below. Multiple blocks supported.
	SubkeyCollection []GetKeyPrefixSubkeyCollection `pulumi:"subkeyCollection"`
	// The ACL token to use. This overrides the
	// token that the agent provides by default.
	Token *string `pulumi:"token"`
}

A collection of arguments for invoking getKeyPrefix.

type LookupKeyPrefixResult added in v1.5.0

type LookupKeyPrefixResult struct {
	// The datacenter the keys are being read from.
	Datacenter string `pulumi:"datacenter"`
	// id is the provider-assigned unique ID for this managed resource.
	Id        string  `pulumi:"id"`
	Namespace *string `pulumi:"namespace"`
	// the common prefix shared by all keys being read.
	// * `var.<name>` - For each name given, the corresponding attribute
	// has the value of the key.
	PathPrefix       string                         `pulumi:"pathPrefix"`
	SubkeyCollection []GetKeyPrefixSubkeyCollection `pulumi:"subkeyCollection"`
	// A map of the subkeys and values is set if no `subkey`
	// block is provided.
	Subkeys map[string]string `pulumi:"subkeys"`
	Token   *string           `pulumi:"token"`
	Var     map[string]string `pulumi:"var"`
}

A collection of values returned by getKeyPrefix.

func LookupKeyPrefix

func LookupKeyPrefix(ctx *pulumi.Context, args *LookupKeyPrefixArgs, opts ...pulumi.InvokeOption) (*LookupKeyPrefixResult, error)

type LookupKeysArgs added in v1.5.0

type LookupKeysArgs struct {
	// The datacenter to use. This overrides the
	// agent's default datacenter and the datacenter in the provider setup.
	Datacenter *string `pulumi:"datacenter"`
	// Specifies a key in Consul to be read. Supported
	// values documented below. Multiple blocks supported.
	Keys []GetKeysKey `pulumi:"keys"`
	// The namespace to lookup the keys.
	Namespace *string `pulumi:"namespace"`
	// The ACL token to use. This overrides the
	// token that the agent provides by default.
	Token *string `pulumi:"token"`
}

A collection of arguments for invoking getKeys.

type LookupKeysResult added in v1.5.0

type LookupKeysResult struct {
	// The datacenter the keys are being read from.
	// * `var.<name>` - For each name given, the corresponding attribute
	// has the value of the key.
	Datacenter string `pulumi:"datacenter"`
	// id is the provider-assigned unique ID for this managed resource.
	Id        string            `pulumi:"id"`
	Keys      []GetKeysKey      `pulumi:"keys"`
	Namespace *string           `pulumi:"namespace"`
	Token     *string           `pulumi:"token"`
	Var       map[string]string `pulumi:"var"`
}

A collection of values returned by getKeys.

func LookupKeys

func LookupKeys(ctx *pulumi.Context, args *LookupKeysArgs, opts ...pulumi.InvokeOption) (*LookupKeysResult, error)

The `.Keys` resource reads values from the Consul key/value store. This is a powerful way dynamically set values in templates.

> This content is derived from https://github.com/terraform-providers/terraform-provider-consul/blob/master/website/docs/d/keys.html.markdown.

type LookupServiceArgs added in v1.5.0

type LookupServiceArgs struct {
	// The Consul datacenter to query.  Defaults to the
	// same value found in `queryOptions` parameter specified below, or if that is
	// empty, the `datacenter` value found in the Consul agent that this provider is
	// configured to talk to.
	Datacenter *string `pulumi:"datacenter"`
	// The service name to select.
	Name string `pulumi:"name"`
	// See below.
	QueryOptions []GetServiceQueryOption `pulumi:"queryOptions"`
	// A single tag that can be used to filter the list of nodes
	// to return based on a single matching tag..
	Tag *string `pulumi:"tag"`
}

A collection of arguments for invoking getService.

type LookupServiceResult added in v1.5.0

type LookupServiceResult struct {
	// The datacenter the keys are being read from to.
	Datacenter *string `pulumi:"datacenter"`
	// id is the provider-assigned unique ID for this managed resource.
	Id string `pulumi:"id"`
	// The name of the service
	Name         string                  `pulumi:"name"`
	QueryOptions []GetServiceQueryOption `pulumi:"queryOptions"`
	// A list of nodes and details about each endpoint advertising a
	// service.  Each element in the list is a map of attributes that correspond to
	// each individual node.  The list of per-node attributes is detailed below.
	Services []GetServiceService `pulumi:"services"`
	// The name of the tag used to filter the list of nodes in `service`.
	Tag *string `pulumi:"tag"`
}

A collection of values returned by getService.

func LookupService

func LookupService(ctx *pulumi.Context, args *LookupServiceArgs, opts ...pulumi.InvokeOption) (*LookupServiceResult, error)

`.Service` provides details about a specific Consul service in a given datacenter. The results include a list of nodes advertising the specified service, the node's IP address, port number, node ID, etc. By specifying a different datacenter in the `queryOptions` it is possible to retrieve a list of services from a different WAN-attached Consul datacenter.

This data source is different from the `.getServices` (plural) data source, which provides a summary of the current Consul services.

> This content is derived from https://github.com/terraform-providers/terraform-provider-consul/blob/master/website/docs/d/service.html.markdown.

type Node

type Node struct {
	pulumi.CustomResourceState

	// The address of the node being added to,
	// or referenced in the catalog.
	Address pulumi.StringOutput `pulumi:"address"`
	// The datacenter to use. This overrides the agent's
	// default datacenter and the datacenter in the provider setup.
	Datacenter pulumi.StringOutput `pulumi:"datacenter"`
	// Key/value pairs that are associated with the node.
	Meta pulumi.StringMapOutput `pulumi:"meta"`
	// The name of the node being added to, or
	// referenced in the catalog.
	Name  pulumi.StringOutput    `pulumi:"name"`
	Token pulumi.StringPtrOutput `pulumi:"token"`
}

Provides access to Node data in Consul. This can be used to define a node. Currently, defining health checks is not supported.

> This content is derived from https://github.com/terraform-providers/terraform-provider-consul/blob/master/website/docs/r/node.html.markdown.

func GetNode

func GetNode(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *NodeState, opts ...pulumi.ResourceOption) (*Node, error)

GetNode gets an existing Node 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 NewNode

func NewNode(ctx *pulumi.Context,
	name string, args *NodeArgs, opts ...pulumi.ResourceOption) (*Node, error)

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

type NodeArgs

type NodeArgs struct {
	// The address of the node being added to,
	// or referenced in the catalog.
	Address pulumi.StringInput
	// The datacenter to use. This overrides the agent's
	// default datacenter and the datacenter in the provider setup.
	Datacenter pulumi.StringPtrInput
	// Key/value pairs that are associated with the node.
	Meta pulumi.StringMapInput
	// The name of the node being added to, or
	// referenced in the catalog.
	Name  pulumi.StringPtrInput
	Token pulumi.StringPtrInput
}

The set of arguments for constructing a Node resource.

func (NodeArgs) ElementType added in v1.5.0

func (NodeArgs) ElementType() reflect.Type

type NodeState

type NodeState struct {
	// The address of the node being added to,
	// or referenced in the catalog.
	Address pulumi.StringPtrInput
	// The datacenter to use. This overrides the agent's
	// default datacenter and the datacenter in the provider setup.
	Datacenter pulumi.StringPtrInput
	// Key/value pairs that are associated with the node.
	Meta pulumi.StringMapInput
	// The name of the node being added to, or
	// referenced in the catalog.
	Name  pulumi.StringPtrInput
	Token pulumi.StringPtrInput
}

func (NodeState) ElementType added in v1.5.0

func (NodeState) ElementType() reflect.Type

type PreparedQuery

type PreparedQuery struct {
	pulumi.CustomResourceState

	// When `true` the prepared query will return connect
	// proxy services for a queried service.  Conditions such as `tags` in the
	// prepared query will be matched against the proxy service. Defaults to false.
	Connect pulumi.BoolPtrOutput `pulumi:"connect"`
	// The datacenter to use. This overrides the
	// agent's default datacenter and the datacenter in the provider setup.
	Datacenter pulumi.StringPtrOutput `pulumi:"datacenter"`
	// Settings for controlling the DNS response details.
	Dns PreparedQueryDnsPtrOutput `pulumi:"dns"`
	// Options for controlling behavior when no healthy
	// nodes are available in the local DC.
	Failover PreparedQueryFailoverPtrOutput `pulumi:"failover"`
	// The name of the prepared query. Used to identify
	// the prepared query during requests. Can be specified as an empty string
	// to configure the query as a catch-all.
	Name pulumi.StringOutput `pulumi:"name"`
	// Allows specifying the name of a node to sort results
	// near using Consul's distance sorting and network coordinates. The magic
	// `_agent` value can be used to always sort nearest the node servicing the
	// request.
	Near pulumi.StringPtrOutput `pulumi:"near"`
	// When `true`, the prepared query will only
	// return nodes with passing health checks in the result.
	OnlyPassing pulumi.BoolPtrOutput `pulumi:"onlyPassing"`
	// The name of the service to query.
	Service pulumi.StringOutput `pulumi:"service"`
	// The name of the Consul session to tie this query's
	// lifetime to.  This is an advanced parameter that should not be used without a
	// complete understanding of Consul sessions and the implications of their use
	// (it is recommended to leave this blank in nearly all cases).  If this
	// parameter is omitted the query will not expire.
	Session pulumi.StringPtrOutput `pulumi:"session"`
	// The ACL token to store with the prepared
	// query. This token will be used by default whenever the query is executed.
	StoredToken pulumi.StringPtrOutput `pulumi:"storedToken"`
	// The list of required and/or disallowed tags.  If a tag is
	// in this list it must be present.  If the tag is preceded with a "!" then it is
	// disallowed.
	Tags pulumi.StringArrayOutput `pulumi:"tags"`
	// Query templating options. This is used to make a
	// single prepared query respond to many different requests.
	Template PreparedQueryTemplatePtrOutput `pulumi:"template"`
	// The ACL token to use when saving the prepared query.
	// This overrides the token that the agent provides by default.
	Token pulumi.StringPtrOutput `pulumi:"token"`
}

func GetPreparedQuery

func GetPreparedQuery(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *PreparedQueryState, opts ...pulumi.ResourceOption) (*PreparedQuery, error)

GetPreparedQuery gets an existing PreparedQuery 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 NewPreparedQuery

func NewPreparedQuery(ctx *pulumi.Context,
	name string, args *PreparedQueryArgs, opts ...pulumi.ResourceOption) (*PreparedQuery, error)

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

type PreparedQueryArgs

type PreparedQueryArgs struct {
	// When `true` the prepared query will return connect
	// proxy services for a queried service.  Conditions such as `tags` in the
	// prepared query will be matched against the proxy service. Defaults to false.
	Connect pulumi.BoolPtrInput
	// The datacenter to use. This overrides the
	// agent's default datacenter and the datacenter in the provider setup.
	Datacenter pulumi.StringPtrInput
	// Settings for controlling the DNS response details.
	Dns PreparedQueryDnsPtrInput
	// Options for controlling behavior when no healthy
	// nodes are available in the local DC.
	Failover PreparedQueryFailoverPtrInput
	// The name of the prepared query. Used to identify
	// the prepared query during requests. Can be specified as an empty string
	// to configure the query as a catch-all.
	Name pulumi.StringPtrInput
	// Allows specifying the name of a node to sort results
	// near using Consul's distance sorting and network coordinates. The magic
	// `_agent` value can be used to always sort nearest the node servicing the
	// request.
	Near pulumi.StringPtrInput
	// When `true`, the prepared query will only
	// return nodes with passing health checks in the result.
	OnlyPassing pulumi.BoolPtrInput
	// The name of the service to query.
	Service pulumi.StringInput
	// The name of the Consul session to tie this query's
	// lifetime to.  This is an advanced parameter that should not be used without a
	// complete understanding of Consul sessions and the implications of their use
	// (it is recommended to leave this blank in nearly all cases).  If this
	// parameter is omitted the query will not expire.
	Session pulumi.StringPtrInput
	// The ACL token to store with the prepared
	// query. This token will be used by default whenever the query is executed.
	StoredToken pulumi.StringPtrInput
	// The list of required and/or disallowed tags.  If a tag is
	// in this list it must be present.  If the tag is preceded with a "!" then it is
	// disallowed.
	Tags pulumi.StringArrayInput
	// Query templating options. This is used to make a
	// single prepared query respond to many different requests.
	Template PreparedQueryTemplatePtrInput
	// The ACL token to use when saving the prepared query.
	// This overrides the token that the agent provides by default.
	Token pulumi.StringPtrInput
}

The set of arguments for constructing a PreparedQuery resource.

func (PreparedQueryArgs) ElementType added in v1.5.0

func (PreparedQueryArgs) ElementType() reflect.Type

type PreparedQueryDns added in v1.5.0

type PreparedQueryDns struct {
	// The TTL to send when returning DNS results.
	Ttl *string `pulumi:"ttl"`
}

type PreparedQueryDnsArgs added in v1.5.0

type PreparedQueryDnsArgs struct {
	// The TTL to send when returning DNS results.
	Ttl pulumi.StringPtrInput `pulumi:"ttl"`
}

func (PreparedQueryDnsArgs) ElementType added in v1.5.0

func (PreparedQueryDnsArgs) ElementType() reflect.Type

func (PreparedQueryDnsArgs) ToPreparedQueryDnsOutput added in v1.5.0

func (i PreparedQueryDnsArgs) ToPreparedQueryDnsOutput() PreparedQueryDnsOutput

func (PreparedQueryDnsArgs) ToPreparedQueryDnsOutputWithContext added in v1.5.0

func (i PreparedQueryDnsArgs) ToPreparedQueryDnsOutputWithContext(ctx context.Context) PreparedQueryDnsOutput

func (PreparedQueryDnsArgs) ToPreparedQueryDnsPtrOutput added in v1.5.0

func (i PreparedQueryDnsArgs) ToPreparedQueryDnsPtrOutput() PreparedQueryDnsPtrOutput

func (PreparedQueryDnsArgs) ToPreparedQueryDnsPtrOutputWithContext added in v1.5.0

func (i PreparedQueryDnsArgs) ToPreparedQueryDnsPtrOutputWithContext(ctx context.Context) PreparedQueryDnsPtrOutput

type PreparedQueryDnsInput added in v1.5.0

type PreparedQueryDnsInput interface {
	pulumi.Input

	ToPreparedQueryDnsOutput() PreparedQueryDnsOutput
	ToPreparedQueryDnsOutputWithContext(context.Context) PreparedQueryDnsOutput
}

type PreparedQueryDnsOutput added in v1.5.0

type PreparedQueryDnsOutput struct{ *pulumi.OutputState }

func (PreparedQueryDnsOutput) ElementType added in v1.5.0

func (PreparedQueryDnsOutput) ElementType() reflect.Type

func (PreparedQueryDnsOutput) ToPreparedQueryDnsOutput added in v1.5.0

func (o PreparedQueryDnsOutput) ToPreparedQueryDnsOutput() PreparedQueryDnsOutput

func (PreparedQueryDnsOutput) ToPreparedQueryDnsOutputWithContext added in v1.5.0

func (o PreparedQueryDnsOutput) ToPreparedQueryDnsOutputWithContext(ctx context.Context) PreparedQueryDnsOutput

func (PreparedQueryDnsOutput) ToPreparedQueryDnsPtrOutput added in v1.5.0

func (o PreparedQueryDnsOutput) ToPreparedQueryDnsPtrOutput() PreparedQueryDnsPtrOutput

func (PreparedQueryDnsOutput) ToPreparedQueryDnsPtrOutputWithContext added in v1.5.0

func (o PreparedQueryDnsOutput) ToPreparedQueryDnsPtrOutputWithContext(ctx context.Context) PreparedQueryDnsPtrOutput

func (PreparedQueryDnsOutput) Ttl added in v1.5.0

The TTL to send when returning DNS results.

type PreparedQueryDnsPtrInput added in v1.5.0

type PreparedQueryDnsPtrInput interface {
	pulumi.Input

	ToPreparedQueryDnsPtrOutput() PreparedQueryDnsPtrOutput
	ToPreparedQueryDnsPtrOutputWithContext(context.Context) PreparedQueryDnsPtrOutput
}

func PreparedQueryDnsPtr added in v1.5.0

func PreparedQueryDnsPtr(v *PreparedQueryDnsArgs) PreparedQueryDnsPtrInput

type PreparedQueryDnsPtrOutput added in v1.5.0

type PreparedQueryDnsPtrOutput struct{ *pulumi.OutputState }

func (PreparedQueryDnsPtrOutput) Elem added in v1.5.0

func (PreparedQueryDnsPtrOutput) ElementType added in v1.5.0

func (PreparedQueryDnsPtrOutput) ElementType() reflect.Type

func (PreparedQueryDnsPtrOutput) ToPreparedQueryDnsPtrOutput added in v1.5.0

func (o PreparedQueryDnsPtrOutput) ToPreparedQueryDnsPtrOutput() PreparedQueryDnsPtrOutput

func (PreparedQueryDnsPtrOutput) ToPreparedQueryDnsPtrOutputWithContext added in v1.5.0

func (o PreparedQueryDnsPtrOutput) ToPreparedQueryDnsPtrOutputWithContext(ctx context.Context) PreparedQueryDnsPtrOutput

func (PreparedQueryDnsPtrOutput) Ttl added in v1.5.0

The TTL to send when returning DNS results.

type PreparedQueryFailover added in v1.5.0

type PreparedQueryFailover struct {
	// Remote datacenters to return results from.
	Datacenters []string `pulumi:"datacenters"`
	// Return results from this many datacenters,
	// sorted in ascending order of estimated RTT.
	NearestN *int `pulumi:"nearestN"`
}

type PreparedQueryFailoverArgs added in v1.5.0

type PreparedQueryFailoverArgs struct {
	// Remote datacenters to return results from.
	Datacenters pulumi.StringArrayInput `pulumi:"datacenters"`
	// Return results from this many datacenters,
	// sorted in ascending order of estimated RTT.
	NearestN pulumi.IntPtrInput `pulumi:"nearestN"`
}

func (PreparedQueryFailoverArgs) ElementType added in v1.5.0

func (PreparedQueryFailoverArgs) ElementType() reflect.Type

func (PreparedQueryFailoverArgs) ToPreparedQueryFailoverOutput added in v1.5.0

func (i PreparedQueryFailoverArgs) ToPreparedQueryFailoverOutput() PreparedQueryFailoverOutput

func (PreparedQueryFailoverArgs) ToPreparedQueryFailoverOutputWithContext added in v1.5.0

func (i PreparedQueryFailoverArgs) ToPreparedQueryFailoverOutputWithContext(ctx context.Context) PreparedQueryFailoverOutput

func (PreparedQueryFailoverArgs) ToPreparedQueryFailoverPtrOutput added in v1.5.0

func (i PreparedQueryFailoverArgs) ToPreparedQueryFailoverPtrOutput() PreparedQueryFailoverPtrOutput

func (PreparedQueryFailoverArgs) ToPreparedQueryFailoverPtrOutputWithContext added in v1.5.0

func (i PreparedQueryFailoverArgs) ToPreparedQueryFailoverPtrOutputWithContext(ctx context.Context) PreparedQueryFailoverPtrOutput

type PreparedQueryFailoverInput added in v1.5.0

type PreparedQueryFailoverInput interface {
	pulumi.Input

	ToPreparedQueryFailoverOutput() PreparedQueryFailoverOutput
	ToPreparedQueryFailoverOutputWithContext(context.Context) PreparedQueryFailoverOutput
}

type PreparedQueryFailoverOutput added in v1.5.0

type PreparedQueryFailoverOutput struct{ *pulumi.OutputState }

func (PreparedQueryFailoverOutput) Datacenters added in v1.5.0

Remote datacenters to return results from.

func (PreparedQueryFailoverOutput) ElementType added in v1.5.0

func (PreparedQueryFailoverOutput) NearestN added in v1.5.0

Return results from this many datacenters, sorted in ascending order of estimated RTT.

func (PreparedQueryFailoverOutput) ToPreparedQueryFailoverOutput added in v1.5.0

func (o PreparedQueryFailoverOutput) ToPreparedQueryFailoverOutput() PreparedQueryFailoverOutput

func (PreparedQueryFailoverOutput) ToPreparedQueryFailoverOutputWithContext added in v1.5.0

func (o PreparedQueryFailoverOutput) ToPreparedQueryFailoverOutputWithContext(ctx context.Context) PreparedQueryFailoverOutput

func (PreparedQueryFailoverOutput) ToPreparedQueryFailoverPtrOutput added in v1.5.0

func (o PreparedQueryFailoverOutput) ToPreparedQueryFailoverPtrOutput() PreparedQueryFailoverPtrOutput

func (PreparedQueryFailoverOutput) ToPreparedQueryFailoverPtrOutputWithContext added in v1.5.0

func (o PreparedQueryFailoverOutput) ToPreparedQueryFailoverPtrOutputWithContext(ctx context.Context) PreparedQueryFailoverPtrOutput

type PreparedQueryFailoverPtrInput added in v1.5.0

type PreparedQueryFailoverPtrInput interface {
	pulumi.Input

	ToPreparedQueryFailoverPtrOutput() PreparedQueryFailoverPtrOutput
	ToPreparedQueryFailoverPtrOutputWithContext(context.Context) PreparedQueryFailoverPtrOutput
}

func PreparedQueryFailoverPtr added in v1.5.0

func PreparedQueryFailoverPtr(v *PreparedQueryFailoverArgs) PreparedQueryFailoverPtrInput

type PreparedQueryFailoverPtrOutput added in v1.5.0

type PreparedQueryFailoverPtrOutput struct{ *pulumi.OutputState }

func (PreparedQueryFailoverPtrOutput) Datacenters added in v1.5.0

Remote datacenters to return results from.

func (PreparedQueryFailoverPtrOutput) Elem added in v1.5.0

func (PreparedQueryFailoverPtrOutput) ElementType added in v1.5.0

func (PreparedQueryFailoverPtrOutput) NearestN added in v1.5.0

Return results from this many datacenters, sorted in ascending order of estimated RTT.

func (PreparedQueryFailoverPtrOutput) ToPreparedQueryFailoverPtrOutput added in v1.5.0

func (o PreparedQueryFailoverPtrOutput) ToPreparedQueryFailoverPtrOutput() PreparedQueryFailoverPtrOutput

func (PreparedQueryFailoverPtrOutput) ToPreparedQueryFailoverPtrOutputWithContext added in v1.5.0

func (o PreparedQueryFailoverPtrOutput) ToPreparedQueryFailoverPtrOutputWithContext(ctx context.Context) PreparedQueryFailoverPtrOutput

type PreparedQueryState

type PreparedQueryState struct {
	// When `true` the prepared query will return connect
	// proxy services for a queried service.  Conditions such as `tags` in the
	// prepared query will be matched against the proxy service. Defaults to false.
	Connect pulumi.BoolPtrInput
	// The datacenter to use. This overrides the
	// agent's default datacenter and the datacenter in the provider setup.
	Datacenter pulumi.StringPtrInput
	// Settings for controlling the DNS response details.
	Dns PreparedQueryDnsPtrInput
	// Options for controlling behavior when no healthy
	// nodes are available in the local DC.
	Failover PreparedQueryFailoverPtrInput
	// The name of the prepared query. Used to identify
	// the prepared query during requests. Can be specified as an empty string
	// to configure the query as a catch-all.
	Name pulumi.StringPtrInput
	// Allows specifying the name of a node to sort results
	// near using Consul's distance sorting and network coordinates. The magic
	// `_agent` value can be used to always sort nearest the node servicing the
	// request.
	Near pulumi.StringPtrInput
	// When `true`, the prepared query will only
	// return nodes with passing health checks in the result.
	OnlyPassing pulumi.BoolPtrInput
	// The name of the service to query.
	Service pulumi.StringPtrInput
	// The name of the Consul session to tie this query's
	// lifetime to.  This is an advanced parameter that should not be used without a
	// complete understanding of Consul sessions and the implications of their use
	// (it is recommended to leave this blank in nearly all cases).  If this
	// parameter is omitted the query will not expire.
	Session pulumi.StringPtrInput
	// The ACL token to store with the prepared
	// query. This token will be used by default whenever the query is executed.
	StoredToken pulumi.StringPtrInput
	// The list of required and/or disallowed tags.  If a tag is
	// in this list it must be present.  If the tag is preceded with a "!" then it is
	// disallowed.
	Tags pulumi.StringArrayInput
	// Query templating options. This is used to make a
	// single prepared query respond to many different requests.
	Template PreparedQueryTemplatePtrInput
	// The ACL token to use when saving the prepared query.
	// This overrides the token that the agent provides by default.
	Token pulumi.StringPtrInput
}

func (PreparedQueryState) ElementType added in v1.5.0

func (PreparedQueryState) ElementType() reflect.Type

type PreparedQueryTemplate added in v1.5.0

type PreparedQueryTemplate struct {
	// The regular expression to match with. When using
	// `namePrefixMatch`, this regex is applied against the query name.
	Regexp string `pulumi:"regexp"`
	// The type of template matching to perform. Currently
	// only `namePrefixMatch` is supported.
	Type string `pulumi:"type"`
}

type PreparedQueryTemplateArgs added in v1.5.0

type PreparedQueryTemplateArgs struct {
	// The regular expression to match with. When using
	// `namePrefixMatch`, this regex is applied against the query name.
	Regexp pulumi.StringInput `pulumi:"regexp"`
	// The type of template matching to perform. Currently
	// only `namePrefixMatch` is supported.
	Type pulumi.StringInput `pulumi:"type"`
}

func (PreparedQueryTemplateArgs) ElementType added in v1.5.0

func (PreparedQueryTemplateArgs) ElementType() reflect.Type

func (PreparedQueryTemplateArgs) ToPreparedQueryTemplateOutput added in v1.5.0

func (i PreparedQueryTemplateArgs) ToPreparedQueryTemplateOutput() PreparedQueryTemplateOutput

func (PreparedQueryTemplateArgs) ToPreparedQueryTemplateOutputWithContext added in v1.5.0

func (i PreparedQueryTemplateArgs) ToPreparedQueryTemplateOutputWithContext(ctx context.Context) PreparedQueryTemplateOutput

func (PreparedQueryTemplateArgs) ToPreparedQueryTemplatePtrOutput added in v1.5.0

func (i PreparedQueryTemplateArgs) ToPreparedQueryTemplatePtrOutput() PreparedQueryTemplatePtrOutput

func (PreparedQueryTemplateArgs) ToPreparedQueryTemplatePtrOutputWithContext added in v1.5.0

func (i PreparedQueryTemplateArgs) ToPreparedQueryTemplatePtrOutputWithContext(ctx context.Context) PreparedQueryTemplatePtrOutput

type PreparedQueryTemplateInput added in v1.5.0

type PreparedQueryTemplateInput interface {
	pulumi.Input

	ToPreparedQueryTemplateOutput() PreparedQueryTemplateOutput
	ToPreparedQueryTemplateOutputWithContext(context.Context) PreparedQueryTemplateOutput
}

type PreparedQueryTemplateOutput added in v1.5.0

type PreparedQueryTemplateOutput struct{ *pulumi.OutputState }

func (PreparedQueryTemplateOutput) ElementType added in v1.5.0

func (PreparedQueryTemplateOutput) Regexp added in v1.5.0

The regular expression to match with. When using `namePrefixMatch`, this regex is applied against the query name.

func (PreparedQueryTemplateOutput) ToPreparedQueryTemplateOutput added in v1.5.0

func (o PreparedQueryTemplateOutput) ToPreparedQueryTemplateOutput() PreparedQueryTemplateOutput

func (PreparedQueryTemplateOutput) ToPreparedQueryTemplateOutputWithContext added in v1.5.0

func (o PreparedQueryTemplateOutput) ToPreparedQueryTemplateOutputWithContext(ctx context.Context) PreparedQueryTemplateOutput

func (PreparedQueryTemplateOutput) ToPreparedQueryTemplatePtrOutput added in v1.5.0

func (o PreparedQueryTemplateOutput) ToPreparedQueryTemplatePtrOutput() PreparedQueryTemplatePtrOutput

func (PreparedQueryTemplateOutput) ToPreparedQueryTemplatePtrOutputWithContext added in v1.5.0

func (o PreparedQueryTemplateOutput) ToPreparedQueryTemplatePtrOutputWithContext(ctx context.Context) PreparedQueryTemplatePtrOutput

func (PreparedQueryTemplateOutput) Type added in v1.5.0

The type of template matching to perform. Currently only `namePrefixMatch` is supported.

type PreparedQueryTemplatePtrInput added in v1.5.0

type PreparedQueryTemplatePtrInput interface {
	pulumi.Input

	ToPreparedQueryTemplatePtrOutput() PreparedQueryTemplatePtrOutput
	ToPreparedQueryTemplatePtrOutputWithContext(context.Context) PreparedQueryTemplatePtrOutput
}

func PreparedQueryTemplatePtr added in v1.5.0

func PreparedQueryTemplatePtr(v *PreparedQueryTemplateArgs) PreparedQueryTemplatePtrInput

type PreparedQueryTemplatePtrOutput added in v1.5.0

type PreparedQueryTemplatePtrOutput struct{ *pulumi.OutputState }

func (PreparedQueryTemplatePtrOutput) Elem added in v1.5.0

func (PreparedQueryTemplatePtrOutput) ElementType added in v1.5.0

func (PreparedQueryTemplatePtrOutput) Regexp added in v1.5.0

The regular expression to match with. When using `namePrefixMatch`, this regex is applied against the query name.

func (PreparedQueryTemplatePtrOutput) ToPreparedQueryTemplatePtrOutput added in v1.5.0

func (o PreparedQueryTemplatePtrOutput) ToPreparedQueryTemplatePtrOutput() PreparedQueryTemplatePtrOutput

func (PreparedQueryTemplatePtrOutput) ToPreparedQueryTemplatePtrOutputWithContext added in v1.5.0

func (o PreparedQueryTemplatePtrOutput) ToPreparedQueryTemplatePtrOutputWithContext(ctx context.Context) PreparedQueryTemplatePtrOutput

func (PreparedQueryTemplatePtrOutput) Type added in v1.5.0

The type of template matching to perform. Currently only `namePrefixMatch` is supported.

type Provider added in v1.5.0

type Provider struct {
	pulumi.ProviderResourceState
}

The provider type for the consul 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.

> This content is derived from https://github.com/terraform-providers/terraform-provider-consul/blob/master/website/docs/index.html.markdown.

func NewProvider added in v1.5.0

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.

type ProviderArgs added in v1.5.0

type ProviderArgs struct {
	Address       pulumi.StringPtrInput
	CaFile        pulumi.StringPtrInput
	CaPath        pulumi.StringPtrInput
	CertFile      pulumi.StringPtrInput
	Datacenter    pulumi.StringPtrInput
	HttpAuth      pulumi.StringPtrInput
	InsecureHttps pulumi.BoolPtrInput
	KeyFile       pulumi.StringPtrInput
	Namespace     pulumi.StringPtrInput
	Scheme        pulumi.StringPtrInput
	Token         pulumi.StringPtrInput
}

The set of arguments for constructing a Provider resource.

func (ProviderArgs) ElementType added in v1.5.0

func (ProviderArgs) ElementType() reflect.Type

type Service

type Service struct {
	pulumi.CustomResourceState

	// The address of the service. Defaults to the
	// address of the node.
	Address pulumi.StringOutput     `pulumi:"address"`
	Checks  ServiceCheckArrayOutput `pulumi:"checks"`
	// The datacenter to use. This overrides the
	// agent's default datacenter and the datacenter in the provider setup.
	Datacenter pulumi.StringOutput  `pulumi:"datacenter"`
	External   pulumi.BoolPtrOutput `pulumi:"external"`
	// A map of arbitrary KV metadata linked to the service
	// instance.
	Meta pulumi.StringMapOutput `pulumi:"meta"`
	// The name of the header.
	Name pulumi.StringOutput `pulumi:"name"`
	// The namespace to create the service within.
	Namespace pulumi.StringPtrOutput `pulumi:"namespace"`
	// The name of the node the to register the service on.
	Node pulumi.StringOutput `pulumi:"node"`
	// The port of the service.
	Port pulumi.IntPtrOutput `pulumi:"port"`
	// The ID of the service.
	ServiceId pulumi.StringOutput `pulumi:"serviceId"`
	// A list of values that are opaque to Consul,
	// but can be used to distinguish between services or nodes.
	Tags pulumi.StringArrayOutput `pulumi:"tags"`
}

A high-level resource for creating a Service in Consul in the Consul catalog. This is appropriate for registering [external services](https://www.consul.io/docs/guides/external.html) and can be used to create services addressable by Consul that cannot be registered with a [local agent](https://www.consul.io/docs/agent/basics.html).

If the Consul agent is running on the node where this service is registered, it is not recommended to use this resource.

> This content is derived from https://github.com/terraform-providers/terraform-provider-consul/blob/master/website/docs/r/service.html.markdown.

func GetService

func GetService(ctx *pulumi.Context,
	name string, id pulumi.IDInput, state *ServiceState, opts ...pulumi.ResourceOption) (*Service, error)

GetService gets an existing Service 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 NewService

func NewService(ctx *pulumi.Context,
	name string, args *ServiceArgs, opts ...pulumi.ResourceOption) (*Service, error)

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

type ServiceArgs

type ServiceArgs struct {
	// The address of the service. Defaults to the
	// address of the node.
	Address pulumi.StringPtrInput
	Checks  ServiceCheckArrayInput
	// The datacenter to use. This overrides the
	// agent's default datacenter and the datacenter in the provider setup.
	Datacenter pulumi.StringPtrInput
	External   pulumi.BoolPtrInput
	// A map of arbitrary KV metadata linked to the service
	// instance.
	Meta pulumi.StringMapInput
	// The name of the header.
	Name pulumi.StringPtrInput
	// The namespace to create the service within.
	Namespace pulumi.StringPtrInput
	// The name of the node the to register the service on.
	Node pulumi.StringInput
	// The port of the service.
	Port pulumi.IntPtrInput
	// The ID of the service.
	ServiceId pulumi.StringPtrInput
	// A list of values that are opaque to Consul,
	// but can be used to distinguish between services or nodes.
	Tags pulumi.StringArrayInput
}

The set of arguments for constructing a Service resource.

func (ServiceArgs) ElementType added in v1.5.0

func (ServiceArgs) ElementType() reflect.Type

type ServiceCheck added in v1.5.0

type ServiceCheck struct {
	// An ID, *unique per agent*. Will default to *name*
	// if not set.
	CheckId string `pulumi:"checkId"`
	// The time after which
	// the service is automatically deregistered when in the `critical` state.
	// Defaults to `30s`.
	DeregisterCriticalServiceAfter *string `pulumi:"deregisterCriticalServiceAfter"`
	// The headers to send for an HTTP check.
	// The attributes of each header is given below.
	Headers []ServiceCheckHeader `pulumi:"headers"`
	// The HTTP endpoint to call for an HTTP check.
	Http *string `pulumi:"http"`
	// The interval to wait between each health-check
	// invocation.
	Interval string `pulumi:"interval"`
	// The method to use for HTTP health-checks. Defaults
	// to `GET`.
	Method *string `pulumi:"method"`
	// The name of the header.
	Name string `pulumi:"name"`
	// An opaque field meant to hold human readable text.
	Notes *string `pulumi:"notes"`
	// The initial health-check status.
	Status *string `pulumi:"status"`
	// The TCP address and port to connect to for a TCP check.
	Tcp *string `pulumi:"tcp"`
	// The timeout value for HTTP checks.
	Timeout string `pulumi:"timeout"`
	// Whether to deactivate certificate
	// verification for HTTP health-checks. Defaults to `false`.
	TlsSkipVerify *bool `pulumi:"tlsSkipVerify"`
}

type ServiceCheckArgs added in v1.5.0

type ServiceCheckArgs struct {
	// An ID, *unique per agent*. Will default to *name*
	// if not set.
	CheckId pulumi.StringInput `pulumi:"checkId"`
	// The time after which
	// the service is automatically deregistered when in the `critical` state.
	// Defaults to `30s`.
	DeregisterCriticalServiceAfter pulumi.StringPtrInput `pulumi:"deregisterCriticalServiceAfter"`
	// The headers to send for an HTTP check.
	// The attributes of each header is given below.
	Headers ServiceCheckHeaderArrayInput `pulumi:"headers"`
	// The HTTP endpoint to call for an HTTP check.
	Http pulumi.StringPtrInput `pulumi:"http"`
	// The interval to wait between each health-check
	// invocation.
	Interval pulumi.StringInput `pulumi:"interval"`
	// The method to use for HTTP health-checks. Defaults
	// to `GET`.
	Method pulumi.StringPtrInput `pulumi:"method"`
	// The name of the header.
	Name pulumi.StringInput `pulumi:"name"`
	// An opaque field meant to hold human readable text.
	Notes pulumi.StringPtrInput `pulumi:"notes"`
	// The initial health-check status.
	Status pulumi.StringPtrInput `pulumi:"status"`
	// The TCP address and port to connect to for a TCP check.
	Tcp pulumi.StringPtrInput `pulumi:"tcp"`
	// The timeout value for HTTP checks.
	Timeout pulumi.StringInput `pulumi:"timeout"`
	// Whether to deactivate certificate
	// verification for HTTP health-checks. Defaults to `false`.
	TlsSkipVerify pulumi.BoolPtrInput `pulumi:"tlsSkipVerify"`
}

func (ServiceCheckArgs) ElementType added in v1.5.0

func (ServiceCheckArgs) ElementType() reflect.Type

func (ServiceCheckArgs) ToServiceCheckOutput added in v1.5.0

func (i ServiceCheckArgs) ToServiceCheckOutput() ServiceCheckOutput

func (ServiceCheckArgs) ToServiceCheckOutputWithContext added in v1.5.0

func (i ServiceCheckArgs) ToServiceCheckOutputWithContext(ctx context.Context) ServiceCheckOutput

type ServiceCheckArray added in v1.5.0

type ServiceCheckArray []ServiceCheckInput

func (ServiceCheckArray) ElementType added in v1.5.0

func (ServiceCheckArray) ElementType() reflect.Type

func (ServiceCheckArray) ToServiceCheckArrayOutput added in v1.5.0

func (i ServiceCheckArray) ToServiceCheckArrayOutput() ServiceCheckArrayOutput

func (ServiceCheckArray) ToServiceCheckArrayOutputWithContext added in v1.5.0

func (i ServiceCheckArray) ToServiceCheckArrayOutputWithContext(ctx context.Context) ServiceCheckArrayOutput

type ServiceCheckArrayInput added in v1.5.0

type ServiceCheckArrayInput interface {
	pulumi.Input

	ToServiceCheckArrayOutput() ServiceCheckArrayOutput
	ToServiceCheckArrayOutputWithContext(context.Context) ServiceCheckArrayOutput
}

type ServiceCheckArrayOutput added in v1.5.0

type ServiceCheckArrayOutput struct{ *pulumi.OutputState }

func (ServiceCheckArrayOutput) ElementType added in v1.5.0

func (ServiceCheckArrayOutput) ElementType() reflect.Type

func (ServiceCheckArrayOutput) Index added in v1.5.0

func (ServiceCheckArrayOutput) ToServiceCheckArrayOutput added in v1.5.0

func (o ServiceCheckArrayOutput) ToServiceCheckArrayOutput() ServiceCheckArrayOutput

func (ServiceCheckArrayOutput) ToServiceCheckArrayOutputWithContext added in v1.5.0

func (o ServiceCheckArrayOutput) ToServiceCheckArrayOutputWithContext(ctx context.Context) ServiceCheckArrayOutput

type ServiceCheckHeader added in v1.5.0

type ServiceCheckHeader struct {
	// The name of the header.
	Name string `pulumi:"name"`
	// The header's list of values.
	Values []string `pulumi:"values"`
}

type ServiceCheckHeaderArgs added in v1.5.0

type ServiceCheckHeaderArgs struct {
	// The name of the header.
	Name pulumi.StringInput `pulumi:"name"`
	// The header's list of values.
	Values pulumi.StringArrayInput `pulumi:"values"`
}

func (ServiceCheckHeaderArgs) ElementType added in v1.5.0

func (ServiceCheckHeaderArgs) ElementType() reflect.Type

func (ServiceCheckHeaderArgs) ToServiceCheckHeaderOutput added in v1.5.0

func (i ServiceCheckHeaderArgs) ToServiceCheckHeaderOutput() ServiceCheckHeaderOutput

func (ServiceCheckHeaderArgs) ToServiceCheckHeaderOutputWithContext added in v1.5.0

func (i ServiceCheckHeaderArgs) ToServiceCheckHeaderOutputWithContext(ctx context.Context) ServiceCheckHeaderOutput

type ServiceCheckHeaderArray added in v1.5.0

type ServiceCheckHeaderArray []ServiceCheckHeaderInput

func (ServiceCheckHeaderArray) ElementType added in v1.5.0

func (ServiceCheckHeaderArray) ElementType() reflect.Type

func (ServiceCheckHeaderArray) ToServiceCheckHeaderArrayOutput added in v1.5.0

func (i ServiceCheckHeaderArray) ToServiceCheckHeaderArrayOutput() ServiceCheckHeaderArrayOutput

func (ServiceCheckHeaderArray) ToServiceCheckHeaderArrayOutputWithContext added in v1.5.0

func (i ServiceCheckHeaderArray) ToServiceCheckHeaderArrayOutputWithContext(ctx context.Context) ServiceCheckHeaderArrayOutput

type ServiceCheckHeaderArrayInput added in v1.5.0

type ServiceCheckHeaderArrayInput interface {
	pulumi.Input

	ToServiceCheckHeaderArrayOutput() ServiceCheckHeaderArrayOutput
	ToServiceCheckHeaderArrayOutputWithContext(context.Context) ServiceCheckHeaderArrayOutput
}

type ServiceCheckHeaderArrayOutput added in v1.5.0

type ServiceCheckHeaderArrayOutput struct{ *pulumi.OutputState }

func (ServiceCheckHeaderArrayOutput) ElementType added in v1.5.0

func (ServiceCheckHeaderArrayOutput) Index added in v1.5.0

func (ServiceCheckHeaderArrayOutput) ToServiceCheckHeaderArrayOutput added in v1.5.0

func (o ServiceCheckHeaderArrayOutput) ToServiceCheckHeaderArrayOutput() ServiceCheckHeaderArrayOutput

func (ServiceCheckHeaderArrayOutput) ToServiceCheckHeaderArrayOutputWithContext added in v1.5.0

func (o ServiceCheckHeaderArrayOutput) ToServiceCheckHeaderArrayOutputWithContext(ctx context.Context) ServiceCheckHeaderArrayOutput

type ServiceCheckHeaderInput added in v1.5.0

type ServiceCheckHeaderInput interface {
	pulumi.Input

	ToServiceCheckHeaderOutput() ServiceCheckHeaderOutput
	ToServiceCheckHeaderOutputWithContext(context.Context) ServiceCheckHeaderOutput
}

type ServiceCheckHeaderOutput added in v1.5.0

type ServiceCheckHeaderOutput struct{ *pulumi.OutputState }

func (ServiceCheckHeaderOutput) ElementType added in v1.5.0

func (ServiceCheckHeaderOutput) ElementType() reflect.Type

func (ServiceCheckHeaderOutput) Name added in v1.5.0

The name of the header.

func (ServiceCheckHeaderOutput) ToServiceCheckHeaderOutput added in v1.5.0

func (o ServiceCheckHeaderOutput) ToServiceCheckHeaderOutput() ServiceCheckHeaderOutput

func (ServiceCheckHeaderOutput) ToServiceCheckHeaderOutputWithContext added in v1.5.0

func (o ServiceCheckHeaderOutput) ToServiceCheckHeaderOutputWithContext(ctx context.Context) ServiceCheckHeaderOutput

func (ServiceCheckHeaderOutput) Values added in v1.5.0

The header's list of values.

type ServiceCheckInput added in v1.5.0

type ServiceCheckInput interface {
	pulumi.Input

	ToServiceCheckOutput() ServiceCheckOutput
	ToServiceCheckOutputWithContext(context.Context) ServiceCheckOutput
}

type ServiceCheckOutput added in v1.5.0

type ServiceCheckOutput struct{ *pulumi.OutputState }

func (ServiceCheckOutput) CheckId added in v1.5.0

An ID, *unique per agent*. Will default to *name* if not set.

func (ServiceCheckOutput) DeregisterCriticalServiceAfter added in v1.5.0

func (o ServiceCheckOutput) DeregisterCriticalServiceAfter() pulumi.StringPtrOutput

The time after which the service is automatically deregistered when in the `critical` state. Defaults to `30s`.

func (ServiceCheckOutput) ElementType added in v1.5.0

func (ServiceCheckOutput) ElementType() reflect.Type

func (ServiceCheckOutput) Headers added in v1.5.0

The headers to send for an HTTP check. The attributes of each header is given below.

func (ServiceCheckOutput) Http added in v1.5.0

The HTTP endpoint to call for an HTTP check.

func (ServiceCheckOutput) Interval added in v1.5.0

func (o ServiceCheckOutput) Interval() pulumi.StringOutput

The interval to wait between each health-check invocation.

func (ServiceCheckOutput) Method added in v1.5.0

The method to use for HTTP health-checks. Defaults to `GET`.

func (ServiceCheckOutput) Name added in v1.5.0

The name of the header.

func (ServiceCheckOutput) Notes added in v1.5.0

An opaque field meant to hold human readable text.

func (ServiceCheckOutput) Status added in v1.5.0

The initial health-check status.

func (ServiceCheckOutput) Tcp added in v1.5.0

The TCP address and port to connect to for a TCP check.

func (ServiceCheckOutput) Timeout added in v1.5.0

The timeout value for HTTP checks.

func (ServiceCheckOutput) TlsSkipVerify added in v1.5.0

func (o ServiceCheckOutput) TlsSkipVerify() pulumi.BoolPtrOutput

Whether to deactivate certificate verification for HTTP health-checks. Defaults to `false`.

func (ServiceCheckOutput) ToServiceCheckOutput added in v1.5.0

func (o ServiceCheckOutput) ToServiceCheckOutput() ServiceCheckOutput

func (ServiceCheckOutput) ToServiceCheckOutputWithContext added in v1.5.0

func (o ServiceCheckOutput) ToServiceCheckOutputWithContext(ctx context.Context) ServiceCheckOutput

type ServiceState

type ServiceState struct {
	// The address of the service. Defaults to the
	// address of the node.
	Address pulumi.StringPtrInput
	Checks  ServiceCheckArrayInput
	// The datacenter to use. This overrides the
	// agent's default datacenter and the datacenter in the provider setup.
	Datacenter pulumi.StringPtrInput
	External   pulumi.BoolPtrInput
	// A map of arbitrary KV metadata linked to the service
	// instance.
	Meta pulumi.StringMapInput
	// The name of the header.
	Name pulumi.StringPtrInput
	// The namespace to create the service within.
	Namespace pulumi.StringPtrInput
	// The name of the node the to register the service on.
	Node pulumi.StringPtrInput
	// The port of the service.
	Port pulumi.IntPtrInput
	// The ID of the service.
	ServiceId pulumi.StringPtrInput
	// A list of values that are opaque to Consul,
	// but can be used to distinguish between services or nodes.
	Tags pulumi.StringArrayInput
}

func (ServiceState) ElementType added in v1.5.0

func (ServiceState) ElementType() reflect.Type

Jump to

Keyboard shortcuts

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